@everymatrix/cashier-step-up 0.6.2 → 0.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,75 +1,75 @@
1
- var zr = Object.defineProperty, Xr = Object.defineProperties;
2
- var Wr = Object.getOwnPropertyDescriptors;
1
+ var Xn = Object.defineProperty, Wn = Object.defineProperties;
2
+ var Zn = Object.getOwnPropertyDescriptors;
3
3
  var Nt = Object.getOwnPropertySymbols;
4
- var Zr = Object.prototype.hasOwnProperty, qr = Object.prototype.propertyIsEnumerable;
5
- var lt = (e, t, r) => t in e ? zr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xe = (e, t) => {
6
- for (var r in t || (t = {}))
7
- Zr.call(t, r) && lt(e, r, t[r]);
4
+ var qn = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable;
5
+ var st = (e, t, n) => t in e ? Xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ze = (e, t) => {
6
+ for (var n in t || (t = {}))
7
+ qn.call(t, n) && st(e, n, t[n]);
8
8
  if (Nt)
9
- for (var r of Nt(t))
10
- qr.call(t, r) && lt(e, r, t[r]);
9
+ for (var n of Nt(t))
10
+ Qn.call(t, n) && st(e, n, t[n]);
11
11
  return e;
12
- }, ut = (e, t) => Xr(e, Wr(t));
13
- var K = (e, t, r) => (lt(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ve = (e, t, r) => new Promise((n, i) => {
12
+ }, at = (e, t) => Wn(e, Zn(t));
13
+ var K = (e, t, n) => (st(e, typeof t != "symbol" ? t + "" : t, n), n);
14
+ var Ee = (e, t, n) => new Promise((r, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
- s(r.next(u));
17
+ s(n.next(u));
18
18
  } catch (l) {
19
19
  i(l);
20
20
  }
21
21
  }, a = (u) => {
22
22
  try {
23
- s(r.throw(u));
23
+ s(n.throw(u));
24
24
  } catch (l) {
25
25
  i(l);
26
26
  }
27
- }, s = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, a);
28
- s((r = r.apply(e, t)).next());
27
+ }, s = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(o, a);
28
+ s((n = n.apply(e, t)).next());
29
29
  });
30
30
  function ee() {
31
31
  }
