@everymatrix/cashier-error 1.86.4 → 1.86.6

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