@alma/widgets 4.0.12 → 4.1.0

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.
package/dist/widgets.js CHANGED
@@ -91,7 +91,7 @@ const io = 800, gr = (e) => (e == null ? void 0 : e.installments_count) === 1 &&
91
91
  c.prototype.toString = c.prototype.toLocaleString = function() {
92
92
  return this.value;
93
93
  }, c.prototype.add = function() {
94
- e: for (var g = 0, v = arguments.length, b = "", _ = this[" uCL"], x = _[" uCLp"]; g !== v; ++g) {
94
+ e: for (var g = 0, _ = arguments.length, b = "", v = this[" uCL"], x = v[" uCLp"]; g !== _; ++g) {
95
95
  b = `${arguments[g]}`, a("add", b);
96
96
  for (var E = 0, N = x.length, y = b; E !== N; ++E) {
97
97
  if (this[E] === b) continue e;
@@ -99,47 +99,47 @@ const io = 800, gr = (e) => (e == null ? void 0 : e.installments_count) === 1 &&
99
99
  }
100
100
  this[N] = b, x.length += 1, x.value = y;
101
101
  }
102
- m = 1, _.className = x.value, m = 0;
102
+ m = 1, v.className = x.value, m = 0;
103
103
  }, c.prototype.remove = function() {
104
- for (var g = 0, v = arguments.length, b = "", _ = this[" uCL"], x = _[" uCLp"]; g !== v; ++g) {
104
+ for (var g = 0, _ = arguments.length, b = "", v = this[" uCL"], x = v[" uCLp"]; g !== _; ++g) {
105
105
  b = `${arguments[g]}`, a("remove", b);
106
- for (var E = 0, N = x.length, y = "", w = 0; E !== N; ++E)
107
- w ? this[E - 1] = this[E] : this[E] !== b ? y += `${this[E]} ` : w = 1;
108
- w && (delete this[N], x.length -= 1, x.value = y);
106
+ for (var E = 0, N = x.length, y = "", M = 0; E !== N; ++E)
107
+ M ? this[E - 1] = this[E] : this[E] !== b ? y += `${this[E]} ` : M = 1;
108
+ M && (delete this[N], x.length -= 1, x.value = y);
109
109
  }
110
- m = 1, _.className = x.value, m = 0;
110
+ m = 1, v.className = x.value, m = 0;
111
111
  }, r.DOMTokenList = c;
112
112
  function d() {
113
- const g = r.event, v = g.propertyName;
114
- if (!m && (v === "className" || v === "classList" && !l)) {
115
- const E = g.srcElement, N = E[" uCLp"], y = `${E[v]}`, w = y.trim().split(t), z = E[v === "classList" ? " uCL" : "classList"], ge = N.length;
116
- e: for (var b = 0, _ = N.length = w.length, x = 0; b !== _; ++b) {
113
+ const g = r.event, _ = g.propertyName;
114
+ if (!m && (_ === "className" || _ === "classList" && !l)) {
115
+ const E = g.srcElement, N = E[" uCLp"], y = `${E[_]}`, M = y.trim().split(t), z = E[_ === "classList" ? " uCL" : "classList"], ge = N.length;
116
+ e: for (var b = 0, v = N.length = M.length, x = 0; b !== v; ++b) {
117
117
  for (let F = 0; F !== b; ++F)
118
- if (w[F] === w[b]) {
118
+ if (M[F] === M[b]) {
119
119
  x++;
120
120
  continue e;
121
121
  }
122
- z[b - x] = w[b];
122
+ z[b - x] = M[b];
123
123
  }
124
- for (let F = _ - x; F < ge; ++F) delete z[F];
125
- if (v !== "classList") return;
126
- m = 1, E.classList = z, E.className = y, m = 0, z.length = w.length - x;
124
+ for (let F = v - x; F < ge; ++F) delete z[F];
125
+ if (_ !== "classList") return;
126
+ m = 1, E.classList = z, E.className = y, m = 0, z.length = M.length - x;
127
127
  }
128
128
  }
129
129
  function p(g) {
130
130
  if (!g || !("innerHTML" in g)) throw TypeError("Illegal invocation");
131
131
  g.detachEvent("onpropertychange", d), u = 1;
132
132
  try {
133
- var v = function() {
133
+ var _ = function() {
134
134
  };
135
- v.prototype = new c();
135
+ _.prototype = new c();
136
136
  } finally {
137
137
  u = 0;
138
138
  }
139
- const b = v.prototype, _ = new v();
139
+ const b = _.prototype, v = new _();
140
140
  e: for (var x = g.className.trim().split(t), E = 0, N = x.length, y = 0; E !== N; ++E) {
141
- for (let w = 0; w !== E; ++w)
142
- if (x[w] === x[E]) {
141
+ for (let M = 0; M !== E; ++M)
142
+ if (x[M] === x[E]) {
143
143
  y++;
144
144
  continue e;
145
145
  }
@@ -149,34 +149,34 @@ const io = 800, gr = (e) => (e == null ? void 0 : e.installments_count) === 1 &&
149
149
  // IE8 & IE9 allow defineProperty on the DOM
150
150
  enumerable: 1,
151
151
  get() {
152
- return _;
152
+ return v;
153
153
  },
154
154
  configurable: 0,
155
- set(w) {
156
- m = 1, g.className = b.value = w += "", m = 0;
157
- const z = w.trim().split(t), ge = b.length;
155
+ set(M) {
156
+ m = 1, g.className = b.value = M += "", m = 0;
157
+ const z = M.trim().split(t), ge = b.length;
158
158
  e: for (var F = 0, ee = b.length = z.length, Y = 0; F !== ee; ++F) {
159
159
  for (let U = 0; U !== F; ++U)
160
160
  if (z[U] === z[F]) {
161
161
  Y++;
162
162
  continue e;
163
163
  }
164
- _[F - Y] = z[F];
164
+ v[F - Y] = z[F];
165
165
  }
166
- for (let U = ee - Y; U < ge; ++U) delete _[U];
166
+ for (let U = ee - Y; U < ge; ++U) delete v[U];
167
167
  }
168
168
  }), l(g, " uCLp", {
169
169
  // for accessing the hidden prototype
170
170
  enumerable: 0,
171
171
  configurable: 0,
172
172
  writeable: 0,
173
- value: v.prototype
173
+ value: _.prototype
174
174
  }), l(b, " uCL", {
175
175
  enumerable: 0,
176
176
  configurable: 0,
177
177
  writeable: 0,
178
178
  value: g
179
- })) : (g.classList = _, g[" uCL"] = _, g[" uCLp"] = v.prototype), g.attachEvent("onpropertychange", d);
179
+ })) : (g.classList = v, g[" uCL"] = v, g[" uCLp"] = _.prototype), g.attachEvent("onpropertychange", d);
180
180
  }
181
181
  try {
182
182
  r.Object.defineProperty(r.Element.prototype, "classList", {
@@ -244,7 +244,7 @@ const io = 800, gr = (e) => (e == null ? void 0 : e.installments_count) === 1 &&
244
244
  });
245
245
  }(e.DOMTokenList.prototype, e.document.createElement("div").classList);
246
246
  })(window);
247
- var xt, M, yr, ze, ca, _r, vr, br, Pn, mn, fn, Er, ht = {}, xr = [], oo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Ct = Array.isArray;
247
+ var xt, w, yr, ze, ca, vr, _r, br, Pn, mn, fn, Er, ht = {}, xr = [], oo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Ct = Array.isArray;
248
248
  function Ie(e, t) {
249
249
  for (var n in t) e[n] = t[n];
250
250
  return e;
@@ -260,7 +260,7 @@ function de(e, t, n) {
260
260
  }
261
261
  function ct(e, t, n, a, r) {
262
262
  var i = { type: e, props: t, key: n, ref: a, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: r == null ? ++yr : r, __i: -1, __u: 0 };
263
- return r == null && M.vnode != null && M.vnode(i), i;
263
+ return r == null && w.vnode != null && w.vnode(i), i;
264
264
  }
265
265
  function Cr() {
266
266
  return { current: null };
@@ -287,21 +287,21 @@ function Sr(e) {
287
287
  }
288
288
  }
289
289
  function dn(e) {
290
- (!e.__d && (e.__d = !0) && ze.push(e) && !Wt.__r++ || ca != M.debounceRendering) && ((ca = M.debounceRendering) || _r)(Wt);
290
+ (!e.__d && (e.__d = !0) && ze.push(e) && !Wt.__r++ || ca != w.debounceRendering) && ((ca = w.debounceRendering) || vr)(Wt);
291
291
  }
292
292
  function Wt() {
293
- for (var e, t, n, a, r, i, o, s = 1; ze.length; ) ze.length > s && ze.sort(vr), e = ze.shift(), s = ze.length, e.__d && (n = void 0, r = (a = (t = e).__v).__e, i = [], o = [], t.__P && ((n = Ie({}, a)).__v = a.__v + 1, M.vnode && M.vnode(n), Ln(t.__P, n, a, t.__n, t.__P.namespaceURI, 32 & a.__u ? [r] : null, i, r == null ? et(a) : r, !!(32 & a.__u), o), n.__v = a.__v, n.__.__k[n.__i] = n, Ir(i, n, o), n.__e != r && Sr(n)));
293
+ for (var e, t, n, a, r, i, o, s = 1; ze.length; ) ze.length > s && ze.sort(_r), e = ze.shift(), s = ze.length, e.__d && (n = void 0, r = (a = (t = e).__v).__e, i = [], o = [], t.__P && ((n = Ie({}, a)).__v = a.__v + 1, w.vnode && w.vnode(n), Ln(t.__P, n, a, t.__n, t.__P.namespaceURI, 32 & a.__u ? [r] : null, i, r == null ? et(a) : r, !!(32 & a.__u), o), n.__v = a.__v, n.__.__k[n.__i] = n, Ir(i, n, o), n.__e != r && Sr(n)));
294
294
  Wt.__r = 0;
295
295
  }
296
296
  function Ar(e, t, n, a, r, i, o, s, l, u, m) {
297
- var c, d, p, g, v, b, _ = a && a.__k || xr, x = t.length;
298
- for (l = so(n, t, _, l, x), c = 0; c < x; c++) (p = n.__k[c]) != null && (d = p.__i == -1 ? ht : _[p.__i] || ht, p.__i = c, b = Ln(e, p, d, r, i, o, s, l, u, m), g = p.__e, p.ref && d.ref != p.ref && (d.ref && Hn(d.ref, null, p), m.push(p.ref, p.__c || g, p)), v == null && g != null && (v = g), 4 & p.__u || d.__k === p.__k ? l = Tr(p, l, e) : typeof p.type == "function" && b !== void 0 ? l = b : g && (l = g.nextSibling), p.__u &= -7);
299
- return n.__e = v, l;
297
+ var c, d, p, g, _, b, v = a && a.__k || xr, x = t.length;
298
+ for (l = so(n, t, v, l, x), c = 0; c < x; c++) (p = n.__k[c]) != null && (d = p.__i == -1 ? ht : v[p.__i] || ht, p.__i = c, b = Ln(e, p, d, r, i, o, s, l, u, m), g = p.__e, p.ref && d.ref != p.ref && (d.ref && Hn(d.ref, null, p), m.push(p.ref, p.__c || g, p)), _ == null && g != null && (_ = g), 4 & p.__u || d.__k === p.__k ? l = Tr(p, l, e) : typeof p.type == "function" && b !== void 0 ? l = b : g && (l = g.nextSibling), p.__u &= -7);
299
+ return n.__e = _, l;
300
300
  }
301
301
  function so(e, t, n, a, r) {
302
302
  var i, o, s, l, u, m = n.length, c = m, d = 0;
303
303
  for (e.__k = new Array(r), i = 0; i < r; i++) (o = t[i]) != null && typeof o != "boolean" && typeof o != "function" ? (l = i + d, (o = e.__k[i] = typeof o == "string" || typeof o == "number" || typeof o == "bigint" || o.constructor == String ? ct(null, o, null, null, null) : Ct(o) ? ct(pe, { children: o }, null, null, null) : o.constructor == null && o.__b > 0 ? ct(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : o).__ = e, o.__b = e.__b + 1, s = null, (u = o.__i = lo(o, n, l, c)) != -1 && (c--, (s = n[u]) && (s.__u |= 2)), s == null || s.__v == null ? (u == -1 && (r > m ? d-- : r < m && d++), typeof o.type != "function" && (o.__u |= 4)) : u != l && (u == l - 1 ? d-- : u == l + 1 ? d++ : (u > l ? d-- : d++, o.__u |= 4))) : e.__k[i] = null;
304
- if (c) for (i = 0; i < m; i++) (s = n[i]) != null && !(2 & s.__u) && (s.__e == a && (a = et(s)), Mr(s, s));
304
+ if (c) for (i = 0; i < m; i++) (s = n[i]) != null && !(2 & s.__u) && (s.__e == a && (a = et(s)), wr(s, s));
305
305
  return a;
306
306
  }
307
307
  function Tr(e, t, n) {
@@ -363,63 +363,63 @@ function fa(e) {
363
363
  var n = this.l[t.type + e];
364
364
  if (t.t == null) t.t = Pn++;
365
365
  else if (t.t < n.u) return;
366
- return n(M.event ? M.event(t) : t);
366
+ return n(w.event ? w.event(t) : t);
367
367
  }
368
368
  };
369
369
  }
370
370
  function Ln(e, t, n, a, r, i, o, s, l, u) {
371
- var m, c, d, p, g, v, b, _, x, E, N, y, w, z, ge, F, ee, Y = t.type;
371
+ var m, c, d, p, g, _, b, v, x, E, N, y, M, z, ge, F, ee, Y = t.type;
372
372
  if (t.constructor != null) return null;
373
- 128 & n.__u && (l = !!(32 & n.__u), i = [s = t.__e = n.__e]), (m = M.__b) && m(t);
373
+ 128 & n.__u && (l = !!(32 & n.__u), i = [s = t.__e = n.__e]), (m = w.__b) && m(t);
374
374
  e: if (typeof Y == "function") try {
375
- if (_ = t.props, x = "prototype" in Y && Y.prototype.render, E = (m = Y.contextType) && a[m.__c], N = m ? E ? E.props.value : m.__ : a, n.__c ? b = (c = t.__c = n.__c).__ = c.__E : (x ? t.__c = c = new Y(_, N) : (t.__c = c = new Ee(_, N), c.constructor = Y, c.render = co), E && E.sub(c), c.props = _, c.state || (c.state = {}), c.context = N, c.__n = a, d = c.__d = !0, c.__h = [], c._sb = []), x && c.__s == null && (c.__s = c.state), x && Y.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = Ie({}, c.__s)), Ie(c.__s, Y.getDerivedStateFromProps(_, c.__s))), p = c.props, g = c.state, c.__v = t, d) x && Y.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), x && c.componentDidMount != null && c.__h.push(c.componentDidMount);
375
+ if (v = t.props, x = "prototype" in Y && Y.prototype.render, E = (m = Y.contextType) && a[m.__c], N = m ? E ? E.props.value : m.__ : a, n.__c ? b = (c = t.__c = n.__c).__ = c.__E : (x ? t.__c = c = new Y(v, N) : (t.__c = c = new Ee(v, N), c.constructor = Y, c.render = co), E && E.sub(c), c.props = v, c.state || (c.state = {}), c.context = N, c.__n = a, d = c.__d = !0, c.__h = [], c._sb = []), x && c.__s == null && (c.__s = c.state), x && Y.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = Ie({}, c.__s)), Ie(c.__s, Y.getDerivedStateFromProps(v, c.__s))), p = c.props, g = c.state, c.__v = t, d) x && Y.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), x && c.componentDidMount != null && c.__h.push(c.componentDidMount);
376
376
  else {
377
- if (x && Y.getDerivedStateFromProps == null && _ !== p && c.componentWillReceiveProps != null && c.componentWillReceiveProps(_, N), !c.__e && c.shouldComponentUpdate != null && c.shouldComponentUpdate(_, c.__s, N) === !1 || t.__v == n.__v) {
378
- for (t.__v != n.__v && (c.props = _, c.state = c.__s, c.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.some(function(U) {
377
+ if (x && Y.getDerivedStateFromProps == null && v !== p && c.componentWillReceiveProps != null && c.componentWillReceiveProps(v, N), !c.__e && c.shouldComponentUpdate != null && c.shouldComponentUpdate(v, c.__s, N) === !1 || t.__v == n.__v) {
378
+ for (t.__v != n.__v && (c.props = v, c.state = c.__s, c.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.some(function(U) {
379
379
  U && (U.__ = t);
380
380
  }), y = 0; y < c._sb.length; y++) c.__h.push(c._sb[y]);
381
381
  c._sb = [], c.__h.length && o.push(c);
382
382
  break e;
383
383
  }
384
- c.componentWillUpdate != null && c.componentWillUpdate(_, c.__s, N), x && c.componentDidUpdate != null && c.__h.push(function() {
385
- c.componentDidUpdate(p, g, v);
384
+ c.componentWillUpdate != null && c.componentWillUpdate(v, c.__s, N), x && c.componentDidUpdate != null && c.__h.push(function() {
385
+ c.componentDidUpdate(p, g, _);
386
386
  });
387
387
  }
388
- if (c.context = N, c.props = _, c.__P = e, c.__e = !1, w = M.__r, z = 0, x) {
389
- for (c.state = c.__s, c.__d = !1, w && w(t), m = c.render(c.props, c.state, c.context), ge = 0; ge < c._sb.length; ge++) c.__h.push(c._sb[ge]);
388
+ if (c.context = N, c.props = v, c.__P = e, c.__e = !1, M = w.__r, z = 0, x) {
389
+ for (c.state = c.__s, c.__d = !1, M && M(t), m = c.render(c.props, c.state, c.context), ge = 0; ge < c._sb.length; ge++) c.__h.push(c._sb[ge]);
390
390
  c._sb = [];
391
391
  } else do
392
- c.__d = !1, w && w(t), m = c.render(c.props, c.state, c.context), c.state = c.__s;
392
+ c.__d = !1, M && M(t), m = c.render(c.props, c.state, c.context), c.state = c.__s;
393
393
  while (c.__d && ++z < 25);
394
- c.state = c.__s, c.getChildContext != null && (a = Ie(Ie({}, a), c.getChildContext())), x && !d && c.getSnapshotBeforeUpdate != null && (v = c.getSnapshotBeforeUpdate(p, g)), F = m, m != null && m.type === pe && m.key == null && (F = wr(m.props.children)), s = Ar(e, Ct(F) ? F : [F], t, n, a, r, i, o, s, l, u), c.base = t.__e, t.__u &= -161, c.__h.length && o.push(c), b && (c.__E = c.__ = null);
394
+ c.state = c.__s, c.getChildContext != null && (a = Ie(Ie({}, a), c.getChildContext())), x && !d && c.getSnapshotBeforeUpdate != null && (_ = c.getSnapshotBeforeUpdate(p, g)), F = m, m != null && m.type === pe && m.key == null && (F = Mr(m.props.children)), s = Ar(e, Ct(F) ? F : [F], t, n, a, r, i, o, s, l, u), c.base = t.__e, t.__u &= -161, c.__h.length && o.push(c), b && (c.__E = c.__ = null);
395
395
  } catch (U) {
396
396
  if (t.__v = null, l || i != null) if (U.then) {
397
397
  for (t.__u |= l ? 160 : 128; s && s.nodeType == 8 && s.nextSibling; ) s = s.nextSibling;
398
398
  i[i.indexOf(s)] = null, t.__e = s;
399
399
  } else for (ee = i.length; ee--; ) Rn(i[ee]);
400
400
  else t.__e = n.__e, t.__k = n.__k;
401
- M.__e(U, t, n);
401
+ w.__e(U, t, n);
402
402
  }
403
403
  else i == null && t.__v == n.__v ? (t.__k = n.__k, t.__e = n.__e) : s = t.__e = uo(n.__e, t, n, a, r, i, o, l, u);
404
- return (m = M.diffed) && m(t), 128 & t.__u ? void 0 : s;
404
+ return (m = w.diffed) && m(t), 128 & t.__u ? void 0 : s;
405
405
  }
406
406
  function Ir(e, t, n) {
407
407
  for (var a = 0; a < n.length; a++) Hn(n[a], n[++a], n[++a]);
408
- M.__c && M.__c(t, e), e.some(function(r) {
408
+ w.__c && w.__c(t, e), e.some(function(r) {
409
409
  try {
410
410
  e = r.__h, r.__h = [], e.some(function(i) {
411
411
  i.call(r);
412
412
  });
413
413
  } catch (i) {
414
- M.__e(i, r.__v);
414
+ w.__e(i, r.__v);
415
415
  }
416
416
  });
417
417
  }
418
- function wr(e) {
419
- return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : Ct(e) ? e.map(wr) : Ie({}, e);
418
+ function Mr(e) {
419
+ return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : Ct(e) ? e.map(Mr) : Ie({}, e);
420
420
  }
421
421
  function uo(e, t, n, a, r, i, o, s, l) {
422
- var u, m, c, d, p, g, v, b = n.props, _ = t.props, x = t.type;
422
+ var u, m, c, d, p, g, _, b = n.props, v = t.props, x = t.type;
423
423
  if (x == "svg" ? r = "http://www.w3.org/2000/svg" : x == "math" ? r = "http://www.w3.org/1998/Math/MathML" : r || (r = "http://www.w3.org/1999/xhtml"), i != null) {
424
424
  for (u = 0; u < i.length; u++) if ((p = i[u]) && "setAttribute" in p == !!x && (x ? p.localName == x : p.nodeType == 3)) {
425
425
  e = p, i[u] = null;
@@ -427,23 +427,23 @@ function uo(e, t, n, a, r, i, o, s, l) {
427
427
  }
428
428
  }
429
429
  if (e == null) {
430
- if (x == null) return document.createTextNode(_);
431
- e = document.createElementNS(r, x, _.is && _), s && (M.__m && M.__m(t, i), s = !1), i = null;
430
+ if (x == null) return document.createTextNode(v);
431
+ e = document.createElementNS(r, x, v.is && v), s && (w.__m && w.__m(t, i), s = !1), i = null;
432
432
  }
433
- if (x == null) b === _ || s && e.data == _ || (e.data = _);
433
+ if (x == null) b === v || s && e.data == v || (e.data = v);
434
434
  else {
435
435
  if (i = i && xt.call(e.childNodes), b = n.props || ht, !s && i != null) for (b = {}, u = 0; u < e.attributes.length; u++) b[(p = e.attributes[u]).name] = p.value;
436
436
  for (u in b) if (p = b[u], u != "children") {
437
437
  if (u == "dangerouslySetInnerHTML") c = p;
438
- else if (!(u in _)) {
439
- if (u == "value" && "defaultValue" in _ || u == "checked" && "defaultChecked" in _) continue;
438
+ else if (!(u in v)) {
439
+ if (u == "value" && "defaultValue" in v || u == "checked" && "defaultChecked" in v) continue;
440
440
  Ht(e, u, null, p, r);
441
441
  }
442
442
  }
443
- for (u in _) p = _[u], u == "children" ? d = p : u == "dangerouslySetInnerHTML" ? m = p : u == "value" ? g = p : u == "checked" ? v = p : s && typeof p != "function" || b[u] === p || Ht(e, u, p, b[u], r);
443
+ for (u in v) p = v[u], u == "children" ? d = p : u == "dangerouslySetInnerHTML" ? m = p : u == "value" ? g = p : u == "checked" ? _ = p : s && typeof p != "function" || b[u] === p || Ht(e, u, p, b[u], r);
444
444
  if (m) s || c && (m.__html == c.__html || m.__html == e.innerHTML) || (e.innerHTML = m.__html), t.__k = [];
445
445
  else if (c && (e.innerHTML = ""), Ar(t.type == "template" ? e.content : e, Ct(d) ? d : [d], t, n, a, x == "foreignObject" ? "http://www.w3.org/1999/xhtml" : r, i, o, i ? i[0] : n.__k && et(n, 0), s, l), i != null) for (u = i.length; u--; ) Rn(i[u]);
446
- s || (u = "value", x == "progress" && g == null ? e.removeAttribute("value") : g != null && (g !== e[u] || x == "progress" && !g || x == "option" && g != b[u]) && Ht(e, u, g, b[u], r), u = "checked", v != null && v != e[u] && Ht(e, u, v, b[u], r));
446
+ s || (u = "value", x == "progress" && g == null ? e.removeAttribute("value") : g != null && (g !== e[u] || x == "progress" && !g || x == "option" && g != b[u]) && Ht(e, u, g, b[u], r), u = "checked", _ != null && _ != e[u] && Ht(e, u, _, b[u], r));
447
447
  }
448
448
  return e;
449
449
  }
@@ -454,20 +454,20 @@ function Hn(e, t, n) {
454
454
  a && e.__u(), a && t == null || (e.__u = e(t));
455
455
  } else e.current = t;
456
456
  } catch (r) {
457
- M.__e(r, n);
457
+ w.__e(r, n);
458
458
  }
459
459
  }
460
- function Mr(e, t, n) {
460
+ function wr(e, t, n) {
461
461
  var a, r;
462
- if (M.unmount && M.unmount(e), (a = e.ref) && (a.current && a.current != e.__e || Hn(a, null, t)), (a = e.__c) != null) {
462
+ if (w.unmount && w.unmount(e), (a = e.ref) && (a.current && a.current != e.__e || Hn(a, null, t)), (a = e.__c) != null) {
463
463
  if (a.componentWillUnmount) try {
464
464
  a.componentWillUnmount();
465
465
  } catch (i) {
466
- M.__e(i, t);
466
+ w.__e(i, t);
467
467
  }
468
468
  a.base = a.__P = null;
469
469
  }
470
- if (a = e.__k) for (r = 0; r < a.length; r++) a[r] && Mr(a[r], t, n || typeof e.type != "function");
470
+ if (a = e.__k) for (r = 0; r < a.length; r++) a[r] && wr(a[r], t, n || typeof e.type != "function");
471
471
  n || Rn(e.__e), e.__c = e.__ = e.__e = void 0;
472
472
  }
473
473
  function co(e, t, n) {
@@ -475,7 +475,7 @@ function co(e, t, n) {
475
475
  }
476
476
  function gt(e, t, n) {
477
477
  var a, r, i, o;
478
- t == document && (t = document.documentElement), M.__ && M.__(e, t), r = (a = typeof n == "function") ? null : n && n.__k || t.__k, i = [], o = [], Ln(t, e = (!a && n || t).__k = de(pe, null, [e]), r || ht, ht, t.namespaceURI, !a && n ? [n] : r ? null : t.firstChild ? xt.call(t.childNodes) : null, i, !a && n ? n : r ? r.__e : t.firstChild, a, o), Ir(i, e, o);
478
+ t == document && (t = document.documentElement), w.__ && w.__(e, t), r = (a = typeof n == "function") ? null : n && n.__k || t.__k, i = [], o = [], Ln(t, e = (!a && n || t).__k = de(pe, null, [e]), r || ht, ht, t.namespaceURI, !a && n ? [n] : r ? null : t.firstChild ? xt.call(t.childNodes) : null, i, !a && n ? n : r ? r.__e : t.firstChild, a, o), Ir(i, e, o);
479
479
  }
480
480
  function Nr(e, t) {
481
481
  gt(e, t, Nr);
@@ -508,7 +508,7 @@ function yt(e) {
508
508
  return n.children(a);
509
509
  }).contextType = t, t;
510
510
  }
511
- xt = xr.slice, M = { __e: function(e, t, n, a) {
511
+ xt = xr.slice, w = { __e: function(e, t, n, a) {
512
512
  for (var r, i, o; t = t.__; ) if ((r = t.__c) && !r.__) try {
513
513
  if ((i = r.constructor) && i.getDerivedStateFromError != null && (r.setState(i.getDerivedStateFromError(e)), o = r.__d), r.componentDidCatch != null && (r.componentDidCatch(e, a || {}), o = r.__d), o) return r.__E = r;
514
514
  } catch (s) {
@@ -520,10 +520,10 @@ xt = xr.slice, M = { __e: function(e, t, n, a) {
520
520
  n = this.__s != null && this.__s != this.state ? this.__s : this.__s = Ie({}, this.state), typeof e == "function" && (e = e(Ie({}, n), this.props)), e && Ie(n, e), e != null && this.__v && (t && this._sb.push(t), dn(this));
521
521
  }, Ee.prototype.forceUpdate = function(e) {
522
522
  this.__v && (this.__e = !0, e && this.__h.push(e), dn(this));
523
- }, Ee.prototype.render = pe, ze = [], _r = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, vr = function(e, t) {
523
+ }, Ee.prototype.render = pe, ze = [], vr = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, _r = function(e, t) {
524
524
  return e.__v.__b - t.__v.__b;
525
525
  }, Wt.__r = 0, br = /(PointerCapture)$|Capture$/i, Pn = 0, mn = fa(!1), fn = fa(!0), Er = 0;
526
- var Pe, $, Yt, da, tt = 0, Or = [], j = M, pa = j.__b, ha = j.__r, ga = j.diffed, ya = j.__c, _a = j.unmount, va = j.__;
526
+ var Pe, $, Yt, da, tt = 0, Or = [], j = w, pa = j.__b, ha = j.__r, ga = j.diffed, ya = j.__c, va = j.unmount, _a = j.__;
527
527
  function qe(e, t) {
528
528
  j.__h && j.__h($, e, tt || t), tt = 0;
529
529
  var n = $.__H || ($.__H = { __: [], __h: [] });
@@ -574,12 +574,12 @@ function it(e, t) {
574
574
  var n = qe(Pe++, 4);
575
575
  !j.__s && Bn(n.__H, t) && (n.__ = e, n.u = t, $.__h.push(n));
576
576
  }
577
- function De(e) {
578
- return tt = 5, ke(function() {
577
+ function ke(e) {
578
+ return tt = 5, De(function() {
579
579
  return { current: e };
580
580
  }, []);
581
581
  }
582
- function kn(e, t, n) {
582
+ function Dn(e, t, n) {
583
583
  tt = 6, it(function() {
584
584
  if (typeof e == "function") {
585
585
  var a = e(t());
@@ -592,12 +592,12 @@ function kn(e, t, n) {
592
592
  };
593
593
  }, n == null ? n : n.concat(e));
594
594
  }
595
- function ke(e, t) {
595
+ function De(e, t) {
596
596
  var n = qe(Pe++, 7);
597
597
  return Bn(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
598
598
  }
599
- function _t(e, t) {
600
- return tt = 8, ke(function() {
599
+ function vt(e, t) {
600
+ return tt = 8, De(function() {
601
601
  return e;
602
602
  }, t);
603
603
  }
@@ -605,7 +605,7 @@ function St(e) {
605
605
  var t = $.context[e.__c], n = qe(Pe++, 9);
606
606
  return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub($)), t.props.value) : e.__;
607
607
  }
608
- function Dn(e, t) {
608
+ function kn(e, t) {
609
609
  j.useDebugValue && j.useDebugValue(t ? t(e) : e);
610
610
  }
611
611
  function fo(e) {
@@ -635,7 +635,7 @@ function po() {
635
635
  j.__b = function(e) {
636
636
  $ = null, pa && pa(e);
637
637
  }, j.__ = function(e, t) {
638
- e && t.__k && t.__k.__m && (e.__m = t.__k.__m), va && va(e, t);
638
+ e && t.__k && t.__k.__m && (e.__m = t.__k.__m), _a && _a(e, t);
639
639
  }, j.__r = function(e) {
640
640
  ha && ha(e), Pe = 0;
641
641
  var t = ($ = e.__c).__H;
@@ -661,7 +661,7 @@ j.__b = function(e) {
661
661
  }
662
662
  }), ya && ya(e, t);
663
663
  }, j.unmount = function(e) {
664
- _a && _a(e);
664
+ va && va(e);
665
665
  var t, n = e.__c;
666
666
  n && n.__H && (n.__H.__.forEach(function(a) {
667
667
  try {
@@ -732,7 +732,7 @@ function zn() {
732
732
  return [!1, $n];
733
733
  }
734
734
  var Wn = it;
735
- function vt(e, t) {
735
+ function _t(e, t) {
736
736
  this.props = e, this.context = t;
737
737
  }
738
738
  function jn(e, t) {
@@ -745,11 +745,11 @@ function jn(e, t) {
745
745
  }
746
746
  return a.displayName = "Memo(" + (e.displayName || e.name) + ")", a.prototype.isReactComponent = !0, a.__f = !0, a;
747
747
  }
748
- (vt.prototype = new Ee()).isPureReactComponent = !0, vt.prototype.shouldComponentUpdate = function(e, t) {
748
+ (_t.prototype = new Ee()).isPureReactComponent = !0, _t.prototype.shouldComponentUpdate = function(e, t) {
749
749
  return hn(this.props, e) || hn(this.state, t);
750
750
  };
751
- var Ea = M.__b;
752
- M.__b = function(e) {
751
+ var Ea = w.__b;
752
+ w.__b = function(e) {
753
753
  e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Ea && Ea(e);
754
754
  };
755
755
  var go = typeof Symbol != "undefined" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
@@ -768,14 +768,14 @@ var xa = function(e, t) {
768
768
  var t = Oe(e);
769
769
  if (t.length !== 1) throw "Children.only";
770
770
  return t[0];
771
- }, toArray: Oe }, yo = M.__e;
772
- M.__e = function(e, t, n, a) {
771
+ }, toArray: Oe }, yo = w.__e;
772
+ w.__e = function(e, t, n, a) {
773
773
  if (e.then) {
774
774
  for (var r, i = t; i = i.__; ) if ((r = i.__c) && r.__c) return t.__e == null && (t.__e = n.__e, t.__k = n.__k), r.__c(e, t);
775
775
  }
776
776
  yo(e, t, n, a);
777
777
  };
778
- var Ca = M.unmount;
778
+ var Ca = w.unmount;
779
779
  function Hr(e, t, n) {
780
780
  return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(a) {
781
781
  typeof a.__c == "function" && a.__c();
@@ -783,15 +783,15 @@ function Hr(e, t, n) {
783
783
  return Hr(a, t, n);
784
784
  })), e;
785
785
  }
786
- function kr(e, t, n) {
786
+ function Dr(e, t, n) {
787
787
  return e && n && (e.__v = null, e.__k = e.__k && e.__k.map(function(a) {
788
- return kr(a, t, n);
788
+ return Dr(a, t, n);
789
789
  }), e.__c && e.__c.__P === t && (e.__e && n.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = n)), e;
790
790
  }
791
791
  function mt() {
792
792
  this.__u = 0, this.o = null, this.__b = null;
793
793
  }
794
- function Dr(e) {
794
+ function kr(e) {
795
795
  var t = e.__.__c;
796
796
  return t && t.__a && t.__a(e);
797
797
  }
@@ -811,13 +811,13 @@ function Fr(e) {
811
811
  function Ye() {
812
812
  this.i = null, this.l = null;
813
813
  }
814
- M.unmount = function(e) {
814
+ w.unmount = function(e) {
815
815
  var t = e.__c;
816
816
  t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), Ca && Ca(e);
817
817
  }, (mt.prototype = new Ee()).__c = function(e, t) {
818
818
  var n = t.__c, a = this;
819
819
  a.o == null && (a.o = []), a.o.push(n);
820
- var r = Dr(a.__v), i = !1, o = function() {
820
+ var r = kr(a.__v), i = !1, o = function() {
821
821
  i || (i = !0, n.__R = null, r ? r(s) : s());
822
822
  };
823
823
  n.__R = o;
@@ -825,7 +825,7 @@ M.unmount = function(e) {
825
825
  if (!--a.__u) {
826
826
  if (a.state.__a) {
827
827
  var l = a.state.__a;
828
- a.__v.__k[0] = kr(l, l.__c.__P, l.__c.__O);
828
+ a.__v.__k[0] = Dr(l, l.__c.__P, l.__c.__O);
829
829
  }
830
830
  var u;
831
831
  for (a.setState({ __a: a.__b = null }); u = a.o.pop(); ) u.forceUpdate();
@@ -852,12 +852,12 @@ var Sa = function(e, t, n) {
852
852
  e.i = n = n[2];
853
853
  }
854
854
  };
855
- function _o(e) {
855
+ function vo(e) {
856
856
  return this.getChildContext = function() {
857
857
  return e.context;
858
858
  }, e.children;
859
859
  }
860
- function vo(e) {
860
+ function _o(e) {
861
861
  var t = this, n = e.h;
862
862
  t.componentWillUnmount = function() {
863
863
  gt(null, t.v), t.v = null, t.h = null;
@@ -869,14 +869,14 @@ function vo(e) {
869
869
  this.childNodes.push(a), t.h.insertBefore(a, r);
870
870
  }, removeChild: function(a) {
871
871
  this.childNodes.splice(this.childNodes.indexOf(a) >>> 1, 1), t.h.removeChild(a);
872
- } }), gt(de(_o, { context: t.context }, e.__v), t.v);
872
+ } }), gt(de(vo, { context: t.context }, e.__v), t.v);
873
873
  }
874
874
  function Br(e, t) {
875
- var n = de(vo, { __v: e, h: t });
875
+ var n = de(_o, { __v: e, h: t });
876
876
  return n.containerInfo = t, n;
877
877
  }
878
878
  (Ye.prototype = new Ee()).__a = function(e) {
879
- var t = this, n = Dr(t.__v), a = t.l.get(e);
879
+ var t = this, n = kr(t.__v), a = t.l.get(e);
880
880
  return a[0]++, function(r) {
881
881
  var i = function() {
882
882
  t.props.revealOrder ? (a.push(r), Sa(t, e, a)) : r();
@@ -911,7 +911,7 @@ Ee.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceive
911
911
  Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t });
912
912
  } });
913
913
  });
914
- var Aa = M.event;
914
+ var Aa = w.event;
915
915
  function Ao() {
916
916
  }
917
917
  function To() {
@@ -920,13 +920,13 @@ function To() {
920
920
  function Io() {
921
921
  return this.defaultPrevented;
922
922
  }
923
- M.event = function(e) {
923
+ w.event = function(e) {
924
924
  return Aa && (e = Aa(e)), e.persist = Ao, e.isPropagationStopped = To, e.isDefaultPrevented = Io, e.nativeEvent = e;
925
925
  };
926
- var qn, wo = { enumerable: !1, configurable: !0, get: function() {
926
+ var qn, Mo = { enumerable: !1, configurable: !0, get: function() {
927
927
  return this.class;
928
- } }, Ta = M.vnode;
929
- M.vnode = function(e) {
928
+ } }, Ta = w.vnode;
929
+ w.vnode = function(e) {
930
930
  typeof e.type == "string" && function(t) {
931
931
  var n = t.props, a = t.type, r = {}, i = a.indexOf("-") === -1;
932
932
  for (var o in n) {
@@ -940,22 +940,22 @@ M.vnode = function(e) {
940
940
  u.props.selected = r.value.indexOf(u.props.value) != -1;
941
941
  })), a == "select" && r.defaultValue != null && (r.value = Oe(n.children).forEach(function(u) {
942
942
  u.props.selected = r.multiple ? r.defaultValue.indexOf(u.props.value) != -1 : r.defaultValue == u.props.value;
943
- })), n.class && !n.className ? (r.class = n.class, Object.defineProperty(r, "className", wo)) : (n.className && !n.class || n.class && n.className) && (r.class = r.className = n.className), t.props = r;
943
+ })), n.class && !n.className ? (r.class = n.class, Object.defineProperty(r, "className", Mo)) : (n.className && !n.class || n.class && n.className) && (r.class = r.className = n.className), t.props = r;
944
944
  }(e), e.$$typeof = Ur, Ta && Ta(e);
945
945
  };
946
- var Ia = M.__r;
947
- M.__r = function(e) {
946
+ var Ia = w.__r;
947
+ w.__r = function(e) {
948
948
  Ia && Ia(e), qn = e.__c;
949
949
  };
950
- var wa = M.diffed;
951
- M.diffed = function(e) {
952
- wa && wa(e);
950
+ var Ma = w.diffed;
951
+ w.diffed = function(e) {
952
+ Ma && Ma(e);
953
953
  var t = e.props, n = e.__e;
954
954
  n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value), qn = null;
955
955
  };
956
956
  var Gr = { ReactCurrentDispatcher: { current: { readContext: function(e) {
957
957
  return qn.__n[e.__c].props.value;
958
- }, useCallback: _t, useContext: St, useDebugValue: Dn, useDeferredValue: Gn, useEffect: X, useId: Fn, useImperativeHandle: kn, useInsertionEffect: Wn, useLayoutEffect: it, useMemo: ke, useReducer: Zt, useRef: De, useState: Q, useSyncExternalStore: Un, useTransition: zn } } }, Mo = "18.3.1";
958
+ }, useCallback: vt, useContext: St, useDebugValue: kn, useDeferredValue: Gn, useEffect: X, useId: Fn, useImperativeHandle: Dn, useInsertionEffect: Wn, useLayoutEffect: it, useMemo: De, useReducer: Zt, useRef: ke, useState: Q, useSyncExternalStore: Un, useTransition: zn } } }, wo = "18.3.1";
959
959
  function zr(e) {
960
960
  return de.bind(null, e);
961
961
  }
@@ -981,13 +981,13 @@ var Zr = function(e, t) {
981
981
  return e(t);
982
982
  }, Xr = function(e, t) {
983
983
  return e(t);
984
- }, Kr = pe, Jr = Tt, f = { useState: Q, useId: Fn, useReducer: Zt, useEffect: X, useLayoutEffect: it, useInsertionEffect: Wn, useTransition: zn, useDeferredValue: Gn, useSyncExternalStore: Un, startTransition: $n, useRef: De, useImperativeHandle: kn, useMemo: ke, useCallback: _t, useContext: St, useDebugValue: Dn, version: "18.3.1", Children: At, render: Vn, hydrate: $r, unmountComponentAtNode: Zn, createPortal: Br, createElement: de, createContext: yt, createFactory: zr, cloneElement: Vr, createRef: Cr, Fragment: pe, isValidElement: Tt, isElement: Jr, isFragment: Wr, isMemo: jr, findDOMNode: qr, Component: Ee, PureComponent: vt, memo: jn, forwardRef: Lr, flushSync: Xr, unstable_batchedUpdates: Zr, StrictMode: Kr, Suspense: mt, SuspenseList: Ye, lazy: Fr, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Gr };
984
+ }, Kr = pe, Jr = Tt, f = { useState: Q, useId: Fn, useReducer: Zt, useEffect: X, useLayoutEffect: it, useInsertionEffect: Wn, useTransition: zn, useDeferredValue: Gn, useSyncExternalStore: Un, startTransition: $n, useRef: ke, useImperativeHandle: Dn, useMemo: De, useCallback: vt, useContext: St, useDebugValue: kn, version: "18.3.1", Children: At, render: Vn, hydrate: $r, unmountComponentAtNode: Zn, createPortal: Br, createElement: de, createContext: yt, createFactory: zr, cloneElement: Vr, createRef: Cr, Fragment: pe, isValidElement: Tt, isElement: Jr, isFragment: Wr, isMemo: jr, findDOMNode: qr, Component: Ee, PureComponent: _t, memo: jn, forwardRef: Lr, flushSync: Xr, unstable_batchedUpdates: Zr, StrictMode: Kr, Suspense: mt, SuspenseList: Ye, lazy: Fr, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Gr };
985
985
  const No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
986
986
  __proto__: null,
987
987
  Children: At,
988
988
  Component: Ee,
989
989
  Fragment: pe,
990
- PureComponent: vt,
990
+ PureComponent: _t,
991
991
  StrictMode: Kr,
992
992
  Suspense: mt,
993
993
  SuspenseList: Ye,
@@ -1013,25 +1013,25 @@ const No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1013
1013
  startTransition: $n,
1014
1014
  unmountComponentAtNode: Zn,
1015
1015
  unstable_batchedUpdates: Zr,
1016
- useCallback: _t,
1016
+ useCallback: vt,
1017
1017
  useContext: St,
1018
- useDebugValue: Dn,
1018
+ useDebugValue: kn,
1019
1019
  useDeferredValue: Gn,
1020
1020
  useEffect: X,
1021
1021
  useErrorBoundary: fo,
1022
1022
  useId: Fn,
1023
- useImperativeHandle: kn,
1023
+ useImperativeHandle: Dn,
1024
1024
  useInsertionEffect: Wn,
1025
1025
  useLayoutEffect: it,
1026
- useMemo: ke,
1026
+ useMemo: De,
1027
1027
  useReducer: Zt,
1028
- useRef: De,
1028
+ useRef: ke,
1029
1029
  useState: Q,
1030
1030
  useSyncExternalStore: Un,
1031
1031
  useTransition: zn,
1032
- version: Mo
1032
+ version: wo
1033
1033
  }, Symbol.toStringTag, { value: "Module" }));
1034
- function Ma(e) {
1034
+ function wa(e) {
1035
1035
  return {
1036
1036
  // eslint-disable-next-line
1037
1037
  render: function(t) {
@@ -1050,7 +1050,7 @@ var gn = function(e, t) {
1050
1050
  for (var r in a) Object.prototype.hasOwnProperty.call(a, r) && (n[r] = a[r]);
1051
1051
  }, gn(e, t);
1052
1052
  };
1053
- function _e(e, t) {
1053
+ function ve(e, t) {
1054
1054
  if (typeof t != "function" && t !== null)
1055
1055
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1056
1056
  gn(e, t);
@@ -1082,7 +1082,7 @@ function ce(e, t, n) {
1082
1082
  return e.concat(i || Array.prototype.slice.call(t));
1083
1083
  }
1084
1084
  function se(e, t) {
1085
- var n = t && t.cache ? t.cache : ko, a = t && t.serializer ? t.serializer : Ho, r = t && t.strategy ? t.strategy : Ro;
1085
+ var n = t && t.cache ? t.cache : Do, a = t && t.serializer ? t.serializer : Ho, r = t && t.strategy ? t.strategy : Ro;
1086
1086
  return r(e, {
1087
1087
  cache: n,
1088
1088
  serializer: a
@@ -1121,7 +1121,7 @@ Xn.prototype.get = function(e) {
1121
1121
  Xn.prototype.set = function(e, t) {
1122
1122
  this.cache[e] = t;
1123
1123
  };
1124
- var ko = {
1124
+ var Do = {
1125
1125
  create: function() {
1126
1126
  return new Xn();
1127
1127
  }
@@ -1182,7 +1182,7 @@ var at;
1182
1182
  function Na(e) {
1183
1183
  return e.type === G.literal;
1184
1184
  }
1185
- function Do(e) {
1185
+ function ko(e) {
1186
1186
  return e.type === G.argument;
1187
1187
  }
1188
1188
  function ti(e) {
@@ -1515,7 +1515,7 @@ function Vo(e) {
1515
1515
  }
1516
1516
  return t;
1517
1517
  }
1518
- var kt = {
1518
+ var Dt = {
1519
1519
  "001": [
1520
1520
  "H",
1521
1521
  "h"
@@ -2964,21 +2964,21 @@ function Zo(e) {
2964
2964
  }
2965
2965
  var n = e.language, a;
2966
2966
  n !== "root" && (a = e.maximize().region);
2967
- var r = kt[a || ""] || kt[n || ""] || kt["".concat(n, "-001")] || kt["001"];
2967
+ var r = Dt[a || ""] || Dt[n || ""] || Dt["".concat(n, "-001")] || Dt["001"];
2968
2968
  return r[0];
2969
2969
  }
2970
2970
  var en, Xo = new RegExp("^".concat(li.source, "*")), Ko = new RegExp("".concat(li.source, "*$"));
2971
- function H(e, t) {
2971
+ function L(e, t) {
2972
2972
  return { start: e, end: t };
2973
2973
  }
2974
2974
  var Jo = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yo = !!String.fromCodePoint, Qo = !!Object.fromEntries, es = !!String.prototype.codePointAt, ts = !!String.prototype.trimStart, ns = !!String.prototype.trimEnd, as = !!Number.isSafeInteger, rs = as ? Number.isSafeInteger : function(e) {
2975
2975
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2976
- }, _n = !0;
2976
+ }, vn = !0;
2977
2977
  try {
2978
2978
  var is = di("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2979
- _n = ((en = is.exec("a")) === null || en === void 0 ? void 0 : en[0]) === "a";
2979
+ vn = ((en = is.exec("a")) === null || en === void 0 ? void 0 : en[0]) === "a";
2980
2980
  } catch (e) {
2981
- _n = !1;
2981
+ vn = !1;
2982
2982
  }
2983
2983
  var La = Jo ? (
2984
2984
  // Native
@@ -2990,7 +2990,7 @@ var La = Jo ? (
2990
2990
  function(t, n, a) {
2991
2991
  return t.slice(a, a + n.length) === n;
2992
2992
  }
2993
- ), vn = Yo ? String.fromCodePoint : (
2993
+ ), _n = Yo ? String.fromCodePoint : (
2994
2994
  // IE11
2995
2995
  function() {
2996
2996
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -3053,12 +3053,12 @@ function di(e, t) {
3053
3053
  return new RegExp(e, t);
3054
3054
  }
3055
3055
  var bn;
3056
- if (_n) {
3057
- var ka = di("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3056
+ if (vn) {
3057
+ var Da = di("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3058
3058
  bn = function(t, n) {
3059
3059
  var a;
3060
- ka.lastIndex = n;
3061
- var r = ka.exec(t);
3060
+ Da.lastIndex = n;
3061
+ var r = Da.exec(t);
3062
3062
  return (a = r[1]) !== null && a !== void 0 ? a : "";
3063
3063
  };
3064
3064
  } else
@@ -3069,7 +3069,7 @@ if (_n) {
3069
3069
  break;
3070
3070
  a.push(r), n += r >= 65536 ? 2 : 1;
3071
3071
  }
3072
- return vn.apply(void 0, a);
3072
+ return _n.apply(void 0, a);
3073
3073
  };
3074
3074
  var ls = (
3075
3075
  /** @class */
@@ -3096,12 +3096,12 @@ var ls = (
3096
3096
  var s = this.clonePosition();
3097
3097
  this.bump(), r.push({
3098
3098
  type: G.pound,
3099
- location: H(s, this.clonePosition())
3099
+ location: L(s, this.clonePosition())
3100
3100
  });
3101
3101
  } else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
3102
3102
  if (a)
3103
3103
  break;
3104
- return this.error(P.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
3104
+ return this.error(P.UNMATCHED_CLOSING_TAG, L(this.clonePosition(), this.clonePosition()));
3105
3105
  } else if (i === 60 && !this.ignoreTag && En(this.peek() || 0)) {
3106
3106
  var o = this.parseTag(t, n);
3107
3107
  if (o.err)
@@ -3125,7 +3125,7 @@ var ls = (
3125
3125
  val: {
3126
3126
  type: G.literal,
3127
3127
  value: "<".concat(r, "/>"),
3128
- location: H(a, this.clonePosition())
3128
+ location: L(a, this.clonePosition())
3129
3129
  },
3130
3130
  err: null
3131
3131
  };
@@ -3136,21 +3136,21 @@ var ls = (
3136
3136
  var o = i.val, s = this.clonePosition();
3137
3137
  if (this.bumpIf("</")) {
3138
3138
  if (this.isEOF() || !En(this.char()))
3139
- return this.error(P.INVALID_TAG, H(s, this.clonePosition()));
3139
+ return this.error(P.INVALID_TAG, L(s, this.clonePosition()));
3140
3140
  var l = this.clonePosition(), u = this.parseTagName();
3141
- return r !== u ? this.error(P.UNMATCHED_CLOSING_TAG, H(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3141
+ return r !== u ? this.error(P.UNMATCHED_CLOSING_TAG, L(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3142
3142
  val: {
3143
3143
  type: G.tag,
3144
3144
  value: r,
3145
3145
  children: o,
3146
- location: H(a, this.clonePosition())
3146
+ location: L(a, this.clonePosition())
3147
3147
  },
3148
3148
  err: null
3149
- } : this.error(P.INVALID_TAG, H(s, this.clonePosition())));
3149
+ } : this.error(P.INVALID_TAG, L(s, this.clonePosition())));
3150
3150
  } else
3151
- return this.error(P.UNCLOSED_TAG, H(a, this.clonePosition()));
3151
+ return this.error(P.UNCLOSED_TAG, L(a, this.clonePosition()));
3152
3152
  } else
3153
- return this.error(P.INVALID_TAG, H(a, this.clonePosition()));
3153
+ return this.error(P.INVALID_TAG, L(a, this.clonePosition()));
3154
3154
  }, e.prototype.parseTagName = function() {
3155
3155
  var t = this.offset();
3156
3156
  for (this.bump(); !this.isEOF() && cs(this.char()); )
@@ -3175,7 +3175,7 @@ var ls = (
3175
3175
  }
3176
3176
  break;
3177
3177
  }
3178
- var l = H(a, this.clonePosition());
3178
+ var l = L(a, this.clonePosition());
3179
3179
  return {
3180
3180
  val: { type: G.literal, value: r, location: l },
3181
3181
  err: null
@@ -3216,23 +3216,23 @@ var ls = (
3216
3216
  n.push(a);
3217
3217
  this.bump();
3218
3218
  }
3219
- return vn.apply(void 0, n);
3219
+ return _n.apply(void 0, n);
3220
3220
  }, e.prototype.tryParseUnquoted = function(t, n) {
3221
3221
  if (this.isEOF())
3222
3222
  return null;
3223
3223
  var a = this.char();
3224
- return a === 60 || a === 123 || a === 35 && (n === "plural" || n === "selectordinal") || a === 125 && t > 0 ? null : (this.bump(), vn(a));
3224
+ return a === 60 || a === 123 || a === 35 && (n === "plural" || n === "selectordinal") || a === 125 && t > 0 ? null : (this.bump(), _n(a));
3225
3225
  }, e.prototype.parseArgument = function(t, n) {
3226
3226
  var a = this.clonePosition();
3227
3227
  if (this.bump(), this.bumpSpace(), this.isEOF())
3228
- return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, H(a, this.clonePosition()));
3228
+ return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, L(a, this.clonePosition()));
3229
3229
  if (this.char() === 125)
3230
- return this.bump(), this.error(P.EMPTY_ARGUMENT, H(a, this.clonePosition()));
3230
+ return this.bump(), this.error(P.EMPTY_ARGUMENT, L(a, this.clonePosition()));
3231
3231
  var r = this.parseIdentifierIfPossible().value;
3232
3232
  if (!r)
3233
- return this.error(P.MALFORMED_ARGUMENT, H(a, this.clonePosition()));
3233
+ return this.error(P.MALFORMED_ARGUMENT, L(a, this.clonePosition()));
3234
3234
  if (this.bumpSpace(), this.isEOF())
3235
- return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, H(a, this.clonePosition()));
3235
+ return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, L(a, this.clonePosition()));
3236
3236
  switch (this.char()) {
3237
3237
  case 125:
3238
3238
  return this.bump(), {
@@ -3240,25 +3240,25 @@ var ls = (
3240
3240
  type: G.argument,
3241
3241
  // value does not include the opening and closing braces.
3242
3242
  value: r,
3243
- location: H(a, this.clonePosition())
3243
+ location: L(a, this.clonePosition())
3244
3244
  },
3245
3245
  err: null
3246
3246
  };
3247
3247
  case 44:
3248
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, H(a, this.clonePosition())) : this.parseArgumentOptions(t, n, r, a);
3248
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, L(a, this.clonePosition())) : this.parseArgumentOptions(t, n, r, a);
3249
3249
  default:
3250
- return this.error(P.MALFORMED_ARGUMENT, H(a, this.clonePosition()));
3250
+ return this.error(P.MALFORMED_ARGUMENT, L(a, this.clonePosition()));
3251
3251
  }
3252
3252
  }, e.prototype.parseIdentifierIfPossible = function() {
3253
3253
  var t = this.clonePosition(), n = this.offset(), a = bn(this.message, n), r = n + a.length;
3254
3254
  this.bumpTo(r);
3255
- var i = this.clonePosition(), o = H(t, i);
3255
+ var i = this.clonePosition(), o = L(t, i);
3256
3256
  return { value: a, location: o };
3257
3257
  }, e.prototype.parseArgumentOptions = function(t, n, a, r) {
3258
3258
  var i, o = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3259
3259
  switch (s) {
3260
3260
  case "":
3261
- return this.error(P.EXPECT_ARGUMENT_TYPE, H(o, l));
3261
+ return this.error(P.EXPECT_ARGUMENT_TYPE, L(o, l));
3262
3262
  case "number":
3263
3263
  case "date":
3264
3264
  case "time": {
@@ -3271,35 +3271,35 @@ var ls = (
3271
3271
  return c;
3272
3272
  var d = ss(c.val);
3273
3273
  if (d.length === 0)
3274
- return this.error(P.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
3275
- var p = H(m, this.clonePosition());
3274
+ return this.error(P.EXPECT_ARGUMENT_STYLE, L(this.clonePosition(), this.clonePosition()));
3275
+ var p = L(m, this.clonePosition());
3276
3276
  u = { style: d, styleLocation: p };
3277
3277
  }
3278
3278
  var g = this.tryParseArgumentClose(r);
3279
3279
  if (g.err)
3280
3280
  return g;
3281
- var v = H(r, this.clonePosition());
3281
+ var _ = L(r, this.clonePosition());
3282
3282
  if (u && La(u == null ? void 0 : u.style, "::", 0)) {
3283
3283
  var b = os(u.style.slice(2));
3284
3284
  if (s === "number") {
3285
3285
  var c = this.parseNumberSkeletonFromString(b, u.styleLocation);
3286
3286
  return c.err ? c : {
3287
- val: { type: G.number, value: a, location: v, style: c.val },
3287
+ val: { type: G.number, value: a, location: _, style: c.val },
3288
3288
  err: null
3289
3289
  };
3290
3290
  } else {
3291
3291
  if (b.length === 0)
3292
- return this.error(P.EXPECT_DATE_TIME_SKELETON, v);
3293
- var _ = b;
3294
- this.locale && (_ = qo(b, this.locale));
3292
+ return this.error(P.EXPECT_DATE_TIME_SKELETON, _);
3293
+ var v = b;
3294
+ this.locale && (v = qo(b, this.locale));
3295
3295
  var d = {
3296
3296
  type: at.dateTime,
3297
- pattern: _,
3297
+ pattern: v,
3298
3298
  location: u.styleLocation,
3299
- parsedOptions: this.shouldParseSkeletons ? Uo(_) : {}
3299
+ parsedOptions: this.shouldParseSkeletons ? Uo(v) : {}
3300
3300
  }, x = s === "date" ? G.date : G.time;
3301
3301
  return {
3302
- val: { type: x, value: a, location: v, style: d },
3302
+ val: { type: x, value: a, location: _, style: d },
3303
3303
  err: null
3304
3304
  };
3305
3305
  }
@@ -3308,7 +3308,7 @@ var ls = (
3308
3308
  val: {
3309
3309
  type: s === "number" ? G.number : s === "date" ? G.date : G.time,
3310
3310
  value: a,
3311
- location: v,
3311
+ location: _,
3312
3312
  style: (i = u == null ? void 0 : u.style) !== null && i !== void 0 ? i : null
3313
3313
  },
3314
3314
  err: null
@@ -3319,30 +3319,30 @@ var ls = (
3319
3319
  case "select": {
3320
3320
  var E = this.clonePosition();
3321
3321
  if (this.bumpSpace(), !this.bumpIf(","))
3322
- return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS, H(E, C({}, E)));
3322
+ return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS, L(E, C({}, E)));
3323
3323
  this.bumpSpace();
3324
3324
  var N = this.parseIdentifierIfPossible(), y = 0;
3325
3325
  if (s !== "select" && N.value === "offset") {
3326
3326
  if (!this.bumpIf(":"))
3327
- return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H(this.clonePosition(), this.clonePosition()));
3327
+ return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, L(this.clonePosition(), this.clonePosition()));
3328
3328
  this.bumpSpace();
3329
3329
  var c = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3330
3330
  if (c.err)
3331
3331
  return c;
3332
3332
  this.bumpSpace(), N = this.parseIdentifierIfPossible(), y = c.val;
3333
3333
  }
3334
- var w = this.tryParsePluralOrSelectOptions(t, s, n, N);
3335
- if (w.err)
3336
- return w;
3334
+ var M = this.tryParsePluralOrSelectOptions(t, s, n, N);
3335
+ if (M.err)
3336
+ return M;
3337
3337
  var g = this.tryParseArgumentClose(r);
3338
3338
  if (g.err)
3339
3339
  return g;
3340
- var z = H(r, this.clonePosition());
3340
+ var z = L(r, this.clonePosition());
3341
3341
  return s === "select" ? {
3342
3342
  val: {
3343
3343
  type: G.select,
3344
3344
  value: a,
3345
- options: Ha(w.val),
3345
+ options: Ha(M.val),
3346
3346
  location: z
3347
3347
  },
3348
3348
  err: null
@@ -3350,7 +3350,7 @@ var ls = (
3350
3350
  val: {
3351
3351
  type: G.plural,
3352
3352
  value: a,
3353
- options: Ha(w.val),
3353
+ options: Ha(M.val),
3354
3354
  offset: y,
3355
3355
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3356
3356
  location: z
@@ -3359,10 +3359,10 @@ var ls = (
3359
3359
  };
3360
3360
  }
3361
3361
  default:
3362
- return this.error(P.INVALID_ARGUMENT_TYPE, H(o, l));
3362
+ return this.error(P.INVALID_ARGUMENT_TYPE, L(o, l));
3363
3363
  }
3364
3364
  }, e.prototype.tryParseArgumentClose = function(t) {
3365
- return this.isEOF() || this.char() !== 125 ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, H(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3365
+ return this.isEOF() || this.char() !== 125 ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, L(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3366
3366
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3367
3367
  for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
3368
3368
  var a = this.char();
@@ -3371,7 +3371,7 @@ var ls = (
3371
3371
  this.bump();
3372
3372
  var r = this.clonePosition();
3373
3373
  if (!this.bumpUntil("'"))
3374
- return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, H(r, this.clonePosition()));
3374
+ return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, L(r, this.clonePosition()));
3375
3375
  this.bump();
3376
3376
  break;
3377
3377
  }
@@ -3422,7 +3422,7 @@ var ls = (
3422
3422
  var d = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR, P.INVALID_PLURAL_ARGUMENT_SELECTOR);
3423
3423
  if (d.err)
3424
3424
  return d;
3425
- m = H(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3425
+ m = L(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3426
3426
  } else
3427
3427
  break;
3428
3428
  }
@@ -3431,22 +3431,22 @@ var ls = (
3431
3431
  u === "other" && (o = !0), this.bumpSpace();
3432
3432
  var p = this.clonePosition();
3433
3433
  if (!this.bumpIf("{"))
3434
- return this.error(n === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, H(this.clonePosition(), this.clonePosition()));
3434
+ return this.error(n === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, L(this.clonePosition(), this.clonePosition()));
3435
3435
  var g = this.parseMessage(t + 1, n, a);
3436
3436
  if (g.err)
3437
3437
  return g;
3438
- var v = this.tryParseArgumentClose(p);
3439
- if (v.err)
3440
- return v;
3438
+ var _ = this.tryParseArgumentClose(p);
3439
+ if (_.err)
3440
+ return _;
3441
3441
  s.push([
3442
3442
  u,
3443
3443
  {
3444
3444
  value: g.val,
3445
- location: H(p, this.clonePosition())
3445
+ location: L(p, this.clonePosition())
3446
3446
  }
3447
3447
  ]), l.add(u), this.bumpSpace(), i = this.parseIdentifierIfPossible(), u = i.value, m = i.location;
3448
3448
  }
3449
- return s.length === 0 ? this.error(n === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR, H(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(P.MISSING_OTHER_CLAUSE, H(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3449
+ return s.length === 0 ? this.error(n === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR, L(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(P.MISSING_OTHER_CLAUSE, L(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3450
3450
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
3451
3451
  var a = 1, r = this.clonePosition();
3452
3452
  this.bumpIf("+") || this.bumpIf("-") && (a = -1);
@@ -3457,7 +3457,7 @@ var ls = (
3457
3457
  else
3458
3458
  break;
3459
3459
  }
3460
- var l = H(r, this.clonePosition());
3460
+ var l = L(r, this.clonePosition());
3461
3461
  return i ? (o *= a, rs(o) ? { val: o, err: null } : this.error(n, l)) : this.error(t, l);
3462
3462
  }, e.prototype.offset = function() {
3463
3463
  return this.position.offset;
@@ -3556,14 +3556,14 @@ function fs(e, t) {
3556
3556
  }
3557
3557
  return t != null && t.captureLocation || xn(n.val), n.val;
3558
3558
  }
3559
- var we;
3559
+ var Me;
3560
3560
  (function(e) {
3561
3561
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3562
- })(we || (we = {}));
3562
+ })(Me || (Me = {}));
3563
3563
  var Fe = (
3564
3564
  /** @class */
3565
3565
  function(e) {
3566
- _e(t, e);
3566
+ ve(t, e);
3567
3567
  function t(n, a, r) {
3568
3568
  var i = e.call(this, n) || this;
3569
3569
  return i.code = a, i.originalMessage = r, i;
@@ -3572,30 +3572,30 @@ var Fe = (
3572
3572
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3573
3573
  }, t;
3574
3574
  }(Error)
3575
- ), Da = (
3575
+ ), ka = (
3576
3576
  /** @class */
3577
3577
  function(e) {
3578
- _e(t, e);
3578
+ ve(t, e);
3579
3579
  function t(n, a, r, i) {
3580
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(a, '". Options are "').concat(Object.keys(r).join('", "'), '"'), we.INVALID_VALUE, i) || this;
3580
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(a, '". Options are "').concat(Object.keys(r).join('", "'), '"'), Me.INVALID_VALUE, i) || this;
3581
3581
  }
3582
3582
  return t;
3583
3583
  }(Fe)
3584
3584
  ), ds = (
3585
3585
  /** @class */
3586
3586
  function(e) {
3587
- _e(t, e);
3587
+ ve(t, e);
3588
3588
  function t(n, a, r) {
3589
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(a), we.INVALID_VALUE, r) || this;
3589
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(a), Me.INVALID_VALUE, r) || this;
3590
3590
  }
3591
3591
  return t;
3592
3592
  }(Fe)
3593
3593
  ), ps = (
3594
3594
  /** @class */
3595
3595
  function(e) {
3596
- _e(t, e);
3596
+ ve(t, e);
3597
3597
  function t(n, a) {
3598
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(a, '"'), we.MISSING_VALUE, a) || this;
3598
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(a, '"'), Me.MISSING_VALUE, a) || this;
3599
3599
  }
3600
3600
  return t;
3601
3601
  }(Fe)
@@ -3640,7 +3640,7 @@ function zt(e, t, n, a, r, i, o) {
3640
3640
  if (!(r && c in r))
3641
3641
  throw new ps(c, o);
3642
3642
  var d = r[c];
3643
- if (Do(m)) {
3643
+ if (ko(m)) {
3644
3644
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), s.push({
3645
3645
  type: typeof d == "string" ? ie.literal : ie.object,
3646
3646
  value: d
@@ -3672,10 +3672,10 @@ function zt(e, t, n, a, r, i, o) {
3672
3672
  continue;
3673
3673
  }
3674
3674
  if (oi(m)) {
3675
- var g = m.children, v = m.value, b = r[v];
3675
+ var g = m.children, _ = m.value, b = r[_];
3676
3676
  if (!hi(b))
3677
- throw new ds(v, "function", o);
3678
- var _ = zt(g, t, n, a, r, i), x = b(_.map(function(y) {
3677
+ throw new ds(_, "function", o);
3678
+ var v = zt(g, t, n, a, r, i), x = b(v.map(function(y) {
3679
3679
  return y.value;
3680
3680
  }));
3681
3681
  Array.isArray(x) || (x = [x]), s.push.apply(s, x.map(function(y) {
@@ -3688,7 +3688,7 @@ function zt(e, t, n, a, r, i, o) {
3688
3688
  if (ri(m)) {
3689
3689
  var E = m.options[d] || m.options.other;
3690
3690
  if (!E)
3691
- throw new Da(m.value, d, Object.keys(m.options), o);
3691
+ throw new ka(m.value, d, Object.keys(m.options), o);
3692
3692
  s.push.apply(s, zt(E.value, t, n, a, r));
3693
3693
  continue;
3694
3694
  }
@@ -3698,12 +3698,12 @@ function zt(e, t, n, a, r, i, o) {
3698
3698
  if (!Intl.PluralRules)
3699
3699
  throw new Fe(`Intl.PluralRules is not available in this environment.
3700
3700
  Try polyfilling it using "@formatjs/intl-pluralrules"
3701
- `, we.MISSING_INTL_API, o);
3701
+ `, Me.MISSING_INTL_API, o);
3702
3702
  var N = n.getPluralRules(t, { type: m.pluralType }).select(d - (m.offset || 0));
3703
3703
  E = m.options[N] || m.options.other;
3704
3704
  }
3705
3705
  if (!E)
3706
- throw new Da(m.value, d, Object.keys(m.options), o);
3706
+ throw new ka(m.value, d, Object.keys(m.options), o);
3707
3707
  s.push.apply(s, zt(E.value, t, n, a, r, d - (m.offset || 0)));
3708
3708
  continue;
3709
3709
  }
@@ -3734,7 +3734,7 @@ function tn(e) {
3734
3734
  }
3735
3735
  };
3736
3736
  }
3737
- function _s(e) {
3737
+ function vs(e) {
3738
3738
  return e === void 0 && (e = {
3739
3739
  number: {},
3740
3740
  dateTime: {},
@@ -3804,7 +3804,7 @@ var gi = (
3804
3804
  this.ast = t;
3805
3805
  if (!Array.isArray(this.ast))
3806
3806
  throw new TypeError("A message must be provided as a String or AST.");
3807
- this.formats = ys(e.formats, a), this.formatters = r && r.formatters || _s(this.formatterCache);
3807
+ this.formats = ys(e.formats, a), this.formatters = r && r.formatters || vs(this.formatterCache);
3808
3808
  }
3809
3809
  return Object.defineProperty(e, "defaultLocale", {
3810
3810
  get: function() {
@@ -3884,7 +3884,7 @@ var gi = (
3884
3884
  var It = (
3885
3885
  /** @class */
3886
3886
  function(e) {
3887
- _e(t, e);
3887
+ ve(t, e);
3888
3888
  function t(n, a, r) {
3889
3889
  var i = this, o = r ? r instanceof Error ? r : new Error(String(r)) : void 0;
3890
3890
  return i = e.call(this, "[@formatjs/intl Error ".concat(n, "] ").concat(a, `
@@ -3894,10 +3894,10 @@ var It = (
3894
3894
  }
3895
3895
  return t;
3896
3896
  }(Error)
3897
- ), vs = (
3897
+ ), _s = (
3898
3898
  /** @class */
3899
3899
  function(e) {
3900
- _e(t, e);
3900
+ ve(t, e);
3901
3901
  function t(n, a) {
3902
3902
  return e.call(this, je.UNSUPPORTED_FORMATTER, n, a) || this;
3903
3903
  }
@@ -3906,7 +3906,7 @@ var It = (
3906
3906
  ), bs = (
3907
3907
  /** @class */
3908
3908
  function(e) {
3909
- _e(t, e);
3909
+ ve(t, e);
3910
3910
  function t(n, a) {
3911
3911
  return e.call(this, je.INVALID_CONFIG, n, a) || this;
3912
3912
  }
@@ -3915,16 +3915,16 @@ var It = (
3915
3915
  ), Fa = (
3916
3916
  /** @class */
3917
3917
  function(e) {
3918
- _e(t, e);
3918
+ ve(t, e);
3919
3919
  function t(n, a) {
3920
3920
  return e.call(this, je.MISSING_DATA, n, a) || this;
3921
3921
  }
3922
3922
  return t;
3923
3923
  }(It)
3924
- ), ve = (
3924
+ ), _e = (
3925
3925
  /** @class */
3926
3926
  function(e) {
3927
- _e(t, e);
3927
+ ve(t, e);
3928
3928
  function t(n, a, r) {
3929
3929
  var i = e.call(this, je.FORMAT_ERROR, "".concat(n, `
3930
3930
  Locale: `).concat(a, `
@@ -3936,7 +3936,7 @@ Locale: `).concat(a, `
3936
3936
  ), nn = (
3937
3937
  /** @class */
3938
3938
  function(e) {
3939
- _e(t, e);
3939
+ ve(t, e);
3940
3940
  function t(n, a, r, i) {
3941
3941
  var o = e.call(this, "".concat(n, `
3942
3942
  MessageID: `).concat(r == null ? void 0 : r.id, `
@@ -3946,11 +3946,11 @@ Description: `).concat(r == null ? void 0 : r.description, `
3946
3946
  return o.descriptor = r, o.locale = a, o;
3947
3947
  }
3948
3948
  return t;
3949
- }(ve)
3949
+ }(_e)
3950
3950
  ), Es = (
3951
3951
  /** @class */
3952
3952
  function(e) {
3953
- _e(t, e);
3953
+ ve(t, e);
3954
3954
  function t(n, a) {
3955
3955
  var r = e.call(this, je.MISSING_TRANSLATION, 'Missing message: "'.concat(n.id, '" for locale "').concat(a, '", using ').concat(n.defaultMessage ? "default message (".concat(typeof n.defaultMessage == "string" ? n.defaultMessage : n.defaultMessage.map(function(i) {
3956
3956
  var o;
@@ -3978,7 +3978,7 @@ var xs = function(e) {
3978
3978
  onError: xs,
3979
3979
  onWarn: Cs
3980
3980
  };
3981
- function _i() {
3981
+ function vi() {
3982
3982
  return {
3983
3983
  dateTime: {},
3984
3984
  number: {},
@@ -4004,7 +4004,7 @@ function Be(e) {
4004
4004
  };
4005
4005
  }
4006
4006
  function Ss(e) {
4007
- e === void 0 && (e = _i());
4007
+ e === void 0 && (e = vi());
4008
4008
  var t = Intl.RelativeTimeFormat, n = Intl.ListFormat, a = Intl.DisplayNames, r = se(function() {
4009
4009
  for (var s, l = [], u = 0; u < arguments.length; u++)
4010
4010
  l[u] = arguments[u];
@@ -4071,9 +4071,9 @@ function Kn(e, t, n, a) {
4071
4071
  var r = e && e[t], i;
4072
4072
  if (r && (i = r[n]), i)
4073
4073
  return i;
4074
- a(new vs("No ".concat(t, " format named: ").concat(n)));
4074
+ a(new _s("No ".concat(t, " format named: ").concat(n)));
4075
4075
  }
4076
- function Dt(e, t) {
4076
+ function kt(e, t) {
4077
4077
  return Object.keys(e).reduce(function(n, a) {
4078
4078
  return n[a] = C({ timeZone: t }, e[a]), n;
4079
4079
  }, {});
@@ -4088,50 +4088,50 @@ function Ua(e, t) {
4088
4088
  if (!t)
4089
4089
  return e;
4090
4090
  var n = gi.formats;
4091
- return C(C(C({}, n), e), { date: Ba(Dt(n.date, t), Dt(e.date || {}, t)), time: Ba(Dt(n.time, t), Dt(e.time || {}, t)) });
4091
+ return C(C(C({}, n), e), { date: Ba(kt(n.date, t), kt(e.date || {}, t)), time: Ba(kt(n.time, t), kt(e.time || {}, t)) });
4092
4092
  }
4093
4093
  var Cn = function(e, t, n, a, r) {
4094
4094
  var i = e.locale, o = e.formats, s = e.messages, l = e.defaultLocale, u = e.defaultFormats, m = e.fallbackOnEmptyString, c = e.onError, d = e.timeZone, p = e.defaultRichTextElements;
4095
4095
  n === void 0 && (n = { id: "" });
4096
- var g = n.id, v = n.defaultMessage;
4096
+ var g = n.id, _ = n.defaultMessage;
4097
4097
  ei(!!g, "[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");
4098
- var b = String(g), _ = (
4098
+ var b = String(g), v = (
4099
4099
  // In case messages is Object.create(null)
4100
4100
  // e.g import('foo.json') from webpack)
4101
4101
  // See https://github.com/formatjs/formatjs/issues/1914
4102
4102
  s && Object.prototype.hasOwnProperty.call(s, b) && s[b]
4103
4103
  );
4104
- if (Array.isArray(_) && _.length === 1 && _[0].type === G.literal)
4105
- return _[0].value;
4106
- if (!a && _ && typeof _ == "string" && !p)
4107
- return _.replace(/'\{(.*?)\}'/gi, "{$1}");
4108
- if (a = C(C({}, p), a || {}), o = Ua(o, d), u = Ua(u, d), !_) {
4109
- if (m === !1 && _ === "")
4110
- return _;
4111
- if ((!v || i && i.toLowerCase() !== l.toLowerCase()) && c(new Es(n, i)), v)
4104
+ if (Array.isArray(v) && v.length === 1 && v[0].type === G.literal)
4105
+ return v[0].value;
4106
+ if (!a && v && typeof v == "string" && !p)
4107
+ return v.replace(/'\{(.*?)\}'/gi, "{$1}");
4108
+ if (a = C(C({}, p), a || {}), o = Ua(o, d), u = Ua(u, d), !v) {
4109
+ if (m === !1 && v === "")
4110
+ return v;
4111
+ if ((!_ || i && i.toLowerCase() !== l.toLowerCase()) && c(new Es(n, i)), _)
4112
4112
  try {
4113
- var x = t.getMessageFormat(v, l, u, r);
4113
+ var x = t.getMessageFormat(_, l, u, r);
4114
4114
  return x.format(a);
4115
4115
  } catch (E) {
4116
- return c(new nn('Error formatting default message for: "'.concat(b, '", rendering default message verbatim'), i, n, E)), typeof v == "string" ? v : b;
4116
+ return c(new nn('Error formatting default message for: "'.concat(b, '", rendering default message verbatim'), i, n, E)), typeof _ == "string" ? _ : b;
4117
4117
  }
4118
4118
  return b;
4119
4119
  }
4120
4120
  try {
4121
- var x = t.getMessageFormat(_, i, o, C({ formatters: t }, r || {}));
4121
+ var x = t.getMessageFormat(v, i, o, C({ formatters: t }, r || {}));
4122
4122
  return x.format(a);
4123
4123
  } catch (E) {
4124
- c(new nn('Error formatting message: "'.concat(b, '", using ').concat(v ? "default message" : "id", " as fallback."), i, n, E));
4124
+ c(new nn('Error formatting message: "'.concat(b, '", using ').concat(_ ? "default message" : "id", " as fallback."), i, n, E));
4125
4125
  }
4126
- if (v)
4126
+ if (_)
4127
4127
  try {
4128
- var x = t.getMessageFormat(v, l, u, r);
4128
+ var x = t.getMessageFormat(_, l, u, r);
4129
4129
  return x.format(a);
4130
4130
  } catch (E) {
4131
4131
  c(new nn('Error formatting the default message for: "'.concat(b, '", rendering message verbatim'), i, n, E));
4132
4132
  }
4133
- return typeof _ == "string" ? _ : typeof v == "string" ? v : b;
4134
- }, vi = [
4133
+ return typeof v == "string" ? v : typeof _ == "string" ? _ : b;
4134
+ }, _i = [
4135
4135
  "formatMatcher",
4136
4136
  "timeZone",
4137
4137
  "hour12",
@@ -4155,7 +4155,7 @@ var Cn = function(e, t, n, a, r) {
4155
4155
  function Xt(e, t, n, a) {
4156
4156
  var r = e.locale, i = e.formats, o = e.onError, s = e.timeZone;
4157
4157
  a === void 0 && (a = {});
4158
- var l = a.format, u = C(C({}, s && { timeZone: s }), l && Kn(i, t, l, o)), m = Ze(a, vi, u);
4158
+ var l = a.format, u = C(C({}, s && { timeZone: s }), l && Kn(i, t, l, o)), m = Ze(a, _i, u);
4159
4159
  return t === "time" && !m.hour && !m.minute && !m.second && !m.timeStyle && !m.dateStyle && (m = C(C({}, m), { hour: "numeric", minute: "numeric" })), n(r, m);
4160
4160
  }
4161
4161
  function As(e, t) {
@@ -4165,7 +4165,7 @@ function As(e, t) {
4165
4165
  try {
4166
4166
  return Xt(e, "date", t, o).format(s);
4167
4167
  } catch (l) {
4168
- e.onError(new ve("Error formatting date.", e.locale, l));
4168
+ e.onError(new _e("Error formatting date.", e.locale, l));
4169
4169
  }
4170
4170
  return String(s);
4171
4171
  }
@@ -4176,40 +4176,40 @@ function Ts(e, t) {
4176
4176
  try {
4177
4177
  return Xt(e, "time", t, o).format(s);
4178
4178
  } catch (l) {
4179
- e.onError(new ve("Error formatting time.", e.locale, l));
4179
+ e.onError(new _e("Error formatting time.", e.locale, l));
4180
4180
  }
4181
4181
  return String(s);
4182
4182
  }
4183
4183
  function Is(e, t) {
4184
4184
  for (var n = [], a = 2; a < arguments.length; a++)
4185
4185
  n[a - 2] = arguments[a];
4186
- var r = n[0], i = n[1], o = n[2], s = o === void 0 ? {} : o, l = e.timeZone, u = e.locale, m = e.onError, c = Ze(s, vi, l ? { timeZone: l } : {});
4186
+ var r = n[0], i = n[1], o = n[2], s = o === void 0 ? {} : o, l = e.timeZone, u = e.locale, m = e.onError, c = Ze(s, _i, l ? { timeZone: l } : {});
4187
4187
  try {
4188
4188
  return t(u, c).formatRange(r, i);
4189
4189
  } catch (d) {
4190
- m(new ve("Error formatting date time range.", e.locale, d));
4190
+ m(new _e("Error formatting date time range.", e.locale, d));
4191
4191
  }
4192
4192
  return String(r);
4193
4193
  }
4194
- function ws(e, t) {
4194
+ function Ms(e, t) {
4195
4195
  for (var n = [], a = 2; a < arguments.length; a++)
4196
4196
  n[a - 2] = arguments[a];
4197
4197
  var r = n[0], i = n[1], o = i === void 0 ? {} : i, s = typeof r == "string" ? new Date(r || 0) : r;
4198
4198
  try {
4199
4199
  return Xt(e, "date", t, o).formatToParts(s);
4200
4200
  } catch (l) {
4201
- e.onError(new ve("Error formatting date.", e.locale, l));
4201
+ e.onError(new _e("Error formatting date.", e.locale, l));
4202
4202
  }
4203
4203
  return [];
4204
4204
  }
4205
- function Ms(e, t) {
4205
+ function ws(e, t) {
4206
4206
  for (var n = [], a = 2; a < arguments.length; a++)
4207
4207
  n[a - 2] = arguments[a];
4208
4208
  var r = n[0], i = n[1], o = i === void 0 ? {} : i, s = typeof r == "string" ? new Date(r || 0) : r;
4209
4209
  try {
4210
4210
  return Xt(e, "time", t, o).formatToParts(s);
4211
4211
  } catch (l) {
4212
- e.onError(new ve("Error formatting time.", e.locale, l));
4212
+ e.onError(new _e("Error formatting time.", e.locale, l));
4213
4213
  }
4214
4214
  return [];
4215
4215
  }
@@ -4223,12 +4223,12 @@ function Os(e, t, n, a) {
4223
4223
  var r = e.locale, i = e.onError, o = Intl.DisplayNames;
4224
4224
  o || i(new Fe(`Intl.DisplayNames is not available in this environment.
4225
4225
  Try polyfilling it using "@formatjs/intl-displaynames"
4226
- `, we.MISSING_INTL_API));
4226
+ `, Me.MISSING_INTL_API));
4227
4227
  var s = Ze(a, Ns);
4228
4228
  try {
4229
4229
  return t(r, s).of(n);
4230
4230
  } catch (l) {
4231
- i(new ve("Error formatting display name.", r, l));
4231
+ i(new _e("Error formatting display name.", r, l));
4232
4232
  }
4233
4233
  }
4234
4234
  var Ps = [
@@ -4252,7 +4252,7 @@ function bi(e, t, n, a) {
4252
4252
  var o = Intl.ListFormat;
4253
4253
  o || i(new Fe(`Intl.ListFormat is not available in this environment.
4254
4254
  Try polyfilling it using "@formatjs/intl-listformat"
4255
- `, we.MISSING_INTL_API));
4255
+ `, Me.MISSING_INTL_API));
4256
4256
  var s = Ze(a, Ps);
4257
4257
  try {
4258
4258
  var l = {}, u = n.map(function(m, c) {
@@ -4266,29 +4266,29 @@ Try polyfilling it using "@formatjs/intl-listformat"
4266
4266
  return m.type === "literal" ? m : C(C({}, m), { value: l[m.value] || m.value });
4267
4267
  });
4268
4268
  } catch (m) {
4269
- i(new ve("Error formatting list.", r, m));
4269
+ i(new _e("Error formatting list.", r, m));
4270
4270
  }
4271
4271
  return n;
4272
4272
  }
4273
4273
  var Hs = ["type"];
4274
- function ks(e, t, n, a) {
4274
+ function Ds(e, t, n, a) {
4275
4275
  var r = e.locale, i = e.onError;
4276
4276
  a === void 0 && (a = {}), Intl.PluralRules || i(new Fe(`Intl.PluralRules is not available in this environment.
4277
4277
  Try polyfilling it using "@formatjs/intl-pluralrules"
4278
- `, we.MISSING_INTL_API));
4278
+ `, Me.MISSING_INTL_API));
4279
4279
  var o = Ze(a, Hs);
4280
4280
  try {
4281
4281
  return t(r, o).select(n);
4282
4282
  } catch (s) {
4283
- i(new ve("Error formatting plural.", r, s));
4283
+ i(new _e("Error formatting plural.", r, s));
4284
4284
  }
4285
4285
  return "other";
4286
4286
  }
4287
- var Ds = ["numeric", "style"];
4287
+ var ks = ["numeric", "style"];
4288
4288
  function Fs(e, t, n) {
4289
4289
  var a = e.locale, r = e.formats, i = e.onError;
4290
4290
  n === void 0 && (n = {});
4291
- var o = n.format, s = !!o && Kn(r, "relative", o, i) || {}, l = Ze(n, Ds, s);
4291
+ var o = n.format, s = !!o && Kn(r, "relative", o, i) || {}, l = Ze(n, ks, s);
4292
4292
  return t(a, l);
4293
4293
  }
4294
4294
  function Bs(e, t, n, a, r) {
@@ -4296,11 +4296,11 @@ function Bs(e, t, n, a, r) {
4296
4296
  var i = Intl.RelativeTimeFormat;
4297
4297
  i || e.onError(new Fe(`Intl.RelativeTimeFormat is not available in this environment.
4298
4298
  Try polyfilling it using "@formatjs/intl-relativetimeformat"
4299
- `, we.MISSING_INTL_API));
4299
+ `, Me.MISSING_INTL_API));
4300
4300
  try {
4301
4301
  return Fs(e, t, r).format(n, a);
4302
4302
  } catch (o) {
4303
- e.onError(new ve("Error formatting relative time.", e.locale, o));
4303
+ e.onError(new _e("Error formatting relative time.", e.locale, o));
4304
4304
  }
4305
4305
  return String(n);
4306
4306
  }
@@ -4341,7 +4341,7 @@ function $s(e, t, n, a) {
4341
4341
  try {
4342
4342
  return Ei(e, t, a).format(n);
4343
4343
  } catch (r) {
4344
- e.onError(new ve("Error formatting number.", e.locale, r));
4344
+ e.onError(new _e("Error formatting number.", e.locale, r));
4345
4345
  }
4346
4346
  return String(n);
4347
4347
  }
@@ -4350,7 +4350,7 @@ function Gs(e, t, n, a) {
4350
4350
  try {
4351
4351
  return Ei(e, t, a).formatToParts(n);
4352
4352
  } catch (r) {
4353
- e.onError(new ve("Error formatting number.", e.locale, r));
4353
+ e.onError(new _e("Error formatting number.", e.locale, r));
4354
4354
  }
4355
4355
  return [];
4356
4356
  }
@@ -4371,11 +4371,11 @@ function js(e, t) {
4371
4371
  formatNumberToParts: Gs.bind(null, a, n.getNumberFormat),
4372
4372
  formatRelativeTime: Bs.bind(null, a, n.getRelativeTimeFormat),
4373
4373
  formatDate: As.bind(null, a, n.getDateTimeFormat),
4374
- formatDateToParts: ws.bind(null, a, n.getDateTimeFormat),
4374
+ formatDateToParts: Ms.bind(null, a, n.getDateTimeFormat),
4375
4375
  formatTime: Ts.bind(null, a, n.getDateTimeFormat),
4376
4376
  formatDateTimeRange: Is.bind(null, a, n.getDateTimeFormat),
4377
- formatTimeToParts: Ms.bind(null, a, n.getDateTimeFormat),
4378
- formatPlural: ks.bind(null, a, n.getPluralRules),
4377
+ formatTimeToParts: ws.bind(null, a, n.getDateTimeFormat),
4378
+ formatPlural: Ds.bind(null, a, n.getPluralRules),
4379
4379
  // @ts-expect-error TODO: will get to this later
4380
4380
  formatMessage: Cn.bind(null, a, n),
4381
4381
  // @ts-expect-error TODO: will get to this later
@@ -4409,7 +4409,7 @@ function Sn(e, t) {
4409
4409
  }
4410
4410
  return !0;
4411
4411
  }
4412
- function wt(e) {
4412
+ function Mt(e) {
4413
4413
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4414
4414
  }
4415
4415
  function Si(e) {
@@ -4431,7 +4431,7 @@ function Si(e) {
4431
4431
  });
4432
4432
  }), n;
4433
4433
  }
4434
- var Ai = { exports: {} }, D = {};
4434
+ var Ai = { exports: {} }, k = {};
4435
4435
  /** @license React v16.13.1
4436
4436
  * react-is.production.min.js
4437
4437
  *
@@ -4442,13 +4442,13 @@ var Ai = { exports: {} }, D = {};
4442
4442
  */
4443
4443
  var Ga;
4444
4444
  function qs() {
4445
- if (Ga) return D;
4445
+ if (Ga) return k;
4446
4446
  Ga = 1;
4447
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
4447
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, _ = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
4448
4448
  function E(y) {
4449
4449
  if (typeof y == "object" && y !== null) {
4450
- var w = y.$$typeof;
4451
- switch (w) {
4450
+ var M = y.$$typeof;
4451
+ switch (M) {
4452
4452
  case t:
4453
4453
  switch (y = y.type, y) {
4454
4454
  case l:
@@ -4467,44 +4467,44 @@ function qs() {
4467
4467
  case o:
4468
4468
  return y;
4469
4469
  default:
4470
- return w;
4470
+ return M;
4471
4471
  }
4472
4472
  }
4473
4473
  case n:
4474
- return w;
4474
+ return M;
4475
4475
  }
4476
4476
  }
4477
4477
  }
4478
4478
  function N(y) {
4479
4479
  return E(y) === u;
4480
4480
  }
4481
- return D.AsyncMode = l, D.ConcurrentMode = u, D.ContextConsumer = s, D.ContextProvider = o, D.Element = t, D.ForwardRef = m, D.Fragment = a, D.Lazy = g, D.Memo = p, D.Portal = n, D.Profiler = i, D.StrictMode = r, D.Suspense = c, D.isAsyncMode = function(y) {
4481
+ return k.AsyncMode = l, k.ConcurrentMode = u, k.ContextConsumer = s, k.ContextProvider = o, k.Element = t, k.ForwardRef = m, k.Fragment = a, k.Lazy = g, k.Memo = p, k.Portal = n, k.Profiler = i, k.StrictMode = r, k.Suspense = c, k.isAsyncMode = function(y) {
4482
4482
  return N(y) || E(y) === l;
4483
- }, D.isConcurrentMode = N, D.isContextConsumer = function(y) {
4483
+ }, k.isConcurrentMode = N, k.isContextConsumer = function(y) {
4484
4484
  return E(y) === s;
4485
- }, D.isContextProvider = function(y) {
4485
+ }, k.isContextProvider = function(y) {
4486
4486
  return E(y) === o;
4487
- }, D.isElement = function(y) {
4487
+ }, k.isElement = function(y) {
4488
4488
  return typeof y == "object" && y !== null && y.$$typeof === t;
4489
- }, D.isForwardRef = function(y) {
4489
+ }, k.isForwardRef = function(y) {
4490
4490
  return E(y) === m;
4491
- }, D.isFragment = function(y) {
4491
+ }, k.isFragment = function(y) {
4492
4492
  return E(y) === a;
4493
- }, D.isLazy = function(y) {
4493
+ }, k.isLazy = function(y) {
4494
4494
  return E(y) === g;
4495
- }, D.isMemo = function(y) {
4495
+ }, k.isMemo = function(y) {
4496
4496
  return E(y) === p;
4497
- }, D.isPortal = function(y) {
4497
+ }, k.isPortal = function(y) {
4498
4498
  return E(y) === n;
4499
- }, D.isProfiler = function(y) {
4499
+ }, k.isProfiler = function(y) {
4500
4500
  return E(y) === i;
4501
- }, D.isStrictMode = function(y) {
4501
+ }, k.isStrictMode = function(y) {
4502
4502
  return E(y) === r;
4503
- }, D.isSuspense = function(y) {
4503
+ }, k.isSuspense = function(y) {
4504
4504
  return E(y) === c;
4505
- }, D.isValidElementType = function(y) {
4506
- return typeof y == "string" || typeof y == "function" || y === a || y === u || y === i || y === r || y === c || y === d || typeof y == "object" && y !== null && (y.$$typeof === g || y.$$typeof === p || y.$$typeof === o || y.$$typeof === s || y.$$typeof === m || y.$$typeof === b || y.$$typeof === _ || y.$$typeof === x || y.$$typeof === v);
4507
- }, D.typeOf = E, D;
4505
+ }, k.isValidElementType = function(y) {
4506
+ return typeof y == "string" || typeof y == "function" || y === a || y === u || y === i || y === r || y === c || y === d || typeof y == "object" && y !== null && (y.$$typeof === g || y.$$typeof === p || y.$$typeof === o || y.$$typeof === s || y.$$typeof === m || y.$$typeof === b || y.$$typeof === v || y.$$typeof === x || y.$$typeof === _);
4507
+ }, k.typeOf = E, k;
4508
4508
  }
4509
4509
  Ai.exports = qs();
4510
4510
  var Zs = Ai.exports, Ti = Zs, Xs = {
@@ -4538,14 +4538,14 @@ var Tn;
4538
4538
  (function(e) {
4539
4539
  e.formatDate = "FormattedDateParts", e.formatTime = "FormattedTimeParts", e.formatNumber = "FormattedNumberParts", e.formatList = "FormattedListParts";
4540
4540
  })(Tn || (Tn = {}));
4541
- function wi(e) {
4541
+ function Mi(e) {
4542
4542
  var t = function(n) {
4543
4543
  var a = he(), r = n.value, i = n.children, o = nt(n, ["value", "children"]), s = typeof r == "string" ? new Date(r || 0) : r, l = e === "formatDate" ? a.formatDateToParts(s, o) : a.formatTimeToParts(s, o);
4544
4544
  return i(l);
4545
4545
  };
4546
4546
  return t.displayName = Tn[e], t;
4547
4547
  }
4548
- function Mt(e) {
4548
+ function wt(e) {
4549
4549
  var t = function(n) {
4550
4550
  var a = he(), r = n.value, i = n.children, o = nt(
4551
4551
  n,
@@ -4558,7 +4558,7 @@ function Mt(e) {
4558
4558
  };
4559
4559
  return t.displayName = An[e], t;
4560
4560
  }
4561
- function Mi(e) {
4561
+ function wi(e) {
4562
4562
  return e && Object.keys(e).reduce(function(t, n) {
4563
4563
  var a = e[n];
4564
4564
  return t[n] = hi(a) ? Vs(a) : a, t;
@@ -4567,7 +4567,7 @@ function Mi(e) {
4567
4567
  var za = function(e, t, n, a) {
4568
4568
  for (var r = [], i = 4; i < arguments.length; i++)
4569
4569
  r[i - 4] = arguments[i];
4570
- var o = Mi(a), s = Cn.apply(void 0, ce([
4570
+ var o = wi(a), s = Cn.apply(void 0, ce([
4571
4571
  e,
4572
4572
  t,
4573
4573
  n,
@@ -4575,7 +4575,7 @@ var za = function(e, t, n, a) {
4575
4575
  ], r, !1));
4576
4576
  return Array.isArray(s) ? At.toArray(s) : s;
4577
4577
  }, Wa = function(e, t) {
4578
- var n = e.defaultRichTextElements, a = nt(e, ["defaultRichTextElements"]), r = Mi(n), i = js(C(C(C({}, Ci), a), { defaultRichTextElements: r }), t), o = {
4578
+ var n = e.defaultRichTextElements, a = nt(e, ["defaultRichTextElements"]), r = wi(n), i = js(C(C(C({}, Ci), a), { defaultRichTextElements: r }), t), o = {
4579
4579
  locale: i.locale,
4580
4580
  timeZone: i.timeZone,
4581
4581
  fallbackOnEmptyString: i.fallbackOnEmptyString,
@@ -4616,10 +4616,10 @@ function an(e) {
4616
4616
  var el = (
4617
4617
  /** @class */
4618
4618
  function(e) {
4619
- _e(t, e);
4619
+ ve(t, e);
4620
4620
  function t() {
4621
4621
  var n = e !== null && e.apply(this, arguments) || this;
4622
- return n.cache = _i(), n.state = {
4622
+ return n.cache = vi(), n.state = {
4623
4623
  cache: n.cache,
4624
4624
  intl: Wa(an(n.props), n.cache),
4625
4625
  prevConfig: an(n.props)
@@ -4634,7 +4634,7 @@ var el = (
4634
4634
  }, t.prototype.render = function() {
4635
4635
  return xi(this.state.intl), de(Ys, { value: this.state.intl }, this.props.children);
4636
4636
  }, t.displayName = "IntlProvider", t.defaultProps = Ci, t;
4637
- }(vt)
4637
+ }(_t)
4638
4638
  );
4639
4639
  function tl(e, t) {
4640
4640
  var n = e.values, a = nt(e, ["values"]), r = t.values, i = nt(t, ["values"]);
@@ -4647,15 +4647,15 @@ function Ni(e) {
4647
4647
  return typeof u == "function" ? u(Array.isArray(g) ? g : [g]) : c ? de(c, null, At.toArray(g)) : de(pe, null, g);
4648
4648
  }
4649
4649
  Ni.displayName = "FormattedMessage";
4650
- var L = jn(Ni, tl);
4651
- L.displayName = "MemoizedFormattedMessage";
4652
- var Oi = Mt("formatDate");
4653
- Mt("formatTime");
4654
- var Te = Mt("formatNumber");
4655
- Mt("formatList");
4656
- Mt("formatDisplayName");
4657
- wi("formatDate");
4658
- wi("formatTime");
4650
+ var H = jn(Ni, tl);
4651
+ H.displayName = "MemoizedFormattedMessage";
4652
+ var Oi = wt("formatDate");
4653
+ wt("formatTime");
4654
+ var Te = wt("formatNumber");
4655
+ wt("formatList");
4656
+ wt("formatDisplayName");
4657
+ Mi("formatDate");
4658
+ Mi("formatTime");
4659
4659
  const nl = {
4660
4660
  "accessibility.amex-card.aria-label": "American Express-Karte akzeptiert",
4661
4661
  "accessibility.animation-control-instructions": "Automatische Animation der Zahlungspläne aktiv. Bewegen Sie den Mauszeiger über oder navigieren Sie mit den Pfeiltasten, um die Animation zu stoppen.",
@@ -5068,7 +5068,7 @@ const nl = {
5068
5068
  ),
5069
5069
  0
5070
5070
  ).toString().replace("-", "A"), ml = (e) => Date.now() - e >= 36e5;
5071
- var fl = { BUILD_VERSION: "v4.0.12" };
5071
+ var fl = { BUILD_VERSION: "v4.1.0" };
5072
5072
  const dl = () => ({
5073
5073
  setCache: (i, o) => {
5074
5074
  const s = Date.now();
@@ -5128,7 +5128,7 @@ const hl = (e, t) => e.eligible && t ? e.purchase_amount >= (t == null ? void 0
5128
5128
  }) : e.filter(
5129
5129
  (n) => !(n.installments_count === 1 && n.deferred_days === 0 && n.deferred_months === 0)
5130
5130
  );
5131
- var _l = { BUILD_VERSION: "v4.0.12" };
5131
+ var vl = { BUILD_VERSION: "v4.1.0" };
5132
5132
  const Pi = (e, { domain: t, merchantId: n }, a, r, i) => {
5133
5133
  var E, N;
5134
5134
  const [o, s] = Q([]), [l, u] = Q(ue.PENDING), { getCache: m, setCache: c, createKey: d, clearCache: p } = dl(), g = d({
@@ -5138,7 +5138,7 @@ const Pi = (e, { domain: t, merchantId: n }, a, r, i) => {
5138
5138
  customerShippingCountry: i,
5139
5139
  domain: t,
5140
5140
  merchantId: n
5141
- }), v = (E = m(g)) == null ? void 0 : E.value, b = (N = m(g)) == null ? void 0 : N.timestamp, _ = b && ml(b), x = a == null ? void 0 : a.map((y) => ({
5141
+ }), _ = (E = m(g)) == null ? void 0 : E.value, b = (N = m(g)) == null ? void 0 : N.timestamp, v = b && ml(b), x = a == null ? void 0 : a.map((y) => ({
5142
5142
  installments_count: y.installmentsCount,
5143
5143
  deferred_days: y == null ? void 0 : y.deferredDays,
5144
5144
  deferred_months: y == null ? void 0 : y.deferredMonths
@@ -5149,19 +5149,19 @@ const Pi = (e, { domain: t, merchantId: n }, a, r, i) => {
5149
5149
  r && (y = {
5150
5150
  country: r
5151
5151
  });
5152
- let w = null;
5153
- i && (w = {
5152
+ let M = null;
5153
+ i && (M = {
5154
5154
  country: i
5155
- }), v && !_ && (s(v), u(ue.SUCCESS)), _ && p(), v || pl(
5155
+ }), _ && !v && (s(_), u(ue.SUCCESS)), v && p(), _ || pl(
5156
5156
  {
5157
5157
  purchase_amount: e,
5158
5158
  queries: x,
5159
5159
  billing_address: y,
5160
- shipping_address: w
5160
+ shipping_address: M
5161
5161
  },
5162
5162
  {
5163
5163
  Authorization: `Alma-Merchant-Auth ${n}`,
5164
- "X-Alma-Agent": `Alma Widget/${_l.BUILD_VERSION}`
5164
+ "X-Alma-Agent": `Alma Widget/${vl.BUILD_VERSION}`
5165
5165
  },
5166
5166
  `${t}/v2/payments/eligibility`
5167
5167
  ).then((z) => {
@@ -5176,8 +5176,8 @@ const Pi = (e, { domain: t, merchantId: n }, a, r, i) => {
5176
5176
  g,
5177
5177
  r,
5178
5178
  i,
5179
- v,
5180
5179
  _,
5180
+ v,
5181
5181
  x,
5182
5182
  n,
5183
5183
  t,
@@ -5188,7 +5188,7 @@ const Pi = (e, { domain: t, merchantId: n }, a, r, i) => {
5188
5188
  var Yn = {};
5189
5189
  Yn.match = Sl;
5190
5190
  Yn.parse = Ri;
5191
- var vl = /(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i, bl = /\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/, El = /^(?:(min|max)-)?(.+)/, xl = /(em|rem|px|cm|mm|in|pt|pc)?$/, Cl = /(dpi|dpcm|dppx)?$/;
5191
+ var _l = /(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i, bl = /\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/, El = /^(?:(min|max)-)?(.+)/, xl = /(em|rem|px|cm|mm|in|pt|pc)?$/, Cl = /(dpi|dpcm|dppx)?$/;
5192
5192
  function Sl(e, t) {
5193
5193
  return Ri(e).some(function(n) {
5194
5194
  var a = n.inverse, r = n.type === "all" || t.type === n.type;
@@ -5239,7 +5239,7 @@ function Sl(e, t) {
5239
5239
  function Ri(e) {
5240
5240
  return e.split(",").map(function(t) {
5241
5241
  t = t.trim();
5242
- var n = t.match(vl), a = n[1], r = n[2], i = n[3] || "", o = {};
5242
+ var n = t.match(_l), a = n[1], r = n[2], i = n[3] || "", o = {};
5243
5243
  return o.inverse = !!a && a.toLowerCase() === "not", o.type = r ? r.toLowerCase() : "all", i = i.match(/\([^\)]+\)/g) || [], o.expressions = i.map(function(s) {
5244
5244
  var l = s.match(bl), u = l[1].toLowerCase().match(El);
5245
5245
  return {
@@ -5306,8 +5306,8 @@ function Tl(e, t, n) {
5306
5306
  function Il(e, t, n) {
5307
5307
  return new Tl(e, t, n);
5308
5308
  }
5309
- var wl = Il;
5310
- const Ml = /* @__PURE__ */ wt(wl);
5309
+ var Ml = Il;
5310
+ const wl = /* @__PURE__ */ Mt(Ml);
5311
5311
  var Nl = /[A-Z]/g, Ol = /^ms-/, rn = {};
5312
5312
  function Pl(e) {
5313
5313
  return "-" + e.toLowerCase();
@@ -5390,37 +5390,37 @@ function Hl() {
5390
5390
  }
5391
5391
  Hi.exports = Hl()();
5392
5392
  var Qn = Hi.exports;
5393
- const k = /* @__PURE__ */ wt(Qn), oe = k.oneOfType([k.string, k.number]), ki = {
5394
- all: k.bool,
5395
- grid: k.bool,
5396
- aural: k.bool,
5397
- braille: k.bool,
5398
- handheld: k.bool,
5399
- print: k.bool,
5400
- projection: k.bool,
5401
- screen: k.bool,
5402
- tty: k.bool,
5403
- tv: k.bool,
5404
- embossed: k.bool
5405
- }, kl = {
5406
- orientation: k.oneOf(["portrait", "landscape"]),
5407
- scan: k.oneOf(["progressive", "interlace"]),
5408
- aspectRatio: k.string,
5409
- deviceAspectRatio: k.string,
5393
+ const D = /* @__PURE__ */ Mt(Qn), oe = D.oneOfType([D.string, D.number]), Di = {
5394
+ all: D.bool,
5395
+ grid: D.bool,
5396
+ aural: D.bool,
5397
+ braille: D.bool,
5398
+ handheld: D.bool,
5399
+ print: D.bool,
5400
+ projection: D.bool,
5401
+ screen: D.bool,
5402
+ tty: D.bool,
5403
+ tv: D.bool,
5404
+ embossed: D.bool
5405
+ }, Dl = {
5406
+ orientation: D.oneOf(["portrait", "landscape"]),
5407
+ scan: D.oneOf(["progressive", "interlace"]),
5408
+ aspectRatio: D.string,
5409
+ deviceAspectRatio: D.string,
5410
5410
  height: oe,
5411
5411
  deviceHeight: oe,
5412
5412
  width: oe,
5413
5413
  deviceWidth: oe,
5414
- color: k.bool,
5415
- colorIndex: k.bool,
5416
- monochrome: k.bool,
5414
+ color: D.bool,
5415
+ colorIndex: D.bool,
5416
+ monochrome: D.bool,
5417
5417
  resolution: oe,
5418
- type: Object.keys(ki)
5419
- }, ua = kl, { type: Jm } = ua, Dl = Lt(ua, ["type"]), Fl = Ne({
5420
- minAspectRatio: k.string,
5421
- maxAspectRatio: k.string,
5422
- minDeviceAspectRatio: k.string,
5423
- maxDeviceAspectRatio: k.string,
5418
+ type: Object.keys(Di)
5419
+ }, ua = Dl, { type: Jm } = ua, kl = Lt(ua, ["type"]), Fl = Ne({
5420
+ minAspectRatio: D.string,
5421
+ maxAspectRatio: D.string,
5422
+ minDeviceAspectRatio: D.string,
5423
+ maxDeviceAspectRatio: D.string,
5424
5424
  minHeight: oe,
5425
5425
  maxHeight: oe,
5426
5426
  minDeviceHeight: oe,
@@ -5429,15 +5429,15 @@ const k = /* @__PURE__ */ wt(Qn), oe = k.oneOfType([k.string, k.number]), ki = {
5429
5429
  maxWidth: oe,
5430
5430
  minDeviceWidth: oe,
5431
5431
  maxDeviceWidth: oe,
5432
- minColor: k.number,
5433
- maxColor: k.number,
5434
- minColorIndex: k.number,
5435
- maxColorIndex: k.number,
5436
- minMonochrome: k.number,
5437
- maxMonochrome: k.number,
5432
+ minColor: D.number,
5433
+ maxColor: D.number,
5434
+ minColorIndex: D.number,
5435
+ maxColorIndex: D.number,
5436
+ minMonochrome: D.number,
5437
+ maxMonochrome: D.number,
5438
5438
  minResolution: oe,
5439
5439
  maxResolution: oe
5440
- }, Dl), Bl = Ne(Ne({}, ki), Fl);
5440
+ }, kl), Bl = Ne(Ne({}, Di), Fl);
5441
5441
  var Ul = {
5442
5442
  all: Bl
5443
5443
  };
@@ -5450,8 +5450,8 @@ const $l = (e) => `not ${e}`, Gl = (e, t) => {
5450
5450
  const a = e[n];
5451
5451
  a != null && t.push(Gl(n, a));
5452
5452
  }), zl(t);
5453
- }, jl = yt(void 0), Vl = (e) => e.query || Wl(e), Ya = (e) => e ? Object.keys(e).reduce((n, a) => (n[Li(a)] = e[a], n), {}) : void 0, Di = () => {
5454
- const e = De(!1);
5453
+ }, jl = yt(void 0), Vl = (e) => e.query || Wl(e), Ya = (e) => e ? Object.keys(e).reduce((n, a) => (n[Li(a)] = e[a], n), {}) : void 0, ki = () => {
5454
+ const e = ke(!1);
5455
5455
  return X(() => {
5456
5456
  e.current = !0;
5457
5457
  }, []), e.current;
@@ -5468,7 +5468,7 @@ const $l = (e) => `not ${e}`, Gl = (e, t) => {
5468
5468
  n !== r && a(r);
5469
5469
  }, [e]), n;
5470
5470
  }, Xl = (e, t) => {
5471
- const n = () => Ml(e, t || {}, !!t), [a, r] = Q(n), i = Di();
5471
+ const n = () => wl(e, t || {}, !!t), [a, r] = Q(n), i = ki();
5472
5472
  return X(() => {
5473
5473
  if (i) {
5474
5474
  const o = n();
@@ -5492,7 +5492,7 @@ const $l = (e) => `not ${e}`, Gl = (e, t) => {
5492
5492
  if (!r)
5493
5493
  throw new Error("Invalid or missing MediaQuery!");
5494
5494
  const i = Xl(r, a), o = Kl(i);
5495
- return Di(), X(() => {
5495
+ return ki(), X(() => {
5496
5496
  }, [o]), X(() => () => {
5497
5497
  i && i.dispose();
5498
5498
  }, []), o;
@@ -5534,7 +5534,7 @@ var Fi = { exports: {} };
5534
5534
  })();
5535
5535
  })(Fi);
5536
5536
  var Yl = Fi.exports;
5537
- const R = /* @__PURE__ */ wt(Yl), Ql = "_loadingIndicator_1fdeg_1", eu = {
5537
+ const R = /* @__PURE__ */ Mt(Yl), Ql = "_loadingIndicator_1fdeg_1", eu = {
5538
5538
  loadingIndicator: Ql
5539
5539
  }, tu = ({ className: e }) => /* @__PURE__ */ f.createElement("div", { className: R(eu.loadingIndicator, e), "data-testid": "loader" }, /* @__PURE__ */ f.createElement(
5540
5540
  "svg",
@@ -5593,10 +5593,10 @@ var Bi = { exports: {} };
5593
5593
  })();
5594
5594
  })(Bi);
5595
5595
  var nu = Bi.exports;
5596
- const Qa = /* @__PURE__ */ wt(nu);
5596
+ const Qa = /* @__PURE__ */ Mt(nu);
5597
5597
  var In = { exports: {} }, Ve = {};
5598
5598
  const ea = /* @__PURE__ */ Si(No);
5599
- var wn = { exports: {} }, Ce = {}, Mn = { exports: {} };
5599
+ var Mn = { exports: {} }, Ce = {}, wn = { exports: {} };
5600
5600
  (function(e, t) {
5601
5601
  Object.defineProperty(t, "__esModule", {
5602
5602
  value: !0
@@ -5623,7 +5623,7 @@ var wn = { exports: {} }, Ce = {}, Mn = { exports: {} };
5623
5623
  try {
5624
5624
  var p = window.getComputedStyle(c), g = p.getPropertyValue("display");
5625
5625
  return d ? g !== a && i(c, p) : g === n;
5626
- } catch (v) {
5626
+ } catch (_) {
5627
5627
  return console.warn("Failed to inspect element style"), !1;
5628
5628
  }
5629
5629
  }
@@ -5651,8 +5651,8 @@ var wn = { exports: {} }, Ce = {}, Mn = { exports: {} };
5651
5651
  return d.filter(u);
5652
5652
  }
5653
5653
  e.exports = t.default;
5654
- })(Mn, Mn.exports);
5655
- var Ui = Mn.exports;
5654
+ })(wn, wn.exports);
5655
+ var Ui = wn.exports;
5656
5656
  Object.defineProperty(Ce, "__esModule", {
5657
5657
  value: !0
5658
5658
  });
@@ -5739,10 +5739,10 @@ var On = { exports: {} };
5739
5739
  l.preventDefault(), m.focus();
5740
5740
  return;
5741
5741
  }
5742
- var v = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), b = v != null && v[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null;
5742
+ var _ = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), b = _ != null && _[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null;
5743
5743
  if (b) {
5744
- var _ = u.indexOf(g);
5745
- if (_ > -1 && (_ += c ? -1 : 1), m = u[_], typeof m == "undefined") {
5744
+ var v = u.indexOf(g);
5745
+ if (v > -1 && (v += c ? -1 : 1), m = u[v], typeof m == "undefined") {
5746
5746
  l.preventDefault(), m = c ? p : d, m.focus();
5747
5747
  return;
5748
5748
  }
@@ -5774,11 +5774,11 @@ Object.defineProperty(xe, "__esModule", {
5774
5774
  value: !0
5775
5775
  });
5776
5776
  xe.canUseDOM = xe.SafeNodeList = xe.SafeHTMLCollection = void 0;
5777
- var yu = gu, _u = vu(yu);
5778
- function vu(e) {
5777
+ var yu = gu, vu = _u(yu);
5778
+ function _u(e) {
5779
5779
  return e && e.__esModule ? e : { default: e };
5780
5780
  }
5781
- var Kt = _u.default, bu = Kt.canUseDOM ? window.HTMLElement : {};
5781
+ var Kt = vu.default, bu = Kt.canUseDOM ? window.HTMLElement : {};
5782
5782
  xe.SafeHTMLCollection = Kt.canUseDOM ? window.HTMLCollection : {};
5783
5783
  xe.SafeNodeList = Kt.canUseDOM ? window.NodeList : {};
5784
5784
  xe.canUseDOM = Kt.canUseDOM;
@@ -5791,8 +5791,8 @@ Se.log = Tu;
5791
5791
  Se.assertNodeList = Gi;
5792
5792
  Se.setElement = Iu;
5793
5793
  Se.validateElement = ta;
5794
- Se.hide = wu;
5795
- Se.show = Mu;
5794
+ Se.hide = Mu;
5795
+ Se.show = wu;
5796
5796
  Se.documentNotReadyOrSSRTesting = Nu;
5797
5797
  var Eu = hu, xu = Su(Eu), Cu = xe;
5798
5798
  function Su(e) {
@@ -5824,7 +5824,7 @@ function ta(e) {
5824
5824
  var t = e || ye;
5825
5825
  return t ? Array.isArray(t) || t instanceof HTMLCollection || t instanceof NodeList ? t : [t] : ((0, xu.default)(!1, ["react-modal: App element is not defined.", "Please use `Modal.setAppElement(el)` or set `appElement={el}`.", "This is needed so screen readers don't see main content", "when modal is opened. It is not recommended, but you can opt-out", "by setting `ariaHideApp={false}`."].join(" ")), []);
5826
5826
  }
5827
- function wu(e) {
5827
+ function Mu(e) {
5828
5828
  var t = !0, n = !1, a = void 0;
5829
5829
  try {
5830
5830
  for (var r = ta(e)[Symbol.iterator](), i; !(t = (i = r.next()).done); t = !0) {
@@ -5842,7 +5842,7 @@ function wu(e) {
5842
5842
  }
5843
5843
  }
5844
5844
  }
5845
- function Mu(e) {
5845
+ function wu(e) {
5846
5846
  var t = !0, n = !1, a = void 0;
5847
5847
  try {
5848
5848
  for (var r = ta(e)[Symbol.iterator](), i; !(t = (i = r.next()).done); t = !0) {
@@ -5892,7 +5892,7 @@ var Ru = function(t, n) {
5892
5892
  a.forEach(function(r) {
5893
5893
  Ru(n, r), t.add(r);
5894
5894
  });
5895
- }, ku = function(t, n, a) {
5895
+ }, Du = function(t, n, a) {
5896
5896
  a.forEach(function(r) {
5897
5897
  Lu(n, r), n[r] === 0 && t.remove(r);
5898
5898
  });
@@ -5901,7 +5901,7 @@ ot.add = function(t, n) {
5901
5901
  return Hu(t.classList, t.nodeName.toLowerCase() == "html" ? ft : dt, n.split(" "));
5902
5902
  };
5903
5903
  ot.remove = function(t, n) {
5904
- return ku(t.classList, t.nodeName.toLowerCase() == "html" ? ft : dt, n.split(" "));
5904
+ return Du(t.classList, t.nodeName.toLowerCase() == "html" ? ft : dt, n.split(" "));
5905
5905
  };
5906
5906
  var st = {};
5907
5907
  Object.defineProperty(st, "__esModule", {
@@ -5909,13 +5909,13 @@ Object.defineProperty(st, "__esModule", {
5909
5909
  });
5910
5910
  st.log = Fu;
5911
5911
  st.resetState = Bu;
5912
- function Du(e, t) {
5912
+ function ku(e, t) {
5913
5913
  if (!(e instanceof t))
5914
5914
  throw new TypeError("Cannot call a class as a function");
5915
5915
  }
5916
5916
  var zi = function e() {
5917
5917
  var t = this;
5918
- Du(this, e), this.register = function(n) {
5918
+ ku(this, e), this.register = function(n) {
5919
5919
  t.openInstances.indexOf(n) === -1 && (t.openInstances.push(n), t.emit("register"));
5920
5920
  }, this.deregister = function(n) {
5921
5921
  var a = t.openInstances.indexOf(n);
@@ -5999,7 +5999,7 @@ $u.default.subscribe(ju);
5999
5999
  return function(A, W, h) {
6000
6000
  return W && I(A.prototype, W), h && I(A, h), A;
6001
6001
  };
6002
- }(), i = ea, o = Qn, s = y(o), l = Ce, u = N(l), m = du, c = y(m), d = Se, p = N(d), g = ot, v = N(g), b = xe, _ = y(b), x = st, E = y(x);
6002
+ }(), i = ea, o = Qn, s = y(o), l = Ce, u = N(l), m = du, c = y(m), d = Se, p = N(d), g = ot, _ = N(g), b = xe, v = y(b), x = st, E = y(x);
6003
6003
  function N(I) {
6004
6004
  if (I && I.__esModule)
6005
6005
  return I;
@@ -6012,7 +6012,7 @@ $u.default.subscribe(ju);
6012
6012
  function y(I) {
6013
6013
  return I && I.__esModule ? I : { default: I };
6014
6014
  }
6015
- function w(I, A) {
6015
+ function M(I, A) {
6016
6016
  if (!(I instanceof A))
6017
6017
  throw new TypeError("Cannot call a class as a function");
6018
6018
  }
@@ -6033,10 +6033,10 @@ $u.default.subscribe(ju);
6033
6033
  return A.code === "Tab" || A.keyCode === 9;
6034
6034
  }, Y = function(A) {
6035
6035
  return A.code === "Escape" || A.keyCode === 27;
6036
- }, U = 0, Me = function(I) {
6036
+ }, U = 0, we = function(I) {
6037
6037
  ge(A, I);
6038
6038
  function A(W) {
6039
- w(this, A);
6039
+ M(this, A);
6040
6040
  var h = z(this, (A.__proto__ || Object.getPrototypeOf(A)).call(this, W));
6041
6041
  return h.setOverlayRef = function(S) {
6042
6042
  h.overlay = S, h.props.overlayRef && h.props.overlayRef(S);
@@ -6044,7 +6044,7 @@ $u.default.subscribe(ju);
6044
6044
  h.content = S, h.props.contentRef && h.props.contentRef(S);
6045
6045
  }, h.afterClose = function() {
6046
6046
  var S = h.props, K = S.appElement, ne = S.ariaHideApp, V = S.htmlOpenClassName, O = S.bodyOpenClassName, B = S.parentSelector, q = B && B().ownerDocument || document;
6047
- O && v.remove(q.body, O), V && v.remove(q.getElementsByTagName("html")[0], V), ne && U > 0 && (U -= 1, U === 0 && p.show(K)), h.props.shouldFocusAfterRender && (h.props.shouldReturnFocusAfterClose ? (u.returnFocus(h.props.preventScroll), u.teardownScopedFocus()) : u.popWithoutFocus()), h.props.onAfterClose && h.props.onAfterClose(), E.default.deregister(h);
6047
+ O && _.remove(q.body, O), V && _.remove(q.getElementsByTagName("html")[0], V), ne && U > 0 && (U -= 1, U === 0 && p.show(K)), h.props.shouldFocusAfterRender && (h.props.shouldReturnFocusAfterClose ? (u.returnFocus(h.props.preventScroll), u.teardownScopedFocus()) : u.popWithoutFocus()), h.props.onAfterClose && h.props.onAfterClose(), E.default.deregister(h);
6048
6048
  }, h.open = function() {
6049
6049
  h.beforeOpen(), h.state.afterOpen && h.state.beforeClose ? (clearTimeout(h.closeTimer), h.setState({ beforeClose: !1 })) : (h.props.shouldFocusAfterRender && (u.setupScopedFocus(h.node), u.markForFocusLater()), h.setState({ isOpen: !0 }, function() {
6050
6050
  h.openAnimationFrame = requestAnimationFrame(function() {
@@ -6125,7 +6125,7 @@ $u.default.subscribe(ju);
6125
6125
  key: "beforeOpen",
6126
6126
  value: function() {
6127
6127
  var h = this.props, S = h.appElement, K = h.ariaHideApp, ne = h.htmlOpenClassName, V = h.bodyOpenClassName, O = h.parentSelector, B = O && O().ownerDocument || document;
6128
- V && v.add(B.body, V), ne && v.add(B.getElementsByTagName("html")[0], ne), K && (U += 1, p.hide(S)), E.default.register(this);
6128
+ V && _.add(B.body, V), ne && _.add(B.getElementsByTagName("html")[0], ne), K && (U += 1, p.hide(S)), E.default.register(this);
6129
6129
  }
6130
6130
  // Don't steal focus from inner elements
6131
6131
  }, {
@@ -6159,13 +6159,13 @@ $u.default.subscribe(ju);
6159
6159
  }
6160
6160
  }]), A;
6161
6161
  }(i.Component);
6162
- Me.defaultProps = {
6162
+ we.defaultProps = {
6163
6163
  style: {
6164
6164
  overlay: {},
6165
6165
  content: {}
6166
6166
  },
6167
6167
  defaultStyles: {}
6168
- }, Me.propTypes = {
6168
+ }, we.propTypes = {
6169
6169
  isOpen: s.default.bool.isRequired,
6170
6170
  defaultStyles: s.default.shape({
6171
6171
  content: s.default.object,
@@ -6181,7 +6181,7 @@ $u.default.subscribe(ju);
6181
6181
  bodyOpenClassName: s.default.string,
6182
6182
  htmlOpenClassName: s.default.string,
6183
6183
  ariaHideApp: s.default.bool,
6184
- appElement: s.default.oneOfType([s.default.instanceOf(_.default), s.default.instanceOf(b.SafeHTMLCollection), s.default.instanceOf(b.SafeNodeList), s.default.arrayOf(s.default.instanceOf(_.default))]),
6184
+ appElement: s.default.oneOfType([s.default.instanceOf(v.default), s.default.instanceOf(b.SafeHTMLCollection), s.default.instanceOf(b.SafeNodeList), s.default.arrayOf(s.default.instanceOf(v.default))]),
6185
6185
  onAfterOpen: s.default.func,
6186
6186
  onAfterClose: s.default.func,
6187
6187
  onRequestClose: s.default.func,
@@ -6202,9 +6202,9 @@ $u.default.subscribe(ju);
6202
6202
  overlayElement: s.default.func,
6203
6203
  contentElement: s.default.func,
6204
6204
  testId: s.default.string
6205
- }, t.default = Me, e.exports = t.default;
6206
- })(wn, wn.exports);
6207
- var Vu = wn.exports;
6205
+ }, t.default = we, e.exports = t.default;
6206
+ })(Mn, Mn.exports);
6207
+ var Vu = Mn.exports;
6208
6208
  function Wi() {
6209
6209
  var e = this.constructor.getDerivedStateFromProps(this.props, this.state);
6210
6210
  e != null && this.setState(e);
@@ -6504,7 +6504,7 @@ Ve.default = Ot;
6504
6504
  t.default = a.default, e.exports = t.default;
6505
6505
  })(In, In.exports);
6506
6506
  var lc = In.exports;
6507
- const lr = /* @__PURE__ */ wt(lc);
6507
+ const lr = /* @__PURE__ */ Mt(lc);
6508
6508
  function uc({ color: e = "#fff", className: t }) {
6509
6509
  return /* @__PURE__ */ f.createElement(
6510
6510
  "svg",
@@ -6527,7 +6527,7 @@ function uc({ color: e = "#fff", className: t }) {
6527
6527
  )
6528
6528
  );
6529
6529
  }
6530
- const cc = "_modal_n41z8_1", mc = "_content_n41z8_19", fc = "_contentScrollable_n41z8_25", dc = "_overlay_n41z8_31", pc = "_header_n41z8_44", hc = "_closeButton_n41z8_53", Xe = {
6530
+ const cc = "_modal_t1s7a_1", mc = "_content_t1s7a_19", fc = "_contentScrollable_t1s7a_25", dc = "_overlay_t1s7a_31", pc = "_header_t1s7a_44", hc = "_closeButton_t1s7a_53", Xe = {
6531
6531
  modal: cc,
6532
6532
  content: mc,
6533
6533
  contentScrollable: fc,
@@ -6602,10 +6602,10 @@ const cc = "_modal_n41z8_1", mc = "_content_n41z8_19", fc = "_contentScrollable_
6602
6602
  )),
6603
6603
  /* @__PURE__ */ f.createElement("div", { className: R(Xe.content, r, { [Xe.contentScrollable]: i }) }, e)
6604
6604
  );
6605
- }, yc = "_skipLinks_ki0vu_2", _c = "_skipLinksList_ki0vu_10", vc = "_skipLinkItem_ki0vu_16", bc = "_skipLink_ki0vu_2", Bt = {
6605
+ }, yc = "_skipLinks_ki0vu_2", vc = "_skipLinksList_ki0vu_10", _c = "_skipLinkItem_ki0vu_16", bc = "_skipLink_ki0vu_2", Bt = {
6606
6606
  skipLinks: yc,
6607
- skipLinksList: _c,
6608
- skipLinkItem: vc,
6607
+ skipLinksList: vc,
6608
+ skipLinkItem: _c,
6609
6609
  skipLink: bc
6610
6610
  }, Ec = ({ skipLinks: e, className: t }) => {
6611
6611
  const n = he(), a = (r) => {
@@ -6627,7 +6627,7 @@ const cc = "_modal_n41z8_1", mc = "_content_n41z8_19", fc = "_contentScrollable_
6627
6627
  defaultMessage: "Navigation rapide"
6628
6628
  })
6629
6629
  },
6630
- /* @__PURE__ */ f.createElement("ul", { className: Bt.skipLinksList }, e.map(({ href: r, labelId: i, defaultMessage: o }) => /* @__PURE__ */ f.createElement("li", { key: r, className: Bt.skipLinkItem }, /* @__PURE__ */ f.createElement("a", { href: r, className: Bt.skipLink, onClick: a }, /* @__PURE__ */ f.createElement(L, { id: i, defaultMessage: o })))))
6630
+ /* @__PURE__ */ f.createElement("ul", { className: Bt.skipLinksList }, e.map(({ href: r, labelId: i, defaultMessage: o }) => /* @__PURE__ */ f.createElement("li", { key: r, className: Bt.skipLinkItem }, /* @__PURE__ */ f.createElement("a", { href: r, className: Bt.skipLink, onClick: a }, /* @__PURE__ */ f.createElement(H, { id: i, defaultMessage: o })))))
6631
6631
  );
6632
6632
  }, xc = 1e3, ur = Symbol.for("constructDateFrom");
6633
6633
  function Jt(e, t) {
@@ -6664,11 +6664,11 @@ function Ic(e, t) {
6664
6664
  Ac(e)
6665
6665
  );
6666
6666
  }
6667
- function wc(e) {
6667
+ function Mc(e) {
6668
6668
  return e * xc;
6669
6669
  }
6670
- const Mc = "_openModalInfo_a4893_1", Nc = {
6671
- openModalInfo: Mc
6670
+ const wc = "_openModalInfo_a4893_1", Nc = {
6671
+ openModalInfo: wc
6672
6672
  }, Zi = (e) => {
6673
6673
  const {
6674
6674
  deferred_days: t,
@@ -6676,13 +6676,13 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
6676
6676
  installments_count: a
6677
6677
  } = e;
6678
6678
  return a === 1 && !t && !n ? /* @__PURE__ */ f.createElement(
6679
- L,
6679
+ H,
6680
6680
  {
6681
6681
  id: "payment-plan-strings.pay.now.button",
6682
6682
  defaultMessage: "Payer maintenant"
6683
6683
  }
6684
6684
  ) : a === 1 && t ? /* @__PURE__ */ f.createElement(
6685
- L,
6685
+ H,
6686
6686
  {
6687
6687
  id: "payment-plan-strings.day-abbreviation",
6688
6688
  defaultMessage: "J{deferredDays}",
@@ -6691,7 +6691,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
6691
6691
  }
6692
6692
  }
6693
6693
  ) : a === 1 && n ? /* @__PURE__ */ f.createElement(
6694
- L,
6694
+ H,
6695
6695
  {
6696
6696
  id: "payment-plan-strings.month-abbreviation",
6697
6697
  defaultMessage: "M{deferredMonths}",
@@ -6729,7 +6729,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
6729
6729
  }, Ut = (e) => {
6730
6730
  var t;
6731
6731
  if ((t = e.payment_plan) != null && t.every((n) => n.customer_fee === 0 && n.customer_interest === 0))
6732
- return /* @__PURE__ */ f.createElement(f.Fragment, null, " ", /* @__PURE__ */ f.createElement(L, { id: "payment-plan-strings.no-fee", defaultMessage: "(sans frais)" }));
6732
+ return /* @__PURE__ */ f.createElement(f.Fragment, null, " ", /* @__PURE__ */ f.createElement(H, { id: "payment-plan-strings.no-fee", defaultMessage: "(sans frais)" }));
6733
6733
  }, Pc = (e) => {
6734
6734
  const {
6735
6735
  deferred_days: t,
@@ -6743,7 +6743,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
6743
6743
  } = e, u = t + n * 30;
6744
6744
  if (!r)
6745
6745
  return /* @__PURE__ */ f.createElement("p", null, i > s ? /* @__PURE__ */ f.createElement(
6746
- L,
6746
+ H,
6747
6747
  {
6748
6748
  id: "payment-plan-strings.ineligible-greater-than-max",
6749
6749
  defaultMessage: "Jusqu'à {maxAmount}",
@@ -6759,7 +6759,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
6759
6759
  }
6760
6760
  }
6761
6761
  ) : /* @__PURE__ */ f.createElement(
6762
- L,
6762
+ H,
6763
6763
  {
6764
6764
  id: "payment-plan-strings.ineligible-lower-than-min",
6765
6765
  defaultMessage: "À partir de {minAmount}",
@@ -6778,7 +6778,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
6778
6778
  if (l) {
6779
6779
  if (u !== 0 && a === 1)
6780
6780
  return /* @__PURE__ */ f.createElement("p", null, /* @__PURE__ */ f.createElement(
6781
- L,
6781
+ H,
6782
6782
  {
6783
6783
  id: "payment-plan-strings.deferred",
6784
6784
  defaultMessage: "{totalAmount} à payer le {dueDate}",
@@ -6794,7 +6794,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
6794
6794
  dueDate: /* @__PURE__ */ f.createElement(
6795
6795
  Oi,
6796
6796
  {
6797
- value: wc(l[0].due_date),
6797
+ value: Mc(l[0].due_date),
6798
6798
  day: "numeric",
6799
6799
  month: "long",
6800
6800
  year: "numeric"
@@ -6808,14 +6808,14 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
6808
6808
  (c, d) => d === 0 || c.total_amount === l[0].total_amount
6809
6809
  );
6810
6810
  return a > 4 ? /* @__PURE__ */ f.createElement("p", { className: Nc.openModalInfo }, /* @__PURE__ */ f.createElement(
6811
- L,
6811
+ H,
6812
6812
  {
6813
6813
  id: "payment-plan-strings.credit",
6814
6814
  defaultMessage: "Cliquez pour en savoir plus",
6815
6815
  description: "Link to credit details"
6816
6816
  }
6817
6817
  )) : gr(e) ? /* @__PURE__ */ f.createElement("p", null, /* @__PURE__ */ f.createElement(
6818
- L,
6818
+ H,
6819
6819
  {
6820
6820
  id: "payment-plan-strings.pay-now",
6821
6821
  defaultMessage: "Payer maintenant {totalAmount}",
@@ -6832,7 +6832,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
6832
6832
  }
6833
6833
  }
6834
6834
  ), Ut(e)) : m ? /* @__PURE__ */ f.createElement("p", null, /* @__PURE__ */ f.createElement(
6835
- L,
6835
+ H,
6836
6836
  {
6837
6837
  id: "payment-plan-strings.multiple-installments-same-amount",
6838
6838
  defaultMessage: "{installmentsCount} x {totalAmount}",
@@ -6849,7 +6849,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
6849
6849
  }
6850
6850
  }
6851
6851
  ), Ut(e)) : /* @__PURE__ */ f.createElement("p", null, /* @__PURE__ */ f.createElement(
6852
- L,
6852
+ H,
6853
6853
  {
6854
6854
  id: "payment-plan-strings.multiple-installments",
6855
6855
  defaultMessage: "{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}}}",
@@ -6879,7 +6879,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
6879
6879
  `No payment plan provided for payment in ${a} installments. Please contact us if you see this error.`
6880
6880
  );
6881
6881
  return /* @__PURE__ */ f.createElement("p", null, /* @__PURE__ */ f.createElement(
6882
- L,
6882
+ H,
6883
6883
  {
6884
6884
  id: "payment-plan-strings.default-message",
6885
6885
  defaultMessage: "Payez en plusieurs fois avec Alma"
@@ -6908,12 +6908,12 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
6908
6908
  { days: e.deferred_days }
6909
6909
  )
6910
6910
  }
6911
- ) : `${e.installments_count}x`, Rc = "_buttons_1mz4n_1", Lc = "_active_1mz4n_58", Hc = "_textButton_1mz4n_70", ln = {
6911
+ ) : `${e.installments_count}x`, Rc = "_buttons_1evkl_1", Lc = "_active_1evkl_57", Hc = "_textButton_1evkl_65", ln = {
6912
6912
  buttons: Rc,
6913
6913
  active: Lc,
6914
6914
  textButton: Hc
6915
- }, kc = ({ eligibilityPlans: e, currentPlanIndex: t, setCurrentPlanIndex: n, id: a }) => {
6916
- const r = he(), i = De([]), o = De(!1);
6915
+ }, Dc = ({ eligibilityPlans: e, currentPlanIndex: t, setCurrentPlanIndex: n, id: a }) => {
6916
+ const r = he(), i = ke([]), o = ke(!1);
6917
6917
  X(() => {
6918
6918
  i.current = i.current.slice(0, e.length);
6919
6919
  }, [e.length]), X(() => {
@@ -6923,13 +6923,10 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
6923
6923
  const s = (l) => {
6924
6924
  l >= 0 && l < e.length && (o.current = !0, n(l));
6925
6925
  };
6926
- return /* @__PURE__ */ f.createElement("div", null, /* @__PURE__ */ f.createElement("h2", { id: "payment-plans-title", className: "sr-only" }, /* @__PURE__ */ f.createElement(
6927
- L,
6928
- {
6929
- id: "accessibility.payment-plans-title",
6930
- defaultMessage: "Options de paiement disponibles"
6931
- }
6932
- )), /* @__PURE__ */ f.createElement(
6926
+ return /* @__PURE__ */ f.createElement("div", null, /* @__PURE__ */ f.createElement("h5", { id: "payment-plans-title", className: "sr-only" }, r.formatMessage({
6927
+ id: "accessibility.payment-plans.section-title",
6928
+ defaultMessage: "Options de paiement disponibles"
6929
+ })), /* @__PURE__ */ f.createElement(
6933
6930
  "div",
6934
6931
  {
6935
6932
  id: a,
@@ -6966,13 +6963,13 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
6966
6963
  /* @__PURE__ */ f.createElement("span", { className: ln.textButton }, Zi(l))
6967
6964
  ))
6968
6965
  ));
6969
- }, Dc = "_installment_yfot3_1", Fc = "_date_yfot3_11", Bc = "_dot_yfot3_17", Uc = "_isCurrent_yfot3_26", $c = "_bold_yfot3_30", lt = {
6970
- installment: Dc,
6966
+ }, kc = "_installment_yfot3_1", Fc = "_date_yfot3_11", Bc = "_dot_yfot3_17", Uc = "_isCurrent_yfot3_26", $c = "_bold_yfot3_30", lt = {
6967
+ installment: kc,
6971
6968
  date: Fc,
6972
6969
  dot: Bc,
6973
6970
  isCurrent: Uc,
6974
6971
  bold: $c
6975
- }, Gc = ({ installment: e, index: t }) => /* @__PURE__ */ f.createElement("div", { className: lt.installment, "data-testid": `installment-${t}` }, /* @__PURE__ */ f.createElement("div", { className: lt.date }, /* @__PURE__ */ f.createElement("div", { className: R(lt.dot, { [lt.isCurrent]: t === 0 }) }), Ic(e.due_date * 1e3) ? /* @__PURE__ */ f.createElement(L, { id: "installments.today", defaultMessage: "Aujourd'hui", tagName: "strong" }) : /* @__PURE__ */ f.createElement(
6972
+ }, Gc = ({ installment: e, index: t }) => /* @__PURE__ */ f.createElement("div", { className: lt.installment, "data-testid": `installment-${t}` }, /* @__PURE__ */ f.createElement("div", { className: lt.date }, /* @__PURE__ */ f.createElement("div", { className: R(lt.dot, { [lt.isCurrent]: t === 0 }) }), Ic(e.due_date * 1e3) ? /* @__PURE__ */ f.createElement(H, { id: "installments.today", defaultMessage: "Aujourd'hui", tagName: "strong" }) : /* @__PURE__ */ f.createElement(
6976
6973
  Oi,
6977
6974
  {
6978
6975
  value: e.due_date * 1e3,
@@ -6980,7 +6977,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
6980
6977
  month: "long",
6981
6978
  year: "numeric"
6982
6979
  }
6983
- )), /* @__PURE__ */ f.createElement("div", { className: R({ [lt.bold]: t === 0 }) }, /* @__PURE__ */ f.createElement(Te, { value: e.total_amount / 100, style: "currency", currency: "EUR" }))), zc = "_container_w9y33_1", Wc = "_total_w9y33_21", jc = "_creditInfo_w9y33_28", Vc = "_creditInfoTitle_w9y33_39", qc = "_fees_w9y33_43", Zc = "_creditCost_w9y33_53", Xc = "_creditInfoLegalText_w9y33_57", Ue = {
6980
+ )), /* @__PURE__ */ f.createElement("div", { className: R({ [lt.bold]: t === 0 }) }, /* @__PURE__ */ f.createElement(Te, { value: e.total_amount / 100, style: "currency", currency: "EUR" }))), zc = "_container_1onda_1", Wc = "_total_1onda_24", jc = "_creditInfo_1onda_31", Vc = "_creditInfoTitle_1onda_42", qc = "_fees_1onda_46", Zc = "_creditCost_1onda_56", Xc = "_creditInfoLegalText_1onda_60", Ue = {
6984
6981
  container: zc,
6985
6982
  total: Wc,
6986
6983
  creditInfo: jc,
@@ -6994,13 +6991,13 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
6994
6991
  e.purchase_amount + e.customer_total_cost_amount - ((g = (p = (d = e.payment_plan) == null ? void 0 : d[0]) == null ? void 0 : p.total_amount) != null ? g : 0)
6995
6992
  );
6996
6993
  return /* @__PURE__ */ f.createElement(f.Fragment, null, o && /* @__PURE__ */ f.createElement("div", { className: Ue.creditInfo }, /* @__PURE__ */ f.createElement("span", { className: Ue.creditInfoTitle }, /* @__PURE__ */ f.createElement(
6997
- L,
6994
+ H,
6998
6995
  {
6999
6996
  id: "credit-features.information.title",
7000
6997
  defaultMessage: "Un crédit vous engage et doit être remboursé."
7001
6998
  }
7002
6999
  )), /* @__PURE__ */ f.createElement("br", null), /* @__PURE__ */ f.createElement(
7003
- L,
7000
+ H,
7004
7001
  {
7005
7002
  id: "credit-features.information",
7006
7003
  defaultMessage: "Vérifiez vos capacités de remboursement avant de vous engager."
@@ -7011,15 +7008,15 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7011
7008
  className: R(Ue.container, Z.summary),
7012
7009
  "data-testid": "modal-summary"
7013
7010
  },
7014
- /* @__PURE__ */ f.createElement("p", { className: R(Ue.total, Z.scheduleTotal) }, /* @__PURE__ */ f.createElement(L, { tagName: "span", id: "installments.total-amount", defaultMessage: "Total" }), /* @__PURE__ */ f.createElement(Te, { value: n || 0, style: "currency", currency: "EUR" })),
7011
+ /* @__PURE__ */ f.createElement("p", { className: R(Ue.total, Z.scheduleTotal) }, /* @__PURE__ */ f.createElement(H, { tagName: "span", id: "installments.total-amount", defaultMessage: "Total" }), /* @__PURE__ */ f.createElement(Te, { value: n || 0, style: "currency", currency: "EUR" })),
7015
7012
  /* @__PURE__ */ f.createElement("p", { className: R(Ue.fees, Z.scheduleCredit) }, o ? /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement(
7016
- L,
7013
+ H,
7017
7014
  {
7018
7015
  id: "credit-features.total-credit-cost",
7019
7016
  defaultMessage: "Dont coût du crédit"
7020
7017
  }
7021
7018
  ), /* @__PURE__ */ f.createElement("span", { className: Ue.creditCost }, /* @__PURE__ */ f.createElement(
7022
- L,
7019
+ H,
7023
7020
  {
7024
7021
  id: "credit-features.credit-cost-display",
7025
7022
  defaultMessage: "{creditCost} (TAEG {taegPercentage})",
@@ -7035,7 +7032,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7035
7032
  }
7036
7033
  }
7037
7034
  ))) : /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement(
7038
- L,
7035
+ H,
7039
7036
  {
7040
7037
  id: "installments.total-fees",
7041
7038
  defaultMessage: "Dont frais (TTC)",
@@ -7043,7 +7040,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7043
7040
  }
7044
7041
  ), /* @__PURE__ */ f.createElement("span", null, /* @__PURE__ */ f.createElement(Te, { value: i, style: "currency", currency: "EUR" })))),
7045
7042
  o && /* @__PURE__ */ f.createElement("div", { className: Ue.creditInfoLegalText }, /* @__PURE__ */ f.createElement(
7046
- L,
7043
+ H,
7047
7044
  {
7048
7045
  id: "credit-features.legal-text",
7049
7046
  defaultMessage: "Crédit d'un montant de {totalWithoutFirstInstallment} au taux débiteur fixe de {taegPercentage} sur une durée de {installmeentsCountWithoutFirst} mois. Permettant, en complément d'un acompte de {firstInstallmentAmount}, de financer un achat d'un montant de {productPriceWithoutCreditCost}. Sous réserve d'étude et d'acceptation par Alma. Délai légal de rétractation de 14 jours. Simulation présentée par Alma, immatriculée au RCS Nanterre sous le numéro 839 100 575, établissement de paiement et société de financement agréée par l’ACPR sous le n° 17408 (numéro CIB / Code banque).",
@@ -7069,7 +7066,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7069
7066
  }
7070
7067
  ))
7071
7068
  ));
7072
- }, Jc = "_scheduleContainer_j5a4f_1", Yc = "_schedule_j5a4f_1", Qc = "_scheduleItem_j5a4f_16", un = {
7069
+ }, Jc = "_scheduleContainer_sch15_1", Yc = "_schedule_sch15_1", Qc = "_scheduleItem_sch15_18", un = {
7073
7070
  scheduleContainer: Jc,
7074
7071
  schedule: Yc,
7075
7072
  scheduleItem: Qc
@@ -7083,8 +7080,8 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7083
7080
  "aria-describedby": "payment-schedule-description",
7084
7081
  tabIndex: -1
7085
7082
  },
7086
- /* @__PURE__ */ f.createElement("h2", { id: "payment-schedule-title", className: "sr-only" }, /* @__PURE__ */ f.createElement(
7087
- L,
7083
+ /* @__PURE__ */ f.createElement("h6", { id: "payment-schedule-title", className: "sr-only" }, /* @__PURE__ */ f.createElement(
7084
+ H,
7088
7085
  {
7089
7086
  id: "accessibility.payment-schedule-title",
7090
7087
  defaultMessage: "Calendrier de paiement"
@@ -7291,7 +7288,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7291
7288
  },
7292
7289
  t.map((n) => /* @__PURE__ */ f.createElement("div", { key: n, className: fr.card, "data-testid": `card-logo-${n}` }, n === "cb" && /* @__PURE__ */ f.createElement(nm, null), n === "amex" && /* @__PURE__ */ f.createElement(tm, null), n === "mastercard" && /* @__PURE__ */ f.createElement(am, null), n === "visa" && /* @__PURE__ */ f.createElement(rm, null)))
7293
7290
  );
7294
- }, om = "_list_u16f0_1", sm = "_listItem_u16f0_16", lm = "_bullet_u16f0_24", Re = {
7291
+ }, om = "_list_b16wp_1", sm = "_listItem_b16wp_16", lm = "_bullet_b16wp_25", Re = {
7295
7292
  list: om,
7296
7293
  listItem: sm,
7297
7294
  bullet: lm
@@ -7308,8 +7305,8 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7308
7305
  "aria-describedby": "payment-info-description",
7309
7306
  tabIndex: -1
7310
7307
  },
7311
- /* @__PURE__ */ f.createElement("h2", { id: "payment-info-title", className: "sr-only" }, /* @__PURE__ */ f.createElement(
7312
- L,
7308
+ /* @__PURE__ */ f.createElement("h5", { id: "payment-info-title", className: "sr-only" }, /* @__PURE__ */ f.createElement(
7309
+ H,
7313
7310
  {
7314
7311
  id: "eligibility-modal.info-title",
7315
7312
  defaultMessage: "Comment procéder au paiement"
@@ -7317,42 +7314,42 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7317
7314
  )),
7318
7315
  " ",
7319
7316
  /* @__PURE__ */ f.createElement("ol", { className: Re.listContainer, id: "payment-info-description" }, /* @__PURE__ */ f.createElement("li", { className: Re.listItem }, /* @__PURE__ */ f.createElement("div", { className: R(Re.bullet, Z.bullet) }, "1"), /* @__PURE__ */ f.createElement("div", { className: Z.infoMessage }, e ? /* @__PURE__ */ f.createElement(
7320
- L,
7317
+ H,
7321
7318
  {
7322
7319
  id: "eligibility-modal.p1x-bullet-1",
7323
7320
  defaultMessage: "Choisissez <strong>Alma - Payer maintenant</strong> au moment du paiement.",
7324
7321
  values: { strong: Ke }
7325
7322
  }
7326
7323
  ) : /* @__PURE__ */ f.createElement(
7327
- L,
7324
+ H,
7328
7325
  {
7329
7326
  id: "eligibility-modal.bullet-1",
7330
7327
  defaultMessage: "Choisissez <strong>Alma</strong> au moment du paiement.",
7331
7328
  values: { strong: Ke }
7332
7329
  }
7333
7330
  ))), /* @__PURE__ */ f.createElement("li", { className: Re.listItem }, /* @__PURE__ */ f.createElement("div", { className: R(Re.bullet, Z.bullet) }, "2"), /* @__PURE__ */ f.createElement("div", { className: Z.infoMessage }, e ? /* @__PURE__ */ f.createElement(
7334
- L,
7331
+ H,
7335
7332
  {
7336
7333
  id: "eligibility-modal.p1x-bullet-2",
7337
7334
  defaultMessage: "Renseignez les informations de votre <strong>carte bancaire.</strong>",
7338
7335
  values: { strong: Ke }
7339
7336
  }
7340
7337
  ) : /* @__PURE__ */ f.createElement(
7341
- L,
7338
+ H,
7342
7339
  {
7343
7340
  id: "eligibility-modal.bullet-2",
7344
7341
  defaultMessage: "Laissez-vous guider et validez votre paiement en <strong>2 minutes.</strong>",
7345
7342
  values: { strong: Ke }
7346
7343
  }
7347
7344
  ))), /* @__PURE__ */ f.createElement("li", { className: Re.listItem }, /* @__PURE__ */ f.createElement("div", { className: R(Re.bullet, Z.bullet) }, "3"), /* @__PURE__ */ f.createElement("div", { className: Z.infoMessage }, e ? /* @__PURE__ */ f.createElement(
7348
- L,
7345
+ H,
7349
7346
  {
7350
7347
  id: "eligibility-modal.p1x-bullet-3",
7351
7348
  defaultMessage: "<strong>La validation </strong> de votre paiement est instantanée !",
7352
7349
  values: { strong: Ke }
7353
7350
  }
7354
7351
  ) : /* @__PURE__ */ f.createElement(
7355
- L,
7352
+ H,
7356
7353
  {
7357
7354
  id: "eligibility-modal.bullet-3",
7358
7355
  defaultMessage: "<strong>Gardez le contrôle</strong> en avançant ou reculant vos échéances à votre rythme.",
@@ -7360,34 +7357,34 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7360
7357
  }
7361
7358
  ))))
7362
7359
  )
7363
- ), um = "_title_zeoo0_1", cm = {
7360
+ ), um = "_title_jsq3r_1", cm = {
7364
7361
  title: um
7365
7362
  }, Ji = ({
7366
7363
  isSomePlanDeferred: e,
7367
7364
  isCurrentPlanP1X: t
7368
7365
  }) => /* @__PURE__ */ f.createElement(
7369
- "h2",
7366
+ "h5",
7370
7367
  {
7371
7368
  id: "modal-title",
7372
7369
  className: R(cm.title, Z.title),
7373
7370
  "data-testid": "modal-title-element"
7374
7371
  },
7375
7372
  e && /* @__PURE__ */ f.createElement(
7376
- L,
7373
+ H,
7377
7374
  {
7378
7375
  id: "eligibility-modal.title-deferred-plan",
7379
7376
  defaultMessage: "Payez en plusieurs fois ou plus tard par carte bancaire avec Alma."
7380
7377
  }
7381
7378
  ),
7382
7379
  !e && t && /* @__PURE__ */ f.createElement(
7383
- L,
7380
+ H,
7384
7381
  {
7385
7382
  id: "eligibility-modal.title-pay-now",
7386
7383
  defaultMessage: "Payez comptant par carte bancaire avec Alma."
7387
7384
  }
7388
7385
  ),
7389
7386
  !e && !t && /* @__PURE__ */ f.createElement(
7390
- L,
7387
+ H,
7391
7388
  {
7392
7389
  id: "eligibility-modal.title-normal",
7393
7390
  defaultMessage: "Payez en plusieurs fois par carte bancaire avec Alma."
@@ -7409,11 +7406,11 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7409
7406
  },
7410
7407
  /* @__PURE__ */ f.createElement("aside", { className: R([ut.block, ut.left, Z.leftSide]) }, /* @__PURE__ */ f.createElement(Ji, { isSomePlanDeferred: t, isCurrentPlanP1X: a }), /* @__PURE__ */ f.createElement(Ki, { id: "payment-info", isCurrentPlanP1X: a }), n && /* @__PURE__ */ f.createElement(Xi, { cards: n }), /* @__PURE__ */ f.createElement(aa, { className: ut.logo, width: "75" })),
7411
7408
  /* @__PURE__ */ f.createElement("div", { className: R(ut.block, Z.rightSide) }, e)
7412
- ), gm = "_noEligibility_3lnq8_1", ym = "_loader_3lnq8_9", _m = "_scheduleArea_3lnq8_16", vm = "_verticalLine_3lnq8_20", $t = {
7409
+ ), gm = "_noEligibility_3lnq8_1", ym = "_loader_3lnq8_9", vm = "_scheduleArea_3lnq8_16", _m = "_verticalLine_3lnq8_20", $t = {
7413
7410
  noEligibility: gm,
7414
7411
  loader: ym,
7415
- scheduleArea: _m,
7416
- verticalLine: vm
7412
+ scheduleArea: vm,
7413
+ verticalLine: _m
7417
7414
  }, bm = "_container_1ca7c_1", Em = "_logo_1ca7c_6", dr = {
7418
7415
  container: bm,
7419
7416
  logo: Em
@@ -7488,14 +7485,14 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7488
7485
  },
7489
7486
  a === ue.PENDING && /* @__PURE__ */ f.createElement("div", { className: $t.loader, role: "status", "aria-live": "polite" }, /* @__PURE__ */ f.createElement(tu, null)),
7490
7487
  a === ue.SUCCESS && u.length === 0 && /* @__PURE__ */ f.createElement("div", { className: $t.noEligibility, role: "alert" }, /* @__PURE__ */ f.createElement(
7491
- L,
7488
+ H,
7492
7489
  {
7493
7490
  id: "eligibility-modal.no-eligibility",
7494
7491
  defaultMessage: "Oups, il semblerait que la simulation n'ait pas fonctionné."
7495
7492
  }
7496
7493
  )),
7497
7494
  a === ue.SUCCESS && u.length >= 1 && /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement("section", { "aria-labelledby": "payment-plans-title" }, /* @__PURE__ */ f.createElement(
7498
- kc,
7495
+ Dc,
7499
7496
  {
7500
7497
  id: "payment-plans",
7501
7498
  eligibilityPlans: u,
@@ -7536,11 +7533,11 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7536
7533
  line1: Am,
7537
7534
  line2: Tm
7538
7535
  }, Im = ({ className: e }) => /* @__PURE__ */ f.createElement("div", { className: R(cn.loadingIndicator, e), "data-testid": "loader" }, /* @__PURE__ */ f.createElement("div", { className: cn.line1 }), /* @__PURE__ */ f.createElement("div", { className: cn.line2 })), Qi = () => {
7539
- const [e, t] = Q(""), n = De(null), a = _t((i, o = 1e3) => {
7536
+ const [e, t] = Q(""), n = ke(null), a = vt((i, o = 1e3) => {
7540
7537
  n.current && clearTimeout(n.current), t(i), n.current = setTimeout(() => {
7541
7538
  t(""), n.current = null;
7542
7539
  }, o);
7543
- }, []), r = _t(() => {
7540
+ }, []), r = vt(() => {
7544
7541
  n.current && (clearTimeout(n.current), n.current = null), t("");
7545
7542
  }, []);
7546
7543
  return X(
@@ -7553,7 +7550,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7553
7550
  announce: a,
7554
7551
  clearAnnouncement: r
7555
7552
  };
7556
- }, wm = ({
7553
+ }, Mm = ({
7557
7554
  status: e,
7558
7555
  hasUserInteracted: t,
7559
7556
  eligiblePlansCount: n,
@@ -7572,7 +7569,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7572
7569
  return () => clearTimeout(l);
7573
7570
  }
7574
7571
  }, [e, t, n, r, i, a]);
7575
- }, Mm = (e, t) => {
7572
+ }, wm = (e, t) => {
7576
7573
  const [n, a] = Q(0), [r, i] = Q(!0), [o, s] = Q(1), l = typeof window != "undefined" && window.matchMedia && window.matchMedia("(prefers-reduced-motion: reduce)").matches, u = t < 0 ? -1 : Math.max(t, 1e3);
7577
7574
  return X(() => {
7578
7575
  let m, c = !0;
@@ -7619,14 +7616,14 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7619
7616
  paymentInfo: `${$e}-payment-info`,
7620
7617
  activeOption: `${$e}-active-option`,
7621
7618
  knowMoreAction: `${$e}-know-more-action`
7622
- }, Om = "_widgetContainer_18cko_1", Pm = "_primaryContainer_18cko_13", Rm = "_paymentPlans_18cko_19", Lm = "_planButton_18cko_29", Hm = "_monochrome_18cko_81", km = "_notEligible_18cko_87", Dm = "_active_18cko_101", Fm = "_hideBorder_18cko_116", Bm = "_infoContainer_18cko_120", Um = "_info_18cko_120", $m = "_announceText_18cko_141", Gm = "_pending_18cko_162", zm = "_clickable_18cko_166", Wm = "_knowMore_18cko_179", J = {
7619
+ }, Om = "_widgetContainer_v4hon_1", Pm = "_primaryContainer_v4hon_13", Rm = "_paymentPlans_v4hon_19", Lm = "_planButton_v4hon_29", Hm = "_monochrome_v4hon_82", Dm = "_notEligible_v4hon_88", km = "_active_v4hon_102", Fm = "_hideBorder_v4hon_117", Bm = "_infoContainer_v4hon_121", Um = "_info_v4hon_121", $m = "_announceText_v4hon_146", Gm = "_pending_v4hon_167", zm = "_clickable_v4hon_171", Wm = "_knowMore_v4hon_179", J = {
7623
7620
  widgetContainer: Om,
7624
7621
  primaryContainer: Pm,
7625
7622
  paymentPlans: Rm,
7626
7623
  planButton: Lm,
7627
7624
  monochrome: Hm,
7628
- notEligible: km,
7629
- active: Dm,
7625
+ notEligible: Dm,
7626
+ active: km,
7630
7627
  hideBorder: Fm,
7631
7628
  infoContainer: Bm,
7632
7629
  info: Um,
@@ -7654,21 +7651,21 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7654
7651
  t,
7655
7652
  s,
7656
7653
  l
7657
- ), v = ke(
7654
+ ), _ = De(
7658
7655
  () => p.filter((O) => O.eligible),
7659
7656
  [p]
7660
7657
  ), b = Nm({
7661
7658
  eligibilityPlans: p,
7662
7659
  suggestedPaymentPlan: i != null ? i : 0
7663
- }), _ = i !== void 0, [x, E] = Q(!1), { announceText: N, announce: y } = Qi(), w = () => E(!0), z = (O) => {
7660
+ }), v = i !== void 0, [x, E] = Q(!1), { announceText: N, announce: y } = Qi(), M = () => E(!0), z = (O) => {
7664
7661
  E(!1), c == null || c(O);
7665
- }, [ge, F] = Q(!1), ee = ke(
7662
+ }, [ge, F] = Q(!1), ee = De(
7666
7663
  () => p.reduce(
7667
7664
  (O, B, q) => B.eligible ? [...O, q] : O,
7668
7665
  []
7669
7666
  ),
7670
7667
  [p]
7671
- ), Y = ke(() => _ && !u ? -1 : u != null ? u : jm, [u, _]), { current: U, onHover: Me, onLeave: I } = Mm(ee, Y), A = De([]);
7668
+ ), Y = De(() => v && !u ? -1 : u != null ? u : jm, [u, v]), { current: U, onHover: we, onLeave: I } = wm(ee, Y), A = ke([]);
7672
7669
  X(() => {
7673
7670
  A.current = A.current.slice(0, p.length);
7674
7671
  }, [p.length]), X(() => {
@@ -7683,15 +7680,15 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7683
7680
  y(q, 1e3);
7684
7681
  }
7685
7682
  }, [U, d, g, y]), X(() => {
7686
- g === ue.SUCCESS && _ && (Me(b), I());
7687
- }, [g]), wm({
7683
+ g === ue.SUCCESS && v && (we(b), I());
7684
+ }, [g]), Mm({
7688
7685
  status: g,
7689
7686
  hasUserInteracted: ge,
7690
- eligiblePlansCount: v.length,
7687
+ eligiblePlansCount: _.length,
7691
7688
  transitionDelay: u
7692
7689
  });
7693
7690
  const W = (O) => {
7694
- F(!0), Me(O);
7691
+ F(!0), we(O);
7695
7692
  }, h = () => {
7696
7693
  ge || I();
7697
7694
  }, S = (O, B) => {
@@ -7703,31 +7700,26 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7703
7700
  if (me = q + 1, me >= ee.length) return;
7704
7701
  } else if (me = q - 1, me < 0) return;
7705
7702
  const te = ee[me];
7706
- F(!0), Me(te), (Pt = A.current[te]) == null || Pt.focus();
7703
+ F(!0), we(te), (Pt = A.current[te]) == null || Pt.focus();
7707
7704
  }, K = (O) => {
7708
7705
  var q;
7709
7706
  const B = O === "first" ? ee[0] : ee[ee.length - 1];
7710
- F(!0), Me(B), (q = A.current[B]) == null || q.focus();
7707
+ F(!0), we(B), (q = A.current[B]) == null || q.focus();
7711
7708
  }, ne = (O) => {
7712
7709
  const B = ee.findIndex((q) => q === O);
7713
7710
  return B === -1 ? 0 : B;
7714
7711
  };
7715
7712
  if (g === ue.PENDING)
7716
7713
  return /* @__PURE__ */ f.createElement("div", { className: R(J.widgetContainer, J.pending) }, /* @__PURE__ */ f.createElement(Im, null));
7717
- if (n && v.length === 0 || p.length === 0 || g === ue.FAILED)
7714
+ if (n && _.length === 0 || p.length === 0 || g === ue.FAILED)
7718
7715
  return null;
7719
7716
  const V = (O) => {
7720
- O.preventDefault(), v.length > 0 && w();
7717
+ O.preventDefault(), _.length > 0 && M();
7721
7718
  };
7722
7719
  return /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement(
7723
- "main",
7720
+ "div",
7724
7721
  {
7725
- role: "main",
7726
7722
  id: "alma-widget-payment-plans-main-container",
7727
- "aria-label": d.formatMessage({
7728
- id: "accessibility.payment-widget.main.aria-label",
7729
- defaultMessage: "Sélection des options de paiement Alma"
7730
- }),
7731
7723
  className: R(
7732
7724
  J.widgetContainer,
7733
7725
  {
@@ -7744,7 +7736,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7744
7736
  "aria-labelledby": "payment-plans-title",
7745
7737
  className: R(J.primaryContainer, Le.eligibilityLine)
7746
7738
  },
7747
- /* @__PURE__ */ f.createElement("h2", { id: "payment-plans-title", className: "sr-only" }, d.formatMessage({
7739
+ /* @__PURE__ */ f.createElement("h5", { id: "payment-plans-title", className: "sr-only" }, d.formatMessage({
7748
7740
  id: "accessibility.payment-plans.section-title",
7749
7741
  defaultMessage: "Options de paiement disponibles"
7750
7742
  })),
@@ -7805,7 +7797,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7805
7797
  me && (te.key === "ArrowLeft" ? (te.preventDefault(), S("prev", B)) : te.key === "ArrowRight" ? (te.preventDefault(), S("next", B)) : te.key === "Home" ? (te.preventDefault(), K("first")) : te.key === "End" && (te.preventDefault(), K("last")));
7806
7798
  },
7807
7799
  onClick: (te) => {
7808
- te.stopPropagation(), me && (Me(B), v.length > 0 && w());
7800
+ te.stopPropagation(), me && (we(B), _.length > 0 && M());
7809
7801
  },
7810
7802
  className: R(J.planButton, {
7811
7803
  [R(J.active, Le.activeOption)]: q,
@@ -7835,7 +7827,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7835
7827
  })
7836
7828
  )
7837
7829
  ),
7838
- /* @__PURE__ */ f.createElement("aside", { "aria-labelledby": "payment-info-title", className: J.infoContainer }, /* @__PURE__ */ f.createElement("h3", { id: "payment-info-title", className: "sr-only" }, d.formatMessage({
7830
+ /* @__PURE__ */ f.createElement("aside", { "aria-labelledby": "payment-info-title", className: J.infoContainer }, /* @__PURE__ */ f.createElement("h6", { id: "payment-info-title", className: "sr-only" }, d.formatMessage({
7839
7831
  id: "accessibility.payment-info.section-title",
7840
7832
  defaultMessage: "Informations sur le plan de paiement sélectionné"
7841
7833
  })), /* @__PURE__ */ f.createElement(
@@ -7857,7 +7849,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7857
7849
  {
7858
7850
  initialPlanIndex: ne(U),
7859
7851
  onClose: z,
7860
- eligibilityPlans: v,
7852
+ eligibilityPlans: _,
7861
7853
  status: g,
7862
7854
  cards: o
7863
7855
  }
@@ -7881,12 +7873,12 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7881
7873
  customerBillingCountry: d,
7882
7874
  customerShippingCountry: p,
7883
7875
  locale: g = Ae.en,
7884
- cards: v,
7876
+ cards: _,
7885
7877
  onModalClose: b
7886
7878
  } = n;
7887
7879
  if (a) {
7888
- const _ = Ma(a);
7889
- _.render(
7880
+ const v = wa(a);
7881
+ v.render(
7890
7882
  /* @__PURE__ */ f.createElement(ja, { locale: g }, /* @__PURE__ */ f.createElement(
7891
7883
  Vm,
7892
7884
  {
@@ -7896,7 +7888,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7896
7888
  monochrome: m,
7897
7889
  purchaseAmount: i,
7898
7890
  suggestedPaymentPlan: c,
7899
- cards: v,
7891
+ cards: _,
7900
7892
  customerBillingCountry: d,
7901
7893
  customerShippingCountry: p,
7902
7894
  transitionDelay: s,
@@ -7904,7 +7896,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7904
7896
  onModalClose: b
7905
7897
  }
7906
7898
  ))
7907
- ), Je.set(a, _);
7899
+ ), Je.set(a, v);
7908
7900
  }
7909
7901
  }
7910
7902
  if (t === pt.Modal) {
@@ -7917,14 +7909,14 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7917
7909
  customerShippingCountry: m,
7918
7910
  cards: c,
7919
7911
  onClose: d
7920
- } = n, p = (v) => {
7912
+ } = n, p = (_) => {
7921
7913
  if (!a) return;
7922
7914
  const b = Je.get(a);
7923
- b && (b.unmount(), Je.delete(a)), d == null || d(v);
7915
+ b && (b.unmount(), Je.delete(a)), d == null || d(_);
7924
7916
  }, g = () => {
7925
7917
  if (a) {
7926
- const v = Ma(a);
7927
- v.render(
7918
+ const _ = wa(a);
7919
+ _.render(
7928
7920
  /* @__PURE__ */ f.createElement(ja, { locale: l }, /* @__PURE__ */ f.createElement(
7929
7921
  Cm,
7930
7922
  {
@@ -7937,7 +7929,7 @@ const Mc = "_openModalInfo_a4893_1", Nc = {
7937
7929
  cards: c
7938
7930
  }
7939
7931
  ))
7940
- ), Je.set(a, v);
7932
+ ), Je.set(a, _);
7941
7933
  }
7942
7934
  };
7943
7935
  return i && ((r = document.querySelector(i)) == null || r.addEventListener("click", g, !1)), {