@20minutes/hela 2.26.0 → 2.26.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BoxProps } from '../..';
|
|
3
2
|
export type TableCell = React.ReactNode;
|
|
4
3
|
export type TableRow = TableCell[];
|
|
5
4
|
export type TableContentProps = TableRow[];
|
|
6
|
-
export interface TableProps
|
|
5
|
+
export interface TableProps {
|
|
7
6
|
hasHeader?: boolean;
|
|
8
7
|
tableProps?: TableContentProps;
|
|
9
8
|
}
|
package/dist/index.es.js
CHANGED
|
@@ -133,7 +133,7 @@ const g = /* @__PURE__ */ be(ye), Ea = ({
|
|
|
133
133
|
/* @__PURE__ */ e("span", { className: "c-autocomplete__input-spinner u-hidden" })
|
|
134
134
|
] }),
|
|
135
135
|
/* @__PURE__ */ e("ul", { className: "c-autocomplete__menu u-hidden" })
|
|
136
|
-
] }),
|
|
136
|
+
] }), v1 = ({
|
|
137
137
|
img: a,
|
|
138
138
|
alt: c = "",
|
|
139
139
|
color: l,
|
|
@@ -6602,7 +6602,7 @@ const h1 = L(
|
|
|
6602
6602
|
defaultFormat: "1444x920",
|
|
6603
6603
|
formats: ["1444x920", "722x460", "640x408", "320x204"],
|
|
6604
6604
|
sizes: "100vw"
|
|
6605
|
-
},
|
|
6605
|
+
}, x1 = ({
|
|
6606
6606
|
type: a = U.photo,
|
|
6607
6607
|
src: c,
|
|
6608
6608
|
caption: l,
|
|
@@ -6733,7 +6733,7 @@ const h1 = L(
|
|
|
6733
6733
|
themeColor: l,
|
|
6734
6734
|
...s
|
|
6735
6735
|
}) => /* @__PURE__ */ e(m, { ...s, className: "c-avatar-group", children: a.slice(0, c).map((i) => /* @__PURE__ */ e(
|
|
6736
|
-
|
|
6736
|
+
v1,
|
|
6737
6737
|
{
|
|
6738
6738
|
img: i.path,
|
|
6739
6739
|
alt: i.title,
|
|
@@ -6966,7 +6966,7 @@ const h1 = L(
|
|
|
6966
6966
|
"Octobre",
|
|
6967
6967
|
"Novembre",
|
|
6968
6968
|
"Décembre"
|
|
6969
|
-
],
|
|
6969
|
+
], b1 = (a) => {
|
|
6970
6970
|
const c = a.getFullYear(), l = String(a.getMonth() + 1).padStart(2, "0"), s = String(a.getDate()).padStart(2, "0");
|
|
6971
6971
|
return `${c}-${l}-${s}`;
|
|
6972
6972
|
}, Y3 = (a) => {
|
|
@@ -7018,7 +7018,7 @@ const h1 = L(
|
|
|
7018
7018
|
const b = G(() => new Set(a), [a]), f = G(() => new Set(c), [c]), N = G(
|
|
7019
7019
|
() => Y3([...a, ...c]),
|
|
7020
7020
|
[a, c]
|
|
7021
|
-
), M =
|
|
7021
|
+
), M = b1(t), $ = o.year < t.getFullYear() || o.year === t.getFullYear() && o.month < t.getMonth(), V = () => {
|
|
7022
7022
|
d((k) => k.month === 0 ? { year: k.year - 1, month: 11 } : { year: k.year, month: k.month - 1 });
|
|
7023
7023
|
}, E = () => {
|
|
7024
7024
|
$ && d((k) => k.month === 11 ? { year: k.year + 1, month: 0 } : { year: k.year, month: k.month + 1 });
|
|
@@ -7063,11 +7063,11 @@ const h1 = L(
|
|
|
7063
7063
|
] }),
|
|
7064
7064
|
/* @__PURE__ */ e(w, { className: "c-calendar__grid", pb: "xs", children: U3.map((k) => /* @__PURE__ */ e(m, { alignItems: "center", justifyContent: "center", className: "c-calendar__cell", children: /* @__PURE__ */ e(p, { as: "span", size: "xs", children: k.charAt(0) }) }, k)) }),
|
|
7065
7065
|
/* @__PURE__ */ e("div", { className: "c-calendar__grid", children: y.map((k) => {
|
|
7066
|
-
const P =
|
|
7066
|
+
const P = b1(k), Y = k.getMonth() === o.month, e1 = P === M, K = N.has(P), n1 = (b.has(P) || f.has(P)) && !K, C1 = b.has(P), S1 = f.has(P), m1 = new Date(k);
|
|
7067
7067
|
m1.setDate(m1.getDate() - 1);
|
|
7068
|
-
const T1 = K && !N.has(
|
|
7068
|
+
const T1 = K && !N.has(b1(m1)), B1 = new Date(k);
|
|
7069
7069
|
B1.setDate(B1.getDate() + 1);
|
|
7070
|
-
const A1 = K && !N.has(
|
|
7070
|
+
const A1 = K && !N.has(b1(B1));
|
|
7071
7071
|
return /* @__PURE__ */ e(
|
|
7072
7072
|
m,
|
|
7073
7073
|
{
|
|
@@ -7107,7 +7107,7 @@ const h1 = L(
|
|
|
7107
7107
|
children: c
|
|
7108
7108
|
}
|
|
7109
7109
|
)
|
|
7110
|
-
),
|
|
7110
|
+
), k1 = ({
|
|
7111
7111
|
text: a,
|
|
7112
7112
|
avatarAlt: c,
|
|
7113
7113
|
avatarUrl: l,
|
|
@@ -7131,7 +7131,7 @@ const h1 = L(
|
|
|
7131
7131
|
target: "_blank",
|
|
7132
7132
|
gap: "xxs",
|
|
7133
7133
|
children: [
|
|
7134
|
-
l && /* @__PURE__ */ e(
|
|
7134
|
+
l && /* @__PURE__ */ e(v1, { variant: "xsmall", img: l, alt: c }),
|
|
7135
7135
|
/* @__PURE__ */ e(p, { ...o, mt: "xxs-2", children: a })
|
|
7136
7136
|
]
|
|
7137
7137
|
}
|
|
@@ -7483,7 +7483,7 @@ const h1 = L(
|
|
|
7483
7483
|
sizes: "(min-width: 1024px) 722px, (min-width: 480px) 640px, 320px",
|
|
7484
7484
|
alt: c
|
|
7485
7485
|
}
|
|
7486
|
-
) || h && /* @__PURE__ */ e(
|
|
7486
|
+
) || h && /* @__PURE__ */ e(x1, { type: U.video, src: h, videoIs16by9: !0 })
|
|
7487
7487
|
}
|
|
7488
7488
|
) : null,
|
|
7489
7489
|
/* @__PURE__ */ n(
|
|
@@ -7521,7 +7521,7 @@ const h1 = L(
|
|
|
7521
7521
|
className: "u-relative u-relative--z-index-2"
|
|
7522
7522
|
}
|
|
7523
7523
|
),
|
|
7524
|
-
y && /* @__PURE__ */ e(
|
|
7524
|
+
y && /* @__PURE__ */ e(k1, { ...y, mt: "s" })
|
|
7525
7525
|
]
|
|
7526
7526
|
}
|
|
7527
7527
|
)
|
|
@@ -7563,7 +7563,6 @@ const h1 = L(
|
|
|
7563
7563
|
}
|
|
7564
7564
|
)
|
|
7565
7565
|
] }),
|
|
7566
|
-
y && /* @__PURE__ */ e(g1, { ...y, mt: "l", bg: y?.bg }),
|
|
7567
7566
|
d && /* @__PURE__ */ e(
|
|
7568
7567
|
t1,
|
|
7569
7568
|
{
|
|
@@ -7574,7 +7573,7 @@ const h1 = L(
|
|
|
7574
7573
|
className: "u-relative u-relative--z-index-2"
|
|
7575
7574
|
}
|
|
7576
7575
|
),
|
|
7577
|
-
y && /* @__PURE__ */ e(
|
|
7576
|
+
y && /* @__PURE__ */ e(k1, { ...y, mt: "s", mx: "m" }),
|
|
7578
7577
|
x && !d && /* @__PURE__ */ e(m, { mt: "s", justifyContent: "center", children: /* @__PURE__ */ e(C, { buttonColor: "primary", ...x }) })
|
|
7579
7578
|
] })
|
|
7580
7579
|
}
|
|
@@ -7641,7 +7640,7 @@ const h1 = L(
|
|
|
7641
7640
|
]
|
|
7642
7641
|
}
|
|
7643
7642
|
),
|
|
7644
|
-
r && /* @__PURE__ */ e(
|
|
7643
|
+
r && /* @__PURE__ */ e(k1, { ...r, mt: "xs" }),
|
|
7645
7644
|
o && /* @__PURE__ */ e(
|
|
7646
7645
|
t1,
|
|
7647
7646
|
{
|
|
@@ -7765,7 +7764,7 @@ const h1 = L(
|
|
|
7765
7764
|
mb: "xs",
|
|
7766
7765
|
radius: "0"
|
|
7767
7766
|
}
|
|
7768
|
-
) || d && /* @__PURE__ */ e(
|
|
7767
|
+
) || d && /* @__PURE__ */ e(x1, { type: U.video, src: d, videoIs16by9: !0, mb: "xs" }) || null,
|
|
7769
7768
|
i && /* @__PURE__ */ e(T, { color: i.headline.color || "grey-400", size: "xs", mx: "m", mb: "xxs", children: i.headline.text }),
|
|
7770
7769
|
/* @__PURE__ */ e(A, { mx: "m", weight: "bold", ...r, children: c }),
|
|
7771
7770
|
d && s && /* @__PURE__ */ e(
|
|
@@ -7842,7 +7841,7 @@ const h1 = L(
|
|
|
7842
7841
|
}
|
|
7843
7842
|
),
|
|
7844
7843
|
t && /* @__PURE__ */ e(
|
|
7845
|
-
|
|
7844
|
+
k1,
|
|
7846
7845
|
{
|
|
7847
7846
|
...t,
|
|
7848
7847
|
mt: "l",
|
|
@@ -7862,7 +7861,7 @@ const h1 = L(
|
|
|
7862
7861
|
]
|
|
7863
7862
|
}
|
|
7864
7863
|
);
|
|
7865
|
-
},
|
|
7864
|
+
}, z1 = (a, c = "fr-FR") => Intl.NumberFormat(c).format(a), Q3 = ({
|
|
7866
7865
|
link: a,
|
|
7867
7866
|
title: c,
|
|
7868
7867
|
cardHeaderProps: l,
|
|
@@ -7930,15 +7929,15 @@ const h1 = L(
|
|
|
7930
7929
|
),
|
|
7931
7930
|
!!d && /* @__PURE__ */ n(m, { gap: "xs", alignItems: "center", mt: "xs", children: [
|
|
7932
7931
|
/* @__PURE__ */ e(z, { size: 22, name: "comment" }),
|
|
7933
|
-
/* @__PURE__ */ e(p, { size: "m", weight: "bold", children:
|
|
7932
|
+
/* @__PURE__ */ e(p, { size: "m", weight: "bold", children: z1(d) })
|
|
7934
7933
|
] }),
|
|
7935
7934
|
!!h && /* @__PURE__ */ n(m, { gap: "xs", alignItems: "center", mt: "xs", children: [
|
|
7936
7935
|
/* @__PURE__ */ e(z, { size: 22, name: "share" }),
|
|
7937
|
-
/* @__PURE__ */ e(p, { size: "m", weight: "bold", children:
|
|
7936
|
+
/* @__PURE__ */ e(p, { size: "m", weight: "bold", children: z1(h) })
|
|
7938
7937
|
] }),
|
|
7939
7938
|
!!x && /* @__PURE__ */ n(m, { gap: "xs", alignItems: "center", mt: "xs", children: [
|
|
7940
7939
|
/* @__PURE__ */ e(z, { size: 22, name: "view" }),
|
|
7941
|
-
/* @__PURE__ */ e(p, { size: "m", weight: "bold", children:
|
|
7940
|
+
/* @__PURE__ */ e(p, { size: "m", weight: "bold", children: z1(x) })
|
|
7942
7941
|
] })
|
|
7943
7942
|
] }),
|
|
7944
7943
|
i?.cover && t === _.DESKTOP && /* @__PURE__ */ e(
|
|
@@ -8555,7 +8554,7 @@ const h1 = L(
|
|
|
8555
8554
|
"c-card-container--with-title-opacity-hover": !!a
|
|
8556
8555
|
}),
|
|
8557
8556
|
children: [
|
|
8558
|
-
/* @__PURE__ */ e(
|
|
8557
|
+
/* @__PURE__ */ e(x1, { ...r, type: U.video }),
|
|
8559
8558
|
/* @__PURE__ */ e(w, { px: { xs: "m", md: "0" }, children: /* @__PURE__ */ e(
|
|
8560
8559
|
A,
|
|
8561
8560
|
{
|
|
@@ -8872,7 +8871,7 @@ const h1 = L(
|
|
|
8872
8871
|
]
|
|
8873
8872
|
}
|
|
8874
8873
|
),
|
|
8875
|
-
/* @__PURE__ */ e(
|
|
8874
|
+
/* @__PURE__ */ e(w1, { items: r, mt: "xxl" })
|
|
8876
8875
|
] });
|
|
8877
8876
|
}, oa = ({
|
|
8878
8877
|
dialogId: a,
|
|
@@ -8995,7 +8994,7 @@ const h1 = L(
|
|
|
8995
8994
|
children: c
|
|
8996
8995
|
}
|
|
8997
8996
|
)
|
|
8998
|
-
] }),
|
|
8997
|
+
] }), N1 = L(
|
|
8999
8998
|
({
|
|
9000
8999
|
index: a,
|
|
9001
9000
|
textTitleProps: c,
|
|
@@ -9111,7 +9110,7 @@ const h1 = L(
|
|
|
9111
9110
|
] }) : /* @__PURE__ */ n(m, { gap: "xs", mb: "xs", children: [
|
|
9112
9111
|
/* @__PURE__ */ e(z, { name: "comment", size: 22, color: "ultramarine" }),
|
|
9113
9112
|
/* @__PURE__ */ e(I, { as: "h2", size: "xxs", children: `${a} ${a > 1 ? "commentaires" : "commentaire"}` })
|
|
9114
|
-
] }),
|
|
9113
|
+
] }), f1 = ({
|
|
9115
9114
|
title: a,
|
|
9116
9115
|
classItem: c,
|
|
9117
9116
|
hasDivider: l = !1,
|
|
@@ -9185,10 +9184,10 @@ const h1 = L(
|
|
|
9185
9184
|
mr: { xs: "0", md: "xxl" },
|
|
9186
9185
|
py: { xs: "0", md: "xs" },
|
|
9187
9186
|
children: [
|
|
9188
|
-
/* @__PURE__ */ e(
|
|
9189
|
-
/* @__PURE__ */ e(
|
|
9190
|
-
/* @__PURE__ */ e(
|
|
9191
|
-
/* @__PURE__ */ e(
|
|
9187
|
+
/* @__PURE__ */ e(f1, { colorCounter: t, title: "jours", classItem: "days" }),
|
|
9188
|
+
/* @__PURE__ */ e(f1, { colorCounter: t, title: "heures", classItem: "hours" }),
|
|
9189
|
+
/* @__PURE__ */ e(f1, { colorCounter: t, title: "minutes", classItem: "minutes" }),
|
|
9190
|
+
/* @__PURE__ */ e(f1, { colorCounter: t, title: "secondes", classItem: "seconds" })
|
|
9192
9191
|
]
|
|
9193
9192
|
}
|
|
9194
9193
|
)
|
|
@@ -9346,7 +9345,7 @@ const h1 = L(
|
|
|
9346
9345
|
) : /* @__PURE__ */ e(z, { name: "ballot-box", size: 55, className: "c-search-banner__default-icon" }),
|
|
9347
9346
|
/* @__PURE__ */ n(m, { flexGrow: 1, direction: "column", py: "m", children: [
|
|
9348
9347
|
/* @__PURE__ */ n(m, { gap: { xs: "m", lg: "l" }, justifyContent: "end", children: [
|
|
9349
|
-
/* @__PURE__ */ e(j, { grow: 1, children: /* @__PURE__ */ e(w, { as:
|
|
9348
|
+
/* @__PURE__ */ e(j, { grow: 1, children: /* @__PURE__ */ e(w, { as: p1, ...c }) }),
|
|
9350
9349
|
!!r?.options.length && h,
|
|
9351
9350
|
!!i?.length && u
|
|
9352
9351
|
] }),
|
|
@@ -9367,7 +9366,7 @@ const h1 = L(
|
|
|
9367
9366
|
children: [
|
|
9368
9367
|
l && /* @__PURE__ */ e(p, { as: "span", px: "m", weight: "bold", color: "white", mb: "xxs", children: s ? /* @__PURE__ */ e("a", { href: s, children: l }) : l }),
|
|
9369
9368
|
/* @__PURE__ */ n(m, { gap: "s", px: { xs: "m", md: "0" }, children: [
|
|
9370
|
-
/* @__PURE__ */ e(j, { as:
|
|
9369
|
+
/* @__PURE__ */ e(j, { as: p1, grow: 1, ...c }),
|
|
9371
9370
|
!!(i?.length || r?.options.length) && u
|
|
9372
9371
|
] }),
|
|
9373
9372
|
!!(i?.length || r?.options.length) && /* @__PURE__ */ n(
|
|
@@ -9453,7 +9452,7 @@ const h1 = L(
|
|
|
9453
9452
|
}
|
|
9454
9453
|
),
|
|
9455
9454
|
/* @__PURE__ */ e(w, { mb: "l", children: l }),
|
|
9456
|
-
/* @__PURE__ */ e(w, { mb: "s", children: c ? /* @__PURE__ */ e(w, { className: "gcse-search" }) : /* @__PURE__ */ e(
|
|
9455
|
+
/* @__PURE__ */ e(w, { mb: "s", children: c ? /* @__PURE__ */ e(w, { className: "gcse-search" }) : /* @__PURE__ */ e(p1, { id: "search-form-error", url: "/", "aria-hidden": !0 }) }),
|
|
9457
9456
|
/* @__PURE__ */ e(C, { href: "/", className: "c-error-content__link", children: "Retour page d’accueil" })
|
|
9458
9457
|
] });
|
|
9459
9458
|
}, da = ({
|
|
@@ -9757,7 +9756,7 @@ const h1 = L(
|
|
|
9757
9756
|
}
|
|
9758
9757
|
),
|
|
9759
9758
|
r?.type === "dedicated-area" && /* @__PURE__ */ e(X, { sponsor: r.content, size: "s", mt: "s", mx: "m" }),
|
|
9760
|
-
t && /* @__PURE__ */ e(
|
|
9759
|
+
t && /* @__PURE__ */ e(x1, { ...t, mt: "xl" }),
|
|
9761
9760
|
s && f
|
|
9762
9761
|
] });
|
|
9763
9762
|
return a === _.DESKTOP && (N = /* @__PURE__ */ n(m, { alignItems: "start", justifyContent: "between", gap: r ? "m" : void 0, children: [
|
|
@@ -10048,7 +10047,7 @@ const h1 = L(
|
|
|
10048
10047
|
}
|
|
10049
10048
|
)
|
|
10050
10049
|
}
|
|
10051
|
-
),
|
|
10050
|
+
), w1 = ({ items: a, ...c }) => {
|
|
10052
10051
|
const l = (s) => /* @__PURE__ */ e(p, { size: "xs", weight: "bold", mb: "xs", children: s });
|
|
10053
10052
|
return /* @__PURE__ */ e(l1, { as: "ul", ...c, colsNumber: { xs: 1, md: 3 }, className: "c-legend", children: a.map((s, i) => /* @__PURE__ */ n(
|
|
10054
10053
|
m,
|
|
@@ -10259,7 +10258,7 @@ const h1 = L(
|
|
|
10259
10258
|
}
|
|
10260
10259
|
)
|
|
10261
10260
|
] }),
|
|
10262
|
-
r.length > 0 && /* @__PURE__ */ e(
|
|
10261
|
+
r.length > 0 && /* @__PURE__ */ e(w1, { items: r, mt: "xxl" })
|
|
10263
10262
|
] });
|
|
10264
10263
|
}, kl = ({
|
|
10265
10264
|
electionName: a,
|
|
@@ -10355,7 +10354,7 @@ const h1 = L(
|
|
|
10355
10354
|
t.others
|
|
10356
10355
|
] })
|
|
10357
10356
|
] }),
|
|
10358
|
-
o.length > 0 && /* @__PURE__ */ e(
|
|
10357
|
+
o.length > 0 && /* @__PURE__ */ e(w1, { items: o, mt: "xxl" })
|
|
10359
10358
|
] });
|
|
10360
10359
|
}, Ml = ({
|
|
10361
10360
|
electionName: a,
|
|
@@ -10404,7 +10403,7 @@ const h1 = L(
|
|
|
10404
10403
|
)
|
|
10405
10404
|
) })
|
|
10406
10405
|
] }),
|
|
10407
|
-
t.length > 0 && /* @__PURE__ */ e(
|
|
10406
|
+
t.length > 0 && /* @__PURE__ */ e(w1, { items: t, mt: "xxl" })
|
|
10408
10407
|
] });
|
|
10409
10408
|
}, ga = /<path\b([^>]*?)\/>/g, pa = /\b([:\w-]+)="([^"]*)"/g, va = (a) => {
|
|
10410
10409
|
const c = [];
|
|
@@ -10628,7 +10627,7 @@ const h1 = L(
|
|
|
10628
10627
|
)
|
|
10629
10628
|
] }) }, b)) })
|
|
10630
10629
|
] }),
|
|
10631
|
-
y.length > 0 && /* @__PURE__ */ e(
|
|
10630
|
+
y.length > 0 && /* @__PURE__ */ e(w1, { items: y, mt: "xxl" }),
|
|
10632
10631
|
/* @__PURE__ */ n("div", { id: "js-zoom-overlay", className: "c-map-towns__overlay", "aria-hidden": "true", children: [
|
|
10633
10632
|
/* @__PURE__ */ n("button", { id: "js-zoom-close", className: "c-map-towns__close-btn", type: "button", children: [
|
|
10634
10633
|
/* @__PURE__ */ e(z, { name: "close", size: 20 }),
|
|
@@ -10674,7 +10673,7 @@ const h1 = L(
|
|
|
10674
10673
|
]
|
|
10675
10674
|
}
|
|
10676
10675
|
);
|
|
10677
|
-
},
|
|
10676
|
+
}, g1 = ({
|
|
10678
10677
|
href: a,
|
|
10679
10678
|
iconProps: c,
|
|
10680
10679
|
buttonTitle: l,
|
|
@@ -10731,7 +10730,7 @@ const h1 = L(
|
|
|
10731
10730
|
className: g("c-menu", t),
|
|
10732
10731
|
children: [
|
|
10733
10732
|
l === _.MOBILE && /* @__PURE__ */ e(
|
|
10734
|
-
|
|
10733
|
+
p1,
|
|
10735
10734
|
{
|
|
10736
10735
|
id: "search-form-menu",
|
|
10737
10736
|
url: i,
|
|
@@ -10746,7 +10745,7 @@ const h1 = L(
|
|
|
10746
10745
|
),
|
|
10747
10746
|
/* @__PURE__ */ n(m, { as: "section", px: "m", py: "l", alignItems: "center", justifyContent: "between", children: [
|
|
10748
10747
|
/* @__PURE__ */ e(
|
|
10749
|
-
|
|
10748
|
+
_1,
|
|
10750
10749
|
{
|
|
10751
10750
|
iconProps: { name: "newsletters" },
|
|
10752
10751
|
href: "https://membre.20minutes.fr/mes-newsletters",
|
|
@@ -10755,7 +10754,7 @@ const h1 = L(
|
|
|
10755
10754
|
}
|
|
10756
10755
|
),
|
|
10757
10756
|
/* @__PURE__ */ e(
|
|
10758
|
-
|
|
10757
|
+
_1,
|
|
10759
10758
|
{
|
|
10760
10759
|
iconProps: { name: "logo-tv" },
|
|
10761
10760
|
href: "https://www.20minutes.fr/tv/direct",
|
|
@@ -10765,7 +10764,7 @@ const h1 = L(
|
|
|
10765
10764
|
}
|
|
10766
10765
|
),
|
|
10767
10766
|
/* @__PURE__ */ e(
|
|
10768
|
-
|
|
10767
|
+
_1,
|
|
10769
10768
|
{
|
|
10770
10769
|
iconProps: { name: "game" },
|
|
10771
10770
|
href: "https://www.20minutes.fr/services/jeux",
|
|
@@ -10774,7 +10773,7 @@ const h1 = L(
|
|
|
10774
10773
|
}
|
|
10775
10774
|
),
|
|
10776
10775
|
/* @__PURE__ */ e(
|
|
10777
|
-
|
|
10776
|
+
_1,
|
|
10778
10777
|
{
|
|
10779
10778
|
iconProps: { name: "horoscope" },
|
|
10780
10779
|
href: "https://www.20minutes.fr/horoscope",
|
|
@@ -10786,7 +10785,7 @@ const h1 = L(
|
|
|
10786
10785
|
] }),
|
|
10787
10786
|
/* @__PURE__ */ n(m, { as: "section", px: "m", pb: "l", justifyContent: "between", children: [
|
|
10788
10787
|
/* @__PURE__ */ e(
|
|
10789
|
-
|
|
10788
|
+
g1,
|
|
10790
10789
|
{
|
|
10791
10790
|
href: "https://www.20minutes.fr/tv",
|
|
10792
10791
|
iconProps: { name: "arrow" },
|
|
@@ -10798,7 +10797,7 @@ const h1 = L(
|
|
|
10798
10797
|
}
|
|
10799
10798
|
),
|
|
10800
10799
|
/* @__PURE__ */ e(
|
|
10801
|
-
|
|
10800
|
+
g1,
|
|
10802
10801
|
{
|
|
10803
10802
|
href: "https://podcasts.20minutes.fr/",
|
|
10804
10803
|
iconProps: { name: "podcast-outlined" },
|
|
@@ -10811,7 +10810,7 @@ const h1 = L(
|
|
|
10811
10810
|
}
|
|
10812
10811
|
),
|
|
10813
10812
|
/* @__PURE__ */ e(
|
|
10814
|
-
|
|
10813
|
+
g1,
|
|
10815
10814
|
{
|
|
10816
10815
|
href: "/diaporama",
|
|
10817
10816
|
iconProps: { name: "diaporama-outlined" },
|
|
@@ -10825,7 +10824,7 @@ const h1 = L(
|
|
|
10825
10824
|
] }),
|
|
10826
10825
|
/* @__PURE__ */ n("ul", { className: "c-menu__list", children: [
|
|
10827
10826
|
c.length > 0 && /* @__PURE__ */ n(
|
|
10828
|
-
|
|
10827
|
+
N1,
|
|
10829
10828
|
{
|
|
10830
10829
|
as: "li",
|
|
10831
10830
|
textTitleProps: { color: "black", children: "À la Une" },
|
|
@@ -10864,7 +10863,7 @@ const h1 = L(
|
|
|
10864
10863
|
),
|
|
10865
10864
|
a.map(
|
|
10866
10865
|
(d, u) => d.links.length > 0 ? /* @__PURE__ */ n(
|
|
10867
|
-
|
|
10866
|
+
N1,
|
|
10868
10867
|
{
|
|
10869
10868
|
as: "li",
|
|
10870
10869
|
textTitleProps: {
|
|
@@ -10901,7 +10900,7 @@ const h1 = L(
|
|
|
10901
10900
|
children: [
|
|
10902
10901
|
(d?.tags ?? []).length > 0 && /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(m, { as: "ul", gap: "xxs", mb: "l", wrap: "wrap", children: d.tags?.map((h) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(J, { href: h.href, color: "ultramarine", children: h.children }, h.href) }, h.href)) }) }),
|
|
10903
10902
|
d.links.map((h, x) => "name" in h ? /* @__PURE__ */ e(
|
|
10904
|
-
|
|
10903
|
+
N1,
|
|
10905
10904
|
{
|
|
10906
10905
|
as: "li",
|
|
10907
10906
|
textTitleProps: {
|
|
@@ -11287,7 +11286,7 @@ const h1 = L(
|
|
|
11287
11286
|
)) })
|
|
11288
11287
|
]
|
|
11289
11288
|
}
|
|
11290
|
-
),
|
|
11289
|
+
), p1 = ({
|
|
11291
11290
|
id: a,
|
|
11292
11291
|
url: c,
|
|
11293
11292
|
inputProps: l,
|
|
@@ -11631,7 +11630,7 @@ const h1 = L(
|
|
|
11631
11630
|
) })
|
|
11632
11631
|
] })
|
|
11633
11632
|
}
|
|
11634
|
-
), u1 = (a) => a === "card" ? "secondary" : "primary",
|
|
11633
|
+
), u1 = (a) => a === "card" ? "secondary" : "primary", y1 = (a) => a === "card" ? "inline" : "rounded", Ba = (a) => a === "vertical" ? "right" : "top", t1 = ({
|
|
11635
11634
|
commentCount: a,
|
|
11636
11635
|
shareCount: c,
|
|
11637
11636
|
reactionCount: l,
|
|
@@ -11663,7 +11662,7 @@ const h1 = L(
|
|
|
11663
11662
|
count: a,
|
|
11664
11663
|
countColor: i,
|
|
11665
11664
|
countBg: r,
|
|
11666
|
-
countStyle:
|
|
11665
|
+
countStyle: y1(s),
|
|
11667
11666
|
...s === "horizontal" && { id: "mbrs-social-comment-container" },
|
|
11668
11667
|
...s !== "card" && { anchor: v },
|
|
11669
11668
|
...s === "card" && u && { link: `${u}#${v}` },
|
|
@@ -11683,7 +11682,7 @@ const h1 = L(
|
|
|
11683
11682
|
count: c === 0 ? void 0 : c,
|
|
11684
11683
|
countColor: i,
|
|
11685
11684
|
countBg: r,
|
|
11686
|
-
countStyle:
|
|
11685
|
+
countStyle: y1(s),
|
|
11687
11686
|
isClickable: s !== "card",
|
|
11688
11687
|
className: g({ "js-mobile-share-button": s === "horizontal" }),
|
|
11689
11688
|
...s !== "card" && { id: "mbrs-social-share-container" },
|
|
@@ -11704,7 +11703,7 @@ const h1 = L(
|
|
|
11704
11703
|
count: l,
|
|
11705
11704
|
countColor: i,
|
|
11706
11705
|
countBg: r,
|
|
11707
|
-
countStyle:
|
|
11706
|
+
countStyle: y1(s),
|
|
11708
11707
|
iconItemProps: {
|
|
11709
11708
|
variant: u1(s),
|
|
11710
11709
|
...s === "card" && b === "blue-grey" && { iconBackground: "blue-grey", iconColor: "white" }
|
|
@@ -11728,7 +11727,7 @@ const h1 = L(
|
|
|
11728
11727
|
iconProps: { name: "bookmark", "aria-hidden": !0 },
|
|
11729
11728
|
...s === "card" && b === "blue-grey" && { iconBackground: "blue-grey", iconColor: "white" },
|
|
11730
11729
|
variant: u1(s),
|
|
11731
|
-
countStyle:
|
|
11730
|
+
countStyle: y1(s),
|
|
11732
11731
|
"data-id": o,
|
|
11733
11732
|
"data-delayed": !0,
|
|
11734
11733
|
"data-distance-visible": 0,
|
|
@@ -12121,13 +12120,13 @@ const h1 = L(
|
|
|
12121
12120
|
] })
|
|
12122
12121
|
] })
|
|
12123
12122
|
}
|
|
12124
|
-
), Tl = ({ hasHeader: a, tableProps: c
|
|
12123
|
+
), Tl = ({ hasHeader: a, tableProps: c }) => {
|
|
12125
12124
|
if (!c?.length)
|
|
12126
12125
|
return null;
|
|
12127
|
-
const
|
|
12128
|
-
return /* @__PURE__ */ n(
|
|
12129
|
-
a &&
|
|
12130
|
-
/* @__PURE__ */ e("tbody", { children:
|
|
12126
|
+
const l = a ? c[0] : null, s = a ? c.slice(1) : c;
|
|
12127
|
+
return /* @__PURE__ */ n("table", { className: "c-table", children: [
|
|
12128
|
+
a && l && /* @__PURE__ */ e("thead", { children: /* @__PURE__ */ e("tr", { children: l.map((i, r) => /* @__PURE__ */ e(w, { as: "th", p: "s", children: i }, r)) }) }),
|
|
12129
|
+
/* @__PURE__ */ e("tbody", { children: s.map((i, r) => /* @__PURE__ */ e("tr", { children: i.map((t, o) => /* @__PURE__ */ e(w, { as: "td", p: "s", children: t }, o)) }, r)) })
|
|
12131
12130
|
] });
|
|
12132
12131
|
}, ge = ({
|
|
12133
12132
|
tabItems: a,
|
|
@@ -12212,7 +12211,7 @@ const h1 = L(
|
|
|
12212
12211
|
iconProps: { name: a, size: [20, 20] },
|
|
12213
12212
|
className: "tooltip-btn c-tooltip-item__icon"
|
|
12214
12213
|
}
|
|
12215
|
-
) }), Dl = () => /* @__PURE__ */ e(m, { id: "text-tooltip", className: "c-text-tooltip", as: "ul", gap: "s", children: /* @__PURE__ */ e(Va, { iconName: "report", className: "mbrs-social-report-container" }) }),
|
|
12214
|
+
) }), Dl = () => /* @__PURE__ */ e(m, { id: "text-tooltip", className: "c-text-tooltip", as: "ul", gap: "s", children: /* @__PURE__ */ e(Va, { iconName: "report", className: "mbrs-social-report-container" }) }), _1 = ({
|
|
12216
12215
|
href: a,
|
|
12217
12216
|
iconProps: c,
|
|
12218
12217
|
children: l,
|
|
@@ -12343,7 +12342,7 @@ const h1 = L(
|
|
|
12343
12342
|
warningMessage: i
|
|
12344
12343
|
}) => /* @__PURE__ */ n(S, { children: [
|
|
12345
12344
|
/* @__PURE__ */ n(m, { gap: "xs", mt: "m", mx: "m", children: [
|
|
12346
|
-
/* @__PURE__ */ e(
|
|
12345
|
+
/* @__PURE__ */ e(v1, { img: l.avatar }),
|
|
12347
12346
|
/* @__PURE__ */ n(I, { as: "h2", size: "m", mt: "xxs-2", children: [
|
|
12348
12347
|
l.greeting || "Bienvenue",
|
|
12349
12348
|
" ",
|
|
@@ -12409,7 +12408,7 @@ const h1 = L(
|
|
|
12409
12408
|
]
|
|
12410
12409
|
}
|
|
12411
12410
|
), v = s?.avatarUrl ? /* @__PURE__ */ e(
|
|
12412
|
-
|
|
12411
|
+
v1,
|
|
12413
12412
|
{
|
|
12414
12413
|
img: s?.avatarUrl,
|
|
12415
12414
|
mr: { xs: "xs", md: "l" },
|
|
@@ -12698,7 +12697,7 @@ const h1 = L(
|
|
|
12698
12697
|
children: [
|
|
12699
12698
|
/* @__PURE__ */ e(m, { as: "section", direction: "column", mb: "l", children: c.map(
|
|
12700
12699
|
(t, o) => t.links.length === 0 ? null : /* @__PURE__ */ e(
|
|
12701
|
-
|
|
12700
|
+
N1,
|
|
12702
12701
|
{
|
|
12703
12702
|
as: "section",
|
|
12704
12703
|
headingTitleProps: { color: "white", children: t.name },
|
|
@@ -12873,7 +12872,7 @@ const La = {
|
|
|
12873
12872
|
}
|
|
12874
12873
|
),
|
|
12875
12874
|
/* @__PURE__ */ e(
|
|
12876
|
-
|
|
12875
|
+
p1,
|
|
12877
12876
|
{
|
|
12878
12877
|
id: "search-form-header",
|
|
12879
12878
|
url: l,
|
|
@@ -12898,7 +12897,7 @@ const La = {
|
|
|
12898
12897
|
/* @__PURE__ */ n(m, { alignItems: "center", children: [
|
|
12899
12898
|
/* @__PURE__ */ n(m, { alignItems: "center", gap: "xs", className: "c-header__media-links", children: [
|
|
12900
12899
|
/* @__PURE__ */ e(
|
|
12901
|
-
|
|
12900
|
+
g1,
|
|
12902
12901
|
{
|
|
12903
12902
|
href: "https://www.20minutes.fr/tv",
|
|
12904
12903
|
iconProps: {
|
|
@@ -12910,7 +12909,7 @@ const La = {
|
|
|
12910
12909
|
}
|
|
12911
12910
|
),
|
|
12912
12911
|
/* @__PURE__ */ e(
|
|
12913
|
-
|
|
12912
|
+
g1,
|
|
12914
12913
|
{
|
|
12915
12914
|
href: "https://www.20minutes.fr/tv/direct",
|
|
12916
12915
|
iconProps: {
|
|
@@ -13360,7 +13359,7 @@ const La = {
|
|
|
13360
13359
|
"aria-label": "Ouvrir l’image",
|
|
13361
13360
|
className: s !== 0 ? "u-hidden" : void 0,
|
|
13362
13361
|
children: /* @__PURE__ */ e(
|
|
13363
|
-
|
|
13362
|
+
x1,
|
|
13364
13363
|
{
|
|
13365
13364
|
src: l.src || "",
|
|
13366
13365
|
type: U.photo,
|
|
@@ -13395,7 +13394,7 @@ const La = {
|
|
|
13395
13394
|
alignItems: "center",
|
|
13396
13395
|
justifyContent: "end",
|
|
13397
13396
|
className: `c-ranking__player c-ranking__player--${t(u, d.isCurrentUser)} c-ranking__player-ranking`,
|
|
13398
|
-
children: /* @__PURE__ */ e(p, { weight: "bold", size: "m", color: d.isCurrentUser ? "ultramarine" : void 0, children:
|
|
13397
|
+
children: /* @__PURE__ */ e(p, { weight: "bold", size: "m", color: d.isCurrentUser ? "ultramarine" : void 0, children: z1(d.current) })
|
|
13399
13398
|
}
|
|
13400
13399
|
),
|
|
13401
13400
|
c === _.DESKTOP && /* @__PURE__ */ e(
|
|
@@ -13404,7 +13403,7 @@ const La = {
|
|
|
13404
13403
|
alignItems: "center",
|
|
13405
13404
|
justifyContent: "end",
|
|
13406
13405
|
className: `c-ranking__player c-ranking__player--${t(u, d.isCurrentUser)}`,
|
|
13407
|
-
children: /* @__PURE__ */ e(
|
|
13406
|
+
children: /* @__PURE__ */ e(v1, { variant: "small", img: d.avatar, mr: "l" })
|
|
13408
13407
|
}
|
|
13409
13408
|
),
|
|
13410
13409
|
/* @__PURE__ */ e(
|
|
@@ -13571,7 +13570,7 @@ export {
|
|
|
13571
13570
|
Dc as AstroTiles,
|
|
13572
13571
|
E3 as AstroTopicCard,
|
|
13573
13572
|
Za as Autocomplete,
|
|
13574
|
-
|
|
13573
|
+
v1 as Avatar,
|
|
13575
13574
|
Z3 as AvatarGroup,
|
|
13576
13575
|
K3 as BlockedFeatureGate,
|
|
13577
13576
|
G3 as BottomSheet,
|
|
@@ -13583,7 +13582,7 @@ export {
|
|
|
13583
13582
|
D as CardContainer,
|
|
13584
13583
|
Zc as CardExtraLarge,
|
|
13585
13584
|
te as CardExtraSmall,
|
|
13586
|
-
|
|
13585
|
+
k1 as CardFooter,
|
|
13587
13586
|
Kc as CardFrame,
|
|
13588
13587
|
Q as CardHeader,
|
|
13589
13588
|
F as CardImage,
|
|
@@ -13610,12 +13609,12 @@ export {
|
|
|
13610
13609
|
sl as Chatbot,
|
|
13611
13610
|
yc as Checkbox,
|
|
13612
13611
|
nl as Citation,
|
|
13613
|
-
|
|
13612
|
+
N1 as Collapse,
|
|
13614
13613
|
rl as Comment,
|
|
13615
13614
|
il as CommentButton,
|
|
13616
13615
|
tl as CommentCount,
|
|
13617
13616
|
Z1 as Countdown,
|
|
13618
|
-
|
|
13617
|
+
f1 as CountdownItem,
|
|
13619
13618
|
ol as DarkModeSwitch,
|
|
13620
13619
|
dl as DiscoverList,
|
|
13621
13620
|
Z as Divider,
|
|
@@ -13655,7 +13654,7 @@ export {
|
|
|
13655
13654
|
T as Label,
|
|
13656
13655
|
Mc as LabelSection,
|
|
13657
13656
|
_ as LayoutType,
|
|
13658
|
-
|
|
13657
|
+
w1 as Legend,
|
|
13659
13658
|
C as Link,
|
|
13660
13659
|
ua as ListWithDiode,
|
|
13661
13660
|
bl as LiveIndicator,
|
|
@@ -13667,8 +13666,8 @@ export {
|
|
|
13667
13666
|
kl as MapDistricts,
|
|
13668
13667
|
Ml as MapEurope,
|
|
13669
13668
|
Cl as MapTownsByDepartments,
|
|
13670
|
-
|
|
13671
|
-
|
|
13669
|
+
x1 as Media,
|
|
13670
|
+
g1 as MediaLink,
|
|
13672
13671
|
U as MediaSourceType,
|
|
13673
13672
|
Sl as Menu,
|
|
13674
13673
|
Bl as MenuList,
|
|
@@ -13694,7 +13693,7 @@ export {
|
|
|
13694
13693
|
$c as ScrollProgressBar,
|
|
13695
13694
|
L3 as ScrollToTopButton,
|
|
13696
13695
|
hl as SearchBanner,
|
|
13697
|
-
|
|
13696
|
+
p1 as SearchForm,
|
|
13698
13697
|
Ic as Section,
|
|
13699
13698
|
me as SectionTitle,
|
|
13700
13699
|
j3 as Select,
|
|
@@ -13722,7 +13721,7 @@ export {
|
|
|
13722
13721
|
Dl as TextTooltip,
|
|
13723
13722
|
Vc as Textarea,
|
|
13724
13723
|
Xl as ThreeColumnsArticles,
|
|
13725
|
-
|
|
13724
|
+
_1 as Tiles,
|
|
13726
13725
|
Rl as Timeline,
|
|
13727
13726
|
Ql as Toolbar,
|
|
13728
13727
|
ie as Typography,
|
|
@@ -13730,7 +13729,7 @@ export {
|
|
|
13730
13729
|
Ya as alignContentList,
|
|
13731
13730
|
Wa as alignItemsList,
|
|
13732
13731
|
Xa as alignSelfList,
|
|
13733
|
-
|
|
13732
|
+
z1 as applyFormatToNumbers,
|
|
13734
13733
|
zc as borderSizeList,
|
|
13735
13734
|
ze as buttonColor,
|
|
13736
13735
|
Ka as buttonVariant,
|