@20minutes/tyr 0.1.140 → 0.1.141
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 +143 -127
- package/dist/index.umd.js +65 -65
- package/dist/src/components/molecules/CardExtraLarge/CardExtraLarge.d.ts +9 -0
- package/dist/src/components/molecules/CardExtraLarge/index.d.ts +1 -0
- package/dist/src/components/molecules/index.d.ts +1 -0
- package/dist/src/pages/TagPage/TagPage.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -17273,7 +17273,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
17273
17273
|
};
|
|
17274
17274
|
}
|
|
17275
17275
|
}
|
|
17276
|
-
function
|
|
17276
|
+
function oae(e) {
|
|
17277
17277
|
return e;
|
|
17278
17278
|
}
|
|
17279
17279
|
function Jk(e) {
|
|
@@ -19760,10 +19760,10 @@ Incoming: %s`, ut, "[" + r.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
19760
19760
|
}
|
|
19761
19761
|
return [z, E];
|
|
19762
19762
|
}
|
|
19763
|
-
function oae(e, r, s) {
|
|
19764
|
-
}
|
|
19765
19763
|
function lae(e, r, s) {
|
|
19766
19764
|
}
|
|
19765
|
+
function sae(e, r, s) {
|
|
19766
|
+
}
|
|
19767
19767
|
function r6(e, r, s) {
|
|
19768
19768
|
var f = ha, h = td(), E, T = Io();
|
|
19769
19769
|
if (T) {
|
|
@@ -25379,7 +25379,7 @@ const xN = (t) => {
|
|
|
25379
25379
|
)))), /* @__PURE__ */ S.createElement(S.Fragment, null, o, a && /* @__PURE__ */ S.createElement(ft, { justifyContent: "center", mt: "l" }, /* @__PURE__ */ S.createElement(Fc, { variant: "secondary", as: "button", ...a })));
|
|
25380
25380
|
}, nP = (t) => t && rM.includes(t) ? t : void 0;
|
|
25381
25381
|
var yy = /* @__PURE__ */ ((t) => (t.photo = "photo", t.podcast = "podcast", t.video = "video", t))(yy || {});
|
|
25382
|
-
const
|
|
25382
|
+
const dae = (t) => {
|
|
25383
25383
|
const n = new Intl.DateTimeFormat("fr", {
|
|
25384
25384
|
dateStyle: "short",
|
|
25385
25385
|
timeStyle: "short",
|
|
@@ -25392,7 +25392,7 @@ const fae = (t) => {
|
|
|
25392
25392
|
}, aP = (t) => typeof window > "u" && typeof Buffer < "u" ? Buffer.from(t, "utf-8").toString("base64") : window.btoa(unescape(encodeURIComponent(t))), uP = (t) => typeof window > "u" && typeof Buffer < "u" ? Buffer.from(t, "base64").toString("utf-8") : decodeURIComponent(escape(window == null ? void 0 : window.atob(t))), iP = (t) => {
|
|
25393
25393
|
const a = uP(t).split(":");
|
|
25394
25394
|
return a.length === 2 ? a[1] : "";
|
|
25395
|
-
},
|
|
25395
|
+
}, pae = (t, n) => aP(`${t}:${n}`), oP = ({
|
|
25396
25396
|
medias: t,
|
|
25397
25397
|
imgEndpoint: n
|
|
25398
25398
|
}) => {
|
|
@@ -51553,14 +51553,29 @@ const tne = ({
|
|
|
51553
51553
|
})
|
|
51554
51554
|
},
|
|
51555
51555
|
vb(t)
|
|
51556
|
-
), ane = ({ summary: t, ...n }) => t ? /* @__PURE__ */ S.createElement(GM, { ...n, summary: vb(t) }) : null, une = (
|
|
51556
|
+
), ane = ({ summary: t, ...n }) => t ? /* @__PURE__ */ S.createElement(GM, { ...n, summary: vb(t) }) : null, une = ({
|
|
51557
|
+
layout: t,
|
|
51558
|
+
link: n,
|
|
51559
|
+
title: a,
|
|
51560
|
+
cardHeaderProps: i,
|
|
51561
|
+
...o
|
|
51562
|
+
}) => t && n && a && i ? /* @__PURE__ */ S.createElement(
|
|
51563
|
+
XM,
|
|
51564
|
+
{
|
|
51565
|
+
...o,
|
|
51566
|
+
layout: t,
|
|
51567
|
+
link: n,
|
|
51568
|
+
title: a,
|
|
51569
|
+
cardHeaderProps: i
|
|
51570
|
+
}
|
|
51571
|
+
) : null, ine = (t) => t.replace(/(<([^>]+)>)/gi, "").length, kv = ({ subtitle: t, isExpandable: n, ...a }) => {
|
|
51557
51572
|
if (t && typeof t != "string") {
|
|
51558
51573
|
const i = vb(t);
|
|
51559
51574
|
return /* @__PURE__ */ S.createElement(
|
|
51560
51575
|
zS,
|
|
51561
51576
|
{
|
|
51562
51577
|
...a,
|
|
51563
|
-
isExpandable:
|
|
51578
|
+
isExpandable: ine(ea.renderToString(i)) > 200,
|
|
51564
51579
|
subtitle: i
|
|
51565
51580
|
}
|
|
51566
51581
|
);
|
|
@@ -51573,7 +51588,7 @@ const tne = ({
|
|
|
51573
51588
|
subtitle: t
|
|
51574
51589
|
}
|
|
51575
51590
|
);
|
|
51576
|
-
},
|
|
51591
|
+
}, one = ({
|
|
51577
51592
|
signsContent: t,
|
|
51578
51593
|
layout: n = gr.MOBILE
|
|
51579
51594
|
}) => /* @__PURE__ */ S.createElement(S.Fragment, null, t.map((a, i) => /* @__PURE__ */ S.createElement(S.Fragment, { key: i }, /* @__PURE__ */ S.createElement(
|
|
@@ -51606,15 +51621,15 @@ const tne = ({
|
|
|
51606
51621
|
variant: "ARTICLE"
|
|
51607
51622
|
}
|
|
51608
51623
|
);
|
|
51609
|
-
})(), i !== t.length - 1 && /* @__PURE__ */ S.createElement(Ul, { mx: { xs: "xs", md: "0" }, color: "ultramarine", mb: "l" })))),
|
|
51624
|
+
})(), i !== t.length - 1 && /* @__PURE__ */ S.createElement(Ul, { mx: { xs: "xs", md: "0" }, color: "ultramarine", mb: "l" })))), lne = ({ description: t, ...n }) => t && typeof t != "string" ? /* @__PURE__ */ S.createElement(S_, { ...n, description: vb(t) }) : t ? /* @__PURE__ */ S.createElement(S_, { ...n, description: t }) : null, sne = ({
|
|
51610
51625
|
articleHeaderProps: t,
|
|
51611
51626
|
signatureProps: n,
|
|
51612
51627
|
articleCoverProps: a
|
|
51613
|
-
}) => /* @__PURE__ */ S.createElement(ft, { direction: "column", justifyContent: "center" }, /* @__PURE__ */ S.createElement(oN, { ...t, mx: "m", mb: "xs" }), /* @__PURE__ */ S.createElement(r8, { ...a, mb: "xs" }), /* @__PURE__ */ S.createElement(u8, { ...n, mx: "m", mb: "xs" }), /* @__PURE__ */ S.createElement(qt, { fontFamily: "source-serif-pro", size: "xl", mx: "m", mb: "m" }, t.lead)),
|
|
51628
|
+
}) => /* @__PURE__ */ S.createElement(ft, { direction: "column", justifyContent: "center" }, /* @__PURE__ */ S.createElement(oN, { ...t, mx: "m", mb: "xs" }), /* @__PURE__ */ S.createElement(r8, { ...a, mb: "xs" }), /* @__PURE__ */ S.createElement(u8, { ...n, mx: "m", mb: "xs" }), /* @__PURE__ */ S.createElement(qt, { fontFamily: "source-serif-pro", size: "xl", mx: "m", mb: "m" }, t.lead)), cne = ({ articles: t, seeMoreLink: n, ...a }) => /* @__PURE__ */ S.createElement(ft, { ...a, direction: "column" }, /* @__PURE__ */ S.createElement(uh, { bg: "direct", iconSize: "big", hasShiftedIcon: !0, mb: "xl" }), /* @__PURE__ */ S.createElement(ja, { as: "h2", size: "l", mb: "l" }, "Le direct"), /* @__PURE__ */ S.createElement(Q_, { colsNumber: 3, gap: "l" }, t.map((i) => /* @__PURE__ */ S.createElement(By, { key: i.title, ...i }))), /* @__PURE__ */ S.createElement(Qs, { align: "center", mt: "xxl" }, /* @__PURE__ */ S.createElement(Si, { variant: "secondary", href: n.href }, n.children))), fne = ({
|
|
51614
51629
|
articles: t,
|
|
51615
51630
|
layout: n,
|
|
51616
51631
|
...a
|
|
51617
|
-
}) => t.length >= 2 ? /* @__PURE__ */ S.createElement(ft, { direction: "column", ...a }, /* @__PURE__ */ S.createElement(Ul, { color: "ultramarine", mb: "l" }), /* @__PURE__ */ S.createElement(qt, { size: "l", weight: "bold", mb: "l" }, "À lire aussi"), /* @__PURE__ */ S.createElement(ft, { direction: { md: "row", xs: "column" }, gap: "s" }, Array.from([t[0], t[1]], (i, o) => /* @__PURE__ */ S.createElement(S.Fragment, null, /* @__PURE__ */ S.createElement(Qs, { basis: 50 }, /* @__PURE__ */ S.createElement(Oy, { ...i, cardTitleProps: { size: "xxs-2" } })), o === 0 && n === "mobile" && /* @__PURE__ */ S.createElement(Ul, { color: "grey-200" }))))) : null,
|
|
51632
|
+
}) => t.length >= 2 ? /* @__PURE__ */ S.createElement(ft, { direction: "column", ...a }, /* @__PURE__ */ S.createElement(Ul, { color: "ultramarine", mb: "l" }), /* @__PURE__ */ S.createElement(qt, { size: "l", weight: "bold", mb: "l" }, "À lire aussi"), /* @__PURE__ */ S.createElement(ft, { direction: { md: "row", xs: "column" }, gap: "s" }, Array.from([t[0], t[1]], (i, o) => /* @__PURE__ */ S.createElement(S.Fragment, null, /* @__PURE__ */ S.createElement(Qs, { basis: 50 }, /* @__PURE__ */ S.createElement(Oy, { ...i, cardTitleProps: { size: "xxs-2" } })), o === 0 && n === "mobile" && /* @__PURE__ */ S.createElement(Ul, { color: "grey-200" }))))) : null, dne = ({ carousels: t, layout: n }) => /* @__PURE__ */ S.createElement(S.Fragment, null, t.map((a, i) => /* @__PURE__ */ S.createElement(pt, { key: a.label, mb: i !== t.length - 1 ? "xxl" : "0" }, /* @__PURE__ */ S.createElement(yI, { ...a, layout: n })))), pne = ({
|
|
51618
51633
|
articles: t,
|
|
51619
51634
|
...n
|
|
51620
51635
|
}) => {
|
|
@@ -51644,7 +51659,7 @@ const tne = ({
|
|
|
51644
51659
|
}
|
|
51645
51660
|
);
|
|
51646
51661
|
}));
|
|
51647
|
-
},
|
|
51662
|
+
}, mne = [
|
|
51648
51663
|
{
|
|
51649
51664
|
componentName: Ei.ARTICLE_CONTENT,
|
|
51650
51665
|
component: nne,
|
|
@@ -51652,7 +51667,7 @@ const tne = ({
|
|
|
51652
51667
|
},
|
|
51653
51668
|
{
|
|
51654
51669
|
componentName: Ei.ARTICLE_ENCLOSE,
|
|
51655
|
-
component:
|
|
51670
|
+
component: lne,
|
|
51656
51671
|
expiration: 60 * 60 * 24
|
|
51657
51672
|
},
|
|
51658
51673
|
{
|
|
@@ -51690,7 +51705,7 @@ const tne = ({
|
|
|
51690
51705
|
component: pt,
|
|
51691
51706
|
expiration: 60 * 30
|
|
51692
51707
|
}
|
|
51693
|
-
],
|
|
51708
|
+
], hne = [
|
|
51694
51709
|
{
|
|
51695
51710
|
componentName: Gn.COMMON_HEADER,
|
|
51696
51711
|
component: MI,
|
|
@@ -51708,7 +51723,7 @@ const tne = ({
|
|
|
51708
51723
|
},
|
|
51709
51724
|
{
|
|
51710
51725
|
componentName: Gn.COMMON_LIVE_BLOCK,
|
|
51711
|
-
component:
|
|
51726
|
+
component: cne,
|
|
51712
51727
|
expiration: 60 * 5
|
|
51713
51728
|
},
|
|
51714
51729
|
{
|
|
@@ -51733,7 +51748,7 @@ const tne = ({
|
|
|
51733
51748
|
},
|
|
51734
51749
|
{
|
|
51735
51750
|
componentName: Gn.COMMON_SIDE_BRANDS_ARTICLES,
|
|
51736
|
-
component:
|
|
51751
|
+
component: pne,
|
|
51737
51752
|
expiration: 60 * 30
|
|
51738
51753
|
},
|
|
51739
51754
|
{
|
|
@@ -51741,7 +51756,7 @@ const tne = ({
|
|
|
51741
51756
|
component: o8,
|
|
51742
51757
|
expiration: 60 * 60 * 24 * 30
|
|
51743
51758
|
}
|
|
51744
|
-
],
|
|
51759
|
+
], vne = [
|
|
51745
51760
|
{
|
|
51746
51761
|
componentName: hn.CONTENT_READALSO_BANNER,
|
|
51747
51762
|
component: gI,
|
|
@@ -51759,7 +51774,7 @@ const tne = ({
|
|
|
51759
51774
|
},
|
|
51760
51775
|
{
|
|
51761
51776
|
componentName: hn.CONTENT_HEADER_MOBILE,
|
|
51762
|
-
component:
|
|
51777
|
+
component: sne,
|
|
51763
51778
|
expiration: 60 * 60 * 24
|
|
51764
51779
|
},
|
|
51765
51780
|
{
|
|
@@ -51784,7 +51799,7 @@ const tne = ({
|
|
|
51784
51799
|
},
|
|
51785
51800
|
{
|
|
51786
51801
|
componentName: hn.CONTENT_READALSO_BLOCK,
|
|
51787
|
-
component:
|
|
51802
|
+
component: fne,
|
|
51788
51803
|
expiration: 60 * 60 * 24
|
|
51789
51804
|
},
|
|
51790
51805
|
{
|
|
@@ -51807,7 +51822,7 @@ const tne = ({
|
|
|
51807
51822
|
component: _m,
|
|
51808
51823
|
expiration: 60 * 60 * 24 * 30
|
|
51809
51824
|
}
|
|
51810
|
-
],
|
|
51825
|
+
], gne = [
|
|
51811
51826
|
{
|
|
51812
51827
|
componentName: cv.ERROR_CONTENT,
|
|
51813
51828
|
component: uI,
|
|
@@ -51818,7 +51833,7 @@ const tne = ({
|
|
|
51818
51833
|
component: _m,
|
|
51819
51834
|
expiration: 60 * 60 * 24 * 30
|
|
51820
51835
|
}
|
|
51821
|
-
],
|
|
51836
|
+
], yne = [
|
|
51822
51837
|
{
|
|
51823
51838
|
componentName: La.HOROSCOPE_BREADCRUMB,
|
|
51824
51839
|
component: oh,
|
|
@@ -51841,7 +51856,7 @@ const tne = ({
|
|
|
51841
51856
|
},
|
|
51842
51857
|
{
|
|
51843
51858
|
componentName: La.HOROSCOPE_HOMEPAGE_CONTENT,
|
|
51844
|
-
component:
|
|
51859
|
+
component: one,
|
|
51845
51860
|
expiration: 60 * 60
|
|
51846
51861
|
},
|
|
51847
51862
|
{
|
|
@@ -51869,7 +51884,7 @@ const tne = ({
|
|
|
51869
51884
|
component: _m,
|
|
51870
51885
|
expiration: 60 * 60 * 24 * 30
|
|
51871
51886
|
}
|
|
51872
|
-
],
|
|
51887
|
+
], bne = [
|
|
51873
51888
|
{
|
|
51874
51889
|
componentName: fv.LIVE_INDICATOR,
|
|
51875
51890
|
component: fI,
|
|
@@ -51880,10 +51895,10 @@ const tne = ({
|
|
|
51880
51895
|
component: dI,
|
|
51881
51896
|
expiration: 60 * 30
|
|
51882
51897
|
}
|
|
51883
|
-
],
|
|
51898
|
+
], _ne = [
|
|
51884
51899
|
{
|
|
51885
51900
|
componentName: mm.RUBRIC_RUBRIC_CAROUSELS,
|
|
51886
|
-
component:
|
|
51901
|
+
component: dne,
|
|
51887
51902
|
expiration: 60 * 5
|
|
51888
51903
|
},
|
|
51889
51904
|
{
|
|
@@ -51891,7 +51906,7 @@ const tne = ({
|
|
|
51891
51906
|
component: pN,
|
|
51892
51907
|
expiration: 60 * 30
|
|
51893
51908
|
}
|
|
51894
|
-
],
|
|
51909
|
+
], Ene = [
|
|
51895
51910
|
{
|
|
51896
51911
|
componentName: l0.SEARCH_BREADCRUMB,
|
|
51897
51912
|
component: oh,
|
|
@@ -51912,7 +51927,7 @@ const tne = ({
|
|
|
51912
51927
|
component: _m,
|
|
51913
51928
|
expiration: 60 * 60 * 24 * 30
|
|
51914
51929
|
}
|
|
51915
|
-
],
|
|
51930
|
+
], Sne = [
|
|
51916
51931
|
{
|
|
51917
51932
|
componentName: Ko.TAG_BREADCRUMB,
|
|
51918
51933
|
component: oh,
|
|
@@ -51925,7 +51940,7 @@ const tne = ({
|
|
|
51925
51940
|
},
|
|
51926
51941
|
{
|
|
51927
51942
|
componentName: Ko.TAG_TOP_ARTICLE,
|
|
51928
|
-
component:
|
|
51943
|
+
component: une,
|
|
51929
51944
|
expiration: 60 * 60
|
|
51930
51945
|
},
|
|
51931
51946
|
{
|
|
@@ -51953,7 +51968,7 @@ const tne = ({
|
|
|
51953
51968
|
component: cP,
|
|
51954
51969
|
expiration: 60 * 60
|
|
51955
51970
|
}
|
|
51956
|
-
],
|
|
51971
|
+
], xne = [
|
|
51957
51972
|
{
|
|
51958
51973
|
componentName: s0.TRAFFIC_BREADCRUMB,
|
|
51959
51974
|
component: oh,
|
|
@@ -51974,7 +51989,7 @@ const tne = ({
|
|
|
51974
51989
|
component: _m,
|
|
51975
51990
|
expiration: 60 * 60 * 24 * 30
|
|
51976
51991
|
}
|
|
51977
|
-
],
|
|
51992
|
+
], wne = [
|
|
51978
51993
|
{
|
|
51979
51994
|
componentName: c0.WEATHER_BREADCRUMB,
|
|
51980
51995
|
component: oh,
|
|
@@ -51995,18 +52010,18 @@ const tne = ({
|
|
|
51995
52010
|
component: _m,
|
|
51996
52011
|
expiration: 60 * 60 * 24 * 30
|
|
51997
52012
|
}
|
|
51998
|
-
],
|
|
51999
|
-
...mne,
|
|
52000
|
-
...bne,
|
|
52013
|
+
], mae = [
|
|
52001
52014
|
...hne,
|
|
52002
|
-
...pne,
|
|
52003
|
-
...gne,
|
|
52004
|
-
...Ene,
|
|
52005
52015
|
..._ne,
|
|
52006
|
-
...Sne,
|
|
52007
52016
|
...vne,
|
|
52017
|
+
...mne,
|
|
52008
52018
|
...yne,
|
|
52009
|
-
...
|
|
52019
|
+
...Sne,
|
|
52020
|
+
...Ene,
|
|
52021
|
+
...xne,
|
|
52022
|
+
...gne,
|
|
52023
|
+
...bne,
|
|
52024
|
+
...wne
|
|
52010
52025
|
];
|
|
52011
52026
|
var gb = {}, yb = {};
|
|
52012
52027
|
Object.defineProperty(yb, "__esModule", { value: !0 });
|
|
@@ -52039,22 +52054,22 @@ var ah = st && st.__assign || function() {
|
|
|
52039
52054
|
}, ah.apply(this, arguments);
|
|
52040
52055
|
};
|
|
52041
52056
|
Object.defineProperty(gb, "__esModule", { value: !0 });
|
|
52042
|
-
var sv = yb, ak = Y8, Z8 = ph, X8 = ah(ah({}, sv.namedReferences), { all: sv.namedReferences.html5 }),
|
|
52057
|
+
var sv = yb, ak = Y8, Z8 = ph, X8 = ah(ah({}, sv.namedReferences), { all: sv.namedReferences.html5 }), Cne = {
|
|
52043
52058
|
specialChars: /[<>'"&]/g,
|
|
52044
52059
|
nonAscii: /[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,
|
|
52045
52060
|
nonAsciiPrintable: /[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,
|
|
52046
52061
|
nonAsciiPrintableOnly: /[\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,
|
|
52047
52062
|
extensive: /[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g
|
|
52048
|
-
},
|
|
52063
|
+
}, Nne = {
|
|
52049
52064
|
mode: "specialChars",
|
|
52050
52065
|
level: "all",
|
|
52051
52066
|
numeric: "decimal"
|
|
52052
52067
|
};
|
|
52053
|
-
function
|
|
52054
|
-
var M = n === void 0 ?
|
|
52068
|
+
function Dne(t, n) {
|
|
52069
|
+
var M = n === void 0 ? Nne : n, R = M.mode, a = R === void 0 ? "specialChars" : R, i = M.numeric, o = i === void 0 ? "decimal" : i, c = M.level, p = c === void 0 ? "all" : c;
|
|
52055
52070
|
if (!t)
|
|
52056
52071
|
return "";
|
|
52057
|
-
var _ =
|
|
52072
|
+
var _ = Cne[a], g = X8[p].characters, x = o === "hexadecimal";
|
|
52058
52073
|
_.lastIndex = 0;
|
|
52059
52074
|
var M = _.exec(t), R;
|
|
52060
52075
|
if (M) {
|
|
@@ -52074,8 +52089,8 @@ function Nne(t, n) {
|
|
|
52074
52089
|
R = t;
|
|
52075
52090
|
return R;
|
|
52076
52091
|
}
|
|
52077
|
-
gb.encode =
|
|
52078
|
-
var
|
|
52092
|
+
gb.encode = Dne;
|
|
52093
|
+
var Ane = {
|
|
52079
52094
|
scope: "body",
|
|
52080
52095
|
level: "all"
|
|
52081
52096
|
}, b_ = /&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g, __ = /&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g, ZC = {
|
|
@@ -52094,11 +52109,11 @@ var Dne = {
|
|
|
52094
52109
|
attribute: __,
|
|
52095
52110
|
body: sv.bodyRegExps.html5
|
|
52096
52111
|
}
|
|
52097
|
-
},
|
|
52112
|
+
}, Tne = ah(ah({}, ZC), { all: ZC.html5 }), J8 = String.fromCharCode, uk = J8(65533), kne = {
|
|
52098
52113
|
level: "all"
|
|
52099
52114
|
};
|
|
52100
|
-
function
|
|
52101
|
-
var i = (n === void 0 ?
|
|
52115
|
+
function Rne(t, n) {
|
|
52116
|
+
var i = (n === void 0 ? kne : n).level, a = i === void 0 ? "all" : i;
|
|
52102
52117
|
if (!t)
|
|
52103
52118
|
return "";
|
|
52104
52119
|
var i = t;
|
|
@@ -52114,12 +52129,12 @@ function kne(t, n) {
|
|
|
52114
52129
|
}
|
|
52115
52130
|
return i;
|
|
52116
52131
|
}
|
|
52117
|
-
gb.decodeEntity =
|
|
52118
|
-
function
|
|
52119
|
-
var a = n === void 0 ?
|
|
52132
|
+
gb.decodeEntity = Rne;
|
|
52133
|
+
function One(t, n) {
|
|
52134
|
+
var a = n === void 0 ? Ane : n, i = a.level, o = i === void 0 ? "all" : i, c = a.scope, p = c === void 0 ? o === "xml" ? "strict" : "body" : c;
|
|
52120
52135
|
if (!t)
|
|
52121
52136
|
return "";
|
|
52122
|
-
var _ =
|
|
52137
|
+
var _ = Tne[o][p], g = X8[o].entities, x = p === "attribute", M = p === "strict";
|
|
52123
52138
|
_.lastIndex = 0;
|
|
52124
52139
|
var R = _.exec(t), D;
|
|
52125
52140
|
if (R) {
|
|
@@ -52148,7 +52163,7 @@ function Rne(t, n) {
|
|
|
52148
52163
|
D = t;
|
|
52149
52164
|
return D;
|
|
52150
52165
|
}
|
|
52151
|
-
var
|
|
52166
|
+
var Bne = gb.decode = One;
|
|
52152
52167
|
const ik = (t) => {
|
|
52153
52168
|
const n = Tm(t);
|
|
52154
52169
|
return n.querySelectorAll('[src*="www.ultimedia.com"]').length > 0 || n.querySelectorAll('[src*="www.youtube.com"], [data-src*="www.youtube.com"]').length > 0 || n.querySelectorAll('[src*="www.dailymotion.com"], [data-src*="www.dailymotion.com"]').length > 0 || n.querySelectorAll('[src*="www.brut.media"], [data-src*="www.brut.media"]').length > 0;
|
|
@@ -52198,7 +52213,7 @@ const cy = {
|
|
|
52198
52213
|
);
|
|
52199
52214
|
i.insertAdjacentHTML("afterend", o);
|
|
52200
52215
|
}
|
|
52201
|
-
},
|
|
52216
|
+
}, Fne = (t) => {
|
|
52202
52217
|
const n = Tm(ea.renderToString(t)), a = n.innerHTML.replace(/(<([^>]+)>)/gi, ""), i = n.querySelectorAll("p:not([class])");
|
|
52203
52218
|
if (i.length >= 4 && a.length > 1200) {
|
|
52204
52219
|
ky({
|
|
@@ -52217,7 +52232,7 @@ const cy = {
|
|
|
52217
52232
|
}), o += 3, c = !c;
|
|
52218
52233
|
}
|
|
52219
52234
|
return X_(n.toString());
|
|
52220
|
-
},
|
|
52235
|
+
}, Lne = (t) => {
|
|
52221
52236
|
const n = Tm(ea.renderToString(t)), a = n.innerHTML.replace(/(<([^>]+)>)/gi, ""), i = n.querySelectorAll("p:not([class])");
|
|
52222
52237
|
if (i.length >= 4 && a.length > 1200) {
|
|
52223
52238
|
ky({
|
|
@@ -52236,13 +52251,13 @@ const cy = {
|
|
|
52236
52251
|
}), o += 3, c = !c;
|
|
52237
52252
|
}
|
|
52238
52253
|
return X_(n.toString());
|
|
52239
|
-
},
|
|
52254
|
+
}, Mne = (t) => {
|
|
52240
52255
|
const n = Tm(ea.renderToString(t));
|
|
52241
52256
|
return n.querySelectorAll("img").forEach((i) => {
|
|
52242
52257
|
i.setAttribute("data-src", i.getAttribute("src") ?? ""), i.setAttribute("src", ""), i.setAttribute("data-delayed", "true"), i.setAttribute("data-distance-visible", "700"), i.hasAttribute("srcSet") && (i.setAttribute("data-srcset", i.getAttribute("srcSet") ?? ""), i.setAttribute("srcSet", ""));
|
|
52243
52258
|
}), X_(n.toString());
|
|
52244
|
-
},
|
|
52245
|
-
class
|
|
52259
|
+
}, Ine = (t) => Mne(t);
|
|
52260
|
+
class Pne extends ok {
|
|
52246
52261
|
constructor({ data: n, layout: a }) {
|
|
52247
52262
|
const i = {
|
|
52248
52263
|
enableHeaderAd: !1
|
|
@@ -52264,26 +52279,26 @@ class Ine extends ok {
|
|
|
52264
52279
|
const { articleContent: n, cover: a } = this.data;
|
|
52265
52280
|
return {
|
|
52266
52281
|
enableHeaderAd: !ik(
|
|
52267
|
-
|
|
52282
|
+
Bne(
|
|
52268
52283
|
ea.renderToStaticMarkup(n) + ea.renderToStaticMarkup(a)
|
|
52269
52284
|
)
|
|
52270
52285
|
)
|
|
52271
52286
|
};
|
|
52272
52287
|
}
|
|
52273
52288
|
handleLazyElements() {
|
|
52274
|
-
this.data.articleContent =
|
|
52289
|
+
this.data.articleContent = Ine(this.data.articleContent);
|
|
52275
52290
|
}
|
|
52276
52291
|
handleDesktopInArticleAds() {
|
|
52277
|
-
this.data.articleContent =
|
|
52292
|
+
this.data.articleContent = Fne(this.data.articleContent);
|
|
52278
52293
|
}
|
|
52279
52294
|
handleMobileInArticleAds() {
|
|
52280
|
-
this.data.articleContent =
|
|
52295
|
+
this.data.articleContent = Lne(this.data.articleContent);
|
|
52281
52296
|
}
|
|
52282
52297
|
handleInArticleAds() {
|
|
52283
52298
|
return this.layout === gr.DESKTOP ? this.handleDesktopInArticleAds() : this.handleMobileInArticleAds();
|
|
52284
52299
|
}
|
|
52285
52300
|
}
|
|
52286
|
-
const
|
|
52301
|
+
const zne = ({
|
|
52287
52302
|
layout: t,
|
|
52288
52303
|
stylesheets: n = [],
|
|
52289
52304
|
defaultPreload: a,
|
|
@@ -52337,7 +52352,7 @@ const Pne = ({
|
|
|
52337
52352
|
menu: c,
|
|
52338
52353
|
footer: p,
|
|
52339
52354
|
children: _
|
|
52340
|
-
}) => /* @__PURE__ */ S.createElement(
|
|
52355
|
+
}) => /* @__PURE__ */ S.createElement(zne, { ...n }, /* @__PURE__ */ S.createElement(S.Fragment, null, /* @__PURE__ */ S.createElement(fM, { style: { display: "none" } }), i, n.layout === gr.DESKTOP && o, /* @__PURE__ */ S.createElement(pt, null, c), /* @__PURE__ */ S.createElement(pt, { id: "page-wrap", className: "o-page" }, a, /* @__PURE__ */ S.createElement(pt, { id: "page-content", className: "o-page__content", ...t }, _, /* @__PURE__ */ S.createElement(pt, { id: "c-alert-info" }), n.layout === gr.MOBILE && /* @__PURE__ */ S.createElement(pt, { id: "c-app-banner" })), n.layout === gr.DESKTOP && /* @__PURE__ */ S.createElement("div", { id: "arch-wrapper", className: "o-page__arch" })), p)), lk = ({
|
|
52341
52356
|
pageContentProps: t,
|
|
52342
52357
|
htmlTemplateProps: n,
|
|
52343
52358
|
adTopPage: a,
|
|
@@ -52468,7 +52483,7 @@ const Pne = ({
|
|
|
52468
52483
|
variant: "ARTICLE"
|
|
52469
52484
|
}
|
|
52470
52485
|
), vt, k)
|
|
52471
|
-
),
|
|
52486
|
+
), Une = ({
|
|
52472
52487
|
pageContentProps: t,
|
|
52473
52488
|
htmlTemplateProps: n,
|
|
52474
52489
|
header: a,
|
|
@@ -52500,7 +52515,7 @@ const Pne = ({
|
|
|
52500
52515
|
brandPublishing: De
|
|
52501
52516
|
}) => {
|
|
52502
52517
|
var St;
|
|
52503
|
-
const Me = new
|
|
52518
|
+
const Me = new Pne({
|
|
52504
52519
|
data: {
|
|
52505
52520
|
articleContent: U,
|
|
52506
52521
|
cover: M
|
|
@@ -52563,9 +52578,9 @@ const Pne = ({
|
|
|
52563
52578
|
required: !0,
|
|
52564
52579
|
propName: "menu"
|
|
52565
52580
|
}
|
|
52566
|
-
],
|
|
52581
|
+
], Hne = {
|
|
52567
52582
|
name: "article",
|
|
52568
|
-
component:
|
|
52583
|
+
component: Une,
|
|
52569
52584
|
expiration: 60 * 5,
|
|
52570
52585
|
components: [
|
|
52571
52586
|
...y0,
|
|
@@ -52715,7 +52730,7 @@ const Pne = ({
|
|
|
52715
52730
|
propName: "highlightedText"
|
|
52716
52731
|
}
|
|
52717
52732
|
]
|
|
52718
|
-
},
|
|
52733
|
+
}, qne = ({
|
|
52719
52734
|
header: t,
|
|
52720
52735
|
headerMini: n,
|
|
52721
52736
|
menu: a,
|
|
@@ -52745,9 +52760,9 @@ const Pne = ({
|
|
|
52745
52760
|
c
|
|
52746
52761
|
),
|
|
52747
52762
|
o.layout === "mobile" && /* @__PURE__ */ S.createElement(Ur, { adUnitCompletePath: "/49926454/20minutes_webmobile/divers/pave_atf", variant: "PAVE" })
|
|
52748
|
-
),
|
|
52763
|
+
), Vne = {
|
|
52749
52764
|
name: "error",
|
|
52750
|
-
component:
|
|
52765
|
+
component: qne,
|
|
52751
52766
|
expiration: 60 * 5,
|
|
52752
52767
|
components: [
|
|
52753
52768
|
...y0,
|
|
@@ -52767,7 +52782,7 @@ const Pne = ({
|
|
|
52767
52782
|
propName: "defaultPreload"
|
|
52768
52783
|
}
|
|
52769
52784
|
]
|
|
52770
|
-
},
|
|
52785
|
+
}, jne = ({
|
|
52771
52786
|
htmlTemplateProps: t,
|
|
52772
52787
|
header: n,
|
|
52773
52788
|
headerMini: a,
|
|
@@ -52821,9 +52836,9 @@ const Pne = ({
|
|
|
52821
52836
|
variant: "ARTICLE"
|
|
52822
52837
|
}
|
|
52823
52838
|
))))
|
|
52824
|
-
),
|
|
52839
|
+
), $ne = {
|
|
52825
52840
|
name: "horoscopeHome",
|
|
52826
|
-
component:
|
|
52841
|
+
component: jne,
|
|
52827
52842
|
expiration: 60 * 60,
|
|
52828
52843
|
components: [
|
|
52829
52844
|
...y0,
|
|
@@ -52868,7 +52883,7 @@ const Pne = ({
|
|
|
52868
52883
|
propName: "defaultPreload"
|
|
52869
52884
|
}
|
|
52870
52885
|
]
|
|
52871
|
-
},
|
|
52886
|
+
}, Kne = ({
|
|
52872
52887
|
htmlTemplateProps: t,
|
|
52873
52888
|
header: n,
|
|
52874
52889
|
headerMini: a,
|
|
@@ -52925,9 +52940,9 @@ const Pne = ({
|
|
|
52925
52940
|
}
|
|
52926
52941
|
)
|
|
52927
52942
|
)
|
|
52928
|
-
),
|
|
52943
|
+
), Gne = {
|
|
52929
52944
|
name: "horoscope",
|
|
52930
|
-
component:
|
|
52945
|
+
component: Kne,
|
|
52931
52946
|
expiration: 60 * 60,
|
|
52932
52947
|
components: [
|
|
52933
52948
|
...y0,
|
|
@@ -52982,7 +52997,7 @@ const Pne = ({
|
|
|
52982
52997
|
propName: "defaultPreload"
|
|
52983
52998
|
}
|
|
52984
52999
|
]
|
|
52985
|
-
},
|
|
53000
|
+
}, Wne = ({
|
|
52986
53001
|
header: t,
|
|
52987
53002
|
headerMini: n,
|
|
52988
53003
|
menu: a,
|
|
@@ -53023,7 +53038,7 @@ const Pne = ({
|
|
|
53023
53038
|
variant: "ATF"
|
|
53024
53039
|
}
|
|
53025
53040
|
))
|
|
53026
|
-
),
|
|
53041
|
+
), Yne = ({
|
|
53027
53042
|
pageContentProps: t,
|
|
53028
53043
|
htmlTemplateProps: n,
|
|
53029
53044
|
header: a,
|
|
@@ -53086,7 +53101,7 @@ const Pne = ({
|
|
|
53086
53101
|
__html: t
|
|
53087
53102
|
}
|
|
53088
53103
|
}
|
|
53089
|
-
),
|
|
53104
|
+
), Zne = (t) => {
|
|
53090
53105
|
const n = Tm(ea.renderToString(t)), a = n.querySelectorAll("div.js-card-wrap");
|
|
53091
53106
|
if (a) {
|
|
53092
53107
|
const i = a[1];
|
|
@@ -53112,7 +53127,7 @@ const Pne = ({
|
|
|
53112
53127
|
}
|
|
53113
53128
|
}
|
|
53114
53129
|
return n.toString();
|
|
53115
|
-
},
|
|
53130
|
+
}, Xne = (t) => {
|
|
53116
53131
|
const n = Tm(ea.renderToString(t)), a = n.querySelectorAll(".c-card-container");
|
|
53117
53132
|
if (a) {
|
|
53118
53133
|
const i = a[1];
|
|
@@ -53138,7 +53153,7 @@ const Pne = ({
|
|
|
53138
53153
|
}
|
|
53139
53154
|
return n.toString();
|
|
53140
53155
|
};
|
|
53141
|
-
class
|
|
53156
|
+
class Jne extends ok {
|
|
53142
53157
|
constructor({ data: n, layout: a }) {
|
|
53143
53158
|
super({
|
|
53144
53159
|
data: n,
|
|
@@ -53157,13 +53172,13 @@ class Xne extends ok {
|
|
|
53157
53172
|
return null;
|
|
53158
53173
|
}
|
|
53159
53174
|
handleDesktopInTagAds() {
|
|
53160
|
-
return
|
|
53175
|
+
return Xne(this.data.articlesList);
|
|
53161
53176
|
}
|
|
53162
53177
|
handleMobileInTagAds() {
|
|
53163
|
-
return
|
|
53178
|
+
return Zne(this.data.articlesList);
|
|
53164
53179
|
}
|
|
53165
53180
|
}
|
|
53166
|
-
const
|
|
53181
|
+
const Qne = ({
|
|
53167
53182
|
htmlTemplateProps: t,
|
|
53168
53183
|
header: n,
|
|
53169
53184
|
headerMini: a,
|
|
@@ -53176,7 +53191,7 @@ const Jne = ({
|
|
|
53176
53191
|
articlesListBottom: x,
|
|
53177
53192
|
newsletter: M
|
|
53178
53193
|
}) => {
|
|
53179
|
-
const D = new
|
|
53194
|
+
const D = new Jne({
|
|
53180
53195
|
data: {
|
|
53181
53196
|
articlesList: g,
|
|
53182
53197
|
articlesListBottom: x
|
|
@@ -53254,7 +53269,7 @@ const Jne = ({
|
|
|
53254
53269
|
}
|
|
53255
53270
|
))
|
|
53256
53271
|
);
|
|
53257
|
-
},
|
|
53272
|
+
}, eae = ({
|
|
53258
53273
|
header: t,
|
|
53259
53274
|
headerMini: n,
|
|
53260
53275
|
menu: a,
|
|
@@ -53311,7 +53326,7 @@ const Jne = ({
|
|
|
53311
53326
|
variant: "ATF"
|
|
53312
53327
|
}
|
|
53313
53328
|
))
|
|
53314
|
-
),
|
|
53329
|
+
), tae = ({
|
|
53315
53330
|
header: t,
|
|
53316
53331
|
headerMini: n,
|
|
53317
53332
|
menu: a,
|
|
@@ -53352,9 +53367,9 @@ const Jne = ({
|
|
|
53352
53367
|
variant: "ATF"
|
|
53353
53368
|
}
|
|
53354
53369
|
))
|
|
53355
|
-
),
|
|
53370
|
+
), rae = {
|
|
53356
53371
|
name: "live",
|
|
53357
|
-
component:
|
|
53372
|
+
component: Yne,
|
|
53358
53373
|
expiration: 60 * 5,
|
|
53359
53374
|
components: [
|
|
53360
53375
|
...y0,
|
|
@@ -53459,9 +53474,9 @@ const Jne = ({
|
|
|
53459
53474
|
propName: "meta"
|
|
53460
53475
|
}
|
|
53461
53476
|
]
|
|
53462
|
-
},
|
|
53477
|
+
}, nae = {
|
|
53463
53478
|
name: "search",
|
|
53464
|
-
component:
|
|
53479
|
+
component: Wne,
|
|
53465
53480
|
expiration: 60 * 5,
|
|
53466
53481
|
components: [
|
|
53467
53482
|
...y0,
|
|
@@ -53496,9 +53511,9 @@ const Jne = ({
|
|
|
53496
53511
|
propName: "defaultPreload"
|
|
53497
53512
|
}
|
|
53498
53513
|
]
|
|
53499
|
-
},
|
|
53514
|
+
}, aae = {
|
|
53500
53515
|
name: "tag",
|
|
53501
|
-
component:
|
|
53516
|
+
component: Qne,
|
|
53502
53517
|
expiration: 60 * 5,
|
|
53503
53518
|
components: [
|
|
53504
53519
|
...y0,
|
|
@@ -53548,9 +53563,9 @@ const Jne = ({
|
|
|
53548
53563
|
propName: "defaultPreload"
|
|
53549
53564
|
}
|
|
53550
53565
|
]
|
|
53551
|
-
},
|
|
53566
|
+
}, uae = {
|
|
53552
53567
|
name: "traffic",
|
|
53553
|
-
component:
|
|
53568
|
+
component: eae,
|
|
53554
53569
|
expiration: 60 * 5,
|
|
53555
53570
|
components: [
|
|
53556
53571
|
...y0,
|
|
@@ -53585,9 +53600,9 @@ const Jne = ({
|
|
|
53585
53600
|
propName: "defaultPreload"
|
|
53586
53601
|
}
|
|
53587
53602
|
]
|
|
53588
|
-
},
|
|
53603
|
+
}, iae = {
|
|
53589
53604
|
name: "weather",
|
|
53590
|
-
component:
|
|
53605
|
+
component: tae,
|
|
53591
53606
|
expiration: 60 * 5,
|
|
53592
53607
|
components: [
|
|
53593
53608
|
...y0,
|
|
@@ -53622,23 +53637,24 @@ const Jne = ({
|
|
|
53622
53637
|
propName: "defaultPreload"
|
|
53623
53638
|
}
|
|
53624
53639
|
]
|
|
53625
|
-
},
|
|
53626
|
-
|
|
53627
|
-
|
|
53628
|
-
|
|
53629
|
-
|
|
53640
|
+
}, hae = [
|
|
53641
|
+
Hne,
|
|
53642
|
+
Gne,
|
|
53643
|
+
$ne,
|
|
53644
|
+
Vne,
|
|
53645
|
+
aae,
|
|
53630
53646
|
nae,
|
|
53631
53647
|
rae,
|
|
53632
|
-
|
|
53633
|
-
|
|
53634
|
-
uae
|
|
53648
|
+
uae,
|
|
53649
|
+
iae
|
|
53635
53650
|
];
|
|
53636
53651
|
export {
|
|
53637
53652
|
nne as ArticleContent,
|
|
53638
|
-
|
|
53639
|
-
|
|
53653
|
+
sne as ArticleMobileHeader,
|
|
53654
|
+
Une as ArticlePage,
|
|
53640
53655
|
ane as ArticleSummary,
|
|
53641
|
-
|
|
53656
|
+
mae as COMPONENT_CONFIGS,
|
|
53657
|
+
une as CardExtraLarge,
|
|
53642
53658
|
Ei as ComponentNameArticle,
|
|
53643
53659
|
Gn as ComponentNameCommon,
|
|
53644
53660
|
hn as ComponentNameContent,
|
|
@@ -53652,37 +53668,37 @@ export {
|
|
|
53652
53668
|
c0 as ComponentNameWeather,
|
|
53653
53669
|
lk as ContentTemplate,
|
|
53654
53670
|
CN as DigitekaSmartPlayer,
|
|
53655
|
-
|
|
53671
|
+
qne as ErrorPage,
|
|
53656
53672
|
kv as HeaderPage,
|
|
53657
|
-
|
|
53658
|
-
|
|
53659
|
-
|
|
53660
|
-
|
|
53661
|
-
|
|
53673
|
+
jne as HoroscopeHomePage,
|
|
53674
|
+
one as HoroscopeHomepageContent,
|
|
53675
|
+
Kne as HoroscopePage,
|
|
53676
|
+
zne as HtmlTemplate,
|
|
53677
|
+
lne as InfoBanner,
|
|
53662
53678
|
lh as JsonLdBreadcrumb,
|
|
53663
53679
|
dP as JsonLdClaimReview,
|
|
53664
53680
|
pP as JsonLdNewsArticle,
|
|
53665
|
-
|
|
53666
|
-
|
|
53681
|
+
cne as LiveBlock,
|
|
53682
|
+
Yne as LivePage,
|
|
53667
53683
|
_m as Meta,
|
|
53668
|
-
|
|
53684
|
+
hae as PAGE_CONFIGS,
|
|
53669
53685
|
Sp as PageTemplate,
|
|
53670
53686
|
o8 as Preload,
|
|
53671
|
-
|
|
53672
|
-
|
|
53687
|
+
fne as ReadAlsoBlock,
|
|
53688
|
+
dne as RubricsCarousels,
|
|
53673
53689
|
mP as ScriptGlobalsInit,
|
|
53674
|
-
|
|
53675
|
-
|
|
53676
|
-
|
|
53690
|
+
Wne as SearchPage,
|
|
53691
|
+
pne as SideBrandsArticles,
|
|
53692
|
+
Qne as TagPage,
|
|
53677
53693
|
C_ as TagPageArticlesList,
|
|
53678
|
-
|
|
53679
|
-
|
|
53680
|
-
|
|
53694
|
+
eae as TrafficPage,
|
|
53695
|
+
tae as WeatherPage,
|
|
53696
|
+
dae as displayContentDate,
|
|
53681
53697
|
iP as fromGlobalId,
|
|
53682
53698
|
oP as getIllustrationPhoto,
|
|
53683
53699
|
lP as getImageCaption,
|
|
53684
53700
|
nP as getRubricColorByTheme,
|
|
53685
53701
|
JS as secondsToMinSec,
|
|
53686
|
-
|
|
53702
|
+
pae as toGloblalId,
|
|
53687
53703
|
sP as transformTagArticlesQueryResultIntoTagPageArticles
|
|
53688
53704
|
};
|