@everymatrix/cashier-error 1.86.2 → 1.86.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,36 +1,36 @@
1
1
  var rr = Object.defineProperty, nr = Object.defineProperties;
2
2
  var ir = Object.getOwnPropertyDescriptors;
3
3
  var Qe = Object.getOwnPropertySymbols;
4
- var or = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable;
5
- var Be = (e, t, r) => t in e ? rr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4
+ var ar = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable;
5
+ var we = (e, t, r) => t in e ? rr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- or.call(t, r) && Be(e, r, t[r]);
7
+ ar.call(t, r) && we(e, r, t[r]);
8
8
  if (Qe)
9
9
  for (var r of Qe(t))
10
- sr.call(t, r) && Be(e, r, t[r]);
10
+ or.call(t, r) && we(e, r, t[r]);
11
11
  return e;
12
12
  }, Ke = (e, t) => nr(e, ir(t));
13
- var w = (e, t, r) => (Be(e, typeof t != "symbol" ? t + "" : t, r), r);
13
+ var w = (e, t, r) => (we(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var et = (e, t, r) => new Promise((n, i) => {
15
- var o = (l) => {
15
+ var a = (l) => {
16
16
  try {
17
17
  u(r.next(l));
18
- } catch (a) {
19
- i(a);
18
+ } catch (s) {
19
+ i(s);
20
20
  }
21
- }, s = (l) => {
21
+ }, o = (l) => {
22
22
  try {
23
23
  u(r.throw(l));
24
- } catch (a) {
25
- i(a);
24
+ } catch (s) {
25
+ i(s);
26
26
  }
27
- }, u = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
27
+ }, u = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(a, o);
28
28
  u((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-image-CP8Lp7fB.js";
31
- function A() {
30
+ import "../stencil/ui-image-Cc8wLmDe.js";
31
+ function S() {
32
32
  }
33
- function ar(e, t) {
33
+ function sr(e, t) {
34
34
  for (const r in t)
35
35
  e[r] = t[r];
36
36
  return (
@@ -44,65 +44,65 @@ function wt(e) {
44
44
  function tt() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
- function re(e) {
47
+ function te(e) {
48
48
  e.forEach(wt);
49
49
  }
50
- function We(e) {
50
+ function Ve(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function St(e, t) {
53
+ function Bt(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
- let se;
56
+ let ae;
57
57
  function rt(e, t) {
58
- return e === t ? !0 : (se || (se = document.createElement("a")), se.href = t, e === se.href);
58
+ return e === t ? !0 : (ae || (ae = document.createElement("a")), ae.href = t, e === ae.href);
59
59
  }
60
60
  function ur(e) {
61
61
  return Object.keys(e).length === 0;
62
62
  }
63
- function Bt(e, ...t) {
63
+ function St(e, ...t) {
64
64
  if (e == null) {
65
65
  for (const n of t)
66
66
  n(void 0);
67
- return A;
67
+ return S;
68
68
  }
69
69
  const r = e.subscribe(...t);
70
70
  return r.unsubscribe ? () => r.unsubscribe() : r;
71
71
  }
72
72
  function lr(e, t, r) {
73
- e.$$.on_destroy.push(Bt(t, r));
73
+ e.$$.on_destroy.push(St(t, r));
74
74
  }
75
- function ae(e, t, r, n) {
75
+ function oe(e, t, r, n) {
76
76
  if (e) {
77
77
  const i = At(e, t, r, n);
78
78
  return e[0](i);
79
79
  }
80
80
  }
81
81
  function At(e, t, r, n) {
82
- return e[1] && n ? ar(r.ctx.slice(), e[1](n(t))) : r.ctx;
82
+ return e[1] && n ? sr(r.ctx.slice(), e[1](n(t))) : r.ctx;
83
83
  }
84
- function ue(e, t, r, n) {
84
+ function se(e, t, r, n) {
85
85
  if (e[2] && n) {
86
86
  const i = e[2](n(r));
87
87
  if (t.dirty === void 0)
88
88
  return i;
89
89
  if (typeof i == "object") {
90
- const o = [], s = Math.max(t.dirty.length, i.length);
91
- for (let u = 0; u < s; u += 1)
92
- o[u] = t.dirty[u] | i[u];
93
- return o;
90
+ const a = [], o = Math.max(t.dirty.length, i.length);
91
+ for (let u = 0; u < o; u += 1)
92
+ a[u] = t.dirty[u] | i[u];
93
+ return a;
94
94
  }
95
95
  return t.dirty | i;
96
96
  }
97
97
  return t.dirty;
98
98
  }
99
- function le(e, t, r, n, i, o) {
99
+ function ue(e, t, r, n, i, a) {
100
100
  if (i) {
101
- const s = At(t, r, n, o);
102
- e.p(s, i);
101
+ const o = At(t, r, n, a);
102
+ e.p(o, i);
103
103
  }
104
104
  }
105
- function he(e) {
105
+ function le(e) {
106
106
  if (e.ctx.length > 32) {
107
107
  const t = [], r = e.ctx.length / 32;
108
108
  for (let n = 0; n < r; n++)
@@ -111,13 +111,13 @@ function he(e) {
111
111
  }
112
112
  return -1;
113
113
  }
114
- function O(e, t) {
114
+ function P(e, t) {
115
115
  e.appendChild(t);
116
116
  }
117
117
  function hr(e, t, r) {
118
118
  const n = cr(e);
119
119
  if (!n.getElementById(t)) {
120
- const i = C("style");
120
+ const i = I("style");
121
121
  i.id = t, i.textContent = r, fr(n, i);
122
122
  }
123
123
  }
@@ -132,39 +132,39 @@ function cr(e) {
132
132
  ) : e.ownerDocument;
133
133
  }
134
134
  function fr(e, t) {
135
- return O(
135
+ return P(
136
136
  /** @type {Document} */
137
137
  e.head || e,
138
138
  t
139
139
  ), t.sheet;
140
140
  }
141
- function X(e, t, r) {
141
+ function V(e, t, r) {
142
142
  e.insertBefore(t, r || null);
143
143
  }
144
- function M(e) {
144
+ function L(e) {
145
145
  e.parentNode && e.parentNode.removeChild(e);
146
146
  }
147
- function C(e) {
147
+ function I(e) {
148
148
  return document.createElement(e);
149
149
  }
150
- function xe(e) {
150
+ function Ee(e) {
151
151
  return document.createTextNode(e);
152
152
  }
153
- function Ae() {
154
- return xe(" ");
153
+ function Be() {
154
+ return Ee(" ");
155
155
  }
156
156
  function mr() {
157
- return xe("");
157
+ return Ee("");
158
158
  }
159
159
  function dr(e, t, r, n) {
160
160
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
161
161
  }
162
- function k(e, t, r) {
162
+ function G(e, t, r) {
163
163
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
164
164
  }
165
- function ce(e, t, r) {
165
+ function he(e, t, r) {
166
166
  const n = t.toLowerCase();
167
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : k(e, t, r);
167
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : G(e, t, r);
168
168
  }
169
169
  function pr(e) {
170
170
  return Array.from(e.childNodes);
@@ -182,103 +182,103 @@ function br(e) {
182
182
  }
183
183
  ), t;
184
184
  }
185
- let K;
186
- function Y(e) {
187
- K = e;
185
+ let Y;
186
+ function Q(e) {
187
+ Y = e;
188
188
  }
189
189
  function gr() {
190
- if (!K)
190
+ if (!Y)
191
191
  throw new Error("Function called outside component initialization");
192
- return K;
192
+ return Y;
193
193
  }
194
194
  function yr(e) {
195
195
  gr().$$.on_mount.push(e);
196
196
  }
197
- const U = [], $e = [];
198
- let G = [];
197
+ const D = [], Le = [];
198
+ let U = [];
199
199
  const nt = [], _r = /* @__PURE__ */ Promise.resolve();
200
- let Re = !1;
200
+ let Me = !1;
201
201
  function Er() {
202
- Re || (Re = !0, _r.then(B));
202
+ Me || (Me = !0, _r.then(B));
203
203
  }
204
- function De(e) {
205
- G.push(e);
204
+ function $e(e) {
205
+ U.push(e);
206
206
  }
207
- const Pe = /* @__PURE__ */ new Set();
208
- let R = 0;
207
+ const Se = /* @__PURE__ */ new Set();
208
+ let $ = 0;
209
209
  function B() {
210
- if (R !== 0)
210
+ if ($ !== 0)
211
211
  return;
212
- const e = K;
212
+ const e = Y;
213
213
  do {
214
214
  try {
215
- for (; R < U.length; ) {
216
- const t = U[R];
217
- R++, Y(t), vr(t.$$);
215
+ for (; $ < D.length; ) {
216
+ const t = D[$];
217
+ $++, Q(t), vr(t.$$);
218
218
  }
219
219
  } catch (t) {
220
- throw U.length = 0, R = 0, t;
220
+ throw D.length = 0, $ = 0, t;
221
221
  }
222
- for (Y(null), U.length = 0, R = 0; $e.length; )
223
- $e.pop()();
224
- for (let t = 0; t < G.length; t += 1) {
225
- const r = G[t];
226
- Pe.has(r) || (Pe.add(r), r());
222
+ for (Q(null), D.length = 0, $ = 0; Le.length; )
223
+ Le.pop()();
224
+ for (let t = 0; t < U.length; t += 1) {
225
+ const r = U[t];
226
+ Se.has(r) || (Se.add(r), r());
227
227
  }
228
- G.length = 0;
229
- } while (U.length);
228
+ U.length = 0;
229
+ } while (D.length);
230
230
  for (; nt.length; )
231
231
  nt.pop()();
232
- Re = !1, Pe.clear(), Y(e);
232
+ Me = !1, Se.clear(), Q(e);
233
233
  }
234
234
  function vr(e) {
235
235
  if (e.fragment !== null) {
236
- e.update(), re(e.before_update);
236
+ e.update(), te(e.before_update);
237
237
  const t = e.dirty;
238
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(De);
238
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
239
239
  }
240
240
  }
241
241
  function xr(e) {
242
242
  const t = [], r = [];
243
- G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
243
+ U.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), U = t;
244
244
  }
245
- const de = /* @__PURE__ */ new Set();
245
+ const me = /* @__PURE__ */ new Set();
246
246
  let Tr;
247
- function q(e, t) {
248
- e && e.i && (de.delete(e), e.i(t));
247
+ function J(e, t) {
248
+ e && e.i && (me.delete(e), e.i(t));
249
249
  }
250
- function fe(e, t, r, n) {
250
+ function ce(e, t, r, n) {
251
251
  if (e && e.o) {
252
- if (de.has(e))
252
+ if (me.has(e))
253
253
  return;
254
- de.add(e), Tr.c.push(() => {
255
- de.delete(e);
254
+ me.add(e), Tr.c.push(() => {
255
+ me.delete(e);
256
256
  }), e.o(t);
257
257
  }
258
258
  }
259
259
  function Hr(e, t, r) {
260
260
  const { fragment: n, after_update: i } = e.$$;
261
- n && n.m(t, r), De(() => {
262
- const o = e.$$.on_mount.map(wt).filter(We);
263
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
264
- }), i.forEach(De);
261
+ n && n.m(t, r), $e(() => {
262
+ const a = e.$$.on_mount.map(wt).filter(Ve);
263
+ e.$$.on_destroy ? e.$$.on_destroy.push(...a) : te(a), e.$$.on_mount = [];
264
+ }), i.forEach($e);
265
265
  }
266
266
  function wr(e, t) {
267
267
  const r = e.$$;
268
- r.fragment !== null && (xr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
268
+ r.fragment !== null && (xr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
269
269
  }
270
- function Sr(e, t) {
271
- e.$$.dirty[0] === -1 && (U.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
270
+ function Br(e, t) {
271
+ e.$$.dirty[0] === -1 && (D.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
272
272
  }
273
- function Br(e, t, r, n, i, o, s = null, u = [-1]) {
274
- const l = K;
275
- Y(e);
276
- const a = e.$$ = {
273
+ function Sr(e, t, r, n, i, a, o = null, u = [-1]) {
274
+ const l = Y;
275
+ Q(e);
276
+ const s = e.$$ = {
277
277
  fragment: null,
278
278
  ctx: [],
279
279
  // state
280
- props: o,
281
- update: A,
280
+ props: a,
281
+ update: S,
282
282
  not_equal: i,
283
283
  bound: tt(),
284
284
  // lifecycle
@@ -294,20 +294,20 @@ function Br(e, t, r, n, i, o, s = null, u = [-1]) {
294
294
  skip_bound: !1,
295
295
  root: t.target || l.$$.root
296
296
  };
297
- s && s(a.root);
297
+ o && o(s.root);
298
298
  let h = !1;
299
- if (a.ctx = r ? r(e, t.props || {}, (f, m, ...d) => {
299
+ if (s.ctx = r ? r(e, t.props || {}, (f, m, ...d) => {
300
300
  const p = d.length ? d[0] : m;
301
- return a.ctx && i(a.ctx[f], a.ctx[f] = p) && (!a.skip_bound && a.bound[f] && a.bound[f](p), h && Sr(e, f)), m;
302
- }) : [], a.update(), h = !0, re(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
301
+ return s.ctx && i(s.ctx[f], s.ctx[f] = p) && (!s.skip_bound && s.bound[f] && s.bound[f](p), h && Br(e, f)), m;
302
+ }) : [], s.update(), h = !0, te(s.before_update), s.fragment = n ? n(s.ctx) : !1, t.target) {
303
303
  if (t.hydrate) {
304
304
  const f = pr(t.target);
305
- a.fragment && a.fragment.l(f), f.forEach(M);
305
+ s.fragment && s.fragment.l(f), f.forEach(L);
306
306
  } else
307
- a.fragment && a.fragment.c();
308
- t.intro && q(e.$$.fragment), Hr(e, t.target, t.anchor), B();
307
+ s.fragment && s.fragment.c();
308
+ t.intro && J(e.$$.fragment), Hr(e, t.target, t.anchor), B();
309
309
  }
310
- Y(l);
310
+ Q(l);
311
311
  }
312
312
  let Ot;
313
313
  typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
@@ -349,22 +349,22 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
349
349
  connectedCallback() {
350
350
  return et(this, null, function* () {
351
351
  if (this.$$cn = !0, !this.$$c) {
352
- let t = function(o) {
352
+ let t = function(a) {
353
353
  return () => {
354
- let s;
354
+ let o;
355
355
  return {
356
356
  c: function() {
357
- s = C("slot"), o !== "default" && k(s, "name", o);
357
+ o = I("slot"), a !== "default" && G(o, "name", a);
358
358
  },
359
359
  /**
360
360
  * @param {HTMLElement} target
361
361
  * @param {HTMLElement} [anchor]
362
362
  */
363
- m: function(a, h) {
364
- X(a, s, h);
363
+ m: function(s, h) {
364
+ V(s, o, h);
365
365
  },
366
- d: function(a) {
367
- a && M(s);
366
+ d: function(s) {
367
+ s && L(o);
368
368
  }
369
369
  };
370
370
  };
@@ -372,14 +372,14 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
372
372
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
373
373
  return;
374
374
  const r = {}, n = br(this);
375
- for (const o of this.$$s)
376
- o in n && (r[o] = [t(o)]);
377
- for (const o of this.attributes) {
378
- const s = this.$$g_p(o.name);
379
- s in this.$$d || (this.$$d[s] = pe(s, o.value, this.$$p_d, "toProp"));
375
+ for (const a of this.$$s)
376
+ a in n && (r[a] = [t(a)]);
377
+ for (const a of this.attributes) {
378
+ const o = this.$$g_p(a.name);
379
+ o in this.$$d || (this.$$d[o] = de(o, a.value, this.$$p_d, "toProp"));
380
380
  }
381
- for (const o in this.$$p_d)
382
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
381
+ for (const a in this.$$p_d)
382
+ !(a in this.$$d) && this[a] !== void 0 && (this.$$d[a] = this[a], delete this[a]);
383
383
  this.$$c = new this.$$ctor({
384
384
  target: this.shadowRoot || this,
385
385
  props: Ke(Ye({}, this.$$d), {
@@ -391,23 +391,23 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
391
391
  });
392
392
  const i = () => {
393
393
  this.$$r = !0;
394
- for (const o in this.$$p_d)
395
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
396
- const s = pe(
397
- o,
398
- this.$$d[o],
394
+ for (const a in this.$$p_d)
395
+ if (this.$$d[a] = this.$$c.$$.ctx[this.$$c.$$.props[a]], this.$$p_d[a].reflect) {
396
+ const o = de(
397
+ a,
398
+ this.$$d[a],
399
399
  this.$$p_d,
400
400
  "toAttribute"
401
401
  );
402
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
402
+ o == null ? this.removeAttribute(this.$$p_d[a].attribute || a) : this.setAttribute(this.$$p_d[a].attribute || a, o);
403
403
  }
404
404
  this.$$r = !1;
405
405
  };
406
406
  this.$$c.$$.after_update.push(i), i();
407
- for (const o in this.$$l)
408
- for (const s of this.$$l[o]) {
409
- const u = this.$$c.$on(o, s);
410
- this.$$l_u.set(s, u);
407
+ for (const a in this.$$l)
408
+ for (const o of this.$$l[a]) {
409
+ const u = this.$$c.$on(a, o);
410
+ this.$$l_u.set(o, u);
411
411
  }
412
412
  this.$$l = {};
413
413
  }
@@ -417,7 +417,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
417
417
  // and setting attributes through setAttribute etc, this is helpful
418
418
  attributeChangedCallback(t, r, n) {
419
419
  var i;
420
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = pe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
420
+ 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] }));
421
421
  }
422
422
  disconnectedCallback() {
423
423
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -430,9 +430,9 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
430
430
  ) || t;
431
431
  }
432
432
  });
433
- function pe(e, t, r, n) {
434
- var o;
435
- const i = (o = r[e]) == null ? void 0 : o.type;
433
+ function de(e, t, r, n) {
434
+ var a;
435
+ const i = (a = r[e]) == null ? void 0 : a.type;
436
436
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
437
437
  return t;
438
438
  if (n === "toAttribute")
@@ -460,8 +460,8 @@ function pe(e, t, r, n) {
460
460
  return t;
461
461
  }
462
462
  }
463
- function Ar(e, t, r, n, i, o) {
464
- let s = class extends Ot {
463
+ function Ar(e, t, r, n, i, a) {
464
+ let o = class extends Ot {
465
465
  constructor() {
466
466
  super(e, r, i), this.$$p_d = t;
467
467
  }
@@ -472,24 +472,24 @@ function Ar(e, t, r, n, i, o) {
472
472
  }
473
473
  };
474
474
  return Object.keys(t).forEach((u) => {
475
- Object.defineProperty(s.prototype, u, {
475
+ Object.defineProperty(o.prototype, u, {
476
476
  get() {
477
477
  return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
478
478
  },
479
479
  set(l) {
480
- var a;
481
- l = pe(u, l, t), this.$$d[u] = l, (a = this.$$c) == null || a.$set({ [u]: l });
480
+ var s;
481
+ l = de(u, l, t), this.$$d[u] = l, (s = this.$$c) == null || s.$set({ [u]: l });
482
482
  }
483
483
  });
484
484
  }), n.forEach((u) => {
485
- Object.defineProperty(s.prototype, u, {
485
+ Object.defineProperty(o.prototype, u, {
486
486
  get() {
487
487
  var l;
488
488
  return (l = this.$$c) == null ? void 0 : l[u];
489
489
  }
490
490
  });
491
491
  }), e.element = /** @type {any} */
492
- s, s;
492
+ o, o;
493
493
  }
494
494
  class Pr {
495
495
  constructor() {
@@ -512,7 +512,7 @@ class Pr {
512
512
  }
513
513
  /** @returns {void} */
514
514
  $destroy() {
515
- wr(this, 1), this.$destroy = A;
515
+ wr(this, 1), this.$destroy = S;
516
516
  }
517
517
  /**
518
518
  * @template {Extract<keyof Events, string>} K
@@ -521,8 +521,8 @@ class Pr {
521
521
  * @returns {() => void}
522
522
  */
523
523
  $on(t, r) {
524
- if (!We(r))
525
- return A;
524
+ if (!Ve(r))
525
+ return S;
526
526
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
527
527
  return n.push(r), () => {
528
528
  const i = n.indexOf(r);
@@ -564,58 +564,58 @@ function Nr(e, t, r) {
564
564
  });
565
565
  }
566
566
  }
567
- const D = [];
567
+ const R = [];
568
568
  function Lr(e, t) {
569
569
  return {
570
- subscribe: Te(e, t).subscribe
570
+ subscribe: ve(e, t).subscribe
571
571
  };
572
572
  }
573
- function Te(e, t = A) {
573
+ function ve(e, t = S) {
574
574
  let r;
575
575
  const n = /* @__PURE__ */ new Set();
576
576
  function i(u) {
577
- if (St(e, u) && (e = u, r)) {
578
- const l = !D.length;
579
- for (const a of n)
580
- a[1](), D.push(a, e);
577
+ if (Bt(e, u) && (e = u, r)) {
578
+ const l = !R.length;
579
+ for (const s of n)
580
+ s[1](), R.push(s, e);
581
581
  if (l) {
582
- for (let a = 0; a < D.length; a += 2)
583
- D[a][0](D[a + 1]);
584
- D.length = 0;
582
+ for (let s = 0; s < R.length; s += 2)
583
+ R[s][0](R[s + 1]);
584
+ R.length = 0;
585
585
  }
586
586
  }
587
587
  }
588
- function o(u) {
588
+ function a(u) {
589
589
  i(u(e));
590
590
  }
591
- function s(u, l = A) {
592
- const a = [u, l];
593
- return n.add(a), n.size === 1 && (r = t(i, o) || A), u(e), () => {
594
- n.delete(a), n.size === 0 && r && (r(), r = null);
591
+ function o(u, l = S) {
592
+ const s = [u, l];
593
+ return n.add(s), n.size === 1 && (r = t(i, a) || S), u(e), () => {
594
+ n.delete(s), n.size === 0 && r && (r(), r = null);
595
595
  };
596
596
  }
597
- return { set: i, update: o, subscribe: s };
597
+ return { set: i, update: a, subscribe: o };
598
598
  }
599
- function W(e, t, r) {
599
+ function X(e, t, r) {
600
600
  const n = !Array.isArray(e), i = n ? [e] : e;
601
601
  if (!i.every(Boolean))
602
602
  throw new Error("derived() expects stores as input, got a falsy value");
603
- const o = t.length < 2;
604
- return Lr(r, (s, u) => {
603
+ const a = t.length < 2;
604
+ return Lr(r, (o, u) => {
605
605
  let l = !1;
606
- const a = [];
607
- let h = 0, f = A;
606
+ const s = [];
607
+ let h = 0, f = S;
608
608
  const m = () => {
609
609
  if (h)
610
610
  return;
611
611
  f();
612
- const p = t(n ? a[0] : a, s, u);
613
- o ? s(p) : f = We(p) ? p : A;
612
+ const p = t(n ? s[0] : s, o, u);
613
+ a ? o(p) : f = Ve(p) ? p : S;
614
614
  }, d = i.map(
615
- (p, v) => Bt(
615
+ (p, v) => St(
616
616
  p,
617
617
  (T) => {
618
- a[v] = T, h &= ~(1 << v), l && m();
618
+ s[v] = T, h &= ~(1 << v), l && m();
619
619
  },
620
620
  () => {
621
621
  h |= 1 << v;
@@ -623,7 +623,7 @@ function W(e, t, r) {
623
623
  )
624
624
  );
625
625
  return l = !0, m(), function() {
626
- re(d), f(), l = !1;
626
+ te(d), f(), l = !1;
627
627
  };
628
628
  });
629
629
  }
@@ -647,19 +647,19 @@ function kr(e) {
647
647
  function Fr(e) {
648
648
  return Array.isArray(e) ? [] : {};
649
649
  }
650
- function ee(e, t) {
651
- return t.clone !== !1 && t.isMergeableObject(e) ? F(Fr(e), e, t) : e;
650
+ function K(e, t) {
651
+ return t.clone !== !1 && t.isMergeableObject(e) ? k(Fr(e), e, t) : e;
652
652
  }
653
653
  function jr(e, t, r) {
654
654
  return e.concat(t).map(function(n) {
655
- return ee(n, r);
655
+ return K(n, r);
656
656
  });
657
657
  }
658
658
  function zr(e, t) {
659
659
  if (!t.customMerge)
660
- return F;
660
+ return k;
661
661
  var r = t.customMerge(e);
662
- return typeof r == "function" ? r : F;
662
+ return typeof r == "function" ? r : k;
663
663
  }
664
664
  function Vr(e) {
665
665
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -682,51 +682,65 @@ function Xr(e, t) {
682
682
  function Wr(e, t, r) {
683
683
  var n = {};
684
684
  return r.isMergeableObject(e) && it(e).forEach(function(i) {
685
- n[i] = ee(e[i], r);
685
+ n[i] = K(e[i], r);
686
686
  }), it(t).forEach(function(i) {
687
- Xr(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = zr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
687
+ Xr(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = zr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
688
688
  }), n;
689
689
  }
690
- function F(e, t, r) {
691
- r = r || {}, r.arrayMerge = r.arrayMerge || jr, r.isMergeableObject = r.isMergeableObject || $r, r.cloneUnlessOtherwiseSpecified = ee;
692
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
693
- return o ? n ? r.arrayMerge(e, t, r) : Wr(e, t, r) : ee(t, r);
690
+ function k(e, t, r) {
691
+ r = r || {}, r.arrayMerge = r.arrayMerge || jr, r.isMergeableObject = r.isMergeableObject || $r, r.cloneUnlessOtherwiseSpecified = K;
692
+ var n = Array.isArray(t), i = Array.isArray(e), a = n === i;
693
+ return a ? n ? r.arrayMerge(e, t, r) : Wr(e, t, r) : K(t, r);
694
694
  }
695
- F.all = function(t, r) {
695
+ k.all = function(t, r) {
696
696
  if (!Array.isArray(t))
697
697
  throw new Error("first argument should be an array");
698
698
  return t.reduce(function(n, i) {
699
- return F(n, i, r);
699
+ return k(n, i, r);
700
700
  }, {});
701
701
  };
702
- var Zr = F, Jr = Zr;
702
+ var Zr = k, Jr = Zr;
703
703
  const qr = /* @__PURE__ */ Mr(Jr);
704
- var Ue = function(e, t) {
705
- return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
704
+ /*! *****************************************************************************
705
+ Copyright (c) Microsoft Corporation.
706
+
707
+ Permission to use, copy, modify, and/or distribute this software for any
708
+ purpose with or without fee is hereby granted.
709
+
710
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
711
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
712
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
713
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
714
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
715
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
716
+ PERFORMANCE OF THIS SOFTWARE.
717
+ ***************************************************************************** */
718
+ var Re = function(e, t) {
719
+ return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
706
720
  r.__proto__ = n;
707
721
  } || function(r, n) {
708
722
  for (var i in n)
709
723
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
710
- }, Ue(e, t);
724
+ }, Re(e, t);
711
725
  };
712
- function He(e, t) {
726
+ function xe(e, t) {
713
727
  if (typeof t != "function" && t !== null)
714
728
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
715
- Ue(e, t);
729
+ Re(e, t);
716
730
  function r() {
717
731
  this.constructor = e;
718
732
  }
719
733
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
720
734
  }
721
- var S = function() {
722
- return S = Object.assign || function(t) {
735
+ var _ = function() {
736
+ return _ = Object.assign || function(t) {
723
737
  for (var r, n = 1, i = arguments.length; n < i; n++) {
724
738
  r = arguments[n];
725
- for (var o in r)
726
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
739
+ for (var a in r)
740
+ Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
727
741
  }
728
742
  return t;
729
- }, S.apply(this, arguments);
743
+ }, _.apply(this, arguments);
730
744
  };
731
745
  function Qr(e, t) {
732
746
  var r = {};
@@ -737,14 +751,14 @@ function Qr(e, t) {
737
751
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
738
752
  return r;
739
753
  }
740
- function Oe(e, t, r) {
741
- if (r || arguments.length === 2)
742
- for (var n = 0, i = t.length, o; n < i; n++)
743
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
744
- return e.concat(o || Array.prototype.slice.call(t));
754
+ function Ae(e, t, r) {
755
+ if (arguments.length === 2)
756
+ for (var n = 0, i = t.length, a; n < i; n++)
757
+ (a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
758
+ return e.concat(a || t);
745
759
  }
746
- function Ie(e, t) {
747
- var r = t && t.cache ? t.cache : on, n = t && t.serializer ? t.serializer : rn, i = t && t.strategy ? t.strategy : en;
760
+ function Pe(e, t) {
761
+ var r = t && t.cache ? t.cache : nn, n = t && t.serializer ? t.serializer : rn, i = t && t.strategy ? t.strategy : Kr;
748
762
  return i(e, {
749
763
  cache: r,
750
764
  serializer: n
@@ -753,103 +767,95 @@ function Ie(e, t) {
753
767
  function Yr(e) {
754
768
  return e == null || typeof e == "number" || typeof e == "boolean";
755
769
  }
756
- function Kr(e, t, r, n) {
757
- var i = Yr(n) ? n : r(n), o = t.get(i);
758
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
770
+ function Ct(e, t, r, n) {
771
+ var i = Yr(n) ? n : r(n), a = t.get(i);
772
+ return typeof a == "undefined" && (a = e.call(this, n), t.set(i, a)), a;
759
773
  }
760
- function Ct(e, t, r) {
761
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
762
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
774
+ function Nt(e, t, r) {
775
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), a = t.get(i);
776
+ return typeof a == "undefined" && (a = e.apply(this, n), t.set(i, a)), a;
763
777
  }
764
- function Nt(e, t, r, n, i) {
778
+ function Xe(e, t, r, n, i) {
765
779
  return r.bind(t, e, n, i);
766
780
  }
781
+ function Kr(e, t) {
782
+ var r = e.length === 1 ? Ct : Nt;
783
+ return Xe(e, this, r, t.cache.create(), t.serializer);
784
+ }
767
785
  function en(e, t) {
768
- var r = e.length === 1 ? Kr : Ct;
769
- return Nt(e, this, r, t.cache.create(), t.serializer);
786
+ return Xe(e, this, Nt, t.cache.create(), t.serializer);
770
787
  }
771
788
  function tn(e, t) {
772
- return Nt(e, this, Ct, t.cache.create(), t.serializer);
789
+ return Xe(e, this, Ct, t.cache.create(), t.serializer);
773
790
  }
774
791
  var rn = function() {
775
792
  return JSON.stringify(arguments);
776
- }, nn = (
777
- /** @class */
778
- function() {
779
- function e() {
780
- this.cache = /* @__PURE__ */ Object.create(null);
781
- }
782
- return e.prototype.get = function(t) {
783
- return this.cache[t];
784
- }, e.prototype.set = function(t, r) {
785
- this.cache[t] = r;
786
- }, e;
787
- }()
788
- ), on = {
793
+ };
794
+ function We() {
795
+ this.cache = /* @__PURE__ */ Object.create(null);
796
+ }
797
+ We.prototype.get = function(e) {
798
+ return this.cache[e];
799
+ };
800
+ We.prototype.set = function(e, t) {
801
+ this.cache[e] = t;
802
+ };
803
+ var nn = {
789
804
  create: function() {
790
- return new nn();
805
+ return new We();
791
806
  }
792
- }, Ce = {
793
- variadic: tn
794
- }, ye = function() {
795
- return ye = Object.assign || function(t) {
796
- for (var r, n = 1, i = arguments.length; n < i; n++) {
797
- r = arguments[n];
798
- for (var o in r)
799
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
800
- }
801
- return t;
802
- }, ye.apply(this, arguments);
803
- };
804
- var b;
807
+ }, Oe = {
808
+ variadic: en,
809
+ monadic: tn
810
+ }, b;
805
811
  (function(e) {
806
812
  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";
807
813
  })(b || (b = {}));
808
- var _;
814
+ var E;
809
815
  (function(e) {
810
816
  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";
811
- })(_ || (_ = {}));
812
- var j;
817
+ })(E || (E = {}));
818
+ var F;
813
819
  (function(e) {
814
820
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
815
- })(j || (j = {}));
816
- function ot(e) {
817
- return e.type === _.literal;
821
+ })(F || (F = {}));
822
+ function at(e) {
823
+ return e.type === E.literal;
818
824
  }
819
- function sn(e) {
820
- return e.type === _.argument;
825
+ function an(e) {
826
+ return e.type === E.argument;
821
827
  }
822
828
  function Lt(e) {
823
- return e.type === _.number;
829
+ return e.type === E.number;
824
830
  }
825
831
  function Mt(e) {
826
- return e.type === _.date;
832
+ return e.type === E.date;
827
833
  }
828
834
  function $t(e) {
829
- return e.type === _.time;
835
+ return e.type === E.time;
830
836
  }
831
837
  function Rt(e) {
832
- return e.type === _.select;
838
+ return e.type === E.select;
833
839
  }
834
840
  function Dt(e) {
835
- return e.type === _.plural;
841
+ return e.type === E.plural;
836
842
  }
837
- function an(e) {
838
- return e.type === _.pound;
843
+ function on(e) {
844
+ return e.type === E.pound;
839
845
  }
840
846
  function Ut(e) {
841
- return e.type === _.tag;
847
+ return e.type === E.tag;
842
848
  }
843
849
  function Gt(e) {
844
- return !!(e && typeof e == "object" && e.type === j.number);
850
+ return !!(e && typeof e == "object" && e.type === F.number);
845
851
  }
846
- function Ge(e) {
847
- return !!(e && typeof e == "object" && e.type === j.dateTime);
852
+ function De(e) {
853
+ return !!(e && typeof e == "object" && e.type === F.dateTime);
848
854
  }
849
- var kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, un = /(?:[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;
850
- function ln(e) {
855
+ var kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, sn = /(?:[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;
856
+ function un(e) {
851
857
  var t = {};
852
- return e.replace(un, function(r) {
858
+ return e.replace(sn, function(r) {
853
859
  var n = r.length;
854
860
  switch (r[0]) {
855
861
  case "G":
@@ -938,28 +944,18 @@ function ln(e) {
938
944
  return "";
939
945
  }), t;
940
946
  }
941
- var E = function() {
942
- return E = Object.assign || function(t) {
943
- for (var r, n = 1, i = arguments.length; n < i; n++) {
944
- r = arguments[n];
945
- for (var o in r)
946
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
947
- }
948
- return t;
949
- }, E.apply(this, arguments);
950
- };
951
- var hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
952
- function cn(e) {
947
+ var ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
948
+ function hn(e) {
953
949
  if (e.length === 0)
954
950
  throw new Error("Number skeleton cannot be empty");
955
- for (var t = e.split(hn).filter(function(m) {
951
+ for (var t = e.split(ln).filter(function(m) {
956
952
  return m.length > 0;
957
953
  }), r = [], n = 0, i = t; n < i.length; n++) {
958
- var o = i[n], s = o.split("/");
959
- if (s.length === 0)
954
+ var a = i[n], o = a.split("/");
955
+ if (o.length === 0)
960
956
  throw new Error("Invalid number skeleton");
961
- for (var u = s[0], l = s.slice(1), a = 0, h = l; a < h.length; a++) {
962
- var f = h[a];
957
+ for (var u = o[0], l = o.slice(1), s = 0, h = l; s < h.length; s++) {
958
+ var f = h[s];
963
959
  if (f.length === 0)
964
960
  throw new Error("Invalid number skeleton");
965
961
  }
@@ -967,11 +963,11 @@ function cn(e) {
967
963
  }
968
964
  return r;
969
965
  }
970
- function fn(e) {
966
+ function cn(e) {
971
967
  return e.replace(/^(.*?)-/, "");
972
968
  }
973
- var st = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, mn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
974
- function at(e) {
969
+ var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, fn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
970
+ function st(e) {
975
971
  var t = {};
976
972
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ft, function(r, n, i) {
977
973
  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)), "";
@@ -1017,7 +1013,7 @@ function zt(e) {
1017
1013
  };
1018
1014
  }
1019
1015
  }
1020
- function dn(e) {
1016
+ function mn(e) {
1021
1017
  var t;
1022
1018
  if (e[0] === "E" && e[1] === "E" ? (t = {
1023
1019
  notation: "engineering"
@@ -1035,7 +1031,7 @@ function ut(e) {
1035
1031
  var t = {}, r = zt(e);
1036
1032
  return r || t;
1037
1033
  }
1038
- function pn(e) {
1034
+ function dn(e) {
1039
1035
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1040
1036
  var i = n[r];
1041
1037
  switch (i.stem) {
@@ -1059,7 +1055,7 @@ function pn(e) {
1059
1055
  continue;
1060
1056
  case "measure-unit":
1061
1057
  case "unit":
1062
- t.style = "unit", t.unit = fn(i.options[0]);
1058
+ t.style = "unit", t.unit = cn(i.options[0]);
1063
1059
  continue;
1064
1060
  case "compact-short":
1065
1061
  case "K":
@@ -1070,13 +1066,13 @@ function pn(e) {
1070
1066
  t.notation = "compact", t.compactDisplay = "long";
1071
1067
  continue;
1072
1068
  case "scientific":
1073
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
1074
- return E(E({}, l), ut(a));
1069
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, s) {
1070
+ return _(_({}, l), ut(s));
1075
1071
  }, {}));
1076
1072
  continue;
1077
1073
  case "engineering":
1078
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
1079
- return E(E({}, l), ut(a));
1074
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, s) {
1075
+ return _(_({}, l), ut(s));
1080
1076
  }, {}));
1081
1077
  continue;
1082
1078
  case "notation-simple":
@@ -1121,8 +1117,8 @@ function pn(e) {
1121
1117
  case "integer-width":
1122
1118
  if (i.options.length > 1)
1123
1119
  throw new RangeError("integer-width stems only accept a single optional option");
1124
- i.options[0].replace(mn, function(l, a, h, f, m, d) {
1125
- if (a)
1120
+ i.options[0].replace(fn, function(l, s, h, f, m, d) {
1121
+ if (s)
1126
1122
  t.minimumIntegerDigits = h.length;
1127
1123
  else {
1128
1124
  if (f && m)
@@ -1138,28 +1134,28 @@ function pn(e) {
1138
1134
  t.minimumIntegerDigits = i.stem.length;
1139
1135
  continue;
1140
1136
  }
1141
- if (st.test(i.stem)) {
1137
+ if (ot.test(i.stem)) {
1142
1138
  if (i.options.length > 1)
1143
1139
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1144
- i.stem.replace(st, function(l, a, h, f, m, d) {
1145
- return h === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : m && d ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1140
+ i.stem.replace(ot, function(l, s, h, f, m, d) {
1141
+ return h === "*" ? t.minimumFractionDigits = s.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : m && d ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + d.length) : (t.minimumFractionDigits = s.length, t.maximumFractionDigits = s.length), "";
1146
1142
  });
1147
- var o = i.options[0];
1148
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), at(o)));
1143
+ var a = i.options[0];
1144
+ a === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = _(_({}, t), st(a)));
1149
1145
  continue;
1150
1146
  }
1151
1147
  if (Ft.test(i.stem)) {
1152
- t = E(E({}, t), at(i.stem));
1148
+ t = _(_({}, t), st(i.stem));
1153
1149
  continue;
1154
1150
  }
1155
- var s = zt(i.stem);
1156
- s && (t = E(E({}, t), s));
1157
- var u = dn(i.stem);
1158
- u && (t = E(E({}, t), u));
1151
+ var o = zt(i.stem);
1152
+ o && (t = _(_({}, t), o));
1153
+ var u = mn(i.stem);
1154
+ u && (t = _(_({}, t), u));
1159
1155
  }
1160
1156
  return t;
1161
1157
  }
1162
- var me = {
1158
+ var fe = {
1163
1159
  "001": [
1164
1160
  "H",
1165
1161
  "h"
@@ -2574,23 +2570,23 @@ var me = {
2574
2570
  "h"
2575
2571
  ]
2576
2572
  };
2577
- function bn(e, t) {
2573
+ function pn(e, t) {
2578
2574
  for (var r = "", n = 0; n < e.length; n++) {
2579
2575
  var i = e.charAt(n);
2580
2576
  if (i === "j") {
2581
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2582
- o++, n++;
2583
- var s = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), l = "a", a = gn(t);
2584
- for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2577
+ for (var a = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2578
+ a++, n++;
2579
+ var o = 1 + (a & 1), u = a < 2 ? 1 : 3 + (a >> 1), l = "a", s = bn(t);
2580
+ for ((s == "H" || s == "k") && (u = 0); u-- > 0; )
2585
2581
  r += l;
2586
- for (; s-- > 0; )
2587
- r = a + r;
2582
+ for (; o-- > 0; )
2583
+ r = s + r;
2588
2584
  } else
2589
2585
  i === "J" ? r += "H" : r += i;
2590
2586
  }
2591
2587
  return r;
2592
2588
  }
2593
- function gn(e) {
2589
+ function bn(e) {
2594
2590
  var t = e.hourCycle;
2595
2591
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2596
2592
  e.hourCycles && // @ts-ignore
@@ -2609,23 +2605,23 @@ function gn(e) {
2609
2605
  }
2610
2606
  var r = e.language, n;
2611
2607
  r !== "root" && (n = e.maximize().region);
2612
- var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
2608
+ var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2613
2609
  return i[0];
2614
2610
  }
2615
- var Ne, yn = new RegExp("^".concat(kt.source, "*")), _n = new RegExp("".concat(kt.source, "*$"));
2611
+ var Ie, gn = new RegExp("^".concat(kt.source, "*")), yn = new RegExp("".concat(kt.source, "*$"));
2616
2612
  function y(e, t) {
2617
2613
  return { start: e, end: t };
2618
2614
  }
2619
- var En = !!String.prototype.startsWith && "_a".startsWith("a", 1), vn = !!String.fromCodePoint, xn = !!Object.fromEntries, Tn = !!String.prototype.codePointAt, Hn = !!String.prototype.trimStart, wn = !!String.prototype.trimEnd, Sn = !!Number.isSafeInteger, Bn = Sn ? Number.isSafeInteger : function(e) {
2615
+ var _n = !!String.prototype.startsWith && "_a".startsWith("a", 1), En = !!String.fromCodePoint, vn = !!Object.fromEntries, xn = !!String.prototype.codePointAt, Tn = !!String.prototype.trimStart, Hn = !!String.prototype.trimEnd, wn = !!Number.isSafeInteger, Bn = wn ? Number.isSafeInteger : function(e) {
2620
2616
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2621
- }, ke = !0;
2617
+ }, Ue = !0;
2622
2618
  try {
2623
- var An = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2624
- ke = ((Ne = An.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
2619
+ var Sn = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2620
+ Ue = ((Ie = Sn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
2625
2621
  } catch (e) {
2626
- ke = !1;
2622
+ Ue = !1;
2627
2623
  }
2628
- var lt = En ? (
2624
+ var lt = _n ? (
2629
2625
  // Native
2630
2626
  function(t, r, n) {
2631
2627
  return t.startsWith(r, n);
@@ -2635,31 +2631,31 @@ var lt = En ? (
2635
2631
  function(t, r, n) {
2636
2632
  return t.slice(n, n + r.length) === r;
2637
2633
  }
2638
- ), Fe = vn ? String.fromCodePoint : (
2634
+ ), Ge = En ? String.fromCodePoint : (
2639
2635
  // IE11
2640
2636
  function() {
2641
2637
  for (var t = [], r = 0; r < arguments.length; r++)
2642
2638
  t[r] = arguments[r];
2643
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
2644
- if (s = t[o++], s > 1114111)
2645
- throw RangeError(s + " is not a valid code point");
2646
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2639
+ for (var n = "", i = t.length, a = 0, o; i > a; ) {
2640
+ if (o = t[a++], o > 1114111)
2641
+ throw RangeError(o + " is not a valid code point");
2642
+ n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2647
2643
  }
2648
2644
  return n;
2649
2645
  }
2650
2646
  ), ht = (
2651
2647
  // native
2652
- xn ? Object.fromEntries : (
2648
+ vn ? Object.fromEntries : (
2653
2649
  // Ponyfill
2654
2650
  function(t) {
2655
2651
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2656
- var o = i[n], s = o[0], u = o[1];
2657
- r[s] = u;
2652
+ var a = i[n], o = a[0], u = a[1];
2653
+ r[o] = u;
2658
2654
  }
2659
2655
  return r;
2660
2656
  }
2661
2657
  )
2662
- ), Vt = Tn ? (
2658
+ ), Vt = xn ? (
2663
2659
  // Native
2664
2660
  function(t, r) {
2665
2661
  return t.codePointAt(r);
@@ -2669,11 +2665,11 @@ var lt = En ? (
2669
2665
  function(t, r) {
2670
2666
  var n = t.length;
2671
2667
  if (!(r < 0 || r >= n)) {
2672
- var i = t.charCodeAt(r), o;
2673
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2668
+ var i = t.charCodeAt(r), a;
2669
+ return i < 55296 || i > 56319 || r + 1 === n || (a = t.charCodeAt(r + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
2674
2670
  }
2675
2671
  }
2676
- ), Pn = Hn ? (
2672
+ ), An = Tn ? (
2677
2673
  // Native
2678
2674
  function(t) {
2679
2675
  return t.trimStart();
@@ -2681,9 +2677,9 @@ var lt = En ? (
2681
2677
  ) : (
2682
2678
  // Ponyfill
2683
2679
  function(t) {
2684
- return t.replace(yn, "");
2680
+ return t.replace(gn, "");
2685
2681
  }
2686
- ), On = wn ? (
2682
+ ), Pn = Hn ? (
2687
2683
  // Native
2688
2684
  function(t) {
2689
2685
  return t.trimEnd();
@@ -2691,32 +2687,32 @@ var lt = En ? (
2691
2687
  ) : (
2692
2688
  // Ponyfill
2693
2689
  function(t) {
2694
- return t.replace(_n, "");
2690
+ return t.replace(yn, "");
2695
2691
  }
2696
2692
  );
2697
2693
  function Xt(e, t) {
2698
2694
  return new RegExp(e, t);
2699
2695
  }
2700
- var je;
2701
- if (ke) {
2696
+ var ke;
2697
+ if (Ue) {
2702
2698
  var ct = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2703
- je = function(t, r) {
2699
+ ke = function(t, r) {
2704
2700
  var n;
2705
2701
  ct.lastIndex = r;
2706
2702
  var i = ct.exec(t);
2707
2703
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2708
2704
  };
2709
2705
  } else
2710
- je = function(t, r) {
2706
+ ke = function(t, r) {
2711
2707
  for (var n = []; ; ) {
2712
2708
  var i = Vt(t, r);
2713
- if (i === void 0 || Wt(i) || Ln(i))
2709
+ if (i === void 0 || Wt(i) || Nn(i))
2714
2710
  break;
2715
2711
  n.push(i), r += i >= 65536 ? 2 : 1;
2716
2712
  }
2717
- return Fe.apply(void 0, n);
2713
+ return Ge.apply(void 0, n);
2718
2714
  };
2719
- var In = (
2715
+ var On = (
2720
2716
  /** @class */
2721
2717
  function() {
2722
2718
  function e(t, r) {
@@ -2728,35 +2724,35 @@ var In = (
2728
2724
  return this.parseMessage(0, "", !1);
2729
2725
  }, e.prototype.parseMessage = function(t, r, n) {
2730
2726
  for (var i = []; !this.isEOF(); ) {
2731
- var o = this.char();
2732
- if (o === 123) {
2733
- var s = this.parseArgument(t, n);
2734
- if (s.err)
2735
- return s;
2736
- i.push(s.val);
2727
+ var a = this.char();
2728
+ if (a === 123) {
2729
+ var o = this.parseArgument(t, n);
2730
+ if (o.err)
2731
+ return o;
2732
+ i.push(o.val);
2737
2733
  } else {
2738
- if (o === 125 && t > 0)
2734
+ if (a === 125 && t > 0)
2739
2735
  break;
2740
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
2736
+ if (a === 35 && (r === "plural" || r === "selectordinal")) {
2741
2737
  var u = this.clonePosition();
2742
2738
  this.bump(), i.push({
2743
- type: _.pound,
2739
+ type: E.pound,
2744
2740
  location: y(u, this.clonePosition())
2745
2741
  });
2746
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2742
+ } else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
2747
2743
  if (n)
2748
2744
  break;
2749
2745
  return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2750
- } else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
2751
- var s = this.parseTag(t, r);
2752
- if (s.err)
2753
- return s;
2754
- i.push(s.val);
2746
+ } else if (a === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
2747
+ var o = this.parseTag(t, r);
2748
+ if (o.err)
2749
+ return o;
2750
+ i.push(o.val);
2755
2751
  } else {
2756
- var s = this.parseLiteral(t, r);
2757
- if (s.err)
2758
- return s;
2759
- i.push(s.val);
2752
+ var o = this.parseLiteral(t, r);
2753
+ if (o.err)
2754
+ return o;
2755
+ i.push(o.val);
2760
2756
  }
2761
2757
  }
2762
2758
  }
@@ -2768,26 +2764,26 @@ var In = (
2768
2764
  if (this.bumpSpace(), this.bumpIf("/>"))
2769
2765
  return {
2770
2766
  val: {
2771
- type: _.literal,
2767
+ type: E.literal,
2772
2768
  value: "<".concat(i, "/>"),
2773
2769
  location: y(n, this.clonePosition())
2774
2770
  },
2775
2771
  err: null
2776
2772
  };
2777
2773
  if (this.bumpIf(">")) {
2778
- var o = this.parseMessage(t + 1, r, !0);
2779
- if (o.err)
2780
- return o;
2781
- var s = o.val, u = this.clonePosition();
2774
+ var a = this.parseMessage(t + 1, r, !0);
2775
+ if (a.err)
2776
+ return a;
2777
+ var o = a.val, u = this.clonePosition();
2782
2778
  if (this.bumpIf("</")) {
2783
- if (this.isEOF() || !ze(this.char()))
2779
+ if (this.isEOF() || !Fe(this.char()))
2784
2780
  return this.error(b.INVALID_TAG, y(u, this.clonePosition()));
2785
- var l = this.clonePosition(), a = this.parseTagName();
2786
- return i !== a ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2781
+ var l = this.clonePosition(), s = this.parseTagName();
2782
+ return i !== s ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2787
2783
  val: {
2788
- type: _.tag,
2784
+ type: E.tag,
2789
2785
  value: i,
2790
- children: s,
2786
+ children: o,
2791
2787
  location: y(n, this.clonePosition())
2792
2788
  },
2793
2789
  err: null
@@ -2798,19 +2794,19 @@ var In = (
2798
2794
  return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
2799
2795
  }, e.prototype.parseTagName = function() {
2800
2796
  var t = this.offset();
2801
- for (this.bump(); !this.isEOF() && Nn(this.char()); )
2797
+ for (this.bump(); !this.isEOF() && Cn(this.char()); )
2802
2798
  this.bump();
2803
2799
  return this.message.slice(t, this.offset());
2804
2800
  }, e.prototype.parseLiteral = function(t, r) {
2805
2801
  for (var n = this.clonePosition(), i = ""; ; ) {
2806
- var o = this.tryParseQuote(r);
2807
- if (o) {
2808
- i += o;
2802
+ var a = this.tryParseQuote(r);
2803
+ if (a) {
2804
+ i += a;
2809
2805
  continue;
2810
2806
  }
2811
- var s = this.tryParseUnquoted(t, r);
2812
- if (s) {
2813
- i += s;
2807
+ var o = this.tryParseUnquoted(t, r);
2808
+ if (o) {
2809
+ i += o;
2814
2810
  continue;
2815
2811
  }
2816
2812
  var u = this.tryParseLeftAngleBracket();
@@ -2822,12 +2818,12 @@ var In = (
2822
2818
  }
2823
2819
  var l = y(n, this.clonePosition());
2824
2820
  return {
2825
- val: { type: _.literal, value: i, location: l },
2821
+ val: { type: E.literal, value: i, location: l },
2826
2822
  err: null
2827
2823
  };
2828
2824
  }, e.prototype.tryParseLeftAngleBracket = function() {
2829
2825
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2830
- !Cn(this.peek() || 0)) ? (this.bump(), "<") : null;
2826
+ !In(this.peek() || 0)) ? (this.bump(), "<") : null;
2831
2827
  }, e.prototype.tryParseQuote = function(t) {
2832
2828
  if (this.isEOF() || this.char() !== 39)
2833
2829
  return null;
@@ -2861,12 +2857,12 @@ var In = (
2861
2857
  r.push(n);
2862
2858
  this.bump();
2863
2859
  }
2864
- return Fe.apply(void 0, r);
2860
+ return Ge.apply(void 0, r);
2865
2861
  }, e.prototype.tryParseUnquoted = function(t, r) {
2866
2862
  if (this.isEOF())
2867
2863
  return null;
2868
2864
  var n = this.char();
2869
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
2865
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
2870
2866
  }, e.prototype.parseArgument = function(t, r) {
2871
2867
  var n = this.clonePosition();
2872
2868
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2882,7 +2878,7 @@ var In = (
2882
2878
  case 125:
2883
2879
  return this.bump(), {
2884
2880
  val: {
2885
- type: _.argument,
2881
+ type: E.argument,
2886
2882
  // value does not include the opening and closing braces.
2887
2883
  value: i,
2888
2884
  location: y(n, this.clonePosition())
@@ -2895,54 +2891,54 @@ var In = (
2895
2891
  return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2896
2892
  }
2897
2893
  }, e.prototype.parseIdentifierIfPossible = function() {
2898
- var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
2894
+ var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
2899
2895
  this.bumpTo(i);
2900
- var o = this.clonePosition(), s = y(t, o);
2901
- return { value: n, location: s };
2896
+ var a = this.clonePosition(), o = y(t, a);
2897
+ return { value: n, location: o };
2902
2898
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2903
- var o, s = this.clonePosition(), u = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2899
+ var a, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2904
2900
  switch (u) {
2905
2901
  case "":
2906
- return this.error(b.EXPECT_ARGUMENT_TYPE, y(s, l));
2902
+ return this.error(b.EXPECT_ARGUMENT_TYPE, y(o, l));
2907
2903
  case "number":
2908
2904
  case "date":
2909
2905
  case "time": {
2910
2906
  this.bumpSpace();
2911
- var a = null;
2907
+ var s = null;
2912
2908
  if (this.bumpIf(",")) {
2913
2909
  this.bumpSpace();
2914
2910
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2915
2911
  if (f.err)
2916
2912
  return f;
2917
- var m = On(f.val);
2913
+ var m = Pn(f.val);
2918
2914
  if (m.length === 0)
2919
2915
  return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2920
2916
  var d = y(h, this.clonePosition());
2921
- a = { style: m, styleLocation: d };
2917
+ s = { style: m, styleLocation: d };
2922
2918
  }
2923
2919
  var p = this.tryParseArgumentClose(i);
2924
2920
  if (p.err)
2925
2921
  return p;
2926
2922
  var v = y(i, this.clonePosition());
2927
- if (a && lt(a == null ? void 0 : a.style, "::", 0)) {
2928
- var T = Pn(a.style.slice(2));
2923
+ if (s && lt(s == null ? void 0 : s.style, "::", 0)) {
2924
+ var T = An(s.style.slice(2));
2929
2925
  if (u === "number") {
2930
- var f = this.parseNumberSkeletonFromString(T, a.styleLocation);
2926
+ var f = this.parseNumberSkeletonFromString(T, s.styleLocation);
2931
2927
  return f.err ? f : {
2932
- val: { type: _.number, value: n, location: v, style: f.val },
2928
+ val: { type: E.number, value: n, location: v, style: f.val },
2933
2929
  err: null
2934
2930
  };
2935
2931
  } else {
2936
2932
  if (T.length === 0)
2937
2933
  return this.error(b.EXPECT_DATE_TIME_SKELETON, v);
2938
2934
  var x = T;
2939
- this.locale && (x = bn(T, this.locale));
2935
+ this.locale && (x = pn(T, this.locale));
2940
2936
  var m = {
2941
- type: j.dateTime,
2937
+ type: F.dateTime,
2942
2938
  pattern: x,
2943
- location: a.styleLocation,
2944
- parsedOptions: this.shouldParseSkeletons ? ln(x) : {}
2945
- }, c = u === "date" ? _.date : _.time;
2939
+ location: s.styleLocation,
2940
+ parsedOptions: this.shouldParseSkeletons ? un(x) : {}
2941
+ }, c = u === "date" ? E.date : E.time;
2946
2942
  return {
2947
2943
  val: { type: c, value: n, location: v, style: m },
2948
2944
  err: null
@@ -2951,10 +2947,10 @@ var In = (
2951
2947
  }
2952
2948
  return {
2953
2949
  val: {
2954
- type: u === "number" ? _.number : u === "date" ? _.date : _.time,
2950
+ type: u === "number" ? E.number : u === "date" ? E.date : E.time,
2955
2951
  value: n,
2956
2952
  location: v,
2957
- style: (o = a == null ? void 0 : a.style) !== null && o !== void 0 ? o : null
2953
+ style: (a = s == null ? void 0 : s.style) !== null && a !== void 0 ? a : null
2958
2954
  },
2959
2955
  err: null
2960
2956
  };
@@ -2964,39 +2960,39 @@ var In = (
2964
2960
  case "select": {
2965
2961
  var g = this.clonePosition();
2966
2962
  if (this.bumpSpace(), !this.bumpIf(","))
2967
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(g, ye({}, g)));
2963
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(g, _({}, g)));
2968
2964
  this.bumpSpace();
2969
- var P = this.parseIdentifierIfPossible(), L = 0;
2970
- if (u !== "select" && P.value === "offset") {
2965
+ var A = this.parseIdentifierIfPossible(), N = 0;
2966
+ if (u !== "select" && A.value === "offset") {
2971
2967
  if (!this.bumpIf(":"))
2972
2968
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
2973
2969
  this.bumpSpace();
2974
2970
  var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2975
2971
  if (f.err)
2976
2972
  return f;
2977
- this.bumpSpace(), P = this.parseIdentifierIfPossible(), L = f.val;
2973
+ this.bumpSpace(), A = this.parseIdentifierIfPossible(), N = f.val;
2978
2974
  }
2979
- var oe = this.tryParsePluralOrSelectOptions(t, u, r, P);
2980
- if (oe.err)
2981
- return oe;
2975
+ var ie = this.tryParsePluralOrSelectOptions(t, u, r, A);
2976
+ if (ie.err)
2977
+ return ie;
2982
2978
  var p = this.tryParseArgumentClose(i);
2983
2979
  if (p.err)
2984
2980
  return p;
2985
2981
  var qe = y(i, this.clonePosition());
2986
2982
  return u === "select" ? {
2987
2983
  val: {
2988
- type: _.select,
2984
+ type: E.select,
2989
2985
  value: n,
2990
- options: ht(oe.val),
2986
+ options: ht(ie.val),
2991
2987
  location: qe
2992
2988
  },
2993
2989
  err: null
2994
2990
  } : {
2995
2991
  val: {
2996
- type: _.plural,
2992
+ type: E.plural,
2997
2993
  value: n,
2998
- options: ht(oe.val),
2999
- offset: L,
2994
+ options: ht(ie.val),
2995
+ offset: N,
3000
2996
  pluralType: u === "plural" ? "cardinal" : "ordinal",
3001
2997
  location: qe
3002
2998
  },
@@ -3004,7 +3000,7 @@ var In = (
3004
3000
  };
3005
3001
  }
3006
3002
  default:
3007
- return this.error(b.INVALID_ARGUMENT_TYPE, y(s, l));
3003
+ return this.error(b.INVALID_ARGUMENT_TYPE, y(o, l));
3008
3004
  }
3009
3005
  }, e.prototype.tryParseArgumentClose = function(t) {
3010
3006
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3046,34 +3042,34 @@ var In = (
3046
3042
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3047
3043
  var n = [];
3048
3044
  try {
3049
- n = cn(t);
3045
+ n = hn(t);
3050
3046
  } catch (i) {
3051
3047
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3052
3048
  }
3053
3049
  return {
3054
3050
  val: {
3055
- type: j.number,
3051
+ type: F.number,
3056
3052
  tokens: n,
3057
3053
  location: r,
3058
- parsedOptions: this.shouldParseSkeletons ? pn(n) : {}
3054
+ parsedOptions: this.shouldParseSkeletons ? dn(n) : {}
3059
3055
  },
3060
3056
  err: null
3061
3057
  };
3062
3058
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3063
- for (var o, s = !1, u = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
3064
- if (a.length === 0) {
3059
+ for (var a, o = !1, u = [], l = /* @__PURE__ */ new Set(), s = i.value, h = i.location; ; ) {
3060
+ if (s.length === 0) {
3065
3061
  var f = this.clonePosition();
3066
3062
  if (r !== "select" && this.bumpIf("=")) {
3067
3063
  var m = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3068
3064
  if (m.err)
3069
3065
  return m;
3070
- h = y(f, this.clonePosition()), a = this.message.slice(f.offset, this.offset());
3066
+ h = y(f, this.clonePosition()), s = this.message.slice(f.offset, this.offset());
3071
3067
  } else
3072
3068
  break;
3073
3069
  }
3074
- if (l.has(a))
3070
+ if (l.has(s))
3075
3071
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3076
- a === "other" && (s = !0), this.bumpSpace();
3072
+ s === "other" && (o = !0), this.bumpSpace();
3077
3073
  var d = this.clonePosition();
3078
3074
  if (!this.bumpIf("{"))
3079
3075
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
@@ -3084,26 +3080,26 @@ var In = (
3084
3080
  if (v.err)
3085
3081
  return v;
3086
3082
  u.push([
3087
- a,
3083
+ s,
3088
3084
  {
3089
3085
  value: p.val,
3090
3086
  location: y(d, this.clonePosition())
3091
3087
  }
3092
- ]), l.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, h = o.location;
3088
+ ]), l.add(s), this.bumpSpace(), a = this.parseIdentifierIfPossible(), s = a.value, h = a.location;
3093
3089
  }
3094
- return u.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
3090
+ return u.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
3095
3091
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3096
3092
  var n = 1, i = this.clonePosition();
3097
3093
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3098
- for (var o = !1, s = 0; !this.isEOF(); ) {
3094
+ for (var a = !1, o = 0; !this.isEOF(); ) {
3099
3095
  var u = this.char();
3100
3096
  if (u >= 48 && u <= 57)
3101
- o = !0, s = s * 10 + (u - 48), this.bump();
3097
+ a = !0, o = o * 10 + (u - 48), this.bump();
3102
3098
  else
3103
3099
  break;
3104
3100
  }
3105
3101
  var l = y(i, this.clonePosition());
3106
- return o ? (s *= n, Bn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3102
+ return a ? (o *= n, Bn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3107
3103
  }, e.prototype.offset = function() {
3108
3104
  return this.position.offset;
3109
3105
  }, e.prototype.isEOF = function() {
@@ -3169,50 +3165,50 @@ var In = (
3169
3165
  }, e;
3170
3166
  }()
3171
3167
  );
3172
- function ze(e) {
3168
+ function Fe(e) {
3173
3169
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3174
3170
  }
3175
- function Cn(e) {
3176
- return ze(e) || e === 47;
3171
+ function In(e) {
3172
+ return Fe(e) || e === 47;
3177
3173
  }
3178
- function Nn(e) {
3174
+ function Cn(e) {
3179
3175
  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;
3180
3176
  }
3181
3177
  function Wt(e) {
3182
3178
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3183
3179
  }
3184
- function Ln(e) {
3180
+ function Nn(e) {
3185
3181
  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;
3186
3182
  }
3187
- function Ve(e) {
3183
+ function je(e) {
3188
3184
  e.forEach(function(t) {
3189
3185
  if (delete t.location, Rt(t) || Dt(t))
3190
3186
  for (var r in t.options)
3191
- delete t.options[r].location, Ve(t.options[r].value);
3187
+ delete t.options[r].location, je(t.options[r].value);
3192
3188
  else
3193
- Lt(t) && Gt(t.style) || (Mt(t) || $t(t)) && Ge(t.style) ? delete t.style.location : Ut(t) && Ve(t.children);
3189
+ Lt(t) && Gt(t.style) || (Mt(t) || $t(t)) && De(t.style) ? delete t.style.location : Ut(t) && je(t.children);
3194
3190
  });
3195
3191
  }
3196
- function Mn(e, t) {
3197
- t === void 0 && (t = {}), t = ye({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3198
- var r = new In(e, t).parse();
3192
+ function Ln(e, t) {
3193
+ t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3194
+ var r = new On(e, t).parse();
3199
3195
  if (r.err) {
3200
3196
  var n = SyntaxError(b[r.err.kind]);
3201
3197
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3202
3198
  }
3203
- return t != null && t.captureLocation || Ve(r.val), r.val;
3199
+ return t != null && t.captureLocation || je(r.val), r.val;
3204
3200
  }
3205
- var z;
3201
+ var j;
3206
3202
  (function(e) {
3207
3203
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3208
- })(z || (z = {}));
3209
- var we = (
3204
+ })(j || (j = {}));
3205
+ var Te = (
3210
3206
  /** @class */
3211
3207
  function(e) {
3212
- He(t, e);
3208
+ xe(t, e);
3213
3209
  function t(r, n, i) {
3214
- var o = e.call(this, r) || this;
3215
- return o.code = n, o.originalMessage = i, o;
3210
+ var a = e.call(this, r) || this;
3211
+ return a.code = n, a.originalMessage = i, a;
3216
3212
  }
3217
3213
  return t.prototype.toString = function() {
3218
3214
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
@@ -3221,72 +3217,72 @@ var we = (
3221
3217
  ), ft = (
3222
3218
  /** @class */
3223
3219
  function(e) {
3224
- He(t, e);
3225
- function t(r, n, i, o) {
3226
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
3220
+ xe(t, e);
3221
+ function t(r, n, i, a) {
3222
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, a) || this;
3227
3223
  }
3228
3224
  return t;
3229
- }(we)
3230
- ), $n = (
3225
+ }(Te)
3226
+ ), Mn = (
3231
3227
  /** @class */
3232
3228
  function(e) {
3233
- He(t, e);
3229
+ xe(t, e);
3234
3230
  function t(r, n, i) {
3235
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
3231
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
3236
3232
  }
3237
3233
  return t;
3238
- }(we)
3239
- ), Rn = (
3234
+ }(Te)
3235
+ ), $n = (
3240
3236
  /** @class */
3241
3237
  function(e) {
3242
- He(t, e);
3238
+ xe(t, e);
3243
3239
  function t(r, n) {
3244
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
3240
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
3245
3241
  }
3246
3242
  return t;
3247
- }(we)
3243
+ }(Te)
3248
3244
  ), H;
3249
3245
  (function(e) {
3250
3246
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3251
3247
  })(H || (H = {}));
3252
- function Dn(e) {
3248
+ function Rn(e) {
3253
3249
  return e.length < 2 ? e : e.reduce(function(t, r) {
3254
3250
  var n = t[t.length - 1];
3255
3251
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3256
3252
  }, []);
3257
3253
  }
3258
- function Un(e) {
3254
+ function Dn(e) {
3259
3255
  return typeof e == "function";
3260
3256
  }
3261
- function be(e, t, r, n, i, o, s) {
3262
- if (e.length === 1 && ot(e[0]))
3257
+ function pe(e, t, r, n, i, a, o) {
3258
+ if (e.length === 1 && at(e[0]))
3263
3259
  return [
3264
3260
  {
3265
3261
  type: H.literal,
3266
3262
  value: e[0].value
3267
3263
  }
3268
3264
  ];
3269
- for (var u = [], l = 0, a = e; l < a.length; l++) {
3270
- var h = a[l];
3271
- if (ot(h)) {
3265
+ for (var u = [], l = 0, s = e; l < s.length; l++) {
3266
+ var h = s[l];
3267
+ if (at(h)) {
3272
3268
  u.push({
3273
3269
  type: H.literal,
3274
3270
  value: h.value
3275
3271
  });
3276
3272
  continue;
3277
3273
  }
3278
- if (an(h)) {
3279
- typeof o == "number" && u.push({
3274
+ if (on(h)) {
3275
+ typeof a == "number" && u.push({
3280
3276
  type: H.literal,
3281
- value: r.getNumberFormat(t).format(o)
3277
+ value: r.getNumberFormat(t).format(a)
3282
3278
  });
3283
3279
  continue;
3284
3280
  }
3285
3281
  var f = h.value;
3286
3282
  if (!(i && f in i))
3287
- throw new Rn(f, s);
3283
+ throw new $n(f, o);
3288
3284
  var m = i[f];
3289
- if (sn(h)) {
3285
+ if (an(h)) {
3290
3286
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), u.push({
3291
3287
  type: typeof m == "string" ? H.literal : H.object,
3292
3288
  value: m
@@ -3294,7 +3290,7 @@ function be(e, t, r, n, i, o, s) {
3294
3290
  continue;
3295
3291
  }
3296
3292
  if (Mt(h)) {
3297
- var d = typeof h.style == "string" ? n.date[h.style] : Ge(h.style) ? h.style.parsedOptions : void 0;
3293
+ var d = typeof h.style == "string" ? n.date[h.style] : De(h.style) ? h.style.parsedOptions : void 0;
3298
3294
  u.push({
3299
3295
  type: H.literal,
3300
3296
  value: r.getDateTimeFormat(t, d).format(m)
@@ -3302,7 +3298,7 @@ function be(e, t, r, n, i, o, s) {
3302
3298
  continue;
3303
3299
  }
3304
3300
  if ($t(h)) {
3305
- var d = typeof h.style == "string" ? n.time[h.style] : Ge(h.style) ? h.style.parsedOptions : n.time.medium;
3301
+ var d = typeof h.style == "string" ? n.time[h.style] : De(h.style) ? h.style.parsedOptions : n.time.medium;
3306
3302
  u.push({
3307
3303
  type: H.literal,
3308
3304
  value: r.getDateTimeFormat(t, d).format(m)
@@ -3319,54 +3315,54 @@ function be(e, t, r, n, i, o, s) {
3319
3315
  }
3320
3316
  if (Ut(h)) {
3321
3317
  var p = h.children, v = h.value, T = i[v];
3322
- if (!Un(T))
3323
- throw new $n(v, "function", s);
3324
- var x = be(p, t, r, n, i, o), c = T(x.map(function(L) {
3325
- return L.value;
3318
+ if (!Dn(T))
3319
+ throw new Mn(v, "function", o);
3320
+ var x = pe(p, t, r, n, i, a), c = T(x.map(function(N) {
3321
+ return N.value;
3326
3322
  }));
3327
- Array.isArray(c) || (c = [c]), u.push.apply(u, c.map(function(L) {
3323
+ Array.isArray(c) || (c = [c]), u.push.apply(u, c.map(function(N) {
3328
3324
  return {
3329
- type: typeof L == "string" ? H.literal : H.object,
3330
- value: L
3325
+ type: typeof N == "string" ? H.literal : H.object,
3326
+ value: N
3331
3327
  };
3332
3328
  }));
3333
3329
  }
3334
3330
  if (Rt(h)) {
3335
3331
  var g = h.options[m] || h.options.other;
3336
3332
  if (!g)
3337
- throw new ft(h.value, m, Object.keys(h.options), s);
3338
- u.push.apply(u, be(g.value, t, r, n, i));
3333
+ throw new ft(h.value, m, Object.keys(h.options), o);
3334
+ u.push.apply(u, pe(g.value, t, r, n, i));
3339
3335
  continue;
3340
3336
  }
3341
3337
  if (Dt(h)) {
3342
3338
  var g = h.options["=".concat(m)];
3343
3339
  if (!g) {
3344
3340
  if (!Intl.PluralRules)
3345
- throw new we(`Intl.PluralRules is not available in this environment.
3341
+ throw new Te(`Intl.PluralRules is not available in this environment.
3346
3342
  Try polyfilling it using "@formatjs/intl-pluralrules"
3347
- `, z.MISSING_INTL_API, s);
3348
- var P = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3349
- g = h.options[P] || h.options.other;
3343
+ `, j.MISSING_INTL_API, o);
3344
+ var A = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3345
+ g = h.options[A] || h.options.other;
3350
3346
  }
3351
3347
  if (!g)
3352
- throw new ft(h.value, m, Object.keys(h.options), s);
3353
- u.push.apply(u, be(g.value, t, r, n, i, m - (h.offset || 0)));
3348
+ throw new ft(h.value, m, Object.keys(h.options), o);
3349
+ u.push.apply(u, pe(g.value, t, r, n, i, m - (h.offset || 0)));
3354
3350
  continue;
3355
3351
  }
3356
3352
  }
3357
- return Dn(u);
3353
+ return Rn(u);
3358
3354
  }
3359
- function Gn(e, t) {
3360
- return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3361
- return r[n] = S(S({}, e[n]), t[n] || {}), r;
3355
+ function Un(e, t) {
3356
+ return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3357
+ return r[n] = _(_({}, e[n]), t[n] || {}), r;
3362
3358
  }, {})) : e;
3363
3359
  }
3364
- function kn(e, t) {
3360
+ function Gn(e, t) {
3365
3361
  return t ? Object.keys(e).reduce(function(r, n) {
3366
- return r[n] = Gn(e[n], t[n]), r;
3367
- }, S({}, e)) : e;
3362
+ return r[n] = Un(e[n], t[n]), r;
3363
+ }, _({}, e)) : e;
3368
3364
  }
3369
- function Le(e) {
3365
+ function Ce(e) {
3370
3366
  return {
3371
3367
  create: function() {
3372
3368
  return {
@@ -3380,35 +3376,35 @@ function Le(e) {
3380
3376
  }
3381
3377
  };
3382
3378
  }
3383
- function Fn(e) {
3379
+ function kn(e) {
3384
3380
  return e === void 0 && (e = {
3385
3381
  number: {},
3386
3382
  dateTime: {},
3387
3383
  pluralRules: {}
3388
3384
  }), {
3389
- getNumberFormat: Ie(function() {
3385
+ getNumberFormat: Pe(function() {
3390
3386
  for (var t, r = [], n = 0; n < arguments.length; n++)
3391
3387
  r[n] = arguments[n];
3392
- return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
3388
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3393
3389
  }, {
3394
- cache: Le(e.number),
3395
- strategy: Ce.variadic
3390
+ cache: Ce(e.number),
3391
+ strategy: Oe.variadic
3396
3392
  }),
3397
- getDateTimeFormat: Ie(function() {
3393
+ getDateTimeFormat: Pe(function() {
3398
3394
  for (var t, r = [], n = 0; n < arguments.length; n++)
3399
3395
  r[n] = arguments[n];
3400
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
3396
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3401
3397
  }, {
3402
- cache: Le(e.dateTime),
3403
- strategy: Ce.variadic
3398
+ cache: Ce(e.dateTime),
3399
+ strategy: Oe.variadic
3404
3400
  }),
3405
- getPluralRules: Ie(function() {
3401
+ getPluralRules: Pe(function() {
3406
3402
  for (var t, r = [], n = 0; n < arguments.length; n++)
3407
3403
  r[n] = arguments[n];
3408
- return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
3404
+ return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3409
3405
  }, {
3410
- cache: Le(e.pluralRules),
3411
- strategy: Ce.variadic
3406
+ cache: Ce(e.pluralRules),
3407
+ strategy: Oe.variadic
3412
3408
  })
3413
3409
  };
3414
3410
  }
@@ -3417,40 +3413,40 @@ var Zt = (
3417
3413
  function() {
3418
3414
  function e(t, r, n, i) {
3419
3415
  r === void 0 && (r = e.defaultLocale);
3420
- var o = this;
3416
+ var a = this;
3421
3417
  if (this.formatterCache = {
3422
3418
  number: {},
3423
3419
  dateTime: {},
3424
3420
  pluralRules: {}
3425
3421
  }, this.format = function(l) {
3426
- var a = o.formatToParts(l);
3427
- if (a.length === 1)
3428
- return a[0].value;
3429
- var h = a.reduce(function(f, m) {
3422
+ var s = a.formatToParts(l);
3423
+ if (s.length === 1)
3424
+ return s[0].value;
3425
+ var h = s.reduce(function(f, m) {
3430
3426
  return !f.length || m.type !== H.literal || typeof f[f.length - 1] != "string" ? f.push(m.value) : f[f.length - 1] += m.value, f;
3431
3427
  }, []);
3432
3428
  return h.length <= 1 ? h[0] || "" : h;
3433
3429
  }, this.formatToParts = function(l) {
3434
- return be(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3430
+ return pe(a.ast, a.locales, a.formatters, a.formats, l, void 0, a.message);
3435
3431
  }, this.resolvedOptions = function() {
3436
3432
  var l;
3437
3433
  return {
3438
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3434
+ locale: ((l = a.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(a.locales)[0]
3439
3435
  };
3440
3436
  }, this.getAst = function() {
3441
- return o.ast;
3437
+ return a.ast;
3442
3438
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3443
3439
  if (this.message = t, !e.__parse)
3444
3440
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3445
- var s = i || {};
3446
- s.formatters;
3447
- var u = Qr(s, ["formatters"]);
3448
- this.ast = e.__parse(t, S(S({}, u), { locale: this.resolvedLocale }));
3441
+ var o = i || {};
3442
+ o.formatters;
3443
+ var u = Qr(o, ["formatters"]);
3444
+ this.ast = e.__parse(t, _(_({}, u), { locale: this.resolvedLocale }));
3449
3445
  } else
3450
3446
  this.ast = t;
3451
3447
  if (!Array.isArray(this.ast))
3452
3448
  throw new TypeError("A message must be provided as a String or AST.");
3453
- this.formats = kn(e.formats, n), this.formatters = i && i.formatters || Fn(this.formatterCache);
3449
+ this.formats = Gn(e.formats, n), this.formatters = i && i.formatters || kn(this.formatterCache);
3454
3450
  }
3455
3451
  return Object.defineProperty(e, "defaultLocale", {
3456
3452
  get: function() {
@@ -3463,7 +3459,7 @@ var Zt = (
3463
3459
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3464
3460
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3465
3461
  }
3466
- }, e.__parse = Mn, e.formats = {
3462
+ }, e.__parse = Ln, e.formats = {
3467
3463
  number: {
3468
3464
  integer: {
3469
3465
  maximumFractionDigits: 0
@@ -3524,7 +3520,7 @@ var Zt = (
3524
3520
  }, e;
3525
3521
  }()
3526
3522
  );
3527
- function jn(e, t) {
3523
+ function Fn(e, t) {
3528
3524
  if (t == null)
3529
3525
  return;
3530
3526
  if (t in e)
@@ -3534,9 +3530,9 @@ function jn(e, t) {
3534
3530
  for (let i = 0; i < r.length; i++)
3535
3531
  if (typeof n == "object") {
3536
3532
  if (i > 0) {
3537
- const o = r.slice(i, r.length).join(".");
3538
- if (o in n) {
3539
- n = n[o];
3533
+ const a = r.slice(i, r.length).join(".");
3534
+ if (a in n) {
3535
+ n = n[a];
3540
3536
  break;
3541
3537
  }
3542
3538
  }
@@ -3545,36 +3541,36 @@ function jn(e, t) {
3545
3541
  n = void 0;
3546
3542
  return n;
3547
3543
  }
3548
- const I = {}, zn = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), Jt = (e, t) => {
3544
+ const O = {}, jn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Jt = (e, t) => {
3549
3545
  if (t == null)
3550
3546
  return;
3551
- if (t in I && e in I[t])
3552
- return I[t][e];
3553
- const r = ie(t);
3547
+ if (t in O && e in O[t])
3548
+ return O[t][e];
3549
+ const r = ne(t);
3554
3550
  for (let n = 0; n < r.length; n++) {
3555
- const i = r[n], o = Xn(i, e);
3556
- if (o)
3557
- return zn(e, t, o);
3551
+ const i = r[n], a = Vn(i, e);
3552
+ if (a)
3553
+ return jn(e, t, a);
3558
3554
  }
3559
3555
  };
3560
3556
  let Ze;
3561
- const ne = Te({});
3562
- function Vn(e) {
3557
+ const re = ve({});
3558
+ function zn(e) {
3563
3559
  return Ze[e] || null;
3564
3560
  }
3565
3561
  function qt(e) {
3566
3562
  return e in Ze;
3567
3563
  }
3568
- function Xn(e, t) {
3564
+ function Vn(e, t) {
3569
3565
  if (!qt(e))
3570
3566
  return null;
3571
- const r = Vn(e);
3572
- return jn(r, t);
3567
+ const r = zn(e);
3568
+ return Fn(r, t);
3573
3569
  }
3574
- function Wn(e) {
3570
+ function Xn(e) {
3575
3571
  if (e == null)
3576
3572
  return;
3577
- const t = ie(e);
3573
+ const t = ne(e);
3578
3574
  for (let r = 0; r < t.length; r++) {
3579
3575
  const n = t[r];
3580
3576
  if (qt(n))
@@ -3582,64 +3578,64 @@ function Wn(e) {
3582
3578
  }
3583
3579
  }
3584
3580
  function Qt(e, ...t) {
3585
- delete I[e], ne.update((r) => (r[e] = qr.all([r[e] || {}, ...t]), r));
3581
+ delete O[e], re.update((r) => (r[e] = qr.all([r[e] || {}, ...t]), r));
3586
3582
  }
3587
- W(
3588
- [ne],
3583
+ X(
3584
+ [re],
3589
3585
  ([e]) => Object.keys(e)
3590
3586
  );
3591
- ne.subscribe((e) => Ze = e);
3592
- const ge = {};
3593
- function Zn(e, t) {
3594
- ge[e].delete(t), ge[e].size === 0 && delete ge[e];
3587
+ re.subscribe((e) => Ze = e);
3588
+ const be = {};
3589
+ function Wn(e, t) {
3590
+ be[e].delete(t), be[e].size === 0 && delete be[e];
3595
3591
  }
3596
3592
  function Yt(e) {
3597
- return ge[e];
3593
+ return be[e];
3598
3594
  }
3599
- function Jn(e) {
3600
- return ie(e).map((t) => {
3595
+ function Zn(e) {
3596
+ return ne(e).map((t) => {
3601
3597
  const r = Yt(t);
3602
3598
  return [t, r ? [...r] : []];
3603
3599
  }).filter(([, t]) => t.length > 0);
3604
3600
  }
3605
- function _e(e) {
3606
- return e == null ? !1 : ie(e).some(
3601
+ function ge(e) {
3602
+ return e == null ? !1 : ne(e).some(
3607
3603
  (t) => {
3608
3604
  var r;
3609
3605
  return (r = Yt(t)) == null ? void 0 : r.size;
3610
3606
  }
3611
3607
  );
3612
3608
  }
3613
- function qn(e, t) {
3609
+ function Jn(e, t) {
3614
3610
  return Promise.all(
3615
- t.map((n) => (Zn(e, n), n().then((i) => i.default || i)))
3611
+ t.map((n) => (Wn(e, n), n().then((i) => i.default || i)))
3616
3612
  ).then((n) => Qt(e, ...n));
3617
3613
  }
3618
- const J = {};
3614
+ const Z = {};
3619
3615
  function Kt(e) {
3620
- if (!_e(e))
3621
- return e in J ? J[e] : Promise.resolve();
3622
- const t = Jn(e);
3623
- return J[e] = Promise.all(
3616
+ if (!ge(e))
3617
+ return e in Z ? Z[e] : Promise.resolve();
3618
+ const t = Zn(e);
3619
+ return Z[e] = Promise.all(
3624
3620
  t.map(
3625
- ([r, n]) => qn(r, n)
3621
+ ([r, n]) => Jn(r, n)
3626
3622
  )
3627
3623
  ).then(() => {
3628
- if (_e(e))
3624
+ if (ge(e))
3629
3625
  return Kt(e);
3630
- delete J[e];
3631
- }), J[e];
3626
+ delete Z[e];
3627
+ }), Z[e];
3632
3628
  }
3633
- var mt = Object.getOwnPropertySymbols, Qn = Object.prototype.hasOwnProperty, Yn = Object.prototype.propertyIsEnumerable, Kn = (e, t) => {
3629
+ var mt = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, Yn = (e, t) => {
3634
3630
  var r = {};
3635
3631
  for (var n in e)
3636
- Qn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3632
+ qn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3637
3633
  if (e != null && mt)
3638
3634
  for (var n of mt(e))
3639
- t.indexOf(n) < 0 && Yn.call(e, n) && (r[n] = e[n]);
3635
+ t.indexOf(n) < 0 && Qn.call(e, n) && (r[n] = e[n]);
3640
3636
  return r;
3641
3637
  };
3642
- const ei = {
3638
+ const Kn = {
3643
3639
  number: {
3644
3640
  scientific: { notation: "scientific" },
3645
3641
  engineering: { notation: "engineering" },
@@ -3669,174 +3665,174 @@ const ei = {
3669
3665
  }
3670
3666
  }
3671
3667
  };
3672
- function ti({ locale: e, id: t }) {
3668
+ function ei({ locale: e, id: t }) {
3673
3669
  console.warn(
3674
- `[svelte-i18n] The message "${t}" was not found in "${ie(
3670
+ `[svelte-i18n] The message "${t}" was not found in "${ne(
3675
3671
  e
3676
- ).join('", "')}".${_e(N()) ? `
3672
+ ).join('", "')}".${ge(C()) ? `
3677
3673
 
3678
3674
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3679
3675
  );
3680
3676
  }
3681
- const ri = {
3677
+ const ti = {
3682
3678
  fallbackLocale: null,
3683
3679
  loadingDelay: 200,
3684
- formats: ei,
3680
+ formats: Kn,
3685
3681
  warnOnMissingMessages: !0,
3686
3682
  handleMissingMessage: void 0,
3687
3683
  ignoreTag: !0
3688
- }, Q = ri;
3689
- function V() {
3690
- return Q;
3684
+ }, q = ti;
3685
+ function z() {
3686
+ return q;
3691
3687
  }
3692
- function ni(e) {
3693
- const t = e, { formats: r } = t, n = Kn(t, ["formats"]);
3688
+ function ri(e) {
3689
+ const t = e, { formats: r } = t, n = Yn(t, ["formats"]);
3694
3690
  let i = e.fallbackLocale;
3695
3691
  if (e.initialLocale)
3696
3692
  try {
3697
3693
  Zt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3698
- } catch (o) {
3694
+ } catch (a) {
3699
3695
  console.warn(
3700
3696
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3701
3697
  );
3702
3698
  }
3703
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ti : console.warn(
3699
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ei : console.warn(
3704
3700
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3705
- )), Object.assign(Q, n, { initialLocale: i }), r && ("number" in r && Object.assign(Q.formats.number, r.number), "date" in r && Object.assign(Q.formats.date, r.date), "time" in r && Object.assign(Q.formats.time, r.time)), $.set(i);
3701
+ )), Object.assign(q, n, { initialLocale: i }), r && ("number" in r && Object.assign(q.formats.number, r.number), "date" in r && Object.assign(q.formats.date, r.date), "time" in r && Object.assign(q.formats.time, r.time)), M.set(i);
3706
3702
  }
3707
- const Me = Te(!1);
3708
- var ii = Object.defineProperty, oi = Object.defineProperties, si = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, ai = Object.prototype.hasOwnProperty, ui = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, li = (e, t) => {
3703
+ const Ne = ve(!1);
3704
+ var ni = Object.defineProperty, ii = Object.defineProperties, ai = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, oi = Object.prototype.hasOwnProperty, si = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ui = (e, t) => {
3709
3705
  for (var r in t || (t = {}))
3710
- ai.call(t, r) && pt(e, r, t[r]);
3706
+ oi.call(t, r) && pt(e, r, t[r]);
3711
3707
  if (dt)
3712
3708
  for (var r of dt(t))
3713
- ui.call(t, r) && pt(e, r, t[r]);
3709
+ si.call(t, r) && pt(e, r, t[r]);
3714
3710
  return e;
3715
- }, hi = (e, t) => oi(e, si(t));
3716
- let Xe;
3717
- const Ee = Te(null);
3711
+ }, li = (e, t) => ii(e, ai(t));
3712
+ let ze;
3713
+ const ye = ve(null);
3718
3714
  function bt(e) {
3719
3715
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3720
3716
  }
3721
- function ie(e, t = V().fallbackLocale) {
3717
+ function ne(e, t = z().fallbackLocale) {
3722
3718
  const r = bt(e);
3723
3719
  return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
3724
3720
  }
3725
- function N() {
3726
- return Xe != null ? Xe : void 0;
3721
+ function C() {
3722
+ return ze != null ? ze : void 0;
3727
3723
  }
3728
- Ee.subscribe((e) => {
3729
- Xe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3724
+ ye.subscribe((e) => {
3725
+ ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3730
3726
  });
3731
- const ci = (e) => {
3732
- if (e && Wn(e) && _e(e)) {
3733
- const { loadingDelay: t } = V();
3727
+ const hi = (e) => {
3728
+ if (e && Xn(e) && ge(e)) {
3729
+ const { loadingDelay: t } = z();
3734
3730
  let r;
3735
- return typeof window != "undefined" && N() != null && t ? r = window.setTimeout(
3736
- () => Me.set(!0),
3731
+ return typeof window != "undefined" && C() != null && t ? r = window.setTimeout(
3732
+ () => Ne.set(!0),
3737
3733
  t
3738
- ) : Me.set(!0), Kt(e).then(() => {
3739
- Ee.set(e);
3734
+ ) : Ne.set(!0), Kt(e).then(() => {
3735
+ ye.set(e);
3740
3736
  }).finally(() => {
3741
- clearTimeout(r), Me.set(!1);
3737
+ clearTimeout(r), Ne.set(!1);
3742
3738
  });
3743
3739
  }
3744
- return Ee.set(e);
3745
- }, $ = hi(li({}, Ee), {
3746
- set: ci
3747
- }), Se = (e) => {
3740
+ return ye.set(e);
3741
+ }, M = li(ui({}, ye), {
3742
+ set: hi
3743
+ }), He = (e) => {
3748
3744
  const t = /* @__PURE__ */ Object.create(null);
3749
3745
  return (n) => {
3750
3746
  const i = JSON.stringify(n);
3751
3747
  return i in t ? t[i] : t[i] = e(n);
3752
3748
  };
3753
3749
  };
3754
- var fi = Object.defineProperty, ve = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
3750
+ var ci = Object.defineProperty, _e = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
3755
3751
  for (var r in t || (t = {}))
3756
3752
  er.call(t, r) && gt(e, r, t[r]);
3757
- if (ve)
3758
- for (var r of ve(t))
3753
+ if (_e)
3754
+ for (var r of _e(t))
3759
3755
  tr.call(t, r) && gt(e, r, t[r]);
3760
3756
  return e;
3761
- }, Z = (e, t) => {
3757
+ }, W = (e, t) => {
3762
3758
  var r = {};
3763
3759
  for (var n in e)
3764
3760
  er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3765
- if (e != null && ve)
3766
- for (var n of ve(e))
3761
+ if (e != null && _e)
3762
+ for (var n of _e(e))
3767
3763
  t.indexOf(n) < 0 && tr.call(e, n) && (r[n] = e[n]);
3768
3764
  return r;
3769
3765
  };
3770
- const te = (e, t) => {
3771
- const { formats: r } = V();
3766
+ const ee = (e, t) => {
3767
+ const { formats: r } = z();
3772
3768
  if (e in r && t in r[e])
3773
3769
  return r[e][t];
3774
3770
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3775
- }, mi = Se(
3771
+ }, fi = He(
3776
3772
  (e) => {
3777
- var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3773
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3778
3774
  if (r == null)
3779
3775
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3780
- return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
3776
+ return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
3781
3777
  }
3782
- ), di = Se(
3778
+ ), mi = He(
3783
3779
  (e) => {
3784
- var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3780
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3785
3781
  if (r == null)
3786
3782
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3787
- return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
3783
+ return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
3788
3784
  }
3789
- ), pi = Se(
3785
+ ), di = He(
3790
3786
  (e) => {
3791
- var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3787
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3792
3788
  if (r == null)
3793
3789
  throw new Error(
3794
3790
  '[svelte-i18n] A "locale" must be set to format time values'
3795
3791
  );
3796
- return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
3792
+ return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
3797
3793
  }
3798
- ), bi = (e = {}) => {
3794
+ ), pi = (e = {}) => {
3799
3795
  var t = e, {
3800
- locale: r = N()
3801
- } = t, n = Z(t, [
3796
+ locale: r = C()
3797
+ } = t, n = W(t, [
3802
3798
  "locale"
3803
3799
  ]);
3804
- return mi(Je({ locale: r }, n));
3805
- }, gi = (e = {}) => {
3800
+ return fi(Je({ locale: r }, n));
3801
+ }, bi = (e = {}) => {
3806
3802
  var t = e, {
3807
- locale: r = N()
3808
- } = t, n = Z(t, [
3803
+ locale: r = C()
3804
+ } = t, n = W(t, [
3809
3805
  "locale"
3810
3806
  ]);
3811
- return di(Je({ locale: r }, n));
3812
- }, yi = (e = {}) => {
3807
+ return mi(Je({ locale: r }, n));
3808
+ }, gi = (e = {}) => {
3813
3809
  var t = e, {
3814
- locale: r = N()
3815
- } = t, n = Z(t, [
3810
+ locale: r = C()
3811
+ } = t, n = W(t, [
3816
3812
  "locale"
3817
3813
  ]);
3818
- return pi(Je({ locale: r }, n));
3819
- }, _i = Se(
3814
+ return di(Je({ locale: r }, n));
3815
+ }, yi = He(
3820
3816
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3821
- (e, t = N()) => new Zt(e, t, V().formats, {
3822
- ignoreTag: V().ignoreTag
3817
+ (e, t = C()) => new Zt(e, t, z().formats, {
3818
+ ignoreTag: z().ignoreTag
3823
3819
  })
3824
- ), Ei = (e, t = {}) => {
3825
- var r, n, i, o;
3826
- let s = t;
3827
- typeof e == "object" && (s = e, e = s.id);
3820
+ ), _i = (e, t = {}) => {
3821
+ var r, n, i, a;
3822
+ let o = t;
3823
+ typeof e == "object" && (o = e, e = o.id);
3828
3824
  const {
3829
3825
  values: u,
3830
- locale: l = N(),
3831
- default: a
3832
- } = s;
3826
+ locale: l = C(),
3827
+ default: s
3828
+ } = o;
3833
3829
  if (l == null)
3834
3830
  throw new Error(
3835
3831
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3836
3832
  );
3837
3833
  let h = Jt(e, l);
3838
3834
  if (!h)
3839
- h = (o = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
3835
+ h = (a = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: s })) != null ? i : s) != null ? a : e;
3840
3836
  else if (typeof h != "string")
3841
3837
  return console.warn(
3842
3838
  `[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.`
@@ -3845,7 +3841,7 @@ const te = (e, t) => {
3845
3841
  return h;
3846
3842
  let f = h;
3847
3843
  try {
3848
- f = _i(h, l).format(u);
3844
+ f = yi(h, l).format(u);
3849
3845
  } catch (m) {
3850
3846
  m instanceof Error && console.warn(
3851
3847
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3853,18 +3849,18 @@ const te = (e, t) => {
3853
3849
  );
3854
3850
  }
3855
3851
  return f;
3856
- }, vi = (e, t) => yi(t).format(e), xi = (e, t) => gi(t).format(e), Ti = (e, t) => bi(t).format(e), Hi = (e, t = N()) => Jt(e, t), wi = W([$, ne], () => Ei);
3857
- W([$], () => vi);
3858
- W([$], () => xi);
3859
- W([$], () => Ti);
3860
- W([$, ne], () => Hi);
3852
+ }, Ei = (e, t) => gi(t).format(e), vi = (e, t) => bi(t).format(e), xi = (e, t) => pi(t).format(e), Ti = (e, t = C()) => Jt(e, t), Hi = X([M, re], () => _i);
3853
+ X([M], () => Ei);
3854
+ X([M], () => vi);
3855
+ X([M], () => xi);
3856
+ X([M, re], () => Ti);
3861
3857
  function yt(e, t) {
3862
3858
  Qt(e, t);
3863
3859
  }
3864
- function Si(e) {
3865
- ni({
3860
+ function wi(e) {
3861
+ ri({
3866
3862
  fallbackLocale: "en"
3867
- }), $.set(e);
3863
+ }), M.set(e);
3868
3864
  }
3869
3865
  const _t = {
3870
3866
  en: {
@@ -3923,28 +3919,28 @@ const _t = {
3923
3919
  function Bi(e) {
3924
3920
  hr(e, "svelte-m958fw", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}");
3925
3921
  }
3926
- const Ai = (e) => ({}), Et = (e) => ({}), Pi = (e) => ({}), vt = (e) => ({}), Oi = (e) => ({}), xt = (e) => ({}), Ii = (e) => ({}), Tt = (e) => ({ class: "CashierErrorIcon" });
3922
+ const Si = (e) => ({}), Et = (e) => ({}), Ai = (e) => ({}), vt = (e) => ({}), Pi = (e) => ({}), xt = (e) => ({}), Oi = (e) => ({}), Tt = (e) => ({ class: "CashierErrorIcon" });
3927
3923
  function Ht(e) {
3928
3924
  let t, r;
3929
3925
  return {
3930
3926
  c() {
3931
- t = C("ui-image"), rt(t.src, r = `${/*assetsurl*/
3932
- e[0]}/error-general-icon.png`) || ce(t, "src", r), ce(t, "width", "300px"), ce(t, "alt", "error");
3927
+ t = I("ui-image"), rt(t.src, r = `${/*assetsurl*/
3928
+ e[0]}/error-general-icon.png`) || he(t, "src", r), he(t, "width", "300px"), he(t, "alt", "error");
3933
3929
  },
3934
3930
  m(n, i) {
3935
- X(n, t, i);
3931
+ V(n, t, i);
3936
3932
  },
3937
3933
  p(n, i) {
3938
3934
  i & /*assetsurl*/
3939
3935
  1 && !rt(t.src, r = `${/*assetsurl*/
3940
- n[0]}/error-general-icon.png`) && ce(t, "src", r);
3936
+ n[0]}/error-general-icon.png`) && he(t, "src", r);
3941
3937
  },
3942
3938
  d(n) {
3943
- n && M(t);
3939
+ n && L(t);
3944
3940
  }
3945
3941
  };
3946
3942
  }
3947
- function Ci(e) {
3943
+ function Ii(e) {
3948
3944
  let t, r = (
3949
3945
  /*assetsurl*/
3950
3946
  e[0] && Ht(e)
@@ -3954,18 +3950,18 @@ function Ci(e) {
3954
3950
  r && r.c(), t = mr();
3955
3951
  },
3956
3952
  m(n, i) {
3957
- r && r.m(n, i), X(n, t, i);
3953
+ r && r.m(n, i), V(n, t, i);
3958
3954
  },
3959
3955
  p(n, i) {
3960
3956
  /*assetsurl*/
3961
3957
  n[0] ? r ? r.p(n, i) : (r = Ht(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3962
3958
  },
3963
3959
  d(n) {
3964
- n && M(t), r && r.d(n);
3960
+ n && L(t), r && r.d(n);
3965
3961
  }
3966
3962
  };
3967
3963
  }
3968
- function Ni(e) {
3964
+ function Ci(e) {
3969
3965
  let t, r = (
3970
3966
  /*$_*/
3971
3967
  e[3](`${/*errorcode*/
@@ -3973,38 +3969,38 @@ function Ni(e) {
3973
3969
  ), n;
3974
3970
  return {
3975
3971
  c() {
3976
- t = C("span"), n = xe(r), k(t, "class", "CashierErrorText");
3972
+ t = I("span"), n = Ee(r), G(t, "class", "CashierErrorText");
3977
3973
  },
3978
- m(i, o) {
3979
- X(i, t, o), O(t, n);
3974
+ m(i, a) {
3975
+ V(i, t, a), P(t, n);
3980
3976
  },
3981
- p(i, o) {
3982
- o & /*$_, errorcode*/
3977
+ p(i, a) {
3978
+ a & /*$_, errorcode*/
3983
3979
  10 && r !== (r = /*$_*/
3984
3980
  i[3](`${/*errorcode*/
3985
3981
  i[1] || "errorGeneralText"}`) + "") && Pt(n, r);
3986
3982
  },
3987
3983
  d(i) {
3988
- i && M(t);
3984
+ i && L(t);
3989
3985
  }
3990
3986
  };
3991
3987
  }
3992
- function Li(e) {
3988
+ function Ni(e) {
3993
3989
  let t, r, n = (
3994
3990
  /*$_*/
3995
3991
  e[3]("errorGeneralButton") + ""
3996
- ), i, o, s;
3992
+ ), i, a, o;
3997
3993
  return {
3998
3994
  c() {
3999
- t = C("button"), r = C("span"), i = xe(n), k(t, "class", "CashierErrorButton");
3995
+ t = I("button"), r = I("span"), i = Ee(n), G(t, "class", "CashierErrorButton");
4000
3996
  },
4001
3997
  m(u, l) {
4002
- X(u, t, l), O(t, r), O(r, i), o || (s = dr(
3998
+ V(u, t, l), P(t, r), P(r, i), a || (o = dr(
4003
3999
  t,
4004
4000
  "click",
4005
4001
  /*close*/
4006
4002
  e[4]
4007
- ), o = !0);
4003
+ ), a = !0);
4008
4004
  },
4009
4005
  p(u, l) {
4010
4006
  l & /*$_*/
@@ -4012,25 +4008,25 @@ function Li(e) {
4012
4008
  u[3]("errorGeneralButton") + "") && Pt(i, n);
4013
4009
  },
4014
4010
  d(u) {
4015
- u && M(t), o = !1, s();
4011
+ u && L(t), a = !1, o();
4016
4012
  }
4017
4013
  };
4018
4014
  }
4019
- function Mi(e) {
4020
- let t, r, n, i, o, s;
4015
+ function Li(e) {
4016
+ let t, r, n, i, a, o;
4021
4017
  const u = (
4022
4018
  /*#slots*/
4023
4019
  e[11].icon
4024
- ), l = ae(
4020
+ ), l = oe(
4025
4021
  u,
4026
4022
  e,
4027
4023
  /*$$scope*/
4028
4024
  e[10],
4029
4025
  Tt
4030
- ), a = l || Ci(e), h = (
4026
+ ), s = l || Ii(e), h = (
4031
4027
  /*#slots*/
4032
4028
  e[11].title
4033
- ), f = ae(
4029
+ ), f = oe(
4034
4030
  h,
4035
4031
  e,
4036
4032
  /*$$scope*/
@@ -4039,128 +4035,128 @@ function Mi(e) {
4039
4035
  ), m = (
4040
4036
  /*#slots*/
4041
4037
  e[11].text
4042
- ), d = ae(
4038
+ ), d = oe(
4043
4039
  m,
4044
4040
  e,
4045
4041
  /*$$scope*/
4046
4042
  e[10],
4047
4043
  vt
4048
- ), p = d || Ni(e), v = (
4044
+ ), p = d || Ci(e), v = (
4049
4045
  /*#slots*/
4050
4046
  e[11].button
4051
- ), T = ae(
4047
+ ), T = oe(
4052
4048
  v,
4053
4049
  e,
4054
4050
  /*$$scope*/
4055
4051
  e[10],
4056
4052
  Et
4057
- ), x = T || Li(e);
4053
+ ), x = T || Ni(e);
4058
4054
  return {
4059
4055
  c() {
4060
- t = C("div"), r = C("div"), a && a.c(), n = Ae(), f && f.c(), i = Ae(), p && p.c(), o = Ae(), x && x.c(), k(r, "class", "CashierErrorContent"), k(t, "class", "CashierError");
4056
+ t = I("div"), r = I("div"), s && s.c(), n = Be(), f && f.c(), i = Be(), p && p.c(), a = Be(), x && x.c(), G(r, "class", "CashierErrorContent"), G(t, "class", "CashierError");
4061
4057
  },
4062
4058
  m(c, g) {
4063
- X(c, t, g), O(t, r), a && a.m(r, null), O(r, n), f && f.m(r, null), O(r, i), p && p.m(r, null), O(r, o), x && x.m(r, null), e[12](t), s = !0;
4059
+ V(c, t, g), P(t, r), s && s.m(r, null), P(r, n), f && f.m(r, null), P(r, i), p && p.m(r, null), P(r, a), x && x.m(r, null), e[12](t), o = !0;
4064
4060
  },
4065
4061
  p(c, [g]) {
4066
- l ? l.p && (!s || g & /*$$scope*/
4067
- 1024) && le(
4062
+ l ? l.p && (!o || g & /*$$scope*/
4063
+ 1024) && ue(
4068
4064
  l,
4069
4065
  u,
4070
4066
  c,
4071
4067
  /*$$scope*/
4072
4068
  c[10],
4073
- s ? ue(
4069
+ o ? se(
4074
4070
  u,
4075
4071
  /*$$scope*/
4076
4072
  c[10],
4077
4073
  g,
4078
- Ii
4079
- ) : he(
4074
+ Oi
4075
+ ) : le(
4080
4076
  /*$$scope*/
4081
4077
  c[10]
4082
4078
  ),
4083
4079
  Tt
4084
- ) : a && a.p && (!s || g & /*assetsurl*/
4085
- 1) && a.p(c, s ? g : -1), f && f.p && (!s || g & /*$$scope*/
4086
- 1024) && le(
4080
+ ) : s && s.p && (!o || g & /*assetsurl*/
4081
+ 1) && s.p(c, o ? g : -1), f && f.p && (!o || g & /*$$scope*/
4082
+ 1024) && ue(
4087
4083
  f,
4088
4084
  h,
4089
4085
  c,
4090
4086
  /*$$scope*/
4091
4087
  c[10],
4092
- s ? ue(
4088
+ o ? se(
4093
4089
  h,
4094
4090
  /*$$scope*/
4095
4091
  c[10],
4096
4092
  g,
4097
- Oi
4098
- ) : he(
4093
+ Pi
4094
+ ) : le(
4099
4095
  /*$$scope*/
4100
4096
  c[10]
4101
4097
  ),
4102
4098
  xt
4103
- ), d ? d.p && (!s || g & /*$$scope*/
4104
- 1024) && le(
4099
+ ), d ? d.p && (!o || g & /*$$scope*/
4100
+ 1024) && ue(
4105
4101
  d,
4106
4102
  m,
4107
4103
  c,
4108
4104
  /*$$scope*/
4109
4105
  c[10],
4110
- s ? ue(
4106
+ o ? se(
4111
4107
  m,
4112
4108
  /*$$scope*/
4113
4109
  c[10],
4114
4110
  g,
4115
- Pi
4116
- ) : he(
4111
+ Ai
4112
+ ) : le(
4117
4113
  /*$$scope*/
4118
4114
  c[10]
4119
4115
  ),
4120
4116
  vt
4121
- ) : p && p.p && (!s || g & /*$_, errorcode*/
4122
- 10) && p.p(c, s ? g : -1), T ? T.p && (!s || g & /*$$scope*/
4123
- 1024) && le(
4117
+ ) : p && p.p && (!o || g & /*$_, errorcode*/
4118
+ 10) && p.p(c, o ? g : -1), T ? T.p && (!o || g & /*$$scope*/
4119
+ 1024) && ue(
4124
4120
  T,
4125
4121
  v,
4126
4122
  c,
4127
4123
  /*$$scope*/
4128
4124
  c[10],
4129
- s ? ue(
4125
+ o ? se(
4130
4126
  v,
4131
4127
  /*$$scope*/
4132
4128
  c[10],
4133
4129
  g,
4134
- Ai
4135
- ) : he(
4130
+ Si
4131
+ ) : le(
4136
4132
  /*$$scope*/
4137
4133
  c[10]
4138
4134
  ),
4139
4135
  Et
4140
- ) : x && x.p && (!s || g & /*$_*/
4141
- 8) && x.p(c, s ? g : -1);
4136
+ ) : x && x.p && (!o || g & /*$_*/
4137
+ 8) && x.p(c, o ? g : -1);
4142
4138
  },
4143
4139
  i(c) {
4144
- s || (q(a, c), q(f, c), q(p, c), q(x, c), s = !0);
4140
+ o || (J(s, c), J(f, c), J(p, c), J(x, c), o = !0);
4145
4141
  },
4146
4142
  o(c) {
4147
- fe(a, c), fe(f, c), fe(p, c), fe(x, c), s = !1;
4143
+ ce(s, c), ce(f, c), ce(p, c), ce(x, c), o = !1;
4148
4144
  },
4149
4145
  d(c) {
4150
- c && M(t), a && a.d(c), f && f.d(c), p && p.d(c), x && x.d(c), e[12](null);
4146
+ c && L(t), s && s.d(c), f && f.d(c), p && p.d(c), x && x.d(c), e[12](null);
4151
4147
  }
4152
4148
  };
4153
4149
  }
4154
- function $i(e, t, r) {
4150
+ function Mi(e, t, r) {
4155
4151
  let n;
4156
- lr(e, wi, (c) => r(3, n = c));
4157
- let { $$slots: i = {}, $$scope: o } = t, { assetsurl: s = "" } = t, { lang: u = "en" } = t, { errorcode: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t, { mbsource: m = "" } = t, d;
4152
+ lr(e, Hi, (c) => r(3, n = c));
4153
+ let { $$slots: i = {}, $$scope: a } = t, { assetsurl: o = "" } = t, { lang: u = "en" } = t, { errorcode: l = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t, { mbsource: m = "" } = t, d;
4158
4154
  const p = () => {
4159
- Si(u);
4155
+ wi(u);
4160
4156
  }, v = () => {
4161
4157
  fetch(f).then((g) => g.json()).then((g) => {
4162
- Object.keys(g).forEach((P) => {
4163
- yt(P, g[P]);
4158
+ Object.keys(g).forEach((A) => {
4159
+ yt(A, g[A]);
4164
4160
  });
4165
4161
  }).catch((g) => {
4166
4162
  console.error(g);
@@ -4175,43 +4171,43 @@ function $i(e, t, r) {
4175
4171
  yr(() => () => {
4176
4172
  });
4177
4173
  function x(c) {
4178
- $e[c ? "unshift" : "push"](() => {
4174
+ Le[c ? "unshift" : "push"](() => {
4179
4175
  d = c, r(2, d);
4180
4176
  });
4181
4177
  }
4182
4178
  return e.$$set = (c) => {
4183
- "assetsurl" in c && r(0, s = c.assetsurl), "lang" in c && r(5, u = c.lang), "errorcode" in c && r(1, l = c.errorcode), "clientstyling" in c && r(6, a = c.clientstyling), "clientstylingurl" in c && r(7, h = c.clientstylingurl), "translationurl" in c && r(8, f = c.translationurl), "mbsource" in c && r(9, m = c.mbsource), "$$scope" in c && r(10, o = c.$$scope);
4179
+ "assetsurl" in c && r(0, o = c.assetsurl), "lang" in c && r(5, u = c.lang), "errorcode" in c && r(1, l = c.errorcode), "clientstyling" in c && r(6, s = c.clientstyling), "clientstylingurl" in c && r(7, h = c.clientstylingurl), "translationurl" in c && r(8, f = c.translationurl), "mbsource" in c && r(9, m = c.mbsource), "$$scope" in c && r(10, a = c.$$scope);
4184
4180
  }, e.$$.update = () => {
4185
4181
  e.$$.dirty & /*lang*/
4186
4182
  32 && u && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4187
- 68 && a && d && Ir(d, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4183
+ 68 && s && d && Ir(d, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4188
4184
  132 && h && d && Cr(d, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4189
4185
  516 && m && d && Nr(d, `${m}.Style`), e.$$.dirty & /*translationurl*/
4190
4186
  256 && f && v();
4191
4187
  }, [
4192
- s,
4188
+ o,
4193
4189
  l,
4194
4190
  d,
4195
4191
  n,
4196
4192
  T,
4197
4193
  u,
4198
- a,
4194
+ s,
4199
4195
  h,
4200
4196
  f,
4201
4197
  m,
4202
- o,
4198
+ a,
4203
4199
  i,
4204
4200
  x
4205
4201
  ];
4206
4202
  }
4207
- class Ri extends Pr {
4203
+ class $i extends Pr {
4208
4204
  constructor(t) {
4209
- super(), Br(
4205
+ super(), Sr(
4210
4206
  this,
4211
4207
  t,
4212
- $i,
4213
4208
  Mi,
4214
- St,
4209
+ Li,
4210
+ Bt,
4215
4211
  {
4216
4212
  assetsurl: 0,
4217
4213
  lang: 5,
@@ -4267,7 +4263,7 @@ class Ri extends Pr {
4267
4263
  this.$$set({ mbsource: t }), B();
4268
4264
  }
4269
4265
  }
4270
- Ar(Ri, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4266
+ Ar($i, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4271
4267
  export {
4272
- Ri as default
4268
+ $i as default
4273
4269
  };