@20minutes/tyr 2.31.2 → 2.31.3
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
|
@@ -56924,76 +56924,68 @@ const Cl = /* @__PURE__ */ g5(MK), OL = ({ src: r, withShadow: n = !1 }) => /* @
|
|
|
56924
56924
|
title: "Les jeux ne se chargent pas sur Firefox ?",
|
|
56925
56925
|
description: `Vérifiez que la "Protection renforcée contre le pistage" est bien désactivée sur la page, accessible depuis l'icône bouclier, à gauche de l'URL.`
|
|
56926
56926
|
}
|
|
56927
|
-
))), JR = ({ id: r, name: n, type: i, src: o, keesingType: u,
|
|
56928
|
-
const
|
|
56929
|
-
"puzzle",
|
|
56930
|
-
"421",
|
|
56931
|
-
"buzz",
|
|
56932
|
-
"mots-coupes",
|
|
56933
|
-
"ifleches",
|
|
56934
|
-
"ironde-des-mots",
|
|
56935
|
-
"quiz"
|
|
56936
|
-
], f = {
|
|
56927
|
+
))), JR = ({ id: r, name: n, type: i, src: o, keesingType: u, keesingId: c, keesingGame: d, enableAds: v }, ...h) => {
|
|
56928
|
+
const f = ["421", "buzz", "quiz"], N = {
|
|
56937
56929
|
player: "https://web.keesing.com/pub/player/v2.25.2/dist/",
|
|
56938
56930
|
portal: "https://web.keesing.com/pub/portal/v2.25.2/dist/",
|
|
56939
56931
|
js: "https://web.keesing.com/pub/bundle-loader/bundle-loader.js",
|
|
56940
|
-
css: `https://web.keesing.com/pub/config/${
|
|
56932
|
+
css: `https://web.keesing.com/pub/config/${v ? "20minutes" : "20minutespremium"}/css/custom_client.css`
|
|
56941
56933
|
};
|
|
56942
|
-
return o &&
|
|
56934
|
+
return o && f.includes(r) ? /* @__PURE__ */ e.createElement(By, null, /* @__PURE__ */ e.createElement("div", { id: "loginwall" }, /* @__PURE__ */ e.createElement(
|
|
56943
56935
|
cU,
|
|
56944
56936
|
{
|
|
56945
56937
|
title: n,
|
|
56946
56938
|
htmlIframeProps: { src: o },
|
|
56947
56939
|
mb: "l",
|
|
56948
56940
|
className: `c-game c-game--${r}`,
|
|
56949
|
-
...
|
|
56941
|
+
...h
|
|
56950
56942
|
}
|
|
56951
|
-
))) : i === "Arcade" &&
|
|
56943
|
+
))) : i === "Arcade" && f.includes(r) ? /* @__PURE__ */ e.createElement(By, null, /* @__PURE__ */ e.createElement("div", { id: "loginwall" }, /* @__PURE__ */ e.createElement("link", { rel: "stylesheet", "data-href": N.css }), /* @__PURE__ */ e.createElement(
|
|
56952
56944
|
"div",
|
|
56953
56945
|
{
|
|
56954
56946
|
id: "puzzle-portal",
|
|
56955
56947
|
className: `game game-${n}`,
|
|
56956
|
-
"data-customerid":
|
|
56957
|
-
"data-gametype": `CG_${
|
|
56958
|
-
"data-puzzleid": `CG_${
|
|
56959
|
-
"data-publicpath": u === "player" ?
|
|
56948
|
+
"data-customerid": v ? "20minutes" : "20minutespremium",
|
|
56949
|
+
"data-gametype": `CG_${d}`,
|
|
56950
|
+
"data-puzzleid": `CG_${d}`,
|
|
56951
|
+
"data-publicpath": u === "player" ? N.player : N.portal
|
|
56960
56952
|
}
|
|
56961
56953
|
), /* @__PURE__ */ e.createElement(
|
|
56962
56954
|
"script",
|
|
56963
56955
|
{
|
|
56964
56956
|
type: "text/javascript",
|
|
56965
|
-
"data-src":
|
|
56957
|
+
"data-src": N.js,
|
|
56966
56958
|
"data-wlpp-bundle": u ?? "portal"
|
|
56967
56959
|
}
|
|
56968
|
-
))) : !u || !
|
|
56960
|
+
))) : !u || !d ? null : /* @__PURE__ */ e.createElement(By, null, /* @__PURE__ */ e.createElement("div", { id: "loginwall" }, /* @__PURE__ */ e.createElement("link", { rel: "stylesheet", "data-href": N.css }), f.includes(r) ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
56969
56961
|
"div",
|
|
56970
56962
|
{
|
|
56971
56963
|
id: "puzzle-portal",
|
|
56972
|
-
"data-customerid":
|
|
56973
|
-
"data-portalview":
|
|
56974
|
-
"data-publicpath": u === "player" ?
|
|
56964
|
+
"data-customerid": v ? "20minutes" : "20minutespremium",
|
|
56965
|
+
"data-portalview": d ?? "",
|
|
56966
|
+
"data-publicpath": u === "player" ? N.player : N.portal
|
|
56975
56967
|
}
|
|
56976
56968
|
), /* @__PURE__ */ e.createElement(
|
|
56977
56969
|
"script",
|
|
56978
56970
|
{
|
|
56979
56971
|
type: "text/javascript",
|
|
56980
|
-
"data-src":
|
|
56972
|
+
"data-src": N.js,
|
|
56981
56973
|
"data-wlpp-bundle": u ?? "portal"
|
|
56982
56974
|
}
|
|
56983
56975
|
)) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
56984
56976
|
"div",
|
|
56985
56977
|
{
|
|
56986
56978
|
id: "puzzle-portal",
|
|
56987
|
-
"data-customerid":
|
|
56988
|
-
"data-gametype": u === "portal" ?
|
|
56989
|
-
"data-puzzleid": u === "portal" ? `${c}_today` : `CG_${
|
|
56979
|
+
"data-customerid": v ? "20minutes" : "20minutespremium",
|
|
56980
|
+
"data-gametype": u === "portal" ? d : `CG_${d}`,
|
|
56981
|
+
"data-puzzleid": u === "portal" ? `${c ?? d}_today` : `CG_${d}`
|
|
56990
56982
|
}
|
|
56991
56983
|
), /* @__PURE__ */ e.createElement(
|
|
56992
56984
|
"script",
|
|
56993
56985
|
{
|
|
56994
56986
|
type: "text/javascript",
|
|
56995
56987
|
"data-wlpp-bundle": "player",
|
|
56996
|
-
"data-src":
|
|
56988
|
+
"data-src": N.js
|
|
56997
56989
|
}
|
|
56998
56990
|
))));
|
|
56999
56991
|
}, Fy = ({ games: r, ...n }) => /* @__PURE__ */ e.createElement(pe, { direction: "column", gap: "m", ...n }, /* @__PURE__ */ e.createElement(Y, { size: { xs: "l", md: "xl" }, weight: "bold" }, r[0].category), r.map((i) => /* @__PURE__ */ e.createElement(
|