@anywayseo/tools 6.0.0 → 6.2.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 +3 -3
- package/dist/components/index.mjs +3 -3
- 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.cjs +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/i18n/index.cjs +24 -12
- package/dist/i18n/index.mjs +24 -12
- package/dist/i18n/resources/bn/index.d.ts +331 -0
- package/dist/i18n/resources/cs/index.d.ts +331 -0
- package/dist/i18n/resources/el/index.d.ts +331 -0
- package/dist/i18n/resources/hu/index.d.ts +331 -0
- package/dist/i18n/resources/nb/index.d.ts +331 -0
- package/dist/i18n/resources/nl/index.d.ts +331 -0
- package/dist/i18n/resources/pl/index.d.ts +331 -0
- package/dist/i18n/resources/ro/index.d.ts +331 -0
- package/dist/i18n/resources/sr/index.d.ts +331 -0
- package/dist/i18n/resources/sv/index.d.ts +331 -0
- package/dist/i18n/resources/tr/index.d.ts +331 -0
- package/dist/i18n/resources/uz/index.d.ts +331 -0
- package/dist/{index-C7buhUOk.mjs → index-2sU4ya6z.mjs} +3 -3
- package/dist/{index-CUDzMwnz.mjs → index-B--qmL1V.mjs} +29 -20
- package/dist/{index-U-DmPFa7.mjs → index-B5WurBlm.mjs} +1 -1
- package/dist/{index-DJSBjQzq.js → index-BAxlqkw0.js} +2 -2
- package/dist/{index-BJsA8Upb.js → index-BKWX6mIo.js} +29 -20
- package/dist/{index-C1kr7Vd-.mjs → index-BS5T9Il4.mjs} +1 -1
- package/dist/{index-0AAkKSsc.mjs → index-BTfTkIed.mjs} +63 -9
- package/dist/{index-BhzKUTPZ.mjs → index-BtS01kyg.mjs} +45 -33
- package/dist/{index-RzByAgHO.mjs → index-C6A-3gBz.mjs} +4577 -432
- package/dist/{index-CBRFCYhV.js → index-CMLDQbgR.js} +4577 -432
- package/dist/{index-CVv755RW.js → index-CuIVcnIS.js} +1 -1
- package/dist/{index-BSAasfl2.js → index-CxuOu0E2.js} +3 -3
- package/dist/{index-DZc8PJET.js → index-DAPaiozu.js} +1 -1
- package/dist/{index-BU1gLt1p.js → index-DHKoOk4o.js} +54 -0
- package/dist/{index-B5SWTYZm.js → index-ISfgFSXE.js} +45 -33
- package/dist/{index-B5C9u9UE.mjs → index-TcBorTSf.mjs} +2 -2
- package/dist/index.cjs +11 -9
- package/dist/index.mjs +20 -18
- package/dist/layout/header/locale-switcher/icons/bangladesh/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/belgium/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/canada/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/czechia/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/greece/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/hungary/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/index.d.ts +20 -1
- package/dist/layout/header/locale-switcher/icons/india/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/morocco/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/netherlands/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/nigeria/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/norway/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/poland/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/romania/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/serbia/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/south-africa/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/sweden/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/switzerland/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/turkey/index.d.ts +2 -0
- package/dist/layout/header/locale-switcher/icons/uzbekistan/index.d.ts +2 -0
- package/dist/layout/index.cjs +392 -48
- package/dist/layout/index.mjs +392 -48
- package/dist/providers/index.cjs +2 -2
- package/dist/providers/index.mjs +2 -2
- package/dist/types/api/strapi-page.d.ts +13 -12
- package/dist/types/content/seo/index.d.ts +56 -3
- package/dist/types/i18n/index.d.ts +1 -1
- 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-guards.d.ts +2 -1
- package/dist/utils/api/strapi-seo.d.ts +2 -13
- package/dist/utils/index.cjs +5 -3
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.mjs +14 -12
- 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 +1 -1
- package/dist/components/seo/types.d.ts +0 -14
- /package/dist/types/{json-ld → seo/json-ld}/index.d.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const react = require("@chakra-ui/react");
|
|
3
3
|
require("./index-C6MG_f24.js");
|
|
4
|
-
require("./index-
|
|
4
|
+
require("./index-CMLDQbgR.js");
|
|
5
5
|
const index = require("./index-CbuiYkSg.js");
|
|
6
6
|
function usePrimaryColors() {
|
|
7
7
|
const color = react.useColorModeValue(index.LIGHT_THEME_COLOR, index.DARK_THEME_COLOR);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
3
|
const react = require("@chakra-ui/react");
|
|
4
|
-
const index = require("./index-
|
|
4
|
+
const index = require("./index-DAPaiozu.js");
|
|
5
5
|
require("@mdx-js/react");
|
|
6
6
|
const reactI18next = require("react-i18next");
|
|
7
7
|
const index$2 = require("./index-C6MG_f24.js");
|
|
8
|
-
const index$3 = require("./index-
|
|
8
|
+
const index$3 = require("./index-CMLDQbgR.js");
|
|
9
9
|
const icons = require("@chakra-ui/icons");
|
|
10
10
|
require("react");
|
|
11
11
|
require("react-medium-image-zoom");
|
|
12
|
-
const index$1 = require("./index-
|
|
12
|
+
const index$1 = require("./index-CuIVcnIS.js");
|
|
13
13
|
const index$4 = require("./index-ov4J7p3D.js");
|
|
14
14
|
const FacebookIcon = (props) => {
|
|
15
15
|
return /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", "aria-label": "Facebook", ...props, children: [
|
|
@@ -7,7 +7,7 @@ const gatsby = require("gatsby");
|
|
|
7
7
|
require("@mdx-js/react");
|
|
8
8
|
require("react-i18next");
|
|
9
9
|
require("./index-C6MG_f24.js");
|
|
10
|
-
require("./index-
|
|
10
|
+
require("./index-CMLDQbgR.js");
|
|
11
11
|
require("@chakra-ui/icons");
|
|
12
12
|
const index = require("./index-ma-iV7GU.js");
|
|
13
13
|
const index$1 = require("./index-CAjUjAgI.js");
|
|
@@ -5,6 +5,11 @@ function isStrapiContent(array) {
|
|
|
5
5
|
(item) => typeof item === "object" && item !== null && "__typename" in item && typeof item.__typename === "string"
|
|
6
6
|
);
|
|
7
7
|
}
|
|
8
|
+
function isStrapiRichText(value) {
|
|
9
|
+
return Boolean(
|
|
10
|
+
value && typeof value === "object" && "__typename" in value && value.__typename === "STRAPI__COMPONENT_CONTENT_RICH_TEXT"
|
|
11
|
+
);
|
|
12
|
+
}
|
|
8
13
|
function isStrapiPageData(data) {
|
|
9
14
|
const maybe = data;
|
|
10
15
|
return Boolean(typeof data === "object" && maybe.content);
|
|
@@ -120,6 +125,53 @@ function buildGameReviewSchema(params) {
|
|
|
120
125
|
}
|
|
121
126
|
};
|
|
122
127
|
}
|
|
128
|
+
function buildOpenGraphMeta(params) {
|
|
129
|
+
const { site, page, lang, content } = params;
|
|
130
|
+
const { article, image } = content ?? {};
|
|
131
|
+
const type = article ? "article" : "website";
|
|
132
|
+
const meta = [
|
|
133
|
+
{ property: "og:site_name", content: site.name },
|
|
134
|
+
{ property: "og:locale", content: lang },
|
|
135
|
+
{ property: "og:type", content: type },
|
|
136
|
+
{ property: "og:url", content: page.url },
|
|
137
|
+
{ property: "og:title", content: page.title },
|
|
138
|
+
{ property: "og:description", content: page.description }
|
|
139
|
+
];
|
|
140
|
+
if (image) {
|
|
141
|
+
const imageMeta = [
|
|
142
|
+
{ property: "og:image", content: image.url },
|
|
143
|
+
{ property: "og:image:alt", content: image.alt }
|
|
144
|
+
];
|
|
145
|
+
if (image.width && image.height) {
|
|
146
|
+
imageMeta.push(
|
|
147
|
+
{ property: "og:image:width", content: String(image.width) },
|
|
148
|
+
{ property: "og:image:height", content: String(image.height) }
|
|
149
|
+
);
|
|
150
|
+
}
|
|
151
|
+
meta.push(...imageMeta);
|
|
152
|
+
}
|
|
153
|
+
if (article) {
|
|
154
|
+
const articleMeta = [
|
|
155
|
+
{ property: "og:article:published_time", content: article.createdAt },
|
|
156
|
+
{ property: "og:article:modified_time", content: article.updatedAt }
|
|
157
|
+
];
|
|
158
|
+
if (article.author) {
|
|
159
|
+
articleMeta.push({ property: "og:article:author", content: article.author });
|
|
160
|
+
}
|
|
161
|
+
if (article.section) {
|
|
162
|
+
articleMeta.push({ property: "og:article:section", content: article.section });
|
|
163
|
+
}
|
|
164
|
+
if (article.tags && article.tags.length) {
|
|
165
|
+
const articleTags = article.tags.map((tag) => ({
|
|
166
|
+
property: "og:article:tag",
|
|
167
|
+
content: tag
|
|
168
|
+
}));
|
|
169
|
+
articleMeta.push(...articleTags);
|
|
170
|
+
}
|
|
171
|
+
meta.push(...articleMeta);
|
|
172
|
+
}
|
|
173
|
+
return meta;
|
|
174
|
+
}
|
|
123
175
|
function randomComparator() {
|
|
124
176
|
return Math.random() - 0.5;
|
|
125
177
|
}
|
|
@@ -133,6 +185,7 @@ function getSeededRandomComparator(seed) {
|
|
|
133
185
|
}
|
|
134
186
|
exports.buildGameReviewSchema = buildGameReviewSchema;
|
|
135
187
|
exports.buildGraph = buildGraph;
|
|
188
|
+
exports.buildOpenGraphMeta = buildOpenGraphMeta;
|
|
136
189
|
exports.buildOrganizationSchema = buildOrganizationSchema;
|
|
137
190
|
exports.buildWebpageSchema = buildWebpageSchema;
|
|
138
191
|
exports.buildWebsiteSchema = buildWebsiteSchema;
|
|
@@ -142,4 +195,5 @@ exports.getSeededRandomComparator = getSeededRandomComparator;
|
|
|
142
195
|
exports.isStrapiContent = isStrapiContent;
|
|
143
196
|
exports.isStrapiPageContext = isStrapiPageContext;
|
|
144
197
|
exports.isStrapiPageData = isStrapiPageData;
|
|
198
|
+
exports.isStrapiRichText = isStrapiRichText;
|
|
145
199
|
exports.randomComparator = randomComparator;
|
|
@@ -3,18 +3,18 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
3
3
|
const react = require("@chakra-ui/react");
|
|
4
4
|
const reactI18next = require("react-i18next");
|
|
5
5
|
const react$2 = require("@mdx-js/react");
|
|
6
|
-
const index = require("./index-
|
|
6
|
+
const index = require("./index-DAPaiozu.js");
|
|
7
7
|
require("./index-C6MG_f24.js");
|
|
8
|
-
const index$6 = require("./index-
|
|
8
|
+
const index$6 = require("./index-CMLDQbgR.js");
|
|
9
9
|
const icons = require("@chakra-ui/icons");
|
|
10
10
|
require("react-medium-image-zoom");
|
|
11
11
|
const react$1 = require("react");
|
|
12
|
-
const index$2 = require("./index-
|
|
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
|
-
const index$4 = require("./index-
|
|
17
|
+
const index$4 = require("./index-CuIVcnIS.js");
|
|
18
18
|
const i18next = require("i18next");
|
|
19
19
|
const Markdown = require("react-markdown");
|
|
20
20
|
const ArticleMetaIconMap = {
|
|
@@ -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
|
};
|
|
@@ -2,9 +2,9 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { MDXProvider } from "@mdx-js/react";
|
|
3
3
|
import "react-i18next";
|
|
4
4
|
import "@chakra-ui/react";
|
|
5
|
-
import { I as Image, L as Link } from "./index-
|
|
5
|
+
import { I as Image, L as Link } from "./index-B5WurBlm.mjs";
|
|
6
6
|
import "./index-BJRvnR8Q.mjs";
|
|
7
|
-
import "./index-
|
|
7
|
+
import "./index-C6A-3gBz.mjs";
|
|
8
8
|
import "@chakra-ui/icons";
|
|
9
9
|
import "react";
|
|
10
10
|
import { P as Paragraph, U as Unordered, O as Ordered, b as Heading3, a as Heading2, H as Heading1 } from "./index-BEjKnOZA.mjs";
|
package/dist/index.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index-
|
|
4
|
-
const index$1 = require("./index-
|
|
3
|
+
const index = require("./index-ISfgFSXE.js");
|
|
4
|
+
const index$1 = require("./index-CxuOu0E2.js");
|
|
5
5
|
const index$2 = require("./index-DDg_PkD2.js");
|
|
6
|
-
const index$3 = require("./index-
|
|
6
|
+
const index$3 = require("./index-DAPaiozu.js");
|
|
7
7
|
const index$4 = require("./index-ma-iV7GU.js");
|
|
8
|
-
const index$5 = require("./index-
|
|
8
|
+
const index$5 = require("./index-CuIVcnIS.js");
|
|
9
9
|
const i18n = require("./i18n/index.cjs");
|
|
10
10
|
const layout = require("./layout/index.cjs");
|
|
11
|
-
const index$6 = require("./index-
|
|
12
|
-
const index$7 = require("./index-
|
|
11
|
+
const index$6 = require("./index-BAxlqkw0.js");
|
|
12
|
+
const index$7 = require("./index-CMLDQbgR.js");
|
|
13
13
|
const index$8 = require("./index-C6MG_f24.js");
|
|
14
|
-
const index$9 = require("./index-
|
|
15
|
-
const index$a = require("./index-
|
|
14
|
+
const index$9 = require("./index-BKWX6mIo.js");
|
|
15
|
+
const index$a = require("./index-DHKoOk4o.js");
|
|
16
16
|
const index$b = require("./index-ov4J7p3D.js");
|
|
17
17
|
const index$c = require("./index-CAjUjAgI.js");
|
|
18
18
|
const index$d = require("./index-CbuiYkSg.js");
|
|
@@ -80,13 +80,14 @@ exports.GameCharacteristic = index$7.GameCharacteristic;
|
|
|
80
80
|
exports.GameVolatility = index$7.GameVolatility;
|
|
81
81
|
exports.InformerType = index$7.InformerType;
|
|
82
82
|
exports.Animation = index$8.Animation;
|
|
83
|
-
exports.
|
|
83
|
+
exports.buildSeoFromStrapi = index$9.buildSeoFromStrapi;
|
|
84
84
|
exports.getLocale = index$9.getLocale;
|
|
85
85
|
exports.getLocales = index$9.getLocales;
|
|
86
86
|
exports.getNavigation = index$9.getNavigation;
|
|
87
87
|
exports.getSiteName = index$9.getSiteName;
|
|
88
88
|
exports.buildGameReviewSchema = index$a.buildGameReviewSchema;
|
|
89
89
|
exports.buildGraph = index$a.buildGraph;
|
|
90
|
+
exports.buildOpenGraphMeta = index$a.buildOpenGraphMeta;
|
|
90
91
|
exports.buildOrganizationSchema = index$a.buildOrganizationSchema;
|
|
91
92
|
exports.buildWebpageSchema = index$a.buildWebpageSchema;
|
|
92
93
|
exports.buildWebsiteSchema = index$a.buildWebsiteSchema;
|
|
@@ -96,6 +97,7 @@ exports.getSeededRandomComparator = index$a.getSeededRandomComparator;
|
|
|
96
97
|
exports.isStrapiContent = index$a.isStrapiContent;
|
|
97
98
|
exports.isStrapiPageContext = index$a.isStrapiPageContext;
|
|
98
99
|
exports.isStrapiPageData = index$a.isStrapiPageData;
|
|
100
|
+
exports.isStrapiRichText = index$a.isStrapiRichText;
|
|
99
101
|
exports.randomComparator = index$a.randomComparator;
|
|
100
102
|
exports.formatDate = index$b.formatDate;
|
|
101
103
|
exports.formatNumber = index$b.formatNumber;
|
package/dist/index.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { A, a, b, c, n, o, d, B, e, C, r, q, F, f, g, G, h, i, j, p, H, I, L, N, s, P, S, k, T, l, t, m } from "./index-
|
|
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, n, o, d, B, e, C, r, q, F, f, g, G, h, i, j, p, H, I, L, N, s, P, S, k, T, l, t, m } from "./index-BtS01kyg.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-2sU4ya6z.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-B5WurBlm.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-BS5T9Il4.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 { a as a5, C as C3, b as b4, G as G2, I as I3 } from "./index-
|
|
9
|
+
import { M } from "./index-TcBorTSf.mjs";
|
|
10
|
+
import { a as a5, C as C3, b as b4, G as G2, I as I3 } from "./index-C6A-3gBz.mjs";
|
|
11
11
|
import { A as A2 } from "./index-BJRvnR8Q.mjs";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
12
|
+
import { d as d3, a as a6, b as b5, c as c3, g as g2 } from "./index-B--qmL1V.mjs";
|
|
13
|
+
import { k as k2, d as d4, l as l2, e as e2, j as j2, f as f2, g as g3, h as h2, m as m2, i as i2, c as c4, b as b6, a as a7, r as r2 } from "./index-BTfTkIed.mjs";
|
|
14
14
|
import { f as f3, b as b7, a as a8, g as g4, r as r3, t as t2 } from "./index-BPthShL-.mjs";
|
|
15
15
|
import { a as a9, b as b8, c as c5, i as i3 } from "./index-CQC6DRGf.mjs";
|
|
16
16
|
import { D, L as L4 } from "./index-BRVKhbs6.mjs";
|
|
@@ -77,29 +77,31 @@ export {
|
|
|
77
77
|
m as Tip,
|
|
78
78
|
U as UL,
|
|
79
79
|
a9 as buildCanonicalUrl,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
k2 as buildGameReviewSchema,
|
|
81
|
+
d4 as buildGraph,
|
|
82
|
+
l2 as buildOpenGraphMeta,
|
|
83
|
+
e2 as buildOrganizationSchema,
|
|
83
84
|
b8 as buildPath,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
d3 as buildSeoFromStrapi,
|
|
86
|
+
j2 as buildWebpageSchema,
|
|
87
|
+
f2 as buildWebsiteSchema,
|
|
87
88
|
f3 as formatDate,
|
|
88
89
|
b7 as formatNumber,
|
|
89
90
|
g3 as getCurrencySymbol,
|
|
90
91
|
a8 as getCurrentMonth,
|
|
91
92
|
g4 as getCurrentYear,
|
|
92
|
-
|
|
93
|
+
h2 as getEntitySchema,
|
|
93
94
|
a6 as getLocale,
|
|
94
95
|
b5 as getLocales,
|
|
95
96
|
c3 as getNavigation,
|
|
96
|
-
|
|
97
|
+
m2 as getSeededRandomComparator,
|
|
97
98
|
g2 as getSiteName,
|
|
98
99
|
c5 as isAbsolutePath,
|
|
99
100
|
i3 as isRelativePath,
|
|
100
101
|
i2 as isStrapiContent,
|
|
101
|
-
|
|
102
|
-
|
|
102
|
+
c4 as isStrapiPageContext,
|
|
103
|
+
b6 as isStrapiPageData,
|
|
104
|
+
a7 as isStrapiRichText,
|
|
103
105
|
r2 as randomComparator,
|
|
104
106
|
resources,
|
|
105
107
|
r3 as round,
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
export { ArgentinaIcon } from './argentina';
|
|
2
|
+
export { BangladeshIcon } from './bangladesh';
|
|
3
|
+
export { BelgiumIcon } from './belgium';
|
|
2
4
|
export { BoliviaIcon } from './bolivia';
|
|
3
5
|
export { BrazilIcon } from './brazil';
|
|
4
6
|
export { BulgariaIcon } from './bulgaria';
|
|
7
|
+
export { CanadaIcon } from './canada';
|
|
5
8
|
export { ChileIcon } from './chile';
|
|
6
9
|
export { ColumbiaIcon } from './columbia';
|
|
7
10
|
export { CostaRicaIcon } from './costa-rica';
|
|
11
|
+
export { CzechiaIcon } from './czechia';
|
|
8
12
|
export { DenmarkIcon } from './denmark';
|
|
9
13
|
export { DominicanRepublicIcon } from './dominican-republic';
|
|
10
14
|
export { EcuadorIcon } from './ecuador';
|
|
@@ -13,17 +17,32 @@ export { FranceIcon } from './france';
|
|
|
13
17
|
export { GeorgiaIcon } from './georgia';
|
|
14
18
|
export { GermanyIcon } from './germany';
|
|
15
19
|
export { GlobeIcon } from './globe';
|
|
20
|
+
export { GreeceIcon } from './greece';
|
|
16
21
|
export { GuatemalaIcon } from './guatemala';
|
|
17
22
|
export { GuineaIcon } from './guinea';
|
|
18
23
|
export { HondurasIcon } from './honduras';
|
|
24
|
+
export { HungaryIcon } from './hungary';
|
|
25
|
+
export { IndiaIcon } from './india';
|
|
19
26
|
export { ItalyIcon } from './italy';
|
|
20
27
|
export { MexicoIcon } from './mexico';
|
|
28
|
+
export { MoroccoIcon } from './morocco';
|
|
29
|
+
export { NetherlandsIcon } from './netherlands';
|
|
21
30
|
export { NicaraguaIcon } from './nicaragua';
|
|
31
|
+
export { NigeriaIcon } from './nigeria';
|
|
32
|
+
export { NorwayIcon } from './norway';
|
|
22
33
|
export { PanamaIcon } from './panama';
|
|
23
34
|
export { ParaguayIcon } from './paraguay';
|
|
24
35
|
export { PeruIcon } from './peru';
|
|
25
|
-
export {
|
|
36
|
+
export { PolandIcon } from './poland';
|
|
37
|
+
export { RomaniaIcon } from './romania';
|
|
26
38
|
export { RussiaIcon } from './russia';
|
|
39
|
+
export { SalvadorIcon } from './salvador';
|
|
40
|
+
export { SerbiaIcon } from './serbia';
|
|
41
|
+
export { SouthAfricaIcon } from './south-africa';
|
|
27
42
|
export { SpainIcon } from './spain';
|
|
43
|
+
export { SwedenIcon } from './sweden';
|
|
44
|
+
export { SwitzerlandIcon } from './switzerland';
|
|
45
|
+
export { TurkeyIcon } from './turkey';
|
|
28
46
|
export { UruguayIcon } from './uruguay';
|
|
47
|
+
export { UzbekistanIcon } from './uzbekistan';
|
|
29
48
|
export { VenezuelaIcon } from './venezuela';
|