@20minutes/hela 2.21.12 → 2.21.13

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/index.es.js CHANGED
@@ -92,7 +92,7 @@ const p = /* @__PURE__ */ ve(we), q0 = ({
92
92
  a
93
93
  ] }),
94
94
  o && /* @__PURE__ */ e(
95
- Z,
95
+ L,
96
96
  {
97
97
  iconProps: {
98
98
  name: "close",
@@ -1693,7 +1693,7 @@ const P1 = {
1693
1693
  function j(a) {
1694
1694
  return a1.forwardRef(a);
1695
1695
  }
1696
- const Z = j(
1696
+ const L = j(
1697
1697
  ({
1698
1698
  as: a = "button",
1699
1699
  variant: s,
@@ -1762,7 +1762,7 @@ const Z = j(
1762
1762
  );
1763
1763
  }
1764
1764
  );
1765
- Z.displayName = "Button";
1765
+ L.displayName = "Button";
1766
1766
  const _2 = ({
1767
1767
  id: a,
1768
1768
  className: s,
@@ -3100,7 +3100,7 @@ const _2 = ({
3100
3100
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "fna", children: /* @__PURE__ */ e("path", { fill: "#fff", d: "M22 5h32v74H22z" }) }) })
3101
3101
  ] }),
3102
3102
  /* @__PURE__ */ e("symbol", { viewBox: "0 0 20 15", id: "youtube", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e("path", { d: "M19.5 2.8c-.1-.6-.4-1.1-.8-1.5-.4-.4-.9-.7-1.4-.9C15.7.1 10.6 0 10 0c-.6 0-5.7 0-7.2.4-.5.2-1 .4-1.4.9-.5.4-.7 1-.9 1.5C.1 4.4.1 7.4.1 7.5s0 3.1.4 4.7c.1.6.4 1.1.8 1.5.4.4.9.7 1.4.9 1.5.4 6.6.4 7.2.4.6 0 5.7 0 7.2-.4.5-.2 1-.4 1.4-.9.4-.4.7-.9.8-1.5.4-1.5.4-4.6.4-4.7s.2-3.1-.2-4.7zm-6.3 5c0 .1-.1.1-.2.2l-4.3 2.6c-.1 0-.2.1-.2.1-.1 0-.3-.1-.4-.2s-.1-.3-.1-.4V4.7c0-.1.1-.1.2-.2.1 0 .2-.1.2-.1.1 0 .2 0 .2.1L13 7.1c.1 0 .1.1.2.2s.1.2.1.3c-.1 0-.1.1-.1.2z" }) })
3103
- ] }), M2 = [...fe, "blue-dark"], O = j(
3103
+ ] }), M2 = [...fe, "blue-dark"], E = j(
3104
3104
  ({ iconProps: a, as: s = "button", variant: l, color: c, size: r, hasShadow: n, isLoading: i, isFloating: o, ...d }, u) => /* @__PURE__ */ e(
3105
3105
  m,
3106
3106
  {
@@ -3125,7 +3125,7 @@ const _2 = ({
3125
3125
  }
3126
3126
  )
3127
3127
  );
3128
- O.displayName = "IconButton";
3128
+ E.displayName = "IconButton";
3129
3129
  const t1 = ({ text: a, ...s }) => /* @__PURE__ */ e(
3130
3130
  g,
3131
3131
  {
@@ -3188,7 +3188,7 @@ const $e = ({ src: a, formats: s }) => {
3188
3188
  const _ = l.split("x"), b = _[0], f = _[1];
3189
3189
  let N, M = `data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='${b}'%20height='${f}'%3E%3C/svg%3E`;
3190
3190
  if (s && (M = S1({ src: s, format: l }), N = $e({ formats: c, src: s }) ?? ""), u) {
3191
- const B = Number(b) * 2, H = Number(f) * 2, E = `${B}x${H}`, k = S1({ src: s, format: E });
3191
+ const B = Number(b) * 2, Z = Number(f) * 2, O = `${B}x${Z}`, k = S1({ src: s, format: O });
3192
3192
  N = N ? `${N}, ${k} 2x` : `${k} 2x`;
3193
3193
  }
3194
3194
  return w.width = b || void 0, w.height = f !== "0" ? f : void 0, w.sizes = n || void 0, /* @__PURE__ */ e(x, { ...w, as: "img", src: M, ...N ? { srcSet: N } : {} });
@@ -3213,9 +3213,9 @@ const $e = ({ src: a, formats: s }) => {
3213
3213
  hint: N,
3214
3214
  error: M,
3215
3215
  ...B
3216
- }, H) => {
3217
- const E = n && /* @__PURE__ */ e(
3218
- Z,
3216
+ }, Z) => {
3217
+ const O = n && /* @__PURE__ */ e(
3218
+ L,
3219
3219
  {
3220
3220
  className: p("c-input-container__icon", `color-${l || "black"}`),
3221
3221
  iconProps: {
@@ -3255,7 +3255,7 @@ const $e = ({ src: a, formats: s }) => {
3255
3255
  }),
3256
3256
  children: [
3257
3257
  (n || f) && /* @__PURE__ */ t(m, { gap: "s", children: [
3258
- o ? E : k,
3258
+ o ? O : k,
3259
3259
  f
3260
3260
  ] }),
3261
3261
  /* @__PURE__ */ e(
@@ -3264,7 +3264,7 @@ const $e = ({ src: a, formats: s }) => {
3264
3264
  id: a,
3265
3265
  className: p("c-input-container__input", s),
3266
3266
  required: c,
3267
- ref: H,
3267
+ ref: Z,
3268
3268
  "aria-describedby": [N ? `${a}-hint` : null, M ? `${a}-error` : null].filter(Boolean).join(" ") || void 0,
3269
3269
  ...B
3270
3270
  }
@@ -3272,8 +3272,8 @@ const $e = ({ src: a, formats: s }) => {
3272
3272
  ]
3273
3273
  }
3274
3274
  ),
3275
- h?.length && /* @__PURE__ */ e(m, { wrap: "wrap", gapY: "s", gapX: "xxs-2", mt: "xxs-2", children: h.map(({ iconProps: V, textProps: G, value: X }, q) => /* @__PURE__ */ t(m, { alignItems: "center", gap: "xxs", children: [
3276
- V && /* @__PURE__ */ e(z, { ...V }),
3275
+ h?.length && /* @__PURE__ */ e(m, { wrap: "wrap", gapY: "s", gapX: "xxs-2", mt: "xxs-2", children: h.map(({ iconProps: H, textProps: G, value: X }, q) => /* @__PURE__ */ t(m, { alignItems: "center", gap: "xxs", children: [
3276
+ H && /* @__PURE__ */ e(z, { ...H }),
3277
3277
  /* @__PURE__ */ e(g, { dangerouslySetInnerHTML: { __html: X }, role: "alert", ...G })
3278
3278
  ] }, q?.toString())) }),
3279
3279
  M && /* @__PURE__ */ e(
@@ -3334,7 +3334,7 @@ const $e = ({ src: a, formats: s }) => {
3334
3334
  ]
3335
3335
  }
3336
3336
  );
3337
- }, S2 = ({ children: a }) => /* @__PURE__ */ e($, { as: "h4", size: "xxs", weight: "bold", color: "ultramarine", children: a }), L = (a) => {
3337
+ }, S2 = ({ children: a }) => /* @__PURE__ */ e($, { as: "h4", size: "xxs", weight: "bold", color: "ultramarine", children: a }), V = (a) => {
3338
3338
  if (a.propValue && ["boolean", "string", "number"].includes(typeof a.propValue) || !a.propValue) {
3339
3339
  const s = A1({
3340
3340
  className: a.className,
@@ -3375,15 +3375,15 @@ const $e = ({ src: a, formats: s }) => {
3375
3375
  grow: l,
3376
3376
  ...c
3377
3377
  }) => p(
3378
- ...L({
3378
+ ...V({
3379
3379
  propValue: a,
3380
3380
  className: "basis"
3381
3381
  }),
3382
- ...L({
3382
+ ...V({
3383
3383
  propValue: s,
3384
3384
  className: "shrink"
3385
3385
  }),
3386
- ...L({
3386
+ ...V({
3387
3387
  propValue: l,
3388
3388
  className: "grow"
3389
3389
  }),
@@ -3394,62 +3394,62 @@ const $e = ({ src: a, formats: s }) => {
3394
3394
  wrap: l,
3395
3395
  ...c
3396
3396
  }) => p(
3397
- ...L({
3397
+ ...V({
3398
3398
  propValue: a,
3399
3399
  className: a ? "inline-flex" : "flex"
3400
3400
  }),
3401
- ...L({
3401
+ ...V({
3402
3402
  propValue: s,
3403
3403
  className: "direction"
3404
3404
  }),
3405
- ...L({
3405
+ ...V({
3406
3406
  propValue: l
3407
3407
  }),
3408
3408
  Y1(c)
3409
3409
  ), Y1 = (a) => p(
3410
- ...L({
3410
+ ...V({
3411
3411
  propValue: a.alignItems,
3412
3412
  className: "items"
3413
3413
  }),
3414
- ...L({
3414
+ ...V({
3415
3415
  propValue: a.alignContent,
3416
3416
  className: "content"
3417
3417
  }),
3418
- ...L({
3418
+ ...V({
3419
3419
  propValue: a.justifyContent,
3420
3420
  className: "justify"
3421
3421
  }),
3422
- ...L({
3422
+ ...V({
3423
3423
  propValue: a.gap,
3424
3424
  className: "gap"
3425
3425
  }),
3426
- ...L({
3426
+ ...V({
3427
3427
  propValue: a.gapX,
3428
3428
  className: "gap-x"
3429
3429
  }),
3430
- ...L({
3430
+ ...V({
3431
3431
  propValue: a.gapY,
3432
3432
  className: "gap-y"
3433
3433
  }),
3434
- ...L({
3434
+ ...V({
3435
3435
  propValue: a.flexGrow,
3436
3436
  className: "grow"
3437
3437
  })
3438
3438
  ), je = (a) => p(
3439
- ...L({
3439
+ ...V({
3440
3440
  propValue: a.align,
3441
3441
  className: "self"
3442
3442
  })
3443
3443
  ), o1 = (a) => typeof a.props == "object" ? Object.keys(a.props).reduce((s, l) => (a.systemPropNames.includes(l) || (s[l] = a.props[l]), s), {}) : {}, Fe = (a) => p(
3444
3444
  Object.entries(a).filter(([s]) => Object.keys(K1).includes(s)).reduce((s, [l, c]) => (s.push(
3445
- ...L({
3445
+ ...V({
3446
3446
  className: l,
3447
3447
  propValue: c
3448
3448
  })
3449
3449
  ), s), [])
3450
3450
  ), J1 = (a) => p(
3451
3451
  Object.entries(a).filter(([s]) => Object.keys(G1).includes(s)).reduce((s, [l, c]) => (s.push(
3452
- ...L({
3452
+ ...V({
3453
3453
  className: l,
3454
3454
  propValue: c
3455
3455
  })
@@ -3467,11 +3467,11 @@ const $e = ({ src: a, formats: s }) => {
3467
3467
  fontFamily: n,
3468
3468
  whiteSpace: i
3469
3469
  }) => p(
3470
- L({
3470
+ V({
3471
3471
  className: "text",
3472
3472
  propValue: a
3473
3473
  }),
3474
- L({
3474
+ V({
3475
3475
  className: "font-weight",
3476
3476
  propValue: s
3477
3477
  }),
@@ -3528,19 +3528,19 @@ const m = j(({ as: a = "div", children: s, ...l }, c) => /* @__PURE__ */ e(
3528
3528
  }),
3529
3529
  className: p(
3530
3530
  "grid",
3531
- ...L({
3531
+ ...V({
3532
3532
  className: "grid-cols-number",
3533
3533
  propValue: a
3534
3534
  }),
3535
- ...L({
3535
+ ...V({
3536
3536
  className: "grid-gap",
3537
3537
  propValue: s
3538
3538
  }),
3539
- ...L({
3539
+ ...V({
3540
3540
  className: "grid-gap-row",
3541
3541
  propValue: l
3542
3542
  }),
3543
- ...L({
3543
+ ...V({
3544
3544
  className: "grid-gap-col",
3545
3545
  propValue: c
3546
3546
  }),
@@ -3584,7 +3584,7 @@ const m = j(({ as: a = "div", children: s, ...l }, c) => /* @__PURE__ */ e(
3584
3584
  [`c-btn--${n}`]: n && !l
3585
3585
  },
3586
3586
  B1({ weight: i, whiteSpace: o }),
3587
- L({
3587
+ V({
3588
3588
  className: "text",
3589
3589
  propValue: r
3590
3590
  }),
@@ -3737,7 +3737,7 @@ const m = j(({ as: a = "div", children: s, ...l }, c) => /* @__PURE__ */ e(
3737
3737
  "data-trigger-selector": a,
3738
3738
  "data-trigger-offset": s,
3739
3739
  children: /* @__PURE__ */ e("div", { className: "o-page-wrap", children: /* @__PURE__ */ e(
3740
- O,
3740
+ E,
3741
3741
  {
3742
3742
  ...l,
3743
3743
  color: "tertiary",
@@ -3882,7 +3882,7 @@ const d1 = j(
3882
3882
  { [`c-slider__button-container--${o}`]: o }
3883
3883
  ),
3884
3884
  children: /* @__PURE__ */ e(
3885
- O,
3885
+ E,
3886
3886
  {
3887
3887
  color: r,
3888
3888
  size: n,
@@ -4074,7 +4074,7 @@ const d1 = j(
4074
4074
  as: a,
4075
4075
  ref: r,
4076
4076
  className: p(
4077
- L({
4077
+ V({
4078
4078
  className: "heading",
4079
4079
  propValue: s
4080
4080
  }),
@@ -4094,7 +4094,7 @@ const d1 = j(
4094
4094
  ...r,
4095
4095
  ref: n,
4096
4096
  className: p(
4097
- L({
4097
+ V({
4098
4098
  className: "text",
4099
4099
  propValue: s
4100
4100
  }),
@@ -4172,7 +4172,7 @@ const d1 = j(
4172
4172
  }
4173
4173
  ),
4174
4174
  /* @__PURE__ */ e(g, { as: c ? "a" : void 0, size: "s", color: "white", ...c || {}, children: s }),
4175
- r && /* @__PURE__ */ e(Z, { ...r, variant: "ghost", className: "c-info-banner__close", children: /* @__PURE__ */ e(z, { name: "close", size: 12, color: "white" }) })
4175
+ r && /* @__PURE__ */ e(L, { ...r, variant: "ghost", className: "c-info-banner__close", children: /* @__PURE__ */ e(z, { name: "close", size: 12, color: "white" }) })
4176
4176
  ]
4177
4177
  }
4178
4178
  )
@@ -4320,7 +4320,7 @@ const d1 = j(
4320
4320
  }
4321
4321
  ),
4322
4322
  u && o && o >= 2 && /* @__PURE__ */ e(
4323
- Z,
4323
+ L,
4324
4324
  {
4325
4325
  color: "tertiary",
4326
4326
  size: "large",
@@ -4577,30 +4577,30 @@ const d1 = j(
4577
4577
  }
4578
4578
  return { year: i.getFullYear(), month: i.getMonth() };
4579
4579
  }), u = K(() => new Date(o.year, o.month, 1), [o]), h = K(() => new Date(o.year, o.month + 1, 0), [o]), v = K(() => {
4580
- const k = new Date(u), V = (k.getDay() + 6) % 7;
4581
- return k.setDate(k.getDate() - V), k;
4580
+ const k = new Date(u), H = (k.getDay() + 6) % 7;
4581
+ return k.setDate(k.getDate() - H), k;
4582
4582
  }, [u]), w = K(() => {
4583
- const k = new Date(h), V = (k.getDay() + 6) % 7;
4584
- return k.setDate(k.getDate() + (6 - V)), k;
4583
+ const k = new Date(h), H = (k.getDay() + 6) % 7;
4584
+ return k.setDate(k.getDate() + (6 - H)), k;
4585
4585
  }, [h]), _ = [];
4586
4586
  for (let k = new Date(v); k <= w; k.setDate(k.getDate() + 1))
4587
4587
  _.push(new Date(k));
4588
4588
  const b = K(() => new Set(a), [a]), f = K(() => new Set(s), [s]), N = K(
4589
4589
  () => Je([...a, ...s]),
4590
4590
  [a, s]
4591
- ), M = x1(i), B = o.year < i.getFullYear() || o.year === i.getFullYear() && o.month < i.getMonth(), H = () => {
4591
+ ), M = x1(i), B = o.year < i.getFullYear() || o.year === i.getFullYear() && o.month < i.getMonth(), Z = () => {
4592
4592
  d((k) => k.month === 0 ? { year: k.year - 1, month: 11 } : { year: k.year, month: k.month - 1 });
4593
- }, E = () => {
4593
+ }, O = () => {
4594
4594
  B && d((k) => k.month === 11 ? { year: k.year + 1, month: 0 } : { year: k.year, month: k.month + 1 });
4595
4595
  };
4596
4596
  return /* @__PURE__ */ t(x, { ...n, className: p("c-calendar", r), px: "s", py: "xl", bg: "grey-100", children: [
4597
4597
  /* @__PURE__ */ t(m, { justifyContent: "center", alignItems: "center", mb: "l", gap: "l", children: [
4598
4598
  /* @__PURE__ */ e(
4599
- Z,
4599
+ L,
4600
4600
  {
4601
4601
  variant: "ghost",
4602
4602
  "aria-label": "Mois précédent",
4603
- onClick: H,
4603
+ onClick: Z,
4604
4604
  iconProps: { name: "chevron-left", size: 12 }
4605
4605
  }
4606
4606
  ),
@@ -4620,11 +4620,11 @@ const d1 = j(
4620
4620
  }
4621
4621
  ),
4622
4622
  /* @__PURE__ */ e(
4623
- Z,
4623
+ L,
4624
4624
  {
4625
4625
  variant: "ghost",
4626
4626
  "aria-label": "Mois suivant",
4627
- onClick: E,
4627
+ onClick: O,
4628
4628
  iconProps: { name: "chevron", size: 12 },
4629
4629
  disabled: !B,
4630
4630
  className: p({ "c-btn--disabled": !B })
@@ -4633,7 +4633,7 @@ const d1 = j(
4633
4633
  ] }),
4634
4634
  /* @__PURE__ */ e(x, { className: "c-calendar__grid", pb: "xs", children: We.map((k) => /* @__PURE__ */ e(m, { alignItems: "center", justifyContent: "center", className: "c-calendar__cell", children: /* @__PURE__ */ e(g, { as: "span", size: "xs", children: k.charAt(0) }) }, k)) }),
4635
4635
  /* @__PURE__ */ e("div", { className: "c-calendar__grid", children: _.map((k) => {
4636
- const V = x1(k), G = k.getMonth() === o.month, X = V === M, q = N.has(V), c1 = (b.has(V) || f.has(V)) && !q, he = b.has(V), me = f.has(V), N1 = new Date(k);
4636
+ const H = x1(k), G = k.getMonth() === o.month, X = H === M, q = N.has(H), c1 = (b.has(H) || f.has(H)) && !q, he = b.has(H), me = f.has(H), N1 = new Date(k);
4637
4637
  N1.setDate(N1.getDate() - 1);
4638
4638
  const H1 = q && !N.has(x1(N1)), k1 = new Date(k);
4639
4639
  k1.setDate(k1.getDate() + 1);
@@ -4657,7 +4657,7 @@ const d1 = j(
4657
4657
  (c1 || H1 || j1) && /* @__PURE__ */ e(z, { name: "heat", size: [22, 32], className: "c-calendar__heat-icon" })
4658
4658
  ] })
4659
4659
  },
4660
- V
4660
+ H
4661
4661
  );
4662
4662
  }) })
4663
4663
  ] });
@@ -4767,7 +4767,7 @@ const d1 = j(
4767
4767
  variant: M,
4768
4768
  ...B
4769
4769
  }) => {
4770
- const H = () => {
4770
+ const Z = () => {
4771
4771
  if (a?.size)
4772
4772
  return a.size;
4773
4773
  if (s !== void 0) {
@@ -4783,12 +4783,12 @@ const d1 = j(
4783
4783
  return s;
4784
4784
  }
4785
4785
  return M && M === "secondary" ? 15 : 20;
4786
- }, E = () => {
4786
+ }, O = () => {
4787
4787
  if (c !== void 0)
4788
4788
  return c === "none" ? void 0 : c;
4789
4789
  if (M)
4790
4790
  return M === "secondary" ? "grey-100" : void 0;
4791
- }, k = () => o === "small" ? "xxs-2" : M && M === "secondary" ? "xxs" : "xxs-2", V = () => n || (M && M === "secondary" ? "black" : "white"), G = () => i || (M && M === "secondary" ? void 0 : "default"), X = () => d === "inline" && c !== "none" ? "xxs-2" : void 0, q = () => {
4791
+ }, k = () => o === "small" ? "xxs-2" : M && M === "secondary" ? "xxs" : "xxs-2", H = () => n || (M && M === "secondary" ? "black" : "white"), G = () => i || (M && M === "secondary" ? void 0 : "default"), X = () => d === "inline" && c !== "none" ? "xxs-2" : void 0, q = () => {
4792
4792
  const c1 = /* @__PURE__ */ e(
4793
4793
  m,
4794
4794
  {
@@ -4799,9 +4799,9 @@ const d1 = j(
4799
4799
  }),
4800
4800
  alignItems: "center",
4801
4801
  justifyContent: "center",
4802
- bg: E(),
4802
+ bg: O(),
4803
4803
  color: l,
4804
- children: /* @__PURE__ */ e(z, { size: H(), ...a })
4804
+ children: /* @__PURE__ */ e(z, { size: Z(), ...a })
4805
4805
  }
4806
4806
  );
4807
4807
  return r !== void 0 ? /* @__PURE__ */ t(m, { className: "c-icon-item", alignItems: "center", children: [
@@ -4811,7 +4811,7 @@ const d1 = j(
4811
4811
  {
4812
4812
  as: "span",
4813
4813
  size: k(),
4814
- color: V(),
4814
+ color: H(),
4815
4815
  bg: G(),
4816
4816
  ml: X(),
4817
4817
  className: p("c-icon-item__count", {
@@ -5688,7 +5688,7 @@ const d1 = j(
5688
5688
  i,
5689
5689
  /* @__PURE__ */ t(m, { gap: "s", mt: "m", alignItems: "center", children: [
5690
5690
  /* @__PURE__ */ e(
5691
- Z,
5691
+ L,
5692
5692
  {
5693
5693
  size: "small",
5694
5694
  onClick: h,
@@ -5739,7 +5739,7 @@ const d1 = j(
5739
5739
  }
5740
5740
  ),
5741
5741
  l && /* @__PURE__ */ e(
5742
- Z,
5742
+ L,
5743
5743
  {
5744
5744
  variant: "ghost",
5745
5745
  iconProps: {
@@ -6457,7 +6457,7 @@ const d1 = j(
6457
6457
  bg: r,
6458
6458
  children: [
6459
6459
  n && /* @__PURE__ */ e(
6460
- O,
6460
+ E,
6461
6461
  {
6462
6462
  variant: "ghost",
6463
6463
  size: "tiny",
@@ -6493,7 +6493,7 @@ const d1 = j(
6493
6493
  }
6494
6494
  ),
6495
6495
  /* @__PURE__ */ e(
6496
- O,
6496
+ E,
6497
6497
  {
6498
6498
  ...i,
6499
6499
  variant: "ghost",
@@ -6576,11 +6576,11 @@ const d1 = j(
6576
6576
  }, w) => {
6577
6577
  const _ = pe().replace(/:/g, ""), b = `c-collapse__button-${a}-${_}`, f = `c-collapse__content-${a}-${_}`, N = () => {
6578
6578
  if (l) {
6579
- const { as: E, children: k, ...V } = l;
6580
- return /* @__PURE__ */ e($, { as: "h3", size: "xxs", color: "black", ...V, children: k });
6579
+ const { children: O, ...k } = l;
6580
+ return /* @__PURE__ */ e($, { as: "h3", size: "xxs", color: "black", ...k, children: O });
6581
6581
  }
6582
- const { as: M, children: B, ...H } = s ?? {};
6583
- return /* @__PURE__ */ e(g, { as: "span", size: "l", color: "black", ...H, children: B });
6582
+ const { as: M, children: B, ...Z } = s ?? {};
6583
+ return /* @__PURE__ */ e(g, { as: "span", size: "l", color: "black", ...Z, children: B });
6584
6584
  };
6585
6585
  return /* @__PURE__ */ t(
6586
6586
  x,
@@ -6823,7 +6823,7 @@ const d1 = j(
6823
6823
  hasTopBorder: d = !1
6824
6824
  }) => {
6825
6825
  const u = /* @__PURE__ */ e(
6826
- Z,
6826
+ L,
6827
6827
  {
6828
6828
  variant: "ghost",
6829
6829
  iconProps: { name: "chevron", color: "white", size: 18 },
@@ -7063,7 +7063,7 @@ const d1 = j(
7063
7063
  }
7064
7064
  ),
7065
7065
  /* @__PURE__ */ e(
7066
- O,
7066
+ E,
7067
7067
  {
7068
7068
  ...n,
7069
7069
  color: "white",
@@ -7121,7 +7121,7 @@ const d1 = j(
7121
7121
  /* @__PURE__ */ t(m, { alignItems: "center", gap: "xl", flexGrow: 1, className: "c-header-mini__container", children: [
7122
7122
  /* @__PURE__ */ t(m, { alignItems: "center", gap: "l", children: [
7123
7123
  /* @__PURE__ */ e(
7124
- O,
7124
+ E,
7125
7125
  {
7126
7126
  variant: "ghost",
7127
7127
  color: "white",
@@ -7132,7 +7132,7 @@ const d1 = j(
7132
7132
  }
7133
7133
  ),
7134
7134
  /* @__PURE__ */ e(
7135
- O,
7135
+ E,
7136
7136
  {
7137
7137
  variant: "ghost",
7138
7138
  color: "white",
@@ -7235,7 +7235,7 @@ const d1 = j(
7235
7235
  }
7236
7236
  ) }),
7237
7237
  r && /* @__PURE__ */ t(
7238
- Z,
7238
+ L,
7239
7239
  {
7240
7240
  variant: "ghost",
7241
7241
  className: "c-nodeheader__btn js-expand-button",
@@ -7340,7 +7340,7 @@ const d1 = j(
7340
7340
  mx: { xs: "m", md: "0" },
7341
7341
  mt: { xs: "s", md: "m" },
7342
7342
  children: /* @__PURE__ */ e(
7343
- Z,
7343
+ L,
7344
7344
  {
7345
7345
  variant: "ghost-with-icon-bg",
7346
7346
  iconProps: {
@@ -7413,7 +7413,7 @@ const d1 = j(
7413
7413
  l && (i ? /* @__PURE__ */ t(m, { alignItems: "center", mt: "xxs", mx: { xs: "m", md: "0" }, children: [
7414
7414
  d,
7415
7415
  /* @__PURE__ */ e(
7416
- O,
7416
+ E,
7417
7417
  {
7418
7418
  ...i,
7419
7419
  variant: "ghost",
@@ -7438,7 +7438,7 @@ const d1 = j(
7438
7438
  }
7439
7439
  ),
7440
7440
  r && /* @__PURE__ */ t(
7441
- Z,
7441
+ L,
7442
7442
  {
7443
7443
  variant: "ghost",
7444
7444
  className: "c-nodeheader__btn js-expand-button",
@@ -7534,7 +7534,7 @@ const d1 = j(
7534
7534
  `c-image-slider__button-container c-image-slider__button-container--${n}`
7535
7535
  ),
7536
7536
  children: /* @__PURE__ */ e(
7537
- O,
7537
+ E,
7538
7538
  {
7539
7539
  iconProps: {
7540
7540
  name: "chevron",
@@ -7587,7 +7587,7 @@ const d1 = j(
7587
7587
  }
7588
7588
  ),
7589
7589
  /* @__PURE__ */ e(g, { as: l ? "a" : "div", size: "s", color: "black", ...l || {}, children: a }),
7590
- c && /* @__PURE__ */ e(Z, { ...c, variant: "ghost", className: "c-info-banner__close", children: /* @__PURE__ */ e(z, { name: "close", size: 12, color: "white" }) })
7590
+ c && /* @__PURE__ */ e(L, { ...c, variant: "ghost", className: "c-info-banner__close", children: /* @__PURE__ */ e(z, { name: "close", size: 12, color: "white" }) })
7591
7591
  ] }),
7592
7592
  r && /* @__PURE__ */ t("div", { className: "c-info-banner__info", children: [
7593
7593
  /* @__PURE__ */ e(
@@ -7911,7 +7911,7 @@ const d1 = j(
7911
7911
  }
7912
7912
  ),
7913
7913
  /* @__PURE__ */ e(
7914
- Z,
7914
+ L,
7915
7915
  {
7916
7916
  iconProps: { name: "close", size: 15 },
7917
7917
  variant: "close",
@@ -8253,7 +8253,7 @@ const d1 = j(
8253
8253
  size: i,
8254
8254
  ...o
8255
8255
  }) => /* @__PURE__ */ e(
8256
- Z,
8256
+ L,
8257
8257
  {
8258
8258
  ...o,
8259
8259
  color: n,
@@ -8471,7 +8471,6 @@ const d1 = j(
8471
8471
  {
8472
8472
  as: "li",
8473
8473
  textTitleProps: {
8474
- as: "p",
8475
8474
  color: "black",
8476
8475
  size: "s",
8477
8476
  children: h.name
@@ -8552,7 +8551,7 @@ const d1 = j(
8552
8551
  ] }),
8553
8552
  c && /* @__PURE__ */ e(x, { id: "mbrs-darkmode-container", p: "l", py: "m" }),
8554
8553
  n && /* @__PURE__ */ e(x, { className: "c-menu__list", children: /* @__PURE__ */ e(
8555
- Z,
8554
+ L,
8556
8555
  {
8557
8556
  iconProps: {
8558
8557
  name: "mood"
@@ -8614,7 +8613,7 @@ const d1 = j(
8614
8613
  }
8615
8614
  ),
8616
8615
  /* @__PURE__ */ e(V1, { className: "c-input--newsletter", type: "email", placeholder: l }),
8617
- /* @__PURE__ */ e(Z, { color: "primary", variant: "outlined", type: "submit", className: "c-newsletter__button", children: c }),
8616
+ /* @__PURE__ */ e(L, { color: "primary", variant: "outlined", type: "submit", className: "c-newsletter__button", children: c }),
8618
8617
  /* @__PURE__ */ t(
8619
8618
  m,
8620
8619
  {
@@ -8725,12 +8724,12 @@ const d1 = j(
8725
8724
  size: 20
8726
8725
  };
8727
8726
  }
8728
- }, M = /* @__PURE__ */ e(m, { as: "ul", direction: "row-reverse", alignItems: "center", className: "c-react-button__list", children: o?.sort((B, H) => H.count - B.count).map((B, H) => /* @__PURE__ */ e(
8727
+ }, M = /* @__PURE__ */ e(m, { as: "ul", direction: "row-reverse", alignItems: "center", className: "c-react-button__list", children: o?.sort((B, Z) => Z.count - B.count).map((B, Z) => /* @__PURE__ */ e(
8729
8728
  x,
8730
8729
  {
8731
8730
  as: "li",
8732
8731
  className: p("c-react-button__list-item", {
8733
- "c-react-button__list-item--show": B.count > 0 && H <= 1
8732
+ "c-react-button__list-item--show": B.count > 0 && Z <= 1
8734
8733
  }),
8735
8734
  bg: "grey-100",
8736
8735
  "data-reaction-item": B.type,
@@ -8755,7 +8754,7 @@ const d1 = j(
8755
8754
  },
8756
8755
  b.className
8757
8756
  ),
8758
- ...o && o.length > 0 && o.reduce((B, H) => (B[`data-content-${H.type}`] = H.count, B), {}),
8757
+ ...o && o.length > 0 && o.reduce((B, Z) => (B[`data-content-${Z.type}`] = Z.count, B), {}),
8759
8758
  ...u && {
8760
8759
  "data-user-reaction": u.type,
8761
8760
  "data-user-reaction-id": u.id
@@ -9089,7 +9088,7 @@ const d1 = j(
9089
9088
  return i ? /* @__PURE__ */ e("a", { href: i, children: w }) : w;
9090
9089
  }, A3 = ({ installButton: a, closeButton: s }) => /* @__PURE__ */ t(m, { className: "c-smart-banner", alignItems: "center", gap: "xs", bg: "ultramarine", color: "white", children: [
9091
9090
  /* @__PURE__ */ e(
9092
- Z,
9091
+ L,
9093
9092
  {
9094
9093
  ...s,
9095
9094
  variant: "ghost",
@@ -9108,7 +9107,7 @@ const d1 = j(
9108
9107
  ] }),
9109
9108
  /* @__PURE__ */ e(g, { size: "xxs-2", children: "Retrouvez l’actualité sur notre application" })
9110
9109
  ] }),
9111
- /* @__PURE__ */ e(Z, { ...a, className: "c-smart-banner__btn color-ultramarine bg-white", children: "Installer" })
9110
+ /* @__PURE__ */ e(L, { ...a, className: "c-smart-banner__btn color-ultramarine bg-white", children: "Installer" })
9112
9111
  ] }), h1 = (a) => a === "card" ? "secondary" : "primary", b1 = (a) => a === "card" ? "inline" : "rounded", B0 = (a) => a === "vertical" ? "right" : "top", n1 = ({
9113
9112
  commentCount: a,
9114
9113
  shareCount: s,
@@ -9130,7 +9129,7 @@ const d1 = j(
9130
9129
  layout: M,
9131
9130
  ...B
9132
9131
  }) => {
9133
- const H = !_ && /* @__PURE__ */ e(
9132
+ const Z = !_ && /* @__PURE__ */ e(
9134
9133
  Q,
9135
9134
  {
9136
9135
  role: "button",
@@ -9149,7 +9148,7 @@ const d1 = j(
9149
9148
  "aria-describedby": M === y.DESKTOP ? `comment-tooltip-${o || i}` : void 0,
9150
9149
  children: M === y.DESKTOP && /* @__PURE__ */ e(t1, { id: `comment-tooltip-${o || i}`, text: "Commenter" })
9151
9150
  }
9152
- ), E = /* @__PURE__ */ e(
9151
+ ), O = /* @__PURE__ */ e(
9153
9152
  Q,
9154
9153
  {
9155
9154
  role: "button",
@@ -9198,7 +9197,7 @@ const d1 = j(
9198
9197
  "data-content-id": i || o,
9199
9198
  "data-content-model": d
9200
9199
  }
9201
- ), V = o && /* @__PURE__ */ e(
9200
+ ), H = o && /* @__PURE__ */ e(
9202
9201
  Q,
9203
9202
  {
9204
9203
  role: "button",
@@ -9263,27 +9262,27 @@ const d1 = j(
9263
9262
  case "card":
9264
9263
  return /* @__PURE__ */ t(S, { children: [
9265
9264
  /* @__PURE__ */ e("li", { children: /* @__PURE__ */ t(m, { as: "ul", alignItems: "center", gap: "xxs", children: [
9266
- H && /* @__PURE__ */ e("li", { children: H }),
9265
+ Z && /* @__PURE__ */ e("li", { children: Z }),
9267
9266
  k && /* @__PURE__ */ e("li", { children: k })
9268
9267
  ] }) }),
9269
- V && /* @__PURE__ */ e("li", { children: V })
9268
+ H && /* @__PURE__ */ e("li", { children: H })
9270
9269
  ] });
9271
9270
  case "horizontal":
9272
9271
  return /* @__PURE__ */ t(S, { children: [
9272
+ Z && /* @__PURE__ */ e("li", { children: Z }),
9273
+ O && /* @__PURE__ */ e("li", { children: O }),
9273
9274
  H && /* @__PURE__ */ e("li", { children: H }),
9274
- E && /* @__PURE__ */ e("li", { children: E }),
9275
- V && /* @__PURE__ */ e("li", { children: V }),
9276
9275
  k && /* @__PURE__ */ e("li", { children: k }),
9277
9276
  G && /* @__PURE__ */ e("li", { children: G })
9278
9277
  ] });
9279
9278
  case "vertical":
9280
9279
  return /* @__PURE__ */ t(S, { children: [
9281
- H && /* @__PURE__ */ e("li", { children: H }),
9282
- E && /* @__PURE__ */ e("li", { children: E }),
9280
+ Z && /* @__PURE__ */ e("li", { children: Z }),
9281
+ O && /* @__PURE__ */ e("li", { children: O }),
9283
9282
  k && /* @__PURE__ */ e("li", { children: k }),
9284
9283
  /* @__PURE__ */ e("li", { "aria-hidden": "true", children: q }),
9285
9284
  X && /* @__PURE__ */ e("li", { children: X }),
9286
- V && /* @__PURE__ */ e("li", { children: V }),
9285
+ H && /* @__PURE__ */ e("li", { children: H }),
9287
9286
  G && /* @__PURE__ */ e("li", { children: G })
9288
9287
  ] });
9289
9288
  default:
@@ -9637,7 +9636,7 @@ const d1 = j(
9637
9636
  children: a.map((c, r) => /* @__PURE__ */ e(W, { ...c }, r))
9638
9637
  }
9639
9638
  ) : null, H0 = ({ iconName: a, className: s }) => /* @__PURE__ */ e("li", { className: p("c-text-tooltip-item", s), children: /* @__PURE__ */ e(
9640
- Z,
9639
+ L,
9641
9640
  {
9642
9641
  variant: "ghost",
9643
9642
  iconProps: { name: a, size: [20, 20] },
@@ -9884,7 +9883,7 @@ const d1 = j(
9884
9883
  }
9885
9884
  ),
9886
9885
  /* @__PURE__ */ e(
9887
- O,
9886
+ E,
9888
9887
  {
9889
9888
  color: "white",
9890
9889
  className: "c-elections-result__expand-button js-expand-button",
@@ -9927,7 +9926,7 @@ const d1 = j(
9927
9926
  ] }) : _
9928
9927
  }
9929
9928
  );
9930
- }, z1 = ({ href: a, iconName: s, name: l, themeColor: c }) => /* @__PURE__ */ t(Z, { as: "a", href: a, color: "white", p: "xs", className: "c-app-button", children: [
9929
+ }, z1 = ({ href: a, iconName: s, name: l, themeColor: c }) => /* @__PURE__ */ t(L, { as: "a", href: a, color: "white", p: "xs", className: "c-app-button", children: [
9931
9930
  /* @__PURE__ */ e(z, { name: s, size: 20, color: c || "ultramarine" }),
9932
9931
  /* @__PURE__ */ t(m, { direction: "column", children: [
9933
9932
  /* @__PURE__ */ e(g, { as: "span", size: "xxs", weight: "regular", children: "Télécharger sur" }),
@@ -10264,7 +10263,7 @@ const T0 = {
10264
10263
  /* @__PURE__ */ e(l1, { href: "#menu-nav", children: "Passer à l'en-tête" }),
10265
10264
  /* @__PURE__ */ e(l1, { href: "#footer", children: "Passer au pied de page" }),
10266
10265
  /* @__PURE__ */ e(
10267
- Z,
10266
+ L,
10268
10267
  {
10269
10268
  color: "translucent",
10270
10269
  iconProps: {
@@ -10276,7 +10275,7 @@ const T0 = {
10276
10275
  }
10277
10276
  ),
10278
10277
  /* @__PURE__ */ e(
10279
- Z,
10278
+ L,
10280
10279
  {
10281
10280
  color: "translucent",
10282
10281
  iconProps: {
@@ -10463,7 +10462,7 @@ const T0 = {
10463
10462
  n ? /* @__PURE__ */ t(S, { children: [
10464
10463
  /* @__PURE__ */ t("div", { className: "js-header-btn-menu", children: [
10465
10464
  /* @__PURE__ */ e(
10466
- O,
10465
+ E,
10467
10466
  {
10468
10467
  variant: "ghost",
10469
10468
  color: "white",
@@ -10477,7 +10476,7 @@ const T0 = {
10477
10476
  }
10478
10477
  ),
10479
10478
  /* @__PURE__ */ e(
10480
- O,
10479
+ E,
10481
10480
  {
10482
10481
  variant: "ghost",
10483
10482
  color: "white",
@@ -10493,7 +10492,7 @@ const T0 = {
10493
10492
  )
10494
10493
  ] }),
10495
10494
  i && /* @__PURE__ */ e(
10496
- O,
10495
+ E,
10497
10496
  {
10498
10497
  as: "a",
10499
10498
  href: i,
@@ -10891,7 +10890,7 @@ const T0 = {
10891
10890
  /* @__PURE__ */ e("br", {}),
10892
10891
  /* @__PURE__ */ e(g, { as: "span", size: "m", weight: "bold", children: "Mes statistiques de jeu" })
10893
10892
  ] }),
10894
- /* @__PURE__ */ e(Z, { type: "button", "data-a11y-dialog-show": "dialog-user-panel", color: "primary", children: "Se connecter" })
10893
+ /* @__PURE__ */ e(L, { type: "button", "data-a11y-dialog-show": "dialog-user-panel", color: "primary", children: "Se connecter" })
10895
10894
  ]
10896
10895
  }
10897
10896
  )
@@ -11007,7 +11006,7 @@ export {
11007
11006
  x as Box,
11008
11007
  P2 as Breadcrumb,
11009
11008
  q2 as BulletedList,
11010
- Z as Button,
11009
+ L as Button,
11011
11010
  K2 as Calendar,
11012
11011
  D as CardContainer,
11013
11012
  U2 as CardExtraLarge,
@@ -11070,7 +11069,7 @@ export {
11070
11069
  Z1 as HeaderTitle,
11071
11070
  $ as Heading,
11072
11071
  z as Icon,
11073
- O as IconButton,
11072
+ E as IconButton,
11074
11073
  Q as IconItem,
11075
11074
  t1 as IconTooltip,
11076
11075
  C2 as Iframe,