@anywayseo/tools 1.0.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/LICENSE +21 -0
- package/README.md +62 -0
- package/dist/components/author/index.d.ts +8 -0
- package/dist/components/contact-form/index.d.ts +3 -0
- package/dist/components/expert/bio/index.d.ts +8 -0
- package/dist/components/expert/index.d.ts +8 -0
- package/dist/components/expert-tip/index.d.ts +9 -0
- package/dist/components/faq/index.d.ts +9 -0
- package/dist/components/features/index.d.ts +8 -0
- package/dist/components/game-demo/content/index.d.ts +10 -0
- package/dist/components/game-demo/index.d.ts +10 -0
- package/dist/components/game-demo/preview/index.d.ts +9 -0
- package/dist/components/game-info/index.d.ts +7 -0
- package/dist/components/game-info/item/index.d.ts +7 -0
- package/dist/components/game-info/utils.d.ts +2 -0
- package/dist/components/how-to/index.d.ts +8 -0
- package/dist/components/index.cjs +14 -0
- package/dist/components/index.d.ts +11 -0
- package/dist/components/index.mjs +14 -0
- package/dist/components/layout/content/index.d.ts +3 -0
- package/dist/components/layout/footer/brand/index.d.ts +6 -0
- package/dist/components/layout/footer/copyright/index.d.ts +3 -0
- package/dist/components/layout/footer/disclaimer/index.d.ts +3 -0
- package/dist/components/layout/footer/index.d.ts +3 -0
- package/dist/components/layout/footer/navigation/index.d.ts +3 -0
- package/dist/components/layout/header/index.d.ts +3 -0
- package/dist/components/layout/header/navbar/brand/index.d.ts +6 -0
- package/dist/components/layout/header/navbar/index.d.ts +6 -0
- package/dist/components/layout/header/navbar/navigation/desktop/index.d.ts +4 -0
- package/dist/components/layout/header/navbar/navigation/desktop/item/index.d.ts +5 -0
- package/dist/components/layout/header/navbar/navigation/index.d.ts +4 -0
- package/dist/components/layout/header/navbar/navigation/mobile/index.d.ts +4 -0
- package/dist/components/layout/header/navbar/navigation/mobile/item/index.d.ts +5 -0
- package/dist/components/layout/header/navbar/navigation/types.d.ts +4 -0
- package/dist/components/layout/header/navbar/theme-toggler/index.d.ts +3 -0
- package/dist/components/layout/hero/index.d.ts +9 -0
- package/dist/components/layout/index.d.ts +12 -0
- package/dist/components/layout/logo/index.d.ts +3 -0
- package/dist/components/layout/main/index.d.ts +3 -0
- package/dist/components/layout/scroll-to-top/index.d.ts +3 -0
- package/dist/components/pros-cons/card/index.d.ts +8 -0
- package/dist/components/pros-cons/card/utils.d.ts +6 -0
- package/dist/components/pros-cons/index.d.ts +8 -0
- package/dist/components/seo/index.d.ts +16 -0
- package/dist/hooks/index.cjs +4 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.mjs +4 -0
- package/dist/hooks/use-primary-colors/index.d.ts +6 -0
- package/dist/i18n/index.cjs +7 -0
- package/dist/i18n/index.d.ts +9 -0
- package/dist/i18n/index.mjs +7 -0
- package/dist/i18n/resources/en/index.d.ts +99 -0
- package/dist/i18n/resources/index.d.ts +8 -0
- package/dist/i18n/resources/it/index.d.ts +99 -0
- package/dist/index-BWuTDC6H.js +17 -0
- package/dist/index-Bh5idiRE.mjs +257 -0
- package/dist/index-Bs4zA1wD.mjs +17 -0
- package/dist/index-BtWxmLHW.mjs +80 -0
- package/dist/index-D96zh94V.js +16 -0
- package/dist/index-DB1dS9cp.js +256 -0
- package/dist/index-Dfw_EKZ6.mjs +767 -0
- package/dist/index-IpSV-c71.js +8 -0
- package/dist/index-JMmaWcmu.js +79 -0
- package/dist/index-NWY9BnRg.js +766 -0
- package/dist/index-wbMOJRW_.mjs +18 -0
- package/dist/index-xuSxvz5z.mjs +9 -0
- package/dist/index.cjs +36 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.mjs +36 -0
- package/dist/providers/index.cjs +7 -0
- package/dist/providers/index.d.ts +2 -0
- package/dist/providers/index.mjs +7 -0
- package/dist/providers/mdx-provider/index.d.ts +3 -0
- package/dist/providers/site-metadata-provider/index.d.ts +14 -0
- package/dist/style.css +15 -0
- package/dist/types/author/index.d.ts +17 -0
- package/dist/types/faq/index.d.ts +4 -0
- package/dist/types/feature/index.d.ts +4 -0
- package/dist/types/game-info/index.d.ts +63 -0
- package/dist/types/how-to/index.d.ts +5 -0
- package/dist/types/i18n/index.d.ts +2 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/types/navigation/index.d.ts +9 -0
- package/dist/types/pros-cons/index.d.ts +6 -0
- package/dist/types/site-metadata/index.d.ts +10 -0
- package/dist/utils/date/index.d.ts +9 -0
- package/dist/utils/index.cjs +11 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.mjs +11 -0
- package/dist/utils/numbers/index.d.ts +19 -0
- package/dist/utils/numbers/types.d.ts +1 -0
- package/dist/utils/url/index.d.ts +1 -0
- package/package.json +99 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
declare const dictionary: {
|
|
2
|
+
readonly pageNotFound: {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
action: string;
|
|
6
|
+
};
|
|
7
|
+
readonly footer: {
|
|
8
|
+
copyright: string;
|
|
9
|
+
disclaimer: {
|
|
10
|
+
title: string;
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
readonly gameDemo: {
|
|
15
|
+
warning: string;
|
|
16
|
+
action: {
|
|
17
|
+
playForFree: string;
|
|
18
|
+
activateFullscreen: string;
|
|
19
|
+
deactivateFullscreen: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
readonly gameInfo: {
|
|
23
|
+
title: string;
|
|
24
|
+
group: {
|
|
25
|
+
general: string;
|
|
26
|
+
features: string;
|
|
27
|
+
};
|
|
28
|
+
feature: {
|
|
29
|
+
BONUS_FEATURES: string;
|
|
30
|
+
COMPATIBILITY: string;
|
|
31
|
+
DEVELOPER: string;
|
|
32
|
+
HAS_AUTOPLAY: string;
|
|
33
|
+
HAS_BONUS_PURCHASE: string;
|
|
34
|
+
HAS_COLLECTION_SYMBOLS: string;
|
|
35
|
+
HAS_DEMO: string;
|
|
36
|
+
HAS_FAST_SPIN: string;
|
|
37
|
+
HAS_FREE_SPINS: string;
|
|
38
|
+
HAS_PROGRESSIVE_JACKPOT: string;
|
|
39
|
+
LANGUAGES: string;
|
|
40
|
+
MAX_WIN: string;
|
|
41
|
+
MAX_BET: string;
|
|
42
|
+
MIN_BET: string;
|
|
43
|
+
NAME: string;
|
|
44
|
+
PAY_LINES: string;
|
|
45
|
+
REELS_NUMBER: string;
|
|
46
|
+
RELEASE_DATE: string;
|
|
47
|
+
RTP: string;
|
|
48
|
+
THEME: string;
|
|
49
|
+
TYPE: string;
|
|
50
|
+
VOLATILITY: string;
|
|
51
|
+
};
|
|
52
|
+
value: {
|
|
53
|
+
boolean: {
|
|
54
|
+
true: string;
|
|
55
|
+
false: string;
|
|
56
|
+
};
|
|
57
|
+
volatility: {
|
|
58
|
+
HIGH: string;
|
|
59
|
+
MEDIUM: string;
|
|
60
|
+
LOW: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
readonly prosCons: {
|
|
65
|
+
advantages: string;
|
|
66
|
+
disadvantages: string;
|
|
67
|
+
};
|
|
68
|
+
readonly author: {
|
|
69
|
+
title: string;
|
|
70
|
+
action: {
|
|
71
|
+
expand: string;
|
|
72
|
+
collapse: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
readonly contactForm: {
|
|
76
|
+
field: {
|
|
77
|
+
name: {
|
|
78
|
+
label: string;
|
|
79
|
+
placeholder: string;
|
|
80
|
+
};
|
|
81
|
+
email: {
|
|
82
|
+
label: string;
|
|
83
|
+
placeholder: string;
|
|
84
|
+
};
|
|
85
|
+
message: {
|
|
86
|
+
label: string;
|
|
87
|
+
placeholder: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
notification: {
|
|
91
|
+
title: string;
|
|
92
|
+
description: string;
|
|
93
|
+
};
|
|
94
|
+
action: {
|
|
95
|
+
send: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
export default dictionary;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
+
const react$1 = require("@chakra-ui/react");
|
|
4
|
+
const react = require("@mdx-js/react");
|
|
5
|
+
const components = {
|
|
6
|
+
h1: (props) => /* @__PURE__ */ jsxRuntime.jsx(react$1.Heading, { as: "h1", size: "xl", mb: 4, ...props }),
|
|
7
|
+
h2: (props) => /* @__PURE__ */ jsxRuntime.jsx(react$1.Heading, { as: "h2", size: "lg", mt: 6, mb: 4, ...props }),
|
|
8
|
+
h3: (props) => /* @__PURE__ */ jsxRuntime.jsx(react$1.Heading, { as: "h3", size: "md", mb: 4, ...props }),
|
|
9
|
+
ol: (props) => /* @__PURE__ */ jsxRuntime.jsx(react$1.OrderedList, { mb: 4, ...props }),
|
|
10
|
+
ul: (props) => /* @__PURE__ */ jsxRuntime.jsx(react$1.UnorderedList, { mb: 4, ...props }),
|
|
11
|
+
p: (props) => /* @__PURE__ */ jsxRuntime.jsx(react$1.Text, { mb: 4, ...props }),
|
|
12
|
+
a: (props) => /* @__PURE__ */ jsxRuntime.jsx(react$1.Link, { ...props, color: "brand.400" })
|
|
13
|
+
};
|
|
14
|
+
const MdxProvider = ({ children }) => {
|
|
15
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react.MDXProvider, { components, children });
|
|
16
|
+
};
|
|
17
|
+
exports.MdxProvider = MdxProvider;
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import { initReactI18next } from "react-i18next";
|
|
2
|
+
import i18n from "i18next";
|
|
3
|
+
var GameVolatility = /* @__PURE__ */ ((GameVolatility2) => {
|
|
4
|
+
GameVolatility2["High"] = "HIGH";
|
|
5
|
+
GameVolatility2["Medium"] = "MEDIUM";
|
|
6
|
+
GameVolatility2["Low"] = "LOW";
|
|
7
|
+
return GameVolatility2;
|
|
8
|
+
})(GameVolatility || {});
|
|
9
|
+
var GameCharacteristic = /* @__PURE__ */ ((GameCharacteristic2) => {
|
|
10
|
+
GameCharacteristic2["Name"] = "NAME";
|
|
11
|
+
GameCharacteristic2["Developer"] = "DEVELOPER";
|
|
12
|
+
GameCharacteristic2["ReleaseDate"] = "RELEASE_DATE";
|
|
13
|
+
GameCharacteristic2["Theme"] = "THEME";
|
|
14
|
+
GameCharacteristic2["Type"] = "TYPE";
|
|
15
|
+
GameCharacteristic2["Rtp"] = "RTP";
|
|
16
|
+
GameCharacteristic2["Volatility"] = "VOLATILITY";
|
|
17
|
+
GameCharacteristic2["ReelsNumber"] = "REELS_NUMBER";
|
|
18
|
+
GameCharacteristic2["PayLines"] = "PAY_LINES";
|
|
19
|
+
GameCharacteristic2["MinBet"] = "MIN_BET";
|
|
20
|
+
GameCharacteristic2["MaxBet"] = "MAX_BET";
|
|
21
|
+
GameCharacteristic2["MaxWin"] = "MAX_WIN";
|
|
22
|
+
GameCharacteristic2["Compatibility"] = "COMPATIBILITY";
|
|
23
|
+
GameCharacteristic2["HasDemo"] = "HAS_DEMO";
|
|
24
|
+
GameCharacteristic2["HasAutoplay"] = "HAS_AUTOPLAY";
|
|
25
|
+
GameCharacteristic2["HasFreeSpins"] = "HAS_FREE_SPINS";
|
|
26
|
+
GameCharacteristic2["HasFastSpin"] = "HAS_FAST_SPIN";
|
|
27
|
+
GameCharacteristic2["HasBonusPurchase"] = "HAS_BONUS_PURCHASE";
|
|
28
|
+
GameCharacteristic2["HasCollectionSymbols"] = "HAS_COLLECTION_SYMBOLS";
|
|
29
|
+
GameCharacteristic2["HasProgressiveJackpot"] = "HAS_PROGRESSIVE_JACKPOT";
|
|
30
|
+
GameCharacteristic2["BonusFeatures"] = "BONUS_FEATURES";
|
|
31
|
+
GameCharacteristic2["Languages"] = "LANGUAGES";
|
|
32
|
+
return GameCharacteristic2;
|
|
33
|
+
})(GameCharacteristic || {});
|
|
34
|
+
const pageNotFound$1 = {
|
|
35
|
+
title: "404 — Page not found",
|
|
36
|
+
description: "Sorry 😔, we couldn’t find what you were looking for.",
|
|
37
|
+
action: "Go Home"
|
|
38
|
+
};
|
|
39
|
+
const footer$1 = {
|
|
40
|
+
copyright: "© {{year}} {{domain}}. All rights reserved.",
|
|
41
|
+
disclaimer: {
|
|
42
|
+
title: "Play responsibly: ",
|
|
43
|
+
description: "{{domain}} is an independent resource not affiliated with the sites we promote. Make sure you have all the necessary certifications and legal requirements are met before you start playing. The main purpose of {{domain}} is to provide informative and entertaining content. If you are looking for links to related resources, you will be redirected to the relevant platforms."
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
const gameDemo$1 = {
|
|
47
|
+
warning: "Your browser is too old to display the iframe element",
|
|
48
|
+
action: {
|
|
49
|
+
playForFree: "Play for Free",
|
|
50
|
+
activateFullscreen: "Activate Fullscreen mode",
|
|
51
|
+
deactivateFullscreen: "Deactivate Fullscreen mode"
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
const gameInfo$1 = {
|
|
55
|
+
title: "Game Info",
|
|
56
|
+
group: {
|
|
57
|
+
general: "General Characteristics",
|
|
58
|
+
features: "Game Features"
|
|
59
|
+
},
|
|
60
|
+
feature: {
|
|
61
|
+
[GameCharacteristic.BonusFeatures]: "Bonus Features",
|
|
62
|
+
[GameCharacteristic.Compatibility]: "Compatibility",
|
|
63
|
+
[GameCharacteristic.Developer]: "Developer",
|
|
64
|
+
[GameCharacteristic.HasAutoplay]: "Autoplay",
|
|
65
|
+
[GameCharacteristic.HasBonusPurchase]: "Bonus Purchase",
|
|
66
|
+
[GameCharacteristic.HasCollectionSymbols]: "Collection Symbols",
|
|
67
|
+
[GameCharacteristic.HasDemo]: "Demo Version",
|
|
68
|
+
[GameCharacteristic.HasFastSpin]: "Fast Spin",
|
|
69
|
+
[GameCharacteristic.HasFreeSpins]: "Free Spins",
|
|
70
|
+
[GameCharacteristic.HasProgressiveJackpot]: "Progressive Jackpot",
|
|
71
|
+
[GameCharacteristic.Languages]: "Languages",
|
|
72
|
+
[GameCharacteristic.MaxWin]: "Max Win",
|
|
73
|
+
[GameCharacteristic.MaxBet]: "Max Bet",
|
|
74
|
+
[GameCharacteristic.MinBet]: "Min Bet",
|
|
75
|
+
[GameCharacteristic.Name]: "Name",
|
|
76
|
+
[GameCharacteristic.PayLines]: "Pay Lines Number",
|
|
77
|
+
[GameCharacteristic.ReelsNumber]: "Reels Number",
|
|
78
|
+
[GameCharacteristic.ReleaseDate]: "Release Date",
|
|
79
|
+
[GameCharacteristic.Rtp]: "RTP",
|
|
80
|
+
[GameCharacteristic.Theme]: "Theme",
|
|
81
|
+
[GameCharacteristic.Type]: "Type",
|
|
82
|
+
[GameCharacteristic.Volatility]: "Volatility"
|
|
83
|
+
},
|
|
84
|
+
value: {
|
|
85
|
+
boolean: {
|
|
86
|
+
true: "Yes",
|
|
87
|
+
false: "No"
|
|
88
|
+
},
|
|
89
|
+
volatility: {
|
|
90
|
+
[GameVolatility.High]: "High",
|
|
91
|
+
[GameVolatility.Medium]: "Medium",
|
|
92
|
+
[GameVolatility.Low]: "Low"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
const prosCons$1 = {
|
|
97
|
+
advantages: "Advantages",
|
|
98
|
+
disadvantages: "Disadvantages"
|
|
99
|
+
};
|
|
100
|
+
const author$1 = {
|
|
101
|
+
title: "Published by",
|
|
102
|
+
action: {
|
|
103
|
+
expand: "Show more",
|
|
104
|
+
collapse: "Hide"
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
const contactForm$1 = {
|
|
108
|
+
field: {
|
|
109
|
+
name: {
|
|
110
|
+
label: "Name",
|
|
111
|
+
placeholder: "Your Name"
|
|
112
|
+
},
|
|
113
|
+
email: {
|
|
114
|
+
label: "Email",
|
|
115
|
+
placeholder: "Your Email"
|
|
116
|
+
},
|
|
117
|
+
message: {
|
|
118
|
+
label: "Message",
|
|
119
|
+
placeholder: "Your Message"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
notification: {
|
|
123
|
+
title: "{{name}}, thank you for your feedback!",
|
|
124
|
+
description: "We will get back to you at {{email}} as soon as possible."
|
|
125
|
+
},
|
|
126
|
+
action: {
|
|
127
|
+
send: "Send Message"
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
const dictionary$1 = {
|
|
131
|
+
pageNotFound: pageNotFound$1,
|
|
132
|
+
footer: footer$1,
|
|
133
|
+
gameDemo: gameDemo$1,
|
|
134
|
+
gameInfo: gameInfo$1,
|
|
135
|
+
prosCons: prosCons$1,
|
|
136
|
+
author: author$1,
|
|
137
|
+
contactForm: contactForm$1
|
|
138
|
+
};
|
|
139
|
+
const pageNotFound = {
|
|
140
|
+
title: "404 — Pagina non trovata",
|
|
141
|
+
description: "Spiacenti 😔, non siamo riusciti a trovare quello che cercavi.",
|
|
142
|
+
action: "Ritorna alla pagina principale"
|
|
143
|
+
};
|
|
144
|
+
const footer = {
|
|
145
|
+
copyright: "© {{year}} {{domain}}. Tutte le cose sono fatte.",
|
|
146
|
+
disclaimer: {
|
|
147
|
+
title: "Gioca responsabilmente: ",
|
|
148
|
+
description: "{{domain}} è una risorsa indipendente e non affiliata ai siti che promuoviamo. Prima di iniziare a giocare, assicurati di possedere tutte le certificazioni necessarie e di rispettare i requisiti legali in vigore. L'obiettivo principale di {{domain}} è offrire contenuti informativi e di intrattenimento. Se cerchi collegamenti a risorse correlate, verrai reindirizzato alle piattaforme pertinenti."
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
const gameDemo = {
|
|
152
|
+
warning: "Il tuo browser è troppo vecchio per visualizzare l'elemento iframe",
|
|
153
|
+
action: {
|
|
154
|
+
playForFree: "Gioca gratis",
|
|
155
|
+
activateFullscreen: "Attiva la modalità a schermo intero",
|
|
156
|
+
deactivateFullscreen: "Disattiva la modalità a schermo intero"
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
const gameInfo = {
|
|
160
|
+
title: "Informazioni sul gioco",
|
|
161
|
+
group: {
|
|
162
|
+
general: "Caratteristiche principali",
|
|
163
|
+
features: "Gioco e funzionalità"
|
|
164
|
+
},
|
|
165
|
+
feature: {
|
|
166
|
+
[GameCharacteristic.BonusFeatures]: "Funzionalità Bonus",
|
|
167
|
+
[GameCharacteristic.Compatibility]: "Compatibilità",
|
|
168
|
+
[GameCharacteristic.Developer]: "Sviluppatore",
|
|
169
|
+
[GameCharacteristic.HasAutoplay]: "Autoplay",
|
|
170
|
+
[GameCharacteristic.HasBonusPurchase]: "Acquisto Bonus",
|
|
171
|
+
[GameCharacteristic.HasCollectionSymbols]: "Simboli da Collezione",
|
|
172
|
+
[GameCharacteristic.HasDemo]: "Versione Demo",
|
|
173
|
+
[GameCharacteristic.HasFastSpin]: "Spin Veloce",
|
|
174
|
+
[GameCharacteristic.HasFreeSpins]: "Giri Gratuiti",
|
|
175
|
+
[GameCharacteristic.HasProgressiveJackpot]: "Jackpot Progressivo",
|
|
176
|
+
[GameCharacteristic.Languages]: "Lingue",
|
|
177
|
+
[GameCharacteristic.MaxWin]: "Vincita Massima",
|
|
178
|
+
[GameCharacteristic.MaxBet]: "Puntata Massima",
|
|
179
|
+
[GameCharacteristic.MinBet]: "Puntata Minima",
|
|
180
|
+
[GameCharacteristic.Name]: "Nome",
|
|
181
|
+
[GameCharacteristic.PayLines]: "Numero di Linee di Pagamento",
|
|
182
|
+
[GameCharacteristic.ReelsNumber]: "Numero di Rulli",
|
|
183
|
+
[GameCharacteristic.ReleaseDate]: "Data di Rilascio",
|
|
184
|
+
[GameCharacteristic.Rtp]: "RTP",
|
|
185
|
+
[GameCharacteristic.Theme]: "Tema",
|
|
186
|
+
[GameCharacteristic.Type]: "Tipo",
|
|
187
|
+
[GameCharacteristic.Volatility]: "Volatilità"
|
|
188
|
+
},
|
|
189
|
+
value: {
|
|
190
|
+
boolean: {
|
|
191
|
+
true: "Sì",
|
|
192
|
+
false: "No"
|
|
193
|
+
},
|
|
194
|
+
volatility: {
|
|
195
|
+
[GameVolatility.High]: "Alta",
|
|
196
|
+
[GameVolatility.Medium]: "Media",
|
|
197
|
+
[GameVolatility.Low]: "Bassa"
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
const prosCons = {
|
|
202
|
+
advantages: "Vantaggi",
|
|
203
|
+
disadvantages: "Svantaggi"
|
|
204
|
+
};
|
|
205
|
+
const author = {
|
|
206
|
+
title: "Informazioni sull'autore",
|
|
207
|
+
action: {
|
|
208
|
+
expand: "Mostra per intero",
|
|
209
|
+
collapse: "Nascondere"
|
|
210
|
+
}
|
|
211
|
+
};
|
|
212
|
+
const contactForm = {
|
|
213
|
+
field: {
|
|
214
|
+
name: {
|
|
215
|
+
label: "Nome",
|
|
216
|
+
placeholder: "Il tuo Nome"
|
|
217
|
+
},
|
|
218
|
+
email: {
|
|
219
|
+
label: "Email",
|
|
220
|
+
placeholder: "La tua Email"
|
|
221
|
+
},
|
|
222
|
+
message: {
|
|
223
|
+
label: "Messaggio",
|
|
224
|
+
placeholder: "Il tuo Messaggio"
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
notification: {
|
|
228
|
+
title: "{{name}}, grazie per il tuo feedback!",
|
|
229
|
+
description: "Ti risponderemo all’indirizzo {{email}} il prima possibile."
|
|
230
|
+
},
|
|
231
|
+
action: {
|
|
232
|
+
send: "Invia Messaggio"
|
|
233
|
+
}
|
|
234
|
+
};
|
|
235
|
+
const dictionary = {
|
|
236
|
+
pageNotFound,
|
|
237
|
+
footer,
|
|
238
|
+
gameDemo,
|
|
239
|
+
gameInfo,
|
|
240
|
+
prosCons,
|
|
241
|
+
author,
|
|
242
|
+
contactForm
|
|
243
|
+
};
|
|
244
|
+
const resources = {
|
|
245
|
+
en: dictionary$1,
|
|
246
|
+
it: dictionary
|
|
247
|
+
};
|
|
248
|
+
const DEFAULT_LANGUAGE = "en";
|
|
249
|
+
i18n.use(initReactI18next).init({
|
|
250
|
+
fallbackLng: DEFAULT_LANGUAGE,
|
|
251
|
+
resources
|
|
252
|
+
});
|
|
253
|
+
export {
|
|
254
|
+
GameVolatility as G,
|
|
255
|
+
GameCharacteristic as a,
|
|
256
|
+
resources as r
|
|
257
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { createContext, useContext } from "react";
|
|
3
|
+
const SiteMetadataContext = createContext(null);
|
|
4
|
+
const SiteMetadataProvider = ({ children, ...value }) => {
|
|
5
|
+
return /* @__PURE__ */ jsx(SiteMetadataContext.Provider, { value, children });
|
|
6
|
+
};
|
|
7
|
+
function useSiteMetadataContext() {
|
|
8
|
+
const context = useContext(SiteMetadataContext);
|
|
9
|
+
if (!context) {
|
|
10
|
+
throw new Error("useSiteMetadataContext must be used within SiteMetadataProvider");
|
|
11
|
+
}
|
|
12
|
+
return context;
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
SiteMetadataProvider as S,
|
|
16
|
+
useSiteMetadataContext as u
|
|
17
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import "./index-Bh5idiRE.mjs";
|
|
2
|
+
import i18n from "i18next";
|
|
3
|
+
function getCurrentYear() {
|
|
4
|
+
const locale = i18n.language;
|
|
5
|
+
const currentDate = /* @__PURE__ */ new Date();
|
|
6
|
+
const currentYear = new Intl.DateTimeFormat(locale, { year: "numeric" }).format(currentDate);
|
|
7
|
+
return currentYear;
|
|
8
|
+
}
|
|
9
|
+
function getCurrentMonth() {
|
|
10
|
+
const locale = i18n.language;
|
|
11
|
+
const currentDate = /* @__PURE__ */ new Date();
|
|
12
|
+
const currentMonth = new Intl.DateTimeFormat(locale, { month: "long" }).format(currentDate);
|
|
13
|
+
return currentMonth;
|
|
14
|
+
}
|
|
15
|
+
function formatDate({ value, locale = i18n.language, options }) {
|
|
16
|
+
const date = typeof value === "string" || typeof value === "number" ? new Date(value) : value;
|
|
17
|
+
if (isNaN(date.getTime())) {
|
|
18
|
+
throw new Error("Invalid date provided");
|
|
19
|
+
}
|
|
20
|
+
const formatter = new Intl.DateTimeFormat(locale, options);
|
|
21
|
+
return formatter.format(date);
|
|
22
|
+
}
|
|
23
|
+
const DEFAULT_PRECISION = 2;
|
|
24
|
+
function round(number, precision) {
|
|
25
|
+
const numberString = String(number);
|
|
26
|
+
const precisionString = String(precision);
|
|
27
|
+
return Number(String(Math.round(Number(numberString + "e" + precisionString))) + "e-" + precisionString);
|
|
28
|
+
}
|
|
29
|
+
function toFixedTwo(number) {
|
|
30
|
+
return round(number, DEFAULT_PRECISION);
|
|
31
|
+
}
|
|
32
|
+
function formatNumber(number, options) {
|
|
33
|
+
const locale = (options == null ? void 0 : options.locale) ?? i18n.language;
|
|
34
|
+
const precision = (options == null ? void 0 : options.precision) ?? DEFAULT_PRECISION;
|
|
35
|
+
let postfix = "";
|
|
36
|
+
const formatOptions = {
|
|
37
|
+
maximumFractionDigits: precision
|
|
38
|
+
};
|
|
39
|
+
if (options == null ? void 0 : options.hasTrailingZeros) {
|
|
40
|
+
formatOptions.minimumFractionDigits = precision;
|
|
41
|
+
}
|
|
42
|
+
if (options == null ? void 0 : options.percent) {
|
|
43
|
+
if (options.percent === "real") {
|
|
44
|
+
formatOptions.style = "percent";
|
|
45
|
+
}
|
|
46
|
+
if (options.percent === "sign-only") {
|
|
47
|
+
postfix = "%";
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
if (options == null ? void 0 : options.currency) {
|
|
51
|
+
formatOptions.style = "currency";
|
|
52
|
+
formatOptions.currency = options.currency;
|
|
53
|
+
}
|
|
54
|
+
if (options == null ? void 0 : options.hasSign) {
|
|
55
|
+
formatOptions.signDisplay = "always";
|
|
56
|
+
}
|
|
57
|
+
const formatter = new Intl.NumberFormat(locale, formatOptions);
|
|
58
|
+
return `${formatter.format(round(number, precision))}${postfix}`;
|
|
59
|
+
}
|
|
60
|
+
function parseNumber(value) {
|
|
61
|
+
const parsedNumber = parseFloat(value);
|
|
62
|
+
if (isNaN(parsedNumber)) {
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
return parsedNumber;
|
|
66
|
+
}
|
|
67
|
+
const protocolRegex = /^https?:\/\//;
|
|
68
|
+
function getDomain(url) {
|
|
69
|
+
return url.replace(protocolRegex, "");
|
|
70
|
+
}
|
|
71
|
+
export {
|
|
72
|
+
getCurrentMonth as a,
|
|
73
|
+
formatNumber as b,
|
|
74
|
+
getDomain as c,
|
|
75
|
+
formatDate as f,
|
|
76
|
+
getCurrentYear as g,
|
|
77
|
+
parseNumber as p,
|
|
78
|
+
round as r,
|
|
79
|
+
toFixedTwo as t
|
|
80
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
+
const react = require("react");
|
|
4
|
+
const SiteMetadataContext = react.createContext(null);
|
|
5
|
+
const SiteMetadataProvider = ({ children, ...value }) => {
|
|
6
|
+
return /* @__PURE__ */ jsxRuntime.jsx(SiteMetadataContext.Provider, { value, children });
|
|
7
|
+
};
|
|
8
|
+
function useSiteMetadataContext() {
|
|
9
|
+
const context = react.useContext(SiteMetadataContext);
|
|
10
|
+
if (!context) {
|
|
11
|
+
throw new Error("useSiteMetadataContext must be used within SiteMetadataProvider");
|
|
12
|
+
}
|
|
13
|
+
return context;
|
|
14
|
+
}
|
|
15
|
+
exports.SiteMetadataProvider = SiteMetadataProvider;
|
|
16
|
+
exports.useSiteMetadataContext = useSiteMetadataContext;
|