@anywayseo/tools 4.2.2 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/base/index.d.ts +1 -0
- package/dist/components/base/link/index.d.ts +2 -0
- package/dist/components/base/link/utils.d.ts +1 -0
- package/dist/components/game-info/utils.d.ts +2 -2
- package/dist/components/index.cjs +3 -1
- package/dist/components/index.mjs +3 -1
- package/dist/components/layout/header/locale-switcher/icons/earth/index.d.ts +2 -0
- package/dist/components/layout/header/locale-switcher/icons/france/index.d.ts +2 -0
- package/dist/components/layout/header/locale-switcher/icons/germany/index.d.ts +2 -0
- package/dist/components/layout/header/locale-switcher/icons/globe/index.d.ts +2 -0
- package/dist/components/layout/header/locale-switcher/icons/index.d.ts +6 -0
- package/dist/components/layout/header/locale-switcher/icons/italy/index.d.ts +2 -0
- package/dist/components/layout/header/locale-switcher/icons/russia/index.d.ts +2 -0
- package/dist/components/layout/header/locale-switcher/index.d.ts +8 -0
- package/dist/components/layout/header/locale-switcher/utils.d.ts +2 -0
- package/dist/components/layout/header/navigation/desktop/index.d.ts +1 -1
- package/dist/components/layout/header/navigation/index.d.ts +1 -1
- package/dist/components/layout/header/navigation/mobile/index.d.ts +1 -1
- package/dist/components/seo/index.d.ts +2 -3
- package/dist/hooks/index.cjs +4 -2
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.mjs +4 -2
- package/dist/hooks/use-localization/index.d.ts +9 -0
- package/dist/i18n/index.cjs +11 -5
- package/dist/i18n/index.d.ts +3 -2
- package/dist/i18n/index.mjs +11 -5
- package/dist/i18n/resources/fr/index.d.ts +112 -0
- package/dist/index-At00w6EN.js +9 -0
- package/dist/index-B9GEoC68.js +63 -0
- package/dist/{index-DAbZBo7_.mjs → index-BCuXOiT9.mjs} +201 -67
- package/dist/{index-BPLxhZG_.js → index-BHfpWNqh.js} +183 -73
- package/dist/{index-DF_u_tzx.js → index-BIdYBT1G.js} +7 -3
- package/dist/{index-MpNfBHkQ.mjs → index-BJRvnR8Q.mjs} +1 -5
- package/dist/index-BRVKhbs6.mjs +6 -0
- package/dist/index-BmaWfWLV.mjs +10 -0
- package/dist/{index-BV0hDmYP.js → index-BnmGE5_x.js} +3 -2
- package/dist/{index-DPO0aIC3.mjs → index-Bu4S7kG8.mjs} +7 -10
- package/dist/index-BzbpMLDD.mjs +23 -0
- package/dist/{index-DVcQxWMZ.js → index-C6MG_f24.js} +0 -4
- package/dist/{index-BE9gNdXx.mjs → index-CACDltm3.mjs} +183 -73
- package/dist/index-CYr1ct1t.js +93 -0
- package/dist/index-CbuiYkSg.js +5 -0
- package/dist/{index-CcsbqDXL.mjs → index-CrmmG8yy.mjs} +7 -3
- package/dist/{index-N8nXj4-i.js → index-D0yXUsJz.js} +220 -86
- package/dist/{index-DuQjQMNN.js → index-D34TfBTR.js} +7 -10
- package/dist/{index-CkTgVjZS.mjs → index-QazOxABc.mjs} +3 -2
- package/dist/index-WFgDSB1A.js +22 -0
- package/dist/index-cQqALZIW.mjs +94 -0
- package/dist/index-tJcccH0B.mjs +64 -0
- package/dist/index.cjs +43 -31
- package/dist/index.mjs +33 -21
- package/dist/providers/index.cjs +4 -2
- package/dist/providers/index.d.ts +1 -0
- package/dist/providers/index.mjs +5 -3
- package/dist/providers/page-provider/index.d.ts +11 -0
- package/dist/providers/site-provider/index.d.ts +5 -4
- package/dist/types/api/index.d.ts +2 -2
- package/dist/types/components/icon/index.d.ts +2 -0
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/locale-switcher/index.d.ts +5 -0
- package/dist/types/components/navigation/index.d.ts +9 -10
- package/dist/types/i18n/index.d.ts +7 -1
- package/dist/types/site/index.d.ts +15 -13
- package/dist/utils/api/index.d.ts +5 -0
- package/dist/utils/date/index.d.ts +4 -3
- package/dist/utils/index.cjs +23 -16
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.mjs +16 -9
- package/dist/utils/navigation/index.d.ts +2 -2
- package/dist/utils/numbers/index.d.ts +3 -3
- package/package.json +1 -1
- package/dist/components/layout/header/navigation/types.d.ts +0 -4
- package/dist/index-BClxYYix.js +0 -40
- package/dist/index-BNb-P8a6.mjs +0 -17
- package/dist/index-BhsXlbd8.js +0 -16
- package/dist/index-Ca_M-II5.mjs +0 -41
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { initReactI18next } from "react-i18next";
|
|
2
|
-
import i18n from "i18next";
|
|
3
1
|
var GameVolatility = /* @__PURE__ */ ((GameVolatility2) => {
|
|
4
2
|
GameVolatility2["High"] = "HIGH";
|
|
5
3
|
GameVolatility2["Medium"] = "MEDIUM";
|
|
@@ -33,7 +31,7 @@ var GameCharacteristic = /* @__PURE__ */ ((GameCharacteristic2) => {
|
|
|
33
31
|
GameCharacteristic2["Functions"] = "FUNCTIONS";
|
|
34
32
|
return GameCharacteristic2;
|
|
35
33
|
})(GameCharacteristic || {});
|
|
36
|
-
const pageNotFound$
|
|
34
|
+
const pageNotFound$4 = {
|
|
37
35
|
seo: {
|
|
38
36
|
title: "Seite nicht gefunden | {{siteName}}"
|
|
39
37
|
},
|
|
@@ -41,14 +39,14 @@ const pageNotFound$3 = {
|
|
|
41
39
|
description: "Entschuldigung 😔, wir konnten nicht finden, wonach Sie gesucht haben.",
|
|
42
40
|
action: "Zur Startseite"
|
|
43
41
|
};
|
|
44
|
-
const footer$
|
|
42
|
+
const footer$4 = {
|
|
45
43
|
copyright: "© {{year}} {{siteName}}. Alle Rechte vorbehalten.",
|
|
46
44
|
disclaimer: {
|
|
47
45
|
title: "Spielen Sie verantwortungsbewusst: ",
|
|
48
46
|
description: "{{siteName}} ist eine unabhängige Ressource und nicht mit den von uns beworbenen Seiten verbunden. Stellen Sie sicher, dass Sie über alle erforderlichen Zertifikate verfügen und die gesetzlichen Anforderungen erfüllt sind, bevor Sie mit dem Spielen beginnen. Der Hauptzweck von {{siteName}} besteht darin, informative und unterhaltsame Inhalte bereitzustellen. Wenn Sie nach Links zu verwandten Ressourcen suchen, werden Sie zu den entsprechenden Plattformen weitergeleitet."
|
|
49
47
|
}
|
|
50
48
|
};
|
|
51
|
-
const gameDemo$
|
|
49
|
+
const gameDemo$4 = {
|
|
52
50
|
warning: "Ihr Browser ist zu alt, um das iframe-Element anzuzeigen.",
|
|
53
51
|
action: {
|
|
54
52
|
playForReal: "Spiele Mit Echtgeld",
|
|
@@ -58,7 +56,7 @@ const gameDemo$3 = {
|
|
|
58
56
|
exit: "Beenden"
|
|
59
57
|
}
|
|
60
58
|
};
|
|
61
|
-
const gameInfo$
|
|
59
|
+
const gameInfo$4 = {
|
|
62
60
|
title: "Spielinfo",
|
|
63
61
|
group: {
|
|
64
62
|
general: "Allgemeine Eigenschaften",
|
|
@@ -102,18 +100,18 @@ const gameInfo$3 = {
|
|
|
102
100
|
}
|
|
103
101
|
}
|
|
104
102
|
};
|
|
105
|
-
const prosCons$
|
|
103
|
+
const prosCons$4 = {
|
|
106
104
|
advantages: "Vorteile",
|
|
107
105
|
disadvantages: "Nachteile"
|
|
108
106
|
};
|
|
109
|
-
const author$
|
|
107
|
+
const author$4 = {
|
|
110
108
|
title: "Veröffentlicht von",
|
|
111
109
|
action: {
|
|
112
110
|
expand: "Mehr anzeigen",
|
|
113
111
|
collapse: "Ausblenden"
|
|
114
112
|
}
|
|
115
113
|
};
|
|
116
|
-
const contactForm$
|
|
114
|
+
const contactForm$4 = {
|
|
117
115
|
field: {
|
|
118
116
|
name: {
|
|
119
117
|
label: "Name",
|
|
@@ -136,23 +134,23 @@ const contactForm$3 = {
|
|
|
136
134
|
send: "Nachricht senden"
|
|
137
135
|
}
|
|
138
136
|
};
|
|
139
|
-
const bonusCard$
|
|
137
|
+
const bonusCard$4 = {
|
|
140
138
|
action: {
|
|
141
139
|
expand: "Mehr erfahren",
|
|
142
140
|
collapse: "Ausblenden"
|
|
143
141
|
}
|
|
144
142
|
};
|
|
145
|
-
const dictionary$
|
|
146
|
-
pageNotFound: pageNotFound$
|
|
147
|
-
footer: footer$
|
|
148
|
-
gameDemo: gameDemo$
|
|
149
|
-
gameInfo: gameInfo$
|
|
150
|
-
prosCons: prosCons$
|
|
151
|
-
author: author$
|
|
152
|
-
contactForm: contactForm$
|
|
153
|
-
bonusCard: bonusCard$
|
|
143
|
+
const dictionary$4 = {
|
|
144
|
+
pageNotFound: pageNotFound$4,
|
|
145
|
+
footer: footer$4,
|
|
146
|
+
gameDemo: gameDemo$4,
|
|
147
|
+
gameInfo: gameInfo$4,
|
|
148
|
+
prosCons: prosCons$4,
|
|
149
|
+
author: author$4,
|
|
150
|
+
contactForm: contactForm$4,
|
|
151
|
+
bonusCard: bonusCard$4
|
|
154
152
|
};
|
|
155
|
-
const pageNotFound$
|
|
153
|
+
const pageNotFound$3 = {
|
|
156
154
|
seo: {
|
|
157
155
|
title: "Page not found | {{siteName}}"
|
|
158
156
|
},
|
|
@@ -160,14 +158,14 @@ const pageNotFound$2 = {
|
|
|
160
158
|
description: "Sorry 😔, we couldn’t find what you were looking for.",
|
|
161
159
|
action: "Go Home"
|
|
162
160
|
};
|
|
163
|
-
const footer$
|
|
161
|
+
const footer$3 = {
|
|
164
162
|
copyright: "© {{year}} {{siteName}}. All rights reserved.",
|
|
165
163
|
disclaimer: {
|
|
166
164
|
title: "Play responsibly: ",
|
|
167
165
|
description: "{{siteName}} 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 {{siteName}} is to provide informative and entertaining content. If you are looking for links to related resources, you will be redirected to the relevant platforms."
|
|
168
166
|
}
|
|
169
167
|
};
|
|
170
|
-
const gameDemo$
|
|
168
|
+
const gameDemo$3 = {
|
|
171
169
|
warning: "Your browser is too old to display the iframe element",
|
|
172
170
|
action: {
|
|
173
171
|
playForReal: "Play for Real",
|
|
@@ -177,7 +175,7 @@ const gameDemo$2 = {
|
|
|
177
175
|
exit: "Exit"
|
|
178
176
|
}
|
|
179
177
|
};
|
|
180
|
-
const gameInfo$
|
|
178
|
+
const gameInfo$3 = {
|
|
181
179
|
title: "Game Info",
|
|
182
180
|
group: {
|
|
183
181
|
general: "General Characteristics",
|
|
@@ -221,18 +219,18 @@ const gameInfo$2 = {
|
|
|
221
219
|
}
|
|
222
220
|
}
|
|
223
221
|
};
|
|
224
|
-
const prosCons$
|
|
222
|
+
const prosCons$3 = {
|
|
225
223
|
advantages: "Advantages",
|
|
226
224
|
disadvantages: "Disadvantages"
|
|
227
225
|
};
|
|
228
|
-
const author$
|
|
226
|
+
const author$3 = {
|
|
229
227
|
title: "Published by",
|
|
230
228
|
action: {
|
|
231
229
|
expand: "Show more",
|
|
232
230
|
collapse: "Hide"
|
|
233
231
|
}
|
|
234
232
|
};
|
|
235
|
-
const contactForm$
|
|
233
|
+
const contactForm$3 = {
|
|
236
234
|
field: {
|
|
237
235
|
name: {
|
|
238
236
|
label: "Name",
|
|
@@ -255,23 +253,23 @@ const contactForm$2 = {
|
|
|
255
253
|
send: "Send Message"
|
|
256
254
|
}
|
|
257
255
|
};
|
|
258
|
-
const bonusCard$
|
|
256
|
+
const bonusCard$3 = {
|
|
259
257
|
action: {
|
|
260
258
|
expand: "Learn more",
|
|
261
259
|
collapse: "Hide"
|
|
262
260
|
}
|
|
263
261
|
};
|
|
264
|
-
const dictionary$
|
|
265
|
-
pageNotFound: pageNotFound$
|
|
266
|
-
footer: footer$
|
|
267
|
-
gameDemo: gameDemo$
|
|
268
|
-
gameInfo: gameInfo$
|
|
269
|
-
prosCons: prosCons$
|
|
270
|
-
author: author$
|
|
271
|
-
contactForm: contactForm$
|
|
272
|
-
bonusCard: bonusCard$
|
|
262
|
+
const dictionary$3 = {
|
|
263
|
+
pageNotFound: pageNotFound$3,
|
|
264
|
+
footer: footer$3,
|
|
265
|
+
gameDemo: gameDemo$3,
|
|
266
|
+
gameInfo: gameInfo$3,
|
|
267
|
+
prosCons: prosCons$3,
|
|
268
|
+
author: author$3,
|
|
269
|
+
contactForm: contactForm$3,
|
|
270
|
+
bonusCard: bonusCard$3
|
|
273
271
|
};
|
|
274
|
-
const pageNotFound$
|
|
272
|
+
const pageNotFound$2 = {
|
|
275
273
|
seo: {
|
|
276
274
|
title: "Pagina non trovata | {{siteName}}"
|
|
277
275
|
},
|
|
@@ -279,14 +277,14 @@ const pageNotFound$1 = {
|
|
|
279
277
|
description: "Spiacenti 😔, non siamo riusciti a trovare quello che cercavi.",
|
|
280
278
|
action: "Ritorna alla pagina principale"
|
|
281
279
|
};
|
|
282
|
-
const footer$
|
|
280
|
+
const footer$2 = {
|
|
283
281
|
copyright: "© {{year}} {{siteName}}. Tutte le cose sono fatte.",
|
|
284
282
|
disclaimer: {
|
|
285
283
|
title: "Gioca responsabilmente: ",
|
|
286
284
|
description: "{{siteName}} è 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 {{siteName}} è offrire contenuti informativi e di intrattenimento. Se cerchi collegamenti a risorse correlate, verrai reindirizzato alle piattaforme pertinenti."
|
|
287
285
|
}
|
|
288
286
|
};
|
|
289
|
-
const gameDemo$
|
|
287
|
+
const gameDemo$2 = {
|
|
290
288
|
warning: "Il tuo browser è troppo vecchio per visualizzare l'elemento iframe",
|
|
291
289
|
action: {
|
|
292
290
|
playForReal: "Gioca ora",
|
|
@@ -296,7 +294,7 @@ const gameDemo$1 = {
|
|
|
296
294
|
exit: "Esci"
|
|
297
295
|
}
|
|
298
296
|
};
|
|
299
|
-
const gameInfo$
|
|
297
|
+
const gameInfo$2 = {
|
|
300
298
|
title: "Informazioni sul gioco",
|
|
301
299
|
group: {
|
|
302
300
|
general: "Caratteristiche principali",
|
|
@@ -340,18 +338,18 @@ const gameInfo$1 = {
|
|
|
340
338
|
}
|
|
341
339
|
}
|
|
342
340
|
};
|
|
343
|
-
const prosCons$
|
|
341
|
+
const prosCons$2 = {
|
|
344
342
|
advantages: "Vantaggi",
|
|
345
343
|
disadvantages: "Svantaggi"
|
|
346
344
|
};
|
|
347
|
-
const author$
|
|
345
|
+
const author$2 = {
|
|
348
346
|
title: "Informazioni sull'autore",
|
|
349
347
|
action: {
|
|
350
348
|
expand: "Mostra per intero",
|
|
351
349
|
collapse: "Nascondi"
|
|
352
350
|
}
|
|
353
351
|
};
|
|
354
|
-
const contactForm$
|
|
352
|
+
const contactForm$2 = {
|
|
355
353
|
field: {
|
|
356
354
|
name: {
|
|
357
355
|
label: "Nome",
|
|
@@ -374,23 +372,23 @@ const contactForm$1 = {
|
|
|
374
372
|
send: "Invia Messaggio"
|
|
375
373
|
}
|
|
376
374
|
};
|
|
377
|
-
const bonusCard$
|
|
375
|
+
const bonusCard$2 = {
|
|
378
376
|
action: {
|
|
379
377
|
expand: "Scopri di più",
|
|
380
378
|
collapse: "Nascondi"
|
|
381
379
|
}
|
|
382
380
|
};
|
|
383
|
-
const dictionary$
|
|
384
|
-
pageNotFound: pageNotFound$
|
|
385
|
-
footer: footer$
|
|
386
|
-
gameDemo: gameDemo$
|
|
387
|
-
gameInfo: gameInfo$
|
|
388
|
-
prosCons: prosCons$
|
|
389
|
-
author: author$
|
|
390
|
-
contactForm: contactForm$
|
|
391
|
-
bonusCard: bonusCard$
|
|
381
|
+
const dictionary$2 = {
|
|
382
|
+
pageNotFound: pageNotFound$2,
|
|
383
|
+
footer: footer$2,
|
|
384
|
+
gameDemo: gameDemo$2,
|
|
385
|
+
gameInfo: gameInfo$2,
|
|
386
|
+
prosCons: prosCons$2,
|
|
387
|
+
author: author$2,
|
|
388
|
+
contactForm: contactForm$2,
|
|
389
|
+
bonusCard: bonusCard$2
|
|
392
390
|
};
|
|
393
|
-
const pageNotFound = {
|
|
391
|
+
const pageNotFound$1 = {
|
|
394
392
|
seo: {
|
|
395
393
|
title: "Страница не найдена | {{siteName}}"
|
|
396
394
|
},
|
|
@@ -398,14 +396,14 @@ const pageNotFound = {
|
|
|
398
396
|
description: "Извините 😔, мы не смогли найти то, что вы искали.",
|
|
399
397
|
action: "На главную"
|
|
400
398
|
};
|
|
401
|
-
const footer = {
|
|
399
|
+
const footer$1 = {
|
|
402
400
|
copyright: "© {{year}} {{siteName}}. Все права защищены.",
|
|
403
401
|
disclaimer: {
|
|
404
402
|
title: "Играйте ответственно: ",
|
|
405
403
|
description: "{{siteName}} — независимый ресурс, не связанный с продвигаемыми сайтами. Убедитесь, что у вас есть все необходимые сертификаты и соблюдены юридические требования перед началом игры. Основная цель {{siteName}} — предоставление информационного и развлекательного контента. Если вы ищете ссылки на связанные ресурсы, вас перенаправят на соответствующие платформы."
|
|
406
404
|
}
|
|
407
405
|
};
|
|
408
|
-
const gameDemo = {
|
|
406
|
+
const gameDemo$1 = {
|
|
409
407
|
warning: "Ваш браузер слишком устарел для отображения элемента iframe",
|
|
410
408
|
action: {
|
|
411
409
|
playForReal: "Играть на деньги",
|
|
@@ -415,7 +413,7 @@ const gameDemo = {
|
|
|
415
413
|
exit: "Выйти"
|
|
416
414
|
}
|
|
417
415
|
};
|
|
418
|
-
const gameInfo = {
|
|
416
|
+
const gameInfo$1 = {
|
|
419
417
|
title: "Информация об игре",
|
|
420
418
|
group: {
|
|
421
419
|
general: "Основные характеристики",
|
|
@@ -459,18 +457,18 @@ const gameInfo = {
|
|
|
459
457
|
}
|
|
460
458
|
}
|
|
461
459
|
};
|
|
462
|
-
const prosCons = {
|
|
460
|
+
const prosCons$1 = {
|
|
463
461
|
advantages: "Преимущества",
|
|
464
462
|
disadvantages: "Недостатки"
|
|
465
463
|
};
|
|
466
|
-
const author = {
|
|
464
|
+
const author$1 = {
|
|
467
465
|
title: "Автор",
|
|
468
466
|
action: {
|
|
469
467
|
expand: "Показать больше",
|
|
470
468
|
collapse: "Скрыть"
|
|
471
469
|
}
|
|
472
470
|
};
|
|
473
|
-
const contactForm = {
|
|
471
|
+
const contactForm$1 = {
|
|
474
472
|
field: {
|
|
475
473
|
name: {
|
|
476
474
|
label: "Имя",
|
|
@@ -493,12 +491,131 @@ const contactForm = {
|
|
|
493
491
|
send: "Отправить сообщение"
|
|
494
492
|
}
|
|
495
493
|
};
|
|
496
|
-
const bonusCard = {
|
|
494
|
+
const bonusCard$1 = {
|
|
497
495
|
action: {
|
|
498
496
|
expand: "Подробнее",
|
|
499
497
|
collapse: "Скрыть"
|
|
500
498
|
}
|
|
501
499
|
};
|
|
500
|
+
const dictionary$1 = {
|
|
501
|
+
pageNotFound: pageNotFound$1,
|
|
502
|
+
footer: footer$1,
|
|
503
|
+
gameDemo: gameDemo$1,
|
|
504
|
+
gameInfo: gameInfo$1,
|
|
505
|
+
prosCons: prosCons$1,
|
|
506
|
+
author: author$1,
|
|
507
|
+
contactForm: contactForm$1,
|
|
508
|
+
bonusCard: bonusCard$1
|
|
509
|
+
};
|
|
510
|
+
const pageNotFound = {
|
|
511
|
+
seo: {
|
|
512
|
+
title: "Page non trouvée | {{siteName}}"
|
|
513
|
+
},
|
|
514
|
+
title: "404 — Page non trouvée",
|
|
515
|
+
description: "Désolé 😔, nous n’avons pas pu trouver ce que vous cherchiez.",
|
|
516
|
+
action: "Aller à la page d’accueil"
|
|
517
|
+
};
|
|
518
|
+
const footer = {
|
|
519
|
+
copyright: "© {{year}} {{siteName}}. Tous droits réservés.",
|
|
520
|
+
disclaimer: {
|
|
521
|
+
title: "Jouez de manière responsable : ",
|
|
522
|
+
description: "{{siteName}} est une ressource indépendante et n’est pas affilié aux sites que nous promouvons. Assurez-vous de disposer de toutes les licences nécessaires et de respecter les exigences légales avant de commencer à jouer. L’objectif principal de {{siteName}} est de fournir un contenu informatif et divertissant. Si vous recherchez des liens vers des ressources associées, vous serez redirigé vers les plateformes correspondantes."
|
|
523
|
+
}
|
|
524
|
+
};
|
|
525
|
+
const gameDemo = {
|
|
526
|
+
warning: "Votre navigateur est trop ancien pour afficher l’élément iframe.",
|
|
527
|
+
action: {
|
|
528
|
+
playForReal: "Jouer en argent réel",
|
|
529
|
+
playForFree: "Jouer gratuitement",
|
|
530
|
+
activateFullscreen: "Activer le mode plein écran",
|
|
531
|
+
deactivateFullscreen: "Désactiver le mode plein écran",
|
|
532
|
+
exit: "Quitter"
|
|
533
|
+
}
|
|
534
|
+
};
|
|
535
|
+
const gameInfo = {
|
|
536
|
+
title: "Infos sur le jeu",
|
|
537
|
+
group: {
|
|
538
|
+
general: "Caractéristiques générales",
|
|
539
|
+
features: "Fonctionnalités du jeu"
|
|
540
|
+
},
|
|
541
|
+
feature: {
|
|
542
|
+
[GameCharacteristic.BonusFeatures]: "Fonctionnalités bonus",
|
|
543
|
+
[GameCharacteristic.Compatibility]: "Compatibilité",
|
|
544
|
+
[GameCharacteristic.Functions]: "Fonctions",
|
|
545
|
+
[GameCharacteristic.Developer]: "Développeur",
|
|
546
|
+
[GameCharacteristic.HasAutoplay]: "Lecture automatique",
|
|
547
|
+
[GameCharacteristic.HasBonusPurchase]: "Achat de bonus",
|
|
548
|
+
[GameCharacteristic.HasCollectionSymbols]: "Symboles à collectionner",
|
|
549
|
+
[GameCharacteristic.HasDemo]: "Version de démonstration",
|
|
550
|
+
[GameCharacteristic.HasFastSpin]: "Rotation rapide",
|
|
551
|
+
[GameCharacteristic.HasFreeSpins]: "Tours gratuits",
|
|
552
|
+
[GameCharacteristic.HasProgressiveJackpot]: "Jackpot progressif",
|
|
553
|
+
[GameCharacteristic.Languages]: "Langues",
|
|
554
|
+
[GameCharacteristic.MaxWin]: "Gain maximal",
|
|
555
|
+
[GameCharacteristic.MaxBet]: "Mise maximale",
|
|
556
|
+
[GameCharacteristic.MinBet]: "Mise minimale",
|
|
557
|
+
[GameCharacteristic.Name]: "Nom",
|
|
558
|
+
[GameCharacteristic.PayLines]: "Nombre de lignes de paiement",
|
|
559
|
+
[GameCharacteristic.ReelsNumber]: "Nombre de rouleaux",
|
|
560
|
+
[GameCharacteristic.ReleaseDate]: "Date de sortie",
|
|
561
|
+
[GameCharacteristic.RowsWithPins]: "Nombre de rangées avec des chevilles",
|
|
562
|
+
[GameCharacteristic.Rtp]: "RTP",
|
|
563
|
+
[GameCharacteristic.Theme]: "Thème",
|
|
564
|
+
[GameCharacteristic.Type]: "Type",
|
|
565
|
+
[GameCharacteristic.Volatility]: "Volatilité"
|
|
566
|
+
},
|
|
567
|
+
value: {
|
|
568
|
+
boolean: {
|
|
569
|
+
true: "Oui",
|
|
570
|
+
false: "Non"
|
|
571
|
+
},
|
|
572
|
+
volatility: {
|
|
573
|
+
[GameVolatility.High]: "Élevée",
|
|
574
|
+
[GameVolatility.Medium]: "Moyenne",
|
|
575
|
+
[GameVolatility.Low]: "Faible"
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
};
|
|
579
|
+
const prosCons = {
|
|
580
|
+
advantages: "Avantages",
|
|
581
|
+
disadvantages: "Inconvénients"
|
|
582
|
+
};
|
|
583
|
+
const author = {
|
|
584
|
+
title: "Publié par",
|
|
585
|
+
action: {
|
|
586
|
+
expand: "Afficher plus",
|
|
587
|
+
collapse: "Masquer"
|
|
588
|
+
}
|
|
589
|
+
};
|
|
590
|
+
const contactForm = {
|
|
591
|
+
field: {
|
|
592
|
+
name: {
|
|
593
|
+
label: "Nom",
|
|
594
|
+
placeholder: "Votre nom"
|
|
595
|
+
},
|
|
596
|
+
email: {
|
|
597
|
+
label: "E-mail",
|
|
598
|
+
placeholder: "Votre e-mail"
|
|
599
|
+
},
|
|
600
|
+
message: {
|
|
601
|
+
label: "Message",
|
|
602
|
+
placeholder: "Votre message"
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
notification: {
|
|
606
|
+
title: "{{name}}, merci pour votre retour !",
|
|
607
|
+
description: "Nous vous contacterons dès que possible à {{email}}."
|
|
608
|
+
},
|
|
609
|
+
action: {
|
|
610
|
+
send: "Envoyer le message"
|
|
611
|
+
}
|
|
612
|
+
};
|
|
613
|
+
const bonusCard = {
|
|
614
|
+
action: {
|
|
615
|
+
expand: "En savoir plus",
|
|
616
|
+
collapse: "Masquer"
|
|
617
|
+
}
|
|
618
|
+
};
|
|
502
619
|
const dictionary = {
|
|
503
620
|
pageNotFound,
|
|
504
621
|
footer,
|
|
@@ -509,19 +626,12 @@ const dictionary = {
|
|
|
509
626
|
contactForm,
|
|
510
627
|
bonusCard
|
|
511
628
|
};
|
|
512
|
-
const resources = {
|
|
513
|
-
en: dictionary$2,
|
|
514
|
-
it: dictionary$1,
|
|
515
|
-
de: dictionary$3,
|
|
516
|
-
ru: dictionary
|
|
517
|
-
};
|
|
518
|
-
const DEFAULT_LANGUAGE = "en";
|
|
519
|
-
i18n.use(initReactI18next).init({
|
|
520
|
-
fallbackLng: DEFAULT_LANGUAGE,
|
|
521
|
-
resources
|
|
522
|
-
});
|
|
523
629
|
export {
|
|
524
630
|
GameVolatility as G,
|
|
525
631
|
GameCharacteristic as a,
|
|
526
|
-
|
|
632
|
+
dictionary$1 as b,
|
|
633
|
+
dictionary$4 as c,
|
|
634
|
+
dictionary as d,
|
|
635
|
+
dictionary$2 as e,
|
|
636
|
+
dictionary$3 as f
|
|
527
637
|
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const DUMMY_PAGE_TYPE = "DUMMY";
|
|
3
|
+
const NavigationSlug = {
|
|
4
|
+
HEADER: "header-navigation",
|
|
5
|
+
FOOTER: "footer-navigation"
|
|
6
|
+
};
|
|
7
|
+
function isValidPath(value) {
|
|
8
|
+
return typeof value === "string" && (value === "" || value.startsWith("/"));
|
|
9
|
+
}
|
|
10
|
+
function isValidType(value) {
|
|
11
|
+
return typeof value === "string" && value !== DUMMY_PAGE_TYPE;
|
|
12
|
+
}
|
|
13
|
+
function transformNavItems(items) {
|
|
14
|
+
if (!items || !items.length) {
|
|
15
|
+
return [];
|
|
16
|
+
}
|
|
17
|
+
const transformed = [];
|
|
18
|
+
items.forEach((item) => {
|
|
19
|
+
var _a;
|
|
20
|
+
if (item && item.title && isValidType(item.type) && isValidPath(item.path)) {
|
|
21
|
+
const isNavGroup = (_a = item.items) == null ? void 0 : _a.length;
|
|
22
|
+
transformed.push({
|
|
23
|
+
label: item.title,
|
|
24
|
+
slug: isNavGroup ? "" : item.path.slice(1),
|
|
25
|
+
...isNavGroup && { children: transformNavItems(item.items) }
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
return transformed;
|
|
30
|
+
}
|
|
31
|
+
function transformSiteNavigation(strapiNavigation) {
|
|
32
|
+
const siteNavigation = {
|
|
33
|
+
header: {},
|
|
34
|
+
footer: {}
|
|
35
|
+
};
|
|
36
|
+
if (!strapiNavigation) {
|
|
37
|
+
return siteNavigation;
|
|
38
|
+
}
|
|
39
|
+
const groups = strapiNavigation.items;
|
|
40
|
+
for (const group of groups ?? []) {
|
|
41
|
+
const { slug, locale, items } = group ?? {};
|
|
42
|
+
if (locale && slug === NavigationSlug.HEADER) {
|
|
43
|
+
siteNavigation.header[locale] = transformNavItems(items ?? []);
|
|
44
|
+
}
|
|
45
|
+
if (locale && slug === NavigationSlug.FOOTER) {
|
|
46
|
+
siteNavigation.footer[locale] = transformNavItems(items ?? []);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return siteNavigation;
|
|
50
|
+
}
|
|
51
|
+
function getNavigation(fallback, strapiNavigation) {
|
|
52
|
+
const siteNavigation = {
|
|
53
|
+
header: fallback.header,
|
|
54
|
+
footer: fallback.footer
|
|
55
|
+
};
|
|
56
|
+
if (!strapiNavigation) {
|
|
57
|
+
return siteNavigation;
|
|
58
|
+
}
|
|
59
|
+
const navigation = transformSiteNavigation(strapiNavigation);
|
|
60
|
+
siteNavigation.header = { ...siteNavigation.header, ...navigation.header };
|
|
61
|
+
siteNavigation.footer = { ...siteNavigation.footer, ...navigation.footer };
|
|
62
|
+
return siteNavigation;
|
|
63
|
+
}
|
|
64
|
+
function getSiteName(url) {
|
|
65
|
+
if (!url) {
|
|
66
|
+
return "";
|
|
67
|
+
}
|
|
68
|
+
return url.replace(/^https?:\/\//, "");
|
|
69
|
+
}
|
|
70
|
+
function getLocale(defaultLocaleCode, locales) {
|
|
71
|
+
let locale = { code: "en", name: "Default" };
|
|
72
|
+
if (defaultLocaleCode && (locales == null ? void 0 : locales.length)) {
|
|
73
|
+
const foundLocale = locales.find(({ code }) => code === defaultLocaleCode);
|
|
74
|
+
if (foundLocale) {
|
|
75
|
+
locale = foundLocale;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
return locale;
|
|
79
|
+
}
|
|
80
|
+
function getLocales(defaultLocaleCode, locales) {
|
|
81
|
+
if (!locales) {
|
|
82
|
+
return [];
|
|
83
|
+
}
|
|
84
|
+
return [...locales].sort((a, b) => {
|
|
85
|
+
if (a.code === defaultLocaleCode) return -1;
|
|
86
|
+
if (b.code === defaultLocaleCode) return 1;
|
|
87
|
+
return 0;
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
exports.getLocale = getLocale;
|
|
91
|
+
exports.getLocales = getLocales;
|
|
92
|
+
exports.getNavigation = getNavigation;
|
|
93
|
+
exports.getSiteName = getSiteName;
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Text, UnorderedList, OrderedList, Heading, Link } from "@chakra-ui/react";
|
|
3
3
|
import { MDXProvider } from "@mdx-js/react";
|
|
4
|
-
import
|
|
4
|
+
import "react";
|
|
5
|
+
import "react-i18next";
|
|
6
|
+
import { L as Link$1 } from "./index-tJcccH0B.mjs";
|
|
7
|
+
import "./index-BJRvnR8Q.mjs";
|
|
8
|
+
import "./index-CACDltm3.mjs";
|
|
9
|
+
import { i as isRelativePath } from "./index-BmaWfWLV.mjs";
|
|
5
10
|
function omitProps(props, omittedKeys) {
|
|
6
11
|
const result = { ...props };
|
|
7
12
|
omittedKeys.forEach((key) => {
|
|
@@ -19,8 +24,7 @@ function renderLink({
|
|
|
19
24
|
href,
|
|
20
25
|
...props
|
|
21
26
|
}) {
|
|
22
|
-
|
|
23
|
-
return isInternalLink ? /* @__PURE__ */ jsx(Link, { as: Link$1, to: href, color: "brand.400", ...props }) : /* @__PURE__ */ jsx(
|
|
27
|
+
return isRelativePath(href) ? /* @__PURE__ */ jsx(Link, { as: Link$1, to: href, color: "brand.400", ...props }) : /* @__PURE__ */ jsx(
|
|
24
28
|
Link,
|
|
25
29
|
{
|
|
26
30
|
href,
|