32
- function ir(e) {
32
+ function on(e) {
33
33
  return e();
34
34
  }
35
35
  function Rt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function xe(e) {
39
- e.forEach(ir);
38
+ function ve(e) {
39
+ e.forEach(on);
40
40
  }
41
- function At(e) {
41
+ function Ht(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function or(e, t) {
44
+ function sn(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function Qr(e) {
47
+ function Jn(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function sr(e, ...t) {
50
+ function an(e, ...t) {
51
51
  if (e == null) {
52
- for (const n of t)
53
- n(void 0);
52
+ for (const r of t)
53
+ r(void 0);
54
54
  return ee;
55
55
  }
56
- const r = e.subscribe(...t);
57
- return r.unsubscribe ? () => r.unsubscribe() : r;
56
+ const n = e.subscribe(...t);
57
+ return n.unsubscribe ? () => n.unsubscribe() : n;
58
58
  }
59
- function Jr(e, t, r) {
60
- e.$$.on_destroy.push(sr(t, r));
59
+ function Yn(e, t, n) {
60
+ e.$$.on_destroy.push(an(t, n));
61
61
  }
62
62
  function y(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function Yr(e, t, r) {
66
- const n = Kr(e);
67
- if (!n.getElementById(t)) {
68
- const i = O("style");
69
- i.id = t, i.textContent = r, en(n, i);
65
+ function Kn(e, t, n) {
66
+ const r = er(e);
67
+ if (!r.getElementById(t)) {
68
+ const i = H("style");
69
+ i.id = t, i.textContent = n, tr(r, i);
70
70
  }
71
71
  }
72
- function Kr(e) {
72
+ function er(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,24 +79,24 @@ function Kr(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function en(e, t) {
82
+ function tr(e, t) {
83
83
  return y(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function C(e, t, r) {
90
- e.insertBefore(t, r || null);
89
+ function B(e, t, n) {
90
+ e.insertBefore(t, n || null);
91
91
  }
92
- function H(e) {
92
+ function A(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function tn(e, t) {
96
- for (let r = 0; r < e.length; r += 1)
97
- e[r] && e[r].d(t);
95
+ function nr(e, t) {
96
+ for (let n = 0; n < e.length; n += 1)
97
+ e[n] && e[n].d(t);
98
98
  }
99
- function O(e) {
99
+ function H(e) {
100
100
  return document.createElement(e);
101
101
  }
102
102
  function oe(e) {
@@ -108,118 +108,118 @@ function k(e) {
108
108
  function F() {
109
109
  return k(" ");
110
110
  }
111
- function rn() {
111
+ function rr() {
112
112
  return k("");
113
113
  }
114
- function pe(e, t, r, n) {
115
- return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
114
+ function fe(e, t, n, r) {
115
+ return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
116
116
  }
117
- function p(e, t, r) {
118
- r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
117
+ function p(e, t, n) {
118
+ n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
119
119
  }
120
- function nn(e) {
120
+ function ir(e) {
121
121
  return Array.from(e.childNodes);
122
122
  }
123
123
  function j(e, t) {
124
124
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
125
125
  t);
126
126
  }
127
- function se(e, t, r) {
128
- e.classList.toggle(t, !!r);
127
+ function se(e, t, n) {
128
+ e.classList.toggle(t, !!n);
129
129
  }
130
- function on(e) {
130
+ function or(e) {
131
131
  const t = {};
132
132
  return e.childNodes.forEach(
133
133
  /** @param {Element} node */
134
- (r) => {
135
- t[r.slot || "default"] = !0;
134
+ (n) => {
135
+ t[n.slot || "default"] = !0;
136
136
  }
137
137
  ), t;
138
138
  }
139
- let Ge;
140
- function Ue(e) {
141
- Ge = e;
139
+ let Ue;
140
+ function De(e) {
141
+ Ue = e;
142
142
  }
143
- function sn() {
144
- if (!Ge)
143
+ function sr() {
144
+ if (!Ue)
145
145
  throw new Error("Function called outside component initialization");
146
- return Ge;
146
+ return Ue;
147
147
  }
148
- function an(e) {
149
- sn().$$.on_mount.push(e);
148
+ function ar(e) {
149
+ sr().$$.on_mount.push(e);
150
150
  }
151
- const Ce = [], Je = [];
152
- let Be = [];
153
- const kt = [], ln = /* @__PURE__ */ Promise.resolve();
154
- let bt = !1;
155
- function un() {
156
- bt || (bt = !0, ln.then(ae));
151
+ const Ae = [], Qe = [];
152
+ let Ce = [];
153
+ const kt = [], lr = /* @__PURE__ */ Promise.resolve();
154
+ let dt = !1;
155
+ function ur() {
156
+ dt || (dt = !0, lr.then(ae));
157
157
  }
158
- function yt(e) {
159
- Be.push(e);
158
+ function gt(e) {
159
+ Ce.push(e);
160
160
  }
161
- const ht = /* @__PURE__ */ new Set();
161
+ const lt = /* @__PURE__ */ new Set();
162
162
  let He = 0;
163
163
  function ae() {
164
164
  if (He !== 0)
165
165
  return;
166
- const e = Ge;
166
+ const e = Ue;
167
167
  do {
168
168
  try {
169
- for (; He < Ce.length; ) {
170
- const t = Ce[He];
171
- He++, Ue(t), hn(t.$$);
169
+ for (; He < Ae.length; ) {
170
+ const t = Ae[He];
171
+ He++, De(t), hr(t.$$);
172
172
  }
173
173
  } catch (t) {
174
- throw Ce.length = 0, He = 0, t;
174
+ throw Ae.length = 0, He = 0, t;
175
175
  }
176
- for (Ue(null), Ce.length = 0, He = 0; Je.length; )
177
- Je.pop()();
178
- for (let t = 0; t < Be.length; t += 1) {
179
- const r = Be[t];
180
- ht.has(r) || (ht.add(r), r());
176
+ for (De(null), Ae.length = 0, He = 0; Qe.length; )
177
+ Qe.pop()();
178
+ for (let t = 0; t < Ce.length; t += 1) {
179
+ const n = Ce[t];
180
+ lt.has(n) || (lt.add(n), n());
181
181
  }
182
- Be.length = 0;
183
- } while (Ce.length);
182
+ Ce.length = 0;
183
+ } while (Ae.length);
184
184
  for (; kt.length; )
185
185
  kt.pop()();
186
- bt = !1, ht.clear(), Ue(e);
186
+ dt = !1, lt.clear(), De(e);
187
187
  }
188
- function hn(e) {
188
+ function hr(e) {
189
189
  if (e.fragment !== null) {
190
- e.update(), xe(e.before_update);
190
+ e.update(), ve(e.before_update);
191
191
  const t = e.dirty;
192
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(yt);
192
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(gt);
193
193
  }
194
194
  }
195
- function cn(e) {
196
- const t = [], r = [];
197
- Be.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Be = t;
195
+ function cr(e) {
196
+ const t = [], n = [];
197
+ Ce.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Ce = t;
198
198
  }
199
- const fn = /* @__PURE__ */ new Set();
200
- function pn(e, t) {
201
- e && e.i && (fn.delete(e), e.i(t));
199
+ const fr = /* @__PURE__ */ new Set();
200
+ function pr(e, t) {
201
+ e && e.i && (fr.delete(e), e.i(t));
202
202
  }
203
203
  function Dt(e) {
204
204
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
205
205
  }
206
- function mn(e, t, r) {
207
- const { fragment: n, after_update: i } = e.$$;
208
- n && n.m(t, r), yt(() => {
209
- const o = e.$$.on_mount.map(ir).filter(At);
210
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : xe(o), e.$$.on_mount = [];
211
- }), i.forEach(yt);
206
+ function mr(e, t, n) {
207
+ const { fragment: r, after_update: i } = e.$$;
208
+ r && r.m(t, n), gt(() => {
209
+ const o = e.$$.on_mount.map(on).filter(Ht);
210
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ve(o), e.$$.on_mount = [];
211
+ }), i.forEach(gt);
212
212
  }
213
- function dn(e, t) {
214
- const r = e.$$;
215
- r.fragment !== null && (cn(r.after_update), xe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
213
+ function dr(e, t) {
214
+ const n = e.$$;
215
+ n.fragment !== null && (cr(n.after_update), ve(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
216
216
  }
217
- function gn(e, t) {
218
- e.$$.dirty[0] === -1 && (Ce.push(e), un(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
217
+ function gr(e, t) {
218
+ e.$$.dirty[0] === -1 && (Ae.push(e), ur(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
219
219
  }
220
- function bn(e, t, r, n, i, o, a = null, s = [-1]) {
221
- const u = Ge;
222
- Ue(e);
220
+ function br(e, t, n, r, i, o, a = null, s = [-1]) {
221
+ const u = Ue;
222
+ De(e);
223
223
  const l = e.$$ = {
224
224
  fragment: null,
225
225
  ctx: [],
@@ -243,22 +243,22 @@ function bn(e, t, r, n, i, o, a = null, s = [-1]) {
243
243
  };
244
244
  a && a(l.root);
245
245
  let h = !1;
246
- if (l.ctx = r ? r(e, t.props || {}, (c, m, ..._) => {
246
+ if (l.ctx = n ? n(e, t.props || {}, (c, m, ..._) => {
247
247
  const d = _.length ? _[0] : m;
248
- return l.ctx && i(l.ctx[c], l.ctx[c] = d) && (!l.skip_bound && l.bound[c] && l.bound[c](d), h && gn(e, c)), m;
249
- }) : [], l.update(), h = !0, xe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
248
+ return l.ctx && i(l.ctx[c], l.ctx[c] = d) && (!l.skip_bound && l.bound[c] && l.bound[c](d), h && gr(e, c)), m;
249
+ }) : [], l.update(), h = !0, ve(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
250
250
  if (t.hydrate) {
251
- const c = nn(t.target);
252
- l.fragment && l.fragment.l(c), c.forEach(H);
251
+ const c = ir(t.target);
252
+ l.fragment && l.fragment.l(c), c.forEach(A);
253
253
  } else
254
254
  l.fragment && l.fragment.c();
255
- t.intro && pn(e.$$.fragment), mn(e, t.target, t.anchor), ae();
255
+ t.intro && pr(e.$$.fragment), mr(e, t.target, t.anchor), ae();
256
256
  }
257
- Ue(u);
257
+ De(u);
258
258
  }
259
- let ar;
260
- typeof HTMLElement == "function" && (ar = class extends HTMLElement {
261
- constructor(t, r, n) {
259
+ let ln;
260
+ typeof HTMLElement == "function" && (ln = class extends HTMLElement {
261
+ constructor(t, n, r) {
262
262
  super();
263
263
  /** The Svelte component constructor */
264
264
  K(this, "$$ctor");
@@ -278,59 +278,59 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
278
278
  K(this, "$$l", {});
279
279
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
280
280
  K(this, "$$l_u", /* @__PURE__ */ new Map());
281
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
281
+ this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
282
282
  }
283
- addEventListener(t, r, n) {
284
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
285
- const i = this.$$c.$on(t, r);
286
- this.$$l_u.set(r, i);
283
+ addEventListener(t, n, r) {
284
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
285
+ const i = this.$$c.$on(t, n);
286
+ this.$$l_u.set(n, i);
287
287
  }
288
- super.addEventListener(t, r, n);
288
+ super.addEventListener(t, n, r);
289
289
  }
290
- removeEventListener(t, r, n) {
291
- if (super.removeEventListener(t, r, n), this.$$c) {
292
- const i = this.$$l_u.get(r);
293
- i && (i(), this.$$l_u.delete(r));
290
+ removeEventListener(t, n, r) {
291
+ if (super.removeEventListener(t, n, r), this.$$c) {
292
+ const i = this.$$l_u.get(n);
293
+ i && (i(), this.$$l_u.delete(n));
294
294
  }
295
295
  }
296
296
  connectedCallback() {
297
- return ve(this, null, function* () {
297
+ return Ee(this, null, function* () {
298
298
  if (this.$$cn = !0, !this.$$c) {
299
299
  let t = function(o) {
300
300
  return () => {
301
301
  let a;
302
302
  return {
303
303
  c: function() {
304
- a = O("slot"), o !== "default" && p(a, "name", o);
304
+ a = H("slot"), o !== "default" && p(a, "name", o);
305
305
  },
306
306
  /**
307
307
  * @param {HTMLElement} target
308
308
  * @param {HTMLElement} [anchor]
309
309
  */
310
310
  m: function(l, h) {
311
- C(l, a, h);
311
+ B(l, a, h);
312
312
  },
313
313
  d: function(l) {
314
- l && H(a);
314
+ l && A(a);
315
315
  }
316
316
  };
317
317
  };
318
318
  };
319
319
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
320
320
  return;
321
- const r = {}, n = on(this);
321
+ const n = {}, r = or(this);
322
322
  for (const o of this.$$s)
323
- o in n && (r[o] = [t(o)]);
323
+ o in r && (n[o] = [t(o)]);
324
324
  for (const o of this.attributes) {
325
325
  const a = this.$$g_p(o.name);
326
- a in this.$$d || (this.$$d[a] = Ze(a, o.value, this.$$p_d, "toProp"));
326
+ a in this.$$d || (this.$$d[a] = We(a, o.value, this.$$p_d, "toProp"));
327
327
  }
328
328
  for (const o in this.$$p_d)
329
329
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
330
330
  this.$$c = new this.$$ctor({
331
331
  target: this.shadowRoot || this,
332
- props: ut(Xe({}, this.$$d), {
333
- $$slots: r,
332
+ props: at(ze({}, this.$$d), {
333
+ $$slots: n,
334
334
  $$scope: {
335
335
  ctx: []
336
336
  }
@@ -340,7 +340,7 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
340
340
  this.$$r = !0;
341
341
  for (const o in this.$$p_d)
342
342
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
343
- const a = Ze(
343
+ const a = We(
344
344
  o,
345
345
  this.$$d[o],
346
346
  this.$$p_d,
@@ -362,9 +362,9 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
362
362
  }
363
363
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
364
364
  // and setting attributes through setAttribute etc, this is helpful
365
- attributeChangedCallback(t, r, n) {
365
+ attributeChangedCallback(t, n, r) {
366
366
  var i;
367
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ze(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
367
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = We(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
368
368
  }
369
369
  disconnectedCallback() {
370
370
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -373,16 +373,16 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
373
373
  }
374
374
  $$g_p(t) {
375
375
  return Object.keys(this.$$p_d).find(
376
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
376
+ (n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
377
377
  ) || t;
378
378
  }
379
379
  });
380
- function Ze(e, t, r, n) {
380
+ function We(e, t, n, r) {
381
381
  var o;
382
- const i = (o = r[e]) == null ? void 0 : o.type;
383
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
382
+ const i = (o = n[e]) == null ? void 0 : o.type;
383
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
384
384
  return t;
385
- if (n === "toAttribute")
385
+ if (r === "toAttribute")
386
386
  switch (i) {
387
387
  case "Object":
388
388
  case "Array":
@@ -407,10 +407,10 @@ function Ze(e, t, r, n) {
407
407
  return t;
408
408
  }
409
409
  }
410
- function yn(e, t, r, n, i, o) {
411
- let a = class extends ar {
410
+ function yr(e, t, n, r, i, o) {
411
+ let a = class extends ln {
412
412
  constructor() {
413
- super(e, r, i), this.$$p_d = t;
413
+ super(e, n, i), this.$$p_d = t;
414
414
  }
415
415
  static get observedAttributes() {
416
416
  return Object.keys(t).map(
@@ -425,10 +425,10 @@ function yn(e, t, r, n, i, o) {
425
425
  },
426
426
  set(u) {
427
427
  var l;
428
- u = Ze(s, u, t), this.$$d[s] = u, (l = this.$$c) == null || l.$set({ [s]: u });
428
+ u = We(s, u, t), this.$$d[s] = u, (l = this.$$c) == null || l.$set({ [s]: u });
429
429
  }
430
430
  });
431
- }), n.forEach((s) => {
431
+ }), r.forEach((s) => {
432
432
  Object.defineProperty(a.prototype, s, {
433
433
  get() {
434
434
  var u;
@@ -438,7 +438,7 @@ function yn(e, t, r, n, i, o) {
438
438
  }), e.element = /** @type {any} */
439
439
  a, a;
440
440
  }
441
- class _n {
441
+ class _r {
442
442
  constructor() {
443
443
  /**
444
444
  * ### PRIVATE API
@@ -459,7 +459,7 @@ class _n {
459
459
  }
460
460
  /** @returns {void} */
461
461
  $destroy() {
462
- dn(this, 1), this.$destroy = ee;
462
+ dr(this, 1), this.$destroy = ee;
463
463
  }
464
464
  /**
465
465
  * @template {Extract<keyof Events, string>} K
@@ -467,13 +467,13 @@ class _n {
467
467
  * @param {((e: Events[K]) => void) | null | undefined} callback
468
468
  * @returns {() => void}
469
469
  */
470
- $on(t, r) {
471
- if (!At(r))
470
+ $on(t, n) {
471
+ if (!Ht(n))
472
472
  return ee;
473
- const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
474
- return n.push(r), () => {
475
- const i = n.indexOf(r);
476
- i !== -1 && n.splice(i, 1);
473
+ const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
474
+ return r.push(n), () => {
475
+ const i = r.indexOf(n);
476
+ i !== -1 && r.splice(i, 1);
477
477
  };
478
478
  }
479
479
  /**
@@ -481,54 +481,54 @@ class _n {
481
481
  * @returns {void}
482
482
  */
483
483
  $set(t) {
484
- this.$$set && !Qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
484
+ this.$$set && !Jn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
485
485
  }
486
486
  }
487
- const En = "4";
488
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(En);
489
- function vn(e, t) {
487
+ const Er = "4";
488
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Er);
489
+ function vr(e, t) {
490
490
  if (e) {
491
- const r = document.createElement("style");
492
- r.innerHTML = t, e.appendChild(r);
491
+ const n = document.createElement("style");
492
+ n.innerHTML = t, e.appendChild(n);
493
493
  }
494
494
  }
495
- function xn(e, t) {
495
+ function xr(e, t) {
496
496
  if (!e || !t)
497
497
  return;
498
- const r = new URL(t);
499
- fetch(r.href).then((n) => n.text()).then((n) => {
498
+ const n = new URL(t);
499
+ fetch(n.href).then((r) => r.text()).then((r) => {
500
500
  const i = document.createElement("style");
501
- i.innerHTML = n, e && e.appendChild(i);
502
- }).catch((n) => {
503
- console.error("There was an error while trying to load client styling from URL", n);
501
+ i.innerHTML = r, e && e.appendChild(i);
502
+ }).catch((r) => {
503
+ console.error("There was an error while trying to load client styling from URL", r);
504
504
  });
505
505
  }
506
- function wn(e, t, r) {
506
+ function wr(e, t, n) {
507
507
  if (window.emMessageBus) {
508
- const n = document.createElement("style");
508
+ const r = document.createElement("style");
509
509
  window.emMessageBus.subscribe(t, (i) => {
510
- n.innerHTML = i, e && e.appendChild(n);
510
+ r.innerHTML = i, e && e.appendChild(r);
511
511
  });
512
512
  }
513
513
  }
514
- const Ae = [];
515
- function Sn(e, t) {
514
+ const Oe = [];
515
+ function Sr(e, t) {
516
516
  return {
517
- subscribe: tt(e, t).subscribe
517
+ subscribe: Ke(e, t).subscribe
518
518
  };
519
519
  }
520
- function tt(e, t = ee) {
521
- let r;
522
- const n = /* @__PURE__ */ new Set();
520
+ function Ke(e, t = ee) {
521
+ let n;
522
+ const r = /* @__PURE__ */ new Set();
523
523
  function i(s) {
524
- if (or(e, s) && (e = s, r)) {
525
- const u = !Ae.length;
526
- for (const l of n)
527
- l[1](), Ae.push(l, e);
524
+ if (sn(e, s) && (e = s, n)) {
525
+ const u = !Oe.length;
526
+ for (const l of r)
527
+ l[1](), Oe.push(l, e);
528
528
  if (u) {
529
- for (let l = 0; l < Ae.length; l += 2)
530
- Ae[l][0](Ae[l + 1]);
531
- Ae.length = 0;
529
+ for (let l = 0; l < Oe.length; l += 2)
530
+ Oe[l][0](Oe[l + 1]);
531
+ Oe.length = 0;
532
532
  }
533
533
  }
534
534
  }
@@ -537,18 +537,18 @@ function tt(e, t = ee) {
537
537
  }
538
538
  function a(s, u = ee) {
539
539
  const l = [s, u];
540
- return n.add(l), n.size === 1 && (r = t(i, o) || ee), s(e), () => {
541
- n.delete(l), n.size === 0 && r && (r(), r = null);
540
+ return r.add(l), r.size === 1 && (n = t(i, o) || ee), s(e), () => {
541
+ r.delete(l), r.size === 0 && n && (n(), n = null);
542
542
  };
543
543
  }
544
544
  return { set: i, update: o, subscribe: a };
545
545
  }
546
- function Ne(e, t, r) {
547
- const n = !Array.isArray(e), i = n ? [e] : e;
546
+ function Ie(e, t, n) {
547
+ const r = !Array.isArray(e), i = r ? [e] : e;
548
548
  if (!i.every(Boolean))
549
549
  throw new Error("derived() expects stores as input, got a falsy value");
550
550
  const o = t.length < 2;
551
- return Sn(r, (a, s) => {
551
+ return Sr(n, (a, s) => {
552
552
  let u = !1;
553
553
  const l = [];
554
554
  let h = 0, c = ee;
@@ -556,10 +556,10 @@ function Ne(e, t, r) {
556
556
  if (h)
557
557
  return;
558
558
  c();
559
- const d = t(n ? l[0] : l, a, s);
560
- o ? a(d) : c = At(d) ? d : ee;
559
+ const d = t(r ? l[0] : l, a, s);
560
+ o ? a(d) : c = Ht(d) ? d : ee;
561
561
  }, _ = i.map(
562
- (d, g) => sr(
562
+ (d, g) => an(
563
563
  d,
564
564
  (v) => {
565
565
  l[g] = v, h &= ~(1 << g), u && m();
@@ -570,240 +570,246 @@ function Ne(e, t, r) {
570
570
  )
571
571
  );
572
572
  return u = !0, m(), function() {
573
- xe(_), c(), u = !1;
573
+ ve(_), c(), u = !1;
574
574
  };
575
575
  });
576
576
  }
577
- function Tn(e) {
577
+ function Tr(e) {
578
578
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
579
579
  }
580
- var On = function(t) {
581
- return Hn(t) && !An(t);
580
+ var Hr = function(t) {
581
+ return Or(t) && !Ar(t);
582
582
  };
583
- function Hn(e) {
583
+ function Or(e) {
584
584
  return !!e && typeof e == "object";
585
585
  }
586
- function An(e) {
586
+ function Ar(e) {
587
587
  var t = Object.prototype.toString.call(e);
588
- return t === "[object RegExp]" || t === "[object Date]" || Pn(e);
588
+ return t === "[object RegExp]" || t === "[object Date]" || Pr(e);
589
589
  }
590
- var Cn = typeof Symbol == "function" && Symbol.for, Bn = Cn ? Symbol.for("react.element") : 60103;
591
- function Pn(e) {
592
- return e.$$typeof === Bn;
590
+ var Cr = typeof Symbol == "function" && Symbol.for, Br = Cr ? Symbol.for("react.element") : 60103;
591
+ function Pr(e) {
592
+ return e.$$typeof === Br;
593
593
  }
594
- function Mn(e) {
594
+ function Mr(e) {
595
595
  return Array.isArray(e) ? [] : {};
596
596
  }
597
- function Fe(e, t) {
598
- return t.clone !== !1 && t.isMergeableObject(e) ? Pe(Mn(e), e, t) : e;
597
+ function Ge(e, t) {
598
+ return t.clone !== !1 && t.isMergeableObject(e) ? Be(Mr(e), e, t) : e;
599
599
  }
600
- function Ln(e, t, r) {
601
- return e.concat(t).map(function(n) {
602
- return Fe(n, r);
600
+ function Lr(e, t, n) {
601
+ return e.concat(t).map(function(r) {
602
+ return Ge(r, n);
603
603
  });
604
604
  }
605
- function In(e, t) {
605
+ function Ir(e, t) {
606
606
  if (!t.customMerge)
607
- return Pe;
608
- var r = t.customMerge(e);
609
- return typeof r == "function" ? r : Pe;
607
+ return Be;
608
+ var n = t.customMerge(e);
609
+ return typeof n == "function" ? n : Be;
610
610
  }
611
- function Nn(e) {
611
+ function Nr(e) {
612
612
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
613
613
  return Object.propertyIsEnumerable.call(e, t);
614
614
  }) : [];
615
615
  }
616
616
  function Ut(e) {
617
- return Object.keys(e).concat(Nn(e));
617
+ return Object.keys(e).concat(Nr(e));
618
618
  }
619
- function lr(e, t) {
619
+ function un(e, t) {
620
620
  try {
621
621
  return t in e;
622
- } catch (r) {
622
+ } catch (n) {
623
623
  return !1;
624
624
  }
625
625
  }
626
- function Rn(e, t) {
627
- return lr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
626
+ function Rr(e, t) {
627
+ return un(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
628
628
  }
629
- function kn(e, t, r) {
630
- var n = {};
631
- return r.isMergeableObject(e) && Ut(e).forEach(function(i) {
632
- n[i] = Fe(e[i], r);
629
+ function kr(e, t, n) {
630
+ var r = {};
631
+ return n.isMergeableObject(e) && Ut(e).forEach(function(i) {
632
+ r[i] = Ge(e[i], n);
633
633
  }), Ut(t).forEach(function(i) {
634
- Rn(e, i) || (lr(e, i) && r.isMergeableObject(t[i]) ? n[i] = In(i, r)(e[i], t[i], r) : n[i] = Fe(t[i], r));
635
- }), n;
634
+ Rr(e, i) || (un(e, i) && n.isMergeableObject(t[i]) ? r[i] = Ir(i, n)(e[i], t[i], n) : r[i] = Ge(t[i], n));
635
+ }), r;
636
636
  }
637
- function Pe(e, t, r) {
638
- r = r || {}, r.arrayMerge = r.arrayMerge || Ln, r.isMergeableObject = r.isMergeableObject || On, r.cloneUnlessOtherwiseSpecified = Fe;
639
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
640
- return o ? n ? r.arrayMerge(e, t, r) : kn(e, t, r) : Fe(t, r);
637
+ function Be(e, t, n) {
638
+ n = n || {}, n.arrayMerge = n.arrayMerge || Lr, n.isMergeableObject = n.isMergeableObject || Hr, n.cloneUnlessOtherwiseSpecified = Ge;
639
+ var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
640
+ return o ? r ? n.arrayMerge(e, t, n) : kr(e, t, n) : Ge(t, n);
641
641
  }
642
- Pe.all = function(t, r) {
642
+ Be.all = function(t, n) {
643
643
  if (!Array.isArray(t))
644
644
  throw new Error("first argument should be an array");
645
- return t.reduce(function(n, i) {
646
- return Pe(n, i, r);
645
+ return t.reduce(function(r, i) {
646
+ return Be(r, i, n);
647
647
  }, {});
648
648
  };
649
- var Dn = Pe, Un = Dn;
650
- const Gn = /* @__PURE__ */ Tn(Un);
651
- var _t = function(e, t) {
652
- return _t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
653
- r.__proto__ = n;
654
- } || function(r, n) {
655
- for (var i in n)
656
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
657
- }, _t(e, t);
649
+ var Dr = Be, Ur = Dr;
650
+ const Gr = /* @__PURE__ */ Tr(Ur);
651
+ /*! *****************************************************************************
652
+ Copyright (c) Microsoft Corporation.
653
+
654
+ Permission to use, copy, modify, and/or distribute this software for any
655
+ purpose with or without fee is hereby granted.
656
+
657
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
658
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
659
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
660
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
661
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
662
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
663
+ PERFORMANCE OF THIS SOFTWARE.
664
+ ***************************************************************************** */
665
+ var bt = function(e, t) {
666
+ return bt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
667
+ n.__proto__ = r;
668
+ } || function(n, r) {
669
+ for (var i in r)
670
+ Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
671
+ }, bt(e, t);
658
672
  };
659
- function rt(e, t) {
673
+ function et(e, t) {
660
674
  if (typeof t != "function" && t !== null)
661
675
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
662
- _t(e, t);
663
- function r() {
676
+ bt(e, t);
677
+ function n() {
664
678
  this.constructor = e;
665
679
  }
666
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
667
- }
668
- var le = function() {
669
- return le = Object.assign || function(t) {
670
- for (var r, n = 1, i = arguments.length; n < i; n++) {
671
- r = arguments[n];
672
- for (var o in r)
673
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
680
+ e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
681
+ }
682
+ var O = function() {
683
+ return O = Object.assign || function(t) {
684
+ for (var n, r = 1, i = arguments.length; r < i; r++) {
685
+ n = arguments[r];
686
+ for (var o in n)
687
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
674
688
  }
675
689
  return t;
676
- }, le.apply(this, arguments);
690
+ }, O.apply(this, arguments);
677
691
  };
678
- function Fn(e, t) {
679
- var r = {};
680
- for (var n in e)
681
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
692
+ function Fr(e, t) {
693
+ var n = {};
694
+ for (var r in e)
695
+ Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
682
696
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
683
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
684
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
685
- return r;
697
+ for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
698
+ t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
699
+ return n;
686
700
  }
687
- function ct(e, t, r) {
688
- if (r || arguments.length === 2)
689
- for (var n = 0, i = t.length, o; n < i; n++)
690
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
691
- return e.concat(o || Array.prototype.slice.call(t));
701
+ function ut(e, t, n) {
702
+ if (arguments.length === 2)
703
+ for (var r = 0, i = t.length, o; r < i; r++)
704
+ (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
705
+ return e.concat(o || t);
692
706
  }
693
- function ft(e, t) {
694
- var r = t && t.cache ? t.cache : Zn, n = t && t.serializer ? t.serializer : Xn, i = t && t.strategy ? t.strategy : $n;
707
+ function ht(e, t) {
708
+ var n = t && t.cache ? t.cache : Wr, r = t && t.serializer ? t.serializer : Xr, i = t && t.strategy ? t.strategy : Vr;
695
709
  return i(e, {
696
- cache: r,
697
- serializer: n
710
+ cache: n,
711
+ serializer: r
698
712
  });
699
713
  }
700
- function jn(e) {
714
+ function jr(e) {
701
715
  return e == null || typeof e == "number" || typeof e == "boolean";
702
716
  }
703
- function Vn(e, t, r, n) {
704
- var i = jn(n) ? n : r(n), o = t.get(i);
705
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
717
+ function hn(e, t, n, r) {
718
+ var i = jr(r) ? r : n(r), o = t.get(i);
719
+ return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
706
720
  }
707
- function ur(e, t, r) {
708
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
709
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
721
+ function cn(e, t, n) {
722
+ var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
723
+ return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
710
724
  }
711
- function hr(e, t, r, n, i) {
712
- return r.bind(t, e, n, i);
725
+ function Ot(e, t, n, r, i) {
726
+ return n.bind(t, e, r, i);
713
727
  }
714
- function $n(e, t) {
715
- var r = e.length === 1 ? Vn : ur;
716
- return hr(e, this, r, t.cache.create(), t.serializer);
728
+ function Vr(e, t) {
729
+ var n = e.length === 1 ? hn : cn;
730
+ return Ot(e, this, n, t.cache.create(), t.serializer);
717
731
  }
718
- function zn(e, t) {
719
- return hr(e, this, ur, t.cache.create(), t.serializer);
732
+ function $r(e, t) {
733
+ return Ot(e, this, cn, t.cache.create(), t.serializer);
720
734
  }
721
- var Xn = function() {
735
+ function zr(e, t) {
736
+ return Ot(e, this, hn, t.cache.create(), t.serializer);
737
+ }
738
+ var Xr = function() {
722
739
  return JSON.stringify(arguments);
723
- }, Wn = (
724
- /** @class */
725
- function() {
726
- function e() {
727
- this.cache = /* @__PURE__ */ Object.create(null);
728
- }
729
- return e.prototype.get = function(t) {
730
- return this.cache[t];
731
- }, e.prototype.set = function(t, r) {
732
- this.cache[t] = r;
733
- }, e;
734
- }()
735
- ), Zn = {
740
+ };
741
+ function At() {
742
+ this.cache = /* @__PURE__ */ Object.create(null);
743
+ }
744
+ At.prototype.get = function(e) {
745
+ return this.cache[e];
746
+ };
747
+ At.prototype.set = function(e, t) {
748
+ this.cache[e] = t;
749
+ };
750
+ var Wr = {
736
751
  create: function() {
737
- return new Wn();
752
+ return new At();
738
753
  }
739
- }, pt = {
740
- variadic: zn
741
- }, Ye = function() {
742
- return Ye = Object.assign || function(t) {
743
- for (var r, n = 1, i = arguments.length; n < i; n++) {
744
- r = arguments[n];
745
- for (var o in r)
746
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
747
- }
748
- return t;
749
- }, Ye.apply(this, arguments);
750
- };
751
- var w;
754
+ }, ct = {
755
+ variadic: $r,
756
+ monadic: zr
757
+ }, w;
752
758
  (function(e) {
753
759
  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";
754
760
  })(w || (w = {}));
755
- var L;
761
+ var I;
756
762
  (function(e) {
757
763
  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";
758
- })(L || (L = {}));
759
- var Me;
764
+ })(I || (I = {}));
765
+ var Pe;
760
766
  (function(e) {
761
767
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
762
- })(Me || (Me = {}));
768
+ })(Pe || (Pe = {}));
763
769
  function Gt(e) {
764
- return e.type === L.literal;
770
+ return e.type === I.literal;
765
771
  }
766
- function qn(e) {
767
- return e.type === L.argument;
772
+ function Zr(e) {
773
+ return e.type === I.argument;
768
774
  }
769
- function cr(e) {
770
- return e.type === L.number;
775
+ function fn(e) {
776
+ return e.type === I.number;
771
777
  }
772
- function fr(e) {
773
- return e.type === L.date;
778
+ function pn(e) {
779
+ return e.type === I.date;
774
780
  }
775
- function pr(e) {
776
- return e.type === L.time;
781
+ function mn(e) {
782
+ return e.type === I.time;
777
783
  }
778
- function mr(e) {
779
- return e.type === L.select;
784
+ function dn(e) {
785
+ return e.type === I.select;
780
786
  }
781
- function dr(e) {
782
- return e.type === L.plural;
787
+ function gn(e) {
788
+ return e.type === I.plural;
783
789
  }
784
- function Qn(e) {
785
- return e.type === L.pound;
790
+ function qr(e) {
791
+ return e.type === I.pound;
786
792
  }
787
- function gr(e) {
788
- return e.type === L.tag;
793
+ function bn(e) {
794
+ return e.type === I.tag;
789
795
  }
790
- function br(e) {
791
- return !!(e && typeof e == "object" && e.type === Me.number);
796
+ function yn(e) {
797
+ return !!(e && typeof e == "object" && e.type === Pe.number);
792
798
  }
793
- function Et(e) {
794
- return !!(e && typeof e == "object" && e.type === Me.dateTime);
799
+ function yt(e) {
800
+ return !!(e && typeof e == "object" && e.type === Pe.dateTime);
795
801
  }
796
- var yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Jn = /(?:[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;
797
- function Yn(e) {
802
+ var _n = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qr = /(?:[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;
803
+ function Jr(e) {
798
804
  var t = {};
799
- return e.replace(Jn, function(r) {
800
- var n = r.length;
801
- switch (r[0]) {
805
+ return e.replace(Qr, function(n) {
806
+ var r = n.length;
807
+ switch (n[0]) {
802
808
  case "G":
803
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
809
+ t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
804
810
  break;
805
811
  case "y":
806
- t.year = n === 2 ? "2-digit" : "numeric";
812
+ t.year = r === 2 ? "2-digit" : "numeric";
807
813
  break;
808
814
  case "Y":
809
815
  case "u":
@@ -815,30 +821,30 @@ function Yn(e) {
815
821
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
816
822
  case "M":
817
823
  case "L":
818
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
824
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
819
825
  break;
820
826
  case "w":
821
827
  case "W":
822
828
  throw new RangeError("`w/W` (week) patterns are not supported");
823
829
  case "d":
824
- t.day = ["numeric", "2-digit"][n - 1];
830
+ t.day = ["numeric", "2-digit"][r - 1];
825
831
  break;
826
832
  case "D":
827
833
  case "F":
828
834
  case "g":
829
835
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
830
836
  case "E":
831
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
837
+ t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
832
838
  break;
833
839
  case "e":
834
- if (n < 4)
840
+ if (r < 4)
835
841
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
836
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
842
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
837
843
  break;
838
844
  case "c":
839
- if (n < 4)
845
+ if (r < 4)
840
846
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
841
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
847
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
842
848
  break;
843
849
  case "a":
844
850
  t.hour12 = !0;
@@ -847,32 +853,32 @@ function Yn(e) {
847
853
  case "B":
848
854
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
849
855
  case "h":
850
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
856
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
851
857
  break;
852
858
  case "H":
853
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
859
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
854
860
  break;
855
861
  case "K":
856
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
862
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
857
863
  break;
858
864
  case "k":
859
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
865
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
860
866
  break;
861
867
  case "j":
862
868
  case "J":
863
869
  case "C":
864
870
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
865
871
  case "m":
866
- t.minute = ["numeric", "2-digit"][n - 1];
872
+ t.minute = ["numeric", "2-digit"][r - 1];
867
873
  break;
868
874
  case "s":
869
- t.second = ["numeric", "2-digit"][n - 1];
875
+ t.second = ["numeric", "2-digit"][r - 1];
870
876
  break;
871
877
  case "S":
872
878
  case "A":
873
879
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
874
880
  case "z":
875
- t.timeZoneName = n < 4 ? "short" : "long";
881
+ t.timeZoneName = r < 4 ? "short" : "long";
876
882
  break;
877
883
  case "Z":
878
884
  case "O":
@@ -885,24 +891,14 @@ function Yn(e) {
885
891
  return "";
886
892
  }), t;
887
893
  }
888
- var R = function() {
889
- return R = Object.assign || function(t) {
890
- for (var r, n = 1, i = arguments.length; n < i; n++) {
891
- r = arguments[n];
892
- for (var o in r)
893
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
894
- }
895
- return t;
896
- }, R.apply(this, arguments);
897
- };
898
- var Kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
899
- function ei(e) {
894
+ var Yr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
895
+ function Kr(e) {
900
896
  if (e.length === 0)
901
897
  throw new Error("Number skeleton cannot be empty");
902
- for (var t = e.split(Kn).filter(function(m) {
898
+ for (var t = e.split(Yr).filter(function(m) {
903
899
  return m.length > 0;
904
- }), r = [], n = 0, i = t; n < i.length; n++) {
905
- var o = i[n], a = o.split("/");
900
+ }), n = [], r = 0, i = t; r < i.length; r++) {
901
+ var o = i[r], a = o.split("/");
906
902
  if (a.length === 0)
907
903
  throw new Error("Invalid number skeleton");
908
904
  for (var s = a[0], u = a.slice(1), l = 0, h = u; l < h.length; l++) {
@@ -910,21 +906,21 @@ function ei(e) {
910
906
  if (c.length === 0)
911
907
  throw new Error("Invalid number skeleton");
912
908
  }
913
- r.push({ stem: s, options: u });
909
+ n.push({ stem: s, options: u });
914
910
  }
915
- return r;
911
+ return n;
916
912
  }
917
- function ti(e) {
913
+ function ei(e) {
918
914
  return e.replace(/^(.*?)-/, "");
919
915
  }
920
- var Ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, _r = /^(@+)?(\+|#+)?[rs]?$/g, ri = /(\*)(0+)|(#+)(0+)|(0+)/g, Er = /^(0+)$/;
916
+ var Ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, En = /^(@+)?(\+|#+)?[rs]?$/g, ti = /(\*)(0+)|(#+)(0+)|(0+)/g, vn = /^(0+)$/;
921
917
  function jt(e) {
922
918
  var t = {};
923
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(_r, function(r, n, i) {
924
- 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)), "";
919
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(En, function(n, r, i) {
920
+ return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
925
921
  }), t;
926
922
  }
927
- function vr(e) {
923
+ function xn(e) {
928
924
  switch (e) {
929
925
  case "sign-auto":
930
926
  return {
@@ -971,20 +967,20 @@ function ni(e) {
971
967
  }, e = e.slice(2)) : e[0] === "E" && (t = {
972
968
  notation: "scientific"
973
969
  }, e = e.slice(1)), t) {
974
- var r = e.slice(0, 2);
975
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Er.test(e))
970
+ var n = e.slice(0, 2);
971
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !vn.test(e))
976
972
  throw new Error("Malformed concise eng/scientific notation");
977
973
  t.minimumIntegerDigits = e.length;
978
974
  }
979
975
  return t;
980
976
  }
981
977
  function Vt(e) {
982
- var t = {}, r = vr(e);
983
- return r || t;
978
+ var t = {}, n = xn(e);
979
+ return n || t;
984
980
  }
985
- function ii(e) {
986
- for (var t = {}, r = 0, n = e; r < n.length; r++) {
987
- var i = n[r];
981
+ function ri(e) {
982
+ for (var t = {}, n = 0, r = e; n < r.length; n++) {
983
+ var i = r[n];
988
984
  switch (i.stem) {
989
985
  case "percent":
990
986
  case "%":
@@ -1006,7 +1002,7 @@ function ii(e) {
1006
1002
  continue;
1007
1003
  case "measure-unit":
1008
1004
  case "unit":
1009
- t.style = "unit", t.unit = ti(i.options[0]);
1005
+ t.style = "unit", t.unit = ei(i.options[0]);
1010
1006
  continue;
1011
1007
  case "compact-short":
1012
1008
  case "K":
@@ -1017,13 +1013,13 @@ function ii(e) {
1017
1013
  t.notation = "compact", t.compactDisplay = "long";
1018
1014
  continue;
1019
1015
  case "scientific":
1020
- t = R(R(R({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1021
- return R(R({}, u), Vt(l));
1016
+ t = O(O(O({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1017
+ return O(O({}, u), Vt(l));
1022
1018
  }, {}));
1023
1019
  continue;
1024
1020
  case "engineering":
1025
- t = R(R(R({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1026
- return R(R({}, u), Vt(l));
1021
+ t = O(O(O({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1022
+ return O(O({}, u), Vt(l));
1027
1023
  }, {}));
1028
1024
  continue;
1029
1025
  case "notation-simple":
@@ -1068,7 +1064,7 @@ function ii(e) {
1068
1064
  case "integer-width":
1069
1065
  if (i.options.length > 1)
1070
1066
  throw new RangeError("integer-width stems only accept a single optional option");
1071
- i.options[0].replace(ri, function(u, l, h, c, m, _) {
1067
+ i.options[0].replace(ti, function(u, l, h, c, m, _) {
1072
1068
  if (l)
1073
1069
  t.minimumIntegerDigits = h.length;
1074
1070
  else {
@@ -1081,7 +1077,7 @@ function ii(e) {
1081
1077
  });
1082
1078
  continue;
1083
1079
  }
1084
- if (Er.test(i.stem)) {
1080
+ if (vn.test(i.stem)) {
1085
1081
  t.minimumIntegerDigits = i.stem.length;
1086
1082
  continue;
1087
1083
  }
@@ -1092,21 +1088,21 @@ function ii(e) {
1092
1088
  return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && _ ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + _.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1093
1089
  });
1094
1090
  var o = i.options[0];
1095
- o === "w" ? t = R(R({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = R(R({}, t), jt(o)));
1091
+ o === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = O(O({}, t), jt(o)));
1096
1092
  continue;
1097
1093
  }
1098
- if (_r.test(i.stem)) {
1099
- t = R(R({}, t), jt(i.stem));
1094
+ if (En.test(i.stem)) {
1095
+ t = O(O({}, t), jt(i.stem));
1100
1096
  continue;
1101
1097
  }
1102
- var a = vr(i.stem);
1103
- a && (t = R(R({}, t), a));
1098
+ var a = xn(i.stem);
1099
+ a && (t = O(O({}, t), a));
1104
1100
  var s = ni(i.stem);
1105
- s && (t = R(R({}, t), s));
1101
+ s && (t = O(O({}, t), s));
1106
1102
  }
1107
1103
  return t;
1108
1104
  }
1109
- var We = {
1105
+ var Xe = {
1110
1106
  "001": [
1111
1107
  "H",
1112
1108
  "h"
@@ -2521,23 +2517,23 @@ var We = {
2521
2517
  "h"
2522
2518
  ]
2523
2519
  };
2524
- function oi(e, t) {
2525
- for (var r = "", n = 0; n < e.length; n++) {
2526
- var i = e.charAt(n);
2520
+ function ii(e, t) {
2521
+ for (var n = "", r = 0; r < e.length; r++) {
2522
+ var i = e.charAt(r);
2527
2523
  if (i === "j") {
2528
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2529
- o++, n++;
2530
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = si(t);
2524
+ for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2525
+ o++, r++;
2526
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = oi(t);
2531
2527
  for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
2532
- r += u;
2528
+ n += u;
2533
2529
  for (; a-- > 0; )
2534
- r = l + r;
2530
+ n = l + n;
2535
2531
  } else
2536
- i === "J" ? r += "H" : r += i;
2532
+ i === "J" ? n += "H" : n += i;
2537
2533
  }
2538
- return r;
2534
+ return n;
2539
2535
  }
2540
- function si(e) {
2536
+ function oi(e) {
2541
2537
  var t = e.hourCycle;
2542
2538
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2543
2539
  e.hourCycles && // @ts-ignore
@@ -2554,73 +2550,73 @@ function si(e) {
2554
2550
  default:
2555
2551
  throw new Error("Invalid hourCycle");
2556
2552
  }
2557
- var r = e.language, n;
2558
- r !== "root" && (n = e.maximize().region);
2559
- var i = We[n || ""] || We[r || ""] || We["".concat(r, "-001")] || We["001"];
2553
+ var n = e.language, r;
2554
+ n !== "root" && (r = e.maximize().region);
2555
+ var i = Xe[r || ""] || Xe[n || ""] || Xe["".concat(n, "-001")] || Xe["001"];
2560
2556
  return i[0];
2561
2557
  }
2562
- var mt, ai = new RegExp("^".concat(yr.source, "*")), li = new RegExp("".concat(yr.source, "*$"));
2558
+ var ft, si = new RegExp("^".concat(_n.source, "*")), ai = new RegExp("".concat(_n.source, "*$"));
2563
2559
  function T(e, t) {
2564
2560
  return { start: e, end: t };
2565
2561
  }
2566
- var ui = !!String.prototype.startsWith && "_a".startsWith("a", 1), hi = !!String.fromCodePoint, ci = !!Object.fromEntries, fi = !!String.prototype.codePointAt, pi = !!String.prototype.trimStart, mi = !!String.prototype.trimEnd, di = !!Number.isSafeInteger, gi = di ? Number.isSafeInteger : function(e) {
2562
+ var li = !!String.prototype.startsWith && "_a".startsWith("a", 1), ui = !!String.fromCodePoint, hi = !!Object.fromEntries, ci = !!String.prototype.codePointAt, fi = !!String.prototype.trimStart, pi = !!String.prototype.trimEnd, mi = !!Number.isSafeInteger, di = mi ? Number.isSafeInteger : function(e) {
2567
2563
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2568
- }, vt = !0;
2564
+ }, _t = !0;
2569
2565
  try {
2570
- var bi = wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2571
- vt = ((mt = bi.exec("a")) === null || mt === void 0 ? void 0 : mt[0]) === "a";
2566
+ var gi = Sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2567
+ _t = ((ft = gi.exec("a")) === null || ft === void 0 ? void 0 : ft[0]) === "a";
2572
2568
  } catch (e) {
2573
- vt = !1;
2569
+ _t = !1;
2574
2570
  }
2575
- var $t = ui ? (
2571
+ var $t = li ? (
2576
2572
  // Native
2577
- function(t, r, n) {
2578
- return t.startsWith(r, n);
2573
+ function(t, n, r) {
2574
+ return t.startsWith(n, r);
2579
2575
  }
2580
2576
  ) : (
2581
2577
  // For IE11
2582
- function(t, r, n) {
2583
- return t.slice(n, n + r.length) === r;
2578
+ function(t, n, r) {
2579
+ return t.slice(r, r + n.length) === n;
2584
2580
  }
2585
- ), xt = hi ? String.fromCodePoint : (
2581
+ ), Et = ui ? String.fromCodePoint : (
2586
2582
  // IE11
2587
2583
  function() {
2588
- for (var t = [], r = 0; r < arguments.length; r++)
2589
- t[r] = arguments[r];
2590
- for (var n = "", i = t.length, o = 0, a; i > o; ) {
2584
+ for (var t = [], n = 0; n < arguments.length; n++)
2585
+ t[n] = arguments[n];
2586
+ for (var r = "", i = t.length, o = 0, a; i > o; ) {
2591
2587
  if (a = t[o++], a > 1114111)
2592
2588
  throw RangeError(a + " is not a valid code point");
2593
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2589
+ r += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2594
2590
  }
2595
- return n;
2591
+ return r;
2596
2592
  }
2597
2593
  ), zt = (
2598
2594
  // native
2599
- ci ? Object.fromEntries : (
2595
+ hi ? Object.fromEntries : (
2600
2596
  // Ponyfill
2601
2597
  function(t) {
2602
- for (var r = {}, n = 0, i = t; n < i.length; n++) {
2603
- var o = i[n], a = o[0], s = o[1];
2604
- r[a] = s;
2598
+ for (var n = {}, r = 0, i = t; r < i.length; r++) {
2599
+ var o = i[r], a = o[0], s = o[1];
2600
+ n[a] = s;
2605
2601
  }
2606
- return r;
2602
+ return n;
2607
2603
  }
2608
2604
  )
2609
- ), xr = fi ? (
2605
+ ), wn = ci ? (
2610
2606
  // Native
2611
- function(t, r) {
2612
- return t.codePointAt(r);
2607
+ function(t, n) {
2608
+ return t.codePointAt(n);
2613
2609
  }
2614
2610
  ) : (
2615
2611
  // IE 11
2616
- function(t, r) {
2617
- var n = t.length;
2618
- if (!(r < 0 || r >= n)) {
2619
- var i = t.charCodeAt(r), o;
2620
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2612
+ function(t, n) {
2613
+ var r = t.length;
2614
+ if (!(n < 0 || n >= r)) {
2615
+ var i = t.charCodeAt(n), o;
2616
+ return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2621
2617
  }
2622
2618
  }
2623
- ), yi = pi ? (
2619
+ ), bi = fi ? (
2624
2620
  // Native
2625
2621
  function(t) {
2626
2622
  return t.trimStart();
@@ -2628,9 +2624,9 @@ var $t = ui ? (
2628
2624
  ) : (
2629
2625
  // Ponyfill
2630
2626
  function(t) {
2631
- return t.replace(ai, "");
2627
+ return t.replace(si, "");
2632
2628
  }
2633
- ), _i = mi ? (
2629
+ ), yi = pi ? (
2634
2630
  // Native
2635
2631
  function(t) {
2636
2632
  return t.trimEnd();
@@ -2638,69 +2634,69 @@ var $t = ui ? (
2638
2634
  ) : (
2639
2635
  // Ponyfill
2640
2636
  function(t) {
2641
- return t.replace(li, "");
2637
+ return t.replace(ai, "");
2642
2638
  }
2643
2639
  );
2644
- function wr(e, t) {
2640
+ function Sn(e, t) {
2645
2641
  return new RegExp(e, t);
2646
2642
  }
2647
- var wt;
2648
- if (vt) {
2649
- var Xt = wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2650
- wt = function(t, r) {
2651
- var n;
2652
- Xt.lastIndex = r;
2643
+ var vt;
2644
+ if (_t) {
2645
+ var Xt = Sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2646
+ vt = function(t, n) {
2647
+ var r;
2648
+ Xt.lastIndex = n;
2653
2649
  var i = Xt.exec(t);
2654
- return (n = i[1]) !== null && n !== void 0 ? n : "";
2650
+ return (r = i[1]) !== null && r !== void 0 ? r : "";
2655
2651
  };
2656
2652
  } else
2657
- wt = function(t, r) {
2658
- for (var n = []; ; ) {
2659
- var i = xr(t, r);
2660
- if (i === void 0 || Sr(i) || wi(i))
2653
+ vt = function(t, n) {
2654
+ for (var r = []; ; ) {
2655
+ var i = wn(t, n);
2656
+ if (i === void 0 || Tn(i) || xi(i))
2661
2657
  break;
2662
- n.push(i), r += i >= 65536 ? 2 : 1;
2658
+ r.push(i), n += i >= 65536 ? 2 : 1;
2663
2659
  }
2664
- return xt.apply(void 0, n);
2660
+ return Et.apply(void 0, r);
2665
2661
  };
2666
- var Ei = (
2662
+ var _i = (
2667
2663
  /** @class */
2668
2664
  function() {
2669
- function e(t, r) {
2670
- r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
2665
+ function e(t, n) {
2666
+ n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
2671
2667
  }
2672
2668
  return e.prototype.parse = function() {
2673
2669
  if (this.offset() !== 0)
2674
2670
  throw Error("parser can only be used once");
2675
2671
  return this.parseMessage(0, "", !1);
2676
- }, e.prototype.parseMessage = function(t, r, n) {
2672
+ }, e.prototype.parseMessage = function(t, n, r) {
2677
2673
  for (var i = []; !this.isEOF(); ) {
2678
2674
  var o = this.char();
2679
2675
  if (o === 123) {
2680
- var a = this.parseArgument(t, n);
2676
+ var a = this.parseArgument(t, r);
2681
2677
  if (a.err)
2682
2678
  return a;
2683
2679
  i.push(a.val);
2684
2680
  } else {
2685
2681
  if (o === 125 && t > 0)
2686
2682
  break;
2687
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
2683
+ if (o === 35 && (n === "plural" || n === "selectordinal")) {
2688
2684
  var s = this.clonePosition();
2689
2685
  this.bump(), i.push({
2690
- type: L.pound,
2686
+ type: I.pound,
2691
2687
  location: T(s, this.clonePosition())
2692
2688
  });
2693
2689
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2694
- if (n)
2690
+ if (r)
2695
2691
  break;
2696
2692
  return this.error(w.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
2697
- } else if (o === 60 && !this.ignoreTag && St(this.peek() || 0)) {
2698
- var a = this.parseTag(t, r);
2693
+ } else if (o === 60 && !this.ignoreTag && xt(this.peek() || 0)) {
2694
+ var a = this.parseTag(t, n);
2699
2695
  if (a.err)
2700
2696
  return a;
2701
2697
  i.push(a.val);
2702
2698
  } else {
2703
- var a = this.parseLiteral(t, r);
2699
+ var a = this.parseLiteral(t, n);
2704
2700
  if (a.err)
2705
2701
  return a;
2706
2702
  i.push(a.val);
@@ -2708,54 +2704,54 @@ var Ei = (
2708
2704
  }
2709
2705
  }
2710
2706
  return { val: i, err: null };
2711
- }, e.prototype.parseTag = function(t, r) {
2712
- var n = this.clonePosition();
2707
+ }, e.prototype.parseTag = function(t, n) {
2708
+ var r = this.clonePosition();
2713
2709
  this.bump();
2714
2710
  var i = this.parseTagName();
2715
2711
  if (this.bumpSpace(), this.bumpIf("/>"))
2716
2712
  return {
2717
2713
  val: {
2718
- type: L.literal,
2714
+ type: I.literal,
2719
2715
  value: "<".concat(i, "/>"),
2720
- location: T(n, this.clonePosition())
2716
+ location: T(r, this.clonePosition())
2721
2717
  },
2722
2718
  err: null
2723
2719
  };
2724
2720
  if (this.bumpIf(">")) {
2725
- var o = this.parseMessage(t + 1, r, !0);
2721
+ var o = this.parseMessage(t + 1, n, !0);
2726
2722
  if (o.err)
2727
2723
  return o;
2728
2724
  var a = o.val, s = this.clonePosition();
2729
2725
  if (this.bumpIf("</")) {
2730
- if (this.isEOF() || !St(this.char()))
2726
+ if (this.isEOF() || !xt(this.char()))
2731
2727
  return this.error(w.INVALID_TAG, T(s, this.clonePosition()));
2732
2728
  var u = this.clonePosition(), l = this.parseTagName();
2733
2729
  return i !== l ? this.error(w.UNMATCHED_CLOSING_TAG, T(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2734
2730
  val: {
2735
- type: L.tag,
2731
+ type: I.tag,
2736
2732
  value: i,
2737
2733
  children: a,
2738
- location: T(n, this.clonePosition())
2734
+ location: T(r, this.clonePosition())
2739
2735
  },
2740
2736
  err: null
2741
2737
  } : this.error(w.INVALID_TAG, T(s, this.clonePosition())));
2742
2738
  } else
2743
- return this.error(w.UNCLOSED_TAG, T(n, this.clonePosition()));
2739
+ return this.error(w.UNCLOSED_TAG, T(r, this.clonePosition()));
2744
2740
  } else
2745
- return this.error(w.INVALID_TAG, T(n, this.clonePosition()));
2741
+ return this.error(w.INVALID_TAG, T(r, this.clonePosition()));
2746
2742
  }, e.prototype.parseTagName = function() {
2747
2743
  var t = this.offset();
2748
- for (this.bump(); !this.isEOF() && xi(this.char()); )
2744
+ for (this.bump(); !this.isEOF() && vi(this.char()); )
2749
2745
  this.bump();
2750
2746
  return this.message.slice(t, this.offset());
2751
- }, e.prototype.parseLiteral = function(t, r) {
2752
- for (var n = this.clonePosition(), i = ""; ; ) {
2753
- var o = this.tryParseQuote(r);
2747
+ }, e.prototype.parseLiteral = function(t, n) {
2748
+ for (var r = this.clonePosition(), i = ""; ; ) {
2749
+ var o = this.tryParseQuote(n);
2754
2750
  if (o) {
2755
2751
  i += o;
2756
2752
  continue;
2757
2753
  }
2758
- var a = this.tryParseUnquoted(t, r);
2754
+ var a = this.tryParseUnquoted(t, n);
2759
2755
  if (a) {
2760
2756
  i += a;
2761
2757
  continue;
@@ -2767,14 +2763,14 @@ var Ei = (
2767
2763
  }
2768
2764
  break;
2769
2765
  }
2770
- var u = T(n, this.clonePosition());
2766
+ var u = T(r, this.clonePosition());
2771
2767
  return {
2772
- val: { type: L.literal, value: i, location: u },
2768
+ val: { type: I.literal, value: i, location: u },
2773
2769
  err: null
2774
2770
  };
2775
2771
  }, e.prototype.tryParseLeftAngleBracket = function() {
2776
2772
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2777
- !vi(this.peek() || 0)) ? (this.bump(), "<") : null;
2773
+ !Ei(this.peek() || 0)) ? (this.bump(), "<") : null;
2778
2774
  }, e.prototype.tryParseQuote = function(t) {
2779
2775
  if (this.isEOF() || this.char() !== 39)
2780
2776
  return null;
@@ -2794,59 +2790,59 @@ var Ei = (
2794
2790
  return null;
2795
2791
  }
2796
2792
  this.bump();
2797
- var r = [this.char()];
2793
+ var n = [this.char()];
2798
2794
  for (this.bump(); !this.isEOF(); ) {
2799
- var n = this.char();
2800
- if (n === 39)
2795
+ var r = this.char();
2796
+ if (r === 39)
2801
2797
  if (this.peek() === 39)
2802
- r.push(39), this.bump();
2798
+ n.push(39), this.bump();
2803
2799
  else {
2804
2800
  this.bump();
2805
2801
  break;
2806
2802
  }
2807
2803
  else
2808
- r.push(n);
2804
+ n.push(r);
2809
2805
  this.bump();
2810
2806
  }
2811
- return xt.apply(void 0, r);
2812
- }, e.prototype.tryParseUnquoted = function(t, r) {
2807
+ return Et.apply(void 0, n);
2808
+ }, e.prototype.tryParseUnquoted = function(t, n) {
2813
2809
  if (this.isEOF())
2814
2810
  return null;
2815
- var n = this.char();
2816
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), xt(n));
2817
- }, e.prototype.parseArgument = function(t, r) {
2818
- var n = this.clonePosition();
2811
+ var r = this.char();
2812
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Et(r));
2813
+ }, e.prototype.parseArgument = function(t, n) {
2814
+ var r = this.clonePosition();
2819
2815
  if (this.bump(), this.bumpSpace(), this.isEOF())
2820
- return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
2816
+ return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, T(r, this.clonePosition()));
2821
2817
  if (this.char() === 125)
2822
- return this.bump(), this.error(w.EMPTY_ARGUMENT, T(n, this.clonePosition()));
2818
+ return this.bump(), this.error(w.EMPTY_ARGUMENT, T(r, this.clonePosition()));
2823
2819
  var i = this.parseIdentifierIfPossible().value;
2824
2820
  if (!i)
2825
- return this.error(w.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
2821
+ return this.error(w.MALFORMED_ARGUMENT, T(r, this.clonePosition()));
2826
2822
  if (this.bumpSpace(), this.isEOF())
2827
- return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
2823
+ return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, T(r, this.clonePosition()));
2828
2824
  switch (this.char()) {
2829
2825
  case 125:
2830
2826
  return this.bump(), {
2831
2827
  val: {
2832
- type: L.argument,
2828
+ type: I.argument,
2833
2829
  // value does not include the opening and closing braces.
2834
2830
  value: i,
2835
- location: T(n, this.clonePosition())
2831
+ location: T(r, this.clonePosition())
2836
2832
  },
2837
2833
  err: null
2838
2834
  };
2839
2835
  case 44:
2840
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2836
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, T(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2841
2837
  default:
2842
- return this.error(w.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
2838
+ return this.error(w.MALFORMED_ARGUMENT, T(r, this.clonePosition()));
2843
2839
  }
2844
2840
  }, e.prototype.parseIdentifierIfPossible = function() {
2845
- var t = this.clonePosition(), r = this.offset(), n = wt(this.message, r), i = r + n.length;
2841
+ var t = this.clonePosition(), n = this.offset(), r = vt(this.message, n), i = n + r.length;
2846
2842
  this.bumpTo(i);
2847
2843
  var o = this.clonePosition(), a = T(t, o);
2848
- return { value: n, location: a };
2849
- }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2844
+ return { value: r, location: a };
2845
+ }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2850
2846
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2851
2847
  switch (s) {
2852
2848
  case "":
@@ -2861,7 +2857,7 @@ var Ei = (
2861
2857
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2862
2858
  if (c.err)
2863
2859
  return c;
2864
- var m = _i(c.val);
2860
+ var m = yi(c.val);
2865
2861
  if (m.length === 0)
2866
2862
  return this.error(w.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
2867
2863
  var _ = T(h, this.clonePosition());
@@ -2872,34 +2868,34 @@ var Ei = (
2872
2868
  return d;
2873
2869
  var g = T(i, this.clonePosition());
2874
2870
  if (l && $t(l == null ? void 0 : l.style, "::", 0)) {
2875
- var v = yi(l.style.slice(2));
2871
+ var v = bi(l.style.slice(2));
2876
2872
  if (s === "number") {
2877
2873
  var c = this.parseNumberSkeletonFromString(v, l.styleLocation);
2878
2874
  return c.err ? c : {
2879
- val: { type: L.number, value: n, location: g, style: c.val },
2875
+ val: { type: I.number, value: r, location: g, style: c.val },
2880
2876
  err: null
2881
2877
  };
2882
2878
  } else {
2883
2879
  if (v.length === 0)
2884
2880
  return this.error(w.EXPECT_DATE_TIME_SKELETON, g);
2885
2881
  var S = v;
2886
- this.locale && (S = oi(v, this.locale));
2882
+ this.locale && (S = ii(v, this.locale));
2887
2883
  var m = {
2888
- type: Me.dateTime,
2884
+ type: Pe.dateTime,
2889
2885
  pattern: S,
2890
2886
  location: l.styleLocation,
2891
- parsedOptions: this.shouldParseSkeletons ? Yn(S) : {}
2892
- }, P = s === "date" ? L.date : L.time;
2887
+ parsedOptions: this.shouldParseSkeletons ? Jr(S) : {}
2888
+ }, M = s === "date" ? I.date : I.time;
2893
2889
  return {
2894
- val: { type: P, value: n, location: g, style: m },
2890
+ val: { type: M, value: r, location: g, style: m },
2895
2891
  err: null
2896
2892
  };
2897
2893
  }
2898
2894
  }
2899
2895
  return {
2900
2896
  val: {
2901
- type: s === "number" ? L.number : s === "date" ? L.date : L.time,
2902
- value: n,
2897
+ type: s === "number" ? I.number : s === "date" ? I.date : I.time,
2898
+ value: r,
2903
2899
  location: g,
2904
2900
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
2905
2901
  },
@@ -2909,11 +2905,11 @@ var Ei = (
2909
2905
  case "plural":
2910
2906
  case "selectordinal":
2911
2907
  case "select": {
2912
- var I = this.clonePosition();
2908
+ var N = this.clonePosition();
2913
2909
  if (this.bumpSpace(), !this.bumpIf(","))
2914
- return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, T(I, Ye({}, I)));
2910
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, T(N, O({}, N)));
2915
2911
  this.bumpSpace();
2916
- var D = this.parseIdentifierIfPossible(), M = 0;
2912
+ var D = this.parseIdentifierIfPossible(), L = 0;
2917
2913
  if (s !== "select" && D.value === "offset") {
2918
2914
  if (!this.bumpIf(":"))
2919
2915
  return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
@@ -2921,29 +2917,29 @@ var Ei = (
2921
2917
  var c = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2922
2918
  if (c.err)
2923
2919
  return c;
2924
- this.bumpSpace(), D = this.parseIdentifierIfPossible(), M = c.val;
2920
+ this.bumpSpace(), D = this.parseIdentifierIfPossible(), L = c.val;
2925
2921
  }
2926
- var N = this.tryParsePluralOrSelectOptions(t, s, r, D);
2927
- if (N.err)
2928
- return N;
2922
+ var R = this.tryParsePluralOrSelectOptions(t, s, n, D);
2923
+ if (R.err)
2924
+ return R;
2929
2925
  var d = this.tryParseArgumentClose(i);
2930
2926
  if (d.err)
2931
2927
  return d;
2932
2928
  var te = T(i, this.clonePosition());
2933
2929
  return s === "select" ? {
2934
2930
  val: {
2935
- type: L.select,
2936
- value: n,
2937
- options: zt(N.val),
2931
+ type: I.select,
2932
+ value: r,
2933
+ options: zt(R.val),
2938
2934
  location: te
2939
2935
  },
2940
2936
  err: null
2941
2937
  } : {
2942
2938
  val: {
2943
- type: L.plural,
2944
- value: n,
2945
- options: zt(N.val),
2946
- offset: M,
2939
+ type: I.plural,
2940
+ value: r,
2941
+ options: zt(R.val),
2942
+ offset: L,
2947
2943
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2948
2944
  location: te
2949
2945
  },
@@ -2956,9 +2952,9 @@ var Ei = (
2956
2952
  }, e.prototype.tryParseArgumentClose = function(t) {
2957
2953
  return this.isEOF() || this.char() !== 125 ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, T(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2958
2954
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2959
- for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2960
- var n = this.char();
2961
- switch (n) {
2955
+ for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2956
+ var r = this.char();
2957
+ switch (r) {
2962
2958
  case 39: {
2963
2959
  this.bump();
2964
2960
  var i = this.clonePosition();
@@ -2976,7 +2972,7 @@ var Ei = (
2976
2972
  t -= 1;
2977
2973
  else
2978
2974
  return {
2979
- val: this.message.slice(r.offset, this.offset()),
2975
+ val: this.message.slice(n.offset, this.offset()),
2980
2976
  err: null
2981
2977
  };
2982
2978
  break;
@@ -2987,30 +2983,30 @@ var Ei = (
2987
2983
  }
2988
2984
  }
2989
2985
  return {
2990
- val: this.message.slice(r.offset, this.offset()),
2986
+ val: this.message.slice(n.offset, this.offset()),
2991
2987
  err: null
2992
2988
  };
2993
- }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2994
- var n = [];
2989
+ }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
2990
+ var r = [];
2995
2991
  try {
2996
- n = ei(t);
2992
+ r = Kr(t);
2997
2993
  } catch (i) {
2998
- return this.error(w.INVALID_NUMBER_SKELETON, r);
2994
+ return this.error(w.INVALID_NUMBER_SKELETON, n);
2999
2995
  }
3000
2996
  return {
3001
2997
  val: {
3002
- type: Me.number,
3003
- tokens: n,
3004
- location: r,
3005
- parsedOptions: this.shouldParseSkeletons ? ii(n) : {}
2998
+ type: Pe.number,
2999
+ tokens: r,
3000
+ location: n,
3001
+ parsedOptions: this.shouldParseSkeletons ? ri(r) : {}
3006
3002
  },
3007
3003
  err: null
3008
3004
  };
3009
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3005
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3010
3006
  for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3011
3007
  if (l.length === 0) {
3012
3008
  var c = this.clonePosition();
3013
- if (r !== "select" && this.bumpIf("=")) {
3009
+ if (n !== "select" && this.bumpIf("=")) {
3014
3010
  var m = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
3015
3011
  if (m.err)
3016
3012
  return m;
@@ -3019,12 +3015,12 @@ var Ei = (
3019
3015
  break;
3020
3016
  }
3021
3017
  if (u.has(l))
3022
- return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3018
+ return this.error(n === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3023
3019
  l === "other" && (a = !0), this.bumpSpace();
3024
3020
  var _ = this.clonePosition();
3025
3021
  if (!this.bumpIf("{"))
3026
- return this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
3027
- var d = this.parseMessage(t + 1, r, n);
3022
+ return this.error(n === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
3023
+ var d = this.parseMessage(t + 1, n, r);
3028
3024
  if (d.err)
3029
3025
  return d;
3030
3026
  var g = this.tryParseArgumentClose(_);
@@ -3038,10 +3034,10 @@ var Ei = (
3038
3034
  }
3039
3035
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3040
3036
  }
3041
- return s.length === 0 ? this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR : w.EXPECT_PLURAL_ARGUMENT_SELECTOR, T(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(w.MISSING_OTHER_CLAUSE, T(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3042
- }, e.prototype.tryParseDecimalInteger = function(t, r) {
3043
- var n = 1, i = this.clonePosition();
3044
- this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3037
+ return s.length === 0 ? this.error(n === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR : w.EXPECT_PLURAL_ARGUMENT_SELECTOR, T(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(w.MISSING_OTHER_CLAUSE, T(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3038
+ }, e.prototype.tryParseDecimalInteger = function(t, n) {
3039
+ var r = 1, i = this.clonePosition();
3040
+ this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3045
3041
  for (var o = !1, a = 0; !this.isEOF(); ) {
3046
3042
  var s = this.char();
3047
3043
  if (s >= 48 && s <= 57)
@@ -3050,7 +3046,7 @@ var Ei = (
3050
3046
  break;
3051
3047
  }
3052
3048
  var u = T(i, this.clonePosition());
3053
- return o ? (a *= n, gi(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3049
+ return o ? (a *= r, di(a) ? { val: a, err: null } : this.error(n, u)) : this.error(t, u);
3054
3050
  }, e.prototype.offset = function() {
3055
3051
  return this.position.offset;
3056
3052
  }, e.prototype.isEOF = function() {
@@ -3065,17 +3061,17 @@ var Ei = (
3065
3061
  var t = this.position.offset;
3066
3062
  if (t >= this.message.length)
3067
3063
  throw Error("out of bound");
3068
- var r = xr(this.message, t);
3069
- if (r === void 0)
3064
+ var n = wn(this.message, t);
3065
+ if (n === void 0)
3070
3066
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3071
- return r;
3072
- }, e.prototype.error = function(t, r) {
3067
+ return n;
3068
+ }, e.prototype.error = function(t, n) {
3073
3069
  return {
3074
3070
  val: null,
3075
3071
  err: {
3076
3072
  kind: t,
3077
3073
  message: this.message,
3078
- location: r
3074
+ location: n
3079
3075
  }
3080
3076
  };
3081
3077
  }, e.prototype.bump = function() {
@@ -3085,81 +3081,81 @@ var Ei = (
3085
3081
  }
3086
3082
  }, e.prototype.bumpIf = function(t) {
3087
3083
  if ($t(this.message, t, this.offset())) {
3088
- for (var r = 0; r < t.length; r++)
3084
+ for (var n = 0; n < t.length; n++)
3089
3085
  this.bump();
3090
3086
  return !0;
3091
3087
  }
3092
3088
  return !1;
3093
3089
  }, e.prototype.bumpUntil = function(t) {
3094
- var r = this.offset(), n = this.message.indexOf(t, r);
3095
- return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3090
+ var n = this.offset(), r = this.message.indexOf(t, n);
3091
+ return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3096
3092
  }, e.prototype.bumpTo = function(t) {
3097
3093
  if (this.offset() > t)
3098
3094
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3099
3095
  for (t = Math.min(t, this.message.length); ; ) {
3100
- var r = this.offset();
3101
- if (r === t)
3096
+ var n = this.offset();
3097
+ if (n === t)
3102
3098
  break;
3103
- if (r > t)
3099
+ if (n > t)
3104
3100
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3105
3101
  if (this.bump(), this.isEOF())
3106
3102
  break;
3107
3103
  }
3108
3104
  }, e.prototype.bumpSpace = function() {
3109
- for (; !this.isEOF() && Sr(this.char()); )
3105
+ for (; !this.isEOF() && Tn(this.char()); )
3110
3106
  this.bump();
3111
3107
  }, e.prototype.peek = function() {
3112
3108
  if (this.isEOF())
3113
3109
  return null;
3114
- var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3115
- return n != null ? n : null;
3110
+ var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3111
+ return r != null ? r : null;
3116
3112
  }, e;
3117
3113
  }()
3118
3114
  );
3119
- function St(e) {
3115
+ function xt(e) {
3120
3116
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3121
3117
  }
3122
- function vi(e) {
3123
- return St(e) || e === 47;
3118
+ function Ei(e) {
3119
+ return xt(e) || e === 47;
3124
3120
  }
3125
- function xi(e) {
3121
+ function vi(e) {
3126
3122
  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;
3127
3123
  }
3128
- function Sr(e) {
3124
+ function Tn(e) {
3129
3125
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3130
3126
  }
3131
- function wi(e) {
3127
+ function xi(e) {
3132
3128
  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;
3133
3129
  }
3134
- function Tt(e) {
3130
+ function wt(e) {
3135
3131
  e.forEach(function(t) {
3136
- if (delete t.location, mr(t) || dr(t))
3137
- for (var r in t.options)
3138
- delete t.options[r].location, Tt(t.options[r].value);
3132
+ if (delete t.location, dn(t) || gn(t))
3133
+ for (var n in t.options)
3134
+ delete t.options[n].location, wt(t.options[n].value);
3139
3135
  else
3140
- cr(t) && br(t.style) || (fr(t) || pr(t)) && Et(t.style) ? delete t.style.location : gr(t) && Tt(t.children);
3136
+ fn(t) && yn(t.style) || (pn(t) || mn(t)) && yt(t.style) ? delete t.style.location : bn(t) && wt(t.children);
3141
3137
  });
3142
3138
  }
3143
- function Si(e, t) {
3144
- t === void 0 && (t = {}), t = Ye({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3145
- var r = new Ei(e, t).parse();
3146
- if (r.err) {
3147
- var n = SyntaxError(w[r.err.kind]);
3148
- throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3139
+ function wi(e, t) {
3140
+ t === void 0 && (t = {}), t = O({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3141
+ var n = new _i(e, t).parse();
3142
+ if (n.err) {
3143
+ var r = SyntaxError(w[n.err.kind]);
3144
+ throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3149
3145
  }
3150
- return t != null && t.captureLocation || Tt(r.val), r.val;
3146
+ return t != null && t.captureLocation || wt(n.val), n.val;
3151
3147
  }
3152
- var Le;
3148
+ var Me;
3153
3149
  (function(e) {
3154
3150
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3155
- })(Le || (Le = {}));
3156
- var nt = (
3151
+ })(Me || (Me = {}));
3152
+ var tt = (
3157
3153
  /** @class */
3158
3154
  function(e) {
3159
- rt(t, e);
3160
- function t(r, n, i) {
3161
- var o = e.call(this, r) || this;
3162
- return o.code = n, o.originalMessage = i, o;
3155
+ et(t, e);
3156
+ function t(n, r, i) {
3157
+ var o = e.call(this, n) || this;
3158
+ return o.code = r, o.originalMessage = i, o;
3163
3159
  }
3164
3160
  return t.prototype.toString = function() {
3165
3161
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
@@ -3168,44 +3164,44 @@ var nt = (
3168
3164
  ), Wt = (
3169
3165
  /** @class */
3170
3166
  function(e) {
3171
- rt(t, e);
3172
- function t(r, n, i, o) {
3173
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Le.INVALID_VALUE, o) || this;
3167
+ et(t, e);
3168
+ function t(n, r, i, o) {
3169
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Me.INVALID_VALUE, o) || this;
3174
3170
  }
3175
3171
  return t;
3176
- }(nt)
3177
- ), Ti = (
3172
+ }(tt)
3173
+ ), Si = (
3178
3174
  /** @class */
3179
3175
  function(e) {
3180
- rt(t, e);
3181
- function t(r, n, i) {
3182
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Le.INVALID_VALUE, i) || this;
3176
+ et(t, e);
3177
+ function t(n, r, i) {
3178
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Me.INVALID_VALUE, i) || this;
3183
3179
  }
3184
3180
  return t;
3185
- }(nt)
3186
- ), Oi = (
3181
+ }(tt)
3182
+ ), Ti = (
3187
3183
  /** @class */
3188
3184
  function(e) {
3189
- rt(t, e);
3190
- function t(r, n) {
3191
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Le.MISSING_VALUE, n) || this;
3185
+ et(t, e);
3186
+ function t(n, r) {
3187
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Me.MISSING_VALUE, r) || this;
3192
3188
  }
3193
3189
  return t;
3194
- }(nt)
3190
+ }(tt)
3195
3191
  ), q;
3196
3192
  (function(e) {
3197
3193
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3198
3194
  })(q || (q = {}));
3199
3195
  function Hi(e) {
3200
- return e.length < 2 ? e : e.reduce(function(t, r) {
3201
- var n = t[t.length - 1];
3202
- return !n || n.type !== q.literal || r.type !== q.literal ? t.push(r) : n.value += r.value, t;
3196
+ return e.length < 2 ? e : e.reduce(function(t, n) {
3197
+ var r = t[t.length - 1];
3198
+ return !r || r.type !== q.literal || n.type !== q.literal ? t.push(n) : r.value += n.value, t;
3203
3199
  }, []);
3204
3200
  }
3205
- function Ai(e) {
3201
+ function Oi(e) {
3206
3202
  return typeof e == "function";
3207
3203
  }
3208
- function qe(e, t, r, n, i, o, a) {
3204
+ function Ze(e, t, n, r, i, o, a) {
3209
3205
  if (e.length === 1 && Gt(e[0]))
3210
3206
  return [
3211
3207
  {
@@ -3222,148 +3218,148 @@ function qe(e, t, r, n, i, o, a) {
3222
3218
  });
3223
3219
  continue;
3224
3220
  }
3225
- if (Qn(h)) {
3221
+ if (qr(h)) {
3226
3222
  typeof o == "number" && s.push({
3227
3223
  type: q.literal,
3228
- value: r.getNumberFormat(t).format(o)
3224
+ value: n.getNumberFormat(t).format(o)
3229
3225
  });
3230
3226
  continue;
3231
3227
  }
3232
3228
  var c = h.value;
3233
3229
  if (!(i && c in i))
3234
- throw new Oi(c, a);
3230
+ throw new Ti(c, a);
3235
3231
  var m = i[c];
3236
- if (qn(h)) {
3232
+ if (Zr(h)) {
3237
3233
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
3238
3234
  type: typeof m == "string" ? q.literal : q.object,
3239
3235
  value: m
3240
3236
  });
3241
3237
  continue;
3242
3238
  }
3243
- if (fr(h)) {
3244
- var _ = typeof h.style == "string" ? n.date[h.style] : Et(h.style) ? h.style.parsedOptions : void 0;
3239
+ if (pn(h)) {
3240
+ var _ = typeof h.style == "string" ? r.date[h.style] : yt(h.style) ? h.style.parsedOptions : void 0;
3245
3241
  s.push({
3246
3242
  type: q.literal,
3247
- value: r.getDateTimeFormat(t, _).format(m)
3243
+ value: n.getDateTimeFormat(t, _).format(m)
3248
3244
  });
3249
3245
  continue;
3250
3246
  }
3251
- if (pr(h)) {
3252
- var _ = typeof h.style == "string" ? n.time[h.style] : Et(h.style) ? h.style.parsedOptions : n.time.medium;
3247
+ if (mn(h)) {
3248
+ var _ = typeof h.style == "string" ? r.time[h.style] : yt(h.style) ? h.style.parsedOptions : r.time.medium;
3253
3249
  s.push({
3254
3250
  type: q.literal,
3255
- value: r.getDateTimeFormat(t, _).format(m)
3251
+ value: n.getDateTimeFormat(t, _).format(m)
3256
3252
  });
3257
3253
  continue;
3258
3254
  }
3259
- if (cr(h)) {
3260
- var _ = typeof h.style == "string" ? n.number[h.style] : br(h.style) ? h.style.parsedOptions : void 0;
3255
+ if (fn(h)) {
3256
+ var _ = typeof h.style == "string" ? r.number[h.style] : yn(h.style) ? h.style.parsedOptions : void 0;
3261
3257
  _ && _.scale && (m = m * (_.scale || 1)), s.push({
3262
3258
  type: q.literal,
3263
- value: r.getNumberFormat(t, _).format(m)
3259
+ value: n.getNumberFormat(t, _).format(m)
3264
3260
  });
3265
3261
  continue;
3266
3262
  }
3267
- if (gr(h)) {
3263
+ if (bn(h)) {
3268
3264
  var d = h.children, g = h.value, v = i[g];
3269
- if (!Ai(v))
3270
- throw new Ti(g, "function", a);
3271
- var S = qe(d, t, r, n, i, o), P = v(S.map(function(M) {
3272
- return M.value;
3265
+ if (!Oi(v))
3266
+ throw new Si(g, "function", a);
3267
+ var S = Ze(d, t, n, r, i, o), M = v(S.map(function(L) {
3268
+ return L.value;
3273
3269
  }));
3274
- Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(M) {
3270
+ Array.isArray(M) || (M = [M]), s.push.apply(s, M.map(function(L) {
3275
3271
  return {
3276
- type: typeof M == "string" ? q.literal : q.object,
3277
- value: M
3272
+ type: typeof L == "string" ? q.literal : q.object,
3273
+ value: L
3278
3274
  };
3279
3275
  }));
3280
3276
  }
3281
- if (mr(h)) {
3282
- var I = h.options[m] || h.options.other;
3283
- if (!I)
3277
+ if (dn(h)) {
3278
+ var N = h.options[m] || h.options.other;
3279
+ if (!N)
3284
3280
  throw new Wt(h.value, m, Object.keys(h.options), a);
3285
- s.push.apply(s, qe(I.value, t, r, n, i));
3281
+ s.push.apply(s, Ze(N.value, t, n, r, i));
3286
3282
  continue;
3287
3283
  }
3288
- if (dr(h)) {
3289
- var I = h.options["=".concat(m)];
3290
- if (!I) {
3284
+ if (gn(h)) {
3285
+ var N = h.options["=".concat(m)];
3286
+ if (!N) {
3291
3287
  if (!Intl.PluralRules)
3292
- throw new nt(`Intl.PluralRules is not available in this environment.
3288
+ throw new tt(`Intl.PluralRules is not available in this environment.
3293
3289
  Try polyfilling it using "@formatjs/intl-pluralrules"
3294
- `, Le.MISSING_INTL_API, a);
3295
- var D = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3296
- I = h.options[D] || h.options.other;
3290
+ `, Me.MISSING_INTL_API, a);
3291
+ var D = n.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3292
+ N = h.options[D] || h.options.other;
3297
3293
  }
3298
- if (!I)
3294
+ if (!N)
3299
3295
  throw new Wt(h.value, m, Object.keys(h.options), a);
3300
- s.push.apply(s, qe(I.value, t, r, n, i, m - (h.offset || 0)));
3296
+ s.push.apply(s, Ze(N.value, t, n, r, i, m - (h.offset || 0)));
3301
3297
  continue;
3302
3298
  }
3303
3299
  }
3304
3300
  return Hi(s);
3305
3301
  }
3306
- function Ci(e, t) {
3307
- return t ? le(le(le({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3308
- return r[n] = le(le({}, e[n]), t[n] || {}), r;
3302
+ function Ai(e, t) {
3303
+ return t ? O(O(O({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3304
+ return n[r] = O(O({}, e[r]), t[r] || {}), n;
3309
3305
  }, {})) : e;
3310
3306
  }
3311
- function Bi(e, t) {
3312
- return t ? Object.keys(e).reduce(function(r, n) {
3313
- return r[n] = Ci(e[n], t[n]), r;
3314
- }, le({}, e)) : e;
3307
+ function Ci(e, t) {
3308
+ return t ? Object.keys(e).reduce(function(n, r) {
3309
+ return n[r] = Ai(e[r], t[r]), n;
3310
+ }, O({}, e)) : e;
3315
3311
  }
3316
- function dt(e) {
3312
+ function pt(e) {
3317
3313
  return {
3318
3314
  create: function() {
3319
3315
  return {
3320
3316
  get: function(t) {
3321
3317
  return e[t];
3322
3318
  },
3323
- set: function(t, r) {
3324
- e[t] = r;
3319
+ set: function(t, n) {
3320
+ e[t] = n;
3325
3321
  }
3326
3322
  };
3327
3323
  }
3328
3324
  };
3329
3325
  }
3330
- function Pi(e) {
3326
+ function Bi(e) {
3331
3327
  return e === void 0 && (e = {
3332
3328
  number: {},
3333
3329
  dateTime: {},
3334
3330
  pluralRules: {}
3335
3331
  }), {
3336
- getNumberFormat: ft(function() {
3337
- for (var t, r = [], n = 0; n < arguments.length; n++)
3338
- r[n] = arguments[n];
3339
- return new ((t = Intl.NumberFormat).bind.apply(t, ct([void 0], r, !1)))();
3332
+ getNumberFormat: ht(function() {
3333
+ for (var t, n = [], r = 0; r < arguments.length; r++)
3334
+ n[r] = arguments[r];
3335
+ return new ((t = Intl.NumberFormat).bind.apply(t, ut([void 0], n, !1)))();
3340
3336
  }, {
3341
- cache: dt(e.number),
3342
- strategy: pt.variadic
3337
+ cache: pt(e.number),
3338
+ strategy: ct.variadic
3343
3339
  }),
3344
- getDateTimeFormat: ft(function() {
3345
- for (var t, r = [], n = 0; n < arguments.length; n++)
3346
- r[n] = arguments[n];
3347
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ct([void 0], r, !1)))();
3340
+ getDateTimeFormat: ht(function() {
3341
+ for (var t, n = [], r = 0; r < arguments.length; r++)
3342
+ n[r] = arguments[r];
3343
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ut([void 0], n, !1)))();
3348
3344
  }, {
3349
- cache: dt(e.dateTime),
3350
- strategy: pt.variadic
3345
+ cache: pt(e.dateTime),
3346
+ strategy: ct.variadic
3351
3347
  }),
3352
- getPluralRules: ft(function() {
3353
- for (var t, r = [], n = 0; n < arguments.length; n++)
3354
- r[n] = arguments[n];
3355
- return new ((t = Intl.PluralRules).bind.apply(t, ct([void 0], r, !1)))();
3348
+ getPluralRules: ht(function() {
3349
+ for (var t, n = [], r = 0; r < arguments.length; r++)
3350
+ n[r] = arguments[r];
3351
+ return new ((t = Intl.PluralRules).bind.apply(t, ut([void 0], n, !1)))();
3356
3352
  }, {
3357
- cache: dt(e.pluralRules),
3358
- strategy: pt.variadic
3353
+ cache: pt(e.pluralRules),
3354
+ strategy: ct.variadic
3359
3355
  })
3360
3356
  };
3361
3357
  }
3362
- var Mi = (
3358
+ var Pi = (
3363
3359
  /** @class */
3364
3360
  function() {
3365
- function e(t, r, n, i) {
3366
- r === void 0 && (r = e.defaultLocale);
3361
+ function e(t, n, r, i) {
3362
+ n === void 0 && (n = e.defaultLocale);
3367
3363
  var o = this;
3368
3364
  if (this.formatterCache = {
3369
3365
  number: {},
@@ -3378,7 +3374,7 @@ var Mi = (
3378
3374
  }, []);
3379
3375
  return h.length <= 1 ? h[0] || "" : h;
3380
3376
  }, this.formatToParts = function(u) {
3381
- return qe(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3377
+ return Ze(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3382
3378
  }, this.resolvedOptions = function() {
3383
3379
  var u;
3384
3380
  return {
@@ -3386,18 +3382,18 @@ var Mi = (
3386
3382
  };
3387
3383
  }, this.getAst = function() {
3388
3384
  return o.ast;
3389
- }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3385
+ }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3390
3386
  if (this.message = t, !e.__parse)
3391
3387
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3392
3388
  var a = i || {};
3393
3389
  a.formatters;
3394
- var s = Fn(a, ["formatters"]);
3395
- this.ast = e.__parse(t, le(le({}, s), { locale: this.resolvedLocale }));
3390
+ var s = Fr(a, ["formatters"]);
3391
+ this.ast = e.__parse(t, O(O({}, s), { locale: this.resolvedLocale }));
3396
3392
  } else
3397
3393
  this.ast = t;
3398
3394
  if (!Array.isArray(this.ast))
3399
3395
  throw new TypeError("A message must be provided as a String or AST.");
3400
- this.formats = Bi(e.formats, n), this.formatters = i && i.formatters || Pi(this.formatterCache);
3396
+ this.formats = Ci(e.formats, r), this.formatters = i && i.formatters || Bi(this.formatterCache);
3401
3397
  }
3402
3398
  return Object.defineProperty(e, "defaultLocale", {
3403
3399
  get: function() {
@@ -3407,10 +3403,10 @@ var Mi = (
3407
3403
  configurable: !0
3408
3404
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3409
3405
  if (typeof Intl.Locale != "undefined") {
3410
- var r = Intl.NumberFormat.supportedLocalesOf(t);
3411
- return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3406
+ var n = Intl.NumberFormat.supportedLocalesOf(t);
3407
+ return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3412
3408
  }
3413
- }, e.__parse = Si, e.formats = {
3409
+ }, e.__parse = wi, e.formats = {
3414
3410
  number: {
3415
3411
  integer: {
3416
3412
  maximumFractionDigits: 0
@@ -3471,113 +3467,113 @@ var Mi = (
3471
3467
  }, e;
3472
3468
  }()
3473
3469
  );
3474
- function Li(e, t) {
3470
+ function Mi(e, t) {
3475
3471
  if (t == null)
3476
3472
  return;
3477
3473
  if (t in e)
3478
3474
  return e[t];
3479
- const r = t.split(".");
3480
- let n = e;
3481
- for (let i = 0; i < r.length; i++)
3482
- if (typeof n == "object") {
3475
+ const n = t.split(".");
3476
+ let r = e;
3477
+ for (let i = 0; i < n.length; i++)
3478
+ if (typeof r == "object") {
3483
3479
  if (i > 0) {
3484
- const o = r.slice(i, r.length).join(".");
3485
- if (o in n) {
3486
- n = n[o];
3480
+ const o = n.slice(i, n.length).join(".");
3481
+ if (o in r) {
3482
+ r = r[o];
3487
3483
  break;
3488
3484
  }
3489
3485
  }
3490
- n = n[r[i]];
3486
+ r = r[n[i]];
3491
3487
  } else
3492
- n = void 0;
3493
- return n;
3488
+ r = void 0;
3489
+ return r;
3494
3490
  }
3495
- const me = {}, Ii = (e, t, r) => r && (t in me || (me[t] = {}), e in me[t] || (me[t][e] = r), r), Tr = (e, t) => {
3491
+ const pe = {}, Li = (e, t, n) => n && (t in pe || (pe[t] = {}), e in pe[t] || (pe[t][e] = n), n), Hn = (e, t) => {
3496
3492
  if (t == null)
3497
3493
  return;
3498
- if (t in me && e in me[t])
3499
- return me[t][e];
3500
- const r = it(t);
3501
- for (let n = 0; n < r.length; n++) {
3502
- const i = r[n], o = Ri(i, e);
3494
+ if (t in pe && e in pe[t])
3495
+ return pe[t][e];
3496
+ const n = nt(t);
3497
+ for (let r = 0; r < n.length; r++) {
3498
+ const i = n[r], o = Ni(i, e);
3503
3499
  if (o)
3504
- return Ii(e, t, o);
3500
+ return Li(e, t, o);
3505
3501
  }
3506
3502
  };
3507
3503
  let Ct;
3508
- const Ve = tt({});
3509
- function Ni(e) {
3504
+ const je = Ke({});
3505
+ function Ii(e) {
3510
3506
  return Ct[e] || null;
3511
3507
  }
3512
- function Or(e) {
3508
+ function On(e) {
3513
3509
  return e in Ct;
3514
3510
  }
3515
- function Ri(e, t) {
3516
- if (!Or(e))
3511
+ function Ni(e, t) {
3512
+ if (!On(e))
3517
3513
  return null;
3518
- const r = Ni(e);
3519
- return Li(r, t);
3514
+ const n = Ii(e);
3515
+ return Mi(n, t);
3520
3516
  }
3521
- function ki(e) {
3517
+ function Ri(e) {
3522
3518
  if (e == null)
3523
3519
  return;
3524
- const t = it(e);
3525
- for (let r = 0; r < t.length; r++) {
3526
- const n = t[r];
3527
- if (Or(n))
3528
- return n;
3520
+ const t = nt(e);
3521
+ for (let n = 0; n < t.length; n++) {
3522
+ const r = t[n];
3523
+ if (On(r))
3524
+ return r;
3529
3525
  }
3530
3526
  }
3531
- function Hr(e, ...t) {
3532
- delete me[e], Ve.update((r) => (r[e] = Gn.all([r[e] || {}, ...t]), r));
3527
+ function An(e, ...t) {
3528
+ delete pe[e], je.update((n) => (n[e] = Gr.all([n[e] || {}, ...t]), n));
3533
3529
  }
3534
- Ne(
3535
- [Ve],
3530
+ Ie(
3531
+ [je],
3536
3532
  ([e]) => Object.keys(e)
3537
3533
  );
3538
- Ve.subscribe((e) => Ct = e);
3539
- const Qe = {};
3540
- function Di(e, t) {
3541
- Qe[e].delete(t), Qe[e].size === 0 && delete Qe[e];
3542
- }
3543
- function Ar(e) {
3544
- return Qe[e];
3545
- }
3546
- function Ui(e) {
3547
- return it(e).map((t) => {
3548
- const r = Ar(t);
3549
- return [t, r ? [...r] : []];
3534
+ je.subscribe((e) => Ct = e);
3535
+ const qe = {};
3536
+ function ki(e, t) {
3537
+ qe[e].delete(t), qe[e].size === 0 && delete qe[e];
3538
+ }
3539
+ function Cn(e) {
3540
+ return qe[e];
3541
+ }
3542
+ function Di(e) {
3543
+ return nt(e).map((t) => {
3544
+ const n = Cn(t);
3545
+ return [t, n ? [...n] : []];
3550
3546
  }).filter(([, t]) => t.length > 0);
3551
3547
  }
3552
- function Ot(e) {
3553
- return e == null ? !1 : it(e).some(
3548
+ function St(e) {
3549
+ return e == null ? !1 : nt(e).some(
3554
3550
  (t) => {
3555
- var r;
3556
- return (r = Ar(t)) == null ? void 0 : r.size;
3551
+ var n;
3552
+ return (n = Cn(t)) == null ? void 0 : n.size;
3557
3553
  }
3558
3554
  );
3559
3555
  }
3560
- function Gi(e, t) {
3556
+ function Ui(e, t) {
3561
3557
  return Promise.all(
3562
- t.map((n) => (Di(e, n), n().then((i) => i.default || i)))
3563
- ).then((n) => Hr(e, ...n));
3564
- }
3565
- const De = {};
3566
- function Cr(e) {
3567
- if (!Ot(e))
3568
- return e in De ? De[e] : Promise.resolve();
3569
- const t = Ui(e);
3570
- return De[e] = Promise.all(
3558
+ t.map((r) => (ki(e, r), r().then((i) => i.default || i)))
3559
+ ).then((r) => An(e, ...r));
3560
+ }
3561
+ const ke = {};
3562
+ function Bn(e) {
3563
+ if (!St(e))
3564
+ return e in ke ? ke[e] : Promise.resolve();
3565
+ const t = Di(e);
3566
+ return ke[e] = Promise.all(
3571
3567
  t.map(
3572
- ([r, n]) => Gi(r, n)
3568
+ ([n, r]) => Ui(n, r)
3573
3569
  )
3574
3570
  ).then(() => {
3575
- if (Ot(e))
3576
- return Cr(e);
3577
- delete De[e];
3578
- }), De[e];
3571
+ if (St(e))
3572
+ return Bn(e);
3573
+ delete ke[e];
3574
+ }), ke[e];
3579
3575
  }
3580
- const Fi = {
3576
+ const Gi = {
3581
3577
  number: {
3582
3578
  scientific: { notation: "scientific" },
3583
3579
  engineering: { notation: "engineering" },
@@ -3606,150 +3602,150 @@ const Fi = {
3606
3602
  timeZoneName: "short"
3607
3603
  }
3608
3604
  }
3609
- }, ji = {
3605
+ }, Fi = {
3610
3606
  fallbackLocale: null,
3611
3607
  loadingDelay: 200,
3612
- formats: Fi,
3608
+ formats: Gi,
3613
3609
  warnOnMissingMessages: !0,
3614
3610
  handleMissingMessage: void 0,
3615
3611
  ignoreTag: !0
3616
- }, Vi = ji;
3617
- function Ie() {
3618
- return Vi;
3619
- }
3620
- const gt = tt(!1);
3621
- var $i = Object.defineProperty, zi = Object.defineProperties, Xi = Object.getOwnPropertyDescriptors, Zt = Object.getOwnPropertySymbols, Wi = Object.prototype.hasOwnProperty, Zi = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qi = (e, t) => {
3622
- for (var r in t || (t = {}))
3623
- Wi.call(t, r) && qt(e, r, t[r]);
3612
+ }, ji = Fi;
3613
+ function Le() {
3614
+ return ji;
3615
+ }
3616
+ const mt = Ke(!1);
3617
+ var Vi = Object.defineProperty, $i = Object.defineProperties, zi = Object.getOwnPropertyDescriptors, Zt = Object.getOwnPropertySymbols, Xi = Object.prototype.hasOwnProperty, Wi = Object.prototype.propertyIsEnumerable, qt = (e, t, n) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Zi = (e, t) => {
3618
+ for (var n in t || (t = {}))
3619
+ Xi.call(t, n) && qt(e, n, t[n]);
3624
3620
  if (Zt)
3625
- for (var r of Zt(t))
3626
- Zi.call(t, r) && qt(e, r, t[r]);
3621
+ for (var n of Zt(t))
3622
+ Wi.call(t, n) && qt(e, n, t[n]);
3627
3623
  return e;
3628
- }, Qi = (e, t) => zi(e, Xi(t));
3629
- let Ht;
3630
- const Ke = tt(null);
3624
+ }, qi = (e, t) => $i(e, zi(t));
3625
+ let Tt;
3626
+ const Je = Ke(null);
3631
3627
  function Qt(e) {
3632
- return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3628
+ return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3633
3629
  }
3634
- function it(e, t = Ie().fallbackLocale) {
3635
- const r = Qt(e);
3636
- return t ? [.../* @__PURE__ */ new Set([...r, ...Qt(t)])] : r;
3630
+ function nt(e, t = Le().fallbackLocale) {
3631
+ const n = Qt(e);
3632
+ return t ? [.../* @__PURE__ */ new Set([...n, ...Qt(t)])] : n;
3637
3633
  }
3638
- function we() {
3639
- return Ht != null ? Ht : void 0;
3634
+ function xe() {
3635
+ return Tt != null ? Tt : void 0;
3640
3636
  }
3641
- Ke.subscribe((e) => {
3642
- Ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3637
+ Je.subscribe((e) => {
3638
+ Tt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3643
3639
  });
3644
- const Ji = (e) => {
3645
- if (e && ki(e) && Ot(e)) {
3646
- const { loadingDelay: t } = Ie();
3647
- let r;
3648
- return typeof window != "undefined" && we() != null && t ? r = window.setTimeout(
3649
- () => gt.set(!0),
3640
+ const Qi = (e) => {
3641
+ if (e && Ri(e) && St(e)) {
3642
+ const { loadingDelay: t } = Le();
3643
+ let n;
3644
+ return typeof window != "undefined" && xe() != null && t ? n = window.setTimeout(
3645
+ () => mt.set(!0),
3650
3646
  t
3651
- ) : gt.set(!0), Cr(e).then(() => {
3652
- Ke.set(e);
3647
+ ) : mt.set(!0), Bn(e).then(() => {
3648
+ Je.set(e);
3653
3649
  }).finally(() => {
3654
- clearTimeout(r), gt.set(!1);
3650
+ clearTimeout(n), mt.set(!1);
3655
3651
  });
3656
3652
  }
3657
- return Ke.set(e);
3658
- }, Re = Qi(qi({}, Ke), {
3659
- set: Ji
3660
- }), ot = (e) => {
3653
+ return Je.set(e);
3654
+ }, Ne = qi(Zi({}, Je), {
3655
+ set: Qi
3656
+ }), rt = (e) => {
3661
3657
  const t = /* @__PURE__ */ Object.create(null);
3662
- return (n) => {
3663
- const i = JSON.stringify(n);
3664
- return i in t ? t[i] : t[i] = e(n);
3658
+ return (r) => {
3659
+ const i = JSON.stringify(r);
3660
+ return i in t ? t[i] : t[i] = e(r);
3665
3661
  };
3666
3662
  };
3667
- var Yi = Object.defineProperty, et = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Jt = (e, t, r) => t in e ? Yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bt = (e, t) => {
3668
- for (var r in t || (t = {}))
3669
- Br.call(t, r) && Jt(e, r, t[r]);
3670
- if (et)
3671
- for (var r of et(t))
3672
- Pr.call(t, r) && Jt(e, r, t[r]);
3663
+ var Ji = Object.defineProperty, Ye = Object.getOwnPropertySymbols, Pn = Object.prototype.hasOwnProperty, Mn = Object.prototype.propertyIsEnumerable, Jt = (e, t, n) => t in e ? Ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Bt = (e, t) => {
3664
+ for (var n in t || (t = {}))
3665
+ Pn.call(t, n) && Jt(e, n, t[n]);
3666
+ if (Ye)
3667
+ for (var n of Ye(t))
3668
+ Mn.call(t, n) && Jt(e, n, t[n]);
3673
3669
  return e;
3674
- }, ke = (e, t) => {
3675
- var r = {};
3676
- for (var n in e)
3677
- Br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3678
- if (e != null && et)
3679
- for (var n of et(e))
3680
- t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
3681
- return r;
3670
+ }, Re = (e, t) => {
3671
+ var n = {};
3672
+ for (var r in e)
3673
+ Pn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3674
+ if (e != null && Ye)
3675
+ for (var r of Ye(e))
3676
+ t.indexOf(r) < 0 && Mn.call(e, r) && (n[r] = e[r]);
3677
+ return n;
3682
3678
  };
3683
- const je = (e, t) => {
3684
- const { formats: r } = Ie();
3685
- if (e in r && t in r[e])
3686
- return r[e][t];
3679
+ const Fe = (e, t) => {
3680
+ const { formats: n } = Le();
3681
+ if (e in n && t in n[e])
3682
+ return n[e][t];
3687
3683
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3688
- }, Ki = ot(
3684
+ }, Yi = rt(
3689
3685
  (e) => {
3690
- var t = e, { locale: r, format: n } = t, i = ke(t, ["locale", "format"]);
3691
- if (r == null)
3686
+ var t = e, { locale: n, format: r } = t, i = Re(t, ["locale", "format"]);
3687
+ if (n == null)
3692
3688
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3693
- return n && (i = je("number", n)), new Intl.NumberFormat(r, i);
3689
+ return r && (i = Fe("number", r)), new Intl.NumberFormat(n, i);
3694
3690
  }
3695
- ), eo = ot(
3691
+ ), Ki = rt(
3696
3692
  (e) => {
3697
- var t = e, { locale: r, format: n } = t, i = ke(t, ["locale", "format"]);
3698
- if (r == null)
3693
+ var t = e, { locale: n, format: r } = t, i = Re(t, ["locale", "format"]);
3694
+ if (n == null)
3699
3695
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3700
- return n ? i = je("date", n) : Object.keys(i).length === 0 && (i = je("date", "short")), new Intl.DateTimeFormat(r, i);
3696
+ return r ? i = Fe("date", r) : Object.keys(i).length === 0 && (i = Fe("date", "short")), new Intl.DateTimeFormat(n, i);
3701
3697
  }
3702
- ), to = ot(
3698
+ ), eo = rt(
3703
3699
  (e) => {
3704
- var t = e, { locale: r, format: n } = t, i = ke(t, ["locale", "format"]);
3705
- if (r == null)
3700
+ var t = e, { locale: n, format: r } = t, i = Re(t, ["locale", "format"]);
3701
+ if (n == null)
3706
3702
  throw new Error(
3707
3703
  '[svelte-i18n] A "locale" must be set to format time values'
3708
3704
  );
3709
- return n ? i = je("time", n) : Object.keys(i).length === 0 && (i = je("time", "short")), new Intl.DateTimeFormat(r, i);
3705
+ return r ? i = Fe("time", r) : Object.keys(i).length === 0 && (i = Fe("time", "short")), new Intl.DateTimeFormat(n, i);
3710
3706
  }
3711
- ), ro = (e = {}) => {
3707
+ ), to = (e = {}) => {
3712
3708
  var t = e, {
3713
- locale: r = we()
3714
- } = t, n = ke(t, [
3709
+ locale: n = xe()
3710
+ } = t, r = Re(t, [
3715
3711
  "locale"
3716
3712
  ]);
3717
- return Ki(Bt({ locale: r }, n));
3713
+ return Yi(Bt({ locale: n }, r));
3718
3714
  }, no = (e = {}) => {
3719
3715
  var t = e, {
3720
- locale: r = we()
3721
- } = t, n = ke(t, [
3716
+ locale: n = xe()
3717
+ } = t, r = Re(t, [
3722
3718
  "locale"
3723
3719
  ]);
3724
- return eo(Bt({ locale: r }, n));
3725
- }, io = (e = {}) => {
3720
+ return Ki(Bt({ locale: n }, r));
3721
+ }, ro = (e = {}) => {
3726
3722
  var t = e, {
3727
- locale: r = we()
3728
- } = t, n = ke(t, [
3723
+ locale: n = xe()
3724
+ } = t, r = Re(t, [
3729
3725
  "locale"
3730
3726
  ]);
3731
- return to(Bt({ locale: r }, n));
3732
- }, oo = ot(
3727
+ return eo(Bt({ locale: n }, r));
3728
+ }, io = rt(
3733
3729
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3734
- (e, t = we()) => new Mi(e, t, Ie().formats, {
3735
- ignoreTag: Ie().ignoreTag
3730
+ (e, t = xe()) => new Pi(e, t, Le().formats, {
3731
+ ignoreTag: Le().ignoreTag
3736
3732
  })
3737
- ), so = (e, t = {}) => {
3738
- var r, n, i, o;
3733
+ ), oo = (e, t = {}) => {
3734
+ var n, r, i, o;
3739
3735
  let a = t;
3740
3736
  typeof e == "object" && (a = e, e = a.id);
3741
3737
  const {
3742
3738
  values: s,
3743
- locale: u = we(),
3739
+ locale: u = xe(),
3744
3740
  default: l
3745
3741
  } = a;
3746
3742
  if (u == null)
3747
3743
  throw new Error(
3748
3744
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3749
3745
  );
3750
- let h = Tr(e, u);
3746
+ let h = Hn(e, u);
3751
3747
  if (!h)
3752
- h = (o = (i = (n = (r = Ie()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3748
+ h = (o = (i = (r = (n = Le()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3753
3749
  else if (typeof h != "string")
3754
3750
  return console.warn(
3755
3751
  `[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.`
@@ -3758,7 +3754,7 @@ const je = (e, t) => {
3758
3754
  return h;
3759
3755
  let c = h;
3760
3756
  try {
3761
- c = oo(h, u).format(s);
3757
+ c = io(h, u).format(s);
3762
3758
  } catch (m) {
3763
3759
  m instanceof Error && console.warn(
3764
3760
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3766,16 +3762,16 @@ const je = (e, t) => {
3766
3762
  );
3767
3763
  }
3768
3764
  return c;
3769
- }, ao = (e, t) => io(t).format(e), lo = (e, t) => no(t).format(e), uo = (e, t) => ro(t).format(e), ho = (e, t = we()) => Tr(e, t), co = Ne([Re, Ve], () => so);
3770
- Ne([Re], () => ao);
3771
- Ne([Re], () => lo);
3772
- Ne([Re], () => uo);
3773
- Ne([Re, Ve], () => ho);
3765
+ }, so = (e, t) => ro(t).format(e), ao = (e, t) => no(t).format(e), lo = (e, t) => to(t).format(e), uo = (e, t = xe()) => Hn(e, t), ho = Ie([Ne, je], () => oo);
3766
+ Ie([Ne], () => so);
3767
+ Ie([Ne], () => ao);
3768
+ Ie([Ne], () => lo);
3769
+ Ie([Ne, je], () => uo);
3774
3770
  function Yt(e, t) {
3775
- Hr(e, t);
3771
+ An(e, t);
3776
3772
  }
3777
- function fo(e) {
3778
- Re.set(e);
3773
+ function co(e) {
3774
+ Ne.set(e);
3779
3775
  }
3780
3776
  const Kt = {
3781
3777
  en: {
@@ -3825,50 +3821,50 @@ const Kt = {
3825
3821
  waitSeconds: "Tekrar göndermeden önce lütfen bekleyin:"
3826
3822
  }
3827
3823
  };
3828
- function po(e) {
3829
- Yr(e, "svelte-gpy3mu", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.RadioIndicator{width:20px;height:20px;border-radius:50%;border:2px solid var(--emw--color-typography, #fff);position:relative;flex-shrink:0;margin-right:8px;transition:all 0.2s ease;opacity:0.7}.RadioIndicator.checked::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:10px;height:10px;border-radius:50%;opacity:1;background:var(--emw--color-primary, #fff)}.RadioIndicator.checked{border:2px solid var(--emw--color-primary, #fff)}.ModalCloseIcon{padding:0px;position:absolute;right:0;top:0;margin:15px 20px;z-index:20;transition:all 0.3s ease}.ModalCloseIcon svg{width:11px;height:11px;fill:var(--emw--color-primary, red);cursor:pointer}.ModalCloseIcon:hover{transform:rotate(90deg)}.OtpContent{width:100%;display:flex;flex-direction:column;gap:var(--emw--spacing-large, 20px)}.OtpFieldWrapper{display:flex;flex-direction:column;gap:10px}.OtpFieldWrapper h2{margin:0}.OtpButton{text-transform:uppercase;font-weight:var(--emw--font-weight-medium, 500);color:var(--emw--color-typography-button, #000000);text-align:center;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-family:inherit;height:46px;line-height:normal;border:none;background:var(--emw--color-primary, #f9c408);border-radius:10px;width:100%;margin:var(--emw--spacing-small, 12px) 0;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-2x-small-plus, 5px);transition:all 0.2s linear}.OtpButton:active{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-active, #fecd1c)}.OtpButton[disabled],.OtpButton.disabled{filter:saturate(50%);opacity:0.5;cursor:not-allowed;pointer-events:none}.OtpButton:hover:not([disabled]):not(.disabled){box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-hover, #dbac03)}@container (max-width: 500px){.OtpDescription{font-size:var(--emw--font-size-small, 12px)}.OtpDescription .Title{font-size:var(--emw--font-size-big, 20px)}}.OtpDescription{display:flex;color:var(--emw--color-typography, #fff);flex-direction:column;gap:12px;font-size:var(--emw--font-size-small, 12px)}.OtpDescription .Title{font-size:var(--emw--font-medium, 16px);font-weight:var(--emw--font-weight-medium, 600)}.OtpError{display:flex;flex-direction:column;gap:20px;align-items:center}.OtpError .OtpErrorHeader{display:flex;justify-content:center;gap:5px;align-items:center}.OtpError h2{margin:0;color:var(--emw--color-typography, #fff)}.OtpError p{color:var(--emw--color-typography, #fff);text-align:center;font-size:var(--emw--font-size-small, 12px)}.OtpError svg{width:25px;fill:var(--emw--color-error, #dd3434)}.ChannelSelection{display:flex;flex-direction:row;justify-content:space-between}.ChannelCheckbox{display:flex;align-items:center;padding:var(--emw--spacing-medium, 16px);cursor:pointer;transition:all 0.2s ease}.ChannelCheckbox input[type=radio]{display:none}.ChannelCheckbox .ChannelContent{display:flex;align-items:center;gap:3px;width:100%;color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-medium, 500)}.ChannelCheckbox .ChannelContent svg{flex-shrink:0;opacity:0.7;width:20px;height:20px}.ChannelCheckbox .ChannelContent span{text-transform:uppercase}.ChannelCheckbox.selected .ChannelContent{color:var(--emw--color-primary, #000000)}.ChannelCheckbox.selected .ChannelContent svg{stroke:var(--emw--color-primary, #000000);opacity:1}.ChannelCheckbox:hover:not(.selected){color:var(--emw--color-active, #fff)}.OtpField{display:flex;justify-content:space-between;margin:10px}.OtpField input{width:45px;font-size:32px;padding:5px;text-align:center;border-radius:5px;margin:6px;font-weight:bold;outline:none;background:var(--emw--color-background);border:0;transition:all 0.1s;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);color:var(--emw--color-typography, #fff)}.OtpField input.space{margin-right:1rem !important}.OtpField input:focus{box-shadow:0 0 1px 1px var(--emw--color-primary, #007bff)}.OtpActionButtons{display:flex;justify-content:space-between;gap:40px}.OtpErrorMessage{color:var(--emw--color-error, #dd3434);font-weight:bold}.OtpNoticeMessage{color:var(--emw--color-primary, #f9c408);font-weight:bold}.LastWarningMessage{color:var(--emw--color-error, #dd3434);font-weight:bold}.OtpLoaderContainer{width:100%;display:flex;justify-content:center;align-items:center;padding:20px 0}.OtpLoader{width:48px;height:48px;border:5px solid var(--emw--color-secondary, #b3d8ff);border-bottom-color:var(--emw--color-primary, #007bff);border-radius:50%;display:inline-block;box-sizing:border-box;animation:rotation 1s linear infinite}@keyframes rotation{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.OtpTimer{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-small, 12px);opacity:0.8}@container (max-width: 500px){.OtpContent{padding:var(--emw--spacing-small, 10px)}.OtpField input{width:40px;font-size:28px;margin:4px}}');
3824
+ function fo(e) {
3825
+ Kn(e, "svelte-gpy3mu", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.RadioIndicator{width:20px;height:20px;border-radius:50%;border:2px solid var(--emw--color-typography, #fff);position:relative;flex-shrink:0;margin-right:8px;transition:all 0.2s ease;opacity:0.7}.RadioIndicator.checked::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:10px;height:10px;border-radius:50%;opacity:1;background:var(--emw--color-primary, #fff)}.RadioIndicator.checked{border:2px solid var(--emw--color-primary, #fff)}.ModalCloseIcon{padding:0px;position:absolute;right:0;top:0;margin:15px 20px;z-index:20;transition:all 0.3s ease}.ModalCloseIcon svg{width:11px;height:11px;fill:var(--emw--color-primary, red);cursor:pointer}.ModalCloseIcon:hover{transform:rotate(90deg)}.OtpContent{width:100%;display:flex;flex-direction:column;gap:var(--emw--spacing-large, 20px)}.OtpFieldWrapper{display:flex;flex-direction:column;gap:10px}.OtpFieldWrapper h2{margin:0}.OtpButton{text-transform:uppercase;font-weight:var(--emw--font-weight-medium, 500);color:var(--emw--color-typography-button, #000000);text-align:center;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-family:inherit;height:46px;line-height:normal;border:none;background:var(--emw--color-primary, #f9c408);border-radius:10px;width:100%;margin:var(--emw--spacing-small, 12px) 0;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-2x-small-plus, 5px);transition:all 0.2s linear}.OtpButton:active{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-active, #fecd1c)}.OtpButton[disabled],.OtpButton.disabled{filter:saturate(50%);opacity:0.5;cursor:not-allowed;pointer-events:none}.OtpButton:hover:not([disabled]):not(.disabled){box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-hover, #dbac03)}@container (max-width: 500px){.OtpDescription{font-size:var(--emw--font-size-small, 12px)}.OtpDescription .Title{font-size:var(--emw--font-size-big, 20px)}}.OtpDescription{display:flex;color:var(--emw--color-typography, #fff);flex-direction:column;gap:12px;font-size:var(--emw--font-size-small, 12px)}.OtpDescription .Title{font-size:var(--emw--font-medium, 16px);font-weight:var(--emw--font-weight-medium, 600)}.OtpError{display:flex;flex-direction:column;gap:20px;align-items:center}.OtpError .OtpErrorHeader{display:flex;justify-content:center;gap:5px;align-items:center}.OtpError h2{margin:0;color:var(--emw--color-typography, #fff)}.OtpError p{color:var(--emw--color-typography, #fff);text-align:center;font-size:var(--emw--font-size-small, 12px)}.OtpError svg{width:25px;fill:var(--emw--color-error, #dd3434)}.ChannelSelection{display:flex;flex-direction:row;justify-content:space-between}.ChannelCheckbox{display:flex;align-items:center;padding:var(--emw--spacing-medium, 16px);cursor:pointer;transition:all 0.2s ease}.ChannelCheckbox input[type=radio]{display:none}.ChannelCheckbox .ChannelContent{display:flex;align-items:center;gap:3px;width:100%;color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-medium, 500)}.ChannelCheckbox .ChannelContent svg{flex-shrink:0;opacity:0.7;width:20px;height:20px}.ChannelCheckbox .ChannelContent span{text-transform:uppercase}.ChannelCheckbox.selected .ChannelContent{color:var(--emw--color-primary, #000000)}.ChannelCheckbox.selected .ChannelContent svg{stroke:var(--emw--color-primary, #000000);opacity:1}.ChannelCheckbox:hover:not(.selected){color:var(--emw--color-active, #fff)}.OtpField{display:flex;justify-content:space-between;margin:10px}.OtpField input{width:45px;font-size:32px;padding:5px;text-align:center;border-radius:5px;margin:6px;font-weight:bold;outline:none;background:var(--emw--color-background);border:0;transition:all 0.1s;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);color:var(--emw--color-typography, #fff)}.OtpField input.space{margin-right:1rem !important}.OtpField input:focus{box-shadow:0 0 1px 1px var(--emw--color-primary, #007bff)}.OtpActionButtons{display:flex;justify-content:space-between;gap:40px}.OtpErrorMessage{color:var(--emw--color-error, #dd3434);font-weight:bold}.OtpNoticeMessage{color:var(--emw--color-primary, #f9c408);font-weight:bold}.LastWarningMessage{color:var(--emw--color-error, #dd3434);font-weight:bold}.OtpLoaderContainer{width:100%;display:flex;justify-content:center;align-items:center;padding:20px 0}.OtpLoader{width:48px;height:48px;border:5px solid var(--emw--color-secondary, #b3d8ff);border-bottom-color:var(--emw--color-primary, #007bff);border-radius:50%;display:inline-block;box-sizing:border-box;animation:rotation 1s linear infinite}@keyframes rotation{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.OtpTimer{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-small, 12px);opacity:0.8}@container (max-width: 500px){.OtpContent{padding:var(--emw--spacing-small, 10px)}.OtpField input{width:40px;font-size:28px;margin:4px}}');
3830
3826
  }
3831
- function er(e, t, r) {
3832
- const n = e.slice();
3833
- return n[69] = t[r], n[70] = t, n[71] = r, n;
3827
+ function en(e, t, n) {
3828
+ const r = e.slice();
3829
+ return r[69] = t[n], r[70] = t, r[71] = n, r;
3834
3830
  }
3835
- function mo(e) {
3836
- let t, r, n, i, o, a, s, u, l, h, c, m, _, d, g, v, S, P = (
3831
+ function po(e) {
3832
+ let t, n, r, i, o, a, s, u, l, h, c, m, _, d, g, v, S, M = (
3837
3833
  /*$_*/
3838
3834
  e[19]("channelSMS") + ""
3839
- ), I, D, M, N, te, Q, ue, de, he, B, U, Z, ge, be, ye = (
3835
+ ), N, D, L, R, te, Q, le, me, ue, P, U, Z, de, ge, be = (
3840
3836
  /*$_*/
3841
3837
  e[19]("channelEmail") + ""
3842
- ), J, re, X, ce, ne, _e, Se;
3843
- function Ee(b, A) {
3838
+ ), J, ne, X, he, re, ye, we;
3839
+ function _e(b, C) {
3844
3840
  return (
3845
3841
  /*showResendOtp*/
3846
- b[9] ? _o : (
3842
+ b[9] ? yo : (
3847
3843
  /*showOtpInput*/
3848
- b[12] ? bo : yo
3844
+ b[12] ? go : bo
3849
3845
  )
3850
3846
  );
3851
3847
  }
3852
- let Te = Ee(e), Y = Te(e), V = (
3848
+ let Se = _e(e), Y = Se(e), V = (
3853
3849
  /*selectedChannel*/
3854
- e[0] && rr(e)
3850
+ e[0] && nn(e)
3855
3851
  );
3856
- function $e(b, A) {
3852
+ function Ve(b, C) {
3857
3853
  if (
3858
3854
  /*isLoading*/
3859
3855
  b[3] && /*showOtpInput*/
3860
3856
  b[12]
3861
3857
  )
3862
- return To;
3858
+ return So;
3863
3859
  if (
3864
3860
  /*showOtpInput*/
3865
3861
  b[12] && /*config*/
3866
3862
  b[4]
3867
3863
  )
3868
- return So;
3864
+ return wo;
3869
3865
  }
3870
- let fe = $e(e), $ = fe && fe(e);
3871
- function ze(b, A) {
3866
+ let ce = Ve(e), $ = ce && ce(e);
3867
+ function $e(b, C) {
3872
3868
  if (
3873
3869
  /*showResendOtp*/
3874
3870
  b[9]
@@ -3879,12 +3875,12 @@ function mo(e) {
3879
3875
  b[12] && /*config*/
3880
3876
  b[4]
3881
3877
  )
3882
- return Oo;
3878
+ return To;
3883
3879
  }
3884
- let ie = ze(e), W = ie && ie(e);
3880
+ let ie = $e(e), W = ie && ie(e);
3885
3881
  return {
3886
3882
  c() {
3887
- t = O("div"), Y.c(), r = F(), n = O("div"), i = O("label"), o = O("div"), a = F(), s = O("input"), l = F(), h = O("div"), c = oe("svg"), m = oe("path"), _ = oe("circle"), d = oe("circle"), g = oe("circle"), v = F(), S = O("span"), I = k(P), D = F(), M = O("label"), N = O("div"), te = F(), Q = O("input"), de = F(), he = O("div"), B = oe("svg"), U = oe("rect"), Z = oe("path"), ge = F(), be = O("span"), J = k(ye), re = F(), V && V.c(), X = F(), $ && $.c(), ce = F(), ne = O("div"), W && W.c(), p(t, "class", "OtpDescription"), p(o, "class", "RadioIndicator"), se(
3883
+ t = H("div"), Y.c(), n = F(), r = H("div"), i = H("label"), o = H("div"), a = F(), s = H("input"), l = F(), h = H("div"), c = oe("svg"), m = oe("path"), _ = oe("circle"), d = oe("circle"), g = oe("circle"), v = F(), S = H("span"), N = k(M), D = F(), L = H("label"), R = H("div"), te = F(), Q = H("input"), me = F(), ue = H("div"), P = oe("svg"), U = oe("rect"), Z = oe("path"), de = F(), ge = H("span"), J = k(be), ne = F(), V && V.c(), X = F(), $ && $.c(), he = F(), re = H("div"), W && W.c(), p(t, "class", "OtpDescription"), p(o, "class", "RadioIndicator"), se(
3888
3884
  o,
3889
3885
  "checked",
3890
3886
  /*selectedChannel*/
@@ -3899,88 +3895,88 @@ function mo(e) {
3899
3895
  /*selectedChannel*/
3900
3896
  e[0] === /*channels*/
3901
3897
  e[20].SMS
3902
- ), p(N, "class", "RadioIndicator"), se(
3903
- N,
3898
+ ), p(R, "class", "RadioIndicator"), se(
3899
+ R,
3904
3900
  "checked",
3905
3901
  /*selectedChannel*/
3906
3902
  e[0] === /*channels*/
3907
3903
  e[20].EMAIL
3908
3904
  ), p(Q, "type", "radio"), p(Q, "name", "channel"), Q.value = /*channels*/
3909
- e[20].EMAIL, Q.checked = ue = /*selectedChannel*/
3905
+ e[20].EMAIL, Q.checked = le = /*selectedChannel*/
3910
3906
  e[0] === /*channels*/
3911
- e[20].EMAIL, p(U, "x", "2"), p(U, "y", "4"), p(U, "width", "20"), p(U, "height", "16"), p(U, "rx", "2"), p(Z, "d", "m2 7 10 6 10-6"), p(B, "xmlns", "http://www.w3.org/2000/svg"), p(B, "width", "24"), p(B, "height", "24"), p(B, "viewBox", "0 0 24 24"), p(B, "fill", "none"), p(B, "stroke", "currentColor"), p(B, "stroke-width", "2"), p(B, "stroke-linecap", "round"), p(B, "stroke-linejoin", "round"), p(he, "class", "ChannelContent"), p(M, "class", "ChannelCheckbox"), se(
3912
- M,
3907
+ e[20].EMAIL, p(U, "x", "2"), p(U, "y", "4"), p(U, "width", "20"), p(U, "height", "16"), p(U, "rx", "2"), p(Z, "d", "m2 7 10 6 10-6"), p(P, "xmlns", "http://www.w3.org/2000/svg"), p(P, "width", "24"), p(P, "height", "24"), p(P, "viewBox", "0 0 24 24"), p(P, "fill", "none"), p(P, "stroke", "currentColor"), p(P, "stroke-width", "2"), p(P, "stroke-linecap", "round"), p(P, "stroke-linejoin", "round"), p(ue, "class", "ChannelContent"), p(L, "class", "ChannelCheckbox"), se(
3908
+ L,
3913
3909
  "selected",
3914
3910
  /*selectedChannel*/
3915
3911
  e[0] === /*channels*/
3916
3912
  e[20].EMAIL
3917
- ), p(n, "class", "ChannelSelection"), p(ne, "class", "OtpActionButtons");
3913
+ ), p(r, "class", "ChannelSelection"), p(re, "class", "OtpActionButtons");
3918
3914
  },
3919
- m(b, A) {
3920
- C(b, t, A), Y.m(t, null), C(b, r, A), C(b, n, A), y(n, i), y(i, o), y(i, a), y(i, s), y(i, l), y(i, h), y(h, c), y(c, m), y(c, _), y(c, d), y(c, g), y(h, v), y(h, S), y(S, I), y(n, D), y(n, M), y(M, N), y(M, te), y(M, Q), y(M, de), y(M, he), y(he, B), y(B, U), y(B, Z), y(he, ge), y(he, be), y(be, J), C(b, re, A), V && V.m(b, A), C(b, X, A), $ && $.m(b, A), C(b, ce, A), C(b, ne, A), W && W.m(ne, null), _e || (Se = [
3921
- pe(
3915
+ m(b, C) {
3916
+ B(b, t, C), Y.m(t, null), B(b, n, C), B(b, r, C), y(r, i), y(i, o), y(i, a), y(i, s), y(i, l), y(i, h), y(h, c), y(c, m), y(c, _), y(c, d), y(c, g), y(h, v), y(h, S), y(S, N), y(r, D), y(r, L), y(L, R), y(L, te), y(L, Q), y(L, me), y(L, ue), y(ue, P), y(P, U), y(P, Z), y(ue, de), y(ue, ge), y(ge, J), B(b, ne, C), V && V.m(b, C), B(b, X, C), $ && $.m(b, C), B(b, he, C), B(b, re, C), W && W.m(re, null), ye || (we = [
3917
+ fe(
3922
3918
  s,
3923
3919
  "change",
3924
3920
  /*change_handler*/
3925
3921
  e[39]
3926
3922
  ),
3927
- pe(
3923
+ fe(
3928
3924
  Q,
3929
3925
  "change",
3930
3926
  /*change_handler_1*/
3931
3927
  e[40]
3932
3928
  )
3933
- ], _e = !0);
3929
+ ], ye = !0);
3934
3930
  },
3935
- p(b, A) {
3936
- Te === (Te = Ee(b)) && Y ? Y.p(b, A) : (Y.d(1), Y = Te(b), Y && (Y.c(), Y.m(t, null))), A[0] & /*selectedChannel, channels*/
3931
+ p(b, C) {
3932
+ Se === (Se = _e(b)) && Y ? Y.p(b, C) : (Y.d(1), Y = Se(b), Y && (Y.c(), Y.m(t, null))), C[0] & /*selectedChannel, channels*/
3937
3933
  1048577 && se(
3938
3934
  o,
3939
3935
  "checked",
3940
3936
  /*selectedChannel*/
3941
3937
  b[0] === /*channels*/
3942
3938
  b[20].SMS
3943
- ), A[0] & /*selectedChannel*/
3939
+ ), C[0] & /*selectedChannel*/
3944
3940
  1 && u !== (u = /*selectedChannel*/
3945
3941
  b[0] === /*channels*/
3946
- b[20].SMS) && (s.checked = u), A[0] & /*$_*/
3947
- 524288 && P !== (P = /*$_*/
3948
- b[19]("channelSMS") + "") && j(I, P), A[0] & /*selectedChannel, channels*/
3942
+ b[20].SMS) && (s.checked = u), C[0] & /*$_*/
3943
+ 524288 && M !== (M = /*$_*/
3944
+ b[19]("channelSMS") + "") && j(N, M), C[0] & /*selectedChannel, channels*/
3949
3945
  1048577 && se(
3950
3946
  i,
3951
3947
  "selected",
3952
3948
  /*selectedChannel*/
3953
3949
  b[0] === /*channels*/
3954
3950
  b[20].SMS
3955
- ), A[0] & /*selectedChannel, channels*/
3951
+ ), C[0] & /*selectedChannel, channels*/
3956
3952
  1048577 && se(
3957
- N,
3953
+ R,
3958
3954
  "checked",
3959
3955
  /*selectedChannel*/
3960
3956
  b[0] === /*channels*/
3961
3957
  b[20].EMAIL
3962
- ), A[0] & /*selectedChannel*/
3963
- 1 && ue !== (ue = /*selectedChannel*/
3958
+ ), C[0] & /*selectedChannel*/
3959
+ 1 && le !== (le = /*selectedChannel*/
3964
3960
  b[0] === /*channels*/
3965
- b[20].EMAIL) && (Q.checked = ue), A[0] & /*$_*/
3966
- 524288 && ye !== (ye = /*$_*/
3967
- b[19]("channelEmail") + "") && j(J, ye), A[0] & /*selectedChannel, channels*/
3961
+ b[20].EMAIL) && (Q.checked = le), C[0] & /*$_*/
3962
+ 524288 && be !== (be = /*$_*/
3963
+ b[19]("channelEmail") + "") && j(J, be), C[0] & /*selectedChannel, channels*/
3968
3964
  1048577 && se(
3969
- M,
3965
+ L,
3970
3966
  "selected",
3971
3967
  /*selectedChannel*/
3972
3968
  b[0] === /*channels*/
3973
3969
  b[20].EMAIL
3974
3970
  ), /*selectedChannel*/
3975
- b[0] ? V ? V.p(b, A) : (V = rr(b), V.c(), V.m(X.parentNode, X)) : V && (V.d(1), V = null), fe === (fe = $e(b)) && $ ? $.p(b, A) : ($ && $.d(1), $ = fe && fe(b), $ && ($.c(), $.m(ce.parentNode, ce))), ie === (ie = ze(b)) && W ? W.p(b, A) : (W && W.d(1), W = ie && ie(b), W && (W.c(), W.m(ne, null)));
3971
+ b[0] ? V ? V.p(b, C) : (V = nn(b), V.c(), V.m(X.parentNode, X)) : V && (V.d(1), V = null), ce === (ce = Ve(b)) && $ ? $.p(b, C) : ($ && $.d(1), $ = ce && ce(b), $ && ($.c(), $.m(he.parentNode, he))), ie === (ie = $e(b)) && W ? W.p(b, C) : (W && W.d(1), W = ie && ie(b), W && (W.c(), W.m(re, null)));
3976
3972
  },
3977
3973
  d(b) {
3978
- b && (H(t), H(r), H(n), H(re), H(X), H(ce), H(ne)), Y.d(), V && V.d(b), $ && $.d(b), W && W.d(), _e = !1, xe(Se);
3974
+ b && (A(t), A(n), A(r), A(ne), A(X), A(he), A(re)), Y.d(), V && V.d(b), $ && $.d(b), W && W.d(), ye = !1, ve(we);
3979
3975
  }
3980
3976
  };
3981
3977
  }
3982
- function go(e) {
3983
- let t, r, n, i, o, a, s = (
3978
+ function mo(e) {
3979
+ let t, n, r, i, o, a, s = (
3984
3980
  /*$_*/
3985
3981
  e[19]("errorHeader") + ""
3986
3982
  ), u, l, h, c, m, _, d = (
@@ -3989,258 +3985,258 @@ function go(e) {
3989
3985
  ), g, v, S;
3990
3986
  return {
3991
3987
  c() {
3992
- t = O("div"), r = O("div"), n = oe("svg"), i = oe("path"), o = F(), a = O("h2"), u = k(s), l = F(), h = O("p"), c = k(
3988
+ t = H("div"), n = H("div"), r = oe("svg"), i = oe("path"), o = F(), a = H("h2"), u = k(s), l = F(), h = H("p"), c = k(
3993
3989
  /*errorMessage*/
3994
3990
  e[8]
3995
- ), m = F(), _ = O("button"), g = k(d), p(i, "d", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"), p(n, "xmlns", "http://www.w3.org/2000/svg"), p(n, "viewBox", "0 0 512 512"), p(r, "class", "OtpErrorHeader"), p(_, "class", "OtpButton error"), p(t, "class", "OtpError");
3991
+ ), m = F(), _ = H("button"), g = k(d), p(i, "d", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"), p(r, "xmlns", "http://www.w3.org/2000/svg"), p(r, "viewBox", "0 0 512 512"), p(n, "class", "OtpErrorHeader"), p(_, "class", "OtpButton error"), p(t, "class", "OtpError");
3996
3992
  },
3997
- m(P, I) {
3998
- C(P, t, I), y(t, r), y(r, n), y(n, i), y(r, o), y(r, a), y(a, u), y(t, l), y(t, h), y(h, c), y(t, m), y(t, _), y(_, g), v || (S = pe(
3993
+ m(M, N) {
3994
+ B(M, t, N), y(t, n), y(n, r), y(r, i), y(n, o), y(n, a), y(a, u), y(t, l), y(t, h), y(h, c), y(t, m), y(t, _), y(_, g), v || (S = fe(
3999
3995
  _,
4000
3996
  "click",
4001
3997
  /*manualClosePopup*/
4002
3998
  e[28]
4003
3999
  ), v = !0);
4004
4000
  },
4005
- p(P, I) {
4006
- I[0] & /*$_*/
4001
+ p(M, N) {
4002
+ N[0] & /*$_*/
4007
4003
  524288 && s !== (s = /*$_*/
4008
- P[19]("errorHeader") + "") && j(u, s), I[0] & /*errorMessage*/
4004
+ M[19]("errorHeader") + "") && j(u, s), N[0] & /*errorMessage*/
4009
4005
  256 && j(
4010
4006
  c,
4011
4007
  /*errorMessage*/
4012
- P[8]
4013
- ), I[0] & /*$_*/
4008
+ M[8]
4009
+ ), N[0] & /*$_*/
4014
4010
  524288 && d !== (d = /*$_*/
4015
- P[19]("close") + "") && j(g, d);
4011
+ M[19]("close") + "") && j(g, d);
4016
4012
  },
4017
- d(P) {
4018
- P && H(t), v = !1, S();
4013
+ d(M) {
4014
+ M && A(t), v = !1, S();
4019
4015
  }
4020
4016
  };
4021
4017
  }
4022
- function bo(e) {
4023
- let t, r, n, i;
4018
+ function go(e) {
4019
+ let t, n, r, i;
4024
4020
  function o(l, h) {
4025
4021
  return (
4026
4022
  /*isLastWarning*/
4027
- l[10] ? vo : Eo
4023
+ l[10] ? Eo : _o
4028
4024
  );
4029
4025
  }
4030
4026
  let a = o(e), s = a(e), u = (
4031
4027
  /*hasErrors*/
4032
- e[6] && tr(e)
4028
+ e[6] && tn(e)
4033
4029
  );
4034
4030
  return {
4035
4031
  c() {
4036
- t = O("p"), s.c(), n = F(), u && u.c(), i = rn(), p(t, "class", r = /*isLastWarning*/
4032
+ t = H("p"), s.c(), r = F(), u && u.c(), i = rr(), p(t, "class", n = /*isLastWarning*/
4037
4033
  e[10] ? "LastWarningMessage" : "");
4038
4034
  },
4039
4035
  m(l, h) {
4040
- C(l, t, h), s.m(t, null), C(l, n, h), u && u.m(l, h), C(l, i, h);
4036
+ B(l, t, h), s.m(t, null), B(l, r, h), u && u.m(l, h), B(l, i, h);
4041
4037
  },
4042
4038
  p(l, h) {
4043
4039
  a === (a = o(l)) && s ? s.p(l, h) : (s.d(1), s = a(l), s && (s.c(), s.m(t, null))), h[0] & /*isLastWarning*/
4044
- 1024 && r !== (r = /*isLastWarning*/
4045
- l[10] ? "LastWarningMessage" : "") && p(t, "class", r), /*hasErrors*/
4046
- l[6] ? u ? u.p(l, h) : (u = tr(l), u.c(), u.m(i.parentNode, i)) : u && (u.d(1), u = null);
4040
+ 1024 && n !== (n = /*isLastWarning*/
4041
+ l[10] ? "LastWarningMessage" : "") && p(t, "class", n), /*hasErrors*/
4042
+ l[6] ? u ? u.p(l, h) : (u = tn(l), u.c(), u.m(i.parentNode, i)) : u && (u.d(1), u = null);
4047
4043
  },
4048
4044
  d(l) {
4049
- l && (H(t), H(n), H(i)), s.d(), u && u.d(l);
4045
+ l && (A(t), A(r), A(i)), s.d(), u && u.d(l);
4050
4046
  }
4051
4047
  };
4052
4048
  }
4053
- function yo(e) {
4054
- let t, r = (
4049
+ function bo(e) {
4050
+ let t, n = (
4055
4051
  /*$_*/
4056
4052
  (e[19]("selectChannelMessage") || "Selectează metoda prin care vrei să primești codul OTP") + ""
4057
- ), n;
4053
+ ), r;
4058
4054
  return {
4059
4055
  c() {
4060
- t = O("p"), n = k(r);
4056
+ t = H("p"), r = k(n);
4061
4057
  },
4062
4058
  m(i, o) {
4063
- C(i, t, o), y(t, n);
4059
+ B(i, t, o), y(t, r);
4064
4060
  },
4065
4061
  p(i, o) {
4066
4062
  o[0] & /*$_*/
4067
- 524288 && r !== (r = /*$_*/
4068
- (i[19]("selectChannelMessage") || "Selectează metoda prin care vrei să primești codul OTP") + "") && j(n, r);
4063
+ 524288 && n !== (n = /*$_*/
4064
+ (i[19]("selectChannelMessage") || "Selectează metoda prin care vrei să primești codul OTP") + "") && j(r, n);
4069
4065
  },
4070
4066
  d(i) {
4071
- i && H(t);
4067
+ i && A(t);
4072
4068
  }
4073
4069
  };
4074
4070
  }
4075
- function _o(e) {
4076
- let t, r = (
4071
+ function yo(e) {
4072
+ let t, n = (
4077
4073
  /*$_*/
4078
4074
  e[19]("otpExpiredMessage") + ""
4079
- ), n;
4075
+ ), r;
4080
4076
  return {
4081
4077
  c() {
4082
- t = O("p"), n = k(r), p(t, "class", "OtpNoticeMessage"), p(t, "role", "alert");
4078
+ t = H("p"), r = k(n), p(t, "class", "OtpNoticeMessage"), p(t, "role", "alert");
4083
4079
  },
4084
4080
  m(i, o) {
4085
- C(i, t, o), y(t, n);
4081
+ B(i, t, o), y(t, r);
4086
4082
  },
4087
4083
  p(i, o) {
4088
4084
  o[0] & /*$_*/
4089
- 524288 && r !== (r = /*$_*/
4090
- i[19]("otpExpiredMessage") + "") && j(n, r);
4085
+ 524288 && n !== (n = /*$_*/
4086
+ i[19]("otpExpiredMessage") + "") && j(r, n);
4091
4087
  },
4092
4088
  d(i) {
4093
- i && H(t);
4089
+ i && A(t);
4094
4090
  }
4095
4091
  };
4096
4092
  }
4097
- function Eo(e) {
4093
+ function _o(e) {
4098
4094
  let t = (
4099
4095
  /*$_*/
4100
4096
  e[19]("popupMessage") + ""
4101
- ), r;
4097
+ ), n;
4102
4098
  return {
4103
4099
  c() {
4104
- r = k(t);
4100
+ n = k(t);
4105
4101
  },
4106
- m(n, i) {
4107
- C(n, r, i);
4102
+ m(r, i) {
4103
+ B(r, n, i);
4108
4104
  },
4109
- p(n, i) {
4105
+ p(r, i) {
4110
4106
  i[0] & /*$_*/
4111
4107
  524288 && t !== (t = /*$_*/
4112
- n[19]("popupMessage") + "") && j(r, t);
4108
+ r[19]("popupMessage") + "") && j(n, t);
4113
4109
  },
4114
- d(n) {
4115
- n && H(r);
4110
+ d(r) {
4111
+ r && A(n);
4116
4112
  }
4117
4113
  };
4118
4114
  }
4119
- function vo(e) {
4115
+ function Eo(e) {
4120
4116
  let t = (
4121
4117
  /*$_*/
4122
4118
  e[19]("popupMessageLastWarning") + ""
4123
- ), r;
4119
+ ), n;
4124
4120
  return {
4125
4121
  c() {
4126
- r = k(t);
4122
+ n = k(t);
4127
4123
  },
4128
- m(n, i) {
4129
- C(n, r, i);
4124
+ m(r, i) {
4125
+ B(r, n, i);
4130
4126
  },
4131
- p(n, i) {
4127
+ p(r, i) {
4132
4128
  i[0] & /*$_*/
4133
4129
  524288 && t !== (t = /*$_*/
4134
- n[19]("popupMessageLastWarning") + "") && j(r, t);
4130
+ r[19]("popupMessageLastWarning") + "") && j(n, t);
4135
4131
  },
4136
- d(n) {
4137
- n && H(r);
4132
+ d(r) {
4133
+ r && A(n);
4138
4134
  }
4139
4135
  };
4140
4136
  }
4141
- function tr(e) {
4142
- let t, r;
4137
+ function tn(e) {
4138
+ let t, n;
4143
4139
  return {
4144
4140
  c() {
4145
- t = O("p"), r = k(
4141
+ t = H("p"), n = k(
4146
4142
  /*errorMessage*/
4147
4143
  e[8]
4148
4144
  ), p(t, "class", "OtpErrorMessage"), p(t, "role", "alert");
4149
4145
  },
4150
- m(n, i) {
4151
- C(n, t, i), y(t, r);
4146
+ m(r, i) {
4147
+ B(r, t, i), y(t, n);
4152
4148
  },
4153
- p(n, i) {
4149
+ p(r, i) {
4154
4150
  i[0] & /*errorMessage*/
4155
4151
  256 && j(
4156
- r,
4152
+ n,
4157
4153
  /*errorMessage*/
4158
- n[8]
4154
+ r[8]
4159
4155
  );
4160
4156
  },
4161
- d(n) {
4162
- n && H(t);
4157
+ d(r) {
4158
+ r && A(t);
4163
4159
  }
4164
4160
  };
4165
4161
  }
4166
- function rr(e) {
4167
- let t, r, n, i;
4162
+ function nn(e) {
4163
+ let t, n, r, i;
4168
4164
  function o(u, l) {
4169
4165
  return (
4170
4166
  /*currentChannelTimer*/
4171
- u[17] > 0 ? wo : xo
4167
+ u[17] > 0 ? xo : vo
4172
4168
  );
4173
4169
  }
4174
4170
  let a = o(e), s = a(e);
4175
4171
  return {
4176
4172
  c() {
4177
- t = O("button"), s.c(), p(t, "class", "OtpButton"), t.disabled = r = !/*canSubmitChannel*/
4173
+ t = H("button"), s.c(), p(t, "class", "OtpButton"), t.disabled = n = !/*canSubmitChannel*/
4178
4174
  e[18], se(t, "disabled", !/*canSubmitChannel*/
4179
4175
  e[18] || /*waitingForConfig*/
4180
4176
  e[16]);
4181
4177
  },
4182
4178
  m(u, l) {
4183
- C(u, t, l), s.m(t, null), n || (i = pe(
4179
+ B(u, t, l), s.m(t, null), r || (i = fe(
4184
4180
  t,
4185
4181
  "click",
4186
4182
  /*handleChannelSubmit*/
4187
4183
  e[22]
4188
- ), n = !0);
4184
+ ), r = !0);
4189
4185
  },
4190
4186
  p(u, l) {
4191
4187
  a === (a = o(u)) && s ? s.p(u, l) : (s.d(1), s = a(u), s && (s.c(), s.m(t, null))), l[0] & /*canSubmitChannel*/
4192
- 262144 && r !== (r = !/*canSubmitChannel*/
4193
- u[18]) && (t.disabled = r), l[0] & /*canSubmitChannel, waitingForConfig*/
4188
+ 262144 && n !== (n = !/*canSubmitChannel*/
4189
+ u[18]) && (t.disabled = n), l[0] & /*canSubmitChannel, waitingForConfig*/
4194
4190
  327680 && se(t, "disabled", !/*canSubmitChannel*/
4195
4191
  u[18] || /*waitingForConfig*/
4196
4192
  u[16]);
4197
4193
  },
4198
4194
  d(u) {
4199
- u && H(t), s.d(), n = !1, i();
4195
+ u && A(t), s.d(), r = !1, i();
4200
4196
  }
4201
4197
  };
4202
4198
  }
4203
- function xo(e) {
4199
+ function vo(e) {
4204
4200
  let t = (
4205
4201
  /*$_*/
4206
4202
  e[19]("sendCode") + ""
4207
- ), r;
4203
+ ), n;
4208
4204
  return {
4209
4205
  c() {
4210
- r = k(t);
4206
+ n = k(t);
4211
4207
  },
4212
- m(n, i) {
4213
- C(n, r, i);
4208
+ m(r, i) {
4209
+ B(r, n, i);
4214
4210
  },
4215
- p(n, i) {
4211
+ p(r, i) {
4216
4212
  i[0] & /*$_*/
4217
4213
  524288 && t !== (t = /*$_*/
4218
- n[19]("sendCode") + "") && j(r, t);
4214
+ r[19]("sendCode") + "") && j(n, t);
4219
4215
  },
4220
- d(n) {
4221
- n && H(r);
4216
+ d(r) {
4217
+ r && A(n);
4222
4218
  }
4223
4219
  };
4224
4220
  }
4225
- function wo(e) {
4221
+ function xo(e) {
4226
4222
  let t = (
4227
4223
  /*$_*/
4228
4224
  e[19]("waitSeconds") + ""
4229
- ), r, n, i, o;
4225
+ ), n, r, i, o;
4230
4226
  return {
4231
4227
  c() {
4232
- r = k(t), n = k(" ("), i = k(
4228
+ n = k(t), r = k(" ("), i = k(
4233
4229
  /*currentChannelTimer*/
4234
4230
  e[17]
4235
4231
  ), o = k("s)");
4236
4232
  },
4237
4233
  m(a, s) {
4238
- C(a, r, s), C(a, n, s), C(a, i, s), C(a, o, s);
4234
+ B(a, n, s), B(a, r, s), B(a, i, s), B(a, o, s);
4239
4235
  },
4240
4236
  p(a, s) {
4241
4237
  s[0] & /*$_*/
4242
4238
  524288 && t !== (t = /*$_*/
4243
- a[19]("waitSeconds") + "") && j(r, t), s[0] & /*currentChannelTimer*/
4239
+ a[19]("waitSeconds") + "") && j(n, t), s[0] & /*currentChannelTimer*/
4244
4240
  131072 && j(
4245
4241
  i,
4246
4242
  /*currentChannelTimer*/
@@ -4248,12 +4244,12 @@ function wo(e) {
4248
4244
  );
4249
4245
  },
4250
4246
  d(a) {
4251
- a && (H(r), H(n), H(i), H(o));
4247
+ a && (A(n), A(r), A(i), A(o));
4252
4248
  }
4253
4249
  };
4254
4250
  }
4255
- function So(e) {
4256
- let t, r, n = (
4251
+ function wo(e) {
4252
+ let t, n, r = (
4257
4253
  /*$_*/
4258
4254
  e[19]("timeRemaining") + ""
4259
4255
  ), i, o, a = (
@@ -4270,23 +4266,23 @@ function So(e) {
4270
4266
  e[2]
4271
4267
  ), d = [];
4272
4268
  for (let g = 0; g < _.length; g += 1)
4273
- d[g] = nr(er(e, _, g));
4269
+ d[g] = rn(en(e, _, g));
4274
4270
  return {
4275
4271
  c() {
4276
- t = O("div"), r = O("div"), i = k(n), o = F(), s = k(a), u = F(), h = k(l), c = F(), m = O("div");
4272
+ t = H("div"), n = H("div"), i = k(r), o = F(), s = k(a), u = F(), h = k(l), c = F(), m = H("div");
4277
4273
  for (let g = 0; g < d.length; g += 1)
4278
4274
  d[g].c();
4279
- p(r, "class", "OtpTimer"), p(m, "class", "OtpField"), p(t, "class", "OtpFieldWrapper");
4275
+ p(n, "class", "OtpTimer"), p(m, "class", "OtpField"), p(t, "class", "OtpFieldWrapper");
4280
4276
  },
4281
4277
  m(g, v) {
4282
- C(g, t, v), y(t, r), y(r, i), y(r, o), y(r, s), y(r, u), y(r, h), y(t, c), y(t, m);
4278
+ B(g, t, v), y(t, n), y(n, i), y(n, o), y(n, s), y(n, u), y(n, h), y(t, c), y(t, m);
4283
4279
  for (let S = 0; S < d.length; S += 1)
4284
4280
  d[S] && d[S].m(m, null);
4285
4281
  },
4286
4282
  p(g, v) {
4287
4283
  if (v[0] & /*$_*/
4288
- 524288 && n !== (n = /*$_*/
4289
- g[19]("timeRemaining") + "") && j(i, n), v[0] & /*timeLeft*/
4284
+ 524288 && r !== (r = /*$_*/
4285
+ g[19]("timeRemaining") + "") && j(i, r), v[0] & /*timeLeft*/
4290
4286
  32 && a !== (a = /*formatTime*/
4291
4287
  g[23](
4292
4288
  /*timeLeft*/
@@ -4301,8 +4297,8 @@ function So(e) {
4301
4297
  );
4302
4298
  let S;
4303
4299
  for (S = 0; S < _.length; S += 1) {
4304
- const P = er(g, _, S);
4305
- d[S] ? d[S].p(P, v) : (d[S] = nr(P), d[S].c(), d[S].m(m, null));
4300
+ const M = en(g, _, S);
4301
+ d[S] ? d[S].p(M, v) : (d[S] = rn(M), d[S].c(), d[S].m(m, null));
4306
4302
  }
4307
4303
  for (; S < d.length; S += 1)
4308
4304
  d[S].d(1);
@@ -4310,27 +4306,27 @@ function So(e) {
4310
4306
  }
4311
4307
  },
4312
4308
  d(g) {
4313
- g && H(t), tn(d, g);
4309
+ g && A(t), nr(d, g);
4314
4310
  }
4315
4311
  };
4316
4312
  }
4317
- function To(e) {
4313
+ function So(e) {
4318
4314
  let t;
4319
4315
  return {
4320
4316
  c() {
4321
- t = O("div"), t.innerHTML = '<span class="OtpLoader"></span>', p(t, "class", "OtpLoaderContainer");
4317
+ t = H("div"), t.innerHTML = '<span class="OtpLoader"></span>', p(t, "class", "OtpLoaderContainer");
4322
4318
  },
4323
- m(r, n) {
4324
- C(r, t, n);
4319
+ m(n, r) {
4320
+ B(n, t, r);
4325
4321
  },
4326
4322
  p: ee,
4327
- d(r) {
4328
- r && H(t);
4323
+ d(n) {
4324
+ n && A(t);
4329
4325
  }
4330
4326
  };
4331
4327
  }
4332
- function nr(e) {
4333
- let t, r, n, i = (
4328
+ function rn(e) {
4329
+ let t, n, r, i = (
4334
4330
  /*index*/
4335
4331
  e[71]
4336
4332
  ), o, a;
@@ -4363,19 +4359,19 @@ function nr(e) {
4363
4359
  }
4364
4360
  return {
4365
4361
  c() {
4366
- t = O("input"), p(t, "id", `otp-input-${/*index*/
4367
- e[71]}`), p(t, "type", "text"), p(t, "class", r = `otp-box ${/*config*/
4362
+ t = H("input"), p(t, "id", `otp-input-${/*index*/
4363
+ e[71]}`), p(t, "type", "text"), p(t, "class", n = `otp-box ${/*config*/
4368
4364
  e[4].inputLength % 2 === 0 && /*index*/
4369
4365
  e[71] === /*config*/
4370
- e[4].inputLength / 2 - 1 ? "space" : ""}`), p(t, "maxlength", 1), t.value = n = /*char*/
4366
+ e[4].inputLength / 2 - 1 ? "space" : ""}`), p(t, "maxlength", 1), t.value = r = /*char*/
4371
4367
  e[69], p(t, "inputmode", "numeric"), t.disabled = /*inputDisabled*/
4372
4368
  e[11], p(t, "autocomplete", "off");
4373
4369
  },
4374
4370
  m(c, m) {
4375
- C(c, t, m), s(), o || (a = [
4376
- pe(t, "input", l),
4377
- pe(t, "keydown", h),
4378
- pe(
4371
+ B(c, t, m), s(), o || (a = [
4372
+ fe(t, "input", l),
4373
+ fe(t, "keydown", h),
4374
+ fe(
4379
4375
  t,
4380
4376
  "paste",
4381
4377
  /*handleOnPasteOtp*/
@@ -4385,37 +4381,37 @@ function nr(e) {
4385
4381
  },
4386
4382
  p(c, m) {
4387
4383
  e = c, m[0] & /*config*/
4388
- 16 && r !== (r = `otp-box ${/*config*/
4384
+ 16 && n !== (n = `otp-box ${/*config*/
4389
4385
  e[4].inputLength % 2 === 0 && /*index*/
4390
4386
  e[71] === /*config*/
4391
- e[4].inputLength / 2 - 1 ? "space" : ""}`) && p(t, "class", r), m[0] & /*otp*/
4392
- 4 && n !== (n = /*char*/
4393
- e[69]) && t.value !== n && (t.value = n), m[0] & /*inputDisabled*/
4387
+ e[4].inputLength / 2 - 1 ? "space" : ""}`) && p(t, "class", n), m[0] & /*otp*/
4388
+ 4 && r !== (r = /*char*/
4389
+ e[69]) && t.value !== r && (t.value = r), m[0] & /*inputDisabled*/
4394
4390
  2048 && (t.disabled = /*inputDisabled*/
4395
4391
  e[11]), i !== /*index*/
4396
4392
  e[71] && (u(), i = /*index*/
4397
4393
  e[71], s());
4398
4394
  },
4399
4395
  d(c) {
4400
- c && H(t), u(), o = !1, xe(a);
4396
+ c && A(t), u(), o = !1, ve(a);
4401
4397
  }
4402
4398
  };
4403
4399
  }
4404
- function Oo(e) {
4405
- let t, r = (
4400
+ function To(e) {
4401
+ let t, n = (
4406
4402
  /*$_*/
4407
4403
  e[19]("submit") + ""
4408
- ), n, i, o, a;
4404
+ ), r, i, o, a;
4409
4405
  return {
4410
4406
  c() {
4411
- t = O("button"), n = k(r), p(t, "class", "OtpButton"), t.disabled = i = /*otp*/
4407
+ t = H("button"), r = k(n), p(t, "class", "OtpButton"), t.disabled = i = /*otp*/
4412
4408
  e[2].join("").length !== /*config*/
4413
4409
  e[4].inputLength || /*isSubmitting*/
4414
4410
  e[13] || /*maxAttempts*/
4415
4411
  e[15];
4416
4412
  },
4417
4413
  m(s, u) {
4418
- C(s, t, u), y(t, n), o || (a = pe(
4414
+ B(s, t, u), y(t, r), o || (a = fe(
4419
4415
  t,
4420
4416
  "click",
4421
4417
  /*submitOtp*/
@@ -4424,8 +4420,8 @@ function Oo(e) {
4424
4420
  },
4425
4421
  p(s, u) {
4426
4422
  u[0] & /*$_*/
4427
- 524288 && r !== (r = /*$_*/
4428
- s[19]("submit") + "") && j(n, r), u[0] & /*otp, config, isSubmitting, maxAttempts*/
4423
+ 524288 && n !== (n = /*$_*/
4424
+ s[19]("submit") + "") && j(r, n), u[0] & /*otp, config, isSubmitting, maxAttempts*/
4429
4425
  40980 && i !== (i = /*otp*/
4430
4426
  s[2].join("").length !== /*config*/
4431
4427
  s[4].inputLength || /*isSubmitting*/
@@ -4433,21 +4429,21 @@ function Oo(e) {
4433
4429
  s[15]) && (t.disabled = i);
4434
4430
  },
4435
4431
  d(s) {
4436
- s && H(t), o = !1, a();
4432
+ s && A(t), o = !1, a();
4437
4433
  }
4438
4434
  };
4439
4435
  }
4440
4436
  function Ho(e) {
4441
- let t, r = (
4437
+ let t, n = (
4442
4438
  /*$_*/
4443
4439
  e[19]("resendOtp") + ""
4444
- ), n, i, o;
4440
+ ), r, i, o;
4445
4441
  return {
4446
4442
  c() {
4447
- t = O("button"), n = k(r), p(t, "class", "OtpButton");
4443
+ t = H("button"), r = k(n), p(t, "class", "OtpButton");
4448
4444
  },
4449
4445
  m(a, s) {
4450
- C(a, t, s), y(t, n), i || (o = pe(
4446
+ B(a, t, s), y(t, r), i || (o = fe(
4451
4447
  t,
4452
4448
  "click",
4453
4449
  /*handleResendOtp*/
@@ -4456,45 +4452,45 @@ function Ho(e) {
4456
4452
  },
4457
4453
  p(a, s) {
4458
4454
  s[0] & /*$_*/
4459
- 524288 && r !== (r = /*$_*/
4460
- a[19]("resendOtp") + "") && j(n, r);
4455
+ 524288 && n !== (n = /*$_*/
4456
+ a[19]("resendOtp") + "") && j(r, n);
4461
4457
  },
4462
4458
  d(a) {
4463
- a && H(t), i = !1, o();
4459
+ a && A(t), i = !1, o();
4464
4460
  }
4465
4461
  };
4466
4462
  }
4467
- function Ao(e) {
4463
+ function Oo(e) {
4468
4464
  let t;
4469
- function r(o, a) {
4465
+ function n(o, a) {
4470
4466
  return (
4471
4467
  /*hasConfigErrors*/
4472
- o[7] ? go : mo
4468
+ o[7] ? mo : po
4473
4469
  );
4474
4470
  }
4475
- let n = r(e), i = n(e);
4471
+ let r = n(e), i = r(e);
4476
4472
  return {
4477
4473
  c() {
4478
- t = O("div"), i.c(), p(t, "class", "OtpContent");
4474
+ t = H("div"), i.c(), p(t, "class", "OtpContent");
4479
4475
  },
4480
4476
  m(o, a) {
4481
- C(o, t, a), i.m(t, null), e[44](t);
4477
+ B(o, t, a), i.m(t, null), e[44](t);
4482
4478
  },
4483
4479
  p(o, a) {
4484
- n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4480
+ r === (r = n(o)) && i ? i.p(o, a) : (i.d(1), i = r(o), i && (i.c(), i.m(t, null)));
4485
4481
  },
4486
4482
  i: ee,
4487
4483
  o: ee,
4488
4484
  d(o) {
4489
- o && H(t), i.d(), e[44](null);
4485
+ o && A(t), i.d(), e[44](null);
4490
4486
  }
4491
4487
  };
4492
4488
  }
4493
- function Co(e, t, r) {
4494
- let n, i, o;
4495
- Jr(e, co, (f) => r(19, o = f));
4496
- let { clientstyling: a = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { endpoint: h } = t, { session: c } = t, { translationurl: m } = t, { templateid: _ } = t, d = [], g = !0, v = null, S = 0, P = "", I = "", D = !1, M = !1, N = "", te = "", Q = "", ue = !1, de = !1, he = !1, B = "", U = {}, Z = null, ge = !1, be = !1, ye = "", J, re = [], X = null, ce = 0, ne = !1, _e = !1;
4497
- const Se = { SMS: "sms", EMAIL: "email" }, Ee = {
4489
+ function Ao(e, t, n) {
4490
+ let r, i, o;
4491
+ Yn(e, ho, (f) => n(19, o = f));
4492
+ let { clientstyling: a = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { endpoint: h } = t, { session: c } = t, { translationurl: m } = t, { templateid: _ } = t, d = [], g = !0, v = null, S = 0, M = "", N = "", D = !1, L = !1, R = "", te = "", Q = "", le = !1, me = !1, ue = !1, P = "", U = {}, Z = null, de = !1, ge = !1, be = "", J, ne = [], X = null, he = 0, re = !1, ye = !1;
4493
+ const we = { SMS: "sms", EMAIL: "email" }, _e = {
4498
4494
  MAX_ATTEMPTS_EXCEEDED: "gm.twofa.token_max_attempts_exceeded",
4499
4495
  INTERNAL_SERVER_ERROR: "gm.multifactorauthentication.internal_server_error",
4500
4496
  MAX_INVALIDATE: "gm.multifactorauthentication.challenge_internal_server_error"
@@ -4502,8 +4498,8 @@ function Co(e, t, r) {
4502
4498
  Object.keys(Kt).forEach((f) => {
4503
4499
  Yt(f, Kt[f]);
4504
4500
  });
4505
- const Te = () => {
4506
- fo(l);
4501
+ const Se = () => {
4502
+ co(l);
4507
4503
  }, Y = () => {
4508
4504
  fetch(m).then((f) => f.json()).then((f) => {
4509
4505
  Object.keys(f).forEach((E) => {
@@ -4512,90 +4508,90 @@ function Co(e, t, r) {
4512
4508
  }).catch((f) => {
4513
4509
  console.log(f);
4514
4510
  });
4515
- }, V = (f) => ve(this, null, function* () {
4511
+ }, V = (f) => Ee(this, null, function* () {
4516
4512
  var E;
4517
4513
  if ((E = f.detail) != null && E["x-step-up-required"]) {
4518
- if (r(7, M = !1), r(6, D = !1), r(8, N = ""), te = f.detail["x-step-up-token"], Q = f.detail.flow, !te || !Q) {
4519
- r(3, g = !1), r(7, M = !0), r(8, N = o("configError"));
4514
+ if (n(7, L = !1), n(6, D = !1), n(8, R = ""), te = f.detail["x-step-up-token"], Q = f.detail.flow, !te || !Q) {
4515
+ n(3, g = !1), n(7, L = !0), n(8, R = o("configError"));
4520
4516
  return;
4521
4517
  }
4522
- r(12, ge = !1), r(3, g = !1);
4518
+ n(12, de = !1), n(3, g = !1);
4523
4519
  }
4524
- }), $e = () => {
4525
- X && (clearInterval(X), X = null), Z && (clearInterval(Z), Z = null), r(6, D = !1), r(7, M = !1), r(8, N = ""), r(10, de = !1), r(2, d = []), r(4, v = null), r(3, g = !0), r(0, B = ""), r(12, ge = !1), r(38, U = {});
4526
- }, fe = () => {
4527
- $e();
4520
+ }), Ve = () => {
4521
+ X && (clearInterval(X), X = null), Z && (clearInterval(Z), Z = null), n(6, D = !1), n(7, L = !1), n(8, R = ""), n(10, me = !1), n(2, d = []), n(4, v = null), n(3, g = !0), n(0, P = ""), n(12, de = !1), n(38, U = {});
4522
+ }, ce = () => {
4523
+ Ve();
4528
4524
  }, $ = () => new Promise((f, E) => {
4529
4525
  const x = new URL(`${h}/api/pam/v1/mfa/challenge/${te}`), G = new Headers();
4530
- G.append("accept", "application/json"), G.append("Content-Type", "application/json"), G.append("X-SessionId", `${c}`), r(16, _e = !0);
4531
- const Oe = {
4526
+ G.append("accept", "application/json"), G.append("Content-Type", "application/json"), G.append("X-SessionId", `${c}`), n(16, ye = !0);
4527
+ const Te = {
4532
4528
  method: "PATCH",
4533
4529
  headers: G,
4534
4530
  body: JSON.stringify({
4535
- channel: B,
4531
+ channel: P,
4536
4532
  templateId: _
4537
4533
  })
4538
4534
  };
4539
- fetch(x, Oe).then((It) => It.json()).then(() => {
4540
- r(15, ne = !1), b(), A(), f();
4535
+ fetch(x, Te).then((It) => It.json()).then(() => {
4536
+ n(15, re = !1), b(), C(), f();
4541
4537
  }).catch((It) => {
4542
4538
  E();
4543
4539
  });
4544
- }), ze = () => {
4540
+ }), $e = () => {
4545
4541
  Z && clearInterval(Z), Z = setInterval(
4546
4542
  () => {
4547
- const f = Xe({}, U);
4543
+ const f = ze({}, U);
4548
4544
  let E = !1;
4549
4545
  Object.keys(f).forEach((x) => {
4550
4546
  f[x] > 0 && (f[x]--, E = !0);
4551
- }), r(38, U = f), !E && Z && (clearInterval(Z), Z = null);
4547
+ }), n(38, U = f), !E && Z && (clearInterval(Z), Z = null);
4552
4548
  },
4553
4549
  1e3
4554
4550
  );
4555
4551
  }, ie = (f) => {
4556
- r(0, B = f);
4557
- }, W = () => ve(this, null, function* () {
4558
- if (!(!B || U[B] && U[B] > 0)) {
4559
- r(3, g = !0), _ && _.startsWith("2fa-") && r(30, _ = `2fa-${B}`);
4552
+ n(0, P = f);
4553
+ }, W = () => Ee(this, null, function* () {
4554
+ if (!(!P || U[P] && U[P] > 0)) {
4555
+ n(3, g = !0), _ && _.startsWith("2fa-") && n(30, _ = `2fa-${P}`);
4560
4556
  try {
4561
- yield $(), yield at(), r(38, U = ut(Xe({}, U), {
4562
- [B]: 30
4563
- })), ze(), r(12, ge = !0), b(), A();
4557
+ yield $(), yield ot(), n(38, U = at(ze({}, U), {
4558
+ [P]: 30
4559
+ })), $e(), n(12, de = !0), b(), C();
4564
4560
  } catch (f) {
4565
- console.error("Error submitting channel:", f), r(6, D = !0), r(8, N = o("submissionError"));
4561
+ console.error("Error submitting channel:", f), n(6, D = !0), n(8, R = o("submissionError"));
4566
4562
  } finally {
4567
- r(3, g = !1);
4563
+ n(3, g = !1);
4568
4564
  }
4569
4565
  }
4570
4566
  }), b = () => {
4571
- const f = new Date(P), E = new Date(I), x = /* @__PURE__ */ new Date(), G = E.getTime() - x.getTime();
4572
- ce = f.getTime() - G;
4573
- const z = Date.now(), Oe = Math.max(0, Math.floor((ce - z) / 1e3));
4574
- r(5, S = Oe);
4575
- }, A = () => {
4567
+ const f = new Date(M), E = new Date(N), x = /* @__PURE__ */ new Date(), G = E.getTime() - x.getTime();
4568
+ he = f.getTime() - G;
4569
+ const z = Date.now(), Te = Math.max(0, Math.floor((he - z) / 1e3));
4570
+ n(5, S = Te);
4571
+ }, C = () => {
4576
4572
  X && clearInterval(X), X = setInterval(
4577
4573
  () => {
4578
- const f = Date.now(), E = Math.max(0, Math.floor((ce - f) / 1e3));
4579
- r(5, S = E), r(11, he = E <= 0), E <= 0 && (clearInterval(X), X = null, r(9, ue = !0), r(6, D = !1), r(10, de = !1));
4574
+ const f = Date.now(), E = Math.max(0, Math.floor((he - f) / 1e3));
4575
+ n(5, S = E), n(11, ue = E <= 0), E <= 0 && (clearInterval(X), X = null, n(9, le = !0), n(6, D = !1), n(10, me = !1));
4580
4576
  },
4581
4577
  1e3
4582
4578
  );
4583
- }, Mr = (f) => {
4579
+ }, Ln = (f) => {
4584
4580
  const E = Math.floor(f / 60), x = f % 60;
4585
4581
  return `${E.toString().padStart(2, "0")}:${x.toString().padStart(2, "0")}`;
4586
- }, st = (f, E) => {
4582
+ }, it = (f, E) => {
4587
4583
  const x = [...d];
4588
- x[f] = E.toUpperCase(), r(2, d = x), x.join("") !== ye && r(13, be = !1);
4589
- }, Lr = (f) => {
4590
- var G, z, Oe;
4584
+ x[f] = E.toUpperCase(), n(2, d = x), x.join("") !== be && n(13, ge = !1);
4585
+ }, In = (f) => {
4586
+ var G, z, Te;
4591
4587
  f.preventDefault();
4592
4588
  const x = (((z = (G = f.clipboardData) == null ? void 0 : G.getData("text")) == null ? void 0 : z.trim()) || "").slice(0, v.inputLength).split("");
4593
- r(2, d = [...x, ...Array(v.inputLength - x.length).fill("")]), (Oe = re[x.length]) == null || Oe.focus(), x.length === v.inputLength && Lt();
4589
+ n(2, d = [...x, ...Array(v.inputLength - x.length).fill("")]), (Te = ne[x.length]) == null || Te.focus(), x.length === v.inputLength && Lt();
4594
4590
  }, Pt = (f, E) => {
4595
4591
  const x = f.target, G = x.value;
4596
4592
  if (/^[a-z0-9]$/i.test(G)) {
4597
- st(E, G);
4598
- const z = re[E + 1];
4593
+ it(E, G);
4594
+ const z = ne[E + 1];
4599
4595
  z == null || z.focus();
4600
4596
  }
4601
4597
  x.value = "";
@@ -4604,19 +4600,19 @@ function Co(e, t, r) {
4604
4600
  if (/^[a-z0-9]$/i.test(x)) {
4605
4601
  if (G && x.toLowerCase() === "v")
4606
4602
  return;
4607
- f.preventDefault(), st(E, x);
4608
- const z = re[E + 1];
4603
+ f.preventDefault(), it(E, x);
4604
+ const z = ne[E + 1];
4609
4605
  z == null || z.focus();
4610
4606
  } else if (x === "Backspace") {
4611
- f.preventDefault(), d[E] !== "" && st(E, "");
4612
- const z = re[E - 1];
4607
+ f.preventDefault(), d[E] !== "" && it(E, "");
4608
+ const z = ne[E - 1];
4613
4609
  z == null || z.focus();
4614
4610
  }
4615
- }, Ir = () => {
4616
- Q == "stateful" && ($(), r(9, ue = !1));
4611
+ }, Nn = () => {
4612
+ Q == "stateful" && ($(), n(9, le = !1));
4617
4613
  const f = new CustomEvent("otpResendRequested");
4618
4614
  window.dispatchEvent(f);
4619
- }, Nr = (f) => {
4615
+ }, Rn = (f) => {
4620
4616
  window.dispatchEvent(new CustomEvent(
4621
4617
  "otpSubmitted",
4622
4618
  {
@@ -4627,19 +4623,19 @@ function Co(e, t, r) {
4627
4623
  }
4628
4624
  }
4629
4625
  ));
4630
- }, Rr = (f) => ve(this, null, function* () {
4626
+ }, kn = (f) => Ee(this, null, function* () {
4631
4627
  const E = new URL(`/api/nwa/api/v1/mfa/challenge/${te}/validate`, h);
4632
4628
  E.searchParams.append("input", f);
4633
4629
  try {
4634
4630
  const x = yield fetch(E.href, { method: "POST" });
4635
4631
  if (x.status === 200) {
4636
- kr();
4632
+ Dn();
4637
4633
  return;
4638
4634
  }
4639
4635
  const G = yield x.json();
4640
4636
  throw new Error(G.message);
4641
4637
  } catch (x) {
4642
- if (yield at(), x.message === Ee.INTERNAL_SERVER_ERROR) {
4638
+ if (yield ot(), x.message === _e.INTERNAL_SERVER_ERROR) {
4643
4639
  if (v.numberOfValidateAttempts === v.maxValidationAttempts - 1) {
4644
4640
  window.dispatchEvent(new CustomEvent("otpSetTimeout")), window.postMessage(
4645
4641
  {
@@ -4653,14 +4649,14 @@ function Co(e, t, r) {
4653
4649
  ), window.dispatchEvent(new CustomEvent("manualClosePopup"));
4654
4650
  return;
4655
4651
  }
4656
- r(6, D = !0), r(8, N = o("invalidOtp")), at();
4652
+ n(6, D = !0), n(8, R = o("invalidOtp")), ot();
4657
4653
  return;
4658
4654
  }
4659
- x.message === Ee.MAX_INVALIDATE && (r(6, D = !0), r(8, N = o("invalidOtp"))), x.details === Ee.MAX_ATTEMPTS_EXCEEDED && r(15, ne = !0), console.error("OTP submission failed:", x), r(6, D = !0), r(8, N = o("submissionError"));
4655
+ x.message === _e.MAX_INVALIDATE && (n(6, D = !0), n(8, R = o("invalidOtp"))), x.details === _e.MAX_ATTEMPTS_EXCEEDED && n(15, re = !0), console.error("OTP submission failed:", x), n(6, D = !0), n(8, R = o("submissionError"));
4660
4656
  } finally {
4661
- r(3, g = !1);
4657
+ n(3, g = !1);
4662
4658
  }
4663
- }), kr = () => {
4659
+ }), Dn = () => {
4664
4660
  window.dispatchEvent(new CustomEvent(
4665
4661
  "otpSuccess",
4666
4662
  {
@@ -4669,93 +4665,93 @@ function Co(e, t, r) {
4669
4665
  }
4670
4666
  }
4671
4667
  ));
4672
- }, Dr = () => {
4668
+ }, Un = () => {
4673
4669
  window.dispatchEvent(new CustomEvent("manualClosePopup"));
4674
- }, Lt = () => ve(this, null, function* () {
4670
+ }, Lt = () => Ee(this, null, function* () {
4675
4671
  if (d.join("").length !== v.inputLength) {
4676
- r(6, D = !0), r(8, N = o("invalidOtp"));
4672
+ n(6, D = !0), n(8, R = o("invalidOtp"));
4677
4673
  return;
4678
4674
  }
4679
4675
  const f = d.join("");
4680
- r(13, be = !0), ye = f, r(3, g = !0), r(6, D = !1), r(8, N = ""), Q === "stateless" && Nr(f), Q === "stateful" && (yield Rr(f));
4681
- }), at = () => ve(this, null, function* () {
4676
+ n(13, ge = !0), be = f, n(3, g = !0), n(6, D = !1), n(8, R = ""), Q === "stateless" && Rn(f), Q === "stateful" && (yield kn(f));
4677
+ }), ot = () => Ee(this, null, function* () {
4682
4678
  if (h)
4683
4679
  try {
4684
- r(3, g = !0);
4680
+ n(3, g = !0);
4685
4681
  const f = new URL(`/api/nwa/api/v1/mfa/challenge/${te}/config`, h), E = yield fetch(f.href), x = yield E.json();
4686
4682
  if (E.ok)
4687
- r(4, v = x), r(2, d = Array(v.inputLength).fill("")), r(9, ue = !1), P = v.expirationTime, I = v.serverTime, v.numberOfValidateAttempts !== 0 && (r(6, D = !0), r(8, N = o("invalidOtp"))), v.numberOfValidateAttempts === v.maxValidationAttempts - 1 && r(10, de = !0), r(3, g = !1), b(), A(), r(16, _e = !1);
4688
- else if (x && x.details === Ee.MAX_ATTEMPTS_EXCEEDED)
4683
+ n(4, v = x), n(2, d = Array(v.inputLength).fill("")), n(9, le = !1), M = v.expirationTime, N = v.serverTime, v.numberOfValidateAttempts !== 0 && (n(6, D = !0), n(8, R = o("invalidOtp"))), v.numberOfValidateAttempts === v.maxValidationAttempts - 1 && n(10, me = !0), n(3, g = !1), b(), C(), n(16, ye = !1);
4684
+ else if (x && x.details === _e.MAX_ATTEMPTS_EXCEEDED)
4689
4685
  window.dispatchEvent(new CustomEvent("manualClosePopup"));
4690
4686
  else {
4691
4687
  const G = x && x.message || `Failed to load config. Status: ${E.status}`;
4692
4688
  throw new Error(G);
4693
4689
  }
4694
4690
  } catch (f) {
4695
- r(3, g = !1), r(7, M = !0), r(8, N = o("configError")), window.dispatchEvent(new CustomEvent("2fa-loading", { detail: { isLoading: !1 } })), console.error("Error loading 2FA config:", f);
4691
+ n(3, g = !1), n(7, L = !0), n(8, R = o("configError")), window.dispatchEvent(new CustomEvent("2fa-loading", { detail: { isLoading: !1 } })), console.error("Error loading 2FA config:", f);
4696
4692
  }
4697
4693
  });
4698
- an(() => (window.addEventListener("stepUpAuthRequired", V, !1), window.addEventListener("closePopup", fe, !1), () => {
4699
- window.removeEventListener("stepUpAuthRequired", V), window.removeEventListener("closePopup", fe, !1), X && clearInterval(X), Z && clearInterval(Z);
4694
+ ar(() => (window.addEventListener("stepUpAuthRequired", V, !1), window.addEventListener("closePopup", ce, !1), () => {
4695
+ window.removeEventListener("stepUpAuthRequired", V), window.removeEventListener("closePopup", ce, !1), X && clearInterval(X), Z && clearInterval(Z);
4700
4696
  }));
4701
- const Ur = () => ie(Se.SMS), Gr = () => ie(Se.EMAIL);
4702
- function Fr(f, E) {
4703
- Je[f ? "unshift" : "push"](() => {
4704
- re[E] = f, r(14, re);
4697
+ const Gn = () => ie(we.SMS), Fn = () => ie(we.EMAIL);
4698
+ function jn(f, E) {
4699
+ Qe[f ? "unshift" : "push"](() => {
4700
+ ne[E] = f, n(14, ne);
4705
4701
  });
4706
4702
  }
4707
- const jr = (f, E) => Pt(E, f), Vr = (f, E) => Mt(E, f);
4708
- function $r(f) {
4709
- Je[f ? "unshift" : "push"](() => {
4710
- J = f, r(1, J);
4703
+ const Vn = (f, E) => Pt(E, f), $n = (f, E) => Mt(E, f);
4704
+ function zn(f) {
4705
+ Qe[f ? "unshift" : "push"](() => {
4706
+ J = f, n(1, J);
4711
4707
  });
4712
4708
  }
4713
4709
  return e.$$set = (f) => {
4714
- "clientstyling" in f && r(31, a = f.clientstyling), "clientstylingurl" in f && r(32, s = f.clientstylingurl), "mbsource" in f && r(33, u = f.mbsource), "lang" in f && r(34, l = f.lang), "endpoint" in f && r(35, h = f.endpoint), "session" in f && r(36, c = f.session), "translationurl" in f && r(37, m = f.translationurl), "templateid" in f && r(30, _ = f.templateid);
4710
+ "clientstyling" in f && n(31, a = f.clientstyling), "clientstylingurl" in f && n(32, s = f.clientstylingurl), "mbsource" in f && n(33, u = f.mbsource), "lang" in f && n(34, l = f.lang), "endpoint" in f && n(35, h = f.endpoint), "session" in f && n(36, c = f.session), "translationurl" in f && n(37, m = f.translationurl), "templateid" in f && n(30, _ = f.templateid);
4715
4711
  }, e.$$.update = () => {
4716
4712
  e.$$.dirty[0] & /*customStylingContainer*/
4717
4713
  2 | e.$$.dirty[1] & /*clientstyling*/
4718
- 1 && a && J && vn(J, a), e.$$.dirty[0] & /*customStylingContainer*/
4714
+ 1 && a && J && vr(J, a), e.$$.dirty[0] & /*customStylingContainer*/
4719
4715
  2 | e.$$.dirty[1] & /*clientstylingurl*/
4720
- 2 && s && J && xn(J, s), e.$$.dirty[0] & /*customStylingContainer*/
4716
+ 2 && s && J && xr(J, s), e.$$.dirty[0] & /*customStylingContainer*/
4721
4717
  2 | e.$$.dirty[1] & /*mbsource*/
4722
- 4 && u && J && wn(J, `${u}.Style`), e.$$.dirty[1] & /*lang*/
4723
- 8 && l && Te(), e.$$.dirty[1] & /*lang, translationurl*/
4718
+ 4 && u && J && wr(J, `${u}.Style`), e.$$.dirty[1] & /*lang*/
4719
+ 8 && l && Se(), e.$$.dirty[1] & /*lang, translationurl*/
4724
4720
  72 && l && m && Y(), e.$$.dirty[0] & /*selectedChannel*/
4725
4721
  1 | e.$$.dirty[1] & /*channelSubmitTimers*/
4726
- 128 && r(18, n = B && (!U[B] || U[B] === 0)), e.$$.dirty[0] & /*selectedChannel*/
4722
+ 128 && n(18, r = P && (!U[P] || U[P] === 0)), e.$$.dirty[0] & /*selectedChannel*/
4727
4723
  1 | e.$$.dirty[1] & /*channelSubmitTimers*/
4728
- 128 && r(17, i = B && U[B] || 0);
4724
+ 128 && n(17, i = P && U[P] || 0);
4729
4725
  }, [
4730
- B,
4726
+ P,
4731
4727
  J,
4732
4728
  d,
4733
4729
  g,
4734
4730
  v,
4735
4731
  S,
4736
4732
  D,
4737
- M,
4738
- N,
4733
+ L,
4734
+ R,
4735
+ le,
4736
+ me,
4739
4737
  ue,
4740
4738
  de,
4741
- he,
4742
4739
  ge,
4743
- be,
4744
- re,
4745
4740
  ne,
4746
- _e,
4741
+ re,
4742
+ ye,
4747
4743
  i,
4748
- n,
4744
+ r,
4749
4745
  o,
4750
- Se,
4746
+ we,
4751
4747
  ie,
4752
4748
  W,
4753
- Mr,
4754
- Lr,
4749
+ Ln,
4750
+ In,
4755
4751
  Pt,
4756
4752
  Mt,
4757
- Ir,
4758
- Dr,
4753
+ Nn,
4754
+ Un,
4759
4755
  Lt,
4760
4756
  _,
4761
4757
  a,
@@ -4766,22 +4762,22 @@ function Co(e, t, r) {
4766
4762
  c,
4767
4763
  m,
4768
4764
  U,
4769
- Ur,
4770
- Gr,
4771
- Fr,
4772
- jr,
4773
- Vr,
4774
- $r
4765
+ Gn,
4766
+ Fn,
4767
+ jn,
4768
+ Vn,
4769
+ $n,
4770
+ zn
4775
4771
  ];
4776
4772
  }
4777
- class Bo extends _n {
4773
+ class Co extends _r {
4778
4774
  constructor(t) {
4779
- super(), bn(
4775
+ super(), br(
4780
4776
  this,
4781
4777
  t,
4782
- Co,
4783
4778
  Ao,
4784
- or,
4779
+ Oo,
4780
+ sn,
4785
4781
  {
4786
4782
  clientstyling: 31,
4787
4783
  clientstylingurl: 32,
@@ -4792,7 +4788,7 @@ class Bo extends _n {
4792
4788
  translationurl: 37,
4793
4789
  templateid: 30
4794
4790
  },
4795
- po,
4791
+ fo,
4796
4792
  [-1, -1, -1]
4797
4793
  );
4798
4794
  }
@@ -4845,7 +4841,7 @@ class Bo extends _n {
4845
4841
  this.$$set({ templateid: t }), ae();
4846
4842
  }
4847
4843
  }
4848
- yn(Bo, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, endpoint: {}, session: {}, translationurl: {}, templateid: {} }, [], [], !0);
4844
+ yr(Co, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, endpoint: {}, session: {}, translationurl: {}, templateid: {} }, [], [], !0);
4849
4845
  export {
4850
- Bo as default
4846
+ Co as default
4851
4847
  };