@alma/widgets 4.0.0 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/widgets.js CHANGED
@@ -35,7 +35,7 @@ var or = (e, t, n) => new Promise((r, a) => {
35
35
  }, s = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(o, i);
36
36
  s((n = n.apply(e, t)).next());
37
37
  });
38
- var lt = /* @__PURE__ */ ((e) => (e.PaymentPlans = "PaymentPlans", e.Modal = "Modal", e))(lt || {}), me = /* @__PURE__ */ ((e) => (e.PENDING = "pending", e.SUCCESS = "success", e.FAILED = "failed", e))(me || {}), be = /* @__PURE__ */ ((e) => (e.en = "en", e["fr-FR"] = "fr-FR", e.fr = "fr", e["de-DE"] = "de-DE", e.de = "de", e.it = "it", e["it-IT"] = "it-IT", e.es = "es", e["es-ES"] = "es-ES", e.pt = "pt", e["pt-PT"] = "pt-PT", e.nl = "nl", e["nl-NL"] = "nl-NL", e["nl-BE"] = "nl-BE", e))(be || {});
38
+ var lt = /* @__PURE__ */ ((e) => (e.PaymentPlans = "PaymentPlans", e.Modal = "Modal", e))(lt || {}), fe = /* @__PURE__ */ ((e) => (e.PENDING = "pending", e.SUCCESS = "success", e.FAILED = "failed", e))(fe || {}), be = /* @__PURE__ */ ((e) => (e.en = "en", e["fr-FR"] = "fr-FR", e.fr = "fr", e["de-DE"] = "de-DE", e.de = "de", e.it = "it", e["it-IT"] = "it-IT", e.es = "es", e["es-ES"] = "es-ES", e.pt = "pt", e["pt-PT"] = "pt-PT", e.nl = "nl", e["nl-NL"] = "nl-NL", e["nl-BE"] = "nl-BE", e))(be || {});
39
39
  function ti(e) {
40
40
  return Math.round(e * 100);
41
41
  }
@@ -84,7 +84,7 @@ const ri = 800, da = (e) => (e == null ? void 0 : e.installments_count) === 1 &&
84
84
  };
85
85
  typeof DOMTokenList != "function" && function(a) {
86
86
  const o = a.document, i = a.Object, s = i.prototype.hasOwnProperty, l = i.defineProperty;
87
- let u = 0, f = 0;
87
+ let u = 0, m = 0;
88
88
  const c = function() {
89
89
  if (!u) throw TypeError("Illegal constructor");
90
90
  };
@@ -99,7 +99,7 @@ const ri = 800, da = (e) => (e == null ? void 0 : e.installments_count) === 1 &&
99
99
  }
100
100
  this[A] = v, x.length += 1, x.value = g;
101
101
  }
102
- f = 1, y.className = x.value, f = 0;
102
+ m = 1, y.className = x.value, m = 0;
103
103
  }, c.prototype.remove = function() {
104
104
  for (var _ = 0, b = arguments.length, v = "", y = this[" uCL"], x = y[" uCLp"]; _ !== b; ++_) {
105
105
  v = `${arguments[_]}`, r("remove", v);
@@ -107,11 +107,11 @@ const ri = 800, da = (e) => (e == null ? void 0 : e.installments_count) === 1 &&
107
107
  N ? this[E - 1] = this[E] : this[E] !== v ? g += `${this[E]} ` : N = 1;
108
108
  N && (delete this[A], x.length -= 1, x.value = g);
109
109
  }
110
- f = 1, y.className = x.value, f = 0;
110
+ m = 1, y.className = x.value, m = 0;
111
111
  }, a.DOMTokenList = c;
