@anywayseo/tools 5.6.0 → 5.7.1

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.
Files changed (92) hide show
  1. package/dist/components/action-button/index.d.ts +5 -0
  2. package/dist/components/article-card/index.d.ts +7 -0
  3. package/dist/components/article-card-grid/index.d.ts +7 -0
  4. package/dist/components/article-info-card/index.d.ts +5 -0
  5. package/dist/components/base/article-meta/index.d.ts +7 -0
  6. package/dist/components/base/article-meta/item/index.d.ts +7 -0
  7. package/dist/components/base/copy-text/index.d.ts +6 -0
  8. package/dist/components/base/grid/index.d.ts +2 -4
  9. package/dist/components/base/index.d.ts +3 -0
  10. package/dist/components/base/rating/index.d.ts +10 -0
  11. package/dist/components/bonus-card-grid/index.d.ts +2 -4
  12. package/dist/components/casino-table/index.d.ts +8 -0
  13. package/dist/components/casino-table/row/casino-actions/index.d.ts +8 -0
  14. package/dist/components/casino-table/row/casino-bonus/index.d.ts +8 -0
  15. package/dist/components/casino-table/row/casino-info/index.d.ts +7 -0
  16. package/dist/components/casino-table/row/casino-info/item/index.d.ts +7 -0
  17. package/dist/components/casino-table/row/casino-info/utils.d.ts +2 -0
  18. package/dist/components/casino-table/row/casino-license/index.d.ts +5 -0
  19. package/dist/components/casino-table/row/casino-logo/index.d.ts +9 -0
  20. package/dist/components/casino-table/row/casino-name/index.d.ts +8 -0
  21. package/dist/components/casino-table/row/cell/index.d.ts +7 -0
  22. package/dist/components/casino-table/row/index.d.ts +7 -0
  23. package/dist/components/feature-card-grid/index.d.ts +2 -4
  24. package/dist/components/game-card-grid/index.d.ts +2 -4
  25. package/dist/components/game-demo/content/index.d.ts +1 -1
  26. package/dist/components/game-demo/index.d.ts +2 -2
  27. package/dist/components/game-demo/preview/alert/index.d.ts +3 -0
  28. package/dist/components/game-demo/preview/index.d.ts +2 -1
  29. package/dist/components/index.cjs +12 -3
  30. package/dist/components/index.d.ts +6 -0
  31. package/dist/components/index.mjs +32 -23
  32. package/dist/components/informer/index.d.ts +9 -0
  33. package/dist/components/informer/utils.d.ts +5 -0
  34. package/dist/components/tip/index.d.ts +3 -0
  35. package/dist/hooks/index.cjs +2 -2
  36. package/dist/hooks/index.mjs +2 -2
  37. package/dist/i18n/index.cjs +1 -1
  38. package/dist/i18n/index.mjs +1 -1
  39. package/dist/i18n/resources/bg/index.d.ts +51 -0
  40. package/dist/i18n/resources/da/index.d.ts +51 -0
  41. package/dist/i18n/resources/de/index.d.ts +51 -0
  42. package/dist/i18n/resources/en/index.d.ts +51 -0
  43. package/dist/i18n/resources/fi/index.d.ts +51 -0
  44. package/dist/i18n/resources/fr/index.d.ts +51 -0
  45. package/dist/i18n/resources/it/index.d.ts +51 -0
  46. package/dist/i18n/resources/ka/index.d.ts +51 -0
  47. package/dist/i18n/resources/pt/index.d.ts +51 -0
  48. package/dist/i18n/resources/ru/index.d.ts +51 -0
  49. package/dist/{index-DMR4Ptkt.js → index-B-k9oWE7.js} +606 -10
  50. package/dist/{index-D4zJ5RBA.js → index-BFkFqBM7.js} +5 -4
  51. package/dist/index-BUz6iLeg.mjs +402 -0
  52. package/dist/index-BeJTy4iY.mjs +26 -0
  53. package/dist/index-BfITsKAr.js +25 -0
  54. package/dist/{index-Drz_7u2p.mjs → index-C7z5qqm_.mjs} +21 -23
  55. package/dist/{index-DYS7zQW4.mjs → index-CB0JfZMx.mjs} +1 -1
  56. package/dist/{index-CR5rM7at.js → index-CNyyTj_C.js} +37 -36
  57. package/dist/{index-CWMHJGbL.mjs → index-CVN8I7r9.mjs} +616 -20
  58. package/dist/index-CzAt2Bs2.js +401 -0
  59. package/dist/{index-5J1CqqcW.js → index-D15SAjJc.js} +1 -1
  60. package/dist/{index-BzbpMLDD.mjs → index-DHURrUMW.mjs} +1 -1
  61. package/dist/{index-JUwyHkmj.mjs → index-N0fjwTCB.mjs} +238 -69
  62. package/dist/{index-CyuHme_p.js → index-RL_4tl8T.js} +403 -234
  63. package/dist/{index-HLGPI9-S.mjs → index-ZivV_RbX.mjs} +30 -29
  64. package/dist/{index-WFgDSB1A.js → index-ma-iV7GU.js} +1 -1
  65. package/dist/{index-CkRY_NXp.js → index-qR3kVjjs.js} +20 -22
  66. package/dist/{index-C2T70CMa.mjs → index-s2a55HsU.mjs} +5 -4
  67. package/dist/index.cjs +24 -12
  68. package/dist/index.mjs +53 -41
  69. package/dist/layout/index.cjs +24 -13
  70. package/dist/layout/index.mjs +24 -13
  71. package/dist/providers/index.cjs +2 -2
  72. package/dist/providers/index.mjs +2 -2
  73. package/dist/types/components/article-card/index.d.ts +9 -0
  74. package/dist/types/components/button/index.d.ts +1 -1
  75. package/dist/types/components/casino/index.d.ts +32 -0
  76. package/dist/types/components/casino-info/index.d.ts +12 -0
  77. package/dist/types/components/common/index.d.ts +1 -1
  78. package/dist/types/components/game-info/index.d.ts +4 -8
  79. package/dist/types/components/grid/index.d.ts +4 -0
  80. package/dist/types/components/index.d.ts +4 -0
  81. package/dist/types/components/informer/index.d.ts +5 -0
  82. package/dist/types/components/strapi-component/index.d.ts +1 -1
  83. package/dist/types/content/article/index.d.ts +12 -0
  84. package/dist/types/content/index.d.ts +1 -0
  85. package/dist/types/i18n/index.d.ts +1 -1
  86. package/dist/utils/index.cjs +5 -5
  87. package/dist/utils/index.mjs +7 -7
  88. package/package.json +1 -1
  89. package/dist/index-B1PwYYQt.mjs +0 -24
  90. package/dist/index-B6wz_B9_.js +0 -145
  91. package/dist/index-C-ri0Fgy.js +0 -23
  92. package/dist/index-COv56GyV.mjs +0 -146
@@ -1,28 +1,56 @@
1
1
  "use strict";
2
2
  const jsxRuntime = require("react/jsx-runtime");
3
- const react$1 = require("@chakra-ui/react");
3
+ const react = require("@chakra-ui/react");
4
4
  const reactI18next = require("react-i18next");
5
- require("react-medium-image-zoom");
6
- const index = require("./index-CR5rM7at.js");
7
5
  const react$2 = require("@mdx-js/react");
8
- const react = require("react");
6
+ const index = require("./index-CNyyTj_C.js");
9
7
  require("./index-C6MG_f24.js");
10
- const index$4 = require("./index-DMR4Ptkt.js");
11
- const index$1 = require("./index-B6wz_B9_.js");
12
- const index$6 = require("./index-DDg_PkD2.js");
13
- const index$5 = require("./index-C-ri0Fgy.js");
8
+ const index$6 = require("./index-B-k9oWE7.js");
9
+ require("react-medium-image-zoom");
10
+ const react$1 = require("react");
14
11
  const icons = require("@chakra-ui/icons");
15
- const index$2 = require("./index-5J1CqqcW.js");
16
- const index$3 = require("./index-CkRY_NXp.js");
12
+ const index$3 = require("./index-DDg_PkD2.js");
13
+ const index$1 = require("./index-qR3kVjjs.js");
14
+ const index$2 = require("./index-CzAt2Bs2.js");
15
+ const index$4 = require("./index-D15SAjJc.js");
16
+ const index$5 = require("./index-BfITsKAr.js");
17
17
  const i18next = require("i18next");
18
18
  const Markdown = require("react-markdown");
