@anywayseo/tools 6.1.0 → 6.3.0
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/components/index.cjs +1 -1
- package/dist/components/index.mjs +21 -21
- package/dist/components/seo/href-langs/index.d.ts +2 -2
- package/dist/components/seo/index.d.ts +2 -8
- package/dist/components/seo/open-graph/index.d.ts +8 -0
- package/dist/components/seo/utils.d.ts +2 -2
- package/dist/hooks/index.mjs +1 -1
- package/dist/i18n/index.mjs +1 -1
- package/dist/{index-TcBorTSf.mjs → index-B7EwEV0P.mjs} +2 -2
- package/dist/{index-P_fDAJVz.js → index-BKWX6mIo.js} +17 -13
- package/dist/{index-BPthShL-.mjs → index-BVAydcbQ.mjs} +3 -3
- package/dist/{index-CQC6DRGf.mjs → index-Bhur6qbX.mjs} +4 -4
- package/dist/{index-MnQnVvsM.mjs → index-Bx11bnvY.mjs} +21 -17
- package/dist/{index-BS5T9Il4.mjs → index-CKrYF12N.mjs} +1 -1
- package/dist/{index-CoNbTY7l.mjs → index-Ckj5oSGb.mjs} +57 -9
- package/dist/{index-2sU4ya6z.mjs → index-Cp-_VJLP.mjs} +4 -4
- package/dist/{index-CnVcCa5O.js → index-DHKoOk4o.js} +48 -0
- package/dist/{index-BBU_vIrY.mjs → index-DWrKuZCO.mjs} +65 -53
- package/dist/{index-C6A-3gBz.mjs → index-HgCW5XhG.mjs} +4 -4
- package/dist/{index-C93pA9Jv.js → index-ISfgFSXE.js} +41 -29
- package/dist/{index-B5WurBlm.mjs → index-O8N4FTK9.mjs} +2 -2
- package/dist/index.cjs +67 -66
- package/dist/index.mjs +53 -52
- package/dist/layout/index.mjs +5 -5
- package/dist/providers/index.mjs +2 -2
- package/dist/types/content/seo/index.d.ts +56 -3
- package/dist/types/index.d.ts +1 -1
- package/dist/types/seo/index.d.ts +2 -0
- package/dist/types/seo/open-graph/index.d.ts +11 -0
- package/dist/utils/api/strapi-seo.d.ts +2 -13
- package/dist/utils/index.cjs +36 -35
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.mjs +25 -24
- package/dist/utils/seo/index.d.ts +2 -0
- package/dist/utils/{json-ld → seo/json-ld}/index.d.ts +1 -1
- package/dist/utils/seo/open-graph/index.d.ts +15 -0
- package/package.json +2 -2
- package/dist/components/seo/types.d.ts +0 -14
- /package/dist/types/{json-ld → seo/json-ld}/index.d.ts +0 -0
|
@@ -2,18 +2,18 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import { useColorModeValue, Flex, Text, Box, Collapse, Button, Stack, Center as Center$1, SimpleGrid, Card, CardBody, CardFooter, CardHeader, Heading, Popover, PopoverTrigger, Portal, PopoverContent, PopoverBody, Accordion, AccordionItem, AccordionButton, AccordionIcon, AccordionPanel, LinkBox, LinkOverlay, IconButton, AbsoluteCenter, Spinner, Alert, AlertIcon, AlertTitle, AlertDescription, useDisclosure, Divider, Circle, List as List$1, ListItem, useToast, VStack, FormControl, FormLabel, InputGroup, InputLeftElement, Input, Textarea, ListIcon, TableContainer, Table as Table$1, Thead, Tr, Th, Tbody, Td, TableCaption, Tabs as Tabs$1, TabList, Tab, TabPanels, TabPanel } from "@chakra-ui/react";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import { useMDXComponents } from "@mdx-js/react";
|
|
5
|
-
import { u as usePageContext, I as Image, L as Link, a as useSiteContext } from "./index-
|
|
5
|
+
import { u as usePageContext, I as Image, L as Link, a as useSiteContext } from "./index-O8N4FTK9.mjs";
|
|
6
6
|
import "./index-BJRvnR8Q.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { G as GameCharacteristic, b as GameVolatility } from "./index-HgCW5XhG.mjs";
|
|
8
8
|
import { AtSignIcon, TimeIcon, CalendarIcon, StarIcon, CloseIcon, ViewOffIcon, ViewIcon, EmailIcon, WarningIcon, CheckCircleIcon } from "@chakra-ui/icons";
|
|
9
9
|
import "react-medium-image-zoom";
|
|
10
10
|
import { useRef, useState, useLayoutEffect, Fragment as Fragment$1, useMemo } from "react";
|
|
11
|
-
import { d as SocialNetworks, L as LinkButton, R as Rating } from "./index-
|
|
11
|
+
import { d as SocialNetworks, L as LinkButton, R as Rating } from "./index-Cp-_VJLP.mjs";
|
|
12
12
|
import { a as Heading2, H as Heading1, P as Paragraph, U as Unordered, O as Ordered } from "./index-BEjKnOZA.mjs";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { f as formatDate,
|
|
16
|
-
import { u as usePrimaryColors } from "./index-
|
|
13
|
+
import { b as buildCanonicalUrl } from "./index-Bhur6qbX.mjs";
|
|
14
|
+
import { r as randomComparator, i as getSeededRandomComparator, g as getCurrencySymbol, a as buildGraph, d as buildOrganizationSchema, f as buildWebsiteSchema, h as getEntitySchema, e as buildWebpageSchema, c as buildOpenGraphMeta, j as isStrapiContent } from "./index-Ckj5oSGb.mjs";
|
|
15
|
+
import { f as formatDate, a as formatNumber, g as getCurrentMonth, b as getCurrentYear } from "./index-BVAydcbQ.mjs";
|
|
16
|
+
import { u as usePrimaryColors } from "./index-CKrYF12N.mjs";
|
|
17
17
|
import { t } from "i18next";
|
|
18
18
|
import Markdown from "react-markdown";
|
|
19
19
|
const ArticleMetaIconMap = {
|
|
@@ -950,26 +950,12 @@ const ProsCons = ({ items, ...boxProps }) => {
|
|
|
950
950
|
/* @__PURE__ */ jsx(ProsConsCard, { itemType: "cons", items: cons })
|
|
951
951
|
] });
|
|
952
952
|
};
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
currentYear: getCurrentYear(lang),
|
|
957
|
-
currentMonth: getCurrentMonth(lang)
|
|
958
|
-
};
|
|
959
|
-
}
|
|
960
|
-
function replacePlaceholders(text, placeholders) {
|
|
961
|
-
Object.entries(placeholders).forEach(([placeholder, replacement]) => {
|
|
962
|
-
const regex = new RegExp(`{{${placeholder}}}`, "g");
|
|
963
|
-
text = text.replace(regex, replacement);
|
|
964
|
-
});
|
|
965
|
-
return text;
|
|
966
|
-
}
|
|
967
|
-
function getSeoMetaItem(item, placeholders) {
|
|
968
|
-
if (typeof item === "string") {
|
|
969
|
-
return replacePlaceholders(item, placeholders);
|
|
953
|
+
const HrefLangs = ({ siteName, hrefLangs }) => {
|
|
954
|
+
if (!(hrefLangs == null ? void 0 : hrefLangs.length)) {
|
|
955
|
+
return null;
|
|
970
956
|
}
|
|
971
|
-
return
|
|
972
|
-
}
|
|
957
|
+
return hrefLangs.map(({ href, hrefLang }, index) => /* @__PURE__ */ jsx("link", { rel: "alternate", hrefLang, href: buildCanonicalUrl(siteName, href) }, index));
|
|
958
|
+
};
|
|
973
959
|
const JsonLd = ({ schemas }) => {
|
|
974
960
|
const graph = buildGraph(schemas);
|
|
975
961
|
if (!graph.length) {
|
|
@@ -989,18 +975,42 @@ const JsonLd = ({ schemas }) => {
|
|
|
989
975
|
}
|
|
990
976
|
);
|
|
991
977
|
};
|
|
992
|
-
const
|
|
993
|
-
|
|
978
|
+
const OpenGraph = ({ meta, options }) => {
|
|
979
|
+
const { withTwitterCard = true } = options ?? {};
|
|
980
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
981
|
+
meta.map(({ property, content }, index) => /* @__PURE__ */ jsx("meta", { property, content }, index)),
|
|
982
|
+
withTwitterCard && /* @__PURE__ */ jsx("meta", { name: "twitter:card", content: "summary_large_image" })
|
|
983
|
+
] });
|
|
994
984
|
};
|
|
985
|
+
function buildPlaceholders(siteName, lang) {
|
|
986
|
+
return {
|
|
987
|
+
siteName,
|
|
988
|
+
currentYear: getCurrentYear(lang),
|
|
989
|
+
currentMonth: getCurrentMonth(lang)
|
|
990
|
+
};
|
|
991
|
+
}
|
|
992
|
+
function replacePlaceholders(text, placeholders) {
|
|
993
|
+
Object.entries(placeholders).forEach(([placeholder, replacement]) => {
|
|
994
|
+
const regex = new RegExp(`{{${placeholder}}}`, "g");
|
|
995
|
+
text = text.replace(regex, replacement);
|
|
996
|
+
});
|
|
997
|
+
return text.trim();
|
|
998
|
+
}
|
|
999
|
+
function getSeoMetaItem(item, placeholders) {
|
|
1000
|
+
if (typeof item === "string") {
|
|
1001
|
+
return replacePlaceholders(item, placeholders);
|
|
1002
|
+
}
|
|
1003
|
+
return item(placeholders);
|
|
1004
|
+
}
|
|
995
1005
|
const Seo = ({
|
|
996
1006
|
children,
|
|
997
1007
|
pathname,
|
|
998
|
-
locale,
|
|
999
|
-
|
|
1000
|
-
description,
|
|
1008
|
+
lang: locale,
|
|
1009
|
+
meta,
|
|
1001
1010
|
canonicalUrl,
|
|
1002
|
-
hrefLangs
|
|
1003
|
-
structuredData
|
|
1011
|
+
hrefLangs,
|
|
1012
|
+
structuredData,
|
|
1013
|
+
openGraph
|
|
1004
1014
|
}) => {
|
|
1005
1015
|
const { metadata: siteMetadata, logo: siteLogo, localization } = useSiteContext();
|
|
1006
1016
|
const { name: siteName, seo: siteSeo } = siteMetadata;
|
|
@@ -1010,14 +1020,15 @@ const Seo = ({
|
|
|
1010
1020
|
const placeholders = buildPlaceholders(siteName, lang);
|
|
1011
1021
|
const siteUrl = buildCanonicalUrl(siteName);
|
|
1012
1022
|
const pageUrl = buildCanonicalUrl(siteName, pathname);
|
|
1013
|
-
const pageTitle = getSeoMetaItem(title ?? defaultTitle, placeholders);
|
|
1014
|
-
const pageDescription = getSeoMetaItem(description ?? defaultDescription, placeholders);
|
|
1023
|
+
const pageTitle = getSeoMetaItem((meta == null ? void 0 : meta.title) ?? defaultTitle, placeholders);
|
|
1024
|
+
const pageDescription = getSeoMetaItem((meta == null ? void 0 : meta.description) ?? defaultDescription, placeholders);
|
|
1015
1025
|
const siteData = { url: siteUrl, name: siteName, logo: siteLogo };
|
|
1016
1026
|
const pageData = { url: pageUrl, title: pageTitle, description: pageDescription };
|
|
1017
1027
|
const organizationSchema = buildOrganizationSchema({ site: siteData, lang });
|
|
1018
1028
|
const websiteSchema = buildWebsiteSchema({ site: siteData, lang });
|
|
1019
1029
|
const entitySchema = getEntitySchema({ site: siteData, page: pageData, structuredData });
|
|
1020
1030
|
const webpageSchema = buildWebpageSchema({ site: siteData, page: pageData, lang }, entitySchema);
|
|
1031
|
+
const openGraphMeta = buildOpenGraphMeta({ site: siteData, page: pageData, content: openGraph == null ? void 0 : openGraph.content, lang });
|
|
1021
1032
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1022
1033
|
/* @__PURE__ */ jsx("html", { lang }),
|
|
1023
1034
|
/* @__PURE__ */ jsx("title", { children: pageTitle }),
|
|
@@ -1025,6 +1036,7 @@ const Seo = ({
|
|
|
1025
1036
|
/* @__PURE__ */ jsx("link", { rel: "canonical", href: canonicalUrl ?? pageUrl }),
|
|
1026
1037
|
/* @__PURE__ */ jsx(HrefLangs, { siteName, hrefLangs }),
|
|
1027
1038
|
/* @__PURE__ */ jsx(JsonLd, { schemas: { organization: organizationSchema, website: websiteSchema, webpage: webpageSchema } }),
|
|
1039
|
+
/* @__PURE__ */ jsx(OpenGraph, { meta: openGraphMeta, options: openGraph == null ? void 0 : openGraph.options }),
|
|
1028
1040
|
children
|
|
1029
1041
|
] });
|
|
1030
1042
|
};
|
|
@@ -1322,27 +1334,27 @@ export {
|
|
|
1322
1334
|
Informer as I,
|
|
1323
1335
|
List as L,
|
|
1324
1336
|
NotFound as N,
|
|
1325
|
-
|
|
1337
|
+
PrivacyPolicy as P,
|
|
1326
1338
|
Seo as S,
|
|
1327
1339
|
Table as T,
|
|
1328
1340
|
ArticleCard as a,
|
|
1329
1341
|
ArticleCardGrid as b,
|
|
1330
1342
|
ArticleInfoCard as c,
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1343
|
+
ArticleMeta as d,
|
|
1344
|
+
Author as e,
|
|
1345
|
+
AuthorCard as f,
|
|
1346
|
+
BonusCardGrid as g,
|
|
1347
|
+
Contacts as h,
|
|
1348
|
+
CookiePolicy as i,
|
|
1349
|
+
FeatureCard as j,
|
|
1350
|
+
FeatureCardGrid as k,
|
|
1351
|
+
GameCardGrid as l,
|
|
1352
|
+
GameDemo as m,
|
|
1353
|
+
GameInfo as n,
|
|
1354
|
+
Grid as o,
|
|
1355
|
+
ProsCons as p,
|
|
1356
|
+
StrapiContentRenderer as q,
|
|
1357
|
+
Tabs as r,
|
|
1358
|
+
TermsAndConditions as s,
|
|
1359
|
+
Tip as t
|
|
1348
1360
|
};
|
|
@@ -8016,11 +8016,11 @@ const dictionary = {
|
|
|
8016
8016
|
informer
|
|
8017
8017
|
};
|
|
8018
8018
|
export {
|
|
8019
|
-
|
|
8020
|
-
|
|
8019
|
+
CasinoCharacteristic as C,
|
|
8020
|
+
GameCharacteristic as G,
|
|
8021
8021
|
InformerType as I,
|
|
8022
|
-
|
|
8023
|
-
|
|
8022
|
+
CasinoTableColumn as a,
|
|
8023
|
+
GameVolatility as b,
|
|
8024
8024
|
dictionary$3 as c,
|
|
8025
8025
|
dictionary$2 as d,
|
|
8026
8026
|
dictionary as e,
|
|
@@ -12,7 +12,7 @@ const react$1 = require("react");
|
|
|
12
12
|
const index$2 = require("./index-CxuOu0E2.js");
|
|
13
13
|
const index$3 = require("./index-DDg_PkD2.js");
|
|
14
14
|
const index$7 = require("./index-CAjUjAgI.js");
|
|
15
|
-
const index$5 = require("./index-
|
|
15
|
+
const index$5 = require("./index-DHKoOk4o.js");
|
|
16
16
|
const index$1 = require("./index-ov4J7p3D.js");
|
|
17
17
|
const index$4 = require("./index-CuIVcnIS.js");
|
|
18
18
|
const i18next = require("i18next");
|
|
@@ -951,26 +951,12 @@ const ProsCons = ({ items, ...boxProps }) => {
|
|
|
951
951
|
/* @__PURE__ */ jsxRuntime.jsx(ProsConsCard, { itemType: "cons", items: cons })
|
|
952
952
|
] });
|
|
953
953
|
};
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
currentYear: index$1.getCurrentYear(lang),
|
|
958
|
-
currentMonth: index$1.getCurrentMonth(lang)
|
|
959
|
-
};
|
|
960
|
-
}
|
|
961
|
-
function replacePlaceholders(text, placeholders) {
|
|
962
|
-
Object.entries(placeholders).forEach(([placeholder, replacement]) => {
|
|
963
|
-
const regex = new RegExp(`{{${placeholder}}}`, "g");
|
|
964
|
-
text = text.replace(regex, replacement);
|
|
965
|
-
});
|
|
966
|
-
return text;
|
|
967
|
-
}
|
|
968
|
-
function getSeoMetaItem(item, placeholders) {
|
|
969
|
-
if (typeof item === "string") {
|
|
970
|
-
return replacePlaceholders(item, placeholders);
|
|
954
|
+
const HrefLangs = ({ siteName, hrefLangs }) => {
|
|
955
|
+
if (!(hrefLangs == null ? void 0 : hrefLangs.length)) {
|
|
956
|
+
return null;
|
|
971
957
|
}
|
|
972
|
-
return
|
|
973
|
-
}
|
|
958
|
+
return hrefLangs.map(({ href, hrefLang }, index2) => /* @__PURE__ */ jsxRuntime.jsx("link", { rel: "alternate", hrefLang, href: index$7.buildCanonicalUrl(siteName, href) }, index2));
|
|
959
|
+
};
|
|
974
960
|
const JsonLd = ({ schemas }) => {
|
|
975
961
|
const graph = index$5.buildGraph(schemas);
|
|
976
962
|
if (!graph.length) {
|
|
@@ -990,18 +976,42 @@ const JsonLd = ({ schemas }) => {
|
|
|
990
976
|
}
|
|
991
977
|
);
|
|
992
978
|
};
|
|
993
|
-
const
|
|
994
|
-
|
|
979
|
+
const OpenGraph = ({ meta, options }) => {
|
|
980
|
+
const { withTwitterCard = true } = options ?? {};
|
|
981
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
982
|
+
meta.map(({ property, content }, index2) => /* @__PURE__ */ jsxRuntime.jsx("meta", { property, content }, index2)),
|
|
983
|
+
withTwitterCard && /* @__PURE__ */ jsxRuntime.jsx("meta", { name: "twitter:card", content: "summary_large_image" })
|
|
984
|
+
] });
|
|
995
985
|
};
|
|
986
|
+
function buildPlaceholders(siteName, lang) {
|
|
987
|
+
return {
|
|
988
|
+
siteName,
|
|
989
|
+
currentYear: index$1.getCurrentYear(lang),
|
|
990
|
+
currentMonth: index$1.getCurrentMonth(lang)
|
|
991
|
+
};
|
|
992
|
+
}
|
|
993
|
+
function replacePlaceholders(text, placeholders) {
|
|
994
|
+
Object.entries(placeholders).forEach(([placeholder, replacement]) => {
|
|
995
|
+
const regex = new RegExp(`{{${placeholder}}}`, "g");
|
|
996
|
+
text = text.replace(regex, replacement);
|
|
997
|
+
});
|
|
998
|
+
return text.trim();
|
|
999
|
+
}
|
|
1000
|
+
function getSeoMetaItem(item, placeholders) {
|
|
1001
|
+
if (typeof item === "string") {
|
|
1002
|
+
return replacePlaceholders(item, placeholders);
|
|
1003
|
+
}
|
|
1004
|
+
return item(placeholders);
|
|
1005
|
+
}
|
|
996
1006
|
const Seo = ({
|
|
997
1007
|
children,
|
|
998
1008
|
pathname,
|
|
999
|
-
locale,
|
|
1000
|
-
|
|
1001
|
-
description,
|
|
1009
|
+
lang: locale,
|
|
1010
|
+
meta,
|
|
1002
1011
|
canonicalUrl,
|
|
1003
|
-
hrefLangs
|
|
1004
|
-
structuredData
|
|
1012
|
+
hrefLangs,
|
|
1013
|
+
structuredData,
|
|
1014
|
+
openGraph
|
|
1005
1015
|
}) => {
|
|
1006
1016
|
const { metadata: siteMetadata, logo: siteLogo, localization } = index.useSiteContext();
|
|
1007
1017
|
const { name: siteName, seo: siteSeo } = siteMetadata;
|
|
@@ -1011,14 +1021,15 @@ const Seo = ({
|
|
|
1011
1021
|
const placeholders = buildPlaceholders(siteName, lang);
|
|
1012
1022
|
const siteUrl = index$7.buildCanonicalUrl(siteName);
|
|
1013
1023
|
const pageUrl = index$7.buildCanonicalUrl(siteName, pathname);
|
|
1014
|
-
const pageTitle = getSeoMetaItem(title ?? defaultTitle, placeholders);
|
|
1015
|
-
const pageDescription = getSeoMetaItem(description ?? defaultDescription, placeholders);
|
|
1024
|
+
const pageTitle = getSeoMetaItem((meta == null ? void 0 : meta.title) ?? defaultTitle, placeholders);
|
|
1025
|
+
const pageDescription = getSeoMetaItem((meta == null ? void 0 : meta.description) ?? defaultDescription, placeholders);
|
|
1016
1026
|
const siteData = { url: siteUrl, name: siteName, logo: siteLogo };
|
|
1017
1027
|
const pageData = { url: pageUrl, title: pageTitle, description: pageDescription };
|
|
1018
1028
|
const organizationSchema = index$5.buildOrganizationSchema({ site: siteData, lang });
|
|
1019
1029
|
const websiteSchema = index$5.buildWebsiteSchema({ site: siteData, lang });
|
|
1020
1030
|
const entitySchema = index$5.getEntitySchema({ site: siteData, page: pageData, structuredData });
|
|
1021
1031
|
const webpageSchema = index$5.buildWebpageSchema({ site: siteData, page: pageData, lang }, entitySchema);
|
|
1032
|
+
const openGraphMeta = index$5.buildOpenGraphMeta({ site: siteData, page: pageData, content: openGraph == null ? void 0 : openGraph.content, lang });
|
|
1022
1033
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1023
1034
|
/* @__PURE__ */ jsxRuntime.jsx("html", { lang }),
|
|
1024
1035
|
/* @__PURE__ */ jsxRuntime.jsx("title", { children: pageTitle }),
|
|
@@ -1026,6 +1037,7 @@ const Seo = ({
|
|
|
1026
1037
|
/* @__PURE__ */ jsxRuntime.jsx("link", { rel: "canonical", href: canonicalUrl ?? pageUrl }),
|
|
1027
1038
|
/* @__PURE__ */ jsxRuntime.jsx(HrefLangs, { siteName, hrefLangs }),
|
|
1028
1039
|
/* @__PURE__ */ jsxRuntime.jsx(JsonLd, { schemas: { organization: organizationSchema, website: websiteSchema, webpage: webpageSchema } }),
|
|
1040
|
+
/* @__PURE__ */ jsxRuntime.jsx(OpenGraph, { meta: openGraphMeta, options: openGraph == null ? void 0 : openGraph.options }),
|
|
1029
1041
|
children
|
|
1030
1042
|
] });
|
|
1031
1043
|
};
|
|
@@ -6,10 +6,10 @@ import { Link as Link$2 } from "gatsby";
|
|
|
6
6
|
import "@mdx-js/react";
|
|
7
7
|
import "react-i18next";
|
|
8
8
|
import "./index-BJRvnR8Q.mjs";
|
|
9
|
-
import "./index-
|
|
9
|
+
import "./index-HgCW5XhG.mjs";
|
|
10
10
|
import "@chakra-ui/icons";
|
|
11
11
|
import { u as useLocalization } from "./index-DHURrUMW.mjs";
|
|
12
|
-
import {
|
|
12
|
+
import { i as isAbsolutePath, c as isRelativePath } from "./index-Bhur6qbX.mjs";
|
|
13
13
|
const SiteContext = createContext(null);
|
|
14
14
|
const SiteProvider = ({ children, ...context }) => {
|
|
15
15
|
const value = useMemo(() => context, []);
|
package/dist/index.cjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index-
|
|
4
|
-
const index$
|
|
5
|
-
const index$
|
|
6
|
-
const index$
|
|
7
|
-
const index$
|
|
8
|
-
const index$
|
|
3
|
+
const index = require("./index-ISfgFSXE.js");
|
|
4
|
+
const index$3 = require("./index-CxuOu0E2.js");
|
|
5
|
+
const index$5 = require("./index-DDg_PkD2.js");
|
|
6
|
+
const index$6 = require("./index-DAPaiozu.js");
|
|
7
|
+
const index$c = require("./index-ma-iV7GU.js");
|
|
8
|
+
const index$d = require("./index-CuIVcnIS.js");
|
|
9
9
|
const i18n = require("./i18n/index.cjs");
|
|
10
10
|
const layout = require("./layout/index.cjs");
|
|
11
|
-
const index$
|
|
12
|
-
const index$
|
|
13
|
-
const index$
|
|
14
|
-
const index$
|
|
15
|
-
const index$
|
|
11
|
+
const index$7 = require("./index-BAxlqkw0.js");
|
|
12
|
+
const index$2 = require("./index-CMLDQbgR.js");
|
|
13
|
+
const index$1 = require("./index-C6MG_f24.js");
|
|
14
|
+
const index$a = require("./index-BKWX6mIo.js");
|
|
15
|
+
const index$9 = require("./index-DHKoOk4o.js");
|
|
16
16
|
const index$b = require("./index-ov4J7p3D.js");
|
|
17
|
-
const index$
|
|
18
|
-
const index$
|
|
17
|
+
const index$8 = require("./index-CAjUjAgI.js");
|
|
18
|
+
const index$4 = require("./index-CbuiYkSg.js");
|
|
19
19
|
exports.ActionButton = index.ActionButton;
|
|
20
20
|
exports.ArticleCard = index.ArticleCard;
|
|
21
21
|
exports.ArticleCardGrid = index.ArticleCardGrid;
|
|
@@ -48,65 +48,66 @@ exports.Table = index.Table;
|
|
|
48
48
|
exports.Tabs = index.Tabs;
|
|
49
49
|
exports.TermsAndConditions = index.TermsAndConditions;
|
|
50
50
|
exports.Tip = index.Tip;
|
|
51
|
-
exports.CasinoTable = index$
|
|
52
|
-
exports.Container = index$
|
|
53
|
-
exports.CopyText = index$
|
|
54
|
-
exports.LinkButton = index$
|
|
55
|
-
exports.Logo = index$
|
|
56
|
-
exports.Rating = index$
|
|
57
|
-
exports.SocialNetwork = index$
|
|
58
|
-
exports.SocialNetworks = index$
|
|
59
|
-
exports.H1 = index$
|
|
60
|
-
exports.H2 = index$
|
|
61
|
-
exports.H3 = index$
|
|
62
|
-
exports.OL = index$
|
|
63
|
-
exports.P = index$
|
|
64
|
-
exports.UL = index$
|
|
65
|
-
exports.Image = index$
|
|
66
|
-
exports.Link = index$
|
|
67
|
-
exports.PageProvider = index$
|
|
68
|
-
exports.SiteProvider = index$
|
|
69
|
-
exports.usePageContext = index$
|
|
70
|
-
exports.useSiteContext = index$
|
|
71
|
-
exports.useLocalization = index$
|
|
72
|
-
exports.usePrimaryColors = index$
|
|
51
|
+
exports.CasinoTable = index$3.CasinoTable;
|
|
52
|
+
exports.Container = index$3.Container;
|
|
53
|
+
exports.CopyText = index$3.CopyText;
|
|
54
|
+
exports.LinkButton = index$3.LinkButton;
|
|
55
|
+
exports.Logo = index$3.Logo;
|
|
56
|
+
exports.Rating = index$3.Rating;
|
|
57
|
+
exports.SocialNetwork = index$3.SocialNetwork;
|
|
58
|
+
exports.SocialNetworks = index$3.SocialNetworks;
|
|
59
|
+
exports.H1 = index$5.Heading1;
|
|
60
|
+
exports.H2 = index$5.Heading2;
|
|
61
|
+
exports.H3 = index$5.Heading3;
|
|
62
|
+
exports.OL = index$5.Ordered;
|
|
63
|
+
exports.P = index$5.Paragraph;
|
|
64
|
+
exports.UL = index$5.Unordered;
|
|
65
|
+
exports.Image = index$6.Image;
|
|
66
|
+
exports.Link = index$6.Link;
|
|
67
|
+
exports.PageProvider = index$6.PageProvider;
|
|
68
|
+
exports.SiteProvider = index$6.SiteProvider;
|
|
69
|
+
exports.usePageContext = index$6.usePageContext;
|
|
70
|
+
exports.useSiteContext = index$6.useSiteContext;
|
|
71
|
+
exports.useLocalization = index$c.useLocalization;
|
|
72
|
+
exports.usePrimaryColors = index$d.usePrimaryColors;
|
|
73
73
|
exports.DEFAULT_LANGUAGE = i18n.DEFAULT_LANGUAGE;
|
|
74
74
|
exports.resources = i18n.resources;
|
|
75
75
|
exports.Layout = layout;
|
|
76
|
-
exports.MdxProvider = index$
|
|
77
|
-
exports.CasinoCharacteristic = index$
|
|
78
|
-
exports.CasinoTableColumn = index$
|
|
79
|
-
exports.GameCharacteristic = index$
|
|
80
|
-
exports.GameVolatility = index$
|
|
81
|
-
exports.InformerType = index$
|
|
82
|
-
exports.Animation = index$
|
|
83
|
-
exports.
|
|
84
|
-
exports.getLocale = index$
|
|
85
|
-
exports.getLocales = index$
|
|
86
|
-
exports.getNavigation = index$
|
|
87
|
-
exports.getSiteName = index$
|
|
88
|
-
exports.buildGameReviewSchema = index$
|
|
89
|
-
exports.buildGraph = index$
|
|
90
|
-
exports.
|
|
91
|
-
exports.
|
|
92
|
-
exports.
|
|
93
|
-
exports.
|
|
94
|
-
exports.
|
|
95
|
-
exports.
|
|
96
|
-
exports.
|
|
97
|
-
exports.
|
|
98
|
-
exports.
|
|
99
|
-
exports.
|
|
100
|
-
exports.
|
|
76
|
+
exports.MdxProvider = index$7.MdxProvider;
|
|
77
|
+
exports.CasinoCharacteristic = index$2.CasinoCharacteristic;
|
|
78
|
+
exports.CasinoTableColumn = index$2.CasinoTableColumn;
|
|
79
|
+
exports.GameCharacteristic = index$2.GameCharacteristic;
|
|
80
|
+
exports.GameVolatility = index$2.GameVolatility;
|
|
81
|
+
exports.InformerType = index$2.InformerType;
|
|
82
|
+
exports.Animation = index$1.Animation;
|
|
83
|
+
exports.buildSeoFromStrapi = index$a.buildSeoFromStrapi;
|
|
84
|
+
exports.getLocale = index$a.getLocale;
|
|
85
|
+
exports.getLocales = index$a.getLocales;
|
|
86
|
+
exports.getNavigation = index$a.getNavigation;
|
|
87
|
+
exports.getSiteName = index$a.getSiteName;
|
|
88
|
+
exports.buildGameReviewSchema = index$9.buildGameReviewSchema;
|
|
89
|
+
exports.buildGraph = index$9.buildGraph;
|
|
90
|
+
exports.buildOpenGraphMeta = index$9.buildOpenGraphMeta;
|
|
91
|
+
exports.buildOrganizationSchema = index$9.buildOrganizationSchema;
|
|
92
|
+
exports.buildWebpageSchema = index$9.buildWebpageSchema;
|
|
93
|
+
exports.buildWebsiteSchema = index$9.buildWebsiteSchema;
|
|
94
|
+
exports.getCurrencySymbol = index$9.getCurrencySymbol;
|
|
95
|
+
exports.getEntitySchema = index$9.getEntitySchema;
|
|
96
|
+
exports.getSeededRandomComparator = index$9.getSeededRandomComparator;
|
|
97
|
+
exports.isStrapiContent = index$9.isStrapiContent;
|
|
98
|
+
exports.isStrapiPageContext = index$9.isStrapiPageContext;
|
|
99
|
+
exports.isStrapiPageData = index$9.isStrapiPageData;
|
|
100
|
+
exports.isStrapiRichText = index$9.isStrapiRichText;
|
|
101
|
+
exports.randomComparator = index$9.randomComparator;
|
|
101
102
|
exports.formatDate = index$b.formatDate;
|
|
102
103
|
exports.formatNumber = index$b.formatNumber;
|
|
103
104
|
exports.getCurrentMonth = index$b.getCurrentMonth;
|
|
104
105
|
exports.getCurrentYear = index$b.getCurrentYear;
|
|
105
106
|
exports.round = index$b.round;
|
|
106
107
|
exports.toFixedTwo = index$b.toFixedTwo;
|
|
107
|
-
exports.buildCanonicalUrl = index$
|
|
108
|
-
exports.buildPath = index$
|
|
109
|
-
exports.isAbsolutePath = index$
|
|
110
|
-
exports.isRelativePath = index$
|
|
111
|
-
exports.DARK_THEME_COLOR = index$
|
|
112
|
-
exports.LIGHT_THEME_COLOR = index$
|
|
108
|
+
exports.buildCanonicalUrl = index$8.buildCanonicalUrl;
|
|
109
|
+
exports.buildPath = index$8.buildPath;
|
|
110
|
+
exports.isAbsolutePath = index$8.isAbsolutePath;
|
|
111
|
+
exports.isRelativePath = index$8.isRelativePath;
|
|
112
|
+
exports.DARK_THEME_COLOR = index$4.DARK_THEME_COLOR;
|
|
113
|
+
exports.LIGHT_THEME_COLOR = index$4.LIGHT_THEME_COLOR;
|
package/dist/index.mjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { A, a, b, c,
|
|
2
|
-
import { C as C2, a as a2, b as b2, L as L2, c as c2, R, S as S2, d as d2 } from "./index-
|
|
1
|
+
import { A, a, b, c, d, e, f, B, g, C, h, i, F, j, k, G, l, m, n, o, H, I, L, N, P, p, S, q, T, r, s, t } from "./index-DWrKuZCO.mjs";
|
|
2
|
+
import { C as C2, a as a2, b as b2, L as L2, c as c2, R, S as S2, d as d2 } from "./index-Cp-_VJLP.mjs";
|
|
3
3
|
import { H as H2, a as a3, b as b3, O, P as P2, U } from "./index-BEjKnOZA.mjs";
|
|
4
|
-
import { I as I2, L as L3, P as P3, S as S3, u, a as a4 } from "./index-
|
|
4
|
+
import { I as I2, L as L3, P as P3, S as S3, u, a as a4 } from "./index-O8N4FTK9.mjs";
|
|
5
5
|
import { u as u2 } from "./index-DHURrUMW.mjs";
|
|
6
|
-
import { u as u3 } from "./index-
|
|
6
|
+
import { u as u3 } from "./index-CKrYF12N.mjs";
|
|
7
7
|
import { DEFAULT_LANGUAGE, resources } from "./i18n/index.mjs";
|
|
8
8
|
import { default as default2 } from "./layout/index.mjs";
|
|
9
|
-
import { M } from "./index-
|
|
10
|
-
import {
|
|
9
|
+
import { M } from "./index-B7EwEV0P.mjs";
|
|
10
|
+
import { C as C3, a as a5, G as G2, b as b4, I as I3 } from "./index-HgCW5XhG.mjs";
|
|
11
11
|
import { A as A2 } from "./index-BJRvnR8Q.mjs";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { f as f3,
|
|
15
|
-
import {
|
|
12
|
+
import { b as b5, g as g2, a as a6, c as c3, d as d3 } from "./index-Bx11bnvY.mjs";
|
|
13
|
+
import { b as b6, a as a7, c as c4, d as d4, e as e2, f as f2, g as g3, h as h2, i as i2, j as j2, k as k2, l as l2, m as m2, r as r2 } from "./index-Ckj5oSGb.mjs";
|
|
14
|
+
import { f as f3, a as a8, g as g4, b as b7, r as r3, t as t2 } from "./index-BVAydcbQ.mjs";
|
|
15
|
+
import { b as b8, a as a9, i as i3, c as c5 } from "./index-Bhur6qbX.mjs";
|
|
16
16
|
import { D, L as L4 } from "./index-BRVKhbs6.mjs";
|
|
17
17
|
export {
|
|
18
18
|
A as ActionButton,
|
|
@@ -20,31 +20,31 @@ export {
|
|
|
20
20
|
a as ArticleCard,
|
|
21
21
|
b as ArticleCardGrid,
|
|
22
22
|
c as ArticleInfoCard,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
d as ArticleMeta,
|
|
24
|
+
e as Author,
|
|
25
|
+
f as AuthorCard,
|
|
26
26
|
B as BonusCard,
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
g as BonusCardGrid,
|
|
28
|
+
C3 as CasinoCharacteristic,
|
|
29
29
|
C2 as CasinoTable,
|
|
30
|
-
|
|
30
|
+
a5 as CasinoTableColumn,
|
|
31
31
|
C as Center,
|
|
32
|
-
|
|
32
|
+
h as Contacts,
|
|
33
33
|
a2 as Container,
|
|
34
|
-
|
|
34
|
+
i as CookiePolicy,
|
|
35
35
|
b2 as CopyText,
|
|
36
36
|
D as DARK_THEME_COLOR,
|
|
37
37
|
DEFAULT_LANGUAGE,
|
|
38
38
|
F as Faq,
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
j as FeatureCard,
|
|
40
|
+
k as FeatureCardGrid,
|
|
41
41
|
G as GameCard,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
l as GameCardGrid,
|
|
43
|
+
G2 as GameCharacteristic,
|
|
44
|
+
m as GameDemo,
|
|
45
|
+
n as GameInfo,
|
|
46
|
+
b4 as GameVolatility,
|
|
47
|
+
o as Grid,
|
|
48
48
|
H2 as H1,
|
|
49
49
|
a3 as H2,
|
|
50
50
|
b3 as H3,
|
|
@@ -63,44 +63,45 @@ export {
|
|
|
63
63
|
O as OL,
|
|
64
64
|
P2 as P,
|
|
65
65
|
P3 as PageProvider,
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
P as PrivacyPolicy,
|
|
67
|
+
p as ProsCons,
|
|
68
68
|
R as Rating,
|
|
69
69
|
S as Seo,
|
|
70
70
|
S3 as SiteProvider,
|
|
71
71
|
S2 as SocialNetwork,
|
|
72
72
|
d2 as SocialNetworks,
|
|
73
|
-
|
|
73
|
+
q as StrapiContentRenderer,
|
|
74
74
|
T as Table,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
r as Tabs,
|
|
76
|
+
s as TermsAndConditions,
|
|
77
|
+
t as Tip,
|
|
78
78
|
U as UL,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
79
|
+
b8 as buildCanonicalUrl,
|
|
80
|
+
b6 as buildGameReviewSchema,
|
|
81
|
+
a7 as buildGraph,
|
|
82
|
+
c4 as buildOpenGraphMeta,
|
|
83
|
+
d4 as buildOrganizationSchema,
|
|
84
|
+
a9 as buildPath,
|
|
85
|
+
b5 as buildSeoFromStrapi,
|
|
86
|
+
e2 as buildWebpageSchema,
|
|
85
87
|
f2 as buildWebsiteSchema,
|
|
86
|
-
e2 as extractSeoData,
|
|
87
88
|
f3 as formatDate,
|
|
88
|
-
|
|
89
|
+
a8 as formatNumber,
|
|
89
90
|
g3 as getCurrencySymbol,
|
|
90
|
-
|
|
91
|
-
|
|
91
|
+
g4 as getCurrentMonth,
|
|
92
|
+
b7 as getCurrentYear,
|
|
92
93
|
h2 as getEntitySchema,
|
|
93
|
-
|
|
94
|
-
|
|
94
|
+
g2 as getLocale,
|
|
95
|
+
a6 as getLocales,
|
|
95
96
|
c3 as getNavigation,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
97
|
+
i2 as getSeededRandomComparator,
|
|
98
|
+
d3 as getSiteName,
|
|
99
|
+
i3 as isAbsolutePath,
|
|
100
|
+
c5 as isRelativePath,
|
|
101
|
+
j2 as isStrapiContent,
|
|
102
|
+
k2 as isStrapiPageContext,
|
|
103
|
+
l2 as isStrapiPageData,
|
|
104
|
+
m2 as isStrapiRichText,
|
|
104
105
|
r2 as randomComparator,
|
|
105
106
|
resources,
|
|
106
107
|
r3 as round,
|