@everymatrix/cashier-step-up 0.6.0 → 0.6.1

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,46 +1,46 @@
1
- function te() {
1
+ function Y() {
2
2
  }
3
- function Kt(e) {
3
+ function Yt(e) {
4
4
  return e();
5
5
  }
6
- function Lt() {
6
+ function Bt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function Ee(e) {
10
- e.forEach(Kt);
9
+ function _e(e) {
10
+ e.forEach(Yt);
11
11
  }
12
- function Tt(e) {
12
+ function wt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function en(e, t) {
15
+ function Kt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function Dn(e) {
18
+ function Ur(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function tn(e, ...t) {
21
+ function er(e, ...t) {
22
22
  if (e == null) {
23
- for (const r of t)
24
- r(void 0);
25
- return te;
23
+ for (const n of t)
24
+ n(void 0);
25
+ return Y;
26
26
  }
27
- const n = e.subscribe(...t);
28
- return n.unsubscribe ? () => n.unsubscribe() : n;
27
+ const r = e.subscribe(...t);
28
+ return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function Un(e, t, n) {
31
- e.$$.on_destroy.push(tn(t, n));
30
+ function Gr(e, t, r) {
31
+ e.$$.on_destroy.push(er(t, r));
32
32
  }
33
- function g(e, t) {
33
+ function y(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function Gn(e, t, n) {
37
- const r = Fn(e);
38
- if (!r.getElementById(t)) {
39
- const i = T("style");
40
- i.id = t, i.textContent = n, jn(r, i);
36
+ function Fr(e, t, r) {
37
+ const n = jr(e);
38
+ if (!n.getElementById(t)) {
39
+ const i = O("style");
40
+ i.id = t, i.textContent = r, Vr(n, i);
41
41
  }
42
42
  }
43
- function Fn(e) {
43
+ function jr(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,155 +50,155 @@ function Fn(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function jn(e, t) {
54
- return g(
53
+ function Vr(e, t) {
54
+ return y(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
58
58
  ), t.sheet;
59
59
  }
60
- function C(e, t, n) {
61
- e.insertBefore(t, n || null);
60
+ function C(e, t, r) {
61
+ e.insertBefore(t, r || null);
62
62
  }
63
63
  function H(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function $n(e, t) {
67
- for (let n = 0; n < e.length; n += 1)
68
- e[n] && e[n].d(t);
66
+ function $r(e, t) {
67
+ for (let r = 0; r < e.length; r += 1)
68
+ e[r] && e[r].d(t);
69
69
  }
70
- function T(e) {
70
+ function O(e) {
71
71
  return document.createElement(e);
72
72
  }
73
- function ee(e) {
73
+ function ne(e) {
74
74
  return document.createElementNS("http://www.w3.org/2000/svg", e);
75
75
  }
76
- function I(e) {
76
+ function k(e) {
77
77
  return document.createTextNode(e);
78
78
  }
79
- function D() {
80
- return I(" ");
79
+ function G() {
80
+ return k(" ");
81
81
  }
82
- function Vn() {
83
- return I("");
82
+ function zr() {
83
+ return k("");
84
84
  }
85
- function he(e, t, n, r) {
86
- return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
85
+ function ce(e, t, r, n) {
86
+ return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
87
87
  }
88
- function p(e, t, n) {
89
- n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
88
+ function p(e, t, r) {
89
+ r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
90
90
  }
91
- function zn(e) {
91
+ function Xr(e) {
92
92
  return Array.from(e.childNodes);
93
93
  }
94
- function U(e, t) {
94
+ function F(e, t) {
95
95
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
96
96
  t);
97
97
  }
98
- function ae(e, t, n) {
99
- e.classList.toggle(t, !!n);
98
+ function ie(e, t, r) {
99
+ e.classList.toggle(t, !!r);
100
100
  }
101
- function Xn(e) {
101
+ function Wr(e) {
102
102
  const t = {};
103
103
  return e.childNodes.forEach(
104
104
  /** @param {Element} node */
105
- (n) => {
106
- t[n.slot || "default"] = !0;
105
+ (r) => {
106
+ t[r.slot || "default"] = !0;
107
107
  }
108
108
  ), t;
109
109
  }
110
- let $e;
111
- function je(e) {
112
- $e = e;
110
+ let ke;
111
+ function Re(e) {
112
+ ke = e;
113
113
  }
114
- function Wn() {
115
- if (!$e)
114
+ function Zr() {
115
+ if (!ke)
116
116
  throw new Error("Function called outside component initialization");
117
- return $e;
117
+ return ke;
118
118
  }
119
- function Zn(e) {
120
- Wn().$$.on_mount.push(e);
119
+ function qr(e) {
120
+ Zr().$$.on_mount.push(e);
121
121
  }
122
- const He = [], Je = [];
123
- let Ce = [];
124
- const Pt = [], qn = /* @__PURE__ */ Promise.resolve();
125
- let dt = !1;
126
- function Qn() {
127
- dt || (dt = !0, qn.then(le));
122
+ const Te = [], We = [];
123
+ let Oe = [];
124
+ const Pt = [], Qr = /* @__PURE__ */ Promise.resolve();
125
+ let ft = !1;
126
+ function Jr() {
127
+ ft || (ft = !0, Qr.then(oe));
128
128
  }
129
- function mt(e) {
130
- Ce.push(e);
129
+ function pt(e) {
130
+ Oe.push(e);
131
131
  }
132
- const at = /* @__PURE__ */ new Set();
133
- let Te = 0;
134
- function le() {
135
- if (Te !== 0)
132
+ const ot = /* @__PURE__ */ new Set();
133
+ let we = 0;
134
+ function oe() {
135
+ if (we !== 0)
136
136
  return;
137
- const e = $e;
137
+ const e = ke;
138
138
  do {
139
139
  try {
140
- for (; Te < He.length; ) {
141
- const t = He[Te];
142
- Te++, je(t), Jn(t.$$);
140
+ for (; we < Te.length; ) {
141
+ const t = Te[we];
142
+ we++, Re(t), Yr(t.$$);
143
143
  }
144
144
  } catch (t) {
145
- throw He.length = 0, Te = 0, t;
145
+ throw Te.length = 0, we = 0, t;
146
146
  }
147
- for (je(null), He.length = 0, Te = 0; Je.length; )
148
- Je.pop()();
149
- for (let t = 0; t < Ce.length; t += 1) {
150
- const n = Ce[t];
151
- at.has(n) || (at.add(n), n());
147
+ for (Re(null), Te.length = 0, we = 0; We.length; )
148
+ We.pop()();
149
+ for (let t = 0; t < Oe.length; t += 1) {
150
+ const r = Oe[t];
151
+ ot.has(r) || (ot.add(r), r());
152
152
  }
153
- Ce.length = 0;
154
- } while (He.length);
153
+ Oe.length = 0;
154
+ } while (Te.length);
155
155
  for (; Pt.length; )
156
156
  Pt.pop()();
157
- dt = !1, at.clear(), je(e);
157
+ ft = !1, ot.clear(), Re(e);
158
158
  }
159
- function Jn(e) {
159
+ function Yr(e) {
160
160
  if (e.fragment !== null) {
161
- e.update(), Ee(e.before_update);
161
+ e.update(), _e(e.before_update);
162
162
  const t = e.dirty;
163
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(mt);
163
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(pt);
164
164
  }
165
165
  }
166
- function Yn(e) {
167
- const t = [], n = [];
168
- Ce.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Ce = t;
166
+ function Kr(e) {
167
+ const t = [], r = [];
168
+ Oe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Oe = t;
169
169
  }
170
- const Kn = /* @__PURE__ */ new Set();
171
- function er(e, t) {
172
- e && e.i && (Kn.delete(e), e.i(t));
170
+ const en = /* @__PURE__ */ new Set();
171
+ function tn(e, t) {
172
+ e && e.i && (en.delete(e), e.i(t));
173
173
  }
174
174
  function Mt(e) {
175
175
  return e?.length !== void 0 ? e : Array.from(e);
176
176
  }
177
- function tr(e, t, n) {
178
- const { fragment: r, after_update: i } = e.$$;
179
- r && r.m(t, n), mt(() => {
180
- const o = e.$$.on_mount.map(Kt).filter(Tt);
181
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ee(o), e.$$.on_mount = [];
182
- }), i.forEach(mt);
177
+ function rn(e, t, r) {
178
+ const { fragment: n, after_update: i } = e.$$;
179
+ n && n.m(t, r), pt(() => {
180
+ const o = e.$$.on_mount.map(Yt).filter(wt);
181
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : _e(o), e.$$.on_mount = [];
182
+ }), i.forEach(pt);
183
183
  }
184
- function nr(e, t) {
185
- const n = e.$$;
186
- n.fragment !== null && (Yn(n.after_update), Ee(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
184
+ function nn(e, t) {
185
+ const r = e.$$;
186
+ r.fragment !== null && (Kr(r.after_update), _e(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
187
187
  }
188
- function rr(e, t) {
189
- e.$$.dirty[0] === -1 && (He.push(e), Qn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
188
+ function on(e, t) {
189
+ e.$$.dirty[0] === -1 && (Te.push(e), Jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
190
190
  }
191
- function ir(e, t, n, r, i, o, l = null, s = [-1]) {
192
- const u = $e;
193
- je(e);
194
- const a = e.$$ = {
191
+ function sn(e, t, r, n, i, o, a = null, s = [-1]) {
192
+ const u = ke;
193
+ Re(e);
194
+ const l = e.$$ = {
195
195
  fragment: null,
196
196
  ctx: [],
197
197
  // state
198
198
  props: o,
199
- update: te,
199
+ update: Y,
200
200
  not_equal: i,
201
- bound: Lt(),
201
+ bound: Bt(),
202
202
  // lifecycle
203
203
  on_mount: [],
204
204
  on_destroy: [],
@@ -207,28 +207,28 @@ function ir(e, t, n, r, i, o, l = null, s = [-1]) {
207
207
  after_update: [],
208
208
  context: new Map(t.context || (u ? u.$$.context : [])),
209
209
  // everything else
210
- callbacks: Lt(),
210
+ callbacks: Bt(),
211
211
  dirty: s,
212
212
  skip_bound: !1,
213
213
  root: t.target || u.$$.root
214
214
  };
215
- l && l(a.root);
215
+ a && a(l.root);
216
216
  let h = !1;
217
- if (a.ctx = n ? n(e, t.props || {}, (c, d, ...y) => {
218
- const b = y.length ? y[0] : d;
219
- return a.ctx && i(a.ctx[c], a.ctx[c] = b) && (!a.skip_bound && a.bound[c] && a.bound[c](b), h && rr(e, c)), d;
220
- }) : [], a.update(), h = !0, Ee(a.before_update), a.fragment = r ? r(a.ctx) : !1, t.target) {
217
+ if (l.ctx = r ? r(e, t.props || {}, (c, m, ..._) => {
218
+ const d = _.length ? _[0] : m;
219
+ return l.ctx && i(l.ctx[c], l.ctx[c] = d) && (!l.skip_bound && l.bound[c] && l.bound[c](d), h && on(e, c)), m;
220
+ }) : [], l.update(), h = !0, _e(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
221
221
  if (t.hydrate) {
222
- const c = zn(t.target);
223
- a.fragment && a.fragment.l(c), c.forEach(H);
222
+ const c = Xr(t.target);
223
+ l.fragment && l.fragment.l(c), c.forEach(H);
224
224
  } else
225
- a.fragment && a.fragment.c();
226
- t.intro && er(e.$$.fragment), tr(e, t.target, t.anchor), le();
225
+ l.fragment && l.fragment.c();
226
+ t.intro && tn(e.$$.fragment), rn(e, t.target, t.anchor), oe();
227
227
  }
228
- je(u);
228
+ Re(u);
229
229
  }
230
- let nn;
231
- typeof HTMLElement == "function" && (nn = class extends HTMLElement {
230
+ let tr;
231
+ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
232
232
  /** The Svelte component constructor */
233
233
  $$ctor;
234
234
  /** Slots */
@@ -247,20 +247,20 @@ typeof HTMLElement == "function" && (nn = class extends HTMLElement {
247
247
  $$l = {};
248
248
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
249
249
  $$l_u = /* @__PURE__ */ new Map();
250
- constructor(e, t, n) {
251
- super(), this.$$ctor = e, this.$$s = t, n && this.attachShadow({ mode: "open" });
250
+ constructor(e, t, r) {
251
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
252
252
  }
253
- addEventListener(e, t, n) {
253
+ addEventListener(e, t, r) {
254
254
  if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
255
- const r = this.$$c.$on(e, t);
256
- this.$$l_u.set(t, r);
255
+ const n = this.$$c.$on(e, t);
256
+ this.$$l_u.set(t, n);
257
257
  }
258
- super.addEventListener(e, t, n);
258
+ super.addEventListener(e, t, r);
259
259
  }
260
- removeEventListener(e, t, n) {
261
- if (super.removeEventListener(e, t, n), this.$$c) {
262
- const r = this.$$l_u.get(t);
263
- r && (r(), this.$$l_u.delete(t));
260
+ removeEventListener(e, t, r) {
261
+ if (super.removeEventListener(e, t, r), this.$$c) {
262
+ const n = this.$$l_u.get(t);
263
+ n && (n(), this.$$l_u.delete(t));
264
264
  }
265
265
  }
266
266
  async connectedCallback() {
@@ -270,14 +270,14 @@ typeof HTMLElement == "function" && (nn = class extends HTMLElement {
270
270
  let o;
271
271
  return {
272
272
  c: function() {
273
- o = T("slot"), i !== "default" && p(o, "name", i);
273
+ o = O("slot"), i !== "default" && p(o, "name", i);
274
274
  },
275
275
  /**
276
276
  * @param {HTMLElement} target
277
277
  * @param {HTMLElement} [anchor]
278
278
  */
279
- m: function(u, a) {
280
- C(u, o, a);
279
+ m: function(u, l) {
280
+ C(u, o, l);
281
281
  },
282
282
  d: function(u) {
283
283
  u && H(o);
@@ -287,12 +287,12 @@ typeof HTMLElement == "function" && (nn = class extends HTMLElement {
287
287
  };
288
288
  if (await Promise.resolve(), !this.$$cn || this.$$c)
289
289
  return;
290
- const t = {}, n = Xn(this);
290
+ const t = {}, r = Wr(this);
291
291
  for (const i of this.$$s)
292
- i in n && (t[i] = [e(i)]);
292
+ i in r && (t[i] = [e(i)]);
293
293
  for (const i of this.attributes) {
294
294
  const o = this.$$g_p(i.name);
295
- o in this.$$d || (this.$$d[o] = Ze(o, i.value, this.$$p_d, "toProp"));
295
+ o in this.$$d || (this.$$d[o] = $e(o, i.value, this.$$p_d, "toProp"));
296
296
  }
297
297
  for (const i in this.$$p_d)
298
298
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -306,11 +306,11 @@ typeof HTMLElement == "function" && (nn = class extends HTMLElement {
306
306
  }
307
307
  }
308
308
  });
309
- const r = () => {
309
+ const n = () => {
310
310
  this.$$r = !0;
311
311
  for (const i in this.$$p_d)
312
312
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
313
- const o = Ze(
313
+ const o = $e(
314
314
  i,
315
315
  this.$$d[i],
316
316
  this.$$p_d,
@@ -320,19 +320,19 @@ typeof HTMLElement == "function" && (nn = class extends HTMLElement {
320
320
  }
321
321
  this.$$r = !1;
322
322
  };
323
- this.$$c.$$.after_update.push(r), r();
323
+ this.$$c.$$.after_update.push(n), n();
324
324
  for (const i in this.$$l)
325
325
  for (const o of this.$$l[i]) {
326
- const l = this.$$c.$on(i, o);
327
- this.$$l_u.set(o, l);
326
+ const a = this.$$c.$on(i, o);
327
+ this.$$l_u.set(o, a);
328
328
  }
329
329
  this.$$l = {};
330
330
  }
331
331
  }
332
332
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
333
333
  // and setting attributes through setAttribute etc, this is helpful
334
- attributeChangedCallback(e, t, n) {
335
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ze(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
334
+ attributeChangedCallback(e, t, r) {
335
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = $e(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
336
336
  }
337
337
  disconnectedCallback() {
338
338
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -345,11 +345,11 @@ typeof HTMLElement == "function" && (nn = class extends HTMLElement {
345
345
  ) || e;
346
346
  }
347
347
  });
348
- function Ze(e, t, n, r) {
349
- const i = n[e]?.type;
350
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
348
+ function $e(e, t, r, n) {
349
+ const i = r[e]?.type;
350
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
351
351
  return t;
352
- if (r === "toAttribute")
352
+ if (n === "toAttribute")
353
353
  switch (i) {
354
354
  case "Object":
355
355
  case "Array":
@@ -374,10 +374,10 @@ function Ze(e, t, n, r) {
374
374
  return t;
375
375
  }
376
376
  }
377
- function or(e, t, n, r, i, o) {
378
- let l = class extends nn {
377
+ function an(e, t, r, n, i, o) {
378
+ let a = class extends tr {
379
379
  constructor() {
380
- super(e, n, i), this.$$p_d = t;
380
+ super(e, r, i), this.$$p_d = t;
381
381
  }
382
382
  static get observedAttributes() {
383
383
  return Object.keys(t).map(
@@ -386,24 +386,24 @@ function or(e, t, n, r, i, o) {
386
386
  }
387
387
  };
388
388
  return Object.keys(t).forEach((s) => {
389
- Object.defineProperty(l.prototype, s, {
389
+ Object.defineProperty(a.prototype, s, {
390
390
  get() {
391
391
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
392
392
  },
393
393
  set(u) {
394
- u = Ze(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
394
+ u = $e(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
395
395
  }
396
396
  });
397
- }), r.forEach((s) => {
398
- Object.defineProperty(l.prototype, s, {
397
+ }), n.forEach((s) => {
398
+ Object.defineProperty(a.prototype, s, {
399
399
  get() {
400
400
  return this.$$c?.[s];
401
401
  }
402
402
  });
403
403
  }), e.element = /** @type {any} */
404
- l, l;
404
+ a, a;
405
405
  }
406
- class sr {
406
+ class ln {
407
407
  /**
408
408
  * ### PRIVATE API
409
409
  *
@@ -422,7 +422,7 @@ class sr {
422
422
  $$set = void 0;
423
423
  /** @returns {void} */
424
424
  $destroy() {
425
- nr(this, 1), this.$destroy = te;
425
+ nn(this, 1), this.$destroy = Y;
426
426
  }
427
427
  /**
428
428
  * @template {Extract<keyof Events, string>} K
@@ -430,13 +430,13 @@ class sr {
430
430
  * @param {((e: Events[K]) => void) | null | undefined} callback
431
431
  * @returns {() => void}
432
432
  */
433
- $on(t, n) {
434
- if (!Tt(n))
435
- return te;
436
- const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
437
- return r.push(n), () => {
438
- const i = r.indexOf(n);
439
- i !== -1 && r.splice(i, 1);
433
+ $on(t, r) {
434
+ if (!wt(r))
435
+ return Y;
436
+ const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
437
+ return n.push(r), () => {
438
+ const i = n.indexOf(r);
439
+ i !== -1 && n.splice(i, 1);
440
440
  };
441
441
  }
442
442
  /**
@@ -444,246 +444,246 @@ class sr {
444
444
  * @returns {void}
445
445
  */
446
446
  $set(t) {
447
- this.$$set && !Dn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
447
+ this.$$set && !Ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
448
448
  }
449
449
  }
450
- const ar = "4";
451
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ar);
452
- function lr(e, t) {
450
+ const un = "4";
451
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(un);
452
+ function hn(e, t) {
453
453
  if (e) {
454
- const n = document.createElement("style");
455
- n.innerHTML = t, e.appendChild(n);
454
+ const r = document.createElement("style");
455
+ r.innerHTML = t, e.appendChild(r);
456
456
  }
457
457
  }
458
- function ur(e, t) {
458
+ function cn(e, t) {
459
459
  if (!e || !t)
460
460
  return;
461
- const n = new URL(t);
462
- fetch(n.href).then((r) => r.text()).then((r) => {
461
+ const r = new URL(t);
462
+ fetch(r.href).then((n) => n.text()).then((n) => {
463
463
  const i = document.createElement("style");
464
- i.innerHTML = r, e && e.appendChild(i);
465
- }).catch((r) => {
466
- console.error("There was an error while trying to load client styling from URL", r);
464
+ i.innerHTML = n, e && e.appendChild(i);
465
+ }).catch((n) => {
466
+ console.error("There was an error while trying to load client styling from URL", n);
467
467
  });
468
468
  }
469
- function hr(e, t, n) {
469
+ function fn(e, t, r) {
470
470
  if (window.emMessageBus) {
471
- const r = document.createElement("style");
471
+ const n = document.createElement("style");
472
472
  window.emMessageBus.subscribe(t, (i) => {
473
- r.innerHTML = i, e && e.appendChild(r);
473
+ n.innerHTML = i, e && e.appendChild(n);
474
474
  });
475
475
  }
476
476
  }
477
- const Oe = [];
478
- function cr(e, t) {
477
+ const Se = [];
478
+ function pn(e, t) {
479
479
  return {
480
- subscribe: tt(e, t).subscribe
480
+ subscribe: Je(e, t).subscribe
481
481
  };
482
482
  }
483
- function tt(e, t = te) {
484
- let n;
485
- const r = /* @__PURE__ */ new Set();
483
+ function Je(e, t = Y) {
484
+ let r;
485
+ const n = /* @__PURE__ */ new Set();
486
486
  function i(s) {
487
- if (en(e, s) && (e = s, n)) {
488
- const u = !Oe.length;
489
- for (const a of r)
490
- a[1](), Oe.push(a, e);
487
+ if (Kt(e, s) && (e = s, r)) {
488
+ const u = !Se.length;
489
+ for (const l of n)
490
+ l[1](), Se.push(l, e);
491
491
  if (u) {
492
- for (let a = 0; a < Oe.length; a += 2)
493
- Oe[a][0](Oe[a + 1]);
494
- Oe.length = 0;
492
+ for (let l = 0; l < Se.length; l += 2)
493
+ Se[l][0](Se[l + 1]);
494
+ Se.length = 0;
495
495
  }
496
496
  }
497
497
  }
498
498
  function o(s) {
499
499
  i(s(e));
500
500
  }
501
- function l(s, u = te) {
502
- const a = [s, u];
503
- return r.add(a), r.size === 1 && (n = t(i, o) || te), s(e), () => {
504
- r.delete(a), r.size === 0 && n && (n(), n = null);
501
+ function a(s, u = Y) {
502
+ const l = [s, u];
503
+ return n.add(l), n.size === 1 && (r = t(i, o) || Y), s(e), () => {
504
+ n.delete(l), n.size === 0 && r && (r(), r = null);
505
505
  };
506
506
  }
507
- return { set: i, update: o, subscribe: l };
507
+ return { set: i, update: o, subscribe: a };
508
508
  }
509
- function Me(e, t, n) {
510
- const r = !Array.isArray(e), i = r ? [e] : e;
509
+ function Pe(e, t, r) {
510
+ const n = !Array.isArray(e), i = n ? [e] : e;
511
511
  if (!i.every(Boolean))
512
512
  throw new Error("derived() expects stores as input, got a falsy value");
513
513
  const o = t.length < 2;
514
- return cr(n, (l, s) => {
514
+ return pn(r, (a, s) => {
515
515
  let u = !1;
516
- const a = [];
517
- let h = 0, c = te;
518
- const d = () => {
516
+ const l = [];
517
+ let h = 0, c = Y;
518
+ const m = () => {
519
519
  if (h)
520
520
  return;
521
521
  c();
522
- const b = t(r ? a[0] : a, l, s);
523
- o ? l(b) : c = Tt(b) ? b : te;
524
- }, y = i.map(
525
- (b, m) => tn(
526
- b,
522
+ const d = t(n ? l[0] : l, a, s);
523
+ o ? a(d) : c = wt(d) ? d : Y;
524
+ }, _ = i.map(
525
+ (d, g) => er(
526
+ d,
527
527
  (E) => {
528
- a[m] = E, h &= ~(1 << m), u && d();
528
+ l[g] = E, h &= ~(1 << g), u && m();
529
529
  },
530
530
  () => {
531
- h |= 1 << m;
531
+ h |= 1 << g;
532
532
  }
533
533
  )
534
534
  );
535
- return u = !0, d(), function() {
536
- Ee(y), c(), u = !1;
535
+ return u = !0, m(), function() {
536
+ _e(_), c(), u = !1;
537
537
  };
538
538
  });
539
539
  }
540
- function fr(e) {
540
+ function mn(e) {
541
541
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
542
542
  }
543
- var pr = function(t) {
544
- return dr(t) && !mr(t);
543
+ var dn = function(t) {
544
+ return gn(t) && !bn(t);
545
545
  };
546
- function dr(e) {
546
+ function gn(e) {
547
547
  return !!e && typeof e == "object";
548
548
  }
549
- function mr(e) {
549
+ function bn(e) {
550
550
  var t = Object.prototype.toString.call(e);
551
- return t === "[object RegExp]" || t === "[object Date]" || _r(e);
551
+ return t === "[object RegExp]" || t === "[object Date]" || En(e);
552
552
  }
553
- var gr = typeof Symbol == "function" && Symbol.for, br = gr ? Symbol.for("react.element") : 60103;
554
- function _r(e) {
555
- return e.$$typeof === br;
553
+ var yn = typeof Symbol == "function" && Symbol.for, _n = yn ? Symbol.for("react.element") : 60103;
554
+ function En(e) {
555
+ return e.$$typeof === _n;
556
556
  }
557
- function yr(e) {
557
+ function vn(e) {
558
558
  return Array.isArray(e) ? [] : {};
559
559
  }
560
- function Ve(e, t) {
561
- return t.clone !== !1 && t.isMergeableObject(e) ? Ae(yr(e), e, t) : e;
560
+ function De(e, t) {
561
+ return t.clone !== !1 && t.isMergeableObject(e) ? He(vn(e), e, t) : e;
562
562
  }
563
- function Er(e, t, n) {
564
- return e.concat(t).map(function(r) {
565
- return Ve(r, n);
563
+ function xn(e, t, r) {
564
+ return e.concat(t).map(function(n) {
565
+ return De(n, r);
566
566
  });
567
567
  }
568
- function vr(e, t) {
568
+ function wn(e, t) {
569
569
  if (!t.customMerge)
570
- return Ae;
571
- var n = t.customMerge(e);
572
- return typeof n == "function" ? n : Ae;
570
+ return He;
571
+ var r = t.customMerge(e);
572
+ return typeof r == "function" ? r : He;
573
573
  }
574
- function xr(e) {
574
+ function Sn(e) {
575
575
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
576
576
  return Object.propertyIsEnumerable.call(e, t);
577
577
  }) : [];
578
578
  }
579
579
  function It(e) {
580
- return Object.keys(e).concat(xr(e));
580
+ return Object.keys(e).concat(Sn(e));
581
581
  }
582
- function rn(e, t) {
582
+ function rr(e, t) {
583
583
  try {
584
584
  return t in e;
585
585
  } catch {
586
586
  return !1;
587
587
  }
588
588
  }
589
- function wr(e, t) {
590
- return rn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
589
+ function Tn(e, t) {
590
+ return rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
591
591
  }
592
- function Sr(e, t, n) {
593
- var r = {};
594
- return n.isMergeableObject(e) && It(e).forEach(function(i) {
595
- r[i] = Ve(e[i], n);
592
+ function On(e, t, r) {
593
+ var n = {};
594
+ return r.isMergeableObject(e) && It(e).forEach(function(i) {
595
+ n[i] = De(e[i], r);
596
596
  }), It(t).forEach(function(i) {
597
- wr(e, i) || (rn(e, i) && n.isMergeableObject(t[i]) ? r[i] = vr(i, n)(e[i], t[i], n) : r[i] = Ve(t[i], n));
598
- }), r;
597
+ Tn(e, i) || (rr(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = De(t[i], r));
598
+ }), n;
599
599
  }
600
- function Ae(e, t, n) {
601
- n = n || {}, n.arrayMerge = n.arrayMerge || Er, n.isMergeableObject = n.isMergeableObject || pr, n.cloneUnlessOtherwiseSpecified = Ve;
602
- var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
603
- return o ? r ? n.arrayMerge(e, t, n) : Sr(e, t, n) : Ve(t, n);
600
+ function He(e, t, r) {
601
+ r = r || {}, r.arrayMerge = r.arrayMerge || xn, r.isMergeableObject = r.isMergeableObject || dn, r.cloneUnlessOtherwiseSpecified = De;
602
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
603
+ return o ? n ? r.arrayMerge(e, t, r) : On(e, t, r) : De(t, r);
604
604
  }
605
- Ae.all = function(t, n) {
605
+ He.all = function(t, r) {
606
606
  if (!Array.isArray(t))
607
607
  throw new Error("first argument should be an array");
608
- return t.reduce(function(r, i) {
609
- return Ae(r, i, n);
608
+ return t.reduce(function(n, i) {
609
+ return He(n, i, r);
610
610
  }, {});
611
611
  };
612
- var Tr = Ae, Or = Tr;
613
- const Hr = /* @__PURE__ */ fr(Or);
614
- var gt = function(e, t) {
615
- return gt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
616
- n.__proto__ = r;
617
- } || function(n, r) {
618
- for (var i in r)
619
- Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
620
- }, gt(e, t);
612
+ var Hn = He, An = Hn;
613
+ const Cn = /* @__PURE__ */ mn(An);
614
+ var mt = function(e, t) {
615
+ return mt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
616
+ r.__proto__ = n;
617
+ } || function(r, n) {
618
+ for (var i in n)
619
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
620
+ }, mt(e, t);
621
621
  };
622
- function nt(e, t) {
622
+ function Ye(e, t) {
623
623
  if (typeof t != "function" && t !== null)
624
624
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
625
- gt(e, t);
626
- function n() {
625
+ mt(e, t);
626
+ function r() {
627
627
  this.constructor = e;
628
628
  }
629
- e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
630
- }
631
- var ue = function() {
632
- return ue = Object.assign || function(t) {
633
- for (var n, r = 1, i = arguments.length; r < i; r++) {
634
- n = arguments[r];
635
- for (var o in n)
636
- Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
629
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
630
+ }
631
+ var se = function() {
632
+ return se = Object.assign || function(t) {
633
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
634
+ r = arguments[n];
635
+ for (var o in r)
636
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
637
637
  }
638
638
  return t;
639
- }, ue.apply(this, arguments);
639
+ }, se.apply(this, arguments);
640
640
  };
641
- function Cr(e, t) {
642
- var n = {};
643
- for (var r in e)
644
- Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
641
+ function Bn(e, t) {
642
+ var r = {};
643
+ for (var n in e)
644
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
645
645
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
646
- for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
647
- t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
648
- return n;
646
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
647
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
648
+ return r;
649
649
  }
650
- function lt(e, t, n) {
651
- if (n || arguments.length === 2)
652
- for (var r = 0, i = t.length, o; r < i; r++)
653
- (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
650
+ function st(e, t, r) {
651
+ if (r || arguments.length === 2)
652
+ for (var n = 0, i = t.length, o; n < i; n++)
653
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
654
654
  return e.concat(o || Array.prototype.slice.call(t));
655
655
  }
656
- function ut(e, t) {
657
- var n = t && t.cache ? t.cache : Nr, r = t && t.serializer ? t.serializer : Mr, i = t && t.strategy ? t.strategy : Lr;
656
+ function at(e, t) {
657
+ var r = t && t.cache ? t.cache : kn, n = t && t.serializer ? t.serializer : Nn, i = t && t.strategy ? t.strategy : In;
658
658
  return i(e, {
659
- cache: n,
660
- serializer: r
659
+ cache: r,
660
+ serializer: n
661
661
  });
662
662
  }
663
- function Ar(e) {
663
+ function Pn(e) {
664
664
  return e == null || typeof e == "number" || typeof e == "boolean";
665
665
  }
666
- function Br(e, t, n, r) {
667
- var i = Ar(r) ? r : n(r), o = t.get(i);
668
- return typeof o > "u" && (o = e.call(this, r), t.set(i, o)), o;
666
+ function Mn(e, t, r, n) {
667
+ var i = Pn(n) ? n : r(n), o = t.get(i);
668
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
669
669
  }
670
- function on(e, t, n) {
671
- var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
672
- return typeof o > "u" && (o = e.apply(this, r), t.set(i, o)), o;
670
+ function nr(e, t, r) {
671
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
672
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
673
673
  }
674
- function sn(e, t, n, r, i) {
675
- return n.bind(t, e, r, i);
674
+ function ir(e, t, r, n, i) {
675
+ return r.bind(t, e, n, i);
676
676
  }
677
- function Lr(e, t) {
678
- var n = e.length === 1 ? Br : on;
679
- return sn(e, this, n, t.cache.create(), t.serializer);
677
+ function In(e, t) {
678
+ var r = e.length === 1 ? Mn : nr;
679
+ return ir(e, this, r, t.cache.create(), t.serializer);
680
680
  }
681
- function Pr(e, t) {
682
- return sn(e, this, on, t.cache.create(), t.serializer);
681
+ function Ln(e, t) {
682
+ return ir(e, this, nr, t.cache.create(), t.serializer);
683
683
  }
684
- var Mr = function() {
684
+ var Nn = function() {
685
685
  return JSON.stringify(arguments);
686
- }, Ir = (
686
+ }, Rn = (
687
687
  /** @class */
688
688
  function() {
689
689
  function e() {
@@ -691,82 +691,82 @@ var Mr = function() {
691
691
  }
692
692
  return e.prototype.get = function(t) {
693
693
  return this.cache[t];
694
- }, e.prototype.set = function(t, n) {
695
- this.cache[t] = n;
694
+ }, e.prototype.set = function(t, r) {
695
+ this.cache[t] = r;
696
696
  }, e;
697
697
  }()
698
- ), Nr = {
698
+ ), kn = {
699
699
  create: function() {
700
- return new Ir();
700
+ return new Rn();
701
701
  }
702
- }, ht = {
703
- variadic: Pr
704
- }, Ye = function() {
705
- return Ye = Object.assign || function(t) {
706
- for (var n, r = 1, i = arguments.length; r < i; r++) {
707
- n = arguments[r];
708
- for (var o in n)
709
- Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
702
+ }, lt = {
703
+ variadic: Ln
704
+ }, Ze = function() {
705
+ return Ze = Object.assign || function(t) {
706
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
707
+ r = arguments[n];
708
+ for (var o in r)
709
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
710
710
  }
711
711
  return t;
712
- }, Ye.apply(this, arguments);
712
+ }, Ze.apply(this, arguments);
713
713
  };
714
- var S;
714
+ var w;
715
715
  (function(e) {
716
716
  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";
717
- })(S || (S = {}));
718
- var P;
717
+ })(w || (w = {}));
718
+ var I;
719
719
  (function(e) {
720
720
  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";
721
- })(P || (P = {}));
722
- var Be;
721
+ })(I || (I = {}));
722
+ var Ae;
723
723
  (function(e) {
724
724
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
725
- })(Be || (Be = {}));
726
- function Nt(e) {
727
- return e.type === P.literal;
725
+ })(Ae || (Ae = {}));
726
+ function Lt(e) {
727
+ return e.type === I.literal;
728
728
  }
729
- function Rr(e) {
730
- return e.type === P.argument;
729
+ function Dn(e) {
730
+ return e.type === I.argument;
731
731
  }
732
- function an(e) {
733
- return e.type === P.number;
732
+ function or(e) {
733
+ return e.type === I.number;
734
734
  }
735
- function ln(e) {
736
- return e.type === P.date;
735
+ function sr(e) {
736
+ return e.type === I.date;
737
737
  }
738
- function un(e) {
739
- return e.type === P.time;
738
+ function ar(e) {
739
+ return e.type === I.time;
740
740
  }
741
- function hn(e) {
742
- return e.type === P.select;
741
+ function lr(e) {
742
+ return e.type === I.select;
743
743
  }
744
- function cn(e) {
745
- return e.type === P.plural;
744
+ function ur(e) {
745
+ return e.type === I.plural;
746
746
  }
747
- function kr(e) {
748
- return e.type === P.pound;
747
+ function Un(e) {
748
+ return e.type === I.pound;
749
749
  }
750
- function fn(e) {
751
- return e.type === P.tag;
750
+ function hr(e) {
751
+ return e.type === I.tag;
752
752
  }
753
- function pn(e) {
754
- return !!(e && typeof e == "object" && e.type === Be.number);
753
+ function cr(e) {
754
+ return !!(e && typeof e == "object" && e.type === Ae.number);
755
755
  }
756
- function bt(e) {
757
- return !!(e && typeof e == "object" && e.type === Be.dateTime);
756
+ function dt(e) {
757
+ return !!(e && typeof e == "object" && e.type === Ae.dateTime);
758
758
  }
759
- var dn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dr = /(?:[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;
760
- function Ur(e) {
759
+ var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
760
+ function Fn(e) {
761
761
  var t = {};
762
- return e.replace(Dr, function(n) {
763
- var r = n.length;
764
- switch (n[0]) {
762
+ return e.replace(Gn, function(r) {
763
+ var n = r.length;
764
+ switch (r[0]) {
765
765
  case "G":
766
- t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
766
+ t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
767
767
  break;
768
768
  case "y":
769
- t.year = r === 2 ? "2-digit" : "numeric";
769
+ t.year = n === 2 ? "2-digit" : "numeric";
770
770
  break;
771
771
  case "Y":
772
772
  case "u":
@@ -778,30 +778,30 @@ function Ur(e) {
778
778
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
779
779
  case "M":
780
780
  case "L":
781
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
781
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
782
782
  break;
783
783
  case "w":
784
784
  case "W":
785
785
  throw new RangeError("`w/W` (week) patterns are not supported");
786
786
  case "d":
787
- t.day = ["numeric", "2-digit"][r - 1];
787
+ t.day = ["numeric", "2-digit"][n - 1];
788
788
  break;
789
789
  case "D":
790
790
  case "F":
791
791
  case "g":
792
792
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
793
793
  case "E":
794
- t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
794
+ t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
795
795
  break;
796
796
  case "e":
797
- if (r < 4)
797
+ if (n < 4)
798
798
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
799
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
799
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
800
800
  break;
801
801
  case "c":
802
- if (r < 4)
802
+ if (n < 4)
803
803
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
804
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
804
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
805
805
  break;
806
806
  case "a":
807
807
  t.hour12 = !0;
@@ -810,32 +810,32 @@ function Ur(e) {
810
810
  case "B":
811
811
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
812
812
  case "h":
813
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
813
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
814
814
  break;
815
815
  case "H":
816
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
816
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
817
817
  break;
818
818
  case "K":
819
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
819
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
820
820
  break;
821
821
  case "k":
822
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
822
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
823
823
  break;
824
824
  case "j":
825
825
  case "J":
826
826
  case "C":
827
827
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
828
828
  case "m":
829
- t.minute = ["numeric", "2-digit"][r - 1];
829
+ t.minute = ["numeric", "2-digit"][n - 1];
830
830
  break;
831
831
  case "s":
832
- t.second = ["numeric", "2-digit"][r - 1];
832
+ t.second = ["numeric", "2-digit"][n - 1];
833
833
  break;
834
834
  case "S":
835
835
  case "A":
836
836
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
837
837
  case "z":
838
- t.timeZoneName = r < 4 ? "short" : "long";
838
+ t.timeZoneName = n < 4 ? "short" : "long";
839
839
  break;
840
840
  case "Z":
841
841
  case "O":
@@ -850,44 +850,44 @@ function Ur(e) {
850
850
  }
851
851
  var R = function() {
852
852
  return R = Object.assign || function(t) {
853
- for (var n, r = 1, i = arguments.length; r < i; r++) {
854
- n = arguments[r];
855
- for (var o in n)
856
- Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
853
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
854
+ r = arguments[n];
855
+ for (var o in r)
856
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
857
857
  }
858
858
  return t;
859
859
  }, R.apply(this, arguments);
860
860
  };
861
- var Gr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
862
- function Fr(e) {
861
+ var jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
862
+ function Vn(e) {
863
863
  if (e.length === 0)
864
864
  throw new Error("Number skeleton cannot be empty");
865
- for (var t = e.split(Gr).filter(function(d) {
866
- return d.length > 0;
867
- }), n = [], r = 0, i = t; r < i.length; r++) {
868
- var o = i[r], l = o.split("/");
869
- if (l.length === 0)
865
+ for (var t = e.split(jn).filter(function(m) {
866
+ return m.length > 0;
867
+ }), r = [], n = 0, i = t; n < i.length; n++) {
868
+ var o = i[n], a = o.split("/");
869
+ if (a.length === 0)
870
870
  throw new Error("Invalid number skeleton");
871
- for (var s = l[0], u = l.slice(1), a = 0, h = u; a < h.length; a++) {
872
- var c = h[a];
871
+ for (var s = a[0], u = a.slice(1), l = 0, h = u; l < h.length; l++) {
872
+ var c = h[l];
873
873
  if (c.length === 0)
874
874
  throw new Error("Invalid number skeleton");
875
875
  }
876
- n.push({ stem: s, options: u });
876
+ r.push({ stem: s, options: u });
877
877
  }
878
- return n;
878
+ return r;
879
879
  }
880
- function jr(e) {
880
+ function $n(e) {
881
881
  return e.replace(/^(.*?)-/, "");
882
882
  }
883
- var Rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mn = /^(@+)?(\+|#+)?[rs]?$/g, $r = /(\*)(0+)|(#+)(0+)|(0+)/g, gn = /^(0+)$/;
884
- function kt(e) {
883
+ var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, zn = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
884
+ function Rt(e) {
885
885
  var t = {};
886
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mn, function(n, r, i) {
887
- 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)), "";
886
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, n, i) {
887
+ 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)), "";
888
888
  }), t;
889
889
  }
890
- function bn(e) {
890
+ function dr(e) {
891
891
  switch (e) {
892
892
  case "sign-auto":
893
893
  return {
@@ -927,27 +927,27 @@ function bn(e) {
927
927
  };
928
928
  }
929
929
  }
930
- function Vr(e) {
930
+ function Xn(e) {
931
931
  var t;
932
932
  if (e[0] === "E" && e[1] === "E" ? (t = {
933
933
  notation: "engineering"
934
934
  }, e = e.slice(2)) : e[0] === "E" && (t = {
935
935
  notation: "scientific"
936
936
  }, e = e.slice(1)), t) {
937
- var n = e.slice(0, 2);
938
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gn.test(e))
937
+ var r = e.slice(0, 2);
938
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
939
939
  throw new Error("Malformed concise eng/scientific notation");
940
940
  t.minimumIntegerDigits = e.length;
941
941
  }
942
942
  return t;
943
943
  }
944
- function Dt(e) {
945
- var t = {}, n = bn(e);
946
- return n || t;
944
+ function kt(e) {
945
+ var t = {}, r = dr(e);
946
+ return r || t;
947
947
  }
948
- function zr(e) {
949
- for (var t = {}, n = 0, r = e; n < r.length; n++) {
950
- var i = r[n];
948
+ function Wn(e) {
949
+ for (var t = {}, r = 0, n = e; r < n.length; r++) {
950
+ var i = n[r];
951
951
  switch (i.stem) {
952
952
  case "percent":
953
953
  case "%":
@@ -969,7 +969,7 @@ function zr(e) {
969
969
  continue;
970
970
  case "measure-unit":
971
971
  case "unit":
972
- t.style = "unit", t.unit = jr(i.options[0]);
972
+ t.style = "unit", t.unit = $n(i.options[0]);
973
973
  continue;
974
974
  case "compact-short":
975
975
  case "K":
@@ -980,13 +980,13 @@ function zr(e) {
980
980
  t.notation = "compact", t.compactDisplay = "long";
981
981
  continue;
982
982
  case "scientific":
983
- t = R(R(R({}, t), { notation: "scientific" }), i.options.reduce(function(u, a) {
984
- return R(R({}, u), Dt(a));
983
+ t = R(R(R({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
984
+ return R(R({}, u), kt(l));
985
985
  }, {}));
986
986
  continue;
987
987
  case "engineering":
988
- t = R(R(R({}, t), { notation: "engineering" }), i.options.reduce(function(u, a) {
989
- return R(R({}, u), Dt(a));
988
+ t = R(R(R({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
989
+ return R(R({}, u), kt(l));
990
990
  }, {}));
991
991
  continue;
992
992
  case "notation-simple":
@@ -1031,45 +1031,45 @@ function zr(e) {
1031
1031
  case "integer-width":
1032
1032
  if (i.options.length > 1)
1033
1033
  throw new RangeError("integer-width stems only accept a single optional option");
1034
- i.options[0].replace($r, function(u, a, h, c, d, y) {
1035
- if (a)
1034
+ i.options[0].replace(zn, function(u, l, h, c, m, _) {
1035
+ if (l)
1036
1036
  t.minimumIntegerDigits = h.length;
1037
1037
  else {
1038
- if (c && d)
1038
+ if (c && m)
1039
1039
  throw new Error("We currently do not support maximum integer digits");
1040
- if (y)
1040
+ if (_)
1041
1041
  throw new Error("We currently do not support exact integer digits");
1042
1042
  }
1043
1043
  return "";
1044
1044
  });
1045
1045
  continue;
1046
1046
  }
1047
- if (gn.test(i.stem)) {
1047
+ if (mr.test(i.stem)) {
1048
1048
  t.minimumIntegerDigits = i.stem.length;
1049
1049
  continue;
1050
1050
  }
1051
- if (Rt.test(i.stem)) {
1051
+ if (Nt.test(i.stem)) {
1052
1052
  if (i.options.length > 1)
1053
1053
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1054
- i.stem.replace(Rt, function(u, a, h, c, d, y) {
1055
- return h === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : d && y ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + y.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1054
+ i.stem.replace(Nt, function(u, l, h, c, m, _) {
1055
+ 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), "";
1056
1056
  });
1057
1057
  var o = i.options[0];
1058
- o === "w" ? t = R(R({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = R(R({}, t), kt(o)));
1058
+ o === "w" ? t = R(R({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = R(R({}, t), Rt(o)));
1059
1059
  continue;
1060
1060
  }
1061
- if (mn.test(i.stem)) {
1062
- t = R(R({}, t), kt(i.stem));
1061
+ if (pr.test(i.stem)) {
1062
+ t = R(R({}, t), Rt(i.stem));
1063
1063
  continue;
1064
1064
  }
1065
- var l = bn(i.stem);
1066
- l && (t = R(R({}, t), l));
1067
- var s = Vr(i.stem);
1065
+ var a = dr(i.stem);
1066
+ a && (t = R(R({}, t), a));
1067
+ var s = Xn(i.stem);
1068
1068
  s && (t = R(R({}, t), s));
1069
1069
  }
1070
1070
  return t;
1071
1071
  }
1072
- var We = {
1072
+ var Ve = {
1073
1073
  "001": [
1074
1074
  "H",
1075
1075
  "h"
@@ -2484,23 +2484,23 @@ var We = {
2484
2484
  "h"
2485
2485
  ]
2486
2486
  };
2487
- function Xr(e, t) {
2488
- for (var n = "", r = 0; r < e.length; r++) {
2489
- var i = e.charAt(r);
2487
+ function Zn(e, t) {
2488
+ for (var r = "", n = 0; n < e.length; n++) {
2489
+ var i = e.charAt(n);
2490
2490
  if (i === "j") {
2491
- for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2492
- o++, r++;
2493
- var l = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", a = Wr(t);
2494
- for ((a == "H" || a == "k") && (s = 0); s-- > 0; )
2495
- n += u;
2496
- for (; l-- > 0; )
2497
- n = a + n;
2491
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2492
+ o++, n++;
2493
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = qn(t);
2494
+ for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
2495
+ r += u;
2496
+ for (; a-- > 0; )
2497
+ r = l + r;
2498
2498
  } else
2499
- i === "J" ? n += "H" : n += i;
2499
+ i === "J" ? r += "H" : r += i;
2500
2500
  }
2501
- return n;
2501
+ return r;
2502
2502
  }
2503
- function Wr(e) {
2503
+ function qn(e) {
2504
2504
  var t = e.hourCycle;
2505
2505
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2506
2506
  e.hourCycles && // @ts-ignore
@@ -2517,73 +2517,73 @@ function Wr(e) {
2517
2517
  default:
2518
2518
  throw new Error("Invalid hourCycle");
2519
2519
  }
2520
- var n = e.language, r;
2521
- n !== "root" && (r = e.maximize().region);
2522
- var i = We[r || ""] || We[n || ""] || We["".concat(n, "-001")] || We["001"];
2520
+ var r = e.language, n;
2521
+ r !== "root" && (n = e.maximize().region);
2522
+ var i = Ve[n || ""] || Ve[r || ""] || Ve["".concat(r, "-001")] || Ve["001"];
2523
2523
  return i[0];
2524
2524
  }
2525
- var ct, Zr = new RegExp("^".concat(dn.source, "*")), qr = new RegExp("".concat(dn.source, "*$"));
2526
- function O(e, t) {
2525
+ var ut, Qn = new RegExp("^".concat(fr.source, "*")), Jn = new RegExp("".concat(fr.source, "*$"));
2526
+ function T(e, t) {
2527
2527
  return { start: e, end: t };
2528
2528
  }
2529
- var Qr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Jr = !!String.fromCodePoint, Yr = !!Object.fromEntries, Kr = !!String.prototype.codePointAt, ei = !!String.prototype.trimStart, ti = !!String.prototype.trimEnd, ni = !!Number.isSafeInteger, ri = ni ? Number.isSafeInteger : function(e) {
2529
+ var Yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kn = !!String.fromCodePoint, ei = !!Object.fromEntries, ti = !!String.prototype.codePointAt, ri = !!String.prototype.trimStart, ni = !!String.prototype.trimEnd, ii = !!Number.isSafeInteger, oi = ii ? Number.isSafeInteger : function(e) {
2530
2530
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2531
- }, _t = !0;
2531
+ }, gt = !0;
2532
2532
  try {
2533
- var ii = yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2534
- _t = ((ct = ii.exec("a")) === null || ct === void 0 ? void 0 : ct[0]) === "a";
2533
+ var si = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2534
+ gt = ((ut = si.exec("a")) === null || ut === void 0 ? void 0 : ut[0]) === "a";
2535
2535
  } catch {
2536
- _t = !1;
2536
+ gt = !1;
2537
2537
  }
2538
- var Ut = Qr ? (
2538
+ var Dt = Yn ? (
2539
2539
  // Native
2540
- function(t, n, r) {
2541
- return t.startsWith(n, r);
2540
+ function(t, r, n) {
2541
+ return t.startsWith(r, n);
2542
2542
  }
2543
2543
  ) : (
2544
2544
  // For IE11
2545
- function(t, n, r) {
2546
- return t.slice(r, r + n.length) === n;
2545
+ function(t, r, n) {
2546
+ return t.slice(n, n + r.length) === r;
2547
2547
  }
2548
- ), yt = Jr ? String.fromCodePoint : (
2548
+ ), bt = Kn ? String.fromCodePoint : (
2549
2549
  // IE11
2550
2550
  function() {
2551
- for (var t = [], n = 0; n < arguments.length; n++)
2552
- t[n] = arguments[n];
2553
- for (var r = "", i = t.length, o = 0, l; i > o; ) {
2554
- if (l = t[o++], l > 1114111)
2555
- throw RangeError(l + " is not a valid code point");
2556
- r += l < 65536 ? String.fromCharCode(l) : String.fromCharCode(((l -= 65536) >> 10) + 55296, l % 1024 + 56320);
2551
+ for (var t = [], r = 0; r < arguments.length; r++)
2552
+ t[r] = arguments[r];
2553
+ for (var n = "", i = t.length, o = 0, a; i > o; ) {
2554
+ if (a = t[o++], a > 1114111)
2555
+ throw RangeError(a + " is not a valid code point");
2556
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2557
2557
  }
2558
- return r;
2558
+ return n;
2559
2559
  }
2560
- ), Gt = (
2560
+ ), Ut = (
2561
2561
  // native
2562
- Yr ? Object.fromEntries : (
2562
+ ei ? Object.fromEntries : (
2563
2563
  // Ponyfill
2564
2564
  function(t) {
2565
- for (var n = {}, r = 0, i = t; r < i.length; r++) {
2566
- var o = i[r], l = o[0], s = o[1];
2567
- n[l] = s;
2565
+ for (var r = {}, n = 0, i = t; n < i.length; n++) {
2566
+ var o = i[n], a = o[0], s = o[1];
2567
+ r[a] = s;
2568
2568
  }
2569
- return n;
2569
+ return r;
2570
2570
  }
2571
2571
  )
2572
- ), _n = Kr ? (
2572
+ ), gr = ti ? (
2573
2573
  // Native
2574
- function(t, n) {
2575
- return t.codePointAt(n);
2574
+ function(t, r) {
2575
+ return t.codePointAt(r);
2576
2576
  }
2577
2577
  ) : (
2578
2578
  // IE 11
2579
- function(t, n) {
2580
- var r = t.length;
2581
- if (!(n < 0 || n >= r)) {
2582
- var i = t.charCodeAt(n), o;
2583
- return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2579
+ function(t, r) {
2580
+ var n = t.length;
2581
+ if (!(r < 0 || r >= n)) {
2582
+ var i = t.charCodeAt(r), o;
2583
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2584
2584
  }
2585
2585
  }
2586
- ), oi = ei ? (
2586
+ ), ai = ri ? (
2587
2587
  // Native
2588
2588
  function(t) {
2589
2589
  return t.trimStart();
@@ -2591,9 +2591,9 @@ var Ut = Qr ? (
2591
2591
  ) : (
2592
2592
  // Ponyfill
2593
2593
  function(t) {
2594
- return t.replace(Zr, "");
2594
+ return t.replace(Qn, "");
2595
2595
  }
2596
- ), si = ti ? (
2596
+ ), li = ni ? (
2597
2597
  // Native
2598
2598
  function(t) {
2599
2599
  return t.trimEnd();
@@ -2601,126 +2601,126 @@ var Ut = Qr ? (
2601
2601
  ) : (
2602
2602
  // Ponyfill
2603
2603
  function(t) {
2604
- return t.replace(qr, "");
2604
+ return t.replace(Jn, "");
2605
2605
  }
2606
2606
  );
2607
- function yn(e, t) {
2607
+ function br(e, t) {
2608
2608
  return new RegExp(e, t);
2609
2609
  }
2610
- var Et;
2611
- if (_t) {
2612
- var Ft = yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2613
- Et = function(t, n) {
2614
- var r;
2615
- Ft.lastIndex = n;
2616
- var i = Ft.exec(t);
2617
- return (r = i[1]) !== null && r !== void 0 ? r : "";
2610
+ var yt;
2611
+ if (gt) {
2612
+ var Gt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2613
+ yt = function(t, r) {
2614
+ var n;
2615
+ Gt.lastIndex = r;
2616
+ var i = Gt.exec(t);
2617
+ return (n = i[1]) !== null && n !== void 0 ? n : "";
2618
2618
  };
2619
2619
  } else
2620
- Et = function(t, n) {
2621
- for (var r = []; ; ) {
2622
- var i = _n(t, n);
2623
- if (i === void 0 || En(i) || hi(i))
2620
+ yt = function(t, r) {
2621
+ for (var n = []; ; ) {
2622
+ var i = gr(t, r);
2623
+ if (i === void 0 || yr(i) || fi(i))
2624
2624
  break;
2625
- r.push(i), n += i >= 65536 ? 2 : 1;
2625
+ n.push(i), r += i >= 65536 ? 2 : 1;
2626
2626
  }
2627
- return yt.apply(void 0, r);
2627
+ return bt.apply(void 0, n);
2628
2628
  };
2629
- var ai = (
2629
+ var ui = (
2630
2630
  /** @class */
2631
2631
  function() {
2632
- function e(t, n) {
2633
- 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;
2632
+ function e(t, r) {
2633
+ 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;
2634
2634
  }
2635
2635
  return e.prototype.parse = function() {
2636
2636
  if (this.offset() !== 0)
2637
2637
  throw Error("parser can only be used once");
2638
2638
  return this.parseMessage(0, "", !1);
2639
- }, e.prototype.parseMessage = function(t, n, r) {
2639
+ }, e.prototype.parseMessage = function(t, r, n) {
2640
2640
  for (var i = []; !this.isEOF(); ) {
2641
2641
  var o = this.char();
2642
2642
  if (o === 123) {
2643
- var l = this.parseArgument(t, r);
2644
- if (l.err)
2645
- return l;
2646
- i.push(l.val);
2643
+ var a = this.parseArgument(t, n);
2644
+ if (a.err)
2645
+ return a;
2646
+ i.push(a.val);
2647
2647
  } else {
2648
2648
  if (o === 125 && t > 0)
2649
2649
  break;
2650
- if (o === 35 && (n === "plural" || n === "selectordinal")) {
2650
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
2651
2651
  var s = this.clonePosition();
2652
2652
  this.bump(), i.push({
2653
- type: P.pound,
2654
- location: O(s, this.clonePosition())
2653
+ type: I.pound,
2654
+ location: T(s, this.clonePosition())
2655
2655
  });
2656
2656
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2657
- if (r)
2657
+ if (n)
2658
2658
  break;
2659
- return this.error(S.UNMATCHED_CLOSING_TAG, O(this.clonePosition(), this.clonePosition()));
2660
- } else if (o === 60 && !this.ignoreTag && vt(this.peek() || 0)) {
2661
- var l = this.parseTag(t, n);
2662
- if (l.err)
2663
- return l;
2664
- i.push(l.val);
2659
+ return this.error(w.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
2660
+ } else if (o === 60 && !this.ignoreTag && _t(this.peek() || 0)) {
2661
+ var a = this.parseTag(t, r);
2662
+ if (a.err)
2663
+ return a;
2664
+ i.push(a.val);
2665
2665
  } else {
2666
- var l = this.parseLiteral(t, n);
2667
- if (l.err)
2668
- return l;
2669
- i.push(l.val);
2666
+ var a = this.parseLiteral(t, r);
2667
+ if (a.err)
2668
+ return a;
2669
+ i.push(a.val);
2670
2670
  }
2671
2671
  }
2672
2672
  }
2673
2673
  return { val: i, err: null };
2674
- }, e.prototype.parseTag = function(t, n) {
2675
- var r = this.clonePosition();
2674
+ }, e.prototype.parseTag = function(t, r) {
2675
+ var n = this.clonePosition();
2676
2676
  this.bump();
2677
2677
  var i = this.parseTagName();
2678
2678
  if (this.bumpSpace(), this.bumpIf("/>"))
2679
2679
  return {
2680
2680
  val: {
2681
- type: P.literal,
2681
+ type: I.literal,
2682
2682
  value: "<".concat(i, "/>"),
2683
- location: O(r, this.clonePosition())
2683
+ location: T(n, this.clonePosition())
2684
2684
  },
2685
2685
  err: null
2686
2686
  };
2687
2687
  if (this.bumpIf(">")) {
2688
- var o = this.parseMessage(t + 1, n, !0);
2688
+ var o = this.parseMessage(t + 1, r, !0);
2689
2689
  if (o.err)
2690
2690
  return o;
2691
- var l = o.val, s = this.clonePosition();
2691
+ var a = o.val, s = this.clonePosition();
2692
2692
  if (this.bumpIf("</")) {
2693
- if (this.isEOF() || !vt(this.char()))
2694
- return this.error(S.INVALID_TAG, O(s, this.clonePosition()));
2695
- var u = this.clonePosition(), a = this.parseTagName();
2696
- return i !== a ? this.error(S.UNMATCHED_CLOSING_TAG, O(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2693
+ if (this.isEOF() || !_t(this.char()))
2694
+ return this.error(w.INVALID_TAG, T(s, this.clonePosition()));
2695
+ var u = this.clonePosition(), l = this.parseTagName();
2696
+ return i !== l ? this.error(w.UNMATCHED_CLOSING_TAG, T(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2697
2697
  val: {
2698
- type: P.tag,
2698
+ type: I.tag,
2699
2699
  value: i,
2700
- children: l,
2701
- location: O(r, this.clonePosition())
2700
+ children: a,
2701
+ location: T(n, this.clonePosition())
2702
2702
  },
2703
2703
  err: null
2704
- } : this.error(S.INVALID_TAG, O(s, this.clonePosition())));
2704
+ } : this.error(w.INVALID_TAG, T(s, this.clonePosition())));
2705
2705
  } else
2706
- return this.error(S.UNCLOSED_TAG, O(r, this.clonePosition()));
2706
+ return this.error(w.UNCLOSED_TAG, T(n, this.clonePosition()));
2707
2707
  } else
2708
- return this.error(S.INVALID_TAG, O(r, this.clonePosition()));
2708
+ return this.error(w.INVALID_TAG, T(n, this.clonePosition()));
2709
2709
  }, e.prototype.parseTagName = function() {
2710
2710
  var t = this.offset();
2711
- for (this.bump(); !this.isEOF() && ui(this.char()); )
2711
+ for (this.bump(); !this.isEOF() && ci(this.char()); )
2712
2712
  this.bump();
2713
2713
  return this.message.slice(t, this.offset());
2714
- }, e.prototype.parseLiteral = function(t, n) {
2715
- for (var r = this.clonePosition(), i = ""; ; ) {
2716
- var o = this.tryParseQuote(n);
2714
+ }, e.prototype.parseLiteral = function(t, r) {
2715
+ for (var n = this.clonePosition(), i = ""; ; ) {
2716
+ var o = this.tryParseQuote(r);
2717
2717
  if (o) {
2718
2718
  i += o;
2719
2719
  continue;
2720
2720
  }
2721
- var l = this.tryParseUnquoted(t, n);
2722
- if (l) {
2723
- i += l;
2721
+ var a = this.tryParseUnquoted(t, r);
2722
+ if (a) {
2723
+ i += a;
2724
2724
  continue;
2725
2725
  }
2726
2726
  var s = this.tryParseLeftAngleBracket();
@@ -2730,14 +2730,14 @@ var ai = (
2730
2730
  }
2731
2731
  break;
2732
2732
  }
2733
- var u = O(r, this.clonePosition());
2733
+ var u = T(n, this.clonePosition());
2734
2734
  return {
2735
- val: { type: P.literal, value: i, location: u },
2735
+ val: { type: I.literal, value: i, location: u },
2736
2736
  err: null
2737
2737
  };
2738
2738
  }, e.prototype.tryParseLeftAngleBracket = function() {
2739
2739
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2740
- !li(this.peek() || 0)) ? (this.bump(), "<") : null;
2740
+ !hi(this.peek() || 0)) ? (this.bump(), "<") : null;
2741
2741
  }, e.prototype.tryParseQuote = function(t) {
2742
2742
  if (this.isEOF() || this.char() !== 39)
2743
2743
  return null;
@@ -2757,114 +2757,114 @@ var ai = (
2757
2757
  return null;
2758
2758
  }
2759
2759
  this.bump();
2760
- var n = [this.char()];
2760
+ var r = [this.char()];
2761
2761
  for (this.bump(); !this.isEOF(); ) {
2762
- var r = this.char();
2763
- if (r === 39)
2762
+ var n = this.char();
2763
+ if (n === 39)
2764
2764
  if (this.peek() === 39)
2765
- n.push(39), this.bump();
2765
+ r.push(39), this.bump();
2766
2766
  else {
2767
2767
  this.bump();
2768
2768
  break;
2769
2769
  }
2770
2770
  else
2771
- n.push(r);
2771
+ r.push(n);
2772
2772
  this.bump();
2773
2773
  }
2774
- return yt.apply(void 0, n);
2775
- }, e.prototype.tryParseUnquoted = function(t, n) {
2774
+ return bt.apply(void 0, r);
2775
+ }, e.prototype.tryParseUnquoted = function(t, r) {
2776
2776
  if (this.isEOF())
2777
2777
  return null;
2778
- var r = this.char();
2779
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), yt(r));
2780
- }, e.prototype.parseArgument = function(t, n) {
2781
- var r = this.clonePosition();
2778
+ var n = this.char();
2779
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), bt(n));
2780
+ }, e.prototype.parseArgument = function(t, r) {
2781
+ var n = this.clonePosition();
2782
2782
  if (this.bump(), this.bumpSpace(), this.isEOF())
2783
- return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, O(r, this.clonePosition()));
2783
+ return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
2784
2784
  if (this.char() === 125)
2785
- return this.bump(), this.error(S.EMPTY_ARGUMENT, O(r, this.clonePosition()));
2785
+ return this.bump(), this.error(w.EMPTY_ARGUMENT, T(n, this.clonePosition()));
2786
2786
  var i = this.parseIdentifierIfPossible().value;
2787
2787
  if (!i)
2788
- return this.error(S.MALFORMED_ARGUMENT, O(r, this.clonePosition()));
2788
+ return this.error(w.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
2789
2789
  if (this.bumpSpace(), this.isEOF())
2790
- return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, O(r, this.clonePosition()));
2790
+ return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
2791
2791
  switch (this.char()) {
2792
2792
  case 125:
2793
2793
  return this.bump(), {
2794
2794
  val: {
2795
- type: P.argument,
2795
+ type: I.argument,
2796
2796
  // value does not include the opening and closing braces.
2797
2797
  value: i,
2798
- location: O(r, this.clonePosition())
2798
+ location: T(n, this.clonePosition())
2799
2799
  },
2800
2800
  err: null
2801
2801
  };
2802
2802
  case 44:
2803
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, O(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2803
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2804
2804
  default:
2805
- return this.error(S.MALFORMED_ARGUMENT, O(r, this.clonePosition()));
2805
+ return this.error(w.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
2806
2806
  }
2807
2807
  }, e.prototype.parseIdentifierIfPossible = function() {
2808
- var t = this.clonePosition(), n = this.offset(), r = Et(this.message, n), i = n + r.length;
2808
+ var t = this.clonePosition(), r = this.offset(), n = yt(this.message, r), i = r + n.length;
2809
2809
  this.bumpTo(i);
2810
- var o = this.clonePosition(), l = O(t, o);
2811
- return { value: r, location: l };
2812
- }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2813
- var o, l = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2810
+ var o = this.clonePosition(), a = T(t, o);
2811
+ return { value: n, location: a };
2812
+ }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2813
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2814
2814
  switch (s) {
2815
2815
  case "":
2816
- return this.error(S.EXPECT_ARGUMENT_TYPE, O(l, u));
2816
+ return this.error(w.EXPECT_ARGUMENT_TYPE, T(a, u));
2817
2817
  case "number":
2818
2818
  case "date":
2819
2819
  case "time": {
2820
2820
  this.bumpSpace();
2821
- var a = null;
2821
+ var l = null;
2822
2822
  if (this.bumpIf(",")) {
2823
2823
  this.bumpSpace();
2824
2824
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2825
2825
  if (c.err)
2826
2826
  return c;
2827
- var d = si(c.val);
2828
- if (d.length === 0)
2829
- return this.error(S.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
2830
- var y = O(h, this.clonePosition());
2831
- a = { style: d, styleLocation: y };
2827
+ var m = li(c.val);
2828
+ if (m.length === 0)
2829
+ return this.error(w.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
2830
+ var _ = T(h, this.clonePosition());
2831
+ l = { style: m, styleLocation: _ };
2832
2832
  }
2833
- var b = this.tryParseArgumentClose(i);
2834
- if (b.err)
2835
- return b;
2836
- var m = O(i, this.clonePosition());
2837
- if (a && Ut(a?.style, "::", 0)) {
2838
- var E = oi(a.style.slice(2));
2833
+ var d = this.tryParseArgumentClose(i);
2834
+ if (d.err)
2835
+ return d;
2836
+ var g = T(i, this.clonePosition());
2837
+ if (l && Dt(l?.style, "::", 0)) {
2838
+ var E = ai(l.style.slice(2));
2839
2839
  if (s === "number") {
2840
- var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
2840
+ var c = this.parseNumberSkeletonFromString(E, l.styleLocation);
2841
2841
  return c.err ? c : {
2842
- val: { type: P.number, value: r, location: m, style: c.val },
2842
+ val: { type: I.number, value: n, location: g, style: c.val },
2843
2843
  err: null
2844
2844
  };
2845
2845
  } else {
2846
2846
  if (E.length === 0)
2847
- return this.error(S.EXPECT_DATE_TIME_SKELETON, m);
2848
- var w = E;
2849
- this.locale && (w = Xr(E, this.locale));
2850
- var d = {
2851
- type: Be.dateTime,
2852
- pattern: w,
2853
- location: a.styleLocation,
2854
- parsedOptions: this.shouldParseSkeletons ? Ur(w) : {}
2855
- }, B = s === "date" ? P.date : P.time;
2847
+ return this.error(w.EXPECT_DATE_TIME_SKELETON, g);
2848
+ var S = E;
2849
+ this.locale && (S = Zn(E, this.locale));
2850
+ var m = {
2851
+ type: Ae.dateTime,
2852
+ pattern: S,
2853
+ location: l.styleLocation,
2854
+ parsedOptions: this.shouldParseSkeletons ? Fn(S) : {}
2855
+ }, P = s === "date" ? I.date : I.time;
2856
2856
  return {
2857
- val: { type: B, value: r, location: m, style: d },
2857
+ val: { type: P, value: n, location: g, style: m },
2858
2858
  err: null
2859
2859
  };
2860
2860
  }
2861
2861
  }
2862
2862
  return {
2863
2863
  val: {
2864
- type: s === "number" ? P.number : s === "date" ? P.date : P.time,
2865
- value: r,
2866
- location: m,
2867
- style: (o = a?.style) !== null && o !== void 0 ? o : null
2864
+ type: s === "number" ? I.number : s === "date" ? I.date : I.time,
2865
+ value: n,
2866
+ location: g,
2867
+ style: (o = l?.style) !== null && o !== void 0 ? o : null
2868
2868
  },
2869
2869
  err: null
2870
2870
  };
@@ -2874,39 +2874,39 @@ var ai = (
2874
2874
  case "select": {
2875
2875
  var L = this.clonePosition();
2876
2876
  if (this.bumpSpace(), !this.bumpIf(","))
2877
- return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, O(L, Ye({}, L)));
2877
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, T(L, Ze({}, L)));
2878
2878
  this.bumpSpace();
2879
- var k = this.parseIdentifierIfPossible(), G = 0;
2880
- if (s !== "select" && k.value === "offset") {
2879
+ var D = this.parseIdentifierIfPossible(), M = 0;
2880
+ if (s !== "select" && D.value === "offset") {
2881
2881
  if (!this.bumpIf(":"))
2882
- return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O(this.clonePosition(), this.clonePosition()));
2882
+ return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
2883
2883
  this.bumpSpace();
2884
- var c = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2884
+ var c = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2885
2885
  if (c.err)
2886
2886
  return c;
2887
- this.bumpSpace(), k = this.parseIdentifierIfPossible(), G = c.val;
2887
+ this.bumpSpace(), D = this.parseIdentifierIfPossible(), M = c.val;
2888
2888
  }
2889
- var N = this.tryParsePluralOrSelectOptions(t, s, n, k);
2889
+ var N = this.tryParsePluralOrSelectOptions(t, s, r, D);
2890
2890
  if (N.err)
2891
2891
  return N;
2892
- var b = this.tryParseArgumentClose(i);
2893
- if (b.err)
2894
- return b;
2895
- var K = O(i, this.clonePosition());
2892
+ var d = this.tryParseArgumentClose(i);
2893
+ if (d.err)
2894
+ return d;
2895
+ var K = T(i, this.clonePosition());
2896
2896
  return s === "select" ? {
2897
2897
  val: {
2898
- type: P.select,
2899
- value: r,
2900
- options: Gt(N.val),
2898
+ type: I.select,
2899
+ value: n,
2900
+ options: Ut(N.val),
2901
2901
  location: K
2902
2902
  },
2903
2903
  err: null
2904
2904
  } : {
2905
2905
  val: {
2906
- type: P.plural,
2907
- value: r,
2908
- options: Gt(N.val),
2909
- offset: G,
2906
+ type: I.plural,
2907
+ value: n,
2908
+ options: Ut(N.val),
2909
+ offset: M,
2910
2910
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2911
2911
  location: K
2912
2912
  },
@@ -2914,19 +2914,19 @@ var ai = (
2914
2914
  };
2915
2915
  }
2916
2916
  default:
2917
- return this.error(S.INVALID_ARGUMENT_TYPE, O(l, u));
2917
+ return this.error(w.INVALID_ARGUMENT_TYPE, T(a, u));
2918
2918
  }
2919
2919
  }, e.prototype.tryParseArgumentClose = function(t) {
2920
- return this.isEOF() || this.char() !== 125 ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, O(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2920
+ return this.isEOF() || this.char() !== 125 ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, T(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2921
2921
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2922
- for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2923
- var r = this.char();
2924
- switch (r) {
2922
+ for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2923
+ var n = this.char();
2924
+ switch (n) {
2925
2925
  case 39: {
2926
2926
  this.bump();
2927
2927
  var i = this.clonePosition();
2928
2928
  if (!this.bumpUntil("'"))
2929
- return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, O(i, this.clonePosition()));
2929
+ return this.error(w.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, T(i, this.clonePosition()));
2930
2930
  this.bump();
2931
2931
  break;
2932
2932
  }
@@ -2939,7 +2939,7 @@ var ai = (
2939
2939
  t -= 1;
2940
2940
  else
2941
2941
  return {
2942
- val: this.message.slice(n.offset, this.offset()),
2942
+ val: this.message.slice(r.offset, this.offset()),
2943
2943
  err: null
2944
2944
  };
2945
2945
  break;
@@ -2950,70 +2950,70 @@ var ai = (
2950
2950
  }
2951
2951
  }
2952
2952
  return {
2953
- val: this.message.slice(n.offset, this.offset()),
2953
+ val: this.message.slice(r.offset, this.offset()),
2954
2954
  err: null
2955
2955
  };
2956
- }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
2957
- var r = [];
2956
+ }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2957
+ var n = [];
2958
2958
  try {
2959
- r = Fr(t);
2959
+ n = Vn(t);
2960
2960
  } catch {
2961
- return this.error(S.INVALID_NUMBER_SKELETON, n);
2961
+ return this.error(w.INVALID_NUMBER_SKELETON, r);
2962
2962
  }
2963
2963
  return {
2964
2964
  val: {
2965
- type: Be.number,
2966
- tokens: r,
2967
- location: n,
2968
- parsedOptions: this.shouldParseSkeletons ? zr(r) : {}
2965
+ type: Ae.number,
2966
+ tokens: n,
2967
+ location: r,
2968
+ parsedOptions: this.shouldParseSkeletons ? Wn(n) : {}
2969
2969
  },
2970
2970
  err: null
2971
2971
  };
2972
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
2973
- for (var o, l = !1, s = [], u = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
2974
- if (a.length === 0) {
2972
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2973
+ for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
2974
+ if (l.length === 0) {
2975
2975
  var c = this.clonePosition();
2976
- if (n !== "select" && this.bumpIf("=")) {
2977
- var d = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
2978
- if (d.err)
2979
- return d;
2980
- h = O(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
2976
+ if (r !== "select" && this.bumpIf("=")) {
2977
+ var m = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
2978
+ if (m.err)
2979
+ return m;
2980
+ h = T(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
2981
2981
  } else
2982
2982
  break;
2983
2983
  }
2984
- if (u.has(a))
2985
- return this.error(n === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2986
- a === "other" && (l = !0), this.bumpSpace();
2987
- var y = this.clonePosition();
2984
+ if (u.has(l))
2985
+ return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2986
+ l === "other" && (a = !0), this.bumpSpace();
2987
+ var _ = this.clonePosition();
2988
2988
  if (!this.bumpIf("{"))
2989
- return this.error(n === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, O(this.clonePosition(), this.clonePosition()));
2990
- var b = this.parseMessage(t + 1, n, r);
2991
- if (b.err)
2992
- return b;
2993
- var m = this.tryParseArgumentClose(y);
2994
- if (m.err)
2995
- return m;
2989
+ return this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
2990
+ var d = this.parseMessage(t + 1, r, n);
2991
+ if (d.err)
2992
+ return d;
2993
+ var g = this.tryParseArgumentClose(_);
2994
+ if (g.err)
2995
+ return g;
2996
2996
  s.push([
2997
- a,
2997
+ l,
2998
2998
  {
2999
- value: b.val,
3000
- location: O(y, this.clonePosition())
2999
+ value: d.val,
3000
+ location: T(_, this.clonePosition())
3001
3001
  }
3002
- ]), u.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, h = o.location;
3002
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3003
3003
  }
3004
- return s.length === 0 ? this.error(n === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR : S.EXPECT_PLURAL_ARGUMENT_SELECTOR, O(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !l ? this.error(S.MISSING_OTHER_CLAUSE, O(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3005
- }, e.prototype.tryParseDecimalInteger = function(t, n) {
3006
- var r = 1, i = this.clonePosition();
3007
- this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3008
- for (var o = !1, l = 0; !this.isEOF(); ) {
3004
+ 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 };
3005
+ }, e.prototype.tryParseDecimalInteger = function(t, r) {
3006
+ var n = 1, i = this.clonePosition();
3007
+ this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3008
+ for (var o = !1, a = 0; !this.isEOF(); ) {
3009
3009
  var s = this.char();
3010
3010
  if (s >= 48 && s <= 57)
3011
- o = !0, l = l * 10 + (s - 48), this.bump();
3011
+ o = !0, a = a * 10 + (s - 48), this.bump();
3012
3012
  else
3013
3013
  break;
3014
3014
  }
3015
- var u = O(i, this.clonePosition());
3016
- return o ? (l *= r, ri(l) ? { val: l, err: null } : this.error(n, u)) : this.error(t, u);
3015
+ var u = T(i, this.clonePosition());
3016
+ return o ? (a *= n, oi(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3017
3017
  }, e.prototype.offset = function() {
3018
3018
  return this.position.offset;
3019
3019
  }, e.prototype.isEOF = function() {
@@ -3028,17 +3028,17 @@ var ai = (
3028
3028
  var t = this.position.offset;
3029
3029
  if (t >= this.message.length)
3030
3030
  throw Error("out of bound");
3031
- var n = _n(this.message, t);
3032
- if (n === void 0)
3031
+ var r = gr(this.message, t);
3032
+ if (r === void 0)
3033
3033
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3034
- return n;
3035
- }, e.prototype.error = function(t, n) {
3034
+ return r;
3035
+ }, e.prototype.error = function(t, r) {
3036
3036
  return {
3037
3037
  val: null,
3038
3038
  err: {
3039
3039
  kind: t,
3040
3040
  message: this.message,
3041
- location: n
3041
+ location: r
3042
3042
  }
3043
3043
  };
3044
3044
  }, e.prototype.bump = function() {
@@ -3047,301 +3047,301 @@ var ai = (
3047
3047
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3048
3048
  }
3049
3049
  }, e.prototype.bumpIf = function(t) {
3050
- if (Ut(this.message, t, this.offset())) {
3051
- for (var n = 0; n < t.length; n++)
3050
+ if (Dt(this.message, t, this.offset())) {
3051
+ for (var r = 0; r < t.length; r++)
3052
3052
  this.bump();
3053
3053
  return !0;
3054
3054
  }
3055
3055
  return !1;
3056
3056
  }, e.prototype.bumpUntil = function(t) {
3057
- var n = this.offset(), r = this.message.indexOf(t, n);
3058
- return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3057
+ var r = this.offset(), n = this.message.indexOf(t, r);
3058
+ return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3059
3059
  }, e.prototype.bumpTo = function(t) {
3060
3060
  if (this.offset() > t)
3061
3061
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3062
3062
  for (t = Math.min(t, this.message.length); ; ) {
3063
- var n = this.offset();
3064
- if (n === t)
3063
+ var r = this.offset();
3064
+ if (r === t)
3065
3065
  break;
3066
- if (n > t)
3066
+ if (r > t)
3067
3067
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3068
3068
  if (this.bump(), this.isEOF())
3069
3069
  break;
3070
3070
  }
3071
3071
  }, e.prototype.bumpSpace = function() {
3072
- for (; !this.isEOF() && En(this.char()); )
3072
+ for (; !this.isEOF() && yr(this.char()); )
3073
3073
  this.bump();
3074
3074
  }, e.prototype.peek = function() {
3075
3075
  if (this.isEOF())
3076
3076
  return null;
3077
- var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3078
- return r ?? null;
3077
+ var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3078
+ return n ?? null;
3079
3079
  }, e;
3080
3080
  }()
3081
3081
  );
3082
- function vt(e) {
3082
+ function _t(e) {
3083
3083
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3084
3084
  }
3085
- function li(e) {
3086
- return vt(e) || e === 47;
3085
+ function hi(e) {
3086
+ return _t(e) || e === 47;
3087
3087
  }
3088
- function ui(e) {
3088
+ function ci(e) {
3089
3089
  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;
3090
3090
  }
3091
- function En(e) {
3091
+ function yr(e) {
3092
3092
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3093
3093
  }
3094
- function hi(e) {
3094
+ function fi(e) {
3095
3095
  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;
3096
3096
  }
3097
- function xt(e) {
3097
+ function Et(e) {
3098
3098
  e.forEach(function(t) {
3099
- if (delete t.location, hn(t) || cn(t))
3100
- for (var n in t.options)
3101
- delete t.options[n].location, xt(t.options[n].value);
3099
+ if (delete t.location, lr(t) || ur(t))
3100
+ for (var r in t.options)
3101
+ delete t.options[r].location, Et(t.options[r].value);
3102
3102
  else
3103
- an(t) && pn(t.style) || (ln(t) || un(t)) && bt(t.style) ? delete t.style.location : fn(t) && xt(t.children);
3103
+ or(t) && cr(t.style) || (sr(t) || ar(t)) && dt(t.style) ? delete t.style.location : hr(t) && Et(t.children);
3104
3104
  });
3105
3105
  }
3106
- function ci(e, t) {
3107
- t === void 0 && (t = {}), t = Ye({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3108
- var n = new ai(e, t).parse();
3109
- if (n.err) {
3110
- var r = SyntaxError(S[n.err.kind]);
3111
- throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3106
+ function pi(e, t) {
3107
+ t === void 0 && (t = {}), t = Ze({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3108
+ var r = new ui(e, t).parse();
3109
+ if (r.err) {
3110
+ var n = SyntaxError(w[r.err.kind]);
3111
+ throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3112
3112
  }
3113
- return t?.captureLocation || xt(n.val), n.val;
3113
+ return t?.captureLocation || Et(r.val), r.val;
3114
3114
  }
3115
- var Le;
3115
+ var Ce;
3116
3116
  (function(e) {
3117
3117
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3118
- })(Le || (Le = {}));
3119
- var rt = (
3118
+ })(Ce || (Ce = {}));
3119
+ var Ke = (
3120
3120
  /** @class */
3121
3121
  function(e) {
3122
- nt(t, e);
3123
- function t(n, r, i) {
3124
- var o = e.call(this, n) || this;
3125
- return o.code = r, o.originalMessage = i, o;
3122
+ Ye(t, e);
3123
+ function t(r, n, i) {
3124
+ var o = e.call(this, r) || this;
3125
+ return o.code = n, o.originalMessage = i, o;
3126
3126
  }
3127
3127
  return t.prototype.toString = function() {
3128
3128
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3129
3129
  }, t;
3130
3130
  }(Error)
3131
- ), jt = (
3131
+ ), Ft = (
3132
3132
  /** @class */
3133
3133
  function(e) {
3134
- nt(t, e);
3135
- function t(n, r, i, o) {
3136
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Le.INVALID_VALUE, o) || this;
3134
+ Ye(t, e);
3135
+ function t(r, n, i, o) {
3136
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ce.INVALID_VALUE, o) || this;
3137
3137
  }
3138
3138
  return t;
3139
- }(rt)
3140
- ), fi = (
3139
+ }(Ke)
3140
+ ), mi = (
3141
3141
  /** @class */
3142
3142
  function(e) {
3143
- nt(t, e);
3144
- function t(n, r, i) {
3145
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Le.INVALID_VALUE, i) || this;
3143
+ Ye(t, e);
3144
+ function t(r, n, i) {
3145
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ce.INVALID_VALUE, i) || this;
3146
3146
  }
3147
3147
  return t;
3148
- }(rt)
3149
- ), pi = (
3148
+ }(Ke)
3149
+ ), di = (
3150
3150
  /** @class */
3151
3151
  function(e) {
3152
- nt(t, e);
3153
- function t(n, r) {
3154
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Le.MISSING_VALUE, r) || this;
3152
+ Ye(t, e);
3153
+ function t(r, n) {
3154
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ce.MISSING_VALUE, n) || this;
3155
3155
  }
3156
3156
  return t;
3157
- }(rt)
3157
+ }(Ke)
3158
3158
  ), Z;
3159
3159
  (function(e) {
3160
3160
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3161
3161
  })(Z || (Z = {}));
3162
- function di(e) {
3163
- return e.length < 2 ? e : e.reduce(function(t, n) {
3164
- var r = t[t.length - 1];
3165
- return !r || r.type !== Z.literal || n.type !== Z.literal ? t.push(n) : r.value += n.value, t;
3162
+ function gi(e) {
3163
+ return e.length < 2 ? e : e.reduce(function(t, r) {
3164
+ var n = t[t.length - 1];
3165
+ return !n || n.type !== Z.literal || r.type !== Z.literal ? t.push(r) : n.value += r.value, t;
3166
3166
  }, []);
3167
3167
  }
3168
- function mi(e) {
3168
+ function bi(e) {
3169
3169
  return typeof e == "function";
3170
3170
  }
3171
- function qe(e, t, n, r, i, o, l) {
3172
- if (e.length === 1 && Nt(e[0]))
3171
+ function ze(e, t, r, n, i, o, a) {
3172
+ if (e.length === 1 && Lt(e[0]))
3173
3173
  return [
3174
3174
  {
3175
3175
  type: Z.literal,
3176
3176
  value: e[0].value
3177
3177
  }
3178
3178
  ];
3179
- for (var s = [], u = 0, a = e; u < a.length; u++) {
3180
- var h = a[u];
3181
- if (Nt(h)) {
3179
+ for (var s = [], u = 0, l = e; u < l.length; u++) {
3180
+ var h = l[u];
3181
+ if (Lt(h)) {
3182
3182
  s.push({
3183
3183
  type: Z.literal,
3184
3184
  value: h.value
3185
3185
  });
3186
3186
  continue;
3187
3187
  }
3188
- if (kr(h)) {
3188
+ if (Un(h)) {
3189
3189
  typeof o == "number" && s.push({
3190
3190
  type: Z.literal,
3191
- value: n.getNumberFormat(t).format(o)
3191
+ value: r.getNumberFormat(t).format(o)
3192
3192
  });
3193
3193
  continue;
3194
3194
  }
3195
3195
  var c = h.value;
3196
3196
  if (!(i && c in i))
3197
- throw new pi(c, l);
3198
- var d = i[c];
3199
- if (Rr(h)) {
3200
- (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), s.push({
3201
- type: typeof d == "string" ? Z.literal : Z.object,
3202
- value: d
3197
+ throw new di(c, a);
3198
+ var m = i[c];
3199
+ if (Dn(h)) {
3200
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
3201
+ type: typeof m == "string" ? Z.literal : Z.object,
3202
+ value: m
3203
3203
  });
3204
3204
  continue;
3205
3205
  }
3206
- if (ln(h)) {
3207
- var y = typeof h.style == "string" ? r.date[h.style] : bt(h.style) ? h.style.parsedOptions : void 0;
3206
+ if (sr(h)) {
3207
+ var _ = typeof h.style == "string" ? n.date[h.style] : dt(h.style) ? h.style.parsedOptions : void 0;
3208
3208
  s.push({
3209
3209
  type: Z.literal,
3210
- value: n.getDateTimeFormat(t, y).format(d)
3210
+ value: r.getDateTimeFormat(t, _).format(m)
3211
3211
  });
3212
3212
  continue;
3213
3213
  }
3214
- if (un(h)) {
3215
- var y = typeof h.style == "string" ? r.time[h.style] : bt(h.style) ? h.style.parsedOptions : r.time.medium;
3214
+ if (ar(h)) {
3215
+ var _ = typeof h.style == "string" ? n.time[h.style] : dt(h.style) ? h.style.parsedOptions : n.time.medium;
3216
3216
  s.push({
3217
3217
  type: Z.literal,
3218
- value: n.getDateTimeFormat(t, y).format(d)
3218
+ value: r.getDateTimeFormat(t, _).format(m)
3219
3219
  });
3220
3220
  continue;
3221
3221
  }
3222
- if (an(h)) {
3223
- var y = typeof h.style == "string" ? r.number[h.style] : pn(h.style) ? h.style.parsedOptions : void 0;
3224
- y && y.scale && (d = d * (y.scale || 1)), s.push({
3222
+ if (or(h)) {
3223
+ var _ = typeof h.style == "string" ? n.number[h.style] : cr(h.style) ? h.style.parsedOptions : void 0;
3224
+ _ && _.scale && (m = m * (_.scale || 1)), s.push({
3225
3225
  type: Z.literal,
3226
- value: n.getNumberFormat(t, y).format(d)
3226
+ value: r.getNumberFormat(t, _).format(m)
3227
3227
  });
3228
3228
  continue;
3229
3229
  }
3230
- if (fn(h)) {
3231
- var b = h.children, m = h.value, E = i[m];
3232
- if (!mi(E))
3233
- throw new fi(m, "function", l);
3234
- var w = qe(b, t, n, r, i, o), B = E(w.map(function(G) {
3235
- return G.value;
3230
+ if (hr(h)) {
3231
+ var d = h.children, g = h.value, E = i[g];
3232
+ if (!bi(E))
3233
+ throw new mi(g, "function", a);
3234
+ var S = ze(d, t, r, n, i, o), P = E(S.map(function(M) {
3235
+ return M.value;
3236
3236
  }));
3237
- Array.isArray(B) || (B = [B]), s.push.apply(s, B.map(function(G) {
3237
+ Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(M) {
3238
3238
  return {
3239
- type: typeof G == "string" ? Z.literal : Z.object,
3240
- value: G
3239
+ type: typeof M == "string" ? Z.literal : Z.object,
3240
+ value: M
3241
3241
  };
3242
3242
  }));
3243
3243
  }
3244
- if (hn(h)) {
3245
- var L = h.options[d] || h.options.other;
3244
+ if (lr(h)) {
3245
+ var L = h.options[m] || h.options.other;
3246
3246
  if (!L)
3247
- throw new jt(h.value, d, Object.keys(h.options), l);
3248
- s.push.apply(s, qe(L.value, t, n, r, i));
3247
+ throw new Ft(h.value, m, Object.keys(h.options), a);
3248
+ s.push.apply(s, ze(L.value, t, r, n, i));
3249
3249
  continue;
3250
3250
  }
3251
- if (cn(h)) {
3252
- var L = h.options["=".concat(d)];
3251
+ if (ur(h)) {
3252
+ var L = h.options["=".concat(m)];
3253
3253
  if (!L) {
3254
3254
  if (!Intl.PluralRules)
3255
- throw new rt(`Intl.PluralRules is not available in this environment.
3255
+ throw new Ke(`Intl.PluralRules is not available in this environment.
3256
3256
  Try polyfilling it using "@formatjs/intl-pluralrules"
3257
- `, Le.MISSING_INTL_API, l);
3258
- var k = n.getPluralRules(t, { type: h.pluralType }).select(d - (h.offset || 0));
3259
- L = h.options[k] || h.options.other;
3257
+ `, Ce.MISSING_INTL_API, a);
3258
+ var D = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3259
+ L = h.options[D] || h.options.other;
3260
3260
  }
3261
3261
  if (!L)
3262
- throw new jt(h.value, d, Object.keys(h.options), l);
3263
- s.push.apply(s, qe(L.value, t, n, r, i, d - (h.offset || 0)));
3262
+ throw new Ft(h.value, m, Object.keys(h.options), a);
3263
+ s.push.apply(s, ze(L.value, t, r, n, i, m - (h.offset || 0)));
3264
3264
  continue;
3265
3265
  }
3266
3266
  }
3267
- return di(s);
3267
+ return gi(s);
3268
3268
  }
3269
- function gi(e, t) {
3270
- return t ? ue(ue(ue({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3271
- return n[r] = ue(ue({}, e[r]), t[r] || {}), n;
3269
+ function yi(e, t) {
3270
+ return t ? se(se(se({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3271
+ return r[n] = se(se({}, e[n]), t[n] || {}), r;
3272
3272
  }, {})) : e;
3273
3273
  }
3274
- function bi(e, t) {
3275
- return t ? Object.keys(e).reduce(function(n, r) {
3276
- return n[r] = gi(e[r], t[r]), n;
3277
- }, ue({}, e)) : e;
3274
+ function _i(e, t) {
3275
+ return t ? Object.keys(e).reduce(function(r, n) {
3276
+ return r[n] = yi(e[n], t[n]), r;
3277
+ }, se({}, e)) : e;
3278
3278
  }
3279
- function ft(e) {
3279
+ function ht(e) {
3280
3280
  return {
3281
3281
  create: function() {
3282
3282
  return {
3283
3283
  get: function(t) {
3284
3284
  return e[t];
3285
3285
  },
3286
- set: function(t, n) {
3287
- e[t] = n;
3286
+ set: function(t, r) {
3287
+ e[t] = r;
3288
3288
  }
3289
3289
  };
3290
3290
  }
3291
3291
  };
3292
3292
  }
3293
- function _i(e) {
3293
+ function Ei(e) {
3294
3294
  return e === void 0 && (e = {
3295
3295
  number: {},
3296
3296
  dateTime: {},
3297
3297
  pluralRules: {}
3298
3298
  }), {
3299
- getNumberFormat: ut(function() {
3300
- for (var t, n = [], r = 0; r < arguments.length; r++)
3301
- n[r] = arguments[r];
3302
- return new ((t = Intl.NumberFormat).bind.apply(t, lt([void 0], n, !1)))();
3299
+ getNumberFormat: at(function() {
3300
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3301
+ r[n] = arguments[n];
3302
+ return new ((t = Intl.NumberFormat).bind.apply(t, st([void 0], r, !1)))();
3303
3303
  }, {
3304
- cache: ft(e.number),
3305
- strategy: ht.variadic
3304
+ cache: ht(e.number),
3305
+ strategy: lt.variadic
3306
3306
  }),
3307
- getDateTimeFormat: ut(function() {
3308
- for (var t, n = [], r = 0; r < arguments.length; r++)
3309
- n[r] = arguments[r];
3310
- return new ((t = Intl.DateTimeFormat).bind.apply(t, lt([void 0], n, !1)))();
3307
+ getDateTimeFormat: at(function() {
3308
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3309
+ r[n] = arguments[n];
3310
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, st([void 0], r, !1)))();
3311
3311
  }, {
3312
- cache: ft(e.dateTime),
3313
- strategy: ht.variadic
3312
+ cache: ht(e.dateTime),
3313
+ strategy: lt.variadic
3314
3314
  }),
3315
- getPluralRules: ut(function() {
3316
- for (var t, n = [], r = 0; r < arguments.length; r++)
3317
- n[r] = arguments[r];
3318
- return new ((t = Intl.PluralRules).bind.apply(t, lt([void 0], n, !1)))();
3315
+ getPluralRules: at(function() {
3316
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3317
+ r[n] = arguments[n];
3318
+ return new ((t = Intl.PluralRules).bind.apply(t, st([void 0], r, !1)))();
3319
3319
  }, {
3320
- cache: ft(e.pluralRules),
3321
- strategy: ht.variadic
3320
+ cache: ht(e.pluralRules),
3321
+ strategy: lt.variadic
3322
3322
  })
3323
3323
  };
3324
3324
  }
3325
- var yi = (
3325
+ var vi = (
3326
3326
  /** @class */
3327
3327
  function() {
3328
- function e(t, n, r, i) {
3329
- n === void 0 && (n = e.defaultLocale);
3328
+ function e(t, r, n, i) {
3329
+ r === void 0 && (r = e.defaultLocale);
3330
3330
  var o = this;
3331
3331
  if (this.formatterCache = {
3332
3332
  number: {},
3333
3333
  dateTime: {},
3334
3334
  pluralRules: {}
3335
3335
  }, this.format = function(u) {
3336
- var a = o.formatToParts(u);
3337
- if (a.length === 1)
3338
- return a[0].value;
3339
- var h = a.reduce(function(c, d) {
3340
- return !c.length || d.type !== Z.literal || typeof c[c.length - 1] != "string" ? c.push(d.value) : c[c.length - 1] += d.value, c;
3336
+ var l = o.formatToParts(u);
3337
+ if (l.length === 1)
3338
+ return l[0].value;
3339
+ var h = l.reduce(function(c, m) {
3340
+ return !c.length || m.type !== Z.literal || typeof c[c.length - 1] != "string" ? c.push(m.value) : c[c.length - 1] += m.value, c;
3341
3341
  }, []);
3342
3342
  return h.length <= 1 ? h[0] || "" : h;
3343
3343
  }, this.formatToParts = function(u) {
3344
- return qe(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3344
+ return ze(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3345
3345
  }, this.resolvedOptions = function() {
3346
3346
  var u;
3347
3347
  return {
@@ -3349,18 +3349,18 @@ var yi = (
3349
3349
  };
3350
3350
  }, this.getAst = function() {
3351
3351
  return o.ast;
3352
- }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3352
+ }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3353
3353
  if (this.message = t, !e.__parse)
3354
3354
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3355
- var l = i || {};
3356
- l.formatters;
3357
- var s = Cr(l, ["formatters"]);
3358
- this.ast = e.__parse(t, ue(ue({}, s), { locale: this.resolvedLocale }));
3355
+ var a = i || {};
3356
+ a.formatters;
3357
+ var s = Bn(a, ["formatters"]);
3358
+ this.ast = e.__parse(t, se(se({}, s), { locale: this.resolvedLocale }));
3359
3359
  } else
3360
3360
  this.ast = t;
3361
3361
  if (!Array.isArray(this.ast))
3362
3362
  throw new TypeError("A message must be provided as a String or AST.");
3363
- this.formats = bi(e.formats, r), this.formatters = i && i.formatters || _i(this.formatterCache);
3363
+ this.formats = _i(e.formats, n), this.formatters = i && i.formatters || Ei(this.formatterCache);
3364
3364
  }
3365
3365
  return Object.defineProperty(e, "defaultLocale", {
3366
3366
  get: function() {
@@ -3370,10 +3370,10 @@ var yi = (
3370
3370
  configurable: !0
3371
3371
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3372
3372
  if (!(typeof Intl.Locale > "u")) {
3373
- var n = Intl.NumberFormat.supportedLocalesOf(t);
3374
- return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3373
+ var r = Intl.NumberFormat.supportedLocalesOf(t);
3374
+ return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3375
3375
  }
3376
- }, e.__parse = ci, e.formats = {
3376
+ }, e.__parse = pi, e.formats = {
3377
3377
  number: {
3378
3378
  integer: {
3379
3379
  maximumFractionDigits: 0
@@ -3434,113 +3434,113 @@ var yi = (
3434
3434
  }, e;
3435
3435
  }()
3436
3436
  );
3437
- function Ei(e, t) {
3437
+ function xi(e, t) {
3438
3438
  if (t == null)
3439
3439
  return;
3440
3440
  if (t in e)
3441
3441
  return e[t];
3442
- const n = t.split(".");
3443
- let r = e;
3444
- for (let i = 0; i < n.length; i++)
3445
- if (typeof r == "object") {
3442
+ const r = t.split(".");
3443
+ let n = e;
3444
+ for (let i = 0; i < r.length; i++)
3445
+ if (typeof n == "object") {
3446
3446
  if (i > 0) {
3447
- const o = n.slice(i, n.length).join(".");
3448
- if (o in r) {
3449
- r = r[o];
3447
+ const o = r.slice(i, r.length).join(".");
3448
+ if (o in n) {
3449
+ n = n[o];
3450
3450
  break;
3451
3451
  }
3452
3452
  }
3453
- r = r[n[i]];
3453
+ n = n[r[i]];
3454
3454
  } else
3455
- r = void 0;
3456
- return r;
3455
+ n = void 0;
3456
+ return n;
3457
3457
  }
3458
- const me = {}, vi = (e, t, n) => n && (t in me || (me[t] = {}), e in me[t] || (me[t][e] = n), n), vn = (e, t) => {
3458
+ const fe = {}, wi = (e, t, r) => r && (t in fe || (fe[t] = {}), e in fe[t] || (fe[t][e] = r), r), _r = (e, t) => {
3459
3459
  if (t == null)
3460
3460
  return;
3461
- if (t in me && e in me[t])
3462
- return me[t][e];
3463
- const n = it(t);
3464
- for (let r = 0; r < n.length; r++) {
3465
- const i = n[r], o = wi(i, e);
3461
+ if (t in fe && e in fe[t])
3462
+ return fe[t][e];
3463
+ const r = et(t);
3464
+ for (let n = 0; n < r.length; n++) {
3465
+ const i = r[n], o = Ti(i, e);
3466
3466
  if (o)
3467
- return vi(e, t, o);
3467
+ return wi(e, t, o);
3468
3468
  }
3469
3469
  };
3470
- let Ot;
3471
- const Xe = tt({});
3472
- function xi(e) {
3473
- return Ot[e] || null;
3470
+ let St;
3471
+ const Ge = Je({});
3472
+ function Si(e) {
3473
+ return St[e] || null;
3474
3474
  }
3475
- function xn(e) {
3476
- return e in Ot;
3475
+ function Er(e) {
3476
+ return e in St;
3477
3477
  }
3478
- function wi(e, t) {
3479
- if (!xn(e))
3478
+ function Ti(e, t) {
3479
+ if (!Er(e))
3480
3480
  return null;
3481
- const n = xi(e);
3482
- return Ei(n, t);
3481
+ const r = Si(e);
3482
+ return xi(r, t);
3483
3483
  }
3484
- function Si(e) {
3484
+ function Oi(e) {
3485
3485
  if (e == null)
3486
3486
  return;
3487
- const t = it(e);
3488
- for (let n = 0; n < t.length; n++) {
3489
- const r = t[n];
3490
- if (xn(r))
3491
- return r;
3487
+ const t = et(e);
3488
+ for (let r = 0; r < t.length; r++) {
3489
+ const n = t[r];
3490
+ if (Er(n))
3491
+ return n;
3492
3492
  }
3493
3493
  }
3494
- function wn(e, ...t) {
3495
- delete me[e], Xe.update((n) => (n[e] = Hr.all([n[e] || {}, ...t]), n));
3494
+ function vr(e, ...t) {
3495
+ delete fe[e], Ge.update((r) => (r[e] = Cn.all([r[e] || {}, ...t]), r));
3496
3496
  }
3497
- Me(
3498
- [Xe],
3497
+ Pe(
3498
+ [Ge],
3499
3499
  ([e]) => Object.keys(e)
3500
3500
  );
3501
- Xe.subscribe((e) => Ot = e);
3502
- const Qe = {};
3503
- function Ti(e, t) {
3504
- Qe[e].delete(t), Qe[e].size === 0 && delete Qe[e];
3501
+ Ge.subscribe((e) => St = e);
3502
+ const Xe = {};
3503
+ function Hi(e, t) {
3504
+ Xe[e].delete(t), Xe[e].size === 0 && delete Xe[e];
3505
3505
  }
3506
- function Sn(e) {
3507
- return Qe[e];
3506
+ function xr(e) {
3507
+ return Xe[e];
3508
3508
  }
3509
- function Oi(e) {
3510
- return it(e).map((t) => {
3511
- const n = Sn(t);
3512
- return [t, n ? [...n] : []];
3509
+ function Ai(e) {
3510
+ return et(e).map((t) => {
3511
+ const r = xr(t);
3512
+ return [t, r ? [...r] : []];
3513
3513
  }).filter(([, t]) => t.length > 0);
3514
3514
  }
3515
- function wt(e) {
3516
- return e == null ? !1 : it(e).some(
3515
+ function vt(e) {
3516
+ return e == null ? !1 : et(e).some(
3517
3517
  (t) => {
3518
- var n;
3519
- return (n = Sn(t)) == null ? void 0 : n.size;
3518
+ var r;
3519
+ return (r = xr(t)) == null ? void 0 : r.size;
3520
3520
  }
3521
3521
  );
3522
3522
  }
3523
- function Hi(e, t) {
3523
+ function Ci(e, t) {
3524
3524
  return Promise.all(
3525
- t.map((r) => (Ti(e, r), r().then((i) => i.default || i)))
3526
- ).then((r) => wn(e, ...r));
3527
- }
3528
- const Fe = {};
3529
- function Tn(e) {
3530
- if (!wt(e))
3531
- return e in Fe ? Fe[e] : Promise.resolve();
3532
- const t = Oi(e);
3533
- return Fe[e] = Promise.all(
3525
+ t.map((n) => (Hi(e, n), n().then((i) => i.default || i)))
3526
+ ).then((n) => vr(e, ...n));
3527
+ }
3528
+ const Ne = {};
3529
+ function wr(e) {
3530
+ if (!vt(e))
3531
+ return e in Ne ? Ne[e] : Promise.resolve();
3532
+ const t = Ai(e);
3533
+ return Ne[e] = Promise.all(
3534
3534
  t.map(
3535
- ([n, r]) => Hi(n, r)
3535
+ ([r, n]) => Ci(r, n)
3536
3536
  )
3537
3537
  ).then(() => {
3538
- if (wt(e))
3539
- return Tn(e);
3540
- delete Fe[e];
3541
- }), Fe[e];
3538
+ if (vt(e))
3539
+ return wr(e);
3540
+ delete Ne[e];
3541
+ }), Ne[e];
3542
3542
  }
3543
- const Ci = {
3543
+ const Bi = {
3544
3544
  number: {
3545
3545
  scientific: { notation: "scientific" },
3546
3546
  engineering: { notation: "engineering" },
@@ -3569,150 +3569,150 @@ const Ci = {
3569
3569
  timeZoneName: "short"
3570
3570
  }
3571
3571
  }
3572
- }, Ai = {
3572
+ }, Pi = {
3573
3573
  fallbackLocale: null,
3574
3574
  loadingDelay: 200,
3575
- formats: Ci,
3575
+ formats: Bi,
3576
3576
  warnOnMissingMessages: !0,
3577
3577
  handleMissingMessage: void 0,
3578
3578
  ignoreTag: !0
3579
- }, Bi = Ai;
3580
- function Pe() {
3581
- return Bi;
3582
- }
3583
- const pt = tt(!1);
3584
- var Li = Object.defineProperty, Pi = Object.defineProperties, Mi = Object.getOwnPropertyDescriptors, $t = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Ni = Object.prototype.propertyIsEnumerable, Vt = (e, t, n) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ri = (e, t) => {
3585
- for (var n in t || (t = {}))
3586
- Ii.call(t, n) && Vt(e, n, t[n]);
3587
- if ($t)
3588
- for (var n of $t(t))
3589
- Ni.call(t, n) && Vt(e, n, t[n]);
3579
+ }, Mi = Pi;
3580
+ function Be() {
3581
+ return Mi;
3582
+ }
3583
+ const ct = Je(!1);
3584
+ var Ii = Object.defineProperty, Li = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, ki = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Di = (e, t) => {
3585
+ for (var r in t || (t = {}))
3586
+ Ri.call(t, r) && Vt(e, r, t[r]);
3587
+ if (jt)
3588
+ for (var r of jt(t))
3589
+ ki.call(t, r) && Vt(e, r, t[r]);
3590
3590
  return e;
3591
- }, ki = (e, t) => Pi(e, Mi(t));
3592
- let St;
3593
- const Ke = tt(null);
3594
- function zt(e) {
3595
- return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3591
+ }, Ui = (e, t) => Li(e, Ni(t));
3592
+ let xt;
3593
+ const qe = Je(null);
3594
+ function $t(e) {
3595
+ return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3596
3596
  }
3597
- function it(e, t = Pe().fallbackLocale) {
3598
- const n = zt(e);
3599
- return t ? [.../* @__PURE__ */ new Set([...n, ...zt(t)])] : n;
3597
+ function et(e, t = Be().fallbackLocale) {
3598
+ const r = $t(e);
3599
+ return t ? [.../* @__PURE__ */ new Set([...r, ...$t(t)])] : r;
3600
3600
  }
3601
- function ve() {
3602
- return St ?? void 0;
3601
+ function Ee() {
3602
+ return xt ?? void 0;
3603
3603
  }
3604
- Ke.subscribe((e) => {
3605
- St = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3604
+ qe.subscribe((e) => {
3605
+ xt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3606
3606
  });
3607
- const Di = (e) => {
3608
- if (e && Si(e) && wt(e)) {
3609
- const { loadingDelay: t } = Pe();
3610
- let n;
3611
- return typeof window < "u" && ve() != null && t ? n = window.setTimeout(
3612
- () => pt.set(!0),
3607
+ const Gi = (e) => {
3608
+ if (e && Oi(e) && vt(e)) {
3609
+ const { loadingDelay: t } = Be();
3610
+ let r;
3611
+ return typeof window < "u" && Ee() != null && t ? r = window.setTimeout(
3612
+ () => ct.set(!0),
3613
3613
  t
3614
- ) : pt.set(!0), Tn(e).then(() => {
3615
- Ke.set(e);
3614
+ ) : ct.set(!0), wr(e).then(() => {
3615
+ qe.set(e);
3616
3616
  }).finally(() => {
3617
- clearTimeout(n), pt.set(!1);
3617
+ clearTimeout(r), ct.set(!1);
3618
3618
  });
3619
3619
  }
3620
- return Ke.set(e);
3621
- }, Ie = ki(Ri({}, Ke), {
3622
- set: Di
3623
- }), ot = (e) => {
3620
+ return qe.set(e);
3621
+ }, Me = Ui(Di({}, qe), {
3622
+ set: Gi
3623
+ }), tt = (e) => {
3624
3624
  const t = /* @__PURE__ */ Object.create(null);
3625
- return (r) => {
3626
- const i = JSON.stringify(r);
3627
- return i in t ? t[i] : t[i] = e(r);
3625
+ return (n) => {
3626
+ const i = JSON.stringify(n);
3627
+ return i in t ? t[i] : t[i] = e(n);
3628
3628
  };
3629
3629
  };
3630
- var Ui = Object.defineProperty, et = Object.getOwnPropertySymbols, On = Object.prototype.hasOwnProperty, Hn = Object.prototype.propertyIsEnumerable, Xt = (e, t, n) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ht = (e, t) => {
3631
- for (var n in t || (t = {}))
3632
- On.call(t, n) && Xt(e, n, t[n]);
3633
- if (et)
3634
- for (var n of et(t))
3635
- Hn.call(t, n) && Xt(e, n, t[n]);
3630
+ var Fi = Object.defineProperty, Qe = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, zt = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tt = (e, t) => {
3631
+ for (var r in t || (t = {}))
3632
+ Sr.call(t, r) && zt(e, r, t[r]);
3633
+ if (Qe)
3634
+ for (var r of Qe(t))
3635
+ Tr.call(t, r) && zt(e, r, t[r]);
3636
3636
  return e;
3637
- }, Ne = (e, t) => {
3638
- var n = {};
3639
- for (var r in e)
3640
- On.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3641
- if (e != null && et)
3642
- for (var r of et(e))
3643
- t.indexOf(r) < 0 && Hn.call(e, r) && (n[r] = e[r]);
3644
- return n;
3637
+ }, Ie = (e, t) => {
3638
+ var r = {};
3639
+ for (var n in e)
3640
+ Sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3641
+ if (e != null && Qe)
3642
+ for (var n of Qe(e))
3643
+ t.indexOf(n) < 0 && Tr.call(e, n) && (r[n] = e[n]);
3644
+ return r;
3645
3645
  };
3646
- const ze = (e, t) => {
3647
- const { formats: n } = Pe();
3648
- if (e in n && t in n[e])
3649
- return n[e][t];
3646
+ const Ue = (e, t) => {
3647
+ const { formats: r } = Be();
3648
+ if (e in r && t in r[e])
3649
+ return r[e][t];
3650
3650
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3651
- }, Gi = ot(
3651
+ }, ji = tt(
3652
3652
  (e) => {
3653
- var t = e, { locale: n, format: r } = t, i = Ne(t, ["locale", "format"]);
3654
- if (n == null)
3653
+ var t = e, { locale: r, format: n } = t, i = Ie(t, ["locale", "format"]);
3654
+ if (r == null)
3655
3655
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3656
- return r && (i = ze("number", r)), new Intl.NumberFormat(n, i);
3656
+ return n && (i = Ue("number", n)), new Intl.NumberFormat(r, i);
3657
3657
  }
3658
- ), Fi = ot(
3658
+ ), Vi = tt(
3659
3659
  (e) => {
3660
- var t = e, { locale: n, format: r } = t, i = Ne(t, ["locale", "format"]);
3661
- if (n == null)
3660
+ var t = e, { locale: r, format: n } = t, i = Ie(t, ["locale", "format"]);
3661
+ if (r == null)
3662
3662
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3663
- return r ? i = ze("date", r) : Object.keys(i).length === 0 && (i = ze("date", "short")), new Intl.DateTimeFormat(n, i);
3663
+ return n ? i = Ue("date", n) : Object.keys(i).length === 0 && (i = Ue("date", "short")), new Intl.DateTimeFormat(r, i);
3664
3664
  }
3665
- ), ji = ot(
3665
+ ), $i = tt(
3666
3666
  (e) => {
3667
- var t = e, { locale: n, format: r } = t, i = Ne(t, ["locale", "format"]);
3668
- if (n == null)
3667
+ var t = e, { locale: r, format: n } = t, i = Ie(t, ["locale", "format"]);
3668
+ if (r == null)
3669
3669
  throw new Error(
3670
3670
  '[svelte-i18n] A "locale" must be set to format time values'
3671
3671
  );
3672
- return r ? i = ze("time", r) : Object.keys(i).length === 0 && (i = ze("time", "short")), new Intl.DateTimeFormat(n, i);
3672
+ return n ? i = Ue("time", n) : Object.keys(i).length === 0 && (i = Ue("time", "short")), new Intl.DateTimeFormat(r, i);
3673
3673
  }
3674
- ), $i = (e = {}) => {
3674
+ ), zi = (e = {}) => {
3675
3675
  var t = e, {
3676
- locale: n = ve()
3677
- } = t, r = Ne(t, [
3676
+ locale: r = Ee()
3677
+ } = t, n = Ie(t, [
3678
3678
  "locale"
3679
3679
  ]);
3680
- return Gi(Ht({ locale: n }, r));
3681
- }, Vi = (e = {}) => {
3680
+ return ji(Tt({ locale: r }, n));
3681
+ }, Xi = (e = {}) => {
3682
3682
  var t = e, {
3683
- locale: n = ve()
3684
- } = t, r = Ne(t, [
3683
+ locale: r = Ee()
3684
+ } = t, n = Ie(t, [
3685
3685
  "locale"
3686
3686
  ]);
3687
- return Fi(Ht({ locale: n }, r));
3688
- }, zi = (e = {}) => {
3687
+ return Vi(Tt({ locale: r }, n));
3688
+ }, Wi = (e = {}) => {
3689
3689
  var t = e, {
3690
- locale: n = ve()
3691
- } = t, r = Ne(t, [
3690
+ locale: r = Ee()
3691
+ } = t, n = Ie(t, [
3692
3692
  "locale"
3693
3693
  ]);
3694
- return ji(Ht({ locale: n }, r));
3695
- }, Xi = ot(
3694
+ return $i(Tt({ locale: r }, n));
3695
+ }, Zi = tt(
3696
3696
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3697
- (e, t = ve()) => new yi(e, t, Pe().formats, {
3698
- ignoreTag: Pe().ignoreTag
3697
+ (e, t = Ee()) => new vi(e, t, Be().formats, {
3698
+ ignoreTag: Be().ignoreTag
3699
3699
  })
3700
- ), Wi = (e, t = {}) => {
3701
- var n, r, i, o;
3702
- let l = t;
3703
- typeof e == "object" && (l = e, e = l.id);
3700
+ ), qi = (e, t = {}) => {
3701
+ var r, n, i, o;
3702
+ let a = t;
3703
+ typeof e == "object" && (a = e, e = a.id);
3704
3704
  const {
3705
3705
  values: s,
3706
- locale: u = ve(),
3707
- default: a
3708
- } = l;
3706
+ locale: u = Ee(),
3707
+ default: l
3708
+ } = a;
3709
3709
  if (u == null)
3710
3710
  throw new Error(
3711
3711
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3712
3712
  );
3713
- let h = vn(e, u);
3713
+ let h = _r(e, u);
3714
3714
  if (!h)
3715
- h = (o = (i = (r = (n = Pe()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
3715
+ h = (o = (i = (n = (r = Be()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3716
3716
  else if (typeof h != "string")
3717
3717
  return console.warn(
3718
3718
  `[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.`
@@ -3721,26 +3721,26 @@ const ze = (e, t) => {
3721
3721
  return h;
3722
3722
  let c = h;
3723
3723
  try {
3724
- c = Xi(h, u).format(s);
3725
- } catch (d) {
3726
- d instanceof Error && console.warn(
3724
+ c = Zi(h, u).format(s);
3725
+ } catch (m) {
3726
+ m instanceof Error && console.warn(
3727
3727
  `[svelte-i18n] Message "${e}" has syntax error:`,
3728
- d.message
3728
+ m.message
3729
3729
  );
3730
3730
  }
3731
3731
  return c;
3732
- }, Zi = (e, t) => zi(t).format(e), qi = (e, t) => Vi(t).format(e), Qi = (e, t) => $i(t).format(e), Ji = (e, t = ve()) => vn(e, t), Yi = Me([Ie, Xe], () => Wi);
3733
- Me([Ie], () => Zi);
3734
- Me([Ie], () => qi);
3735
- Me([Ie], () => Qi);
3736
- Me([Ie, Xe], () => Ji);
3737
- function Wt(e, t) {
3738
- wn(e, t);
3739
- }
3740
- function Ki(e) {
3741
- Ie.set(e);
3742
- }
3743
- const Zt = {
3732
+ }, Qi = (e, t) => Wi(t).format(e), Ji = (e, t) => Xi(t).format(e), Yi = (e, t) => zi(t).format(e), Ki = (e, t = Ee()) => _r(e, t), eo = Pe([Me, Ge], () => qi);
3733
+ Pe([Me], () => Qi);
3734
+ Pe([Me], () => Ji);
3735
+ Pe([Me], () => Yi);
3736
+ Pe([Me, Ge], () => Ki);
3737
+ function Xt(e, t) {
3738
+ vr(e, t);
3739
+ }
3740
+ function to(e) {
3741
+ Me.set(e);
3742
+ }
3743
+ const Wt = {
3744
3744
  en: {
3745
3745
  otpTitle: "Code verification is required",
3746
3746
  popupMessage: "Please enter the security code received on your SMS/email address to perform the update.",
@@ -3788,531 +3788,528 @@ const Zt = {
3788
3788
  waitSeconds: "Tekrar göndermeden önce lütfen bekleyin:"
3789
3789
  }
3790
3790
  };
3791
- function eo(e) {
3792
- Gn(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}}');
3791
+ function ro(e) {
3792
+ Fr(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}}');
3793
3793
  }
3794
- function qt(e, t, n) {
3795
- const r = e.slice();
3796
- return r[67] = t[n], r[68] = t, r[69] = n, r;
3794
+ function Zt(e, t, r) {
3795
+ const n = e.slice();
3796
+ return n[69] = t[r], n[70] = t, n[71] = r, n;
3797
3797
  }
3798
- function to(e) {
3799
- let t, n, r = (
3800
- /*$_*/
3801
- e[17]("otpTitle") + ""
3802
- ), i, o, l, s, u, a, h, c, d, y, b, m, E, w, B, L, k, G, N = (
3798
+ function no(e) {
3799
+ let t, r, n, i, o, a, s, u, l, h, c, m, _, d, g, E, S, P = (
3803
3800
  /*$_*/
3804
- e[17]("channelSMS") + ""
3805
- ), K, fe, W, re, Re, M, $, q, ne, F, ie, Y, oe, Q, pe = (
3801
+ e[19]("channelSMS") + ""
3802
+ ), L, D, M, N, K, q, ae, pe, le, B, U, W, me, de, ge = (
3806
3803
  /*$_*/
3807
- e[17]("channelEmail") + ""
3808
- ), ge, be, _e, ye, ce, ke, De;
3809
- function Ue(_, A) {
3804
+ e[19]("channelEmail") + ""
3805
+ ), Q, ee, $, ue, te, be, ve;
3806
+ function ye(b, A) {
3810
3807
  return (
3811
3808
  /*showResendOtp*/
3812
- _[9] ? oo : (
3809
+ b[9] ? ao : (
3813
3810
  /*showOtpInput*/
3814
- _[12] ? ro : io
3811
+ b[12] ? oo : so
3815
3812
  )
3816
3813
  );
3817
3814
  }
3818
- let xe = Ue(e), J = xe(e), V = (
3815
+ let xe = ye(e), J = xe(e), j = (
3819
3816
  /*selectedChannel*/
3820
- e[0] && Jt(e)
3817
+ e[0] && Qt(e)
3821
3818
  );
3822
- function we(_, A) {
3819
+ function Fe(b, A) {
3823
3820
  if (
3824
3821
  /*isLoading*/
3825
- _[3] && /*showOtpInput*/
3826
- _[12]
3822
+ b[3] && /*showOtpInput*/
3823
+ b[12]
3827
3824
  )
3828
- return co;
3825
+ return po;
3829
3826
  if (
3830
3827
  /*showOtpInput*/
3831
- _[12] && /*config*/
3832
- _[4]
3828
+ b[12] && /*config*/
3829
+ b[4]
3833
3830
  )
3834
- return ho;
3831
+ return fo;
3835
3832
  }
3836
- let se = we(e), z = se && se(e);
3837
- function Se(_, A) {
3833
+ let he = Fe(e), V = he && he(e);
3834
+ function je(b, A) {
3838
3835
  if (
3839
3836
  /*showResendOtp*/
3840
- _[9]
3837
+ b[9]
3841
3838
  )
3842
- return po;
3839
+ return go;
3843
3840
  if (
3844
3841
  /*showOtpInput*/
3845
- _[12] && /*config*/
3846
- _[4]
3842
+ b[12] && /*config*/
3843
+ b[4]
3847
3844
  )
3848
- return fo;
3845
+ return mo;
3849
3846
  }
3850
- let de = Se(e), j = de && de(e);
3847
+ let re = je(e), z = re && re(e);
3851
3848
  return {
3852
3849
  c() {
3853
- t = T("div"), n = T("div"), i = I(r), o = D(), J.c(), l = D(), s = T("div"), u = T("label"), a = T("div"), h = D(), c = T("input"), y = D(), b = T("div"), m = ee("svg"), E = ee("path"), w = ee("circle"), B = ee("circle"), L = ee("circle"), k = D(), G = T("span"), K = I(N), fe = D(), W = T("label"), re = T("div"), Re = D(), M = T("input"), q = D(), ne = T("div"), F = ee("svg"), ie = ee("rect"), Y = ee("path"), oe = D(), Q = T("span"), ge = I(pe), be = D(), V && V.c(), _e = D(), z && z.c(), ye = D(), ce = T("div"), j && j.c(), p(n, "class", "Title"), p(t, "class", "OtpDescription"), p(a, "class", "RadioIndicator"), ae(
3854
- a,
3850
+ t = O("div"), J.c(), r = G(), n = O("div"), i = O("label"), o = O("div"), a = G(), s = O("input"), l = G(), h = O("div"), c = ne("svg"), m = ne("path"), _ = ne("circle"), d = ne("circle"), g = ne("circle"), E = G(), S = O("span"), L = k(P), D = G(), M = O("label"), N = O("div"), K = G(), q = O("input"), pe = G(), le = O("div"), B = ne("svg"), U = ne("rect"), W = ne("path"), me = G(), de = O("span"), Q = k(ge), ee = G(), j && j.c(), $ = G(), V && V.c(), ue = G(), te = O("div"), z && z.c(), p(t, "class", "OtpDescription"), p(o, "class", "RadioIndicator"), ie(
3851
+ o,
3855
3852
  "checked",
3856
3853
  /*selectedChannel*/
3857
3854
  e[0] === /*channels*/
3858
- e[18].SMS
3859
- ), p(c, "type", "radio"), p(c, "name", "channel"), c.value = /*channels*/
3860
- e[18].SMS, c.checked = d = /*selectedChannel*/
3855
+ e[20].SMS
3856
+ ), p(s, "type", "radio"), p(s, "name", "channel"), s.value = /*channels*/
3857
+ e[20].SMS, s.checked = u = /*selectedChannel*/
3861
3858
  e[0] === /*channels*/
3862
- e[18].SMS, p(E, "d", "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"), p(w, "cx", "9"), p(w, "cy", "11"), p(w, "r", "0.5"), p(w, "fill", "currentColor"), p(B, "cx", "12"), p(B, "cy", "11"), p(B, "r", "0.5"), p(B, "fill", "currentColor"), p(L, "cx", "15"), p(L, "cy", "11"), p(L, "r", "0.5"), p(L, "fill", "currentColor"), p(m, "xmlns", "http://www.w3.org/2000/svg"), p(m, "width", "24"), p(m, "height", "24"), p(m, "viewBox", "0 0 24 24"), p(m, "fill", "none"), p(m, "stroke", "currentColor"), p(m, "stroke-width", "2"), p(m, "stroke-linecap", "round"), p(m, "stroke-linejoin", "round"), p(b, "class", "ChannelContent"), p(u, "class", "ChannelCheckbox"), ae(
3863
- u,
3859
+ e[20].SMS, p(m, "d", "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"), p(_, "cx", "9"), p(_, "cy", "11"), p(_, "r", "0.5"), p(_, "fill", "currentColor"), p(d, "cx", "12"), p(d, "cy", "11"), p(d, "r", "0.5"), p(d, "fill", "currentColor"), p(g, "cx", "15"), p(g, "cy", "11"), p(g, "r", "0.5"), p(g, "fill", "currentColor"), p(c, "xmlns", "http://www.w3.org/2000/svg"), p(c, "width", "24"), p(c, "height", "24"), p(c, "viewBox", "0 0 24 24"), p(c, "fill", "none"), p(c, "stroke", "currentColor"), p(c, "stroke-width", "2"), p(c, "stroke-linecap", "round"), p(c, "stroke-linejoin", "round"), p(h, "class", "ChannelContent"), p(i, "class", "ChannelCheckbox"), ie(
3860
+ i,
3864
3861
  "selected",
3865
3862
  /*selectedChannel*/
3866
3863
  e[0] === /*channels*/
3867
- e[18].SMS
3868
- ), p(re, "class", "RadioIndicator"), ae(
3869
- re,
3864
+ e[20].SMS
3865
+ ), p(N, "class", "RadioIndicator"), ie(
3866
+ N,
3870
3867
  "checked",
3871
3868
  /*selectedChannel*/
3872
3869
  e[0] === /*channels*/
3873
- e[18].EMAIL
3874
- ), p(M, "type", "radio"), p(M, "name", "channel"), M.value = /*channels*/
3875
- e[18].EMAIL, M.checked = $ = /*selectedChannel*/
3870
+ e[20].EMAIL
3871
+ ), p(q, "type", "radio"), p(q, "name", "channel"), q.value = /*channels*/
3872
+ e[20].EMAIL, q.checked = ae = /*selectedChannel*/
3876
3873
  e[0] === /*channels*/
3877
- e[18].EMAIL, p(ie, "x", "2"), p(ie, "y", "4"), p(ie, "width", "20"), p(ie, "height", "16"), p(ie, "rx", "2"), p(Y, "d", "m2 7 10 6 10-6"), p(F, "xmlns", "http://www.w3.org/2000/svg"), p(F, "width", "24"), p(F, "height", "24"), p(F, "viewBox", "0 0 24 24"), p(F, "fill", "none"), p(F, "stroke", "currentColor"), p(F, "stroke-width", "2"), p(F, "stroke-linecap", "round"), p(F, "stroke-linejoin", "round"), p(ne, "class", "ChannelContent"), p(W, "class", "ChannelCheckbox"), ae(
3878
- W,
3874
+ e[20].EMAIL, p(U, "x", "2"), p(U, "y", "4"), p(U, "width", "20"), p(U, "height", "16"), p(U, "rx", "2"), p(W, "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(le, "class", "ChannelContent"), p(M, "class", "ChannelCheckbox"), ie(
3875
+ M,
3879
3876
  "selected",
3880
3877
  /*selectedChannel*/
3881
3878
  e[0] === /*channels*/
3882
- e[18].EMAIL
3883
- ), p(s, "class", "ChannelSelection"), p(ce, "class", "OtpActionButtons");
3879
+ e[20].EMAIL
3880
+ ), p(n, "class", "ChannelSelection"), p(te, "class", "OtpActionButtons");
3884
3881
  },
3885
- m(_, A) {
3886
- C(_, t, A), g(t, n), g(n, i), g(t, o), J.m(t, null), C(_, l, A), C(_, s, A), g(s, u), g(u, a), g(u, h), g(u, c), g(u, y), g(u, b), g(b, m), g(m, E), g(m, w), g(m, B), g(m, L), g(b, k), g(b, G), g(G, K), g(s, fe), g(s, W), g(W, re), g(W, Re), g(W, M), g(W, q), g(W, ne), g(ne, F), g(F, ie), g(F, Y), g(ne, oe), g(ne, Q), g(Q, ge), C(_, be, A), V && V.m(_, A), C(_, _e, A), z && z.m(_, A), C(_, ye, A), C(_, ce, A), j && j.m(ce, null), ke || (De = [
3887
- he(
3888
- c,
3882
+ m(b, A) {
3883
+ C(b, t, A), J.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, E), y(h, S), y(S, L), y(n, D), y(n, M), y(M, N), y(M, K), y(M, q), y(M, pe), y(M, le), y(le, B), y(B, U), y(B, W), y(le, me), y(le, de), y(de, Q), C(b, ee, A), j && j.m(b, A), C(b, $, A), V && V.m(b, A), C(b, ue, A), C(b, te, A), z && z.m(te, null), be || (ve = [
3884
+ ce(
3885
+ s,
3889
3886
  "change",
3890
3887
  /*change_handler*/
3891
- e[37]
3888
+ e[39]
3892
3889
  ),
3893
- he(
3894
- M,
3890
+ ce(
3891
+ q,
3895
3892
  "change",
3896
3893
  /*change_handler_1*/
3897
- e[38]
3894
+ e[40]
3898
3895
  )
3899
- ], ke = !0);
3896
+ ], be = !0);
3900
3897
  },
3901
- p(_, A) {
3902
- A[0] & /*$_*/
3903
- 131072 && r !== (r = /*$_*/
3904
- _[17]("otpTitle") + "") && U(i, r), xe === (xe = Ue(_)) && J ? J.p(_, A) : (J.d(1), J = xe(_), J && (J.c(), J.m(t, null))), A[0] & /*selectedChannel, channels*/
3905
- 262145 && ae(
3906
- a,
3898
+ p(b, A) {
3899
+ xe === (xe = ye(b)) && J ? J.p(b, A) : (J.d(1), J = xe(b), J && (J.c(), J.m(t, null))), A[0] & /*selectedChannel, channels*/
3900
+ 1048577 && ie(
3901
+ o,
3907
3902
  "checked",
3908
3903
  /*selectedChannel*/
3909
- _[0] === /*channels*/
3910
- _[18].SMS
3904
+ b[0] === /*channels*/
3905
+ b[20].SMS
3911
3906
  ), A[0] & /*selectedChannel*/
3912
- 1 && d !== (d = /*selectedChannel*/
3913
- _[0] === /*channels*/
3914
- _[18].SMS) && (c.checked = d), A[0] & /*$_*/
3915
- 131072 && N !== (N = /*$_*/
3916
- _[17]("channelSMS") + "") && U(K, N), A[0] & /*selectedChannel, channels*/
3917
- 262145 && ae(
3918
- u,
3907
+ 1 && u !== (u = /*selectedChannel*/
3908
+ b[0] === /*channels*/
3909
+ b[20].SMS) && (s.checked = u), A[0] & /*$_*/
3910
+ 524288 && P !== (P = /*$_*/
3911
+ b[19]("channelSMS") + "") && F(L, P), A[0] & /*selectedChannel, channels*/
3912
+ 1048577 && ie(
3913
+ i,
3919
3914
  "selected",
3920
3915
  /*selectedChannel*/
3921
- _[0] === /*channels*/
3922
- _[18].SMS
3916
+ b[0] === /*channels*/
3917
+ b[20].SMS
3923
3918
  ), A[0] & /*selectedChannel, channels*/
3924
- 262145 && ae(
3925
- re,
3919
+ 1048577 && ie(
3920
+ N,
3926
3921
  "checked",
3927
3922
  /*selectedChannel*/
3928
- _[0] === /*channels*/
3929
- _[18].EMAIL
3923
+ b[0] === /*channels*/
3924
+ b[20].EMAIL
3930
3925
  ), A[0] & /*selectedChannel*/
3931
- 1 && $ !== ($ = /*selectedChannel*/
3932
- _[0] === /*channels*/
3933
- _[18].EMAIL) && (M.checked = $), A[0] & /*$_*/
3934
- 131072 && pe !== (pe = /*$_*/
3935
- _[17]("channelEmail") + "") && U(ge, pe), A[0] & /*selectedChannel, channels*/
3936
- 262145 && ae(
3937
- W,
3926
+ 1 && ae !== (ae = /*selectedChannel*/
3927
+ b[0] === /*channels*/
3928
+ b[20].EMAIL) && (q.checked = ae), A[0] & /*$_*/
3929
+ 524288 && ge !== (ge = /*$_*/
3930
+ b[19]("channelEmail") + "") && F(Q, ge), A[0] & /*selectedChannel, channels*/
3931
+ 1048577 && ie(
3932
+ M,
3938
3933
  "selected",
3939
3934
  /*selectedChannel*/
3940
- _[0] === /*channels*/
3941
- _[18].EMAIL
3935
+ b[0] === /*channels*/
3936
+ b[20].EMAIL
3942
3937
  ), /*selectedChannel*/
3943
- _[0] ? V ? V.p(_, A) : (V = Jt(_), V.c(), V.m(_e.parentNode, _e)) : V && (V.d(1), V = null), se === (se = we(_)) && z ? z.p(_, A) : (z && z.d(1), z = se && se(_), z && (z.c(), z.m(ye.parentNode, ye))), de === (de = Se(_)) && j ? j.p(_, A) : (j && j.d(1), j = de && de(_), j && (j.c(), j.m(ce, null)));
3938
+ b[0] ? j ? j.p(b, A) : (j = Qt(b), j.c(), j.m($.parentNode, $)) : j && (j.d(1), j = null), he === (he = Fe(b)) && V ? V.p(b, A) : (V && V.d(1), V = he && he(b), V && (V.c(), V.m(ue.parentNode, ue))), re === (re = je(b)) && z ? z.p(b, A) : (z && z.d(1), z = re && re(b), z && (z.c(), z.m(te, null)));
3944
3939
  },
3945
- d(_) {
3946
- _ && (H(t), H(l), H(s), H(be), H(_e), H(ye), H(ce)), J.d(), V && V.d(_), z && z.d(_), j && j.d(), ke = !1, Ee(De);
3940
+ d(b) {
3941
+ b && (H(t), H(r), H(n), H(ee), H($), H(ue), H(te)), J.d(), j && j.d(b), V && V.d(b), z && z.d(), be = !1, _e(ve);
3947
3942
  }
3948
3943
  };
3949
3944
  }
3950
- function no(e) {
3951
- let t, n, r, i, o, l, s = (
3945
+ function io(e) {
3946
+ let t, r, n, i, o, a, s = (
3952
3947
  /*$_*/
3953
- e[17]("errorHeader") + ""
3954
- ), u, a, h, c, d, y, b = (
3948
+ e[19]("errorHeader") + ""
3949
+ ), u, l, h, c, m, _, d = (
3955
3950
  /*$_*/
3956
- e[17]("close") + ""
3957
- ), m, E, w;
3951
+ e[19]("close") + ""
3952
+ ), g, E, S;
3958
3953
  return {
3959
3954
  c() {
3960
- t = T("div"), n = T("div"), r = ee("svg"), i = ee("path"), o = D(), l = T("h2"), u = I(s), a = D(), h = T("p"), c = I(
3955
+ t = O("div"), r = O("div"), n = ne("svg"), i = ne("path"), o = G(), a = O("h2"), u = k(s), l = G(), h = O("p"), c = k(
3961
3956
  /*errorMessage*/
3962
3957
  e[8]
3963
- ), d = D(), y = T("button"), m = I(b), 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(y, "class", "OtpButton error"), p(t, "class", "OtpError");
3958
+ ), m = G(), _ = 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");
3964
3959
  },
3965
- m(B, L) {
3966
- C(B, t, L), g(t, n), g(n, r), g(r, i), g(n, o), g(n, l), g(l, u), g(t, a), g(t, h), g(h, c), g(t, d), g(t, y), g(y, m), E || (w = he(
3967
- y,
3960
+ m(P, L) {
3961
+ C(P, t, L), 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), E || (S = ce(
3962
+ _,
3968
3963
  "click",
3969
3964
  /*manualClosePopup*/
3970
- e[26]
3965
+ e[28]
3971
3966
  ), E = !0);
3972
3967
  },
3973
- p(B, L) {
3968
+ p(P, L) {
3974
3969
  L[0] & /*$_*/
3975
- 131072 && s !== (s = /*$_*/
3976
- B[17]("errorHeader") + "") && U(u, s), L[0] & /*errorMessage*/
3977
- 256 && U(
3970
+ 524288 && s !== (s = /*$_*/
3971
+ P[19]("errorHeader") + "") && F(u, s), L[0] & /*errorMessage*/
3972
+ 256 && F(
3978
3973
  c,
3979
3974
  /*errorMessage*/
3980
- B[8]
3975
+ P[8]
3981
3976
  ), L[0] & /*$_*/
3982
- 131072 && b !== (b = /*$_*/
3983
- B[17]("close") + "") && U(m, b);
3977
+ 524288 && d !== (d = /*$_*/
3978
+ P[19]("close") + "") && F(g, d);
3984
3979
  },
3985
- d(B) {
3986
- B && H(t), E = !1, w();
3980
+ d(P) {
3981
+ P && H(t), E = !1, S();
3987
3982
  }
3988
3983
  };
3989
3984
  }
3990
- function ro(e) {
3991
- let t, n, r, i;
3992
- function o(a, h) {
3985
+ function oo(e) {
3986
+ let t, r, n, i;
3987
+ function o(l, h) {
3993
3988
  return (
3994
3989
  /*isLastWarning*/
3995
- a[10] ? ao : so
3990
+ l[10] ? uo : lo
3996
3991
  );
3997
3992
  }
3998
- let l = o(e), s = l(e), u = (
3993
+ let a = o(e), s = a(e), u = (
3999
3994
  /*hasErrors*/
4000
- e[6] && Qt(e)
3995
+ e[6] && qt(e)
4001
3996
  );
4002
3997
  return {
4003
3998
  c() {
4004
- t = T("p"), s.c(), r = D(), u && u.c(), i = Vn(), p(t, "class", n = /*isLastWarning*/
3999
+ t = O("p"), s.c(), n = G(), u && u.c(), i = zr(), p(t, "class", r = /*isLastWarning*/
4005
4000
  e[10] ? "LastWarningMessage" : "");
4006
4001
  },
4007
- m(a, h) {
4008
- C(a, t, h), s.m(t, null), C(a, r, h), u && u.m(a, h), C(a, i, h);
4002
+ m(l, h) {
4003
+ C(l, t, h), s.m(t, null), C(l, n, h), u && u.m(l, h), C(l, i, h);
4009
4004
  },
4010
- p(a, h) {
4011
- l === (l = o(a)) && s ? s.p(a, h) : (s.d(1), s = l(a), s && (s.c(), s.m(t, null))), h[0] & /*isLastWarning*/
4012
- 1024 && n !== (n = /*isLastWarning*/
4013
- a[10] ? "LastWarningMessage" : "") && p(t, "class", n), /*hasErrors*/
4014
- a[6] ? u ? u.p(a, h) : (u = Qt(a), u.c(), u.m(i.parentNode, i)) : u && (u.d(1), u = null);
4005
+ p(l, h) {
4006
+ 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*/
4007
+ 1024 && r !== (r = /*isLastWarning*/
4008
+ l[10] ? "LastWarningMessage" : "") && p(t, "class", r), /*hasErrors*/
4009
+ l[6] ? u ? u.p(l, h) : (u = qt(l), u.c(), u.m(i.parentNode, i)) : u && (u.d(1), u = null);
4015
4010
  },
4016
- d(a) {
4017
- a && (H(t), H(r), H(i)), s.d(), u && u.d(a);
4011
+ d(l) {
4012
+ l && (H(t), H(n), H(i)), s.d(), u && u.d(l);
4018
4013
  }
4019
4014
  };
4020
4015
  }
4021
- function io(e) {
4022
- let t, n = (
4016
+ function so(e) {
4017
+ let t, r = (
4023
4018
  /*$_*/
4024
- (e[17]("selectChannelMessage") || "Selectează metoda prin care vrei să primești codul OTP") + ""
4025
- ), r;
4019
+ (e[19]("selectChannelMessage") || "Selectează metoda prin care vrei să primești codul OTP") + ""
4020
+ ), n;
4026
4021
  return {
4027
4022
  c() {
4028
- t = T("p"), r = I(n);
4023
+ t = O("p"), n = k(r);
4029
4024
  },
4030
4025
  m(i, o) {
4031
- C(i, t, o), g(t, r);
4026
+ C(i, t, o), y(t, n);
4032
4027
  },
4033
4028
  p(i, o) {
4034
4029
  o[0] & /*$_*/
4035
- 131072 && n !== (n = /*$_*/
4036
- (i[17]("selectChannelMessage") || "Selectează metoda prin care vrei să primești codul OTP") + "") && U(r, n);
4030
+ 524288 && r !== (r = /*$_*/
4031
+ (i[19]("selectChannelMessage") || "Selectează metoda prin care vrei să primești codul OTP") + "") && F(n, r);
4037
4032
  },
4038
4033
  d(i) {
4039
4034
  i && H(t);
4040
4035
  }
4041
4036
  };
4042
4037
  }
4043
- function oo(e) {
4044
- let t, n = (
4038
+ function ao(e) {
4039
+ let t, r = (
4045
4040
  /*$_*/
4046
- e[17]("otpExpiredMessage") + ""
4047
- ), r;
4041
+ e[19]("otpExpiredMessage") + ""
4042
+ ), n;
4048
4043
  return {
4049
4044
  c() {
4050
- t = T("p"), r = I(n), p(t, "class", "OtpNoticeMessage"), p(t, "role", "alert");
4045
+ t = O("p"), n = k(r), p(t, "class", "OtpNoticeMessage"), p(t, "role", "alert");
4051
4046
  },
4052
4047
  m(i, o) {
4053
- C(i, t, o), g(t, r);
4048
+ C(i, t, o), y(t, n);
4054
4049
  },
4055
4050
  p(i, o) {
4056
4051
  o[0] & /*$_*/
4057
- 131072 && n !== (n = /*$_*/
4058
- i[17]("otpExpiredMessage") + "") && U(r, n);
4052
+ 524288 && r !== (r = /*$_*/
4053
+ i[19]("otpExpiredMessage") + "") && F(n, r);
4059
4054
  },
4060
4055
  d(i) {
4061
4056
  i && H(t);
4062
4057
  }
4063
4058
  };
4064
4059
  }
4065
- function so(e) {
4060
+ function lo(e) {
4066
4061
  let t = (
4067
4062
  /*$_*/
4068
- e[17]("popupMessage") + ""
4069
- ), n;
4063
+ e[19]("popupMessage") + ""
4064
+ ), r;
4070
4065
  return {
4071
4066
  c() {
4072
- n = I(t);
4067
+ r = k(t);
4073
4068
  },
4074
- m(r, i) {
4075
- C(r, n, i);
4069
+ m(n, i) {
4070
+ C(n, r, i);
4076
4071
  },
4077
- p(r, i) {
4072
+ p(n, i) {
4078
4073
  i[0] & /*$_*/
4079
- 131072 && t !== (t = /*$_*/
4080
- r[17]("popupMessage") + "") && U(n, t);
4074
+ 524288 && t !== (t = /*$_*/
4075
+ n[19]("popupMessage") + "") && F(r, t);
4081
4076
  },
4082
- d(r) {
4083
- r && H(n);
4077
+ d(n) {
4078
+ n && H(r);
4084
4079
  }
4085
4080
  };
4086
4081
  }
4087
- function ao(e) {
4082
+ function uo(e) {
4088
4083
  let t = (
4089
4084
  /*$_*/
4090
- e[17]("popupMessageLastWarning") + ""
4091
- ), n;
4085
+ e[19]("popupMessageLastWarning") + ""
4086
+ ), r;
4092
4087
  return {
4093
4088
  c() {
4094
- n = I(t);
4089
+ r = k(t);
4095
4090
  },
4096
- m(r, i) {
4097
- C(r, n, i);
4091
+ m(n, i) {
4092
+ C(n, r, i);
4098
4093
  },
4099
- p(r, i) {
4094
+ p(n, i) {
4100
4095
  i[0] & /*$_*/
4101
- 131072 && t !== (t = /*$_*/
4102
- r[17]("popupMessageLastWarning") + "") && U(n, t);
4096
+ 524288 && t !== (t = /*$_*/
4097
+ n[19]("popupMessageLastWarning") + "") && F(r, t);
4103
4098
  },
4104
- d(r) {
4105
- r && H(n);
4099
+ d(n) {
4100
+ n && H(r);
4106
4101
  }
4107
4102
  };
4108
4103
  }
4109
- function Qt(e) {
4110
- let t, n;
4104
+ function qt(e) {
4105
+ let t, r;
4111
4106
  return {
4112
4107
  c() {
4113
- t = T("p"), n = I(
4108
+ t = O("p"), r = k(
4114
4109
  /*errorMessage*/
4115
4110
  e[8]
4116
4111
  ), p(t, "class", "OtpErrorMessage"), p(t, "role", "alert");
4117
4112
  },
4118
- m(r, i) {
4119
- C(r, t, i), g(t, n);
4113
+ m(n, i) {
4114
+ C(n, t, i), y(t, r);
4120
4115
  },
4121
- p(r, i) {
4116
+ p(n, i) {
4122
4117
  i[0] & /*errorMessage*/
4123
- 256 && U(
4124
- n,
4118
+ 256 && F(
4119
+ r,
4125
4120
  /*errorMessage*/
4126
- r[8]
4121
+ n[8]
4127
4122
  );
4128
4123
  },
4129
- d(r) {
4130
- r && H(t);
4124
+ d(n) {
4125
+ n && H(t);
4131
4126
  }
4132
4127
  };
4133
4128
  }
4134
- function Jt(e) {
4135
- let t, n, r, i;
4136
- function o(u, a) {
4129
+ function Qt(e) {
4130
+ let t, r, n, i;
4131
+ function o(u, l) {
4137
4132
  return (
4138
4133
  /*currentChannelTimer*/
4139
- u[15] > 0 ? uo : lo
4134
+ u[17] > 0 ? co : ho
4140
4135
  );
4141
4136
  }
4142
- let l = o(e), s = l(e);
4137
+ let a = o(e), s = a(e);
4143
4138
  return {
4144
4139
  c() {
4145
- t = T("button"), s.c(), p(t, "class", "OtpButton"), t.disabled = n = !/*canSubmitChannel*/
4146
- e[16], ae(t, "disabled", !/*canSubmitChannel*/
4140
+ t = O("button"), s.c(), p(t, "class", "OtpButton"), t.disabled = r = !/*canSubmitChannel*/
4141
+ e[18], ie(t, "disabled", !/*canSubmitChannel*/
4142
+ e[18] || /*waitingForConfig*/
4147
4143
  e[16]);
4148
4144
  },
4149
- m(u, a) {
4150
- C(u, t, a), s.m(t, null), r || (i = he(
4145
+ m(u, l) {
4146
+ C(u, t, l), s.m(t, null), n || (i = ce(
4151
4147
  t,
4152
4148
  "click",
4153
4149
  /*handleChannelSubmit*/
4154
- e[20]
4155
- ), r = !0);
4150
+ e[22]
4151
+ ), n = !0);
4156
4152
  },
4157
- p(u, a) {
4158
- l === (l = o(u)) && s ? s.p(u, a) : (s.d(1), s = l(u), s && (s.c(), s.m(t, null))), a[0] & /*canSubmitChannel*/
4159
- 65536 && n !== (n = !/*canSubmitChannel*/
4160
- u[16]) && (t.disabled = n), a[0] & /*canSubmitChannel*/
4161
- 65536 && ae(t, "disabled", !/*canSubmitChannel*/
4153
+ p(u, l) {
4154
+ 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*/
4155
+ 262144 && r !== (r = !/*canSubmitChannel*/
4156
+ u[18]) && (t.disabled = r), l[0] & /*canSubmitChannel, waitingForConfig*/
4157
+ 327680 && ie(t, "disabled", !/*canSubmitChannel*/
4158
+ u[18] || /*waitingForConfig*/
4162
4159
  u[16]);
4163
4160
  },
4164
4161
  d(u) {
4165
- u && H(t), s.d(), r = !1, i();
4162
+ u && H(t), s.d(), n = !1, i();
4166
4163
  }
4167
4164
  };
4168
4165
  }
4169
- function lo(e) {
4166
+ function ho(e) {
4170
4167
  let t = (
4171
4168
  /*$_*/
4172
- e[17]("sendCode") + ""
4173
- ), n;
4169
+ e[19]("sendCode") + ""
4170
+ ), r;
4174
4171
  return {
4175
4172
  c() {
4176
- n = I(t);
4173
+ r = k(t);
4177
4174
  },
4178
- m(r, i) {
4179
- C(r, n, i);
4175
+ m(n, i) {
4176
+ C(n, r, i);
4180
4177
  },
4181
- p(r, i) {
4178
+ p(n, i) {
4182
4179
  i[0] & /*$_*/
4183
- 131072 && t !== (t = /*$_*/
4184
- r[17]("sendCode") + "") && U(n, t);
4180
+ 524288 && t !== (t = /*$_*/
4181
+ n[19]("sendCode") + "") && F(r, t);
4185
4182
  },
4186
- d(r) {
4187
- r && H(n);
4183
+ d(n) {
4184
+ n && H(r);
4188
4185
  }
4189
4186
  };
4190
4187
  }
4191
- function uo(e) {
4188
+ function co(e) {
4192
4189
  let t = (
4193
4190
  /*$_*/
4194
- e[17]("waitSeconds") + ""
4195
- ), n, r, i, o;
4191
+ e[19]("waitSeconds") + ""
4192
+ ), r, n, i, o;
4196
4193
  return {
4197
4194
  c() {
4198
- n = I(t), r = I(" ("), i = I(
4195
+ r = k(t), n = k(" ("), i = k(
4199
4196
  /*currentChannelTimer*/
4200
- e[15]
4201
- ), o = I("s)");
4197
+ e[17]
4198
+ ), o = k("s)");
4202
4199
  },
4203
- m(l, s) {
4204
- C(l, n, s), C(l, r, s), C(l, i, s), C(l, o, s);
4200
+ m(a, s) {
4201
+ C(a, r, s), C(a, n, s), C(a, i, s), C(a, o, s);
4205
4202
  },
4206
- p(l, s) {
4203
+ p(a, s) {
4207
4204
  s[0] & /*$_*/
4208
- 131072 && t !== (t = /*$_*/
4209
- l[17]("waitSeconds") + "") && U(n, t), s[0] & /*currentChannelTimer*/
4210
- 32768 && U(
4205
+ 524288 && t !== (t = /*$_*/
4206
+ a[19]("waitSeconds") + "") && F(r, t), s[0] & /*currentChannelTimer*/
4207
+ 131072 && F(
4211
4208
  i,
4212
4209
  /*currentChannelTimer*/
4213
- l[15]
4210
+ a[17]
4214
4211
  );
4215
4212
  },
4216
- d(l) {
4217
- l && (H(n), H(r), H(i), H(o));
4213
+ d(a) {
4214
+ a && (H(r), H(n), H(i), H(o));
4218
4215
  }
4219
4216
  };
4220
4217
  }
4221
- function ho(e) {
4222
- let t, n, r = (
4218
+ function fo(e) {
4219
+ let t, r, n = (
4223
4220
  /*$_*/
4224
- e[17]("timeRemaining") + ""
4225
- ), i, o, l = (
4221
+ e[19]("timeRemaining") + ""
4222
+ ), i, o, a = (
4226
4223
  /*formatTime*/
4227
- e[21](
4224
+ e[23](
4228
4225
  /*timeLeft*/
4229
4226
  e[5]
4230
4227
  ) + ""
4231
- ), s, u, a = (
4228
+ ), s, u, l = (
4232
4229
  /*$_*/
4233
- e[17]("minutes") + ""
4234
- ), h, c, d, y = Mt(
4230
+ e[19]("minutes") + ""
4231
+ ), h, c, m, _ = Mt(
4235
4232
  /*otp*/
4236
4233
  e[2]
4237
- ), b = [];
4238
- for (let m = 0; m < y.length; m += 1)
4239
- b[m] = Yt(qt(e, y, m));
4234
+ ), d = [];
4235
+ for (let g = 0; g < _.length; g += 1)
4236
+ d[g] = Jt(Zt(e, _, g));
4240
4237
  return {
4241
4238
  c() {
4242
- t = T("div"), n = T("div"), i = I(r), o = D(), s = I(l), u = D(), h = I(a), c = D(), d = T("div");
4243
- for (let m = 0; m < b.length; m += 1)
4244
- b[m].c();
4245
- p(n, "class", "OtpTimer"), p(d, "class", "OtpField"), p(t, "class", "OtpFieldWrapper");
4239
+ t = O("div"), r = O("div"), i = k(n), o = G(), s = k(a), u = G(), h = k(l), c = G(), m = O("div");
4240
+ for (let g = 0; g < d.length; g += 1)
4241
+ d[g].c();
4242
+ p(r, "class", "OtpTimer"), p(m, "class", "OtpField"), p(t, "class", "OtpFieldWrapper");
4246
4243
  },
4247
- m(m, E) {
4248
- C(m, t, E), g(t, n), g(n, i), g(n, o), g(n, s), g(n, u), g(n, h), g(t, c), g(t, d);
4249
- for (let w = 0; w < b.length; w += 1)
4250
- b[w] && b[w].m(d, null);
4244
+ m(g, E) {
4245
+ C(g, t, E), y(t, r), y(r, i), y(r, o), y(r, s), y(r, u), y(r, h), y(t, c), y(t, m);
4246
+ for (let S = 0; S < d.length; S += 1)
4247
+ d[S] && d[S].m(m, null);
4251
4248
  },
4252
- p(m, E) {
4249
+ p(g, E) {
4253
4250
  if (E[0] & /*$_*/
4254
- 131072 && r !== (r = /*$_*/
4255
- m[17]("timeRemaining") + "") && U(i, r), E[0] & /*timeLeft*/
4256
- 32 && l !== (l = /*formatTime*/
4257
- m[21](
4251
+ 524288 && n !== (n = /*$_*/
4252
+ g[19]("timeRemaining") + "") && F(i, n), E[0] & /*timeLeft*/
4253
+ 32 && a !== (a = /*formatTime*/
4254
+ g[23](
4258
4255
  /*timeLeft*/
4259
- m[5]
4260
- ) + "") && U(s, l), E[0] & /*$_*/
4261
- 131072 && a !== (a = /*$_*/
4262
- m[17]("minutes") + "") && U(h, a), E[0] & /*config, otp, inputDisabled, otpInputs, handleOtpInput, handleKeyDown, handleOnPasteOtp*/
4263
- 29378580) {
4264
- y = Mt(
4256
+ g[5]
4257
+ ) + "") && F(s, a), E[0] & /*$_*/
4258
+ 524288 && l !== (l = /*$_*/
4259
+ g[19]("minutes") + "") && F(h, l), E[0] & /*config, otp, inputDisabled, otpInputs, handleOtpInput, handleKeyDown, handleOnPasteOtp*/
4260
+ 117458964) {
4261
+ _ = Mt(
4265
4262
  /*otp*/
4266
- m[2]
4263
+ g[2]
4267
4264
  );
4268
- let w;
4269
- for (w = 0; w < y.length; w += 1) {
4270
- const B = qt(m, y, w);
4271
- b[w] ? b[w].p(B, E) : (b[w] = Yt(B), b[w].c(), b[w].m(d, null));
4265
+ let S;
4266
+ for (S = 0; S < _.length; S += 1) {
4267
+ const P = Zt(g, _, S);
4268
+ d[S] ? d[S].p(P, E) : (d[S] = Jt(P), d[S].c(), d[S].m(m, null));
4272
4269
  }
4273
- for (; w < b.length; w += 1)
4274
- b[w].d(1);
4275
- b.length = y.length;
4270
+ for (; S < d.length; S += 1)
4271
+ d[S].d(1);
4272
+ d.length = _.length;
4276
4273
  }
4277
4274
  },
4278
- d(m) {
4279
- m && H(t), $n(b, m);
4275
+ d(g) {
4276
+ g && H(t), $r(d, g);
4280
4277
  }
4281
4278
  };
4282
4279
  }
4283
- function co(e) {
4280
+ function po(e) {
4284
4281
  let t;
4285
4282
  return {
4286
4283
  c() {
4287
- t = T("div"), t.innerHTML = '<span class="OtpLoader"></span>', p(t, "class", "OtpLoaderContainer");
4284
+ t = O("div"), t.innerHTML = '<span class="OtpLoader"></span>', p(t, "class", "OtpLoaderContainer");
4288
4285
  },
4289
- m(n, r) {
4290
- C(n, t, r);
4286
+ m(r, n) {
4287
+ C(r, t, n);
4291
4288
  },
4292
- p: te,
4293
- d(n) {
4294
- n && H(t);
4289
+ p: Y,
4290
+ d(r) {
4291
+ r && H(t);
4295
4292
  }
4296
4293
  };
4297
4294
  }
4298
- function Yt(e) {
4299
- let t, n, r, i = (
4295
+ function Jt(e) {
4296
+ let t, r, n, i = (
4300
4297
  /*index*/
4301
- e[69]
4302
- ), o, l;
4298
+ e[71]
4299
+ ), o, a;
4303
4300
  const s = () => (
4304
4301
  /*input_binding*/
4305
- e[39](t, i)
4302
+ e[41](t, i)
4306
4303
  ), u = () => (
4307
4304
  /*input_binding*/
4308
- e[39](null, i)
4305
+ e[41](null, i)
4309
4306
  );
4310
- function a(...c) {
4307
+ function l(...c) {
4311
4308
  return (
4312
4309
  /*input_handler*/
4313
- e[40](
4310
+ e[42](
4314
4311
  /*index*/
4315
- e[69],
4312
+ e[71],
4316
4313
  ...c
4317
4314
  )
4318
4315
  );
@@ -4320,261 +4317,258 @@ function Yt(e) {
4320
4317
  function h(...c) {
4321
4318
  return (
4322
4319
  /*keydown_handler*/
4323
- e[41](
4320
+ e[43](
4324
4321
  /*index*/
4325
- e[69],
4322
+ e[71],
4326
4323
  ...c
4327
4324
  )
4328
4325
  );
4329
4326
  }
4330
4327
  return {
4331
4328
  c() {
4332
- t = T("input"), p(t, "id", `otp-input-${/*index*/
4333
- e[69]}`), p(t, "type", "text"), p(t, "class", n = `otp-box ${/*config*/
4329
+ t = O("input"), p(t, "id", `otp-input-${/*index*/
4330
+ e[71]}`), p(t, "type", "text"), p(t, "class", r = `otp-box ${/*config*/
4334
4331
  e[4].inputLength % 2 === 0 && /*index*/
4335
- e[69] === /*config*/
4336
- e[4].inputLength / 2 - 1 ? "space" : ""}`), p(t, "maxlength", 1), t.value = r = /*char*/
4337
- e[67], p(t, "inputmode", "numeric"), t.disabled = /*inputDisabled*/
4332
+ e[71] === /*config*/
4333
+ e[4].inputLength / 2 - 1 ? "space" : ""}`), p(t, "maxlength", 1), t.value = n = /*char*/
4334
+ e[69], p(t, "inputmode", "numeric"), t.disabled = /*inputDisabled*/
4338
4335
  e[11], p(t, "autocomplete", "off");
4339
4336
  },
4340
- m(c, d) {
4341
- C(c, t, d), s(), o || (l = [
4342
- he(t, "input", a),
4343
- he(t, "keydown", h),
4344
- he(
4337
+ m(c, m) {
4338
+ C(c, t, m), s(), o || (a = [
4339
+ ce(t, "input", l),
4340
+ ce(t, "keydown", h),
4341
+ ce(
4345
4342
  t,
4346
4343
  "paste",
4347
4344
  /*handleOnPasteOtp*/
4348
- e[22]
4345
+ e[24]
4349
4346
  )
4350
4347
  ], o = !0);
4351
4348
  },
4352
- p(c, d) {
4353
- e = c, d[0] & /*config*/
4354
- 16 && n !== (n = `otp-box ${/*config*/
4349
+ p(c, m) {
4350
+ e = c, m[0] & /*config*/
4351
+ 16 && r !== (r = `otp-box ${/*config*/
4355
4352
  e[4].inputLength % 2 === 0 && /*index*/
4356
- e[69] === /*config*/
4357
- e[4].inputLength / 2 - 1 ? "space" : ""}`) && p(t, "class", n), d[0] & /*otp*/
4358
- 4 && r !== (r = /*char*/
4359
- e[67]) && t.value !== r && (t.value = r), d[0] & /*inputDisabled*/
4353
+ e[71] === /*config*/
4354
+ e[4].inputLength / 2 - 1 ? "space" : ""}`) && p(t, "class", r), m[0] & /*otp*/
4355
+ 4 && n !== (n = /*char*/
4356
+ e[69]) && t.value !== n && (t.value = n), m[0] & /*inputDisabled*/
4360
4357
  2048 && (t.disabled = /*inputDisabled*/
4361
4358
  e[11]), i !== /*index*/
4362
- e[69] && (u(), i = /*index*/
4363
- e[69], s());
4359
+ e[71] && (u(), i = /*index*/
4360
+ e[71], s());
4364
4361
  },
4365
4362
  d(c) {
4366
- c && H(t), u(), o = !1, Ee(l);
4363
+ c && H(t), u(), o = !1, _e(a);
4367
4364
  }
4368
4365
  };
4369
4366
  }
4370
- function fo(e) {
4371
- let t, n = (
4367
+ function mo(e) {
4368
+ let t, r = (
4372
4369
  /*$_*/
4373
- e[17]("submit") + ""
4374
- ), r, i, o, l;
4370
+ e[19]("submit") + ""
4371
+ ), n, i, o, a;
4375
4372
  return {
4376
4373
  c() {
4377
- t = T("button"), r = I(n), p(t, "class", "OtpButton"), t.disabled = i = /*otp*/
4374
+ t = O("button"), n = k(r), p(t, "class", "OtpButton"), t.disabled = i = /*otp*/
4378
4375
  e[2].join("").length !== /*config*/
4379
4376
  e[4].inputLength || /*isSubmitting*/
4380
- e[13];
4377
+ e[13] || /*maxAttempts*/
4378
+ e[15];
4381
4379
  },
4382
4380
  m(s, u) {
4383
- C(s, t, u), g(t, r), o || (l = he(
4381
+ C(s, t, u), y(t, n), o || (a = ce(
4384
4382
  t,
4385
4383
  "click",
4386
4384
  /*submitOtp*/
4387
- e[27]
4385
+ e[29]
4388
4386
  ), o = !0);
4389
4387
  },
4390
4388
  p(s, u) {
4391
4389
  u[0] & /*$_*/
4392
- 131072 && n !== (n = /*$_*/
4393
- s[17]("submit") + "") && U(r, n), u[0] & /*otp, config, isSubmitting*/
4394
- 8212 && i !== (i = /*otp*/
4390
+ 524288 && r !== (r = /*$_*/
4391
+ s[19]("submit") + "") && F(n, r), u[0] & /*otp, config, isSubmitting, maxAttempts*/
4392
+ 40980 && i !== (i = /*otp*/
4395
4393
  s[2].join("").length !== /*config*/
4396
4394
  s[4].inputLength || /*isSubmitting*/
4397
- s[13]) && (t.disabled = i);
4395
+ s[13] || /*maxAttempts*/
4396
+ s[15]) && (t.disabled = i);
4398
4397
  },
4399
4398
  d(s) {
4400
- s && H(t), o = !1, l();
4399
+ s && H(t), o = !1, a();
4401
4400
  }
4402
4401
  };
4403
4402
  }
4404
- function po(e) {
4405
- let t, n = (
4403
+ function go(e) {
4404
+ let t, r = (
4406
4405
  /*$_*/
4407
- e[17]("resendOtp") + ""
4408
- ), r, i, o;
4406
+ e[19]("resendOtp") + ""
4407
+ ), n, i, o;
4409
4408
  return {
4410
4409
  c() {
4411
- t = T("button"), r = I(n), p(t, "class", "OtpButton");
4410
+ t = O("button"), n = k(r), p(t, "class", "OtpButton");
4412
4411
  },
4413
- m(l, s) {
4414
- C(l, t, s), g(t, r), i || (o = he(
4412
+ m(a, s) {
4413
+ C(a, t, s), y(t, n), i || (o = ce(
4415
4414
  t,
4416
4415
  "click",
4417
4416
  /*handleResendOtp*/
4418
- e[25]
4417
+ e[27]
4419
4418
  ), i = !0);
4420
4419
  },
4421
- p(l, s) {
4420
+ p(a, s) {
4422
4421
  s[0] & /*$_*/
4423
- 131072 && n !== (n = /*$_*/
4424
- l[17]("resendOtp") + "") && U(r, n);
4422
+ 524288 && r !== (r = /*$_*/
4423
+ a[19]("resendOtp") + "") && F(n, r);
4425
4424
  },
4426
- d(l) {
4427
- l && H(t), i = !1, o();
4425
+ d(a) {
4426
+ a && H(t), i = !1, o();
4428
4427
  }
4429
4428
  };
4430
4429
  }
4431
- function mo(e) {
4432
- let t, n, r, i, o, l, s;
4433
- function u(c, d) {
4430
+ function bo(e) {
4431
+ let t;
4432
+ function r(o, a) {
4434
4433
  return (
4435
4434
  /*hasConfigErrors*/
4436
- c[7] ? no : to
4435
+ o[7] ? io : no
4437
4436
  );
4438
4437
  }
4439
- let a = u(e), h = a(e);
4438
+ let n = r(e), i = n(e);
4440
4439
  return {
4441
4440
  c() {
4442
- t = T("div"), n = T("div"), r = ee("svg"), i = ee("path"), o = D(), h.c(), p(i, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), p(r, "xmlns", "http://www.w3.org/2000/svg"), p(r, "viewBox", "0 0 13 13"), p(r, "fill", "none"), p(r, "class", "CloseButton"), p(n, "class", "ModalCloseIcon"), p(t, "class", "OtpContent");
4441
+ t = O("div"), i.c(), p(t, "class", "OtpContent");
4443
4442
  },
4444
- m(c, d) {
4445
- C(c, t, d), g(t, n), g(n, r), g(r, i), g(t, o), h.m(t, null), e[42](t), l || (s = he(
4446
- r,
4447
- "click",
4448
- /*manualClosePopup*/
4449
- e[26]
4450
- ), l = !0);
4443
+ m(o, a) {
4444
+ C(o, t, a), i.m(t, null), e[44](t);
4451
4445
  },
4452
- p(c, d) {
4453
- a === (a = u(c)) && h ? h.p(c, d) : (h.d(1), h = a(c), h && (h.c(), h.m(t, null)));
4446
+ p(o, a) {
4447
+ n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4454
4448
  },
4455
- i: te,
4456
- o: te,
4457
- d(c) {
4458
- c && H(t), h.d(), e[42](null), l = !1, s();
4449
+ i: Y,
4450
+ o: Y,
4451
+ d(o) {
4452
+ o && H(t), i.d(), e[44](null);
4459
4453
  }
4460
4454
  };
4461
4455
  }
4462
- function go(e, t, n) {
4463
- let r, i, o;
4464
- Un(e, Yi, (f) => n(17, o = f));
4465
- let { clientstyling: l = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: u } = t, { lang: a = "en" } = t, { endpoint: h } = t, { session: c } = t, { translationurl: d } = t, { templateid: y } = t, b = [], m = !0, E = null, w = 0, B = "", L = "", k = !1, G = !1, N = "", K = "", fe = "", W = !1, re = !1, Re = !1, M = "", $ = {}, q = null, ne = !1, F = !1, ie = "", Y, oe = [], Q = null, pe = 0;
4466
- const ge = { SMS: "sms", EMAIL: "email" }, be = {
4456
+ function yo(e, t, r) {
4457
+ let n, i, o;
4458
+ Gr(e, eo, (f) => r(19, o = f));
4459
+ 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, E = null, S = 0, P = "", L = "", D = !1, M = !1, N = "", K = "", q = "", ae = !1, pe = !1, le = !1, B = "", U = {}, W = null, me = !1, de = !1, ge = "", Q, ee = [], $ = null, ue = 0, te = !1, be = !1;
4460
+ const ve = { SMS: "sms", EMAIL: "email" }, ye = {
4467
4461
  MAX_ATTEMPTS_EXCEEDED: "gm.twofa.token_max_attempts_exceeded",
4468
4462
  INTERNAL_SERVER_ERROR: "gm.multifactorauthentication.internal_server_error",
4469
4463
  MAX_INVALIDATE: "gm.multifactorauthentication.challenge_internal_server_error"
4470
4464
  };
4471
- Object.keys(Zt).forEach((f) => {
4472
- Wt(f, Zt[f]);
4465
+ Object.keys(Wt).forEach((f) => {
4466
+ Xt(f, Wt[f]);
4473
4467
  });
4474
- const _e = () => {
4475
- Ki(a);
4476
- }, ye = () => {
4477
- fetch(d).then((f) => f.json()).then((f) => {
4468
+ const xe = () => {
4469
+ to(l);
4470
+ }, J = () => {
4471
+ fetch(m).then((f) => f.json()).then((f) => {
4478
4472
  Object.keys(f).forEach((v) => {
4479
- Wt(v, f[v]);
4473
+ Xt(v, f[v]);
4480
4474
  });
4481
4475
  }).catch((f) => {
4482
4476
  console.log(f);
4483
4477
  });
4484
- }, ce = async (f) => {
4478
+ }, j = async (f) => {
4485
4479
  if (f.detail?.["x-step-up-required"]) {
4486
- if (n(7, G = !1), n(6, k = !1), n(8, N = ""), K = f.detail["x-step-up-token"], fe = f.detail.flow, !K || !fe) {
4487
- n(3, m = !1), n(7, G = !0), n(8, N = o("configError"));
4480
+ if (r(7, M = !1), r(6, D = !1), r(8, N = ""), K = f.detail["x-step-up-token"], q = f.detail.flow, !K || !q) {
4481
+ r(3, g = !1), r(7, M = !0), r(8, N = o("configError"));
4488
4482
  return;
4489
4483
  }
4490
- n(12, ne = !1), n(3, m = !1);
4484
+ r(12, me = !1), r(3, g = !1);
4491
4485
  }
4492
- }, ke = () => {
4493
- Q && (clearInterval(Q), Q = null), q && (clearInterval(q), q = null), n(6, k = !1), n(7, G = !1), n(8, N = ""), n(10, re = !1), n(2, b = []), n(4, E = null), n(3, m = !0), n(0, M = ""), n(12, ne = !1), n(36, $ = {});
4494
- }, De = () => {
4495
- ke();
4496
- }, Ue = () => new Promise((f, v) => {
4486
+ }, Fe = () => {
4487
+ $ && (clearInterval($), $ = null), W && (clearInterval(W), W = null), r(6, D = !1), r(7, M = !1), r(8, N = ""), r(10, pe = !1), r(2, d = []), r(4, E = null), r(3, g = !0), r(0, B = ""), r(12, me = !1), r(38, U = {});
4488
+ }, he = () => {
4489
+ Fe();
4490
+ }, V = () => new Promise((f, v) => {
4497
4491
  const x = new URL(`${h}/api/pam/v1/mfa/challenge/${K}`), X = new Headers();
4498
- X.append("accept", "application/json"), X.append("Content-Type", "application/json"), X.append("X-SessionId", `${c}`);
4499
- const st = {
4492
+ X.append("accept", "application/json"), X.append("Content-Type", "application/json"), X.append("X-SessionId", `${c}`), r(16, be = !0);
4493
+ const it = {
4500
4494
  method: "PATCH",
4501
4495
  headers: X,
4502
4496
  body: JSON.stringify({
4503
- channel: M,
4504
- templateId: y
4497
+ channel: B,
4498
+ templateId: _
4505
4499
  })
4506
4500
  };
4507
- fetch(x, st).then((Bt) => Bt.json()).then(() => {
4508
- we(), se(), f();
4509
- }).catch((Bt) => {
4501
+ fetch(x, it).then((Ct) => Ct.json()).then(() => {
4502
+ r(15, te = !1), b(), A(), f();
4503
+ }).catch((Ct) => {
4510
4504
  v();
4511
4505
  });
4512
- }), xe = () => {
4513
- q && clearInterval(q), q = setInterval(
4506
+ }), je = () => {
4507
+ W && clearInterval(W), W = setInterval(
4514
4508
  () => {
4515
- const f = { ...$ };
4509
+ const f = { ...U };
4516
4510
  let v = !1;
4517
4511
  Object.keys(f).forEach((x) => {
4518
4512
  f[x] > 0 && (f[x]--, v = !0);
4519
- }), n(36, $ = f), !v && q && (clearInterval(q), q = null);
4513
+ }), r(38, U = f), !v && W && (clearInterval(W), W = null);
4520
4514
  },
4521
4515
  1e3
4522
4516
  );
4523
- }, J = (f) => {
4524
- n(0, M = f);
4525
- }, V = async () => {
4526
- if (!(!M || $[M] && $[M] > 0)) {
4527
- n(3, m = !0), y && y.startsWith("2fa-") && n(28, y = `2fa-${M}`);
4517
+ }, re = (f) => {
4518
+ r(0, B = f);
4519
+ }, z = async () => {
4520
+ if (!(!B || U[B] && U[B] > 0)) {
4521
+ r(3, g = !0), _ && _.startsWith("2fa-") && r(30, _ = `2fa-${B}`);
4528
4522
  try {
4529
- await Ue(), await At(), n(36, $ = {
4530
- ...$,
4531
- [M]: 30
4532
- }), xe(), n(12, ne = !0), we(), se();
4523
+ await V(), await nt(), r(38, U = {
4524
+ ...U,
4525
+ [B]: 30
4526
+ }), je(), r(12, me = !0), b(), A();
4533
4527
  } catch (f) {
4534
- console.error("Error submitting channel:", f), n(6, k = !0), n(8, N = o("submissionError"));
4528
+ console.error("Error submitting channel:", f), r(6, D = !0), r(8, N = o("submissionError"));
4535
4529
  } finally {
4536
- n(3, m = !1);
4530
+ r(3, g = !1);
4537
4531
  }
4538
4532
  }
4539
- }, we = () => {
4540
- const f = new Date(B), v = new Date(L), x = /* @__PURE__ */ new Date(), X = v.getTime() - x.getTime();
4541
- pe = f.getTime() - X;
4542
- const Ge = Date.now(), st = Math.max(0, Math.floor((pe - Ge) / 1e3));
4543
- n(5, w = st);
4544
- }, se = () => {
4545
- Q && clearInterval(Q), Q = setInterval(
4533
+ }, b = () => {
4534
+ const f = new Date(P), v = new Date(L), x = /* @__PURE__ */ new Date(), X = v.getTime() - x.getTime();
4535
+ ue = f.getTime() - X;
4536
+ const Le = Date.now(), it = Math.max(0, Math.floor((ue - Le) / 1e3));
4537
+ r(5, S = it);
4538
+ }, A = () => {
4539
+ $ && clearInterval($), $ = setInterval(
4546
4540
  () => {
4547
- const f = Date.now(), v = Math.max(0, Math.floor((pe - f) / 1e3));
4548
- n(5, w = v), n(11, Re = v <= 0), v <= 0 && (clearInterval(Q), Q = null, n(9, W = !0), n(6, k = !1), n(10, re = !1));
4541
+ const f = Date.now(), v = Math.max(0, Math.floor((ue - f) / 1e3));
4542
+ r(5, S = v), r(11, le = v <= 0), v <= 0 && (clearInterval($), $ = null, r(9, ae = !0), r(6, D = !1), r(10, pe = !1));
4549
4543
  },
4550
4544
  1e3
4551
4545
  );
4552
- }, z = (f) => {
4546
+ }, Or = (f) => {
4553
4547
  const v = Math.floor(f / 60), x = f % 60;
4554
4548
  return `${v.toString().padStart(2, "0")}:${x.toString().padStart(2, "0")}`;
4555
- }, Se = (f, v) => {
4556
- const x = [...b];
4557
- x[f] = v.toUpperCase(), n(2, b = x), x.join("") !== ie && n(13, F = !1);
4558
- }, de = (f) => {
4549
+ }, rt = (f, v) => {
4550
+ const x = [...d];
4551
+ x[f] = v.toUpperCase(), r(2, d = x), x.join("") !== ge && r(13, de = !1);
4552
+ }, Hr = (f) => {
4559
4553
  f.preventDefault();
4560
4554
  const x = (f.clipboardData?.getData("text")?.trim() || "").slice(0, E.inputLength).split("");
4561
- n(2, b = [...x, ...Array(E.inputLength - x.length).fill("")]), oe[x.length]?.focus(), x.length === E.inputLength && Ct();
4562
- }, j = (f, v) => {
4555
+ r(2, d = [...x, ...Array(E.inputLength - x.length).fill("")]), ee[x.length]?.focus(), x.length === E.inputLength && At();
4556
+ }, Ot = (f, v) => {
4563
4557
  const x = f.target, X = x.value;
4564
- /^[a-z0-9]$/i.test(X) && (Se(v, X), oe[v + 1]?.focus()), x.value = "";
4565
- }, _ = (f, v) => {
4558
+ /^[a-z0-9]$/i.test(X) && (rt(v, X), ee[v + 1]?.focus()), x.value = "";
4559
+ }, Ht = (f, v) => {
4566
4560
  const x = f.key, X = f.ctrlKey || f.metaKey;
4567
4561
  if (/^[a-z0-9]$/i.test(x)) {
4568
4562
  if (X && x.toLowerCase() === "v")
4569
4563
  return;
4570
- f.preventDefault(), Se(v, x), oe[v + 1]?.focus();
4564
+ f.preventDefault(), rt(v, x), ee[v + 1]?.focus();
4571
4565
  } else
4572
- x === "Backspace" && (f.preventDefault(), b[v] !== "" && Se(v, ""), oe[v - 1]?.focus());
4573
- }, A = () => {
4574
- fe == "stateful" && (Ue(), n(9, W = !1));
4566
+ x === "Backspace" && (f.preventDefault(), d[v] !== "" && rt(v, ""), ee[v - 1]?.focus());
4567
+ }, Ar = () => {
4568
+ q == "stateful" && (V(), r(9, ae = !1));
4575
4569
  const f = new CustomEvent("otpResendRequested");
4576
4570
  window.dispatchEvent(f);
4577
- }, Cn = (f) => {
4571
+ }, Cr = (f) => {
4578
4572
  window.dispatchEvent(new CustomEvent(
4579
4573
  "otpSubmitted",
4580
4574
  {
@@ -4585,19 +4579,19 @@ function go(e, t, n) {
4585
4579
  }
4586
4580
  }
4587
4581
  ));
4588
- }, An = async (f) => {
4582
+ }, Br = async (f) => {
4589
4583
  const v = new URL(`/api/nwa/api/v1/mfa/challenge/${K}/validate`, h);
4590
4584
  v.searchParams.append("input", f);
4591
4585
  try {
4592
4586
  const x = await fetch(v.href, { method: "POST" });
4593
4587
  if (x.status === 200) {
4594
- Bn();
4588
+ Pr();
4595
4589
  return;
4596
4590
  }
4597
4591
  const X = await x.json();
4598
4592
  throw new Error(X.message);
4599
4593
  } catch (x) {
4600
- if (x.message === be.INTERNAL_SERVER_ERROR) {
4594
+ if (await nt(), x.message === ye.INTERNAL_SERVER_ERROR) {
4601
4595
  if (E.numberOfValidateAttempts === E.maxValidationAttempts - 1) {
4602
4596
  window.dispatchEvent(new CustomEvent("otpSetTimeout")), window.postMessage(
4603
4597
  {
@@ -4611,14 +4605,14 @@ function go(e, t, n) {
4611
4605
  ), window.dispatchEvent(new CustomEvent("manualClosePopup"));
4612
4606
  return;
4613
4607
  }
4614
- n(6, k = !0), n(8, N = o("invalidOtp")), At();
4608
+ r(6, D = !0), r(8, N = o("invalidOtp")), nt();
4615
4609
  return;
4616
4610
  }
4617
- x.message === be.MAX_INVALIDATE && (n(6, k = !0), n(8, N = o("invalidOtp"))), console.error("OTP submission failed:", x), n(6, k = !0), n(8, N = o("submissionError"));
4611
+ x.message === ye.MAX_INVALIDATE && (r(6, D = !0), r(8, N = o("invalidOtp"))), x.details === ye.MAX_ATTEMPTS_EXCEEDED && r(15, te = !0), console.error("OTP submission failed:", x), r(6, D = !0), r(8, N = o("submissionError"));
4618
4612
  } finally {
4619
- n(3, m = !1);
4613
+ r(3, g = !1);
4620
4614
  }
4621
- }, Bn = () => {
4615
+ }, Pr = () => {
4622
4616
  window.dispatchEvent(new CustomEvent(
4623
4617
  "otpSuccess",
4624
4618
  {
@@ -4627,179 +4621,183 @@ function go(e, t, n) {
4627
4621
  }
4628
4622
  }
4629
4623
  ));
4630
- }, Ln = () => {
4624
+ }, Mr = () => {
4631
4625
  window.dispatchEvent(new CustomEvent("manualClosePopup"));
4632
- }, Ct = async () => {
4633
- if (b.join("").length !== E.inputLength) {
4634
- n(6, k = !0), n(8, N = o("invalidOtp"));
4626
+ }, At = async () => {
4627
+ if (d.join("").length !== E.inputLength) {
4628
+ r(6, D = !0), r(8, N = o("invalidOtp"));
4635
4629
  return;
4636
4630
  }
4637
- const f = b.join("");
4638
- n(13, F = !0), ie = f, n(3, m = !0), n(6, k = !1), n(8, N = ""), fe === "stateless" && Cn(f), fe === "stateful" && await An(f);
4639
- }, At = async () => {
4631
+ const f = d.join("");
4632
+ r(13, de = !0), ge = f, r(3, g = !0), r(6, D = !1), r(8, N = ""), q === "stateless" && Cr(f), q === "stateful" && await Br(f);
4633
+ }, nt = async () => {
4640
4634
  if (h)
4641
4635
  try {
4642
- n(3, m = !0);
4636
+ r(3, g = !0);
4643
4637
  const f = new URL(`/api/nwa/api/v1/mfa/challenge/${K}/config`, h), v = await fetch(f.href), x = await v.json();
4644
4638
  if (v.ok)
4645
- n(4, E = x), n(2, b = Array(E.inputLength).fill("")), n(9, W = !1), B = E.expirationTime, L = E.serverTime, E.numberOfValidateAttempts !== 0 && (n(6, k = !0), n(8, N = o("invalidOtp"))), E.numberOfValidateAttempts === E.maxValidationAttempts - 1 && n(10, re = !0), n(3, m = !1), we(), se();
4646
- else if (x && x.details === be.MAX_ATTEMPTS_EXCEEDED)
4639
+ r(4, E = x), r(2, d = Array(E.inputLength).fill("")), r(9, ae = !1), P = E.expirationTime, L = E.serverTime, E.numberOfValidateAttempts !== 0 && (r(6, D = !0), r(8, N = o("invalidOtp"))), E.numberOfValidateAttempts === E.maxValidationAttempts - 1 && r(10, pe = !0), r(3, g = !1), b(), A(), r(16, be = !1);
4640
+ else if (x && x.details === ye.MAX_ATTEMPTS_EXCEEDED)
4647
4641
  window.dispatchEvent(new CustomEvent("manualClosePopup"));
4648
4642
  else {
4649
4643
  const X = x && x.message || `Failed to load config. Status: ${v.status}`;
4650
4644
  throw new Error(X);
4651
4645
  }
4652
4646
  } catch (f) {
4653
- n(3, m = !1), n(7, G = !0), n(8, N = o("configError")), window.dispatchEvent(new CustomEvent("2fa-loading", { detail: { isLoading: !1 } })), console.error("Error loading 2FA config:", f);
4647
+ 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);
4654
4648
  }
4655
4649
  };
4656
- Zn(() => (window.addEventListener("stepUpAuthRequired", ce, !1), window.addEventListener("closePopup", De, !1), () => {
4657
- window.removeEventListener("stepUpAuthRequired", ce), window.removeEventListener("closePopup", De, !1), Q && clearInterval(Q), q && clearInterval(q);
4650
+ qr(() => (window.addEventListener("stepUpAuthRequired", j, !1), window.addEventListener("closePopup", he, !1), () => {
4651
+ window.removeEventListener("stepUpAuthRequired", j), window.removeEventListener("closePopup", he, !1), $ && clearInterval($), W && clearInterval(W);
4658
4652
  }));
4659
- const Pn = () => J(ge.SMS), Mn = () => J(ge.EMAIL);
4660
- function In(f, v) {
4661
- Je[f ? "unshift" : "push"](() => {
4662
- oe[v] = f, n(14, oe);
4653
+ const Ir = () => re(ve.SMS), Lr = () => re(ve.EMAIL);
4654
+ function Nr(f, v) {
4655
+ We[f ? "unshift" : "push"](() => {
4656
+ ee[v] = f, r(14, ee);
4663
4657
  });
4664
4658
  }
4665
- const Nn = (f, v) => j(v, f), Rn = (f, v) => _(v, f);
4666
- function kn(f) {
4667
- Je[f ? "unshift" : "push"](() => {
4668
- Y = f, n(1, Y);
4659
+ const Rr = (f, v) => Ot(v, f), kr = (f, v) => Ht(v, f);
4660
+ function Dr(f) {
4661
+ We[f ? "unshift" : "push"](() => {
4662
+ Q = f, r(1, Q);
4669
4663
  });
4670
4664
  }
4671
4665
  return e.$$set = (f) => {
4672
- "clientstyling" in f && n(29, l = f.clientstyling), "clientstylingurl" in f && n(30, s = f.clientstylingurl), "mbsource" in f && n(31, u = f.mbsource), "lang" in f && n(32, a = f.lang), "endpoint" in f && n(33, h = f.endpoint), "session" in f && n(34, c = f.session), "translationurl" in f && n(35, d = f.translationurl), "templateid" in f && n(28, y = f.templateid);
4666
+ "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);
4673
4667
  }, e.$$.update = () => {
4674
- e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4675
- 536870914 && l && Y && lr(Y, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4676
- 1073741826 && s && Y && ur(Y, s), e.$$.dirty[0] & /*customStylingContainer*/
4668
+ e.$$.dirty[0] & /*customStylingContainer*/
4669
+ 2 | e.$$.dirty[1] & /*clientstyling*/
4670
+ 1 && a && Q && hn(Q, a), e.$$.dirty[0] & /*customStylingContainer*/
4671
+ 2 | e.$$.dirty[1] & /*clientstylingurl*/
4672
+ 2 && s && Q && cn(Q, s), e.$$.dirty[0] & /*customStylingContainer*/
4677
4673
  2 | e.$$.dirty[1] & /*mbsource*/
4678
- 1 && u && Y && hr(Y, `${u}.Style`), e.$$.dirty[1] & /*lang*/
4679
- 2 && a && _e(), e.$$.dirty[1] & /*lang, translationurl*/
4680
- 18 && a && d && ye(), e.$$.dirty[0] & /*selectedChannel*/
4674
+ 4 && u && Q && fn(Q, `${u}.Style`), e.$$.dirty[1] & /*lang*/
4675
+ 8 && l && xe(), e.$$.dirty[1] & /*lang, translationurl*/
4676
+ 72 && l && m && J(), e.$$.dirty[0] & /*selectedChannel*/
4681
4677
  1 | e.$$.dirty[1] & /*channelSubmitTimers*/
4682
- 32 && n(16, r = M && (!$[M] || $[M] === 0)), e.$$.dirty[0] & /*selectedChannel*/
4678
+ 128 && r(18, n = B && (!U[B] || U[B] === 0)), e.$$.dirty[0] & /*selectedChannel*/
4683
4679
  1 | e.$$.dirty[1] & /*channelSubmitTimers*/
4684
- 32 && n(15, i = M && $[M] || 0);
4680
+ 128 && r(17, i = B && U[B] || 0);
4685
4681
  }, [
4686
- M,
4687
- Y,
4688
- b,
4689
- m,
4682
+ B,
4683
+ Q,
4684
+ d,
4685
+ g,
4690
4686
  E,
4691
- w,
4692
- k,
4693
- G,
4687
+ S,
4688
+ D,
4689
+ M,
4694
4690
  N,
4695
- W,
4696
- re,
4697
- Re,
4698
- ne,
4699
- F,
4700
- oe,
4691
+ ae,
4692
+ pe,
4693
+ le,
4694
+ me,
4695
+ de,
4696
+ ee,
4697
+ te,
4698
+ be,
4701
4699
  i,
4702
- r,
4700
+ n,
4703
4701
  o,
4704
- ge,
4705
- J,
4706
- V,
4702
+ ve,
4703
+ re,
4707
4704
  z,
4708
- de,
4709
- j,
4705
+ Or,
4706
+ Hr,
4707
+ Ot,
4708
+ Ht,
4709
+ Ar,
4710
+ Mr,
4711
+ At,
4710
4712
  _,
4711
- A,
4712
- Ln,
4713
- Ct,
4714
- y,
4715
- l,
4713
+ a,
4716
4714
  s,
4717
4715
  u,
4718
- a,
4716
+ l,
4719
4717
  h,
4720
4718
  c,
4721
- d,
4722
- $,
4723
- Pn,
4724
- Mn,
4725
- In,
4726
- Nn,
4727
- Rn,
4728
- kn
4719
+ m,
4720
+ U,
4721
+ Ir,
4722
+ Lr,
4723
+ Nr,
4724
+ Rr,
4725
+ kr,
4726
+ Dr
4729
4727
  ];
4730
4728
  }
4731
- class bo extends sr {
4729
+ class _o extends ln {
4732
4730
  constructor(t) {
4733
- super(), ir(
4731
+ super(), sn(
4734
4732
  this,
4735
4733
  t,
4736
- go,
4737
- mo,
4738
- en,
4734
+ yo,
4735
+ bo,
4736
+ Kt,
4739
4737
  {
4740
- clientstyling: 29,
4741
- clientstylingurl: 30,
4742
- mbsource: 31,
4743
- lang: 32,
4744
- endpoint: 33,
4745
- session: 34,
4746
- translationurl: 35,
4747
- templateid: 28
4738
+ clientstyling: 31,
4739
+ clientstylingurl: 32,
4740
+ mbsource: 33,
4741
+ lang: 34,
4742
+ endpoint: 35,
4743
+ session: 36,
4744
+ translationurl: 37,
4745
+ templateid: 30
4748
4746
  },
4749
- eo,
4747
+ ro,
4750
4748
  [-1, -1, -1]
4751
4749
  );
4752
4750
  }
4753
4751
  get clientstyling() {
4754
- return this.$$.ctx[29];
4752
+ return this.$$.ctx[31];
4755
4753
  }
4756
4754
  set clientstyling(t) {
4757
- this.$$set({ clientstyling: t }), le();
4755
+ this.$$set({ clientstyling: t }), oe();
4758
4756
  }
4759
4757
  get clientstylingurl() {
4760
- return this.$$.ctx[30];
4758
+ return this.$$.ctx[32];
4761
4759
  }
4762
4760
  set clientstylingurl(t) {
4763
- this.$$set({ clientstylingurl: t }), le();
4761
+ this.$$set({ clientstylingurl: t }), oe();
4764
4762
  }
4765
4763
  get mbsource() {
4766
- return this.$$.ctx[31];
4764
+ return this.$$.ctx[33];
4767
4765
  }
4768
4766
  set mbsource(t) {
4769
- this.$$set({ mbsource: t }), le();
4767
+ this.$$set({ mbsource: t }), oe();
4770
4768
  }
4771
4769
  get lang() {
4772
- return this.$$.ctx[32];
4770
+ return this.$$.ctx[34];
4773
4771
  }
4774
4772
  set lang(t) {
4775
- this.$$set({ lang: t }), le();
4773
+ this.$$set({ lang: t }), oe();
4776
4774
  }
4777
4775
  get endpoint() {
4778
- return this.$$.ctx[33];
4776
+ return this.$$.ctx[35];
4779
4777
  }
4780
4778
  set endpoint(t) {
4781
- this.$$set({ endpoint: t }), le();
4779
+ this.$$set({ endpoint: t }), oe();
4782
4780
  }
4783
4781
  get session() {
4784
- return this.$$.ctx[34];
4782
+ return this.$$.ctx[36];
4785
4783
  }
4786
4784
  set session(t) {
4787
- this.$$set({ session: t }), le();
4785
+ this.$$set({ session: t }), oe();
4788
4786
  }
4789
4787
  get translationurl() {
4790
- return this.$$.ctx[35];
4788
+ return this.$$.ctx[37];
4791
4789
  }
4792
4790
  set translationurl(t) {
4793
- this.$$set({ translationurl: t }), le();
4791
+ this.$$set({ translationurl: t }), oe();
4794
4792
  }
4795
4793
  get templateid() {
4796
- return this.$$.ctx[28];
4794
+ return this.$$.ctx[30];
4797
4795
  }
4798
4796
  set templateid(t) {
4799
- this.$$set({ templateid: t }), le();
4797
+ this.$$set({ templateid: t }), oe();
4800
4798
  }
4801
4799
  }
4802
- or(bo, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, endpoint: {}, session: {}, translationurl: {}, templateid: {} }, [], [], !0);
4800
+ an(_o, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, endpoint: {}, session: {}, translationurl: {}, templateid: {} }, [], [], !0);
4803
4801
  export {
4804
- bo as C
4802
+ _o as C
4805
4803
  };