112
112
  function d() {
113
113
  const _ = a.event, b = _.propertyName;
114
- if (!f && (b === "className" || b === "classList" && !l)) {
114
+ if (!m && (b === "className" || b === "classList" && !l)) {
115
115
  const E = _.srcElement, A = E[" uCLp"], g = `${E[b]}`, N = g.trim().split(t), z = E[b === "classList" ? " uCL" : "classList"], q = A.length;
116
116
  e: for (var v = 0, y = A.length = N.length, x = 0; v !== y; ++v) {
117
117
  for (let F = 0; F !== v; ++F)
@@ -123,7 +123,7 @@ const ri = 800, da = (e) => (e == null ? void 0 : e.installments_count) === 1 &&
123
123
  }
124
124
  for (let F = y - x; F < q; ++F) delete z[F];
125
125
  if (b !== "classList") return;
126
- f = 1, E.classList = z, E.className = g, f = 0, z.length = N.length - x;
126
+ m = 1, E.classList = z, E.className = g, m = 0, z.length = N.length - x;
127
127
  }
128
128
  }
129
129
  function h(_) {
@@ -153,7 +153,7 @@ const ri = 800, da = (e) => (e == null ? void 0 : e.installments_count) === 1 &&
153
153
  },
154
154
  configurable: 0,
155
155
  set(N) {
156
- f = 1, _.className = v.value = N += "", f = 0;
156
+ m = 1, _.className = v.value = N += "", m = 0;
157
157
  const z = N.trim().split(t), q = v.length;
158
158
  e: for (var F = 0, $ = v.length = z.length, ce = 0; F !== $; ++F) {
159
159
  for (let Y = 0; Y !== F; ++Y)
@@ -294,15 +294,15 @@ function Dt() {
294
294
  for (De.sort(an); e = De.shift(); ) e.__d && (t = De.length, r = void 0, o = (a = (n = e).__v).__e, i = [], s = [], n.__P && ((r = Ce({}, a)).__v = a.__v + 1, R.vnode && R.vnode(r), On(n.__P, r, a, n.__n, n.__P.namespaceURI, 32 & a.__u ? [o] : null, i, o == null ? Xe(a) : o, !!(32 & a.__u), s), r.__v = a.__v, r.__.__k[r.__i] = r, Ta(i, r, s), r.__e != o && ba(r)), De.length > t && De.sort(an));
295
295
  Dt.__r = 0;
296
296
  }
297
- function Ea(e, t, n, r, a, o, i, s, l, u, f) {
297
+ function Ea(e, t, n, r, a, o, i, s, l, u, m) {
298
298
  var c, d, h, _, b, v = r && r.__k || ga, y = t.length;
299
- for (n.__d = l, oi(n, t, v), l = n.__d, c = 0; c < y; c++) (h = n.__k[c]) != null && (d = h.__i === -1 ? ut : v[h.__i] || ut, h.__i = c, On(e, h, d, a, o, i, s, l, u, f), _ = h.__e, h.ref && d.ref != h.ref && (d.ref && Nn(d.ref, null, h), f.push(h.ref, h.__c || _, h)), b == null && _ != null && (b = _), 65536 & h.__u || d.__k === h.__k ? l = xa(h, l, e) : typeof h.type == "function" && h.__d !== void 0 ? l = h.__d : _ && (l = _.nextSibling), h.__d = void 0, h.__u &= -196609);
299
+ for (n.__d = l, oi(n, t, v), l = n.__d, c = 0; c < y; c++) (h = n.__k[c]) != null && (d = h.__i === -1 ? ut : v[h.__i] || ut, h.__i = c, On(e, h, d, a, o, i, s, l, u, m), _ = h.__e, h.ref && d.ref != h.ref && (d.ref && Nn(d.ref, null, h), m.push(h.ref, h.__c || _, h)), b == null && _ != null && (b = _), 65536 & h.__u || d.__k === h.__k ? l = xa(h, l, e) : typeof h.type == "function" && h.__d !== void 0 ? l = h.__d : _ && (l = _.nextSibling), h.__d = void 0, h.__u &= -196609);
300
300
  n.__d = l, n.__e = b;
301
301
  }
302
302
  function oi(e, t, n) {
303
- var r, a, o, i, s, l = t.length, u = n.length, f = u, c = 0;
304
- for (e.__k = [], r = 0; r < l; r++) (a = t[r]) != null && typeof a != "boolean" && typeof a != "function" ? (i = r + c, (a = e.__k[r] = typeof a == "string" || typeof a == "number" || typeof a == "bigint" || a.constructor == String ? at(null, a, null, null, null) : kt(a) ? at(le, { children: a }, null, null, null) : a.constructor === void 0 && a.__b > 0 ? at(a.type, a.props, a.key, a.ref ? a.ref : null, a.__v) : a).__ = e, a.__b = e.__b + 1, o = null, (s = a.__i = ii(a, n, i, f)) !== -1 && (f--, (o = n[s]) && (o.__u |= 131072)), o == null || o.__v === null ? (s == -1 && c--, typeof a.type != "function" && (a.__u |= 65536)) : s !== i && (s == i - 1 ? c-- : s == i + 1 ? c++ : (s > i ? c-- : c++, a.__u |= 65536))) : a = e.__k[r] = null;
305
- if (f) for (r = 0; r < u; r++) (o = n[r]) != null && !(131072 & o.__u) && (o.__e == e.__d && (e.__d = Xe(o)), Ca(o, o));
303
+ var r, a, o, i, s, l = t.length, u = n.length, m = u, c = 0;
304
+ for (e.__k = [], r = 0; r < l; r++) (a = t[r]) != null && typeof a != "boolean" && typeof a != "function" ? (i = r + c, (a = e.__k[r] = typeof a == "string" || typeof a == "number" || typeof a == "bigint" || a.constructor == String ? at(null, a, null, null, null) : kt(a) ? at(le, { children: a }, null, null, null) : a.constructor === void 0 && a.__b > 0 ? at(a.type, a.props, a.key, a.ref ? a.ref : null, a.__v) : a).__ = e, a.__b = e.__b + 1, o = null, (s = a.__i = ii(a, n, i, m)) !== -1 && (m--, (o = n[s]) && (o.__u |= 131072)), o == null || o.__v === null ? (s == -1 && c--, typeof a.type != "function" && (a.__u |= 65536)) : s !== i && (s == i - 1 ? c-- : s == i + 1 ? c++ : (s > i ? c-- : c++, a.__u |= 65536))) : a = e.__k[r] = null;
305
+ if (m) for (r = 0; r < u; r++) (o = n[r]) != null && !(131072 & o.__u) && (o.__e == e.__d && (e.__d = Xe(o)), Ca(o, o));
306
306
  }
307
307
  function xa(e, t, n) {
308
308
  var r, a;
@@ -368,11 +368,11 @@ function ur(e) {
368
368
  };
369
369
  }
370
370
  function On(e, t, n, r, a, o, i, s, l, u) {
371
- var f, c, d, h, _, b, v, y, x, E, A, g, N, z, q, F, $ = t.type;
371
+ var m, c, d, h, _, b, v, y, x, E, A, g, N, z, q, F, $ = t.type;
372
372
  if (t.constructor !== void 0) return null;
373
- 128 & n.__u && (l = !!(32 & n.__u), o = [s = t.__e = n.__e]), (f = R.__b) && f(t);
373
+ 128 & n.__u && (l = !!(32 & n.__u), o = [s = t.__e = n.__e]), (m = R.__b) && m(t);
374
374
  e: if (typeof $ == "function") try {
375
- if (y = t.props, x = "prototype" in $ && $.prototype.render, E = (f = $.contextType) && r[f.__c], A = f ? E ? E.props.value : f.__ : r, n.__c ? v = (c = t.__c = n.__c).__ = c.__E : (x ? t.__c = c = new $(y, A) : (t.__c = c = new _e(y, A), c.constructor = $, c.render = li), E && E.sub(c), c.props = y, c.state || (c.state = {}), c.context = A, c.__n = r, d = c.__d = !0, c.__h = [], c._sb = []), x && c.__s == null && (c.__s = c.state), x && $.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = Ce({}, c.__s)), Ce(c.__s, $.getDerivedStateFromProps(y, c.__s))), h = c.props, _ = c.state, c.__v = t, d) x && $.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), x && c.componentDidMount != null && c.__h.push(c.componentDidMount);
375
+ if (y = t.props, x = "prototype" in $ && $.prototype.render, E = (m = $.contextType) && r[m.__c], A = m ? E ? E.props.value : m.__ : r, n.__c ? v = (c = t.__c = n.__c).__ = c.__E : (x ? t.__c = c = new $(y, A) : (t.__c = c = new _e(y, A), c.constructor = $, c.render = li), E && E.sub(c), c.props = y, c.state || (c.state = {}), c.context = A, c.__n = r, d = c.__d = !0, c.__h = [], c._sb = []), x && c.__s == null && (c.__s = c.state), x && $.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = Ce({}, c.__s)), Ce(c.__s, $.getDerivedStateFromProps(y, c.__s))), h = c.props, _ = c.state, c.__v = t, d) x && $.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), x && c.componentDidMount != null && c.__h.push(c.componentDidMount);
376
376
  else {
377
377
  if (x && $.getDerivedStateFromProps == null && y !== h && c.componentWillReceiveProps != null && c.componentWillReceiveProps(y, A), !c.__e && (c.shouldComponentUpdate != null && c.shouldComponentUpdate(y, c.__s, A) === !1 || t.__v === n.__v)) {
378
378
  for (t.__v !== n.__v && (c.props = y, c.state = c.__s, c.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.some(function(ce) {
@@ -386,12 +386,12 @@ function On(e, t, n, r, a, o, i, s, l, u) {
386
386
  });
387
387
  }
388
388
  if (c.context = A, c.props = y, c.__P = e, c.__e = !1, N = R.__r, z = 0, x) {
389
- for (c.state = c.__s, c.__d = !1, N && N(t), f = c.render(c.props, c.state, c.context), q = 0; q < c._sb.length; q++) c.__h.push(c._sb[q]);
389
+ for (c.state = c.__s, c.__d = !1, N && N(t), m = c.render(c.props, c.state, c.context), q = 0; q < c._sb.length; q++) c.__h.push(c._sb[q]);
390
390
  c._sb = [];
391
391
  } else do
392
- c.__d = !1, N && N(t), f = c.render(c.props, c.state, c.context), c.state = c.__s;
392
+ c.__d = !1, N && N(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 && (r = Ce(Ce({}, r), c.getChildContext())), x && !d && c.getSnapshotBeforeUpdate != null && (b = c.getSnapshotBeforeUpdate(h, _)), Ea(e, kt(F = f != null && f.type === le && f.key == null ? f.props.children : f) ? F : [F], t, n, r, a, o, i, s, l, u), c.base = t.__e, t.__u &= -161, c.__h.length && i.push(c), v && (c.__E = c.__ = null);
394
+ c.state = c.__s, c.getChildContext != null && (r = Ce(Ce({}, r), c.getChildContext())), x && !d && c.getSnapshotBeforeUpdate != null && (b = c.getSnapshotBeforeUpdate(h, _)), Ea(e, kt(F = m != null && m.type === le && m.key == null ? m.props.children : m) ? F : [F], t, n, r, a, o, i, s, l, u), c.base = t.__e, t.__u &= -161, c.__h.length && i.push(c), v && (c.__E = c.__ = null);
395
395
  } catch (ce) {
396
396
  if (t.__v = null, l || o != null) {
397
397
  for (t.__u |= l ? 160 : 128; s && s.nodeType === 8 && s.nextSibling; ) s = s.nextSibling;
@@ -400,7 +400,7 @@ function On(e, t, n, r, a, o, i, s, l, u) {
400
400
  R.__e(ce, t, n);
401
401
  }
402
402
  else o == null && t.__v === n.__v ? (t.__k = n.__k, t.__e = n.__e) : t.__e = si(n.__e, t, n, r, a, o, i, l, u);
403
- (f = R.diffed) && f(t);
403
+ (m = R.diffed) && m(t);
404
404
  }
405
405
  function Ta(e, t, n) {
406
406
  t.__d = void 0;
@@ -416,7 +416,7 @@ function Ta(e, t, n) {
416
416
  });
417
417
  }
418
418
  function si(e, t, n, r, a, o, i, s, l) {
419
- var u, f, c, d, h, _, b, v = n.props, y = t.props, x = t.type;
419
+ var u, m, c, d, h, _, b, v = n.props, y = t.props, x = t.type;
420
420
  if (x === "svg" ? a = "http://www.w3.org/2000/svg" : x === "math" ? a = "http://www.w3.org/1998/Math/MathML" : a || (a = "http://www.w3.org/1999/xhtml"), o != null) {
421
421
  for (u = 0; u < o.length; u++) if ((h = o[u]) && "setAttribute" in h == !!x && (x ? h.localName === x : h.nodeType === 3)) {
422
422
  e = h, o[u] = null;
@@ -437,8 +437,8 @@ function si(e, t, n, r, a, o, i, s, l) {
437
437
  Ot(e, u, null, h, a);
438
438
  }
439
439
  }
440
- for (u in y) h = y[u], u == "children" ? d = h : u == "dangerouslySetInnerHTML" ? f = h : u == "value" ? _ = h : u == "checked" ? b = h : s && typeof h != "function" || v[u] === h || Ot(e, u, h, v[u], a);
441
- if (f) s || c && (f.__html === c.__html || f.__html === e.innerHTML) || (e.innerHTML = f.__html), t.__k = [];
440
+ for (u in y) h = y[u], u == "children" ? d = h : u == "dangerouslySetInnerHTML" ? m = h : u == "value" ? _ = h : u == "checked" ? b = h : s && typeof h != "function" || v[u] === h || Ot(e, u, h, v[u], a);
441
+ if (m) s || c && (m.__html === c.__html || m.__html === e.innerHTML) || (e.innerHTML = m.__html), t.__k = [];
442
442
  else if (c && (e.innerHTML = ""), Ea(e, kt(d) ? d : [d], t, n, r, x === "foreignObject" ? "http://www.w3.org/1999/xhtml" : a, o, i, o ? o[0] : n.__k && Xe(n, 0), s, l), o != null) for (u = o.length; u--; ) va(o[u]);
443
443
  s || (u = "value", x === "progress" && _ == null ? e.removeAttribute("value") : _ !== void 0 && (_ !== e[u] || x === "progress" && !_ || x === "option" && _ !== v[u]) && Ot(e, u, _, v[u], a), u = "checked", b !== void 0 && b !== e[u] && Ot(e, u, b, v[u], a));
444
444
  }
@@ -482,7 +482,7 @@ function ui(e, t, n) {
482
482
  for (o in e.type && e.type.defaultProps && (i = e.type.defaultProps), t) o == "key" ? r = t[o] : o == "ref" ? a = t[o] : s[o] = t[o] === void 0 && i !== void 0 ? i[o] : t[o];
483
483
  return arguments.length > 2 && (s.children = arguments.length > 3 ? pt.call(arguments, 2) : n), at(e.type, s, r || e.key, a || e.ref, null);
484
484
  }
485
- function ft(e, t) {
485
+ function mt(e, t) {
486
486
  var n = { __c: t = "__cC" + _a++, __: e, Consumer: function(r, a) {
487
487
  return r.children(a);
488
488
  }, Provider: function(r) {
@@ -520,7 +520,7 @@ pt = ga.slice, R = { __e: function(e, t, n, r) {
520
520
  }, _e.prototype.render = le, De = [], pa = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, an = function(e, t) {
521
521
  return e.__v.__b - t.__v.__b;
522
522
  }, Dt.__r = 0, In = 0, on = ur(!1), sn = ur(!0), _a = 0;
523
- var Ae, B, qt, cr, Ze = 0, Aa = [], G = R, fr = G.__b, mr = G.__r, dr = G.diffed, hr = G.__c, pr = G.unmount, _r = G.__;
523
+ var Ae, B, qt, cr, Ze = 0, Aa = [], G = R, mr = G.__b, fr = G.__r, dr = G.diffed, hr = G.__c, pr = G.unmount, _r = G.__;
524
524
  function ke(e, t) {
525
525
  G.__h && G.__h(B, e, Ze || t), Ze = 0;
526
526
  var n = B.__H || (B.__H = { __: [], __h: [] });
@@ -537,14 +537,14 @@ function Gt(e, t, n) {
537
537
  }], r.__c = B, !B.u)) {
538
538
  var a = function(s, l, u) {
539
539
  if (!r.__c.__H) return !0;
540
- var f = r.__c.__H.__.filter(function(d) {
540
+ var m = r.__c.__H.__.filter(function(d) {
541
541
  return !!d.__c;
542
542
  });
543
- if (f.every(function(d) {
543
+ if (m.every(function(d) {
544
544
  return !d.__N;
545
545
  })) return !o || o.call(this, s, l, u);
546
546
  var c = !1;
547
- return f.forEach(function(d) {
547
+ return m.forEach(function(d) {
548
548
  if (d.__N) {
549
549
  var h = d.__[0];
550
550
  d.__ = d.__N, d.__N = void 0, h !== d.__[0] && (c = !0);
@@ -555,8 +555,8 @@ function Gt(e, t, n) {
555
555
  var o = B.shouldComponentUpdate, i = B.componentWillUpdate;
556
556
  B.componentWillUpdate = function(s, l, u) {
557
557
  if (this.__e) {
558
- var f = o;
559
- o = void 0, a(s, l, u), o = f;
558
+ var m = o;
559
+ o = void 0, a(s, l, u), o = m;
560
560
  }
561
561
  i && i.call(this, s, l, u);
562
562
  }, B.shouldComponentUpdate = a;
@@ -618,7 +618,7 @@ function Pn() {
618
618
  }
619
619
  return e.__;
620
620
  }
621
- function fi() {
621
+ function mi() {
622
622
  for (var e; e = Aa.shift(); ) if (e.__P && e.__H) try {
623
623
  e.__H.__h.forEach(Ht), e.__H.__h.forEach(un), e.__H.__h = [];
624
624
  } catch (t) {
@@ -626,11 +626,11 @@ function fi() {
626
626
  }
627
627
  }
628
628
  G.__b = function(e) {
629
- B = null, fr && fr(e);
629
+ B = null, mr && mr(e);
630
630
  }, G.__ = function(e, t) {
631
631
  e && t.__k && t.__k.__m && (e.__m = t.__k.__m), _r && _r(e, t);
632
632
  }, G.__r = function(e) {
633
- mr && mr(e), Ae = 0;
633
+ fr && fr(e), Ae = 0;
634
634
  var t = (B = e.__c).__H;
635
635
  t && (qt === B ? (t.__h = [], B.__h = [], t.__.forEach(function(n) {
636
636
  n.__N && (n.__ = n.__N), n.i = n.__N = void 0;
@@ -638,7 +638,7 @@ G.__b = function(e) {
638
638
  }, G.diffed = function(e) {
639
639
  dr && dr(e);
640
640
  var t = e.__c;
641
- t && t.__H && (t.__H.__h.length && (Aa.push(t) !== 1 && cr === G.requestAnimationFrame || ((cr = G.requestAnimationFrame) || mi)(fi)), t.__H.__.forEach(function(n) {
641
+ t && t.__H && (t.__H.__h.length && (Aa.push(t) !== 1 && cr === G.requestAnimationFrame || ((cr = G.requestAnimationFrame) || fi)(mi)), t.__H.__.forEach(function(n) {
642
642
  n.i && (n.__H = n.i), n.i = void 0;
643
643
  })), qt = B = null;
644
644
  }, G.__c = function(e, t) {
@@ -665,7 +665,7 @@ G.__b = function(e) {
665
665
  }), n.__H = void 0, t && G.__e(t, n.__v));
666
666
  };
667
667
  var gr = typeof requestAnimationFrame == "function";
668
- function mi(e) {
668
+ function fi(e) {
669
669
  var t, n = function() {
670
670
  clearTimeout(r), gr && cancelAnimationFrame(t), setTimeout(e);
671
671
  }, r = setTimeout(n, 100);
@@ -692,7 +692,7 @@ function cn(e, t) {
692
692
  for (var r in t) if (r !== "__source" && e[r] !== t[r]) return !0;
693
693
  return !1;
694
694
  }
695
- function mt(e, t) {
695
+ function ft(e, t) {
696
696
  this.props = e, this.context = t;
697
697
  }
698
698
  function Ln(e, t) {
@@ -705,7 +705,7 @@ function Ln(e, t) {
705
705
  }
706
706
  return r.displayName = "Memo(" + (e.displayName || e.name) + ")", r.prototype.isReactComponent = !0, r.__f = !0, r;
707
707
  }
708
- (mt.prototype = new _e()).isPureReactComponent = !0, mt.prototype.shouldComponentUpdate = function(e, t) {
708
+ (ft.prototype = new _e()).isPureReactComponent = !0, ft.prototype.shouldComponentUpdate = function(e, t) {
709
709
  return cn(this.props, e) || cn(this.state, t);
710
710
  };
711
711
  var vr = R.__b;
@@ -977,24 +977,24 @@ function Xt(e) {
977
977
  return !0;
978
978
  }
979
979
  }
980
- var m = { useState: ae, useId: Pn, useReducer: Gt, useEffect: ue, useLayoutEffect: Qe, useInsertionEffect: $n, useTransition: Gn, useDeferredValue: kn, useSyncExternalStore: Wn, startTransition: Un, useRef: $t, useImperativeHandle: Rn, useMemo: _t, useCallback: wn, useContext: gt, useDebugValue: Mn, version: "18.3.1", Children: vt, render: Dn, hydrate: La, unmountComponentAtNode: Fn, createPortal: Pa, createElement: se, createContext: ft, createFactory: Ba, cloneElement: ka, createRef: ya, Fragment: le, isValidElement: yt, isElement: za, isFragment: Fa, isMemo: Ua, findDOMNode: Ga, Component: _e, PureComponent: mt, memo: Ln, forwardRef: Oa, flushSync: Wa, unstable_batchedUpdates: $a, StrictMode: ja, Suspense: ot, SuspenseList: Ve, lazy: Ma, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Da };
980
+ var f = { useState: ae, useId: Pn, useReducer: Gt, useEffect: ue, useLayoutEffect: Qe, useInsertionEffect: $n, useTransition: Gn, useDeferredValue: kn, useSyncExternalStore: Wn, startTransition: Un, useRef: $t, useImperativeHandle: Rn, useMemo: _t, useCallback: wn, useContext: gt, useDebugValue: Mn, version: "18.3.1", Children: vt, render: Dn, hydrate: La, unmountComponentAtNode: Fn, createPortal: Pa, createElement: se, createContext: mt, createFactory: Ba, cloneElement: ka, createRef: ya, Fragment: le, isValidElement: yt, isElement: za, isFragment: Fa, isMemo: Ua, findDOMNode: Ga, Component: _e, PureComponent: ft, memo: Ln, forwardRef: Oa, flushSync: Wa, unstable_batchedUpdates: $a, StrictMode: ja, Suspense: ot, SuspenseList: Ve, lazy: Ma, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Da };
981
981
  const Ii = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
982
982
  __proto__: null,
983
983
  Children: vt,
984
984
  Component: _e,
985
985
  Fragment: le,
986
- PureComponent: mt,
986
+ PureComponent: ft,
987
987
  StrictMode: ja,
988
988
  Suspense: ot,
989
989
  SuspenseList: Ve,
990
990
  __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Da,
991
991
  cloneElement: ka,
992
- createContext: ft,
992
+ createContext: mt,
993
993
  createElement: se,
994
994
  createFactory: Ba,
995
995
  createPortal: Pa,
996
996
  createRef: ya,
997
- default: m,
997
+ default: f,
998
998
  findDOMNode: Ga,
999
999
  flushSync: Wa,
1000
1000
  forwardRef: Oa,
@@ -1039,17 +1039,17 @@ function Ar(e) {
1039
1039
  }
1040
1040
  };
1041
1041
  }
1042
- var fn = function(e, t) {
1043
- return fn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
1042
+ var mn = function(e, t) {
1043
+ return mn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
1044
1044
  n.__proto__ = r;
1045
1045
  } || function(n, r) {
1046
1046
  for (var a in r) Object.prototype.hasOwnProperty.call(r, a) && (n[a] = r[a]);
1047
- }, fn(e, t);
1047
+ }, mn(e, t);
1048
1048
  };
1049
1049
  function de(e, t) {
1050
1050
  if (typeof t != "function" && t !== null)
1051
1051
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1052
- fn(e, t);
1052
+ mn(e, t);
1053
1053
  function n() {
1054
1054
  this.constructor = e;
1055
1055
  }
@@ -1209,7 +1209,7 @@ function eo(e) {
1209
1209
  function to(e) {
1210
1210
  return !!(e && typeof e == "object" && e.type === Ye.number);
1211
1211
  }
1212
- function mn(e) {
1212
+ function fn(e) {
1213
1213
  return !!(e && typeof e == "object" && e.type === Ye.dateTime);
1214
1214
  }
1215
1215
  var no = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Di = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
@@ -1314,8 +1314,8 @@ function Ui(e) {
1314
1314
  var o = a[r], i = o.split("/");
1315
1315
  if (i.length === 0)
1316
1316
  throw new Error("Invalid number skeleton");
1317
- for (var s = i[0], l = i.slice(1), u = 0, f = l; u < f.length; u++) {
1318
- var c = f[u];
1317
+ for (var s = i[0], l = i.slice(1), u = 0, m = l; u < m.length; u++) {
1318
+ var c = m[u];
1319
1319
  if (c.length === 0)
1320
1320
  throw new Error("Invalid number skeleton");
1321
1321
  }
@@ -1477,9 +1477,9 @@ function Wi(e) {
1477
1477
  case "integer-width":
1478
1478
  if (a.options.length > 1)
1479
1479
  throw new RangeError("integer-width stems only accept a single optional option");
1480
- a.options[0].replace(Gi, function(l, u, f, c, d, h) {
1480
+ a.options[0].replace(Gi, function(l, u, m, c, d, h) {
1481
1481
  if (u)
1482
- t.minimumIntegerDigits = f.length;
1482
+ t.minimumIntegerDigits = m.length;
1483
1483
  else {
1484
1484
  if (c && d)
1485
1485
  throw new Error("We currently do not support maximum integer digits");
@@ -1497,8 +1497,8 @@ function Wi(e) {
1497
1497
  if (Or.test(a.stem)) {
1498
1498
  if (a.options.length > 1)
1499
1499
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1500
- a.stem.replace(Or, function(l, u, f, c, d, h) {
1501
- return f === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : d && h ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + h.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1500
+ a.stem.replace(Or, function(l, u, m, c, d, h) {
1501
+ return m === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : d && h ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + h.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1502
1502
  });
1503
1503
  var o = a.options[0];
1504
1504
  o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), Nr(o)));
@@ -3266,13 +3266,13 @@ var os = (
3266
3266
  var u = null;
3267
3267
  if (this.bumpIf(",")) {
3268
3268
  this.bumpSpace();
3269
- var f = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3269
+ var m = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3270
3270
  if (c.err)
3271
3271
  return c;
3272
3272
  var d = as(c.val);
3273
3273
  if (d.length === 0)
3274
3274
  return this.error(w.EXPECT_ARGUMENT_STYLE, M(this.clonePosition(), this.clonePosition()));
3275
- var h = M(f, this.clonePosition());
3275
+ var h = M(m, this.clonePosition());
3276
3276
  u = { style: d, styleLocation: h };
3277
3277
  }
3278
3278
  var _ = this.tryParseArgumentClose(a);
@@ -3415,19 +3415,19 @@ var os = (
3415
3415
  err: null
3416
3416
  };
3417
3417
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, a) {
3418
- for (var o, i = !1, s = [], l = /* @__PURE__ */ new Set(), u = a.value, f = a.location; ; ) {
3418
+ for (var o, i = !1, s = [], l = /* @__PURE__ */ new Set(), u = a.value, m = a.location; ; ) {
3419
3419
  if (u.length === 0) {
3420
3420
  var c = this.clonePosition();
3421
3421
  if (n !== "select" && this.bumpIf("=")) {
3422
3422
  var d = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
3423
3423
  if (d.err)
3424
3424
  return d;
3425
- f = M(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3425
+ m = M(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3426
3426
  } else
3427
3427
  break;
3428
3428
  }
3429
3429
  if (l.has(u))
3430
- return this.error(n === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
3430
+ return this.error(n === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, m);
3431
3431
  u === "other" && (i = !0), this.bumpSpace();
3432
3432
  var h = this.clonePosition();
3433
3433
  if (!this.bumpIf("{"))
@@ -3444,7 +3444,7 @@ var os = (
3444
3444
  value: _.val,
3445
3445
  location: M(h, this.clonePosition())
3446
3446
  }
3447
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, f = o.location;
3447
+ ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, m = o.location;
3448
3448
  }
3449
3449
  return s.length === 0 ? this.error(n === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR : w.EXPECT_PLURAL_ARGUMENT_SELECTOR, M(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !i ? this.error(w.MISSING_OTHER_CLAUSE, M(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3450
3450
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
@@ -3544,7 +3544,7 @@ function gn(e) {
3544
3544
  if (delete t.location, Ja(t) || Qa(t))
3545
3545
  for (var n in t.options)
3546
3546
  delete t.options[n].location, gn(t.options[n].value);
3547
- else Za(t) && to(t.style) || (Ka(t) || Ya(t)) && mn(t.style) ? delete t.style.location : eo(t) && gn(t.children);
3547
+ else Za(t) && to(t.style) || (Ka(t) || Ya(t)) && fn(t.style) ? delete t.style.location : eo(t) && gn(t.children);
3548
3548
  });
3549
3549
  }
3550
3550
  function us(e, t) {
@@ -3590,7 +3590,7 @@ var Oe = (
3590
3590
  }
3591
3591
  return t;
3592
3592
  }(Oe)
3593
- ), fs = (
3593
+ ), ms = (
3594
3594
  /** @class */
3595
3595
  function(e) {
3596
3596
  de(t, e);
@@ -3603,7 +3603,7 @@ var Oe = (
3603
3603
  (function(e) {
3604
3604
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3605
3605
  })(Q || (Q = {}));
3606
- function ms(e) {
3606
+ function fs(e) {
3607
3607
  return e.length < 2 ? e : e.reduce(function(t, n) {
3608
3608
  var r = t[t.length - 1];
3609
3609
  return !r || r.type !== Q.literal || n.type !== Q.literal ? t.push(n) : r.value += n.value, t;
@@ -3621,58 +3621,58 @@ function Lt(e, t, n, r, a, o, i) {
3621
3621
  }
3622
3622
  ];
3623
3623
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3624
- var f = u[l];
3625
- if (Ir(f)) {
3624
+ var m = u[l];
3625
+ if (Ir(m)) {
3626
3626
  s.push({
3627
3627
  type: Q.literal,
3628
- value: f.value
3628
+ value: m.value
3629
3629
  });
3630
3630
  continue;
3631
3631
  }
3632
- if (Li(f)) {
3632
+ if (Li(m)) {
3633
3633
  typeof o == "number" && s.push({
3634
3634
  type: Q.literal,
3635
3635
  value: n.getNumberFormat(t).format(o)
3636
3636
  });
3637
3637
  continue;
3638
3638
  }
3639
- var c = f.value;
3639
+ var c = m.value;
3640
3640
  if (!(a && c in a))
3641
- throw new fs(c, i);
3641
+ throw new ms(c, i);
3642
3642
  var d = a[c];
3643
- if (Hi(f)) {
3643
+ if (Hi(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" ? Q.literal : Q.object,
3646
3646
  value: d
3647
3647
  });
3648
3648
  continue;
3649
3649
  }
3650
- if (Ka(f)) {
3651
- var h = typeof f.style == "string" ? r.date[f.style] : mn(f.style) ? f.style.parsedOptions : void 0;
3650
+ if (Ka(m)) {
3651
+ var h = typeof m.style == "string" ? r.date[m.style] : fn(m.style) ? m.style.parsedOptions : void 0;
3652
3652
  s.push({
3653
3653
  type: Q.literal,
3654
3654
  value: n.getDateTimeFormat(t, h).format(d)
3655
3655
  });
3656
3656
  continue;
3657
3657
  }
3658
- if (Ya(f)) {
3659
- var h = typeof f.style == "string" ? r.time[f.style] : mn(f.style) ? f.style.parsedOptions : r.time.medium;
3658
+ if (Ya(m)) {
3659
+ var h = typeof m.style == "string" ? r.time[m.style] : fn(m.style) ? m.style.parsedOptions : r.time.medium;
3660
3660
  s.push({
3661
3661
  type: Q.literal,
3662
3662
  value: n.getDateTimeFormat(t, h).format(d)
3663
3663
  });
3664
3664
  continue;
3665
3665
  }
3666
- if (Za(f)) {
3667
- var h = typeof f.style == "string" ? r.number[f.style] : to(f.style) ? f.style.parsedOptions : void 0;
3666
+ if (Za(m)) {
3667
+ var h = typeof m.style == "string" ? r.number[m.style] : to(m.style) ? m.style.parsedOptions : void 0;
3668
3668
  h && h.scale && (d = d * (h.scale || 1)), s.push({
3669
3669
  type: Q.literal,
3670
3670
  value: n.getNumberFormat(t, h).format(d)
3671
3671
  });
3672
3672
  continue;
3673
3673
  }
3674
- if (eo(f)) {
3675
- var _ = f.children, b = f.value, v = a[b];
3674
+ if (eo(m)) {
3675
+ var _ = m.children, b = m.value, v = a[b];
3676
3676
  if (!uo(v))
3677
3677
  throw new cs(b, "function", i);
3678
3678
  var y = Lt(_, t, n, r, a, o), x = v(y.map(function(g) {
@@ -3685,30 +3685,30 @@ function Lt(e, t, n, r, a, o, i) {
3685
3685
  };
3686
3686
  }));
3687
3687
  }
3688
- if (Ja(f)) {
3689
- var E = f.options[d] || f.options.other;
3688
+ if (Ja(m)) {
3689
+ var E = m.options[d] || m.options.other;
3690
3690
  if (!E)
3691
- throw new Hr(f.value, d, Object.keys(f.options), i);
3691
+ throw new Hr(m.value, d, Object.keys(m.options), i);
3692
3692
  s.push.apply(s, Lt(E.value, t, n, r, a));
3693
3693
  continue;
3694
3694
  }
3695
- if (Qa(f)) {
3696
- var E = f.options["=".concat(d)];
3695
+ if (Qa(m)) {
3696
+ var E = m.options["=".concat(d)];
3697
3697
  if (!E) {
3698
3698
  if (!Intl.PluralRules)
3699
3699
  throw new Oe(`Intl.PluralRules is not available in this environment.
3700
3700
  Try polyfilling it using "@formatjs/intl-pluralrules"
3701
3701
  `, xe.MISSING_INTL_API, i);
3702
- var A = n.getPluralRules(t, { type: f.pluralType }).select(d - (f.offset || 0));
3703
- E = f.options[A] || f.options.other;
3702
+ var A = n.getPluralRules(t, { type: m.pluralType }).select(d - (m.offset || 0));
3703
+ E = m.options[A] || m.options.other;
3704
3704
  }
3705
3705
  if (!E)
3706
- throw new Hr(f.value, d, Object.keys(f.options), i);
3707
- s.push.apply(s, Lt(E.value, t, n, r, a, d - (f.offset || 0)));
3706
+ throw new Hr(m.value, d, Object.keys(m.options), i);
3707
+ s.push.apply(s, Lt(E.value, t, n, r, a, d - (m.offset || 0)));
3708
3708
  continue;
3709
3709
  }
3710
3710
  }
3711
- return ms(s);
3711
+ return fs(s);
3712
3712
  }
3713
3713
  function ds(e, t) {
3714
3714
  return t ? T(T(T({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
@@ -3780,10 +3780,10 @@ var co = (
3780
3780
  var u = o.formatToParts(l);
3781
3781
  if (u.length === 1)
3782
3782
  return u[0].value;
3783
- var f = u.reduce(function(c, d) {
3783
+ var m = u.reduce(function(c, d) {
3784
3784
  return !c.length || d.type !== Q.literal || typeof c[c.length - 1] != "string" ? c.push(d.value) : c[c.length - 1] += d.value, c;
3785
3785
  }, []);
3786
- return f.length <= 1 ? f[0] || "" : f;
3786
+ return m.length <= 1 ? m[0] || "" : m;
3787
3787
  }, this.formatToParts = function(l) {
3788
3788
  return Lt(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3789
3789
  }, this.resolvedOptions = function() {
@@ -3968,7 +3968,7 @@ function Ge(e, t, n) {
3968
3968
  }
3969
3969
  var ys = function(e) {
3970
3970
  }, bs = function(e) {
3971
- }, fo = {
3971
+ }, mo = {
3972
3972
  formats: {},
3973
3973
  messages: {},
3974
3974
  timeZone: void 0,
@@ -3978,7 +3978,7 @@ var ys = function(e) {
3978
3978
  onError: ys,
3979
3979
  onWarn: bs
3980
3980
  };
3981
- function mo() {
3981
+ function fo() {
3982
3982
  return {
3983
3983
  dateTime: {},
3984
3984
  number: {},
@@ -4004,7 +4004,7 @@ function we(e) {
4004
4004
  };
4005
4005
  }
4006
4006
  function Es(e) {
4007
- e === void 0 && (e = mo());
4007
+ e === void 0 && (e = fo());
4008
4008
  var t = Intl.RelativeTimeFormat, n = Intl.ListFormat, r = Intl.DisplayNames, a = te(function() {
4009
4009
  for (var s, l = [], u = 0; u < arguments.length; u++)
4010
4010
  l[u] = arguments[u];
@@ -4030,12 +4030,12 @@ function Es(e) {
4030
4030
  return {
4031
4031
  getDateTimeFormat: a,
4032
4032
  getNumberFormat: o,
4033
- getMessageFormat: te(function(s, l, u, f) {
4033
+ getMessageFormat: te(function(s, l, u, m) {
4034
4034
  return new co(s, l, u, T({ formatters: {
4035
4035
  getNumberFormat: o,
4036
4036
  getDateTimeFormat: a,
4037
4037
  getPluralRules: i
4038
- } }, f || {}));
4038
+ } }, m || {}));
4039
4039
  }, {
4040
4040
  cache: we(e.message),
4041
4041
  strategy: ne.variadic
@@ -4091,7 +4091,7 @@ function Br(e, t) {
4091
4091
  return T(T(T({}, n), e), { date: Dr(Rt(n.date, t), Rt(e.date || {}, t)), time: Dr(Rt(n.time, t), Rt(e.time || {}, t)) });
4092
4092
  }
4093
4093
  var vn = function(e, t, n, r, a) {
4094
- var o = e.locale, i = e.formats, s = e.messages, l = e.defaultLocale, u = e.defaultFormats, f = e.fallbackOnEmptyString, c = e.onError, d = e.timeZone, h = e.defaultRichTextElements;
4094
+ var o = e.locale, i = e.formats, s = e.messages, l = e.defaultLocale, u = e.defaultFormats, m = e.fallbackOnEmptyString, c = e.onError, d = e.timeZone, h = e.defaultRichTextElements;
4095
4095
  n === void 0 && (n = { id: "" });
4096
4096
  var _ = n.id, b = n.defaultMessage;
4097
4097
  Xa(!!_, "[@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");
@@ -4106,7 +4106,7 @@ var vn = function(e, t, n, r, a) {
4106
4106
  if (!r && y && typeof y == "string" && !h)
4107
4107
  return y.replace(/'\{(.*?)\}'/gi, "{$1}");
4108
4108
  if (r = T(T({}, h), r || {}), i = Br(i, d), u = Br(u, d), !y) {
4109
- if (f === !1 && y === "")
4109
+ if (m === !1 && y === "")
4110
4110
  return y;
4111
4111
  if ((!b || o && o.toLowerCase() !== l.toLowerCase()) && c(new vs(n, o)), b)
4112
4112
  try {
@@ -4155,8 +4155,8 @@ var vn = function(e, t, n, r, a) {
4155
4155
  function Wt(e, t, n, r) {
4156
4156
  var a = e.locale, o = e.formats, i = e.onError, s = e.timeZone;
4157
4157
  r === void 0 && (r = {});
4158
- var l = r.format, u = T(T({}, s && { timeZone: s }), l && Vn(o, t, l, i)), f = Ge(r, ho, u);
4159
- return t === "time" && !f.hour && !f.minute && !f.second && !f.timeStyle && !f.dateStyle && (f = T(T({}, f), { hour: "numeric", minute: "numeric" })), n(a, f);
4158
+ var l = r.format, u = T(T({}, s && { timeZone: s }), l && Vn(o, t, l, i)), m = Ge(r, ho, u);
4159
+ return t === "time" && !m.hour && !m.minute && !m.second && !m.timeStyle && !m.dateStyle && (m = T(T({}, m), { hour: "numeric", minute: "numeric" })), n(a, m);
4160
4160
  }
4161
4161
  function xs(e, t) {
4162
4162
  for (var n = [], r = 2; r < arguments.length; r++)
@@ -4183,11 +4183,11 @@ function Ts(e, t) {
4183
4183
  function Cs(e, t) {
4184
4184
  for (var n = [], r = 2; r < arguments.length; r++)
4185
4185
  n[r - 2] = arguments[r];
4186
- var a = n[0], o = n[1], i = n[2], s = i === void 0 ? {} : i, l = e.timeZone, u = e.locale, f = e.onError, c = Ge(s, ho, l ? { timeZone: l } : {});
4186
+ var a = n[0], o = n[1], i = n[2], s = i === void 0 ? {} : i, l = e.timeZone, u = e.locale, m = e.onError, c = Ge(s, ho, l ? { timeZone: l } : {});
4187
4187
  try {
4188
4188
  return t(u, c).formatRange(a, o);
4189
4189
  } catch (d) {
4190
- f(new he("Error formatting date time range.", e.locale, d));
4190
+ m(new he("Error formatting date time range.", e.locale, d));
4191
4191
  }
4192
4192
  return String(a);
4193
4193
  }
@@ -4255,18 +4255,18 @@ Try polyfilling it using "@formatjs/intl-listformat"
4255
4255
  `, xe.MISSING_INTL_API));
4256
4256
  var s = Ge(r, Ns);
4257
4257
  try {
4258
- var l = {}, u = n.map(function(f, c) {
4259
- if (typeof f == "object") {
4258
+ var l = {}, u = n.map(function(m, c) {
4259
+ if (typeof m == "object") {
4260
4260
  var d = Rs(c);
4261
- return l[d] = f, d;
4261
+ return l[d] = m, d;
4262
4262
  }
4263
- return String(f);
4263
+ return String(m);
4264
4264
  });
4265
- return t(a, s).formatToParts(u).map(function(f) {
4266
- return f.type === "literal" ? f : T(T({}, f), { value: l[f.value] || f.value });
4265
+ return t(a, s).formatToParts(u).map(function(m) {
4266
+ return m.type === "literal" ? m : T(T({}, m), { value: l[m.value] || m.value });
4267
4267
  });
4268
- } catch (f) {
4269
- o(new he("Error formatting list.", a, f));
4268
+ } catch (m) {
4269
+ o(new he("Error formatting list.", a, m));
4270
4270
  }
4271
4271
  return n;
4272
4272
  }
@@ -4364,7 +4364,7 @@ Please consider using "@formatjs/cli" to pre-compile your messages for performan
4364
4364
  For more details see https://formatjs.io/docs/getting-started/message-distribution`);
4365
4365
  }
4366
4366
  function $s(e, t) {
4367
- var n = Es(t), r = T(T({}, fo), e), a = r.locale, o = r.defaultLocale, i = r.onError;
4367
+ var n = Es(t), r = T(T({}, mo), e), a = r.locale, o = r.defaultLocale, i = r.onError;
4368
4368
  return a ? !Intl.NumberFormat.supportedLocalesOf(a).length && i ? i(new Lr('Missing locale data for locale: "'.concat(a, '" in Intl.NumberFormat. Using default locale: "').concat(o, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : !Intl.DateTimeFormat.supportedLocalesOf(a).length && i && i(new Lr('Missing locale data for locale: "'.concat(a, '" in Intl.DateTimeFormat. Using default locale: "').concat(o, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : (i && i(new gs('"locale" was not configured, using "'.concat(o, '" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))), r.locale = r.defaultLocale || "en"), Gs(r), T(T({}, r), {
4369
4369
  formatters: n,
4370
4370
  formatNumber: Fs.bind(null, r, n.getNumberFormat),
@@ -4388,7 +4388,7 @@ function $s(e, t) {
4388
4388
  function go(e) {
4389
4389
  Xa(e, "[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.");
4390
4390
  }
4391
- var vo = T(T({}, fo), { textComponent: le });
4391
+ var vo = T(T({}, mo), { textComponent: le });
4392
4392
  function Ws(e) {
4393
4393
  return function(t) {
4394
4394
  return e(vt.toArray(t));
@@ -4444,7 +4444,7 @@ var Ur;
4444
4444
  function js() {
4445
4445
  if (Ur) return D;
4446
4446
  Ur = 1;
4447
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = 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, f = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, _ = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, y = 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, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = 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, h = e ? Symbol.for("react.memo") : 60115, _ = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
4448
4448
  function E(g) {
4449
4449
  if (typeof g == "object" && g !== null) {
4450
4450
  var N = g.$$typeof;
@@ -4461,7 +4461,7 @@ function js() {
4461
4461
  default:
4462
4462
  switch (g = g && g.$$typeof, g) {
4463
4463
  case s:
4464
- case f:
4464
+ case m:
4465
4465
  case _:
4466
4466
  case h:
4467
4467
  case i:
@@ -4478,7 +4478,7 @@ function js() {
4478
4478
  function A(g) {
4479
4479
  return E(g) === u;
4480
4480
  }
4481
- return D.AsyncMode = l, D.ConcurrentMode = u, D.ContextConsumer = s, D.ContextProvider = i, D.Element = t, D.ForwardRef = f, D.Fragment = r, D.Lazy = _, D.Memo = h, D.Portal = n, D.Profiler = o, D.StrictMode = a, D.Suspense = c, D.isAsyncMode = function(g) {
4481
+ return D.AsyncMode = l, D.ConcurrentMode = u, D.ContextConsumer = s, D.ContextProvider = i, D.Element = t, D.ForwardRef = m, D.Fragment = r, D.Lazy = _, D.Memo = h, D.Portal = n, D.Profiler = o, D.StrictMode = a, D.Suspense = c, D.isAsyncMode = function(g) {
4482
4482
  return A(g) || E(g) === l;
4483
4483
  }, D.isConcurrentMode = A, D.isContextConsumer = function(g) {
4484
4484
  return E(g) === s;
@@ -4487,7 +4487,7 @@ function js() {
4487
4487
  }, D.isElement = function(g) {
4488
4488
  return typeof g == "object" && g !== null && g.$$typeof === t;
4489
4489
  }, D.isForwardRef = function(g) {
4490
- return E(g) === f;
4490
+ return E(g) === m;
4491
4491
  }, D.isFragment = function(g) {
4492
4492
  return E(g) === r;
4493
4493
  }, D.isLazy = function(g) {
@@ -4503,7 +4503,7 @@ function js() {
4503
4503
  }, D.isSuspense = function(g) {
4504
4504
  return E(g) === c;
4505
4505
  }, D.isValidElementType = function(g) {
4506
- return typeof g == "string" || typeof g == "function" || g === r || g === u || g === o || g === a || g === c || g === d || typeof g == "object" && g !== null && (g.$$typeof === _ || g.$$typeof === h || g.$$typeof === i || g.$$typeof === s || g.$$typeof === f || g.$$typeof === v || g.$$typeof === y || g.$$typeof === x || g.$$typeof === b);
4506
+ return typeof g == "string" || typeof g == "function" || g === r || g === u || g === o || g === a || g === c || g === d || typeof g == "object" && g !== null && (g.$$typeof === _ || g.$$typeof === h || g.$$typeof === i || g.$$typeof === s || g.$$typeof === m || g.$$typeof === v || g.$$typeof === y || g.$$typeof === x || g.$$typeof === b);
4507
4507
  }, D.typeOf = E, D;
4508
4508
  }
4509
4509
  bo.exports = js();
@@ -4523,7 +4523,7 @@ var zs = bo.exports, Eo = zs, Vs = {
4523
4523
  }, xo = {};
4524
4524
  xo[Eo.ForwardRef] = Vs;
4525
4525
  xo[Eo.Memo] = qs;
4526
- var qn = typeof window != "undefined" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = ft(null)) : ft(null);
4526
+ var qn = typeof window != "undefined" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = mt(null)) : mt(null);
4527
4527
  qn.Consumer;
4528
4528
  var Xs = qn.Provider, Zs = Xs, Ks = qn;
4529
4529
  function jt() {
@@ -4619,7 +4619,7 @@ var Ys = (
4619
4619
  de(t, e);
4620
4620
  function t() {
4621
4621
  var n = e !== null && e.apply(this, arguments) || this;
4622
- return n.cache = mo(), n.state = {
4622
+ return n.cache = fo(), n.state = {
4623
4623
  cache: n.cache,
4624
4624
  intl: Gr(Jt(n.props), n.cache),
4625
4625
  prevConfig: Jt(n.props)
@@ -4634,14 +4634,14 @@ var Ys = (
4634
4634
  }, t.prototype.render = function() {
4635
4635
  return go(this.state.intl), se(Zs, { value: this.state.intl }, this.props.children);
4636
4636
  }, t.displayName = "IntlProvider", t.defaultProps = vo, t;
4637
- }(mt)
4637
+ }(ft)
4638
4638
  );
4639
4639
  function Js(e, t) {
4640
4640
  var n = e.values, r = Ke(e, ["values"]), a = t.values, o = Ke(t, ["values"]);
4641
4641
  return yn(a, n) && yn(r, o);
4642
4642
  }
4643
4643
  function So(e) {
4644
- var t = jt(), n = t.formatMessage, r = t.textComponent, a = r === void 0 ? le : r, o = e.id, i = e.description, s = e.defaultMessage, l = e.values, u = e.children, f = e.tagName, c = f === void 0 ? a : f, d = e.ignoreTag, h = { id: o, description: i, defaultMessage: s }, _ = n(h, l, {
4644
+ var t = jt(), n = t.formatMessage, r = t.textComponent, a = r === void 0 ? le : r, o = e.id, i = e.description, s = e.defaultMessage, l = e.values, u = e.children, m = e.tagName, c = m === void 0 ? a : m, d = e.ignoreTag, h = { id: o, description: i, defaultMessage: s }, _ = n(h, l, {
4645
4645
  ignoreTag: d
4646
4646
  });
4647
4647
  return typeof u == "function" ? u(Array.isArray(_) ? _ : [_]) : c ? se(c, null, vt.toArray(_)) : se(le, null, _);
@@ -4891,7 +4891,7 @@ const Qs = {
4891
4891
  default:
4892
4892
  return el;
4893
4893
  }
4894
- }, $r = ({ children: e, locale: t }) => /* @__PURE__ */ m.createElement(Ys, { messages: il(t), locale: t, defaultLocale: "en" }, e), sl = (e) => e.split("").reduce(
4894
+ }, $r = ({ children: e, locale: t }) => /* @__PURE__ */ f.createElement(Ys, { messages: il(t), locale: t, defaultLocale: "en" }, e), sl = (e) => e.split("").reduce(
4895
4895
  (t, n) => (
4896
4896
  // The accumulator (a) is shifted left by 5 bits (multiplied by 32), then subtracted by itself and added to the ASCII value of the current character (b).
4897
4897
  // The bitwise OR operation with 0 is used to ensure the result is a 32-bit integer.
@@ -4915,9 +4915,9 @@ const Qs = {
4915
4915
  sessionStorage.removeItem(o);
4916
4916
  },
4917
4917
  createKey: (o) => {
4918
- const { purchaseAmount: i, plans: s, customerBillingCountry: l, customerShippingCountry: u } = o, f = i.toString(), c = JSON.stringify(s);
4918
+ const { purchaseAmount: i, plans: s, customerBillingCountry: l, customerShippingCountry: u } = o, m = i.toString(), c = JSON.stringify(s);
4919
4919
  return sl(
4920
- `${f}${c}${l}${u}`
4920
+ `${m}${c}${l}${u}`
4921
4921
  );
4922
4922
  }
4923
4923
  });
@@ -4933,7 +4933,7 @@ function cl(e, t, n = "") {
4933
4933
  })).json();
4934
4934
  });
4935
4935
  }
4936
- const fl = (e, t) => e.eligible && t ? e.purchase_amount >= (t == null ? void 0 : t.minAmount) && e.purchase_amount <= (t == null ? void 0 : t.maxAmount) : !1, ml = (e, t) => {
4936
+ const ml = (e, t) => e.eligible && t ? e.purchase_amount >= (t == null ? void 0 : t.minAmount) && e.purchase_amount <= (t == null ? void 0 : t.maxAmount) : !1, fl = (e, t) => {
4937
4937
  var r;
4938
4938
  const n = (r = e.constraints) == null ? void 0 : r.purchase_amount;
4939
4939
  return n && t ? {
@@ -4946,26 +4946,26 @@ const fl = (e, t) => e.eligible && t ? e.purchase_amount >= (t == null ? void 0
4946
4946
  return n.installments_count === o.installmentsCount && r === i;
4947
4947
  });
4948
4948
  return Te(ar(Te({}, n), {
4949
- eligible: fl(n, a)
4950
- }), ml(n, a));
4949
+ eligible: ml(n, a)
4950
+ }), fl(n, a));
4951
4951
  }) : e.filter(
4952
4952
  (n) => !(n.installments_count === 1 && n.deferred_days === 0 && n.deferred_months === 0)
4953
4953
  );
4954
- var hl = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_ebab8bd2-c668-4994-8d44-31fc57c4ce0f", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", USER: "runner", BUILD_VERSION: "v4.0.0", npm_config_user_agent: "npm/10.9.2 node/v22.13.1 linux x64 workspaces/false ci/github-actions", CI: "true", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_ebab8bd2-c668-4994-8d44-31fc57c4ce0f", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.13.1/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_config_noproxy: "", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_json: "/home/runner/work/widgets/widgets/package.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "alma", npm_package_engines_node: ">=6.0.0", GRADLE_HOME: "/usr/share/gradle-8.12.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "43338473", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/.npmrc", npm_config_local_prefix: "/home/runner/work/widgets/widgets", SYSTEMD_EXEC_PID: "832", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", COLOR: "0", NVM_DIR: "/home/runner/.nvm", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250202.1.0", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.11/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.5/x64", JOURNAL_STREAM: "8:2018", GITHUB_WORKFLOW: "Release", _: "/opt/hostedtoolcache/node/22.13.1/x64/bin/npm", npm_config_prefix: "/opt/hostedtoolcache/node/22.13.1/x64", npm_config_npm_version: "10.9.2", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "13177575961", STATS_VMFE: "true", npm_config_cache: "/home/runner/.npm", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "7fb754f5b83b565ba2261aff1538908d087bc2dc", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GITHUB_WORKFLOW_REF: "alma/widgets/.github/workflows/release.yml@refs/tags/v4.0.0", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_config_node_gyp: "/opt/hostedtoolcache/node/22.13.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/22.13.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_acada320-055a-4237-b117-5d77bde56571", INVOCATION_ID: "4e89f078c1344a4bbb24f5f1cff0ae7d", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/22.13.1/x64/bin/node", npm_package_name: "@alma/widgets", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "22", GITHUB_TRIGGERING_ACTOR: "CamilleFljt", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 307", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "v4.0.0", GITHUB_REPOSITORY: "alma/widgets", STATS_D_D: "false", npm_lifecycle_script: "vite", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", GITHUB_REPOSITORY_ID: "436622633", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_package_version: "4.0.0", npm_lifecycle_event: "npx", GITHUB_REF_PROTECTED: "false", GITHUB_WORKSPACE: "/home/runner/work/widgets/widgets", ACCEPT_EULA: "Y", GITHUB_JOB: "publish-package", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_config_commitizen_path: "./node_modules/cz-conventional-changelog", GITHUB_SHA: "7fb754f5b83b565ba2261aff1538908d087bc2dc", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", GITHUB_REF: "refs/tags/v4.0.0", GITHUB_ACTOR: "CamilleFljt", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_globalconfig: "/opt/hostedtoolcache/node/22.13.1/x64/etc/npmrc", npm_config_init_module: "/home/runner/.npm-init.js", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_ebab8bd2-c668-4994-8d44-31fc57c4ce0f", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/widgets/widgets", GITHUB_ACTOR_ID: "112871182", RUNNER_WORKSPACE: "/home/runner/work/widgets", npm_execpath: "/opt/hostedtoolcache/node/22.13.1/x64/lib/node_modules/npm/bin/npm-cli.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "release", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_ebab8bd2-c668-4994-8d44-31fc57c4ce0f", npm_config_global_prefix: "/opt/hostedtoolcache/node/22.13.1/x64", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_command: "exec", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_ebab8bd2-c668-4994-8d44-31fc57c4ce0f", INIT_CWD: "/home/runner/work/widgets/widgets", EDITOR: "vi", NODE_ENV: "production" };
4954
+ var hl = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_6b91f3c6-b55e-4641-8dbc-67c242aa04e2", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", USER: "runner", BUILD_VERSION: "v4.0.1", npm_config_user_agent: "npm/10.9.2 node/v22.13.1 linux x64 workspaces/false ci/github-actions", CI: "true", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_6b91f3c6-b55e-4641-8dbc-67c242aa04e2", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.13.1/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_config_noproxy: "", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_json: "/home/runner/work/widgets/widgets/package.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "alma", npm_package_engines_node: ">=6.0.0", GRADLE_HOME: "/usr/share/gradle-8.12.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "43338473", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/.npmrc", npm_config_local_prefix: "/home/runner/work/widgets/widgets", SYSTEMD_EXEC_PID: "835", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", COLOR: "0", NVM_DIR: "/home/runner/.nvm", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250202.1.0", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.11/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.5/x64", JOURNAL_STREAM: "8:5100", GITHUB_WORKFLOW: "Release", _: "/opt/hostedtoolcache/node/22.13.1/x64/bin/npm", npm_config_prefix: "/opt/hostedtoolcache/node/22.13.1/x64", npm_config_npm_version: "10.9.2", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "13197849404", STATS_VMFE: "true", npm_config_cache: "/home/runner/.npm", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "303dc9dcbdbc9521c4b8e593abb70d7c21f8d90e", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GITHUB_WORKFLOW_REF: "alma/widgets/.github/workflows/release.yml@refs/tags/v4.0.1", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_config_node_gyp: "/opt/hostedtoolcache/node/22.13.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/widgets/widgets/node_modules/.bin:/home/runner/work/widgets/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/22.13.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_1e1ec046-ce11-43c3-8bd4-d17ecedad2a5", INVOCATION_ID: "ede14c443afe4c389c7eb8757c19d876", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/22.13.1/x64/bin/node", npm_package_name: "@alma/widgets", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "23", GITHUB_TRIGGERING_ACTOR: "CamilleFljt", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 376", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "v4.0.1", GITHUB_REPOSITORY: "alma/widgets", STATS_D_D: "false", npm_lifecycle_script: "vite", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", GITHUB_REPOSITORY_ID: "436622633", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_package_version: "4.0.1", npm_lifecycle_event: "npx", GITHUB_REF_PROTECTED: "false", GITHUB_WORKSPACE: "/home/runner/work/widgets/widgets", ACCEPT_EULA: "Y", GITHUB_JOB: "publish-package", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_config_commitizen_path: "./node_modules/cz-conventional-changelog", GITHUB_SHA: "303dc9dcbdbc9521c4b8e593abb70d7c21f8d90e", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", GITHUB_REF: "refs/tags/v4.0.1", GITHUB_ACTOR: "CamilleFljt", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_globalconfig: "/opt/hostedtoolcache/node/22.13.1/x64/etc/npmrc", npm_config_init_module: "/home/runner/.npm-init.js", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_6b91f3c6-b55e-4641-8dbc-67c242aa04e2", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/widgets/widgets", GITHUB_ACTOR_ID: "112871182", RUNNER_WORKSPACE: "/home/runner/work/widgets", npm_execpath: "/opt/hostedtoolcache/node/22.13.1/x64/lib/node_modules/npm/bin/npm-cli.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "release", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_6b91f3c6-b55e-4641-8dbc-67c242aa04e2", npm_config_global_prefix: "/opt/hostedtoolcache/node/22.13.1/x64", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_command: "exec", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_6b91f3c6-b55e-4641-8dbc-67c242aa04e2", INIT_CWD: "/home/runner/work/widgets/widgets", EDITOR: "vi", NODE_ENV: "production" };
4955
4955
  const Io = (e, { domain: t, merchantId: n }, r, a, o) => {
4956
4956
  var x, E;
4957
- const [i, s] = ae([]), [l, u] = ae(me.PENDING), { getCache: f, setCache: c, createKey: d } = ul(), h = d({
4957
+ const [i, s] = ae([]), [l, u] = ae(fe.PENDING), { getCache: m, setCache: c, createKey: d } = ul(), h = d({
4958
4958
  purchaseAmount: e,
4959
4959
  plans: r,
4960
4960
  customerBillingCountry: a,
4961
4961
  customerShippingCountry: o
4962
- }), _ = (x = f(h)) == null ? void 0 : x.value, b = (E = f(h)) == null ? void 0 : E.timestamp, v = b && ll(b), y = r == null ? void 0 : r.map((A) => ({
4962
+ }), _ = (x = m(h)) == null ? void 0 : x.value, b = (E = m(h)) == null ? void 0 : E.timestamp, v = b && ll(b), y = r == null ? void 0 : r.map((A) => ({
4963
4963
  installments_count: A.installmentsCount,
4964
4964
  deferred_days: A == null ? void 0 : A.deferredDays,
4965
4965
  deferred_months: A == null ? void 0 : A.deferredMonths
4966
4966
  }));
4967
4967
  return ue(() => {
4968
- if (l === me.PENDING) {
4968
+ if (l === fe.PENDING) {
4969
4969
  let A = null;
4970
4970
  a && (A = {
4971
4971
  country: a
@@ -4973,7 +4973,7 @@ const Io = (e, { domain: t, merchantId: n }, r, a, o) => {
4973
4973
  let g = null;
4974
4974
  o && (g = {
4975
4975
  country: o
4976
- }), _ && !v && (s(_), u(me.SUCCESS)), (!_ || v) && cl(
4976
+ }), _ && !v && (s(_), u(fe.SUCCESS)), (!_ || v) && cl(
4977
4977
  {
4978
4978
  purchase_amount: e,
4979
4979
  queries: y,
@@ -4986,9 +4986,9 @@ const Io = (e, { domain: t, merchantId: n }, r, a, o) => {
4986
4986
  },
4987
4987
  `${t}/v2/payments/eligibility`
4988
4988
  ).then((N) => {
4989
- c(h, N), s(N), u(me.SUCCESS);
4989
+ c(h, N), s(N), u(fe.SUCCESS);
4990
4990
  }).catch(() => {
4991
- u(me.FAILED);
4991
+ u(fe.FAILED);
4992
4992
  });
4993
4993
  }
4994
4994
  }, [
@@ -5015,42 +5015,42 @@ function bl(e, t) {
5015
5015
  if (a && r || !(a || r))
5016
5016
  return !1;
5017
5017
  var o = n.expressions.every(function(i) {
5018
- var s = i.feature, l = i.modifier, u = i.value, f = t[s];
5019
- if (!f)
5018
+ var s = i.feature, l = i.modifier, u = i.value, m = t[s];
5019
+ if (!m)
5020
5020
  return !1;
5021
5021
  switch (s) {
5022
5022
  case "orientation":
5023
5023
  case "scan":
5024
- return f.toLowerCase() === u.toLowerCase();
5024
+ return m.toLowerCase() === u.toLowerCase();
5025
5025
  case "width":
5026
5026
  case "height":
5027
5027
  case "device-width":
5028
5028
  case "device-height":
5029
- u = zr(u), f = zr(f);
5029
+ u = zr(u), m = zr(m);
5030
5030
  break;
5031
5031
  case "resolution":
5032
- u = jr(u), f = jr(f);
5032
+ u = jr(u), m = jr(m);
5033
5033
  break;
5034
5034
  case "aspect-ratio":
5035
5035
  case "device-aspect-ratio":
5036
5036
  case /* Deprecated */
5037
5037
  "device-pixel-ratio":
5038
- u = Wr(u), f = Wr(f);
5038
+ u = Wr(u), m = Wr(m);
5039
5039
  break;
5040
5040
  case "grid":
5041
5041
  case "color":
5042
5042
  case "color-index":
5043
5043
  case "monochrome":
5044
- u = parseInt(u, 10) || 1, f = parseInt(f, 10) || 0;
5044
+ u = parseInt(u, 10) || 1, m = parseInt(m, 10) || 0;
5045
5045
  break;
5046
5046
  }
5047
5047
  switch (l) {
5048
5048
  case "min":
5049
- return f >= u;
5049
+ return m >= u;
5050
5050
  case "max":
5051
- return f <= u;
5051
+ return m <= u;
5052
5052
  default:
5053
- return f === u;
5053
+ return m === u;
5054
5054
  }
5055
5055
  });
5056
5056
  return o && !r || !o && r;
@@ -5170,7 +5170,7 @@ function wl() {
5170
5170
  function n() {
5171
5171
  }
5172
5172
  return n.resetWarningCache = t, tn = function() {
5173
- function r(i, s, l, u, f, c) {
5173
+ function r(i, s, l, u, m, c) {
5174
5174
  if (c !== e) {
5175
5175
  var d = new Error(
5176
5176
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
@@ -5236,7 +5236,7 @@ const H = /* @__PURE__ */ Et(Zn), ee = H.oneOfType([H.string, H.number]), Kn = {
5236
5236
  monochrome: H.bool,
5237
5237
  resolution: ee,
5238
5238
  type: Object.keys(Kn)
5239
- }, ir = wo, { type: Uf } = ir, Ml = It(ir, ["type"]), Mo = Te({
5239
+ }, ir = wo, { type: Fm } = ir, Ml = It(ir, ["type"]), Mo = Te({
5240
5240
  minAspectRatio: H.string,
5241
5241
  maxAspectRatio: H.string,
5242
5242
  minDeviceAspectRatio: H.string,
@@ -5273,7 +5273,7 @@ const Ll = (e) => `not ${e}`, Dl = (e, t) => {
5273
5273
  const r = e[n];
5274
5274
  r != null && t.push(Dl(n, r));
5275
5275
  }), Bl(t);
5276
- }, Ul = ft(void 0), kl = (e) => e.query || Fl(e), Zr = (e) => e ? Object.keys(e).reduce((n, r) => (n[No(r)] = e[r], n), {}) : void 0, Po = () => {
5276
+ }, Ul = mt(void 0), kl = (e) => e.query || Fl(e), Zr = (e) => e ? Object.keys(e).reduce((n, r) => (n[No(r)] = e[r], n), {}) : void 0, Po = () => {
5277
5277
  const e = $t(!1);
5278
5278
  return ue(() => {
5279
5279
  e.current = !0;
@@ -5384,36 +5384,36 @@ const P = /* @__PURE__ */ Et(Vl), ql = "_container_xqepo_1", Xl = "_total_xqepo_
5384
5384
  cardContainer: `${Z}-card-logos`,
5385
5385
  summary: `${Z}-summary`
5386
5386
  }, eu = ({ currentPlan: e }) => {
5387
- var u, f, c, d, h, _;
5388
- const t = jt(), n = ie(e.purchase_amount + e.customer_total_cost_amount), r = ie(e.customer_total_cost_amount), a = (e == null ? void 0 : e.annual_interest_rate) && e.annual_interest_rate / 1e4 || 0, o = ie(e.customer_total_cost_amount), i = e.installments_count > 4, s = ie((c = (f = (u = e.payment_plan) == null ? void 0 : u[0]) == null ? void 0 : f.total_amount) != null ? c : 0), l = ie(
5387
+ var u, m, c, d, h, _;
5388
+ const t = jt(), n = ie(e.purchase_amount + e.customer_total_cost_amount), r = ie(e.customer_total_cost_amount), a = (e == null ? void 0 : e.annual_interest_rate) && e.annual_interest_rate / 1e4 || 0, o = ie(e.customer_total_cost_amount), i = e.installments_count > 4, s = ie((c = (m = (u = e.payment_plan) == null ? void 0 : u[0]) == null ? void 0 : m.total_amount) != null ? c : 0), l = ie(
5389
5389
  e.purchase_amount + e.customer_total_cost_amount - ((_ = (h = (d = e.payment_plan) == null ? void 0 : d[0]) == null ? void 0 : h.total_amount) != null ? _ : 0)
5390
5390
  );
5391
- return /* @__PURE__ */ m.createElement(m.Fragment, null, i && /* @__PURE__ */ m.createElement("div", { className: Me.creditInfo }, /* @__PURE__ */ m.createElement("span", { className: Me.creditInfoTitle }, /* @__PURE__ */ m.createElement(
5391
+ return /* @__PURE__ */ f.createElement(f.Fragment, null, i && /* @__PURE__ */ f.createElement("div", { className: Me.creditInfo }, /* @__PURE__ */ f.createElement("span", { className: Me.creditInfoTitle }, /* @__PURE__ */ f.createElement(
5392
5392
  L,
5393
5393
  {
5394
5394
  id: "credit-features.information.title",
5395
5395
  defaultMessage: "Un crédit vous engage et doit être remboursé."
5396
5396
  }
5397
- )), /* @__PURE__ */ m.createElement("br", null), /* @__PURE__ */ m.createElement(
5397
+ )), /* @__PURE__ */ f.createElement("br", null), /* @__PURE__ */ f.createElement(
5398
5398
  L,
5399
5399
  {
5400
5400
  id: "credit-features.information",
5401
5401
  defaultMessage: "Vérifiez vos capacités de remboursement avant de vous engager."
5402
5402
  }
5403
- )), /* @__PURE__ */ m.createElement(
5403
+ )), /* @__PURE__ */ f.createElement(
5404
5404
  "div",
5405
5405
  {
5406
5406
  className: P(Me.container, j.summary),
5407
5407
  "data-testid": "modal-summary"
5408
5408
  },
5409
- /* @__PURE__ */ m.createElement("div", { className: P(Me.total, j.scheduleTotal) }, /* @__PURE__ */ m.createElement(L, { tagName: "div", id: "installments.total-amount", defaultMessage: "Total" }), /* @__PURE__ */ m.createElement(Ee, { value: n || 0, style: "currency", currency: "EUR" })),
5410
- /* @__PURE__ */ m.createElement("div", { className: P(Me.fees, j.scheduleCredit) }, i ? /* @__PURE__ */ m.createElement(m.Fragment, null, /* @__PURE__ */ m.createElement(
5409
+ /* @__PURE__ */ f.createElement("div", { className: P(Me.total, j.scheduleTotal) }, /* @__PURE__ */ f.createElement(L, { tagName: "div", id: "installments.total-amount", defaultMessage: "Total" }), /* @__PURE__ */ f.createElement(Ee, { value: n || 0, style: "currency", currency: "EUR" })),
5410
+ /* @__PURE__ */ f.createElement("div", { className: P(Me.fees, j.scheduleCredit) }, i ? /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement(
5411
5411
  L,
5412
5412
  {
5413
5413
  id: "credit-features.total-credit-cost",
5414
5414
  defaultMessage: "Dont coût du crédit"
5415
5415
  }
5416
- ), /* @__PURE__ */ m.createElement("span", { className: Me.creditCost }, /* @__PURE__ */ m.createElement(
5416
+ ), /* @__PURE__ */ f.createElement("span", { className: Me.creditCost }, /* @__PURE__ */ f.createElement(
5417
5417
  L,
5418
5418
  {
5419
5419
  id: "credit-features.credit-cost-display",
@@ -5429,15 +5429,15 @@ const P = /* @__PURE__ */ Et(Vl), ql = "_container_xqepo_1", Xl = "_total_xqepo_
5429
5429
  })
5430
5430
  }
5431
5431
  }
5432
- ))) : /* @__PURE__ */ m.createElement(m.Fragment, null, /* @__PURE__ */ m.createElement(
5432
+ ))) : /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement(
5433
5433
  L,
5434
5434
  {
5435
5435
  id: "installments.total-fees",
5436
5436
  defaultMessage: "Dont frais (TTC)",
5437
5437
  tagName: "div"
5438
5438
  }
5439
- ), /* @__PURE__ */ m.createElement("div", null, /* @__PURE__ */ m.createElement(Ee, { value: o, style: "currency", currency: "EUR" })))),
5440
- i && /* @__PURE__ */ m.createElement("div", { className: Me.creditInfoLegalText }, /* @__PURE__ */ m.createElement(
5439
+ ), /* @__PURE__ */ f.createElement("div", null, /* @__PURE__ */ f.createElement(Ee, { value: o, style: "currency", currency: "EUR" })))),
5440
+ i && /* @__PURE__ */ f.createElement("div", { className: Me.creditInfoLegalText }, /* @__PURE__ */ f.createElement(
5441
5441
  L,
5442
5442
  {
5443
5443
  id: "credit-features.legal-text",
@@ -5467,7 +5467,7 @@ const P = /* @__PURE__ */ Et(Vl), ql = "_container_xqepo_1", Xl = "_total_xqepo_
5467
5467
  }, tu = "_loadingIndicator_rleli_1", nu = "_bounce_rleli_1", ru = {
5468
5468
  loadingIndicator: tu,
5469
5469
  bounce: nu
5470
- }, au = ({ className: e }) => /* @__PURE__ */ m.createElement("div", { className: P(ru.loadingIndicator, e), "data-testid": "loader" }, /* @__PURE__ */ m.createElement(
5470
+ }, au = ({ className: e }) => /* @__PURE__ */ f.createElement("div", { className: P(ru.loadingIndicator, e), "data-testid": "loader" }, /* @__PURE__ */ f.createElement(
5471
5471
  "svg",
5472
5472
  {
5473
5473
  width: "120",
@@ -5476,7 +5476,7 @@ const P = /* @__PURE__ */ Et(Vl), ql = "_container_xqepo_1", Xl = "_total_xqepo_
5476
5476
  fill: "none",
5477
5477
  xmlns: "http://www.w3.org/2000/svg"
5478
5478
  },
5479
- /* @__PURE__ */ m.createElement(
5479
+ /* @__PURE__ */ f.createElement(
5480
5480
  "path",
5481
5481
  {
5482
5482
  d: "M83.8164 41.0325C79.1708 22.8241 69.3458 17 59.9939 17C50.642 17 40.8171 22.8241 36.1715 41.0325L16 117H35.8804C39.119 104.311 49.1016 97.2436 59.9939 97.2436C70.8863 97.2436 80.8689 104.324 84.1075 117H104L83.8164 41.0325ZM59.9939 79.5428C53.6623 79.5428 47.925 82.0552 43.6918 86.1283L55.0936 41.9207C56.1853 37.6953 57.7985 36.3503 60.0061 36.3503C62.2136 36.3503 63.8269 37.6953 64.9185 41.9207L76.3082 86.1283C72.075 82.0552 66.3256 79.5428 59.9939 79.5428Z",
@@ -5515,12 +5515,12 @@ var Lo = { exports: {} };
5515
5515
  }
5516
5516
  s();
5517
5517
  }
5518
- var f = {
5518
+ var m = {
5519
5519
  on: s,
5520
5520
  off: l,
5521
5521
  toggle: u
5522
5522
  };
5523
- e.exports = f;
5523
+ e.exports = m;
5524
5524
  })();
5525
5525
  })(Lo);
5526
5526
  var ou = Lo.exports;
@@ -5531,7 +5531,7 @@ var Tn = { exports: {} }, ve = {}, Cn = { exports: {} };
5531
5531
  (function(e, t) {
5532
5532
  Object.defineProperty(t, "__esModule", {
5533
5533
  value: !0
5534
- }), t.default = f;
5534
+ }), t.default = m;
5535
5535
  /*!
5536
5536
  * Adapted from jQuery UI core
5537
5537
  *
@@ -5575,9 +5575,9 @@ var Tn = { exports: {} }, ve = {}, Cn = { exports: {} };
5575
5575
  var h = isNaN(d);
5576
5576
  return (h || d >= 0) && l(c, !h);
5577
5577
  }
5578
- function f(c) {
5578
+ function m(c) {
5579
5579
  var d = [].slice.call(c.querySelectorAll("*"), 0).reduce(function(h, _) {
5580
- return h.concat(_.shadowRoot ? f(_.shadowRoot) : [_]);
5580
+ return h.concat(_.shadowRoot ? m(_.shadowRoot) : [_]);
5581
5581
  }, []);
5582
5582
  return d.filter(u);
5583
5583
  }
@@ -5591,8 +5591,8 @@ ve.resetState = uu;
5591
5591
  ve.log = cu;
5592
5592
  ve.handleBlur = dt;
5593
5593
  ve.handleFocus = ht;
5594
- ve.markForFocusLater = fu;
5595
- ve.returnFocus = mu;
5594
+ ve.markForFocusLater = mu;
5595
+ ve.returnFocus = fu;
5596
5596
  ve.popWithoutFocus = du;
5597
5597
  ve.setupScopedFocus = hu;
5598
5598
  ve.teardownScopedFocus = pu;
@@ -5621,10 +5621,10 @@ function ht() {
5621
5621
  }, 0);
5622
5622
  }
5623
5623
  }
5624
- function fu() {
5624
+ function mu() {
5625
5625
  Je.push(document.activeElement);
5626
5626
  }
5627
- function mu() {
5627
+ function fu() {
5628
5628
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, t = null;
5629
5629
  try {
5630
5630
  Je.length !== 0 && (t = Je.pop(), t.focus({ preventScroll: e }));
@@ -5661,23 +5661,23 @@ var An = { exports: {} };
5661
5661
  l.preventDefault();
5662
5662
  return;
5663
5663
  }
5664
- var f = void 0, c = l.shiftKey, d = u[0], h = u[u.length - 1], _ = o();
5664
+ var m = void 0, c = l.shiftKey, d = u[0], h = u[u.length - 1], _ = o();
5665
5665
  if (s === _) {
5666
5666
  if (!c) return;
5667
- f = h;
5667
+ m = h;
5668
5668
  }
5669
- if (h === _ && !c && (f = d), d === _ && c && (f = h), f) {
5670
- l.preventDefault(), f.focus();
5669
+ if (h === _ && !c && (m = d), d === _ && c && (m = h), m) {
5670
+ l.preventDefault(), m.focus();
5671
5671
  return;
5672
5672
  }
5673
5673
  var b = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), v = b != null && b[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null;
5674
5674
  if (v) {
5675
5675
  var y = u.indexOf(_);
5676
- if (y > -1 && (y += c ? -1 : 1), f = u[y], typeof f == "undefined") {
5677
- l.preventDefault(), f = c ? h : d, f.focus();
5676
+ if (y > -1 && (y += c ? -1 : 1), m = u[y], typeof m == "undefined") {
5677
+ l.preventDefault(), m = c ? h : d, m.focus();
5678
5678
  return;
5679
5679
  }
5680
- l.preventDefault(), f.focus();
5680
+ l.preventDefault(), m.focus();
5681
5681
  }
5682
5682
  }
5683
5683
  e.exports = t.default;
@@ -5729,13 +5729,13 @@ var Cu = vu, Su = Iu(Cu), Au = ge;
5729
5729
  function Iu(e) {
5730
5730
  return e && e.__esModule ? e : { default: e };
5731
5731
  }
5732
- var fe = null;
5732
+ var me = null;
5733
5733
  function Ou() {
5734
- fe && (fe.removeAttribute ? fe.removeAttribute("aria-hidden") : fe.length != null ? fe.forEach(function(e) {
5734
+ me && (me.removeAttribute ? me.removeAttribute("aria-hidden") : me.length != null ? me.forEach(function(e) {
5735
5735
  return e.removeAttribute("aria-hidden");
5736
- }) : document.querySelectorAll(fe).forEach(function(e) {
5736
+ }) : document.querySelectorAll(me).forEach(function(e) {
5737
5737
  return e.removeAttribute("aria-hidden");
5738
- })), fe = null;
5738
+ })), me = null;
5739
5739
  }
5740
5740
  function Nu() {
5741
5741
  }
@@ -5749,10 +5749,10 @@ function Ru(e) {
5749
5749
  var n = document.querySelectorAll(t);
5750
5750
  Fo(n, t), t = n;
5751
5751
  }
5752
- return fe = t || fe, fe;
5752
+ return me = t || me, me;
5753
5753
  }
5754
5754
  function Jn(e) {
5755
- var t = e || fe;
5755
+ var t = e || me;
5756
5756
  return t ? Array.isArray(t) || t instanceof HTMLCollection || t instanceof NodeList ? t : [t] : ((0, Su.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(" ")), []);
5757
5757
  }
5758
5758
  function wu(e) {
@@ -5792,7 +5792,7 @@ function Mu(e) {
5792
5792
  }
5793
5793
  }
5794
5794
  function Pu() {
5795
- fe = null;
5795
+ me = null;
5796
5796
  }
5797
5797
  var et = {};
5798
5798
  Object.defineProperty(et, "__esModule", {
@@ -5930,7 +5930,7 @@ ju.default.subscribe(Xu);
5930
5930
  return function(S, W, p) {
5931
5931
  return W && C(S.prototype, W), p && C(S, p), S;
5932
5932
  };
5933
- }(), o = Yn, i = Zn, s = g(i), l = ve, u = A(l), f = _u, c = g(f), d = ye, h = A(d), _ = et, b = A(_), v = ge, y = g(v), x = tt, E = g(x);
5933
+ }(), o = Yn, i = Zn, s = g(i), l = ve, u = A(l), m = _u, c = g(m), d = ye, h = A(d), _ = et, b = A(_), v = ge, y = g(v), x = tt, E = g(x);
5934
5934
  function A(C) {
5935
5935
  if (C && C.__esModule)
5936
5936
  return C;
@@ -6189,9 +6189,9 @@ https://fb.me/react-async-component-lifecycle-hooks`
6189
6189
  );
6190
6190
  t.componentWillUpdate = $o;
6191
6191
  var s = t.componentDidUpdate;
6192
- t.componentDidUpdate = function(u, f, c) {
6192
+ t.componentDidUpdate = function(u, m, c) {
6193
6193
  var d = this.__reactInternalSnapshotFlag ? this.__reactInternalSnapshot : c;
6194
- s.call(this, u, f, d);
6194
+ s.call(this, u, m, d);
6195
6195
  };
6196
6196
  }
6197
6197
  return e;
@@ -6270,7 +6270,7 @@ var Ct = function(e) {
6270
6270
  }, a.portalRef = function(u) {
6271
6271
  a.portal = u;
6272
6272
  }, a.renderPortal = function(u) {
6273
- var f = aa(), c = f(a, Ft.default.createElement(ea.default, Qr({ defaultStyles: t.defaultStyles }, u)), a.node);
6273
+ var m = aa(), c = m(a, Ft.default.createElement(ea.default, Qr({ defaultStyles: t.defaultStyles }, u)), a.node);
6274
6274
  a.portalRef(c);
6275
6275
  }, r), na(a, o);
6276
6276
  }
@@ -6295,8 +6295,8 @@ var Ct = function(e) {
6295
6295
  if (Ie.canUseDOM) {
6296
6296
  var i = this.props, s = i.isOpen, l = i.portalClassName;
6297
6297
  r.portalClassName !== l && (this.node.className = l);
6298
- var u = o.prevParent, f = o.nextParent;
6299
- f !== u && (u.removeChild(this.node), f.appendChild(this.node)), !(!r.isOpen && !s) && !Le && this.renderPortal(this.props);
6298
+ var u = o.prevParent, m = o.nextParent;
6299
+ m !== u && (u.removeChild(this.node), m.appendChild(this.node)), !(!r.isOpen && !s) && !Le && this.renderPortal(this.props);
6300
6300
  }
6301
6301
  }
6302
6302
  }, {
@@ -6434,13 +6434,13 @@ Ue.default = Ct;
6434
6434
  }
6435
6435
  t.default = r.default, e.exports = t.default;
6436
6436
  })(xn, xn.exports);
6437
- var fc = xn.exports;
6438
- const oa = /* @__PURE__ */ Et(fc);
6439
- function mc({
6437
+ var mc = xn.exports;
6438
+ const oa = /* @__PURE__ */ Et(mc);
6439
+ function fc({
6440
6440
  color: e = "#fff",
6441
6441
  className: t
6442
6442
  }) {
6443
- return /* @__PURE__ */ m.createElement(
6443
+ return /* @__PURE__ */ f.createElement(
6444
6444
  "svg",
6445
6445
  {
6446
6446
  className: t,
@@ -6450,7 +6450,7 @@ function mc({
6450
6450
  fill: "none",
6451
6451
  xmlns: "http://www.w3.org/2000/svg"
6452
6452
  },
6453
- /* @__PURE__ */ m.createElement(
6453
+ /* @__PURE__ */ f.createElement(
6454
6454
  "path",
6455
6455
  {
6456
6456
  d: "M12.5964 11.404L9.41445 8.22205L12.5964 5.04007C12.7732 4.86329 12.7732 4.50974 12.5964 4.33296L11.8893 3.62585C11.6904 3.42698 11.359 3.44908 11.1822 3.62585L8.00023 6.80783L4.81825 3.62585C4.61938 3.42698 4.28792 3.44908 4.11114 3.62585L3.40404 4.33296C3.20516 4.53183 3.20516 4.84119 3.40404 5.04007L6.58602 8.22205L3.40404 11.404C3.20516 11.6029 3.20517 11.9123 3.40404 12.1111L4.11115 12.8182C4.28792 12.995 4.61938 13.0171 4.81825 12.8182L8.00023 9.63626L11.1822 12.8182C11.359 12.995 11.6904 13.0171 11.8893 12.8182L12.5964 12.1111C12.7732 11.9344 12.7732 11.5808 12.5964 11.404Z",
@@ -6482,7 +6482,7 @@ const dc = "_modal_19xub_1", hc = "_content_19xub_15", pc = "_contentScrollable_
6482
6482
  "contentClassName",
6483
6483
  "scrollable"
6484
6484
  ]);
6485
- return oa.setAppElement("body"), /* @__PURE__ */ m.createElement(
6485
+ return oa.setAppElement("body"), /* @__PURE__ */ f.createElement(
6486
6486
  oa,
6487
6487
  Te({
6488
6488
  className: P($e.modal, r),
@@ -6498,7 +6498,7 @@ const dc = "_modal_19xub_1", hc = "_content_19xub_15", pc = "_contentScrollable_
6498
6498
  shouldCloseOnOverlayClick: !0,
6499
6499
  shouldCloseOnEsc: !0
6500
6500
  }, i),
6501
- /* @__PURE__ */ m.createElement("div", { className: $e.header }, /* @__PURE__ */ m.createElement(
6501
+ /* @__PURE__ */ f.createElement("div", { className: $e.header }, /* @__PURE__ */ f.createElement(
6502
6502
  "button",
6503
6503
  {
6504
6504
  type: "button",
@@ -6506,9 +6506,9 @@ const dc = "_modal_19xub_1", hc = "_content_19xub_15", pc = "_contentScrollable_
6506
6506
  className: P($e.closeButton, j.closeButton),
6507
6507
  "data-testid": "modal-close-button"
6508
6508
  },
6509
- /* @__PURE__ */ m.createElement(mc, null)
6509
+ /* @__PURE__ */ f.createElement(fc, null)
6510
6510
  )),
6511
- /* @__PURE__ */ m.createElement("div", { className: P($e.content, a, { [$e.contentScrollable]: o }) }, e)
6511
+ /* @__PURE__ */ f.createElement("div", { className: P($e.content, a, { [$e.contentScrollable]: o }) }, e)
6512
6512
  );
6513
6513
  }, bc = 1e3, ia = Symbol.for("constructDateFrom");
6514
6514
  function Vt(e, t) {
@@ -6556,13 +6556,13 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
6556
6556
  deferred_months: n,
6557
6557
  installments_count: r
6558
6558
  } = e;
6559
- return r === 1 && !t && !n ? /* @__PURE__ */ m.createElement(
6559
+ return r === 1 && !t && !n ? /* @__PURE__ */ f.createElement(
6560
6560
  L,
6561
6561
  {
6562
6562
  id: "payment-plan-strings.pay.now.button",
6563
6563
  defaultMessage: "Payer maintenant"
6564
6564
  }
6565
- ) : r === 1 && t ? /* @__PURE__ */ m.createElement(
6565
+ ) : r === 1 && t ? /* @__PURE__ */ f.createElement(
6566
6566
  L,
6567
6567
  {
6568
6568
  id: "payment-plan-strings.day-abbreviation",
@@ -6571,7 +6571,7 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
6571
6571
  deferredDays: `+${t}`
6572
6572
  }
6573
6573
  }
6574
- ) : r === 1 && n ? /* @__PURE__ */ m.createElement(
6574
+ ) : r === 1 && n ? /* @__PURE__ */ f.createElement(
6575
6575
  L,
6576
6576
  {
6577
6577
  id: "payment-plan-strings.month-abbreviation",
@@ -6584,7 +6584,7 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
6584
6584
  }, Mt = (e) => {
6585
6585
  var t;
6586
6586
  if ((t = e.payment_plan) != null && t.every((n) => n.customer_fee === 0 && n.customer_interest === 0))
6587
- return /* @__PURE__ */ m.createElement(m.Fragment, null, " ", /* @__PURE__ */ m.createElement(L, { id: "payment-plan-strings.no-fee", defaultMessage: "(sans frais)" }));
6587
+ return /* @__PURE__ */ f.createElement(f.Fragment, null, " ", /* @__PURE__ */ f.createElement(L, { id: "payment-plan-strings.no-fee", defaultMessage: "(sans frais)" }));
6588
6588
  }, Nc = (e) => {
6589
6589
  const {
6590
6590
  deferred_days: t,
@@ -6597,34 +6597,34 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
6597
6597
  payment_plan: l
6598
6598
  } = e, u = t + n * 30;
6599
6599
  if (!a)
6600
- return o > s ? /* @__PURE__ */ m.createElement(
6600
+ return o > s ? /* @__PURE__ */ f.createElement(
6601
6601
  L,
6602
6602
  {
6603
6603
  id: "payment-plan-strings.ineligible-greater-than-max",
6604
6604
  defaultMessage: "Jusqu'à {maxAmount}",
6605
6605
  values: {
6606
- maxAmount: /* @__PURE__ */ m.createElement(Ee, { value: ie(s), style: "currency", currency: "EUR" })
6606
+ maxAmount: /* @__PURE__ */ f.createElement(Ee, { value: ie(s), style: "currency", currency: "EUR" })
6607
6607
  }
6608
6608
  }
6609
- ) : /* @__PURE__ */ m.createElement(
6609
+ ) : /* @__PURE__ */ f.createElement(
6610
6610
  L,
6611
6611
  {
6612
6612
  id: "payment-plan-strings.ineligible-lower-than-min",
6613
6613
  defaultMessage: "À partir de {minAmount}",
6614
6614
  values: {
6615
- minAmount: /* @__PURE__ */ m.createElement(Ee, { value: ie(i), style: "currency", currency: "EUR" })
6615
+ minAmount: /* @__PURE__ */ f.createElement(Ee, { value: ie(i), style: "currency", currency: "EUR" })
6616
6616
  }
6617
6617
  }
6618
6618
  );
6619
6619
  if (l) {
6620
6620
  if (u !== 0 && r === 1)
6621
- return /* @__PURE__ */ m.createElement(m.Fragment, null, /* @__PURE__ */ m.createElement(
6621
+ return /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement(
6622
6622
  L,
6623
6623
  {
6624
6624
  id: "payment-plan-strings.deferred",
6625
6625
  defaultMessage: "{totalAmount} à payer le {dueDate}",
6626
6626
  values: {
6627
- totalAmount: /* @__PURE__ */ m.createElement(
6627
+ totalAmount: /* @__PURE__ */ f.createElement(
6628
6628
  Ee,
6629
6629
  {
6630
6630
  value: ie(l[0].total_amount),
@@ -6632,7 +6632,7 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
6632
6632
  currency: "EUR"
6633
6633
  }
6634
6634
  ),
6635
- dueDate: /* @__PURE__ */ m.createElement(
6635
+ dueDate: /* @__PURE__ */ f.createElement(
6636
6636
  Ao,
6637
6637
  {
6638
6638
  value: Ac(l[0].due_date),
@@ -6645,23 +6645,23 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
6645
6645
  }
6646
6646
  ), Mt(e));
6647
6647
  if (r > 0) {
6648
- const f = l == null ? void 0 : l.every(
6648
+ const m = l == null ? void 0 : l.every(
6649
6649
  (c, d) => d === 0 || c.total_amount === l[0].total_amount
6650
6650
  );
6651
- return r > 4 ? /* @__PURE__ */ m.createElement("span", { className: Oc.openModalInfo }, /* @__PURE__ */ m.createElement(
6651
+ return r > 4 ? /* @__PURE__ */ f.createElement("span", { className: Oc.openModalInfo }, /* @__PURE__ */ f.createElement(
6652
6652
  L,
6653
6653
  {
6654
6654
  id: "payment-plan-strings.credit",
6655
6655
  defaultMessage: "Cliquez pour en savoir plus",
6656
6656
  description: "Link to credit details"
6657
6657
  }
6658
- )) : da(e) ? /* @__PURE__ */ m.createElement(m.Fragment, null, /* @__PURE__ */ m.createElement(
6658
+ )) : da(e) ? /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement(
6659
6659
  L,
6660
6660
  {
6661
6661
  id: "payment-plan-strings.pay-now",
6662
6662
  defaultMessage: "Payer maintenant {totalAmount}",
6663
6663
  values: {
6664
- totalAmount: /* @__PURE__ */ m.createElement(
6664
+ totalAmount: /* @__PURE__ */ f.createElement(
6665
6665
  Ee,
6666
6666
  {
6667
6667
  value: ie(l[0].total_amount),
@@ -6672,13 +6672,13 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
6672
6672
  installmentsCount: r
6673
6673
  }
6674
6674
  }
6675
- ), Mt(e)) : f ? /* @__PURE__ */ m.createElement(m.Fragment, null, /* @__PURE__ */ m.createElement(
6675
+ ), Mt(e)) : m ? /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement(
6676
6676
  L,
6677
6677
  {
6678
6678
  id: "payment-plan-strings.multiple-installments-same-amount",
6679
6679
  defaultMessage: "{installmentsCount} x {totalAmount}",
6680
6680
  values: {
6681
- totalAmount: /* @__PURE__ */ m.createElement(
6681
+ totalAmount: /* @__PURE__ */ f.createElement(
6682
6682
  Ee,
6683
6683
  {
6684
6684
  value: ie(l[0].total_amount),
@@ -6689,13 +6689,13 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
6689
6689
  installmentsCount: r
6690
6690
  }
6691
6691
  }
6692
- ), Mt(e)) : /* @__PURE__ */ m.createElement(m.Fragment, null, /* @__PURE__ */ m.createElement(
6692
+ ), Mt(e)) : /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement(
6693
6693
  L,
6694
6694
  {
6695
6695
  id: "payment-plan-strings.multiple-installments",
6696
6696
  defaultMessage: "{numberOfRemainingInstallments, plural, one {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}} other {{firstInstallmentAmount} puis {numberOfRemainingInstallments} x {othersInstallmentAmount}}}",
6697
6697
  values: {
6698
- firstInstallmentAmount: /* @__PURE__ */ m.createElement(
6698
+ firstInstallmentAmount: /* @__PURE__ */ f.createElement(
6699
6699
  Ee,
6700
6700
  {
6701
6701
  value: ie(l[0].total_amount),
@@ -6704,7 +6704,7 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
6704
6704
  }
6705
6705
  ),
6706
6706
  numberOfRemainingInstallments: r - 1,
6707
- othersInstallmentAmount: /* @__PURE__ */ m.createElement(
6707
+ othersInstallmentAmount: /* @__PURE__ */ f.createElement(
6708
6708
  Ee,
6709
6709
  {
6710
6710
  value: ie(l[1].total_amount),
@@ -6719,7 +6719,7 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
6719
6719
  } else throw Error(
6720
6720
  `No payment plan provided for payment in ${r} installments. Please contact us if you see this error.`
6721
6721
  );
6722
- return /* @__PURE__ */ m.createElement(
6722
+ return /* @__PURE__ */ f.createElement(
6723
6723
  L,
6724
6724
  {
6725
6725
  id: "payment-plan-strings.default-message",
@@ -6730,7 +6730,7 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
6730
6730
  buttons: Rc,
6731
6731
  active: wc,
6732
6732
  textButton: Mc
6733
- }, Pc = ({ eligibilityPlans: e, currentPlanIndex: t, setCurrentPlanIndex: n }) => /* @__PURE__ */ m.createElement("div", { className: P(nn.buttons, j.eligibilityOptions) }, e.map((r, a) => /* @__PURE__ */ m.createElement(
6733
+ }, Pc = ({ eligibilityPlans: e, currentPlanIndex: t, setCurrentPlanIndex: n }) => /* @__PURE__ */ f.createElement("div", { className: P(nn.buttons, j.eligibilityOptions) }, e.map((r, a) => /* @__PURE__ */ f.createElement(
6734
6734
  "button",
6735
6735
  {
6736
6736
  type: "button",
@@ -6740,14 +6740,14 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
6740
6740
  }),
6741
6741
  onClick: () => n(a)
6742
6742
  },
6743
- /* @__PURE__ */ m.createElement("span", { className: nn.textButton }, jo(r))
6743
+ /* @__PURE__ */ f.createElement("span", { className: nn.textButton }, jo(r))
6744
6744
  ))), Hc = "_installment_1c45h_1", Lc = "_date_1c45h_11", Dc = "_dot_1c45h_17", Bc = "_isCurrent_1c45h_26", Fc = "_bold_1c45h_30", nt = {
6745
6745
  installment: Hc,
6746
6746
  date: Lc,
6747
6747
  dot: Dc,
6748
6748
  isCurrent: Bc,
6749
6749
  bold: Fc
6750
- }, Uc = ({ installment: e, index: t }) => /* @__PURE__ */ m.createElement("div", { className: nt.installment, "data-testid": `installment-${t}` }, /* @__PURE__ */ m.createElement("div", { className: nt.date }, /* @__PURE__ */ m.createElement("div", { className: P(nt.dot, { [nt.isCurrent]: t === 0 }) }), Sc(e.due_date * 1e3) ? /* @__PURE__ */ m.createElement(L, { id: "installments.today", defaultMessage: "Aujourd'hui", tagName: "strong" }) : /* @__PURE__ */ m.createElement(
6750
+ }, Uc = ({ installment: e, index: t }) => /* @__PURE__ */ f.createElement("div", { className: nt.installment, "data-testid": `installment-${t}` }, /* @__PURE__ */ f.createElement("div", { className: nt.date }, /* @__PURE__ */ f.createElement("div", { className: P(nt.dot, { [nt.isCurrent]: t === 0 }) }), Sc(e.due_date * 1e3) ? /* @__PURE__ */ f.createElement(L, { id: "installments.today", defaultMessage: "Aujourd'hui", tagName: "strong" }) : /* @__PURE__ */ f.createElement(
6751
6751
  Ao,
6752
6752
  {
6753
6753
  value: e.due_date * 1e3,
@@ -6755,18 +6755,18 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
6755
6755
  month: "long",
6756
6756
  year: "numeric"
6757
6757
  }
6758
- )), /* @__PURE__ */ m.createElement("div", { className: P({ [nt.bold]: t === 0 }) }, /* @__PURE__ */ m.createElement(Ee, { value: e.total_amount / 100, style: "currency", currency: "EUR" }))), kc = "_schedule_mjau7_1", Gc = {
6758
+ )), /* @__PURE__ */ f.createElement("div", { className: P({ [nt.bold]: t === 0 }) }, /* @__PURE__ */ f.createElement(Ee, { value: e.total_amount / 100, style: "currency", currency: "EUR" }))), kc = "_schedule_mjau7_1", Gc = {
6759
6759
  schedule: kc
6760
- }, $c = ({ currentPlan: e }) => /* @__PURE__ */ m.createElement(
6760
+ }, $c = ({ currentPlan: e }) => /* @__PURE__ */ f.createElement(
6761
6761
  "div",
6762
6762
  {
6763
6763
  className: P(Gc.schedule, j.scheduleDetails),
6764
6764
  "data-testid": "modal-installments-element"
6765
6765
  },
6766
- ((e == null ? void 0 : e.payment_plan) || []).map((t, n) => /* @__PURE__ */ m.createElement(Uc, { key: t.due_date * 1e3, installment: t, index: n }))
6766
+ ((e == null ? void 0 : e.payment_plan) || []).map((t, n) => /* @__PURE__ */ f.createElement(Uc, { key: t.due_date * 1e3, installment: t, index: n }))
6767
6767
  ), er = (n) => {
6768
6768
  var r = n, { color: e = "#FA5022" } = r, t = It(r, ["color"]);
6769
- return /* @__PURE__ */ m.createElement(
6769
+ return /* @__PURE__ */ f.createElement(
6770
6770
  "svg",
6771
6771
  Te({
6772
6772
  width: "50",
@@ -6775,7 +6775,7 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
6775
6775
  fill: "none",
6776
6776
  xmlns: "http://www.w3.org/2000/svg"
6777
6777
  }, t),
6778
- /* @__PURE__ */ m.createElement(
6778
+ /* @__PURE__ */ f.createElement(
6779
6779
  "path",
6780
6780
  {
6781
6781
  d: "M333.24 28.3462V38.4459C327.504 31.1018 319.176 26.5132 309.288 26.5132C290.208 26.5132 275.424 43.5497 275.424 64.5757C275.424 85.6018 290.208 102.638 309.288 102.638C319.872 102.638 328.668 97.3908 334.416 89.1241V100.817H352.668V28.3462H333.24ZM314.028 84.4876C303.42 84.4876 294.828 75.574 294.828 64.5757C294.828 53.5775 303.42 44.6639 314.028 44.6639C324.636 44.6639 333.228 53.5775 333.228 64.5757C333.228 75.574 324.636 84.4876 314.028 84.4876ZM109.5 8.23073H128.916V100.805H109.5V8.23073ZM151.248 59.7356C151.248 39.8117 163.5 26.5252 180.468 26.5252C191.004 26.5252 199.332 31.1976 204.348 39.1648C209.376 31.1976 217.692 26.5252 228.228 26.5252C245.196 26.5252 257.448 39.8117 257.448 59.7356V100.817H238.032V57.639C238.032 49.8635 232.872 44.7957 226.044 44.7957C219.216 44.7957 214.056 49.8755 214.056 57.639V100.817H194.64V57.639C194.64 49.8635 189.48 44.7957 182.652 44.7957C175.824 44.7957 170.664 49.8755 170.664 57.639V100.817H151.248V59.7356ZM74.34 29.101C69.744 11.9088 60.0241 6.40967 50.772 6.40967C41.5201 6.40967 31.8 11.9088 27.204 29.101L7.24805 100.829H26.916C30.12 88.8485 39.996 82.1753 50.772 82.1753C61.548 82.1753 71.424 88.8605 74.6281 100.829H94.3081L74.34 29.101ZM50.772 65.4623C44.508 65.4623 38.8321 67.8345 34.6441 71.6803L45.924 29.9397C47.0041 25.9501 48.6001 24.6802 50.784 24.6802C52.9681 24.6802 54.5641 25.9501 55.6441 29.9397L66.912 71.6803C62.724 67.8345 57.036 65.4623 50.772 65.4623Z",
@@ -6783,26 +6783,26 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
6783
6783
  }
6784
6784
  )
6785
6785
  );
6786
- }, Wc = () => /* @__PURE__ */ m.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "16", viewBox: "0 0 24 16" }, /* @__PURE__ */ m.createElement("defs", null, /* @__PURE__ */ m.createElement("linearGradient", { id: "cardamex", x1: "10.914%", x2: "87.432%", y1: "86.279%", y2: "15.035%" }, /* @__PURE__ */ m.createElement("stop", { offset: "0%", stopColor: "#3FA9F5" }), /* @__PURE__ */ m.createElement("stop", { offset: "100%", stopColor: "#0071BC" }))), /* @__PURE__ */ m.createElement("g", { fill: "none", fillRule: "evenodd" }, /* @__PURE__ */ m.createElement(
6786
+ }, Wc = () => /* @__PURE__ */ f.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "16", viewBox: "0 0 24 16" }, /* @__PURE__ */ f.createElement("defs", null, /* @__PURE__ */ f.createElement("linearGradient", { id: "cardamex", x1: "10.914%", x2: "87.432%", y1: "86.279%", y2: "15.035%" }, /* @__PURE__ */ f.createElement("stop", { offset: "0%", stopColor: "#3FA9F5" }), /* @__PURE__ */ f.createElement("stop", { offset: "100%", stopColor: "#0071BC" }))), /* @__PURE__ */ f.createElement("g", { fill: "none", fillRule: "evenodd" }, /* @__PURE__ */ f.createElement(
6787
6787
  "path",
6788
6788
  {
6789
6789
  fill: "url(#cardamex)",
6790
6790
  fillRule: "nonzero",
6791
6791
  d: "M22.559 16H1.379C.627 16 0 15.392 0 14.662V1.338C0 .608.627 0 1.379 0H22.62C23.373 0 24 .608 24 1.338v13.324c-.063.73-.627 1.338-1.441 1.338z"
6792
6792
  }
6793
- ), /* @__PURE__ */ m.createElement("g", { fill: "#FFF" }, /* @__PURE__ */ m.createElement("path", { d: "M10.115 8.711L8.889 6.044H7.295v3.852L5.517 6.044H4.17l-1.778 4.03h1.103l.368-.889h2.023l.368.89h2.084V7.11l1.349 2.963h.92l1.348-2.904v2.904h.98v-4.03H11.28l-1.165 2.667zm-5.272-.474H4.23l.613-1.422v.06l.613 1.362h-.613z" }), /* @__PURE__ */ m.createElement(
6793
+ ), /* @__PURE__ */ f.createElement("g", { fill: "#FFF" }, /* @__PURE__ */ f.createElement("path", { d: "M10.115 8.711L8.889 6.044H7.295v3.852L5.517 6.044H4.17l-1.778 4.03h1.103l.368-.889h2.023l.368.89h2.084V7.11l1.349 2.963h.92l1.348-2.904v2.904h.98v-4.03H11.28l-1.165 2.667zm-5.272-.474H4.23l.613-1.422v.06l.613 1.362h-.613z" }), /* @__PURE__ */ f.createElement(
6794
6794
  "path",
6795
6795
  {
6796
6796
  fillRule: "nonzero",
6797
6797
  d: "M19.372 7.94l.735-.77 1.042-1.185h-1.287L18.697 7.23l-1.164-1.245h-3.985v3.97h3.923l1.226-1.303 1.165 1.304h1.287L20.107 8.71l-.735-.77zM16.92 9.186h-2.33v-.77h2.268v-.77H14.59v-.712h2.33L18.084 8 16.92 9.185z"
6798
6798
  }
6799
- )))), jc = () => /* @__PURE__ */ m.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "16", viewBox: "0 0 24 16" }, /* @__PURE__ */ m.createElement("defs", null, /* @__PURE__ */ m.createElement("linearGradient", { id: "cardcb", x1: "5.842%", x2: "95.393%", y1: "81.753%", y2: "17.344%" }, /* @__PURE__ */ m.createElement("stop", { offset: "0%", stopColor: "#39B54A" }), " ", /* @__PURE__ */ m.createElement("stop", { offset: "100%", stopColor: "#0A5296" }))), /* @__PURE__ */ m.createElement("g", { fill: "none", fillRule: "nonzero" }, /* @__PURE__ */ m.createElement(
6799
+ )))), jc = () => /* @__PURE__ */ f.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "16", viewBox: "0 0 24 16" }, /* @__PURE__ */ f.createElement("defs", null, /* @__PURE__ */ f.createElement("linearGradient", { id: "cardcb", x1: "5.842%", x2: "95.393%", y1: "81.753%", y2: "17.344%" }, /* @__PURE__ */ f.createElement("stop", { offset: "0%", stopColor: "#39B54A" }), " ", /* @__PURE__ */ f.createElement("stop", { offset: "100%", stopColor: "#0A5296" }))), /* @__PURE__ */ f.createElement("g", { fill: "none", fillRule: "nonzero" }, /* @__PURE__ */ f.createElement(
6800
6800
  "path",
6801
6801
  {
6802
6802
  fill: "url(#cardcb)",
6803
6803
  d: "M22.621 16H1.38C.627 16 0 15.392 0 14.662V1.338C0 .608.627 0 1.379 0H22.62C23.373 0 24 .608 24 1.338v13.324c-.063.73-.627 1.338-1.379 1.338z"
6804
6804
  }
6805
- ), /* @__PURE__ */ m.createElement("g", { fill: "#FFF" }, /* @__PURE__ */ m.createElement("path", { d: "M19.094 4.03h-6.437V8h6.498c1.165 0 2.084-.889 2.084-2.015-.06-1.066-.98-1.955-2.145-1.955zM19.094 8.593h-6.437v3.97h6.498c1.165 0 2.084-.889 2.084-2.015-.06-1.067-.98-1.955-2.145-1.955zM7.017 8.06h4.966c-.245-2.371-2.391-4.267-4.966-4.267-2.758 0-5.027 2.074-5.027 4.681s2.269 4.682 5.027 4.682c2.698 0 4.904-2.015 5.027-4.563H7.017v-.534z" })))), zc = () => /* @__PURE__ */ m.createElement(
6805
+ ), /* @__PURE__ */ f.createElement("g", { fill: "#FFF" }, /* @__PURE__ */ f.createElement("path", { d: "M19.094 4.03h-6.437V8h6.498c1.165 0 2.084-.889 2.084-2.015-.06-1.066-.98-1.955-2.145-1.955zM19.094 8.593h-6.437v3.97h6.498c1.165 0 2.084-.889 2.084-2.015-.06-1.067-.98-1.955-2.145-1.955zM7.017 8.06h4.966c-.245-2.371-2.391-4.267-4.966-4.267-2.758 0-5.027 2.074-5.027 4.681s2.269 4.682 5.027 4.682c2.698 0 4.904-2.015 5.027-4.563H7.017v-.534z" })))), zc = () => /* @__PURE__ */ f.createElement(
6806
6806
  "svg",
6807
6807
  {
6808
6808
  width: "24px",
@@ -6811,7 +6811,7 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
6811
6811
  version: "1.1",
6812
6812
  xmlns: "http://www.w3.org/2000/svg"
6813
6813
  },
6814
- /* @__PURE__ */ m.createElement("g", { id: "Parcours-1C-B", stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd" }, /* @__PURE__ */ m.createElement("g", { id: "mobile-1C-Paiement-V1", transform: "translate(-269.000000, -313.000000)" }, /* @__PURE__ */ m.createElement("g", { id: "mastercard", transform: "translate(269.000000, 313.000000)" }, /* @__PURE__ */ m.createElement("rect", { id: "Rectangle", fill: "#FFFFFF", x: "0", y: "0", width: "24", height: "16", rx: "1" }), /* @__PURE__ */ m.createElement("g", { id: "Group-6", transform: "translate(4.000000, 3.000000)" }, /* @__PURE__ */ m.createElement(
6814
+ /* @__PURE__ */ f.createElement("g", { id: "Parcours-1C-B", stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd" }, /* @__PURE__ */ f.createElement("g", { id: "mobile-1C-Paiement-V1", transform: "translate(-269.000000, -313.000000)" }, /* @__PURE__ */ f.createElement("g", { id: "mastercard", transform: "translate(269.000000, 313.000000)" }, /* @__PURE__ */ f.createElement("rect", { id: "Rectangle", fill: "#FFFFFF", x: "0", y: "0", width: "24", height: "16", rx: "1" }), /* @__PURE__ */ f.createElement("g", { id: "Group-6", transform: "translate(4.000000, 3.000000)" }, /* @__PURE__ */ f.createElement(
6815
6815
  "circle",
6816
6816
  {
6817
6817
  id: "Oval-4-Copy",
@@ -6820,7 +6820,7 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
6820
6820
  cy: "5.05263158",
6821
6821
  r: "5.05263158"
6822
6822
  }
6823
- ), /* @__PURE__ */ m.createElement(
6823
+ ), /* @__PURE__ */ f.createElement(
6824
6824
  "circle",
6825
6825
  {
6826
6826
  id: "Oval-4",
@@ -6830,7 +6830,7 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
6830
6830
  cy: "5.05263158",
6831
6831
  r: "5.05263158"
6832
6832
  }
6833
- ), /* @__PURE__ */ m.createElement(
6833
+ ), /* @__PURE__ */ f.createElement(
6834
6834
  "circle",
6835
6835
  {
6836
6836
  id: "Oval-4-Copy-2",
@@ -6840,7 +6840,7 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
6840
6840
  cy: "5.05263158",
6841
6841
  r: "5.05263158"
6842
6842
  }
6843
- ), /* @__PURE__ */ m.createElement(
6843
+ ), /* @__PURE__ */ f.createElement(
6844
6844
  "circle",
6845
6845
  {
6846
6846
  id: "Oval-4-Copy-3",
@@ -6851,31 +6851,31 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
6851
6851
  r: "5.05263158"
6852
6852
  }
6853
6853
  )))))
6854
- ), Vc = () => /* @__PURE__ */ m.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "16", viewBox: "0 0 24 16" }, /* @__PURE__ */ m.createElement("g", { fill: "none", fillRule: "nonzero" }, /* @__PURE__ */ m.createElement(
6854
+ ), Vc = () => /* @__PURE__ */ f.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "16", viewBox: "0 0 24 16" }, /* @__PURE__ */ f.createElement("g", { fill: "none", fillRule: "nonzero" }, /* @__PURE__ */ f.createElement(
6855
6855
  "path",
6856
6856
  {
6857
6857
  fill: "#FCFCFC",
6858
6858
  d: "M22.684 16H1.38C.627 16 0 15.39 0 14.656V1.344C0 .61.627 0 1.379 0H22.62C23.373 0 24 .61 24 1.344v13.374c0 .671-.564 1.282-1.316 1.282z"
6859
6859
  }
6860
- ), " ", /* @__PURE__ */ m.createElement(
6860
+ ), " ", /* @__PURE__ */ f.createElement(
6861
6861
  "path",
6862
6862
  {
6863
6863
  fill: "#005098",
6864
6864
  d: "M8.889 10.726l.948-5.393h1.482l-.949 5.393zM15.704 5.452a3.658 3.658 0 0 0-1.304-.237c-1.481 0-2.489.71-2.489 1.778 0 .77.711 1.185 1.304 1.481.592.237.77.415.77.652 0 .355-.474.533-.889.533-.592 0-.889-.059-1.363-.296l-.177-.06-.178 1.186c.355.178 1.007.296 1.659.296 1.54 0 2.548-.71 2.548-1.837 0-.592-.415-1.067-1.244-1.481-.534-.237-.83-.415-.83-.652 0-.237.237-.474.83-.474.474 0 .83.118 1.126.178l.118.059.119-1.126M19.496 5.333H18.37c-.355 0-.592.119-.77.474l-2.193 4.919h1.541s.237-.652.296-.83h1.897c.059.178.178.83.178.83h1.362l-1.185-5.393zM17.66 8.77l.593-1.481s.118-.296.178-.533l.118.474s.296 1.303.356 1.54h-1.245zM7.644 5.333L6.222 9.007l-.178-.77C5.748 7.348 4.92 6.459 4.03 5.985l1.303 4.682h1.541l2.311-5.393h-1.54"
6865
6865
  }
6866
- ), /* @__PURE__ */ m.createElement(
6866
+ ), /* @__PURE__ */ f.createElement(
6867
6867
  "path",
6868
6868
  {
6869
6869
  fill: "#F6A500",
6870
6870
  d: "M4.919 5.333h-2.37v.119c1.836.474 3.08 1.54 3.555 2.844L5.57 5.807c-.118-.414-.355-.474-.651-.474"
6871
6871
  }
6872
- ), /* @__PURE__ */ m.createElement(
6872
+ ), /* @__PURE__ */ f.createElement(
6873
6873
  "path",
6874
6874
  {
6875
6875
  fill: "#0A5296",
6876
6876
  d: "M23.937 3.23H0V1.316C0 .598.627 0 1.379 0H22.62C23.373 0 24 .598 24 1.316V3.23h-.063z"
6877
6877
  }
6878
- ), /* @__PURE__ */ m.createElement(
6878
+ ), /* @__PURE__ */ f.createElement(
6879
6879
  "path",
6880
6880
  {
6881
6881
  fill: "#F4A428",
@@ -6885,56 +6885,56 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
6885
6885
  cardContainer: qc
6886
6886
  }, zo = ({ cards: e }) => {
6887
6887
  const t = Array.from(new Set(e));
6888
- return /* @__PURE__ */ m.createElement(
6888
+ return /* @__PURE__ */ f.createElement(
6889
6889
  "div",
6890
6890
  {
6891
6891
  "data-testid": "card-logos",
6892
6892
  className: P(la.cardContainer, j.cardContainer)
6893
6893
  },
6894
- t.map((n) => /* @__PURE__ */ m.createElement("div", { key: n, className: la.card, "data-testid": `card-logo-${n}` }, n === "cb" && /* @__PURE__ */ m.createElement(jc, null), n === "amex" && /* @__PURE__ */ m.createElement(Wc, null), n === "mastercard" && /* @__PURE__ */ m.createElement(zc, null), n === "visa" && /* @__PURE__ */ m.createElement(Vc, null)))
6894
+ t.map((n) => /* @__PURE__ */ f.createElement("div", { key: n, className: la.card, "data-testid": `card-logo-${n}` }, n === "cb" && /* @__PURE__ */ f.createElement(jc, null), n === "amex" && /* @__PURE__ */ f.createElement(Wc, null), n === "mastercard" && /* @__PURE__ */ f.createElement(zc, null), n === "visa" && /* @__PURE__ */ f.createElement(Vc, null)))
6895
6895
  );
6896
6896
  }, Xc = "_list_11ul3_1", Zc = "_listItem_11ul3_10", Kc = "_bullet_11ul3_17", Pe = {
6897
6897
  list: Xc,
6898
6898
  listItem: Zc,
6899
6899
  bullet: Kc
6900
- }, We = (e) => /* @__PURE__ */ m.createElement("strong", null, e), Vo = ({ isCurrentPlanP1X: e }) => (
6900
+ }, We = (e) => /* @__PURE__ */ f.createElement("strong", null, e), Vo = ({ isCurrentPlanP1X: e }) => (
6901
6901
  // TODO: refactor this component into subcomponent to factorise code and be cleaner
6902
- /* @__PURE__ */ m.createElement("div", { className: P(Pe.list, j.info), "data-testid": "modal-info-element" }, /* @__PURE__ */ m.createElement("div", { className: Pe.listItem }, /* @__PURE__ */ m.createElement("div", { className: P(Pe.bullet, j.bullet) }, "1"), /* @__PURE__ */ m.createElement("div", { className: j.infoMessage }, e ? /* @__PURE__ */ m.createElement(
6902
+ /* @__PURE__ */ f.createElement("div", { className: P(Pe.list, j.info), "data-testid": "modal-info-element" }, /* @__PURE__ */ f.createElement("div", { className: Pe.listItem }, /* @__PURE__ */ f.createElement("div", { className: P(Pe.bullet, j.bullet) }, "1"), /* @__PURE__ */ f.createElement("div", { className: j.infoMessage }, e ? /* @__PURE__ */ f.createElement(
6903
6903
  L,
6904
6904
  {
6905
6905
  id: "eligibility-modal.p1x-bullet-1",
6906
6906
  defaultMessage: "Choisissez <strong>Alma - Payer maintenant</strong> au moment du paiement.",
6907
6907
  values: { strong: We }
6908
6908
  }
6909
- ) : /* @__PURE__ */ m.createElement(
6909
+ ) : /* @__PURE__ */ f.createElement(
6910
6910
  L,
6911
6911
  {
6912
6912
  id: "eligibility-modal.bullet-1",
6913
6913
  defaultMessage: "Choisissez <strong>Alma</strong> au moment du paiement.",
6914
6914
  values: { strong: We }
6915
6915
  }
6916
- ))), /* @__PURE__ */ m.createElement("div", { className: Pe.listItem }, /* @__PURE__ */ m.createElement("div", { className: P(Pe.bullet, j.bullet) }, "2"), /* @__PURE__ */ m.createElement("div", { className: j.infoMessage }, e ? /* @__PURE__ */ m.createElement(
6916
+ ))), /* @__PURE__ */ f.createElement("div", { className: Pe.listItem }, /* @__PURE__ */ f.createElement("div", { className: P(Pe.bullet, j.bullet) }, "2"), /* @__PURE__ */ f.createElement("div", { className: j.infoMessage }, e ? /* @__PURE__ */ f.createElement(
6917
6917
  L,
6918
6918
  {
6919
6919
  id: "eligibility-modal.p1x-bullet-2",
6920
6920
  defaultMessage: "Renseignez les informations de votre <strong>carte bancaire.</strong>",
6921
6921
  values: { strong: We }
6922
6922
  }
6923
- ) : /* @__PURE__ */ m.createElement(
6923
+ ) : /* @__PURE__ */ f.createElement(
6924
6924
  L,
6925
6925
  {
6926
6926
  id: "eligibility-modal.bullet-2",
6927
6927
  defaultMessage: "Laissez-vous guider et validez votre paiement en <strong>2 minutes.</strong>",
6928
6928
  values: { strong: We }
6929
6929
  }
6930
- ))), /* @__PURE__ */ m.createElement("div", { className: Pe.listItem }, /* @__PURE__ */ m.createElement("div", { className: P(Pe.bullet, j.bullet) }, "3"), /* @__PURE__ */ m.createElement("div", { className: j.infoMessage }, e ? /* @__PURE__ */ m.createElement(
6930
+ ))), /* @__PURE__ */ f.createElement("div", { className: Pe.listItem }, /* @__PURE__ */ f.createElement("div", { className: P(Pe.bullet, j.bullet) }, "3"), /* @__PURE__ */ f.createElement("div", { className: j.infoMessage }, e ? /* @__PURE__ */ f.createElement(
6931
6931
  L,
6932
6932
  {
6933
6933
  id: "eligibility-modal.p1x-bullet-3",
6934
6934
  defaultMessage: "<strong>La validation </strong> de votre paiement est instantanée !",
6935
6935
  values: { strong: We }
6936
6936
  }
6937
- ) : /* @__PURE__ */ m.createElement(
6937
+ ) : /* @__PURE__ */ f.createElement(
6938
6938
  L,
6939
6939
  {
6940
6940
  id: "eligibility-modal.bullet-3",
@@ -6947,65 +6947,65 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
6947
6947
  }, qo = ({
6948
6948
  isSomePlanDeferred: e,
6949
6949
  isCurrentPlanP1X: t
6950
- }) => /* @__PURE__ */ m.createElement(
6950
+ }) => /* @__PURE__ */ f.createElement(
6951
6951
  "div",
6952
6952
  {
6953
6953
  className: P(Jc.title, j.title),
6954
6954
  "data-testid": "modal-title-element"
6955
6955
  },
6956
- e && /* @__PURE__ */ m.createElement(
6956
+ e && /* @__PURE__ */ f.createElement(
6957
6957
  L,
6958
6958
  {
6959
6959
  id: "eligibility-modal.title-deferred-plan",
6960
6960
  defaultMessage: "Payez en plusieurs fois ou plus tard par carte bancaire avec Alma."
6961
6961
  }
6962
6962
  ),
6963
- !e && t && /* @__PURE__ */ m.createElement(
6963
+ !e && t && /* @__PURE__ */ f.createElement(
6964
6964
  L,
6965
6965
  {
6966
6966
  id: "eligibility-modal.title-pay-now",
6967
6967
  defaultMessage: "Payez comptant par carte bancaire avec Alma."
6968
6968
  }
6969
6969
  ),
6970
- !e && !t && /* @__PURE__ */ m.createElement(
6970
+ !e && !t && /* @__PURE__ */ f.createElement(
6971
6971
  L,
6972
6972
  {
6973
6973
  id: "eligibility-modal.title-normal",
6974
6974
  defaultMessage: "Payez en plusieurs fois par carte bancaire avec Alma."
6975
6975
  }
6976
6976
  )
6977
- ), Qc = "_container_lop95_1", ef = "_block_lop95_7", tf = "_left_lop95_14", nf = "_logo_lop95_20", rt = {
6977
+ ), Qc = "_container_lop95_1", em = "_block_lop95_7", tm = "_left_lop95_14", nm = "_logo_lop95_20", rt = {
6978
6978
  container: Qc,
6979
- block: ef,
6980
- left: tf,
6981
- logo: nf
6982
- }, rf = ({ children: e, isSomePlanDeferred: t, cards: n, isCurrentPlanP1X: r }) => /* @__PURE__ */ m.createElement(
6979
+ block: em,
6980
+ left: tm,
6981
+ logo: nm
6982
+ }, rm = ({ children: e, isSomePlanDeferred: t, cards: n, isCurrentPlanP1X: r }) => /* @__PURE__ */ f.createElement(
6983
6983
  "div",
6984
6984
  {
6985
6985
  className: P(rt.container, j.desktopModal),
6986
6986
  "data-testid": "modal-container"
6987
6987
  },
6988
- /* @__PURE__ */ m.createElement("aside", { className: P([rt.block, rt.left, j.leftSide]) }, /* @__PURE__ */ m.createElement(qo, { isSomePlanDeferred: t, isCurrentPlanP1X: r }), /* @__PURE__ */ m.createElement(Vo, { isCurrentPlanP1X: r }), n && /* @__PURE__ */ m.createElement(zo, { cards: n }), /* @__PURE__ */ m.createElement(er, { className: rt.logo, width: "75" })),
6989
- /* @__PURE__ */ m.createElement("div", { className: P(rt.block, j.rightSide) }, e)
6990
- ), af = "_noEligibility_1lg7e_1", of = "_loader_1lg7e_9", sf = "_scheduleArea_1lg7e_16", lf = "_verticalLine_1lg7e_20", Pt = {
6991
- noEligibility: af,
6992
- loader: of,
6993
- scheduleArea: sf,
6994
- verticalLine: lf
6995
- }, uf = "_container_1ca7c_1", cf = "_logo_1ca7c_6", ua = {
6996
- container: uf,
6997
- logo: cf
6998
- }, ff = ({ children: e, isSomePlanDeferred: t, cards: n, isCurrentPlanP1X: r }) => /* @__PURE__ */ m.createElement(
6988
+ /* @__PURE__ */ f.createElement("aside", { className: P([rt.block, rt.left, j.leftSide]) }, /* @__PURE__ */ f.createElement(qo, { isSomePlanDeferred: t, isCurrentPlanP1X: r }), /* @__PURE__ */ f.createElement(Vo, { isCurrentPlanP1X: r }), n && /* @__PURE__ */ f.createElement(zo, { cards: n }), /* @__PURE__ */ f.createElement(er, { className: rt.logo, width: "75" })),
6989
+ /* @__PURE__ */ f.createElement("div", { className: P(rt.block, j.rightSide) }, e)
6990
+ ), am = "_noEligibility_1lg7e_1", om = "_loader_1lg7e_9", im = "_scheduleArea_1lg7e_16", sm = "_verticalLine_1lg7e_20", Pt = {
6991
+ noEligibility: am,
6992
+ loader: om,
6993
+ scheduleArea: im,
6994
+ verticalLine: sm
6995
+ }, lm = "_container_1ca7c_1", um = "_logo_1ca7c_6", ua = {
6996
+ container: lm,
6997
+ logo: um
6998
+ }, cm = ({ children: e, isSomePlanDeferred: t, cards: n, isCurrentPlanP1X: r }) => /* @__PURE__ */ f.createElement(
6999
6999
  "div",
7000
7000
  {
7001
7001
  className: P(ua.container, j.mobileModal),
7002
7002
  "data-testid": "modal-container"
7003
7003
  },
7004
- /* @__PURE__ */ m.createElement(qo, { isSomePlanDeferred: t, isCurrentPlanP1X: r }),
7004
+ /* @__PURE__ */ f.createElement(qo, { isSomePlanDeferred: t, isCurrentPlanP1X: r }),
7005
7005
  e,
7006
- /* @__PURE__ */ m.createElement(Vo, { isCurrentPlanP1X: r }),
7007
- n && /* @__PURE__ */ m.createElement(zo, { cards: n }),
7008
- /* @__PURE__ */ m.createElement(er, { className: ua.logo, width: "75" })
7006
+ /* @__PURE__ */ f.createElement(Vo, { isCurrentPlanP1X: r }),
7007
+ n && /* @__PURE__ */ f.createElement(zo, { cards: n }),
7008
+ /* @__PURE__ */ f.createElement(er, { className: ua.logo, width: "75" })
7009
7009
  ), Xo = ({
7010
7010
  initialPlanIndex: e,
7011
7011
  onClose: t,
@@ -7013,34 +7013,34 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
7013
7013
  status: r,
7014
7014
  cards: a
7015
7015
  }) => {
7016
- const [o, i] = ae(e || 0), l = zl({ minWidth: ri }) ? rf : ff, u = n.filter((d) => d.eligible), f = u[o], c = n.some(
7016
+ const [o, i] = ae(e || 0), l = zl({ minWidth: ri }) ? rm : cm, u = n.filter((d) => d.eligible), m = u[o], c = n.some(
7017
7017
  (d) => d.deferred_days > 0 || d.deferred_months > 0
7018
7018
  );
7019
- return /* @__PURE__ */ m.createElement(yc, { onClose: t, ariaHideApp: !1, scrollable: !0, isOpen: !0 }, /* @__PURE__ */ m.createElement(
7019
+ return /* @__PURE__ */ f.createElement(yc, { onClose: t, ariaHideApp: !1, scrollable: !0, isOpen: !0 }, /* @__PURE__ */ f.createElement(
7020
7020
  l,
7021
7021
  {
7022
7022
  isSomePlanDeferred: c,
7023
7023
  cards: a,
7024
- isCurrentPlanP1X: da(f)
7024
+ isCurrentPlanP1X: da(m)
7025
7025
  },
7026
- r === me.PENDING && /* @__PURE__ */ m.createElement("div", { className: Pt.loader }, /* @__PURE__ */ m.createElement(au, null)),
7027
- r === me.SUCCESS && u.length === 0 && /* @__PURE__ */ m.createElement("div", { className: Pt.noEligibility }, /* @__PURE__ */ m.createElement(
7026
+ r === fe.PENDING && /* @__PURE__ */ f.createElement("div", { className: Pt.loader }, /* @__PURE__ */ f.createElement(au, null)),
7027
+ r === fe.SUCCESS && u.length === 0 && /* @__PURE__ */ f.createElement("div", { className: Pt.noEligibility }, /* @__PURE__ */ f.createElement(
7028
7028
  L,
7029
7029
  {
7030
7030
  id: "eligibility-modal.no-eligibility",
7031
7031
  defaultMessage: "Oups, il semblerait que la simulation n'ait pas fonctionné."
7032
7032
  }
7033
7033
  )),
7034
- r === me.SUCCESS && u.length >= 1 && /* @__PURE__ */ m.createElement(m.Fragment, null, /* @__PURE__ */ m.createElement(
7034
+ r === fe.SUCCESS && u.length >= 1 && /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement(
7035
7035
  Pc,
7036
7036
  {
7037
7037
  eligibilityPlans: u,
7038
7038
  currentPlanIndex: o,
7039
7039
  setCurrentPlanIndex: i
7040
7040
  }
7041
- ), /* @__PURE__ */ m.createElement("div", { className: Pt.scheduleArea }, /* @__PURE__ */ m.createElement("div", { className: Pt.verticalLine }), /* @__PURE__ */ m.createElement($c, { currentPlan: f }), /* @__PURE__ */ m.createElement(eu, { currentPlan: f })))
7041
+ ), /* @__PURE__ */ f.createElement("div", { className: Pt.scheduleArea }, /* @__PURE__ */ f.createElement("div", { className: Pt.verticalLine }), /* @__PURE__ */ f.createElement($c, { currentPlan: m }), /* @__PURE__ */ f.createElement(eu, { currentPlan: m })))
7042
7042
  ));
7043
- }, mf = ({
7043
+ }, mm = ({
7044
7044
  purchaseAmount: e,
7045
7045
  apiData: t,
7046
7046
  configPlans: n,
@@ -7056,7 +7056,7 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
7056
7056
  r,
7057
7057
  a
7058
7058
  );
7059
- return /* @__PURE__ */ m.createElement(
7059
+ return /* @__PURE__ */ f.createElement(
7060
7060
  Xo,
7061
7061
  {
7062
7062
  initialPlanIndex: 0,
@@ -7066,11 +7066,11 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
7066
7066
  cards: i
7067
7067
  }
7068
7068
  );
7069
- }, df = "_loadingIndicator_mdgfa_1", hf = "_line1_mdgfa_8", pf = "_line2_mdgfa_14", rn = {
7070
- loadingIndicator: df,
7071
- line1: hf,
7072
- line2: pf
7073
- }, _f = ({ className: e }) => /* @__PURE__ */ m.createElement("div", { className: P(rn.loadingIndicator, e), "data-testid": "loader" }, /* @__PURE__ */ m.createElement("div", { className: rn.line1 }), /* @__PURE__ */ m.createElement("div", { className: rn.line2 })), gf = (e, t) => {
7069
+ }, fm = "_loadingIndicator_mdgfa_1", dm = "_line1_mdgfa_8", hm = "_line2_mdgfa_14", rn = {
7070
+ loadingIndicator: fm,
7071
+ line1: dm,
7072
+ line2: hm
7073
+ }, pm = ({ className: e }) => /* @__PURE__ */ f.createElement("div", { className: P(rn.loadingIndicator, e), "data-testid": "loader" }, /* @__PURE__ */ f.createElement("div", { className: rn.line1 }), /* @__PURE__ */ f.createElement("div", { className: rn.line2 })), _m = (e, t) => {
7074
7074
  const [n, r] = ae(0), [a, o] = ae(!0);
7075
7075
  return ue(() => {
7076
7076
  let i, s = !0;
@@ -7091,7 +7091,7 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
7091
7091
  o(!0);
7092
7092
  }
7093
7093
  };
7094
- }, vf = ({ suggestedPaymentPlan: e, eligibilityPlans: t }) => {
7094
+ }, gm = ({ suggestedPaymentPlan: e, eligibilityPlans: t }) => {
7095
7095
  const n = Array.isArray(e) ? e : [e];
7096
7096
  let r = 0;
7097
7097
  return n.some((a) => {
@@ -7109,22 +7109,22 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
7109
7109
  notEligibleOption: `${je}-not-eligible-option`,
7110
7110
  paymentInfo: `${je}-payment-info`,
7111
7111
  activeOption: `${je}-active-option`
7112
- }, yf = "_widgetButton_11p0j_1", bf = "_logo_11p0j_18", Ef = "_primaryContainer_11p0j_22", xf = "_paymentPlans_11p0j_28", Tf = "_plan_11p0j_37", Cf = "_active_11p0j_52", Sf = "_monochrome_11p0j_57", Af = "_notEligible_11p0j_61", If = "_hideBorder_11p0j_67", Of = "_info_11p0j_71", Nf = "_loader_11p0j_82", Rf = "_pending_11p0j_87", wf = "_clickable_11p0j_91", Mf = "_unClickable_11p0j_95", J = {
7113
- widgetButton: yf,
7114
- logo: bf,
7115
- primaryContainer: Ef,
7116
- paymentPlans: xf,
7117
- plan: Tf,
7118
- active: Cf,
7119
- monochrome: Sf,
7120
- notEligible: Af,
7121
- hideBorder: If,
7122
- info: Of,
7123
- loader: Nf,
7124
- pending: Rf,
7125
- clickable: wf,
7126
- unClickable: Mf
7127
- }, Pf = 1e3 * 3600, ca = 5500, Hf = ({
7112
+ }, vm = "_widgetButton_11p0j_1", ym = "_logo_11p0j_18", bm = "_primaryContainer_11p0j_22", Em = "_paymentPlans_11p0j_28", xm = "_plan_11p0j_37", Tm = "_active_11p0j_52", Cm = "_monochrome_11p0j_57", Sm = "_notEligible_11p0j_61", Am = "_hideBorder_11p0j_67", Im = "_info_11p0j_71", Om = "_loader_11p0j_82", Nm = "_pending_11p0j_87", Rm = "_clickable_11p0j_91", wm = "_unClickable_11p0j_95", J = {
7113
+ widgetButton: vm,
7114
+ logo: ym,
7115
+ primaryContainer: bm,
7116
+ paymentPlans: Em,
7117
+ plan: xm,
7118
+ active: Tm,
7119
+ monochrome: Cm,
7120
+ notEligible: Sm,
7121
+ hideBorder: Am,
7122
+ info: Im,
7123
+ loader: Om,
7124
+ pending: Nm,
7125
+ clickable: Rm,
7126
+ unClickable: wm
7127
+ }, Mm = 1e3 * 3600, ca = 5500, Pm = ({
7128
7128
  apiData: e,
7129
7129
  configPlans: t,
7130
7130
  hideIfNotEligible: n,
@@ -7135,7 +7135,7 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
7135
7135
  customerBillingCountry: s,
7136
7136
  customerShippingCountry: l,
7137
7137
  transitionDelay: u,
7138
- hideBorder: f = !1,
7138
+ hideBorder: m = !1,
7139
7139
  onModalClose: c
7140
7140
  }) => {
7141
7141
  const [d, h] = Io(
@@ -7144,7 +7144,7 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
7144
7144
  t,
7145
7145
  s,
7146
7146
  l
7147
- ), _ = d.filter((k) => k.eligible), b = vf({
7147
+ ), _ = d.filter((k) => k.eligible), b = gm({
7148
7148
  eligibilityPlans: d,
7149
7149
  suggestedPaymentPlan: o != null ? o : 0
7150
7150
  }), v = o !== void 0, y = u !== void 0, [x, E] = ae(!1), A = () => E(!0), g = (k) => {
@@ -7152,22 +7152,22 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
7152
7152
  }, N = d.reduce(
7153
7153
  (k, C, S) => C.eligible ? [...k, S] : k,
7154
7154
  []
7155
- ), z = () => y ? u != null ? u : ca : v ? Pf : ca, { current: q, onHover: F, onLeave: $ } = gf(N, z());
7155
+ ), z = () => y ? u != null ? u : ca : v ? Mm : ca, { current: q, onHover: F, onLeave: $ } = _m(N, z());
7156
7156
  ue(() => {
7157
- h === me.SUCCESS && v && (F(b), $());
7157
+ h === fe.SUCCESS && v && (F(b), $());
7158
7158
  }, [h]);
7159
7159
  const ce = (k) => {
7160
7160
  const C = N.findIndex((S) => S === k);
7161
7161
  return C === -1 ? 0 : C;
7162
7162
  };
7163
- if (h === me.PENDING)
7164
- return /* @__PURE__ */ m.createElement("div", { className: P(J.widgetButton, J.pending) }, /* @__PURE__ */ m.createElement(_f, null));
7165
- if (n && _.length === 0 || d.length === 0 || h === me.FAILED)
7163
+ if (h === fe.PENDING)
7164
+ return /* @__PURE__ */ f.createElement("div", { className: P(J.widgetButton, J.pending) }, /* @__PURE__ */ f.createElement(pm, null));
7165
+ if (n && _.length === 0 || d.length === 0 || h === fe.FAILED)
7166
7166
  return null;
7167
7167
  const Y = (k) => {
7168
7168
  k.preventDefault(), _.length > 0 && A();
7169
7169
  };
7170
- return /* @__PURE__ */ m.createElement(m.Fragment, null, /* @__PURE__ */ m.createElement(
7170
+ return /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement(
7171
7171
  "div",
7172
7172
  {
7173
7173
  tabIndex: 0,
@@ -7179,15 +7179,15 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
7179
7179
  {
7180
7180
  [J.clickable]: _.length > 0,
7181
7181
  [J.unClickable]: _.length === 0,
7182
- [J.hideBorder]: f
7182
+ [J.hideBorder]: m
7183
7183
  },
7184
7184
  He.container
7185
7185
  ),
7186
7186
  "data-testid": "widget-button"
7187
7187
  },
7188
- /* @__PURE__ */ m.createElement("div", { className: P(J.primaryContainer, He.eligibilityLine) }, /* @__PURE__ */ m.createElement(er, { className: J.logo, color: r ? "var(--off-black)" : void 0 }), /* @__PURE__ */ m.createElement("div", { className: P(J.paymentPlans, He.eligibilityOptions) }, d.map((k, C) => {
7188
+ /* @__PURE__ */ f.createElement("div", { className: P(J.primaryContainer, He.eligibilityLine) }, /* @__PURE__ */ f.createElement(er, { className: J.logo, color: r ? "var(--off-black)" : void 0 }), /* @__PURE__ */ f.createElement("div", { className: P(J.paymentPlans, He.eligibilityOptions) }, d.map((k, C) => {
7189
7189
  const S = C === q;
7190
- return /* @__PURE__ */ m.createElement(
7190
+ return /* @__PURE__ */ f.createElement(
7191
7191
  "div",
7192
7192
  {
7193
7193
  key: `p${k.installments_count}x-d+${k.deferred_days}-m+${k.deferred_months}`,
@@ -7205,7 +7205,7 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
7205
7205
  jo(k)
7206
7206
  );
7207
7207
  }))),
7208
- /* @__PURE__ */ m.createElement(
7208
+ /* @__PURE__ */ f.createElement(
7209
7209
  "div",
7210
7210
  {
7211
7211
  className: P(
@@ -7218,7 +7218,7 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
7218
7218
  },
7219
7219
  d.length !== 0 && Nc(d[q])
7220
7220
  )
7221
- ), x && /* @__PURE__ */ m.createElement(
7221
+ ), x && /* @__PURE__ */ f.createElement(
7222
7222
  Xo,
7223
7223
  {
7224
7224
  initialPlanIndex: ce(q),
@@ -7228,7 +7228,7 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
7228
7228
  cards: i
7229
7229
  }
7230
7230
  ));
7231
- }, ze = /* @__PURE__ */ new Map(), Lf = (e, t, n) => {
7231
+ }, ze = /* @__PURE__ */ new Map(), Hm = (e, t, n) => {
7232
7232
  var a;
7233
7233
  const r = document.querySelector(n.container);
7234
7234
  if (r) {
@@ -7242,7 +7242,7 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
7242
7242
  transitionDelay: s,
7243
7243
  hideIfNotEligible: l,
7244
7244
  hideBorder: u = !1,
7245
- monochrome: f = !0,
7245
+ monochrome: m = !0,
7246
7246
  suggestedPaymentPlan: c,
7247
7247
  customerBillingCountry: d,
7248
7248
  customerShippingCountry: h,
@@ -7253,13 +7253,13 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
7253
7253
  if (r) {
7254
7254
  const y = Ar(r);
7255
7255
  y.render(
7256
- /* @__PURE__ */ m.createElement($r, { locale: _ }, /* @__PURE__ */ m.createElement(
7257
- Hf,
7256
+ /* @__PURE__ */ f.createElement($r, { locale: _ }, /* @__PURE__ */ f.createElement(
7257
+ Pm,
7258
7258
  {
7259
7259
  apiData: e,
7260
7260
  configPlans: i,
7261
7261
  hideIfNotEligible: l,
7262
- monochrome: f,
7262
+ monochrome: m,
7263
7263
  purchaseAmount: o,
7264
7264
  suggestedPaymentPlan: c,
7265
7265
  cards: b,
@@ -7280,7 +7280,7 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
7280
7280
  plans: s,
7281
7281
  locale: l = be.en,
7282
7282
  customerBillingCountry: u,
7283
- customerShippingCountry: f,
7283
+ customerShippingCountry: m,
7284
7284
  cards: c,
7285
7285
  onClose: d
7286
7286
  } = n, h = (b) => {
@@ -7291,14 +7291,14 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
7291
7291
  if (r) {
7292
7292
  const b = Ar(r);
7293
7293
  b.render(
7294
- /* @__PURE__ */ m.createElement($r, { locale: l }, /* @__PURE__ */ m.createElement(
7295
- mf,
7294
+ /* @__PURE__ */ f.createElement($r, { locale: l }, /* @__PURE__ */ f.createElement(
7295
+ mm,
7296
7296
  {
7297
7297
  purchaseAmount: i,
7298
7298
  apiData: e,
7299
7299
  configPlans: s,
7300
7300
  customerBillingCountry: u,
7301
- customerShippingCountry: f,
7301
+ customerShippingCountry: m,
7302
7302
  onClose: h,
7303
7303
  cards: c
7304
7304
  }
@@ -7311,23 +7311,23 @@ const Ic = "_openModalInfo_bndtu_1", Oc = {
7311
7311
  close: h
7312
7312
  };
7313
7313
  }
7314
- }, Df = (e) => ({
7315
- add: (t, n) => Lf(e, t, n)
7314
+ }, Lm = (e) => ({
7315
+ add: (t, n) => Hm(e, t, n)
7316
7316
  });
7317
- var Bf = /* @__PURE__ */ ((e) => (e.LIVE = "https://api.getalma.eu", e.TEST = "https://api.sandbox.getalma.eu", e))(Bf || {}), fa;
7317
+ var Dm = /* @__PURE__ */ ((e) => (e.LIVE = "https://api.getalma.eu", e.TEST = "https://api.sandbox.getalma.eu", e))(Dm || {}), ma;
7318
7318
  ((e) => {
7319
7319
  function t(n, r) {
7320
- return Df({ domain: r, merchantId: n });
7320
+ return Lm({ domain: r, merchantId: n });
7321
7321
  }
7322
7322
  e.initialize = t, e.PaymentPlans = lt.PaymentPlans, e.Modal = lt.Modal;
7323
- })(fa || (fa = {}));
7324
- var ma;
7323
+ })(ma || (ma = {}));
7324
+ var fa;
7325
7325
  ((e) => {
7326
7326
  e.priceToCents = ti, e.priceFromCents = ie, e.formatCents = ni;
7327
- })(ma || (ma = {}));
7327
+ })(fa || (fa = {}));
7328
7328
  export {
7329
- Bf as ApiMode,
7330
- ma as Utils,
7331
- fa as Widgets
7329
+ Dm as ApiMode,
7330
+ fa as Utils,
7331
+ ma as Widgets
7332
7332
  };
7333
7333
  //# sourceMappingURL=widgets.js.map