19
+ const ArticleMetaItem = ({ label, value }) => {
20
+ const color = react.useColorModeValue("gray.600", "gray.400");
21
+ return /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { children: [
22
+ /* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: "span", color, children: label }),
23
+ value
24
+ ] });
25
+ };
26
+ const ArticleMeta = ({ createdAt, updatedAt, minutesToRead, author, variant = "full" }) => {
27
+ const { currentLocale } = index.usePageContext();
28
+ const { t } = reactI18next.useTranslation("article");
29
+ return /* @__PURE__ */ jsxRuntime.jsxs(react.Flex, { columnGap: 4, rowGap: 2, wrap: "wrap", children: [
30
+ /* @__PURE__ */ jsxRuntime.jsx(
31
+ ArticleMetaItem,
32
+ {
33
+ label: variant === "full" ? `📅 ${t("meta.publicationDate")}` : "📅 ",
34
+ value: index$1.formatDate({ value: updatedAt ?? createdAt, locale: currentLocale.code })
35
+ }
36
+ ),
37
+ !!minutesToRead && /* @__PURE__ */ jsxRuntime.jsx(
38
+ ArticleMetaItem,
39
+ {
40
+ label: variant === "full" ? `⏳ ${t("meta.readingTime.label")}` : "⏳ ",
41
+ value: t("meta.readingTime.count", { count: minutesToRead })
42
+ }
43
+ ),
44
+ !!author && /* @__PURE__ */ jsxRuntime.jsx(ArticleMetaItem, { label: variant === "full" ? `🧑🏻‍💻 ${t("meta.author")}` : "🧑🏻‍💻 ", value: author.name })
45
+ ] });
46
+ };
19
47
  const ONE_LINE_HEIGHT = 24;
20
48
  const Bio = ({ content, maxLines = 1 }) => {
21
- const ref = react.useRef(null);
22
- const [showToggle, setShowToggle] = react.useState(false);
23
- const [isExpanded, setIsExpanded] = react.useState(false);
49
+ const ref = react$1.useRef(null);
50
+ const [showToggle, setShowToggle] = react$1.useState(false);
51
+ const [isExpanded, setIsExpanded] = react$1.useState(false);
24
52
  const { t } = reactI18next.useTranslation("author");
25
- react.useLayoutEffect(() => {
53
+ react$1.useLayoutEffect(() => {
26
54
  if (ref.current) {
27
55
  const { scrollWidth, clientWidth, scrollHeight, clientHeight } = ref.current;
28
56
  const isClamped = scrollWidth > clientWidth || scrollHeight > clientHeight;
@@ -35,58 +63,95 @@ const Bio = ({ content, maxLines = 1 }) => {
35
63
  function handleClick() {
36
64
  setIsExpanded((prev) => !prev);
37
65
  }
38
- return /* @__PURE__ */ jsxRuntime.jsxs(react$1.Box, { children: [
39
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Collapse, { in: isExpanded, startingHeight: ONE_LINE_HEIGHT * maxLines, children: /* @__PURE__ */ jsxRuntime.jsx(react$1.Text, { ref, fontSize: "md", noOfLines: isExpanded ? void 0 : maxLines, children: content }) }),
40
- showToggle && /* @__PURE__ */ jsxRuntime.jsx(react$1.Button, { size: "sm", variant: "link", colorScheme: "blue", onClick: handleClick, children: isExpanded ? t("action.collapse") : t("action.expand") })
66
+ return /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { children: [
67
+ /* @__PURE__ */ jsxRuntime.jsx(react.Collapse, { in: isExpanded, startingHeight: ONE_LINE_HEIGHT * maxLines, children: /* @__PURE__ */ jsxRuntime.jsx(react.Text, { ref, fontSize: "md", noOfLines: isExpanded ? void 0 : maxLines, children: content }) }),
68
+ showToggle && /* @__PURE__ */ jsxRuntime.jsx(react.Button, { size: "sm", variant: "link", colorScheme: "blue", onClick: handleClick, children: isExpanded ? t("action.collapse") : t("action.expand") })
41
69
  ] });
42
70
  };
43
71
  const Author = ({ author, variant }) => {
44
72
  const { name, role, bio, avatar, socialNetworks } = author;
45
73
  if (variant === "short") {
46
- return /* @__PURE__ */ jsxRuntime.jsxs(react$1.Flex, { align: "center", gap: 4, children: [
47
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Box, { w: 12, h: 12, children: /* @__PURE__ */ jsxRuntime.jsx(index.Image, { src: avatar, alt: name, rounded: "full" }) }),
48
- /* @__PURE__ */ jsxRuntime.jsxs(react$1.Box, { fontWeight: "semibold", children: [
49
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Text, { children: name }),
50
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Text, { color: "gray.500", children: role })
74
+ return /* @__PURE__ */ jsxRuntime.jsxs(react.Flex, { align: "center", gap: 4, children: [
75
+ /* @__PURE__ */ jsxRuntime.jsx(react.Box, { w: 12, h: 12, children: /* @__PURE__ */ jsxRuntime.jsx(index.Image, { src: avatar, alt: name, rounded: "full" }) }),
76
+ /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { fontWeight: "semibold", children: [
77
+ /* @__PURE__ */ jsxRuntime.jsx(react.Text, { children: name }),
78
+ /* @__PURE__ */ jsxRuntime.jsx(react.Text, { color: "gray.500", children: role })
51
79
  ] })
52
80
  ] });
53
81
  }
54
- return /* @__PURE__ */ jsxRuntime.jsxs(react$1.Flex, { direction: { base: "column", sm: "row" }, align: { base: "center", sm: "flex-start" }, gap: 4, children: [
55
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Flex, { flex: 1, maxW: { base: 48, sm: 32 }, children: /* @__PURE__ */ jsxRuntime.jsx(index.Image, { src: avatar, alt: name, rounded: "full" }) }),
56
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Flex, { flex: 1, children: /* @__PURE__ */ jsxRuntime.jsxs(react$1.Stack, { children: [
57
- /* @__PURE__ */ jsxRuntime.jsxs(react$1.Text, { fontSize: "lg", fontWeight: 600, children: [
82
+ return /* @__PURE__ */ jsxRuntime.jsxs(react.Flex, { direction: { base: "column", sm: "row" }, align: { base: "center", sm: "flex-start" }, gap: 4, children: [
83
+ /* @__PURE__ */ jsxRuntime.jsx(react.Flex, { flex: 1, maxW: { base: 48, sm: 32 }, children: /* @__PURE__ */ jsxRuntime.jsx(index.Image, { src: avatar, alt: name, rounded: "full" }) }),
84
+ /* @__PURE__ */ jsxRuntime.jsx(react.Flex, { flex: 1, children: /* @__PURE__ */ jsxRuntime.jsxs(react.Stack, { children: [
85
+ /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { fontSize: "lg", fontWeight: 600, children: [
58
86
  `${name}, `,
59
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Text, { as: "span", display: "inline-block", color: "gray.500", children: role })
87
+ /* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: "span", display: "inline-block", color: "gray.500", children: role })
60
88
  ] }),
61
- (socialNetworks == null ? void 0 : socialNetworks.length) && /* @__PURE__ */ jsxRuntime.jsx(index$1.SocialNetworks, { socialNetworks }),
89
+ (socialNetworks == null ? void 0 : socialNetworks.length) && /* @__PURE__ */ jsxRuntime.jsx(index$2.SocialNetworks, { socialNetworks }),
62
90
  /* @__PURE__ */ jsxRuntime.jsx(Bio, { content: bio })
63
91
  ] }) })
64
92
  ] });
65
93
  };
66
94
  const Center = ({ children, ...boxProps }) => {
67
- return /* @__PURE__ */ jsxRuntime.jsx(react$1.Center, { ...boxProps, children });
95
+ return /* @__PURE__ */ jsxRuntime.jsx(react.Center, { ...boxProps, children });
68
96
  };
69
97
  const defaultColumns = { base: 1, sm: 2, md: 3, lg: 4, xl: 5 };
70
98
  const Grid = ({ items, columns = defaultColumns, gap, render, getKey, ...boxProps }) => {
71
- return /* @__PURE__ */ jsxRuntime.jsx(react$1.SimpleGrid, { as: "ul", columns, spacing: gap, p: 0, m: 0, listStyleType: "none", ...boxProps, children: items.map((item, index2) => /* @__PURE__ */ jsxRuntime.jsx(react$1.Box, { as: "li", children: render(item) }, getKey ? getKey(item) : index2)) });
99
+ return /* @__PURE__ */ jsxRuntime.jsx(react.SimpleGrid, { as: "ul", columns, spacing: gap, p: 0, m: 0, listStyleType: "none", ...boxProps, children: items.map((item, index2) => /* @__PURE__ */ jsxRuntime.jsx(react.Box, { as: "li", children: render(item) }, getKey ? getKey(item, index2) : index2)) });
100
+ };
101
+ const ActionButton = ({ label, href, ...boxProps }) => {
102
+ return /* @__PURE__ */ jsxRuntime.jsx(react.Flex, { justifyContent: "center", ...boxProps, children: /* @__PURE__ */ jsxRuntime.jsx(index$2.LinkButton, { label, href, textDecoration: "none" }) });
103
+ };
104
+ const ArticleCard = ({ title, image, meta, url }) => {
105
+ return /* @__PURE__ */ jsxRuntime.jsxs(react.Card, { as: index.Link, to: url, overflow: "hidden", _hover: { transform: "scale(1.02)", textDecoration: "none" }, children: [
106
+ /* @__PURE__ */ jsxRuntime.jsxs(react.CardBody, { as: "section", p: 0, children: [
107
+ !!image && /* @__PURE__ */ jsxRuntime.jsx(index.Image, { src: image, alt: title, mode: "thumbnail" }),
108
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Heading2, { size: "md", px: 4, children: title })
109
+ ] }),
110
+ !!meta && /* @__PURE__ */ jsxRuntime.jsx(react.CardFooter, { as: "footer", fontSize: "sm", pt: 0, px: 4, children: /* @__PURE__ */ jsxRuntime.jsx(ArticleMeta, { ...meta, variant: "short" }) })
111
+ ] });
112
+ };
113
+ const ArticleCardGrid = ({
114
+ items,
115
+ columns = { base: 1, md: 2, lg: 3 },
116
+ gap = 4,
117
+ ...boxProps
118
+ }) => {
119
+ return /* @__PURE__ */ jsxRuntime.jsx(
120
+ Grid,
121
+ {
122
+ items,
123
+ columns,
124
+ gap,
125
+ getKey: (_, index2) => index2,
126
+ render: (item) => /* @__PURE__ */ jsxRuntime.jsx(ArticleCard, { ...item }),
127
+ ...boxProps
128
+ }
129
+ );
130
+ };
131
+ const ArticleInfoCard = ({ title, description, meta, ...boxProps }) => {
132
+ return /* @__PURE__ */ jsxRuntime.jsxs(react.Card, { as: "article", variant: "filled", ...boxProps, children: [
133
+ /* @__PURE__ */ jsxRuntime.jsx(react.CardHeader, { as: "header", pb: 0, children: /* @__PURE__ */ jsxRuntime.jsx(index$3.Heading1, { children: title }) }),
134
+ /* @__PURE__ */ jsxRuntime.jsx(react.CardBody, { as: "section", py: 0, children: description }),
135
+ !!meta && /* @__PURE__ */ jsxRuntime.jsx(react.CardFooter, { as: "footer", children: /* @__PURE__ */ jsxRuntime.jsx(ArticleMeta, { ...meta }) })
136
+ ] });
72
137
  };
73
138
  const AuthorCard = ({ author, ...boxProps }) => {
74
139
  const { t } = reactI18next.useTranslation("author");
75
- return /* @__PURE__ */ jsxRuntime.jsxs(react$1.Card, { as: "article", variant: "filled", ...boxProps, children: [
76
- /* @__PURE__ */ jsxRuntime.jsx(react$1.CardHeader, { pb: 0, children: /* @__PURE__ */ jsxRuntime.jsx(react$1.Heading, { size: "md", children: t("title") }) }),
77
- /* @__PURE__ */ jsxRuntime.jsx(react$1.CardBody, { children: /* @__PURE__ */ jsxRuntime.jsx(Author, { author, variant: "full" }) })
140
+ return /* @__PURE__ */ jsxRuntime.jsxs(react.Card, { as: "article", variant: "filled", ...boxProps, children: [
141
+ /* @__PURE__ */ jsxRuntime.jsx(react.CardHeader, { pb: 0, children: /* @__PURE__ */ jsxRuntime.jsx(react.Heading, { size: "md", children: t("title") }) }),
142
+ /* @__PURE__ */ jsxRuntime.jsx(react.CardBody, { children: /* @__PURE__ */ jsxRuntime.jsx(Author, { author, variant: "full" }) })
78
143
  ] });
79
144
  };
80
145
  const BonusCardContent = ({ content, buttonColor }) => {
81
146
  const { t } = reactI18next.useTranslation("author");
82
- return /* @__PURE__ */ jsxRuntime.jsx(react$1.Popover, { autoFocus: false, isLazy: true, lazyBehavior: "keepMounted", children: ({ isOpen }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
83
- /* @__PURE__ */ jsxRuntime.jsx(react$1.PopoverTrigger, { children: /* @__PURE__ */ jsxRuntime.jsx(react$1.Button, { size: "sm", variant: "link", color: buttonColor, children: isOpen ? t("action.collapse") : t("action.expand") }) }),
84
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(react$1.PopoverContent, { children: /* @__PURE__ */ jsxRuntime.jsx(react$1.PopoverBody, { children: Array.isArray(content) ? /* @__PURE__ */ jsxRuntime.jsx(react$1.Stack, { children: content.map((paragraph, index2) => /* @__PURE__ */ jsxRuntime.jsx(react$1.Text, { as: "span", children: paragraph }, index2)) }) : /* @__PURE__ */ jsxRuntime.jsx(react$1.Text, { children: content }) }) }) })
147
+ return /* @__PURE__ */ jsxRuntime.jsx(react.Popover, { autoFocus: false, isLazy: true, lazyBehavior: "keepMounted", children: ({ isOpen }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
148
+ /* @__PURE__ */ jsxRuntime.jsx(react.PopoverTrigger, { children: /* @__PURE__ */ jsxRuntime.jsx(react.Button, { size: "sm", variant: "link", color: buttonColor, children: isOpen ? t("action.collapse") : t("action.expand") }) }),
149
+ /* @__PURE__ */ jsxRuntime.jsx(react.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(react.PopoverContent, { children: /* @__PURE__ */ jsxRuntime.jsx(react.PopoverBody, { children: Array.isArray(content) ? /* @__PURE__ */ jsxRuntime.jsx(react.Stack, { children: content.map((paragraph, index2) => /* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: "span", children: paragraph }, index2)) }) : /* @__PURE__ */ jsxRuntime.jsx(react.Text, { children: content }) }) }) })
85
150
  ] }) });
86
151
  };
87
152
  const BonusCardTitle = ({ content, color, textColor }) => {
88
153
  return /* @__PURE__ */ jsxRuntime.jsx(
89
- react$1.Text,
154
+ react.Text,
90
155
  {
91
156
  as: "h3",
92
157
  display: "inline-block",
@@ -114,7 +179,7 @@ const BonusCard = ({
114
179
  className
115
180
  }) => {
116
181
  return /* @__PURE__ */ jsxRuntime.jsxs(
117
- react$1.Card,
182
+ react.Card,
118
183
  {
119
184
  as: "article",
120
185
  h: "full",
@@ -135,12 +200,12 @@ const BonusCard = ({
135
200
  } : void 0,
136
201
  className,
137
202
  children: [
138
- /* @__PURE__ */ jsxRuntime.jsxs(react$1.CardBody, { as: "section", pb: 0, flex: 1, children: [
203
+ /* @__PURE__ */ jsxRuntime.jsxs(react.CardBody, { as: "section", pb: 0, flex: 1, children: [
139
204
  /* @__PURE__ */ jsxRuntime.jsx(BonusCardTitle, { content: title, color: titleColor, textColor: titleTextColor }),
140
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Text, { fontSize: "2xl", fontWeight: "bold", my: 2, children: subtitle }),
205
+ /* @__PURE__ */ jsxRuntime.jsx(react.Text, { fontSize: "2xl", fontWeight: "bold", my: 2, children: subtitle }),
141
206
  /* @__PURE__ */ jsxRuntime.jsx(BonusCardContent, { content, buttonColor: textColor })
142
207
  ] }),
143
- /* @__PURE__ */ jsxRuntime.jsx(react$1.CardFooter, { as: "footer", p: 4, children: /* @__PURE__ */ jsxRuntime.jsx(index$1.LinkButton, { ...link, width: "full", size: "md", textDecoration: "none" }) })
208
+ /* @__PURE__ */ jsxRuntime.jsx(react.CardFooter, { as: "footer", p: 4, children: /* @__PURE__ */ jsxRuntime.jsx(index$2.LinkButton, { ...link, width: "full", size: "md", textDecoration: "none" }) })
144
209
  ]
145
210
  }
146
211
  );
@@ -164,25 +229,25 @@ const BonusCardGrid = ({
164
229
  );
165
230
  };
166
231
  const Faq = ({ items, ...boxProps }) => {
167
- const { bgColor, invertedColor } = index$2.usePrimaryColors();
168
- return /* @__PURE__ */ jsxRuntime.jsx(react$1.Accordion, { allowToggle: true, ...boxProps, children: items.map(({ question, answer }) => {
169
- return /* @__PURE__ */ jsxRuntime.jsxs(react$1.AccordionItem, { border: 0, children: [
170
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Box, { as: "h3", children: /* @__PURE__ */ jsxRuntime.jsxs(react$1.AccordionButton, { _hover: { color: invertedColor, bgColor }, children: [
171
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Box, { as: "span", flex: "1", textAlign: "left", fontWeight: "bold", children: question }),
172
- /* @__PURE__ */ jsxRuntime.jsx(react$1.AccordionIcon, {})
232
+ const { bgColor, invertedColor } = index$4.usePrimaryColors();
233
+ return /* @__PURE__ */ jsxRuntime.jsx(react.Accordion, { allowToggle: true, ...boxProps, children: items.map(({ question, answer }) => {
234
+ return /* @__PURE__ */ jsxRuntime.jsxs(react.AccordionItem, { border: 0, children: [
235
+ /* @__PURE__ */ jsxRuntime.jsx(react.Box, { as: "h3", children: /* @__PURE__ */ jsxRuntime.jsxs(react.AccordionButton, { _hover: { color: invertedColor, bgColor }, children: [
236
+ /* @__PURE__ */ jsxRuntime.jsx(react.Box, { as: "span", flex: "1", textAlign: "left", fontWeight: "bold", children: question }),
237
+ /* @__PURE__ */ jsxRuntime.jsx(react.AccordionIcon, {})
173
238
  ] }) }),
174
- /* @__PURE__ */ jsxRuntime.jsx(react$1.AccordionPanel, { children: answer })
239
+ /* @__PURE__ */ jsxRuntime.jsx(react.AccordionPanel, { children: answer })
175
240
  ] }, question);
176
241
  }) });
177
242
  };
178
243
  const FeatureCard = ({ title, description }) => {
179
- return /* @__PURE__ */ jsxRuntime.jsxs(react$1.Card, { as: "article", variant: "outline", textAlign: "center", h: "100%", children: [
180
- /* @__PURE__ */ jsxRuntime.jsxs(react$1.CardHeader, { as: "header", display: "flex", alignItems: "center", justifyContent: "center", gap: 2, pb: 2, children: [
244
+ return /* @__PURE__ */ jsxRuntime.jsxs(react.Card, { as: "article", variant: "outline", textAlign: "center", h: "100%", children: [
245
+ /* @__PURE__ */ jsxRuntime.jsxs(react.CardHeader, { as: "header", display: "flex", alignItems: "center", justifyContent: "center", gap: 2, pb: 2, children: [
181
246
  /* @__PURE__ */ jsxRuntime.jsx(icons.StarIcon, { w: 8, h: 8, color: "yellow.400" }),
182
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Text, { fontWeight: 600, children: title }),
247
+ /* @__PURE__ */ jsxRuntime.jsx(react.Text, { fontWeight: 600, children: title }),
183
248
  /* @__PURE__ */ jsxRuntime.jsx(icons.StarIcon, { w: 8, h: 8, color: "yellow.400" })
184
249
  ] }),
185
- /* @__PURE__ */ jsxRuntime.jsx(react$1.CardBody, { as: "section", pt: 0, children: /* @__PURE__ */ jsxRuntime.jsx(react$1.Text, { color: "gray.500", children: description }) })
250
+ /* @__PURE__ */ jsxRuntime.jsx(react.CardBody, { as: "section", pt: 0, children: /* @__PURE__ */ jsxRuntime.jsx(react.Text, { color: "gray.500", children: description }) })
186
251
  ] });
187
252
  };
188
253
  const FeatureCardGrid = ({
@@ -197,7 +262,7 @@ const FeatureCardGrid = ({
197
262
  items,
198
263
  columns,
199
264
  gap,
200
- getKey: ({ title }) => title,
265
+ getKey: (_, index2) => index2,
201
266
  render: (item) => /* @__PURE__ */ jsxRuntime.jsx(FeatureCard, { ...item }),
202
267
  ...boxProps
203
268
  }
@@ -205,7 +270,7 @@ const FeatureCardGrid = ({
205
270
  };
206
271
  const GameCard = ({ name, description, image, url, height = "auto" }) => {
207
272
  return /* @__PURE__ */ jsxRuntime.jsxs(
208
- react$1.LinkBox,
273
+ react.LinkBox,
209
274
  {
210
275
  as: "article",
211
276
  rounded: "md",
@@ -218,9 +283,9 @@ const GameCard = ({ name, description, image, url, height = "auto" }) => {
218
283
  _hover: { transform: "scale(1.05)" },
219
284
  children: [
220
285
  /* @__PURE__ */ jsxRuntime.jsx(index.Image, { src: image, alt: name, mode: "thumbnail" }),
221
- /* @__PURE__ */ jsxRuntime.jsxs(react$1.Box, { as: "section", rounded: "md", p: 4, children: [
222
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Text, { as: "span", children: url ? /* @__PURE__ */ jsxRuntime.jsx(react$1.LinkOverlay, { as: index.Link, to: url, children: name }) : name }),
223
- !!description && /* @__PURE__ */ jsxRuntime.jsx(react$1.Text, { fontSize: "sm", color: "gray.600", children: description })
286
+ /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { as: "section", rounded: "md", p: 4, children: [
287
+ /* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: "span", children: url ? /* @__PURE__ */ jsxRuntime.jsx(react.LinkOverlay, { as: index.Link, to: url, children: name }) : name }),
288
+ !!description && /* @__PURE__ */ jsxRuntime.jsx(react.Text, { fontSize: "sm", color: "gray.600", children: description })
224
289
  ] })
225
290
  ]
226
291
  }
@@ -237,7 +302,7 @@ const GameCardGrid = ({
237
302
  }) => {
238
303
  let sortedItems = items;
239
304
  if (order === "random") {
240
- sortedItems = [...items].sort(randomSeed ? index$3.getSeededRandomComparator(randomSeed) : index$3.randomComparator);
305
+ sortedItems = [...items].sort(randomSeed ? index$5.getSeededRandomComparator(randomSeed) : index$5.randomComparator);
241
306
  }
242
307
  return /* @__PURE__ */ jsxRuntime.jsx(
243
308
  Grid,
@@ -261,7 +326,7 @@ const GameDemoContent = ({
261
326
  const { t } = reactI18next.useTranslation("gameDemo");
262
327
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
263
328
  /* @__PURE__ */ jsxRuntime.jsx(
264
- react$1.Box,
329
+ react.Box,
265
330
  {
266
331
  as: "iframe",
267
332
  src,
@@ -274,9 +339,9 @@ const GameDemoContent = ({
274
339
  children: /* @__PURE__ */ jsxRuntime.jsx("p", { children: t("warning") })
275
340
  }
276
341
  ),
277
- /* @__PURE__ */ jsxRuntime.jsxs(react$1.Flex, { position: "absolute", top: 2, left: 2, gap: 2, children: [
342
+ /* @__PURE__ */ jsxRuntime.jsxs(react.Flex, { position: "absolute", top: 2, left: 2, gap: 2, children: [
278
343
  /* @__PURE__ */ jsxRuntime.jsx(
279
- react$1.IconButton,
344
+ react.IconButton,
280
345
  {
281
346
  icon: /* @__PURE__ */ jsxRuntime.jsx(icons.CloseIcon, { w: 3, h: 3 }),
282
347
  title: t("action.exit"),
@@ -290,7 +355,7 @@ const GameDemoContent = ({
290
355
  }
291
356
  ),
292
357
  /* @__PURE__ */ jsxRuntime.jsx(
293
- react$1.IconButton,
358
+ react.IconButton,
294
359
  {
295
360
  icon: isFullscreen ? /* @__PURE__ */ jsxRuntime.jsx(icons.ViewOffIcon, { w: 3, h: 3 }) : /* @__PURE__ */ jsxRuntime.jsx(icons.ViewIcon, { w: 4, h: 4 }),
296
361
  title: t(isFullscreen ? "action.deactivateFullscreen" : "action.activateFullscreen"),
@@ -304,23 +369,58 @@ const GameDemoContent = ({
304
369
  }
305
370
  )
306
371
  ] }),
307
- /* @__PURE__ */ jsxRuntime.jsx(react$1.AbsoluteCenter, { children: /* @__PURE__ */ jsxRuntime.jsx(react$1.Spinner, { size: "xl", thickness: "0.6rem", display: isLoaded ? "none" : "block", color: "brand.100" }) })
372
+ /* @__PURE__ */ jsxRuntime.jsx(react.AbsoluteCenter, { children: /* @__PURE__ */ jsxRuntime.jsx(react.Spinner, { size: "xl", thickness: "0.6rem", display: isLoaded ? "none" : "block", color: "brand.100" }) })
308
373
  ] });
309
374
  };
310
- const GameDemoPreview = ({ image, alt, href, imageFit = "contain", onPlayDemo }) => {
375
+ const GameDemoAlert = () => {
311
376
  const { t } = reactI18next.useTranslation("gameDemo");
312
- return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
313
- /* @__PURE__ */ jsxRuntime.jsx(index.Image, { src: image, alt, objectFit: imageFit, w: "100%", h: "100%" }),
314
- /* @__PURE__ */ jsxRuntime.jsx(react$1.AbsoluteCenter, { children: /* @__PURE__ */ jsxRuntime.jsxs(react$1.Stack, { spacing: 4, children: [
315
- /* @__PURE__ */ jsxRuntime.jsx(
316
- index$1.LinkButton,
317
- {
318
- animation: { type: "pulse", params: { duration: 2, timingFunction: "ease-out", isInfinite: true } },
319
- ...href ? { label: t("action.playForReal"), href } : { label: t("action.playForFree"), onClick: onPlayDemo }
320
- }
321
- ),
322
- !!href && /* @__PURE__ */ jsxRuntime.jsx(
323
- react$1.Button,
377
+ return /* @__PURE__ */ jsxRuntime.jsxs(
378
+ react.Alert,
379
+ {
380
+ status: "warning",
381
+ flexDirection: { base: "column", md: "row" },
382
+ justifyContent: { base: "center", md: "flex-start" },
383
+ alignItems: "center",
384
+ rounded: "lg",
385
+ children: [
386
+ /* @__PURE__ */ jsxRuntime.jsx(react.AlertIcon, {}),
387
+ /* @__PURE__ */ jsxRuntime.jsxs(
388
+ react.Flex,
389
+ {
390
+ direction: { base: "column", md: "row" },
391
+ justifyContent: { base: "center", md: "flex-start" },
392
+ alignItems: { base: "center", md: "baseline" },
393
+ wrap: "wrap",
394
+ textAlign: { base: "center", md: "start" },
395
+ children: [
396
+ /* @__PURE__ */ jsxRuntime.jsx(react.AlertTitle, { my: 1, fontSize: { base: "sm", sm: "md", md: "lg" }, lineHeight: "short", children: t("alert.title") }),
397
+ /* @__PURE__ */ jsxRuntime.jsx(react.AlertDescription, { fontSize: { base: "sm", sm: "md", md: "lg" }, lineHeight: "short", children: t("alert.description") })
398
+ ]
399
+ }
400
+ )
401
+ ]
402
+ }
403
+ );
404
+ };
405
+ const buttonAnimationProps = {
406
+ type: "pulse",
407
+ params: { duration: 2, timingFunction: "ease-out", isInfinite: true }
408
+ };
409
+ const GameDemoPreview = ({ image, alt, src, refLink, imageFit = "contain", onPlayDemo }) => {
410
+ const { t } = reactI18next.useTranslation("gameDemo");
411
+ function getPrimaryButton() {
412
+ if (refLink) {
413
+ return /* @__PURE__ */ jsxRuntime.jsx(index$2.LinkButton, { animation: buttonAnimationProps, label: t("action.playForReal"), href: refLink });
414
+ } else if (src) {
415
+ return /* @__PURE__ */ jsxRuntime.jsx(index$2.LinkButton, { animation: buttonAnimationProps, label: t("action.playForFree"), onClick: onPlayDemo });
416
+ } else {
417
+ return null;
418
+ }
419
+ }
420
+ function getSecondaryButton() {
421
+ if (refLink && src) {
422
+ return /* @__PURE__ */ jsxRuntime.jsx(
423
+ react.Button,
324
424
  {
325
425
  variant: "solid",
326
426
  colorScheme: "brand",
@@ -329,14 +429,26 @@ const GameDemoPreview = ({ image, alt, href, imageFit = "contain", onPlayDemo })
329
429
  onClick: onPlayDemo,
330
430
  children: t("action.playForFree")
331
431
  }
332
- )
333
- ] }) })
432
+ );
433
+ } else {
434
+ return null;
435
+ }
436
+ }
437
+ return /* @__PURE__ */ jsxRuntime.jsxs(react.Stack, { children: [
438
+ !src && /* @__PURE__ */ jsxRuntime.jsx(GameDemoAlert, {}),
439
+ /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { position: "relative", children: [
440
+ /* @__PURE__ */ jsxRuntime.jsx(index.Image, { src: image, alt, objectFit: imageFit, w: "100%", h: "100%" }),
441
+ /* @__PURE__ */ jsxRuntime.jsx(react.AbsoluteCenter, { children: /* @__PURE__ */ jsxRuntime.jsxs(react.Stack, { spacing: 4, children: [
442
+ getPrimaryButton(),
443
+ getSecondaryButton()
444
+ ] }) })
445
+ ] })
334
446
  ] });
335
447
  };
336
- const GameDemo = ({ name, src, href, previewImage, previewImageFit, ...boxProps }) => {
337
- const [isRunning, setIsRunning] = react.useState(false);
338
- const [isLoaded, setIsLoaded] = react.useState(false);
339
- const { isOpen: isFullscreen, onToggle, onClose } = react$1.useDisclosure({ defaultIsOpen: false });
448
+ const GameDemo = ({ name, src, refLink, previewImage, previewImageFit, ...boxProps }) => {
449
+ const [isRunning, setIsRunning] = react$1.useState(false);
450
+ const [isLoaded, setIsLoaded] = react$1.useState(false);
451
+ const { isOpen: isFullscreen, onToggle, onClose } = react.useDisclosure({ defaultIsOpen: false });
340
452
  function handleLoad() {
341
453
  setIsLoaded(true);
342
454
  }
@@ -353,7 +465,7 @@ const GameDemo = ({ name, src, href, previewImage, previewImageFit, ...boxProps
353
465
  setIsRunning(true);
354
466
  }
355
467
  return /* @__PURE__ */ jsxRuntime.jsx(
356
- react$1.Box,
468
+ react.Box,
357
469
  {
358
470
  as: "article",
359
471
  display: "grid",
@@ -376,7 +488,8 @@ const GameDemo = ({ name, src, href, previewImage, previewImageFit, ...boxProps
376
488
  {
377
489
  image: previewImage,
378
490
  alt: name,
379
- href,
491
+ src,
492
+ refLink,
380
493
  imageFit: previewImageFit,
381
494
  onPlayDemo: handlePlayDemo
382
495
  }
@@ -385,12 +498,12 @@ const GameDemo = ({ name, src, href, previewImage, previewImageFit, ...boxProps
385
498
  );
386
499
  };
387
500
  const GameInfoItem = ({ title, value }) => {
388
- return /* @__PURE__ */ jsxRuntime.jsxs(react$1.Flex, { gap: 2, children: [
389
- /* @__PURE__ */ jsxRuntime.jsxs(react$1.Text, { w: "50%", color: "gray.500", textTransform: "capitalize", children: [
501
+ return /* @__PURE__ */ jsxRuntime.jsxs(react.Flex, { gap: 2, children: [
502
+ /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { w: "50%", color: "gray.500", textTransform: "capitalize", children: [
390
503
  title,
391
504
  ":"
392
505
  ] }),
393
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Text, { w: "50%", textTransform: "capitalize", children: value })
506
+ /* @__PURE__ */ jsxRuntime.jsx(react.Text, { w: "50%", textTransform: "capitalize", children: value })
394
507
  ] });
395
508
  };
396
509
  const MAX_VISIBLE_LANGUAGE = 5;
@@ -410,26 +523,26 @@ function stringifyArray(array, max) {
410
523
  function getGameInfoItemValue(key, value, locale) {
411
524
  let formattedValue = "";
412
525
  if (typeof value !== "string") {
413
- if (key === index$4.GameCharacteristic.Rtp) {
414
- formattedValue = index$3.formatNumber(value, { percent: "real", precision: 3 });
526
+ if (key === index$6.GameCharacteristic.Rtp) {
527
+ formattedValue = index$1.formatNumber(value, { percent: "real", precision: 3 });
415
528
  }
416
- if (key === index$4.GameCharacteristic.MinBet || key === index$4.GameCharacteristic.MaxBet || key === index$4.GameCharacteristic.MaxWin) {
417
- formattedValue = index$3.formatNumber(value, { locale });
529
+ if (key === index$6.GameCharacteristic.MinBet || key === index$6.GameCharacteristic.MaxBet || key === index$6.GameCharacteristic.MaxWin) {
530
+ formattedValue = index$1.formatNumber(value, { locale });
418
531
  }
419
- if (key === index$4.GameCharacteristic.Compatibility || key === index$4.GameCharacteristic.BonusFeatures) {
532
+ if (key === index$6.GameCharacteristic.Compatibility || key === index$6.GameCharacteristic.BonusFeatures) {
420
533
  formattedValue = stringifyArray(value);
421
534
  }
422
- if (key === index$4.GameCharacteristic.Languages) {
535
+ if (key === index$6.GameCharacteristic.Languages) {
423
536
  formattedValue = stringifyArray(value, MAX_VISIBLE_LANGUAGE);
424
537
  }
425
538
  if (typeof value === "boolean") {
426
539
  formattedValue = stringifyHasFeature(value);
427
540
  }
428
541
  }
429
- if (key === index$4.GameCharacteristic.ReleaseDate) {
430
- formattedValue = index$5.formatDate({ value, locale, options: { year: "numeric", month: "long" } });
542
+ if (key === index$6.GameCharacteristic.ReleaseDate) {
543
+ formattedValue = index$1.formatDate({ value, locale, options: { year: "numeric", month: "long" } });
431
544
  }
432
- if (key === index$4.GameCharacteristic.Volatility && Object.values(index$4.GameVolatility).includes(value)) {
545
+ if (key === index$6.GameCharacteristic.Volatility && Object.values(index$6.GameVolatility).includes(value)) {
433
546
  formattedValue = stringifyVolatility(value);
434
547
  }
435
548
  if (!formattedValue) {
@@ -439,7 +552,7 @@ function getGameInfoItemValue(key, value, locale) {
439
552
  }
440
553
  const DEFAULT_CURRENCY = "$, €, £";
441
554
  function getGameInfoCurrency(currency, locale) {
442
- const currencies = Array.isArray(currency) ? currency.map((code) => index$3.getCurrencySymbol(code, locale)) : [index$3.getCurrencySymbol(currency, locale)];
555
+ const currencies = Array.isArray(currency) ? currency.map((code) => index$5.getCurrencySymbol(code, locale)) : [index$5.getCurrencySymbol(currency, locale)];
443
556
  return stringifyArray(currencies);
444
557
  }
445
558
  const GameInfo = ({ info, currencies }) => {
@@ -447,18 +560,18 @@ const GameInfo = ({ info, currencies }) => {
447
560
  const { currentLocale } = index.usePageContext();
448
561
  const currency = (currencies == null ? void 0 : currencies.length) ? getGameInfoCurrency(currencies, currentLocale.code) : DEFAULT_CURRENCY;
449
562
  return /* @__PURE__ */ jsxRuntime.jsx(
450
- react$1.Box,
563
+ react.Box,
451
564
  {
452
565
  as: "aside",
453
566
  float: { base: "none", lg: "right" },
454
567
  w: { base: "100%", lg: "xs" },
455
568
  ml: { base: 0, lg: 4 },
456
569
  mb: { base: 0, lg: 4 },
457
- children: /* @__PURE__ */ jsxRuntime.jsxs(react$1.Card, { as: "article", variant: "outline", h: "100%", p: 2, children: [
458
- /* @__PURE__ */ jsxRuntime.jsx(react$1.CardHeader, { as: "header", p: 0, children: /* @__PURE__ */ jsxRuntime.jsx(react$1.Heading, { as: "h2", fontSize: "xl", children: t("title") }) }),
459
- /* @__PURE__ */ jsxRuntime.jsx(react$1.CardBody, { as: "section", p: 0, children: Object.entries(info).map(([group, items]) => /* @__PURE__ */ jsxRuntime.jsxs(react.Fragment, { children: [
460
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Divider, { my: 2 }),
461
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Text, { fontWeight: "semibold", mb: 2, children: t(`group.${group}`) }),
570
+ children: /* @__PURE__ */ jsxRuntime.jsxs(react.Card, { as: "article", variant: "outline", h: "100%", p: 2, children: [
571
+ /* @__PURE__ */ jsxRuntime.jsx(react.CardHeader, { as: "header", p: 0, children: /* @__PURE__ */ jsxRuntime.jsx(react.Heading, { as: "h2", fontSize: "xl", children: t("title") }) }),
572
+ /* @__PURE__ */ jsxRuntime.jsx(react.CardBody, { as: "section", p: 0, children: Object.entries(info).map(([group, items]) => /* @__PURE__ */ jsxRuntime.jsxs(react$1.Fragment, { children: [
573
+ /* @__PURE__ */ jsxRuntime.jsx(react.Divider, { my: 2 }),
574
+ /* @__PURE__ */ jsxRuntime.jsx(react.Text, { fontWeight: "semibold", mb: 2, children: t(`group.${group}`) }),
462
575
  Object.entries(items).map(([itemKey, itemValue]) => {
463
576
  if (!itemValue) {
464
577
  return null;
@@ -473,30 +586,78 @@ const GameInfo = ({ info, currencies }) => {
473
586
  );
474
587
  };
475
588
  const HowTo = ({ steps, ...boxProps }) => {
476
- const { bgColor, invertedColor } = index$2.usePrimaryColors();
477
- return /* @__PURE__ */ jsxRuntime.jsx(react$1.SimpleGrid, { as: "ol", columns: { base: 1, md: 2, lg: 3 }, gap: 4, p: 0, ...boxProps, children: steps.map(({ title, description, thumbnail }, index$12) => /* @__PURE__ */ jsxRuntime.jsxs(react$1.Flex, { as: "li", alignItems: "flex-start", gap: 4, children: [
478
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Circle, { size: 12, bgColor, color: invertedColor, fontSize: "lg", fontWeight: "bold", children: String(index$12 + 1) }),
479
- /* @__PURE__ */ jsxRuntime.jsxs(react$1.Stack, { flex: 1, children: [
480
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Text, { fontSize: "lg", fontWeight: "bold", children: title }),
589
+ const { bgColor, invertedColor } = index$4.usePrimaryColors();
590
+ return /* @__PURE__ */ jsxRuntime.jsx(react.SimpleGrid, { as: "ol", columns: { base: 1, md: 2, lg: 3 }, gap: 4, p: 0, ...boxProps, children: steps.map(({ title, description, thumbnail }, index$12) => /* @__PURE__ */ jsxRuntime.jsxs(react.Flex, { as: "li", alignItems: "flex-start", gap: 4, children: [
591
+ /* @__PURE__ */ jsxRuntime.jsx(react.Circle, { size: 12, bgColor, color: invertedColor, fontSize: "lg", fontWeight: "bold", children: String(index$12 + 1) }),
592
+ /* @__PURE__ */ jsxRuntime.jsxs(react.Stack, { flex: 1, children: [
593
+ /* @__PURE__ */ jsxRuntime.jsx(react.Text, { fontSize: "lg", fontWeight: "bold", children: title }),
481
594
  /* @__PURE__ */ jsxRuntime.jsx(index.Image, { src: thumbnail, alt: title, mode: "thumbnail", hasZoom: true }),
482
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Text, { children: description })
595
+ /* @__PURE__ */ jsxRuntime.jsx(react.Text, { children: description })
483
596
  ] })
484
597
  ] }, index$12)) });
485
598
  };
599
+ function getQuotePseudoElement(color) {
600
+ return {
601
+ content: '"❛❛"',
602
+ position: "absolute",
603
+ top: -8,
604
+ left: -2,
605
+ fontSize: "6rem",
606
+ fontStyle: "italic",
607
+ color
608
+ };
609
+ }
610
+ const PrefixMap = {
611
+ advice: "🚀",
612
+ fact: "💡",
613
+ quote: ""
614
+ };
615
+ const BorderColorMap = {
616
+ advice: "red.400",
617
+ fact: "yellow.400",
618
+ quote: "gray"
619
+ };
620
+ const Informer = ({ type, text, author = null, ...boxProps }) => {
621
+ const { t } = reactI18next.useTranslation("informer");
622
+ const quotePseudoElementColor = react.useColorModeValue("blackAlpha.300", "whiteAlpha.300");
623
+ return /* @__PURE__ */ jsxRuntime.jsxs(
624
+ react.Card,
625
+ {
626
+ variant: "filled",
627
+ p: 4,
628
+ borderLeft: "4px solid",
629
+ borderLeftColor: BorderColorMap[type],
630
+ gap: 4,
631
+ ...type === "quote" && { _before: getQuotePseudoElement(quotePseudoElementColor) },
632
+ ...boxProps,
633
+ children: [
634
+ /* @__PURE__ */ jsxRuntime.jsxs(react.CardBody, { as: "blockquote", p: 0, fontStyle: "italic", children: [
635
+ type !== "quote" && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", fontStyle: "normal", fontWeight: "semibold", mr: 2, children: [
636
+ PrefixMap[type],
637
+ t(type),
638
+ ":"
639
+ ] }),
640
+ text
641
+ ] }),
642
+ !!author && /* @__PURE__ */ jsxRuntime.jsx(react.CardFooter, { alignItems: "center", justify: "flex-end", p: 0, children: /* @__PURE__ */ jsxRuntime.jsx(Author, { author, variant: "short" }) })
643
+ ]
644
+ }
645
+ );
646
+ };
486
647
  const List = ({ items, bullet = "—", render, ...boxProps }) => {
487
- return /* @__PURE__ */ jsxRuntime.jsx(react$1.List, { pl: 0, ml: 2, ...boxProps, children: items.map((item, index2) => /* @__PURE__ */ jsxRuntime.jsxs(react$1.ListItem, { display: "flex", gap: 1, children: [
488
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Box, { children: bullet }),
648
+ return /* @__PURE__ */ jsxRuntime.jsx(react.List, { pl: 0, ml: 2, ...boxProps, children: items.map((item, index2) => /* @__PURE__ */ jsxRuntime.jsxs(react.ListItem, { display: "flex", gap: 1, children: [
649
+ /* @__PURE__ */ jsxRuntime.jsx(react.Box, { children: bullet }),
489
650
  render ? render(item) : item
490
651
  ] }, index2)) });
491
652
  };
492
653
  const NotFound = () => {
493
654
  const { t } = reactI18next.useTranslation("pageNotFound");
494
655
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
495
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Heading1, { children: t("title") }),
496
- /* @__PURE__ */ jsxRuntime.jsxs(index$6.Paragraph, { fontSize: "xl", children: [
656
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Heading1, { children: t("title") }),
657
+ /* @__PURE__ */ jsxRuntime.jsxs(index$3.Paragraph, { fontSize: "xl", children: [
497
658
  t("description"),
498
659
  " ",
499
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Button, { as: index.Link, to: "/", variant: "link", colorScheme: "brand", fontSize: "xl", children: t("action") })
660
+ /* @__PURE__ */ jsxRuntime.jsx(react.Button, { as: index.Link, to: "/", variant: "link", colorScheme: "brand", fontSize: "xl", children: t("action") })
500
661
  ] })
501
662
  ] });
502
663
  };
@@ -505,31 +666,31 @@ const CookiePolicy = () => {
505
666
  const { metadata } = index.useSiteContext();
506
667
  const { name: siteName } = metadata;
507
668
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
508
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Heading1, { children: t("title") }),
509
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Paragraph, { children: t("text", { siteName }) }),
510
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Heading2, { children: t("sectionOne.title", { siteName }) }),
511
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Paragraph, { children: t("sectionOne.textOne", { siteName }) }),
512
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Paragraph, { children: t("sectionOne.textTwo") }),
513
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Heading2, { children: t("sectionTwo.title") }),
514
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Paragraph, { children: t("sectionTwo.textOne", { siteName }) }),
515
- /* @__PURE__ */ jsxRuntime.jsxs(index$6.Unordered, { children: [
669
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Heading1, { children: t("title") }),
670
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Paragraph, { children: t("text", { siteName }) }),
671
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Heading2, { children: t("sectionOne.title", { siteName }) }),
672
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Paragraph, { children: t("sectionOne.textOne", { siteName }) }),
673
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Paragraph, { children: t("sectionOne.textTwo") }),
674
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Heading2, { children: t("sectionTwo.title") }),
675
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Paragraph, { children: t("sectionTwo.textOne", { siteName }) }),
676
+ /* @__PURE__ */ jsxRuntime.jsxs(index$3.Unordered, { children: [
516
677
  /* @__PURE__ */ jsxRuntime.jsx("li", { children: t("sectionTwo.list.itemOne") }),
517
678
  /* @__PURE__ */ jsxRuntime.jsx("li", { children: t("sectionTwo.list.itemTwo") }),
518
679
  /* @__PURE__ */ jsxRuntime.jsx("li", { children: t("sectionTwo.list.itemThree") })
519
680
  ] }),
520
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Paragraph, { children: t("sectionTwo.textTwo") }),
521
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Heading2, { children: t("sectionThree.title") }),
522
- /* @__PURE__ */ jsxRuntime.jsxs(index$6.Ordered, { children: [
681
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Paragraph, { children: t("sectionTwo.textTwo") }),
682
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Heading2, { children: t("sectionThree.title") }),
683
+ /* @__PURE__ */ jsxRuntime.jsxs(index$3.Ordered, { children: [
523
684
  /* @__PURE__ */ jsxRuntime.jsx("li", { children: t("sectionThree.list.itemOne") }),
524
685
  /* @__PURE__ */ jsxRuntime.jsx("li", { children: t("sectionThree.list.itemTwo") }),
525
686
  /* @__PURE__ */ jsxRuntime.jsx("li", { children: t("sectionThree.list.itemThree") }),
526
687
  /* @__PURE__ */ jsxRuntime.jsx("li", { children: t("sectionThree.list.itemFour") })
527
688
  ] }),
528
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Paragraph, { children: t("sectionThree.text", { siteName }) })
689
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Paragraph, { children: t("sectionThree.text", { siteName }) })
529
690
  ] });
530
691
  };
531
692
  const ContactForm = ({ ...boxProps }) => {
532
- const toast = react$1.useToast();
693
+ const toast = react.useToast();
533
694
  const { t } = reactI18next.useTranslation("contactForm");
534
695
  function handleSubmit(event) {
535
696
  event.preventDefault();
@@ -553,21 +714,21 @@ const ContactForm = ({ ...boxProps }) => {
553
714
  }
554
715
  }
555
716
  return /* @__PURE__ */ jsxRuntime.jsx(
556
- react$1.Box,
717
+ react.Box,
557
718
  {
558
719
  as: "form",
559
720
  borderRadius: "lg",
560
721
  p: 8,
561
- color: react$1.useColorModeValue("gray.700", "whiteAlpha.900"),
562
- bg: react$1.useColorModeValue("white", "gray.700"),
722
+ color: react.useColorModeValue("gray.700", "whiteAlpha.900"),
723
+ bg: react.useColorModeValue("white", "gray.700"),
563
724
  shadow: "base",
564
725
  onSubmit: handleSubmit,
565
726
  ...boxProps,
566
- children: /* @__PURE__ */ jsxRuntime.jsxs(react$1.VStack, { spacing: 4, children: [
567
- /* @__PURE__ */ jsxRuntime.jsxs(react$1.FormControl, { isRequired: true, children: [
568
- /* @__PURE__ */ jsxRuntime.jsx(react$1.FormLabel, { children: t("field.name.label") }),
569
- /* @__PURE__ */ jsxRuntime.jsxs(react$1.InputGroup, { children: [
570
- /* @__PURE__ */ jsxRuntime.jsx(react$1.InputLeftElement, { children: /* @__PURE__ */ jsxRuntime.jsx(
727
+ children: /* @__PURE__ */ jsxRuntime.jsxs(react.VStack, { spacing: 4, children: [
728
+ /* @__PURE__ */ jsxRuntime.jsxs(react.FormControl, { isRequired: true, children: [
729
+ /* @__PURE__ */ jsxRuntime.jsx(react.FormLabel, { children: t("field.name.label") }),
730
+ /* @__PURE__ */ jsxRuntime.jsxs(react.InputGroup, { children: [
731
+ /* @__PURE__ */ jsxRuntime.jsx(react.InputLeftElement, { children: /* @__PURE__ */ jsxRuntime.jsx(
571
732
  "svg",
572
733
  {
573
734
  xmlns: "http://www.w3.org/2000/svg",
@@ -579,21 +740,21 @@ const ContactForm = ({ ...boxProps }) => {
579
740
  children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6" })
580
741
  }
581
742
  ) }),
582
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Input, { type: "text", name: "name", placeholder: t("field.name.placeholder") })
743
+ /* @__PURE__ */ jsxRuntime.jsx(react.Input, { type: "text", name: "name", placeholder: t("field.name.placeholder") })
583
744
  ] })
584
745
  ] }),
585
- /* @__PURE__ */ jsxRuntime.jsxs(react$1.FormControl, { isRequired: true, children: [
586
- /* @__PURE__ */ jsxRuntime.jsx(react$1.FormLabel, { children: t("field.email.label") }),
587
- /* @__PURE__ */ jsxRuntime.jsxs(react$1.InputGroup, { children: [
588
- /* @__PURE__ */ jsxRuntime.jsx(react$1.InputLeftElement, { children: /* @__PURE__ */ jsxRuntime.jsx(icons.EmailIcon, {}) }),
589
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Input, { type: "email", name: "email", placeholder: t("field.email.placeholder") })
746
+ /* @__PURE__ */ jsxRuntime.jsxs(react.FormControl, { isRequired: true, children: [
747
+ /* @__PURE__ */ jsxRuntime.jsx(react.FormLabel, { children: t("field.email.label") }),
748
+ /* @__PURE__ */ jsxRuntime.jsxs(react.InputGroup, { children: [
749
+ /* @__PURE__ */ jsxRuntime.jsx(react.InputLeftElement, { children: /* @__PURE__ */ jsxRuntime.jsx(icons.EmailIcon, {}) }),
750
+ /* @__PURE__ */ jsxRuntime.jsx(react.Input, { type: "email", name: "email", placeholder: t("field.email.placeholder") })
590
751
  ] })
591
752
  ] }),
592
- /* @__PURE__ */ jsxRuntime.jsxs(react$1.FormControl, { isRequired: true, children: [
593
- /* @__PURE__ */ jsxRuntime.jsx(react$1.FormLabel, { children: t("field.message.label") }),
594
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Textarea, { name: "message", placeholder: t("field.message.placeholder"), rows: 6, resize: "none" })
753
+ /* @__PURE__ */ jsxRuntime.jsxs(react.FormControl, { isRequired: true, children: [
754
+ /* @__PURE__ */ jsxRuntime.jsx(react.FormLabel, { children: t("field.message.label") }),
755
+ /* @__PURE__ */ jsxRuntime.jsx(react.Textarea, { name: "message", placeholder: t("field.message.placeholder"), rows: 6, resize: "none" })
595
756
  ] }),
596
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Button, { type: "submit", colorScheme: "brand", width: "full", children: t("action.send") })
757
+ /* @__PURE__ */ jsxRuntime.jsx(react.Button, { type: "submit", colorScheme: "brand", width: "full", children: t("action.send") })
597
758
  ] })
598
759
  }
599
760
  );
@@ -601,8 +762,8 @@ const ContactForm = ({ ...boxProps }) => {
601
762
  const Contacts = () => {
602
763
  const { t } = reactI18next.useTranslation("pageContacts");
603
764
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
604
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Heading1, { children: t("title") }),
605
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Paragraph, { children: t("text") }),
765
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Heading1, { children: t("title") }),
766
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Paragraph, { children: t("text") }),
606
767
  /* @__PURE__ */ jsxRuntime.jsx(ContactForm, {})
607
768
  ] });
608
769
  };
@@ -611,29 +772,29 @@ const PrivacyPolicy = ({ contactsSlug }) => {
611
772
  const { metadata } = index.useSiteContext();
612
773
  const { name: siteName } = metadata;
613
774
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
614
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Heading1, { children: t("title") }),
615
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Paragraph, { children: t("text") }),
616
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Heading2, { children: t("sectionOne.title", { siteName }) }),
617
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Paragraph, { children: t("sectionOne.text", { siteName }) }),
618
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Heading2, { children: t("sectionTwo.title") }),
619
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Paragraph, { children: t("sectionTwo.textOne") }),
620
- /* @__PURE__ */ jsxRuntime.jsxs(index$6.Unordered, { children: [
775
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Heading1, { children: t("title") }),
776
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Paragraph, { children: t("text") }),
777
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Heading2, { children: t("sectionOne.title", { siteName }) }),
778
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Paragraph, { children: t("sectionOne.text", { siteName }) }),
779
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Heading2, { children: t("sectionTwo.title") }),
780
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Paragraph, { children: t("sectionTwo.textOne") }),
781
+ /* @__PURE__ */ jsxRuntime.jsxs(index$3.Unordered, { children: [
621
782
  /* @__PURE__ */ jsxRuntime.jsx("li", { children: t("sectionTwo.list.itemOne") }),
622
783
  /* @__PURE__ */ jsxRuntime.jsx("li", { children: t("sectionTwo.list.itemTwo") })
623
784
  ] }),
624
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Paragraph, { children: t("sectionTwo.textTwo") }),
625
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Heading2, { children: t("sectionThree.title") }),
626
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Paragraph, { children: t("sectionThree.text") }),
627
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Heading2, { children: t("sectionFour.title") }),
628
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Paragraph, { children: t("sectionFour.text") }),
629
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Heading2, { children: t("sectionFive.title") }),
630
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Paragraph, { children: t("sectionFive.text", { siteName }) }),
631
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Heading2, { children: t("sectionSix.title") }),
632
- contactsSlug ? /* @__PURE__ */ jsxRuntime.jsxs(index$6.Paragraph, { children: [
785
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Paragraph, { children: t("sectionTwo.textTwo") }),
786
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Heading2, { children: t("sectionThree.title") }),
787
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Paragraph, { children: t("sectionThree.text") }),
788
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Heading2, { children: t("sectionFour.title") }),
789
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Paragraph, { children: t("sectionFour.text") }),
790
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Heading2, { children: t("sectionFive.title") }),
791
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Paragraph, { children: t("sectionFive.text", { siteName }) }),
792
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Heading2, { children: t("sectionSix.title") }),
793
+ contactsSlug ? /* @__PURE__ */ jsxRuntime.jsxs(index$3.Paragraph, { children: [
633
794
  t("sectionSix.textWithLink.contentStart"),
634
795
  /* @__PURE__ */ jsxRuntime.jsx(index.Link, { color: "brand.400", to: contactsSlug, children: t("sectionSix.textWithLink.link") }),
635
796
  t("sectionSix.textWithLink.contentEnd", { siteName })
636
- ] }) : /* @__PURE__ */ jsxRuntime.jsx(index$6.Paragraph, { children: t("sectionSix.text", { siteName }) })
797
+ ] }) : /* @__PURE__ */ jsxRuntime.jsx(index$3.Paragraph, { children: t("sectionSix.text", { siteName }) })
637
798
  ] });
638
799
  };
639
800
  const TermsAndConditions = ({ privacyPolicySlug }) => {
@@ -641,11 +802,11 @@ const TermsAndConditions = ({ privacyPolicySlug }) => {
641
802
  const { metadata } = index.useSiteContext();
642
803
  const { name: siteName } = metadata;
643
804
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
644
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Heading1, { children: t("title") }),
645
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Paragraph, { children: t("text", { siteName }) }),
646
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Heading2, { children: t("sectionOne.title") }),
647
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Paragraph, { children: t("sectionOne.text", { siteName }) }),
648
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Unordered, { children: ["One", "Two", "Three", "Four"].map((i, index2) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsxs(index$6.Paragraph, { children: [
805
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Heading1, { children: t("title") }),
806
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Paragraph, { children: t("text", { siteName }) }),
807
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Heading2, { children: t("sectionOne.title") }),
808
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Paragraph, { children: t("sectionOne.text", { siteName }) }),
809
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Unordered, { children: ["One", "Two", "Three", "Four"].map((i, index2) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsxs(index$3.Paragraph, { children: [
649
810
  /* @__PURE__ */ jsxRuntime.jsxs("strong", { children: [
650
811
  t(`sectionOne.list.item${i}.title`),
651
812
  ":"
@@ -653,8 +814,8 @@ const TermsAndConditions = ({ privacyPolicySlug }) => {
653
814
  /* @__PURE__ */ jsxRuntime.jsx("br", {}),
654
815
  t(`sectionOne.list.item${i}.description`, { siteName })
655
816
  ] }) }, index2)) }),
656
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Heading2, { children: t("sectionTwo.title") }),
657
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Ordered, { children: ["One", "Two", "Three", "Four"].map((i, index2) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsxs(index$6.Paragraph, { children: [
817
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Heading2, { children: t("sectionTwo.title") }),
818
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Ordered, { children: ["One", "Two", "Three", "Four"].map((i, index2) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsxs(index$3.Paragraph, { children: [
658
819
  /* @__PURE__ */ jsxRuntime.jsxs("strong", { children: [
659
820
  t(`sectionTwo.list.item${i}.title`),
660
821
  ":"
@@ -662,11 +823,11 @@ const TermsAndConditions = ({ privacyPolicySlug }) => {
662
823
  /* @__PURE__ */ jsxRuntime.jsx("br", {}),
663
824
  t(`sectionTwo.list.item${i}.description`, { siteName })
664
825
  ] }) }, index2)) }),
665
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Heading2, { children: t("sectionThree.title") }),
666
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Paragraph, { children: t("sectionThree.text", { siteName }) }),
667
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Heading2, { children: t("sectionFour.title") }),
668
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Paragraph, { children: t("sectionFour.text", { siteName }) }),
669
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Unordered, { children: ["One", "Two"].map((i, index2) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsxs(index$6.Paragraph, { children: [
826
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Heading2, { children: t("sectionThree.title") }),
827
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Paragraph, { children: t("sectionThree.text", { siteName }) }),
828
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Heading2, { children: t("sectionFour.title") }),
829
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Paragraph, { children: t("sectionFour.text", { siteName }) }),
830
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Unordered, { children: ["One", "Two"].map((i, index2) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsxs(index$3.Paragraph, { children: [
670
831
  /* @__PURE__ */ jsxRuntime.jsxs("strong", { children: [
671
832
  t(`sectionFour.list.item${i}.title`),
672
833
  ":"
@@ -674,18 +835,18 @@ const TermsAndConditions = ({ privacyPolicySlug }) => {
674
835
  /* @__PURE__ */ jsxRuntime.jsx("br", {}),
675
836
  t(`sectionFour.list.item${i}.description`, { siteName })
676
837
  ] }) }, index2)) }),
677
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Heading2, { children: t("sectionFive.title") }),
678
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Paragraph, { children: t("sectionFive.text", { siteName }) }),
679
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Heading2, { children: t("sectionSix.title") }),
680
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Paragraph, { children: t("sectionSix.textOne") }),
681
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Unordered, { children: ["One", "Two", "Three"].map((i, index2) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: t(`sectionSix.list.item${i}`) }, index2)) }),
682
- privacyPolicySlug ? /* @__PURE__ */ jsxRuntime.jsxs(index$6.Paragraph, { children: [
838
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Heading2, { children: t("sectionFive.title") }),
839
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Paragraph, { children: t("sectionFive.text", { siteName }) }),
840
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Heading2, { children: t("sectionSix.title") }),
841
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Paragraph, { children: t("sectionSix.textOne") }),
842
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Unordered, { children: ["One", "Two", "Three"].map((i, index2) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: t(`sectionSix.list.item${i}`) }, index2)) }),
843
+ privacyPolicySlug ? /* @__PURE__ */ jsxRuntime.jsxs(index$3.Paragraph, { children: [
683
844
  t("sectionSix.textTwoWithLink.contentStart"),
684
845
  /* @__PURE__ */ jsxRuntime.jsx(index.Link, { color: "brand.400", to: privacyPolicySlug, children: t("sectionSix.textTwoWithLink.link") }),
685
846
  t("sectionSix.textTwoWithLink.contentEnd")
686
- ] }) : /* @__PURE__ */ jsxRuntime.jsx(index$6.Paragraph, { children: t("sectionSix.textTwo") }),
687
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Heading2, { children: t("sectionSeven.title") }),
688
- /* @__PURE__ */ jsxRuntime.jsx(index$6.Ordered, { children: ["One", "Two"].map((i, index2) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsxs(index$6.Paragraph, { children: [
847
+ ] }) : /* @__PURE__ */ jsxRuntime.jsx(index$3.Paragraph, { children: t("sectionSix.textTwo") }),
848
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Heading2, { children: t("sectionSeven.title") }),
849
+ /* @__PURE__ */ jsxRuntime.jsx(index$3.Ordered, { children: ["One", "Two"].map((i, index2) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsxs(index$3.Paragraph, { children: [
689
850
  /* @__PURE__ */ jsxRuntime.jsxs("strong", { children: [
690
851
  t(`sectionSeven.list.item${i}.title`),
691
852
  ":"
@@ -714,35 +875,35 @@ const BgColorMap = {
714
875
  const ProsConsCard = ({ itemType, items }) => {
715
876
  const { t } = reactI18next.useTranslation("prosCons");
716
877
  return /* @__PURE__ */ jsxRuntime.jsxs(
717
- react$1.Card,
878
+ react.Card,
718
879
  {
719
880
  as: "article",
720
881
  flex: 1,
721
882
  p: 2,
722
- bgColor: react$1.useColorModeValue(`${BgColorMap[itemType]}.100`, `${BgColorMap[itemType]}.800`),
883
+ bgColor: react.useColorModeValue(`${BgColorMap[itemType]}.100`, `${BgColorMap[itemType]}.800`),
723
884
  children: [
724
885
  /* @__PURE__ */ jsxRuntime.jsx(
725
- react$1.CardHeader,
886
+ react.CardHeader,
726
887
  {
727
888
  as: "header",
728
889
  p: 2,
729
890
  borderTopRadius: "md",
730
- bgColor: react$1.useColorModeValue("whiteAlpha.800", "blackAlpha.800"),
731
- children: /* @__PURE__ */ jsxRuntime.jsx(react$1.Heading, { as: "h3", textTransform: "uppercase", fontSize: "xl", children: t(TitleMap[itemType]) })
891
+ bgColor: react.useColorModeValue("whiteAlpha.800", "blackAlpha.800"),
892
+ children: /* @__PURE__ */ jsxRuntime.jsx(react.Heading, { as: "h3", textTransform: "uppercase", fontSize: "xl", children: t(TitleMap[itemType]) })
732
893
  }
733
894
  ),
734
895
  /* @__PURE__ */ jsxRuntime.jsx(
735
- react$1.CardBody,
896
+ react.CardBody,
736
897
  {
737
898
  as: "section",
738
899
  p: 2,
739
900
  borderBottomRadius: "md",
740
- bgColor: react$1.useColorModeValue("whiteAlpha.800", "blackAlpha.800"),
741
- children: /* @__PURE__ */ jsxRuntime.jsx(react$1.List, { spacing: 4, p: 0, children: items.map(({ title, description }) => /* @__PURE__ */ jsxRuntime.jsxs(react$1.ListItem, { display: "flex", children: [
742
- /* @__PURE__ */ jsxRuntime.jsx(react$1.ListIcon, { as: IconMap[itemType], w: 6, h: 6, color: IconColorMap[itemType] }),
743
- /* @__PURE__ */ jsxRuntime.jsxs(react$1.Text, { fontWeight: "semibold", fontSize: "md", children: [
901
+ bgColor: react.useColorModeValue("whiteAlpha.800", "blackAlpha.800"),
902
+ children: /* @__PURE__ */ jsxRuntime.jsx(react.List, { spacing: 4, p: 0, children: items.map(({ title, description }) => /* @__PURE__ */ jsxRuntime.jsxs(react.ListItem, { display: "flex", children: [
903
+ /* @__PURE__ */ jsxRuntime.jsx(react.ListIcon, { as: IconMap[itemType], w: 6, h: 6, color: IconColorMap[itemType] }),
904
+ /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { fontWeight: "semibold", fontSize: "md", children: [
744
905
  title,
745
- !!description && /* @__PURE__ */ jsxRuntime.jsxs(react$1.Text, { as: "span", fontWeight: "normal", children: [
906
+ !!description && /* @__PURE__ */ jsxRuntime.jsxs(react.Text, { as: "span", fontWeight: "normal", children: [
746
907
  ": ",
747
908
  description
748
909
  ] })
@@ -756,7 +917,7 @@ const ProsConsCard = ({ itemType, items }) => {
756
917
  };
757
918
  const ProsCons = ({ items, ...boxProps }) => {
758
919
  const { pros, cons } = items;
759
- return /* @__PURE__ */ jsxRuntime.jsxs(react$1.Flex, { as: "section", direction: { base: "column", md: "row" }, gap: 4, ...boxProps, children: [
920
+ return /* @__PURE__ */ jsxRuntime.jsxs(react.Flex, { as: "section", direction: { base: "column", md: "row" }, gap: 4, ...boxProps, children: [
760
921
  /* @__PURE__ */ jsxRuntime.jsx(ProsConsCard, { itemType: "pros", items: pros }),
761
922
  /* @__PURE__ */ jsxRuntime.jsx(ProsConsCard, { itemType: "cons", items: cons })
762
923
  ] });
@@ -773,11 +934,11 @@ const Seo = ({ children, title, description, lang }) => {
773
934
  const { name: siteName, lang: defaultLang, seo } = metadata;
774
935
  const { title: defaultTitle, description: defaultDescription } = seo;
775
936
  const siteLang = lang || defaultLang;
776
- const placeholders = react.useMemo(
937
+ const placeholders = react$1.useMemo(
777
938
  () => ({
778
939
  siteName,
779
- currentYear: index$5.getCurrentYear(siteLang),
780
- currentMonth: index$5.getCurrentMonth(siteLang)
940
+ currentYear: index$1.getCurrentYear(siteLang),
941
+ currentMonth: index$1.getCurrentMonth(siteLang)
781
942
  }),
782
943
  [siteName, siteLang]
783
944
  );
@@ -806,21 +967,21 @@ const Table = ({
806
967
  const headerItems = items.slice(0, columnNumber);
807
968
  const bodyItems = items.slice(columnNumber);
808
969
  return /* @__PURE__ */ jsxRuntime.jsx(
809
- react$1.TableContainer,
970
+ react.TableContainer,
810
971
  {
811
972
  border: bordered ? void 0 : "none",
812
973
  ...scrollable ? { maxH: "50vh", overflowY: "auto" } : {},
813
974
  ...boxProps,
814
- children: /* @__PURE__ */ jsxRuntime.jsxs(react$1.Table, { variant: striped ? "striped" : "simple", children: [
815
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Thead, { ...scrollable ? { position: "sticky", top: 0, zIndex: 1, bg: "gray.800" } : {}, children: /* @__PURE__ */ jsxRuntime.jsx(react$1.Tr, { children: headerItems.map((item, index2) => /* @__PURE__ */ jsxRuntime.jsx(react$1.Th, { children: item }, index2)) }) }),
816
- /* @__PURE__ */ jsxRuntime.jsx(react$1.Tbody, { children: Array.from({ length: Math.ceil(bodyItems.length / columnNumber) }, (_, rowIndex) => /* @__PURE__ */ jsxRuntime.jsx(react$1.Tr, { children: Array.from({ length: columnNumber }, (_2, colIndex) => /* @__PURE__ */ jsxRuntime.jsx(react$1.Td, { children: bodyItems[rowIndex * columnNumber + colIndex] || "" }, colIndex)) }, rowIndex)) }),
817
- !!caption && /* @__PURE__ */ jsxRuntime.jsx(react$1.TableCaption, { children: caption })
975
+ children: /* @__PURE__ */ jsxRuntime.jsxs(react.Table, { variant: striped ? "striped" : "simple", children: [
976
+ /* @__PURE__ */ jsxRuntime.jsx(react.Thead, { ...scrollable ? { position: "sticky", top: 0, zIndex: 1, bg: "gray.800" } : {}, children: /* @__PURE__ */ jsxRuntime.jsx(react.Tr, { children: headerItems.map((item, index2) => /* @__PURE__ */ jsxRuntime.jsx(react.Th, { children: item }, index2)) }) }),
977
+ /* @__PURE__ */ jsxRuntime.jsx(react.Tbody, { children: Array.from({ length: Math.ceil(bodyItems.length / columnNumber) }, (_, rowIndex) => /* @__PURE__ */ jsxRuntime.jsx(react.Tr, { children: Array.from({ length: columnNumber }, (_2, colIndex) => /* @__PURE__ */ jsxRuntime.jsx(react.Td, { children: bodyItems[rowIndex * columnNumber + colIndex] || "" }, colIndex)) }, rowIndex)) }),
978
+ !!caption && /* @__PURE__ */ jsxRuntime.jsx(react.TableCaption, { children: caption })
818
979
  ] })
819
980
  }
820
981
  );
821
982
  };
822
983
  const Tabs = ({ items, render, ...boxProps }) => {
823
- const { tabs, panels } = react.useMemo(() => {
984
+ const { tabs, panels } = react$1.useMemo(() => {
824
985
  const tabs2 = [];
825
986
  const panels2 = [];
826
987
  items.forEach(({ content, ...tab }) => {
@@ -829,35 +990,13 @@ const Tabs = ({ items, render, ...boxProps }) => {
829
990
  });
830
991
  return { tabs: tabs2, panels: panels2 };
831
992
  }, []);
832
- return /* @__PURE__ */ jsxRuntime.jsxs(react$1.Tabs, { overflow: "hidden", colorScheme: "brand", ...boxProps, children: [
833
- /* @__PURE__ */ jsxRuntime.jsx(react$1.TabList, { overflow: "auto hidden", children: tabs.map(({ label, icon }, index2) => /* @__PURE__ */ jsxRuntime.jsx(react$1.Tab, { children: /* @__PURE__ */ jsxRuntime.jsx(react$1.Text, { as: "h3", isTruncated: true, children: icon ? `${icon} ${label}` : label }) }, index2)) }),
834
- /* @__PURE__ */ jsxRuntime.jsx(react$1.TabPanels, { children: panels.map((panel, index2) => /* @__PURE__ */ jsxRuntime.jsx(react$1.TabPanel, { children: render ? render(panel) : panel }, index2)) })
993
+ return /* @__PURE__ */ jsxRuntime.jsxs(react.Tabs, { overflow: "hidden", colorScheme: "brand", ...boxProps, children: [
994
+ /* @__PURE__ */ jsxRuntime.jsx(react.TabList, { overflow: "auto hidden", children: tabs.map(({ label, icon }, index2) => /* @__PURE__ */ jsxRuntime.jsx(react.Tab, { children: /* @__PURE__ */ jsxRuntime.jsx(react.Text, { as: "h3", isTruncated: true, children: icon ? `${icon} ${label}` : label }) }, index2)) }),
995
+ /* @__PURE__ */ jsxRuntime.jsx(react.TabPanels, { children: panels.map((panel, index2) => /* @__PURE__ */ jsxRuntime.jsx(react.TabPanel, { children: render ? render(panel) : panel }, index2)) })
835
996
  ] });
836
997
  };
837
998
  const Tip = ({ tip, author = null, ...boxProps }) => {
838
- return /* @__PURE__ */ jsxRuntime.jsxs(
839
- react$1.Card,
840
- {
841
- variant: "filled",
842
- p: 4,
843
- borderLeft: "4px solid gray",
844
- gap: 4,
845
- _before: {
846
- content: '"❛❛"',
847
- position: "absolute",
848
- top: -8,
849
- left: -2,
850
- fontSize: "6rem",
851
- fontStyle: "italic",
852
- color: react$1.useColorModeValue("blackAlpha.300", "whiteAlpha.300")
853
- },
854
- ...boxProps,
855
- children: [
856
- /* @__PURE__ */ jsxRuntime.jsx(react$1.CardBody, { as: "blockquote", p: 0, fontStyle: "italic", children: tip }),
857
- !!author && /* @__PURE__ */ jsxRuntime.jsx(react$1.CardFooter, { alignItems: "center", justify: "flex-end", p: 0, children: /* @__PURE__ */ jsxRuntime.jsx(Author, { author, variant: "short" }) })
858
- ]
859
- }
860
- );
999
+ return /* @__PURE__ */ jsxRuntime.jsx(Informer, { type: "quote", text: tip, author, ...boxProps });
861
1000
  };
862
1001
  const ExternalImage = ({ image, component: ImageComponent, alt = "", ...imageProps }) => {
863
1002
  var _a, _b;
@@ -878,7 +1017,10 @@ function extractCurrencies(currencyList) {
878
1017
  return [...new Set(currencyList.items.map(({ code }) => code))];
879
1018
  }
880
1019
  const StrapiComponent = ({ type, props, imageComponent }) => {
1020
+ var _a;
881
1021
  switch (type) {
1022
+ case "STRAPI__COMPONENT_CONTENT_ACTION_BUTTON":
1023
+ return /* @__PURE__ */ jsxRuntime.jsx(ActionButton, { label: props.label, href: props.url, mb: 4 });
882
1024
  case "STRAPI__COMPONENT_CONTENT_FAQ":
883
1025
  return /* @__PURE__ */ jsxRuntime.jsx(Faq, { items: props.items, mb: 4 });
884
1026
  case "STRAPI__COMPONENT_CONTENT_FEATURES":
@@ -933,8 +1075,8 @@ const StrapiComponent = ({ type, props, imageComponent }) => {
933
1075
  GameDemo,
934
1076
  {
935
1077
  name: props.name,
936
- src: props.src,
937
- href: props.href,
1078
+ src: props == null ? void 0 : props.src,
1079
+ refLink: ((_a = props == null ? void 0 : props.partner) == null ? void 0 : _a.refLink) ?? (props == null ? void 0 : props.href),
938
1080
  previewImage: /* @__PURE__ */ jsxRuntime.jsx(ExternalImage, { image: props.previewImage, alt: props.name, component: imageComponent }),
939
1081
  mb: 4
940
1082
  }
@@ -960,6 +1102,27 @@ const StrapiComponent = ({ type, props, imageComponent }) => {
960
1102
  mb: 4
961
1103
  }
962
1104
  );
1105
+ case "STRAPI__COMPONENT_CONTENT_INFORMER":
1106
+ return /* @__PURE__ */ jsxRuntime.jsx(
1107
+ Informer,
1108
+ {
1109
+ type: props.type,
1110
+ text: props.text,
1111
+ author: props.author ? {
1112
+ ...props.author,
1113
+ avatar: /* @__PURE__ */ jsxRuntime.jsx(
1114
+ ExternalImage,
1115
+ {
1116
+ component: imageComponent,
1117
+ image: props.author.avatar,
1118
+ alt: props.author.name,
1119
+ style: { borderRadius: "50%" }
1120
+ }
1121
+ )
1122
+ } : null,
1123
+ mb: 4
1124
+ }
1125
+ );
963
1126
  case "STRAPI__COMPONENT_CONTENT_LIST":
964
1127
  return /* @__PURE__ */ jsxRuntime.jsx(List, { bullet: props.bullet, items: extractItemsFromJson(props.content), mb: 4 });
965
1128
  case "STRAPI__COMPONENT_CONTENT_MEDIA":
@@ -1031,6 +1194,11 @@ const StrapiContentRenderer = ({ content, imageComponent }) => {
1031
1194
  }
1032
1195
  return content.map(({ __typename: type, ...props }, index2) => /* @__PURE__ */ jsxRuntime.jsx(StrapiComponent, { type, props, imageComponent }, index2));
1033
1196
  };
1197
+ exports.ActionButton = ActionButton;
1198
+ exports.ArticleCard = ArticleCard;
1199
+ exports.ArticleCardGrid = ArticleCardGrid;
1200
+ exports.ArticleInfoCard = ArticleInfoCard;
1201
+ exports.ArticleMeta = ArticleMeta;
1034
1202
  exports.Author = Author;
1035
1203
  exports.AuthorCard = AuthorCard;
1036
1204
  exports.BonusCard = BonusCard;
@@ -1047,6 +1215,7 @@ exports.GameDemo = GameDemo;
1047
1215
  exports.GameInfo = GameInfo;
1048
1216
  exports.Grid = Grid;
1049
1217
  exports.HowTo = HowTo;
1218
+ exports.Informer = Informer;
1050
1219
  exports.List = List;
1051
1220
  exports.NotFound = NotFound;
1052
1221
  exports.PrivacyPolicy = PrivacyPolicy;