@prezly/theme-kit-nextjs 2.0.1-1 → 2.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.
Files changed (259) hide show
  1. package/README.md +15 -15
  2. package/build/adapter-nextjs/api-handlers/fetchGalleries.js +21 -31
  3. package/build/adapter-nextjs/api-handlers/fetchGalleries.js.map +1 -1
  4. package/build/adapter-nextjs/api-handlers/fetchStories.js +23 -41
  5. package/build/adapter-nextjs/api-handlers/fetchStories.js.map +1 -1
  6. package/build/adapter-nextjs/api-handlers/index.js +7 -18
  7. package/build/adapter-nextjs/api-handlers/index.js.map +1 -1
  8. package/build/adapter-nextjs/getNewsroomServerSideProps.js +13 -20
  9. package/build/adapter-nextjs/getNewsroomServerSideProps.js.map +1 -1
  10. package/build/adapter-nextjs/getNewsroomStaticProps.js +13 -19
  11. package/build/adapter-nextjs/getNewsroomStaticProps.js.map +1 -1
  12. package/build/adapter-nextjs/index.js +21 -69
  13. package/build/adapter-nextjs/index.js.map +1 -1
  14. package/build/adapter-nextjs/page-props/category.js +96 -122
  15. package/build/adapter-nextjs/page-props/category.js.map +1 -1
  16. package/build/adapter-nextjs/page-props/gallery.js +65 -91
  17. package/build/adapter-nextjs/page-props/gallery.js.map +1 -1
  18. package/build/adapter-nextjs/page-props/galleryAlbum.js +49 -68
  19. package/build/adapter-nextjs/page-props/galleryAlbum.js.map +1 -1
  20. package/build/adapter-nextjs/page-props/home.js +66 -87
  21. package/build/adapter-nextjs/page-props/home.js.map +1 -1
  22. package/build/adapter-nextjs/page-props/index.js +40 -136
  23. package/build/adapter-nextjs/page-props/index.js.map +1 -1
  24. package/build/adapter-nextjs/page-props/lib/types.js +3 -1
  25. package/build/adapter-nextjs/page-props/search.js +28 -29
  26. package/build/adapter-nextjs/page-props/search.js.map +1 -1
  27. package/build/adapter-nextjs/page-props/sitemap/SitemapBuilder.js +46 -32
  28. package/build/adapter-nextjs/page-props/sitemap/SitemapBuilder.js.map +1 -1
  29. package/build/adapter-nextjs/page-props/sitemap/createPaths.js +17 -17
  30. package/build/adapter-nextjs/page-props/sitemap/createPaths.js.map +1 -1
  31. package/build/adapter-nextjs/page-props/sitemap/getServerSideProps.js +33 -37
  32. package/build/adapter-nextjs/page-props/sitemap/getServerSideProps.js.map +1 -1
  33. package/build/adapter-nextjs/page-props/sitemap/index.js +23 -41
  34. package/build/adapter-nextjs/page-props/sitemap/index.js.map +1 -1
  35. package/build/adapter-nextjs/page-props/sitemap/types.js +3 -1
  36. package/build/adapter-nextjs/page-props/story.js +60 -81
  37. package/build/adapter-nextjs/page-props/story.js.map +1 -1
  38. package/build/adapter-nextjs/page-props/storyPreview.js +24 -31
  39. package/build/adapter-nextjs/page-props/storyPreview.js.map +1 -1
  40. package/build/adapter-nextjs/processRequest.js +23 -38
  41. package/build/adapter-nextjs/processRequest.js.map +1 -1
  42. package/build/adapter-nextjs/processStaticRequest.js +14 -23
  43. package/build/adapter-nextjs/processStaticRequest.js.map +1 -1
  44. package/build/components-nextjs/PageSeo/PageSeo.js +77 -89
  45. package/build/components-nextjs/PageSeo/PageSeo.js.map +1 -1
  46. package/build/components-nextjs/PageSeo/index.js +19 -25
  47. package/build/components-nextjs/PageSeo/index.js.map +1 -1
  48. package/build/components-nextjs/PageSeo/lib/getAbsoluteUrl.js +8 -9
  49. package/build/components-nextjs/PageSeo/lib/getAbsoluteUrl.js.map +1 -1
  50. package/build/components-nextjs/PageSeo/lib/types.js +3 -1
  51. package/build/components-nextjs/StorySeo/StorySeo.js +46 -74
  52. package/build/components-nextjs/StorySeo/StorySeo.js.map +1 -1
  53. package/build/components-nextjs/StorySeo/index.js +5 -11
  54. package/build/components-nextjs/StorySeo/index.js.map +1 -1
  55. package/build/components-nextjs/document.js +44 -36
  56. package/build/components-nextjs/document.js.map +1 -1
  57. package/build/components-nextjs/index.js +9 -25
  58. package/build/components-nextjs/index.js.map +1 -1
  59. package/build/data-fetching/api/PrezlyApi.js +187 -210
  60. package/build/data-fetching/api/PrezlyApi.js.map +1 -1
  61. package/build/data-fetching/api/getPrezlyApi.js +19 -25
  62. package/build/data-fetching/api/getPrezlyApi.js.map +1 -1
  63. package/build/data-fetching/api/index.js +16 -14
  64. package/build/data-fetching/api/index.js.map +1 -1
  65. package/build/data-fetching/api/queries.js +41 -80
  66. package/build/data-fetching/api/queries.js.map +1 -1
  67. package/build/data-fetching/index.js +18 -36
  68. package/build/data-fetching/index.js.map +1 -1
  69. package/build/data-fetching/lib/getAlgoliaSettings.js +20 -26
  70. package/build/data-fetching/lib/getAlgoliaSettings.js.map +1 -1
  71. package/build/data-fetching/lib/getEnvVariables.js +36 -40
  72. package/build/data-fetching/lib/getEnvVariables.js.map +1 -1
  73. package/build/data-fetching/lib/index.js +11 -32
  74. package/build/data-fetching/lib/index.js.map +1 -1
  75. package/build/data-fetching/lib/isSdkError.js +6 -7
  76. package/build/data-fetching/lib/isSdkError.js.map +1 -1
  77. package/build/data-fetching/lib/isUuid.js +6 -7
  78. package/build/data-fetching/lib/isUuid.js.map +1 -1
  79. package/build/data-fetching/types.js +3 -1
  80. package/build/index.js +25 -103
  81. package/build/index.js.map +1 -1
  82. package/build/infinite-loading/index.js +23 -41
  83. package/build/infinite-loading/index.js.map +1 -1
  84. package/build/infinite-loading/types.js +3 -1
  85. package/build/infinite-loading/useInfiniteGalleriesLoading.js +35 -46
  86. package/build/infinite-loading/useInfiniteGalleriesLoading.js.map +1 -1
  87. package/build/infinite-loading/useInfiniteLoading.js +41 -54
  88. package/build/infinite-loading/useInfiniteLoading.js.map +1 -1
  89. package/build/infinite-loading/useInfiniteStoriesLoading.js +48 -60
  90. package/build/infinite-loading/useInfiniteStoriesLoading.js.map +1 -1
  91. package/build/intl/index.d.ts +1 -1
  92. package/build/intl/index.js +24 -47
  93. package/build/intl/index.js.map +1 -1
  94. package/build/intl/languages.js +110 -150
  95. package/build/intl/languages.js.map +1 -1
  96. package/build/intl/locale.d.ts +1 -0
  97. package/build/intl/locale.js +104 -58
  98. package/build/intl/locale.js.map +1 -1
  99. package/build/intl/localeConfig.d.ts +2 -3
  100. package/build/intl/localeConfig.js +13 -28
  101. package/build/intl/localeConfig.js.map +1 -1
  102. package/build/intl/localeList.d.ts +2 -4
  103. package/build/intl/localeList.js +108 -7
  104. package/build/intl/localeList.js.map +1 -1
  105. package/build/intl/localeObject.js +78 -83
  106. package/build/intl/localeObject.js.map +1 -1
  107. package/build/newsroom-context/context.js +24 -42
  108. package/build/newsroom-context/context.js.map +1 -1
  109. package/build/newsroom-context/hooks/index.js +27 -125
  110. package/build/newsroom-context/hooks/index.js.map +1 -1
  111. package/build/newsroom-context/hooks/useAlgoliaSettings.js +8 -9
  112. package/build/newsroom-context/hooks/useAlgoliaSettings.js.map +1 -1
  113. package/build/newsroom-context/hooks/useCategories.js +8 -9
  114. package/build/newsroom-context/hooks/useCategories.js.map +1 -1
  115. package/build/newsroom-context/hooks/useCompanyInformation.js +8 -9
  116. package/build/newsroom-context/hooks/useCompanyInformation.js.map +1 -1
  117. package/build/newsroom-context/hooks/useCurrentCategory.js +8 -9
  118. package/build/newsroom-context/hooks/useCurrentCategory.js.map +1 -1
  119. package/build/newsroom-context/hooks/useCurrentLocale.js +8 -9
  120. package/build/newsroom-context/hooks/useCurrentLocale.js.map +1 -1
  121. package/build/newsroom-context/hooks/useCurrentStory.js +8 -9
  122. package/build/newsroom-context/hooks/useCurrentStory.js.map +1 -1
  123. package/build/newsroom-context/hooks/useGetLinkLocaleSlug.js +19 -21
  124. package/build/newsroom-context/hooks/useGetLinkLocaleSlug.js.map +1 -1
  125. package/build/newsroom-context/hooks/useGetTranslationUrl.js +54 -56
  126. package/build/newsroom-context/hooks/useGetTranslationUrl.js.map +1 -1
  127. package/build/newsroom-context/hooks/useLanguages.js +8 -9
  128. package/build/newsroom-context/hooks/useLanguages.js.map +1 -1
  129. package/build/newsroom-context/hooks/useNewsroom.js +8 -9
  130. package/build/newsroom-context/hooks/useNewsroom.js.map +1 -1
  131. package/build/newsroom-context/hooks/useNewsroomContext.js +14 -15
  132. package/build/newsroom-context/hooks/useNewsroomContext.js.map +1 -1
  133. package/build/newsroom-context/index.d.ts +1 -2
  134. package/build/newsroom-context/index.js +20 -32
  135. package/build/newsroom-context/index.js.map +1 -1
  136. package/build/sentry/client.js +7 -8
  137. package/build/sentry/client.js.map +1 -1
  138. package/build/sentry/common.js +27 -30
  139. package/build/sentry/common.js.map +1 -1
  140. package/build/sentry/index.js +7 -18
  141. package/build/sentry/index.js.map +1 -1
  142. package/build/sentry/server.js +7 -8
  143. package/build/sentry/server.js.map +1 -1
  144. package/build/tsconfig.tsbuildinfo +1 -0
  145. package/build/types.js +3 -1
  146. package/build/utils/boilerplate.js +18 -11
  147. package/build/utils/boilerplate.js.map +1 -1
  148. package/build/utils/constants.js +6 -11
  149. package/build/utils/constants.js.map +1 -1
  150. package/build/utils/getAssetsUrl.js +7 -8
  151. package/build/utils/getAssetsUrl.js.map +1 -1
  152. package/build/utils/getDataRequestLink.js +10 -10
  153. package/build/utils/getDataRequestLink.js.map +1 -1
  154. package/build/utils/getLocalizedCategoryData.js +29 -37
  155. package/build/utils/getLocalizedCategoryData.js.map +1 -1
  156. package/build/utils/getNewsroomLogoUrl.js +18 -19
  157. package/build/utils/getNewsroomLogoUrl.js.map +1 -1
  158. package/build/utils/getPrivacyPortalUrl.js +11 -15
  159. package/build/utils/getPrivacyPortalUrl.js.map +1 -1
  160. package/build/utils/getStoryPublicationDate.js +12 -13
  161. package/build/utils/getStoryPublicationDate.js.map +1 -1
  162. package/build/utils/getUploadcareGroupUrl.js +8 -9
  163. package/build/utils/getUploadcareGroupUrl.js.map +1 -1
  164. package/build/utils/index.js +26 -114
  165. package/build/utils/index.js.map +1 -1
  166. package/build/utils/isEmbargoStory.js +6 -7
  167. package/build/utils/isEmbargoStory.js.map +1 -1
  168. package/package.json +12 -26
  169. package/src/@types/global.d.ts +7 -0
  170. package/src/__mocks__/languages.ts +416 -0
  171. package/src/__mocks__/story.ts +359 -0
  172. package/src/adapter-nextjs/api-handlers/fetchGalleries.ts +24 -0
  173. package/src/adapter-nextjs/api-handlers/fetchStories.ts +26 -0
  174. package/src/adapter-nextjs/api-handlers/index.ts +2 -0
  175. package/src/adapter-nextjs/getNewsroomServerSideProps.ts +29 -0
  176. package/src/adapter-nextjs/getNewsroomStaticProps.ts +29 -0
  177. package/src/adapter-nextjs/index.ts +6 -0
  178. package/src/adapter-nextjs/page-props/category.ts +157 -0
  179. package/src/adapter-nextjs/page-props/gallery.ts +114 -0
  180. package/src/adapter-nextjs/page-props/galleryAlbum.ts +89 -0
  181. package/src/adapter-nextjs/page-props/home.ts +113 -0
  182. package/src/adapter-nextjs/page-props/index.ts +26 -0
  183. package/src/adapter-nextjs/page-props/lib/types.ts +8 -0
  184. package/src/adapter-nextjs/page-props/search.ts +53 -0
  185. package/src/adapter-nextjs/page-props/sitemap/SitemapBuilder.ts +56 -0
  186. package/src/adapter-nextjs/page-props/sitemap/createPaths.ts +21 -0
  187. package/src/adapter-nextjs/page-props/sitemap/getServerSideProps.ts +43 -0
  188. package/src/adapter-nextjs/page-props/sitemap/index.ts +5 -0
  189. package/src/adapter-nextjs/page-props/sitemap/types.ts +5 -0
  190. package/src/adapter-nextjs/page-props/story.ts +94 -0
  191. package/src/adapter-nextjs/page-props/storyPreview.ts +33 -0
  192. package/src/adapter-nextjs/processRequest.ts +49 -0
  193. package/src/adapter-nextjs/processStaticRequest.ts +32 -0
  194. package/src/components-nextjs/PageSeo/PageSeo.tsx +131 -0
  195. package/src/components-nextjs/PageSeo/index.ts +2 -0
  196. package/src/components-nextjs/PageSeo/lib/getAbsoluteUrl.ts +7 -0
  197. package/src/components-nextjs/PageSeo/lib/types.ts +4 -0
  198. package/src/components-nextjs/StorySeo/StorySeo.tsx +80 -0
  199. package/src/components-nextjs/StorySeo/index.ts +1 -0
  200. package/src/components-nextjs/document.tsx +38 -0
  201. package/src/components-nextjs/index.ts +3 -0
  202. package/src/data-fetching/api/PrezlyApi.ts +304 -0
  203. package/src/data-fetching/api/getPrezlyApi.ts +24 -0
  204. package/src/data-fetching/api/index.ts +1 -0
  205. package/src/data-fetching/api/queries.ts +51 -0
  206. package/src/data-fetching/index.ts +3 -0
  207. package/src/data-fetching/lib/getAlgoliaSettings.ts +29 -0
  208. package/src/data-fetching/lib/getEnvVariables.ts +46 -0
  209. package/src/data-fetching/lib/index.ts +4 -0
  210. package/src/data-fetching/lib/isSdkError.ts +5 -0
  211. package/src/data-fetching/lib/isUuid.ts +5 -0
  212. package/src/data-fetching/types.ts +14 -0
  213. package/src/index.ts +9 -0
  214. package/src/infinite-loading/index.ts +4 -0
  215. package/src/infinite-loading/types.ts +5 -0
  216. package/src/infinite-loading/useInfiniteGalleriesLoading.ts +53 -0
  217. package/src/infinite-loading/useInfiniteLoading.ts +66 -0
  218. package/src/infinite-loading/useInfiniteStoriesLoading.ts +81 -0
  219. package/src/intl/index.ts +4 -0
  220. package/src/intl/languages.test.ts +232 -0
  221. package/src/intl/languages.ts +233 -0
  222. package/src/intl/locale.test.ts +95 -0
  223. package/src/intl/locale.ts +140 -0
  224. package/src/intl/localeConfig.js +23 -0
  225. package/src/intl/localeList.js +110 -0
  226. package/src/intl/localeObject.test.ts +81 -0
  227. package/src/intl/localeObject.ts +99 -0
  228. package/src/newsroom-context/context.tsx +115 -0
  229. package/src/newsroom-context/hooks/index.ts +11 -0
  230. package/src/newsroom-context/hooks/useAlgoliaSettings.ts +7 -0
  231. package/src/newsroom-context/hooks/useCategories.ts +7 -0
  232. package/src/newsroom-context/hooks/useCompanyInformation.ts +7 -0
  233. package/src/newsroom-context/hooks/useCurrentCategory.ts +7 -0
  234. package/src/newsroom-context/hooks/useCurrentLocale.ts +7 -0
  235. package/src/newsroom-context/hooks/useCurrentStory.ts +7 -0
  236. package/src/newsroom-context/hooks/useGetLinkLocaleSlug.ts +37 -0
  237. package/src/newsroom-context/hooks/useGetTranslationUrl.ts +97 -0
  238. package/src/newsroom-context/hooks/useLanguages.ts +7 -0
  239. package/src/newsroom-context/hooks/useNewsroom.ts +7 -0
  240. package/src/newsroom-context/hooks/useNewsroomContext.ts +15 -0
  241. package/src/newsroom-context/index.ts +2 -0
  242. package/src/sentry/client.ts +7 -0
  243. package/src/sentry/common.ts +27 -0
  244. package/src/sentry/index.ts +2 -0
  245. package/src/sentry/server.ts +7 -0
  246. package/src/types.ts +51 -0
  247. package/src/utils/boilerplate.ts +27 -0
  248. package/src/utils/constants.ts +3 -0
  249. package/src/utils/getAssetsUrl.test.ts +9 -0
  250. package/src/utils/getAssetsUrl.ts +9 -0
  251. package/src/utils/getDataRequestLink.ts +14 -0
  252. package/src/utils/getLocalizedCategoryData.ts +47 -0
  253. package/src/utils/getNewsroomLogoUrl.ts +22 -0
  254. package/src/utils/getPrivacyPortalUrl.ts +25 -0
  255. package/src/utils/getStoryPublicationDate.tsx +15 -0
  256. package/src/utils/getUploadcareGroupUrl.ts +13 -0
  257. package/src/utils/index.ts +10 -0
  258. package/src/utils/isEmbargoStory.ts +10 -0
  259. package/build/@types/global.d.js +0 -1
@@ -0,0 +1,416 @@
1
+ import { type NewsroomLanguageSettings, Culture } from '@prezly/sdk';
2
+
3
+ /**
4
+ * Pulled from The Good Newsroom (with some additions)
5
+ */
6
+ export const LANGUAGES: Record<string, NewsroomLanguageSettings> = {
7
+ nl_BE: {
8
+ code: 'nl_BE',
9
+ locale: {
10
+ code: 'nl_BE',
11
+ locale: 'nl_BE',
12
+ name: 'Dutch (Belgium)',
13
+ native_name: 'Nederlands (België)',
14
+ direction: Culture.TextDirection.LTR,
15
+ language_code: 'nl',
16
+ },
17
+ is_default: false,
18
+ stories_count: 4,
19
+ public_stories_count: 3,
20
+ categories_count: 2,
21
+ default_email_disclaimer:
22
+ "<p>U heeft deze e-mail ontvangen, omdat u een contact van %companyname% bent. Als u deze e-mails niet meer wenst te ontvangen, kunt u zich <a href='%unsubscribe_url%'>uitschrijven</a>.</p>",
23
+ default_cookie_statement:
24
+ '<p>We maken gebruik van cookies op onze website. Deze helpen ons om u iets beter te leren kennen en te zien hoe u onze website gebruikt. Dit helpt ons een waardevollere en op maat gemaakte ervaring te bieden voor u en anderen.</p>',
25
+ default_subscribe_disclaimer:
26
+ '<p>Door uw abonnement te bevestigen, bevestigt u dat u begrijpt dat u zich registreert om materiaal te ontvangen en dat uw gegevens veilig worden verwerkt en opgeslagen.</p>',
27
+ company_information: {
28
+ name: 'The Good News Room',
29
+ about: '<p>Er is veel slecht nieuws in de wereld. Wij wilden een moment nemen om te focussen op de goeie dingen in het leven, want zelfs in de donkerste nacht zijn er sterren. ✨<br />Heb je zelf een leuk, positief verhaal? Vertel het ons! ☺︎</p>',
30
+ about_plaintext:
31
+ 'Er is veel slecht nieuws in de wereld. Wij wilden een moment nemen om te focussen op de goeie dingen in het leven, want zelfs in de donkerste nacht zijn er sterren. ✨Heb je zelf een leuk, positief verhaal? Vertel het ons! ☺︎',
32
+ email: 'happy@prezly.com',
33
+ website: 'https://www.prezly.com/',
34
+ phone: null,
35
+ address: null,
36
+ twitter: 'prezly',
37
+ facebook: 'PrezlyPR',
38
+ linkedin: 'https://www.linkedin.com/company/prezly',
39
+ pinterest: null,
40
+ youtube: null,
41
+ instagram: 'prezly.official',
42
+ tiktok: null,
43
+ email_disclaimer:
44
+ '<p>U heeft deze e-mail ontvangen, omdat u een contact van %companyname% bent. Als u deze e-mails niet meer wenst te ontvangen, kunt u zich <a href="%unsubscribe_url%">uitschrijven</a>.</p>',
45
+ cookie_statement:
46
+ '<p>We maken gebruik van cookies op onze website. Deze helpen ons om u iets beter te leren kennen en te zien hoe u onze website gebruikt. <br>Dit helpt ons een waardevollere en op maat gemaakte ervaring te bieden voor u en anderen.</p>',
47
+ subscribe_disclaimer:
48
+ '<p>Door uw abonnement te bevestigen, bevestigt u dat u begrijpt dat u zich registreert om materiaal te ontvangen en dat uw gegevens veilig worden verwerkt en opgeslagen.</p>',
49
+ },
50
+ notifications: [],
51
+ },
52
+ nl_NL: {
53
+ code: 'nl_NL',
54
+ locale: {
55
+ code: 'nl_NL',
56
+ locale: 'nl_NL',
57
+ name: 'Dutch (Netherlands)',
58
+ native_name: 'Nederlands (Nederland)',
59
+ direction: Culture.TextDirection.LTR,
60
+ language_code: 'nl',
61
+ },
62
+ is_default: false,
63
+ stories_count: 1,
64
+ public_stories_count: 1,
65
+ categories_count: 0,
66
+ default_email_disclaimer:
67
+ "<p>U heeft deze e-mail ontvangen, omdat u een contact van %companyname% bent. Als u deze e-mails niet meer wenst te ontvangen, kunt u zich <a href='%unsubscribe_url%'>uitschrijven</a>.</p>",
68
+ default_cookie_statement:
69
+ '<p>We maken gebruik van cookies op onze website. Deze helpen ons om u iets beter te leren kennen en te zien hoe u onze website gebruikt. Dit helpt ons een waardevollere en op maat gemaakte ervaring te bieden voor u en anderen.</p>',
70
+ default_subscribe_disclaimer:
71
+ '<p>Door uw abonnement te bevestigen, bevestigt u dat u begrijpt dat u zich registreert om materiaal te ontvangen en dat uw gegevens veilig worden verwerkt en opgeslagen.</p>',
72
+ company_information: {
73
+ name: 'The Good News Room',
74
+ about: '',
75
+ about_plaintext: '',
76
+ email: null,
77
+ website: null,
78
+ phone: null,
79
+ address: null,
80
+ twitter: null,
81
+ facebook: null,
82
+ linkedin: null,
83
+ pinterest: null,
84
+ youtube: null,
85
+ instagram: null,
86
+ tiktok: null,
87
+ email_disclaimer: '',
88
+ cookie_statement: '',
89
+ subscribe_disclaimer: '',
90
+ },
91
+ notifications: [],
92
+ },
93
+ en: {
94
+ code: 'en',
95
+ locale: {
96
+ code: 'en',
97
+ locale: 'en',
98
+ name: 'English (Global)',
99
+ native_name: 'English (Global)',
100
+ direction: Culture.TextDirection.LTR,
101
+ language_code: 'en',
102
+ },
103
+ is_default: true,
104
+ stories_count: 22,
105
+ public_stories_count: 17,
106
+ categories_count: 7,
107
+ default_email_disclaimer:
108
+ "<p>You have received this email because you are a contact of %companyname%. If you no longer wish to receive these emails please <a href='%unsubscribe_url%'>unsubscribe</a>.</p>",
109
+ default_cookie_statement:
110
+ '<p>We use cookies on our website. They help us get to know you a little and how you use our website. This helps us provide a more valuable and tailored experience for you and others.</p>',
111
+ default_subscribe_disclaimer:
112
+ '<p>By confirming your subscription you are confirming you understand that you are registering to receive content and consent to your information being securely processed and stored.</p>',
113
+ company_information: {
114
+ name: 'The Good News Room',
115
+ about:
116
+ `<p>There's a lot of bad news in the world, so we wanted to take a moment to focus on the <a href="https://the-good-news-room.prezly.com/">good things</a> in life, because even in the darkest night there are stars. ✨<br /></p>\n` +
117
+ '<p>Have a nice story to recommend? Drop us a line! ☺︎</p>',
118
+ about_plaintext:
119
+ "There's a lot of bad news in the world, so we wanted to take a moment to focus on the good things in life, because even in the darkest night there are stars. ✨Have a nice story to recommend? Drop us a line! ☺︎",
120
+ email: 'happy@prezly.com',
121
+ website: 'https://www.prezly.com/',
122
+ phone: '+1 987654321',
123
+ address: 'Fake Street 123',
124
+ twitter: 'prezly',
125
+ facebook: 'PrezlyPR',
126
+ linkedin: 'https://www.linkedin.com/company/prezly',
127
+ pinterest: 'https://pin.it/3Sk1TYD',
128
+ youtube: 'https://www.youtube.com/channel/UCO2x-p9gg9TLKneXlibGR7w',
129
+ instagram: 'prezly.official',
130
+ tiktok: null,
131
+ email_disclaimer:
132
+ '<p>You have received this email because you are a contact of %companyname%. If you no longer wish to receive these emails please <a href="%unsubscribe_url%">unsubscribe</a>.</p>',
133
+ cookie_statement:
134
+ '<p>We use cookies on our website. They help us get to know you a little and how you use our website. This helps us provide a more valuable and tailored experience for you and others.</p>',
135
+ subscribe_disclaimer:
136
+ '<p>By confirming your subscription you are confirming you understand that you are registering to receive content and consent to your information being securely processed and stored.</p>',
137
+ },
138
+ notifications: [],
139
+ },
140
+ en_US: {
141
+ code: 'en_US',
142
+ locale: {
143
+ code: 'en_US',
144
+ locale: 'en_US',
145
+ name: 'English (US)',
146
+ native_name: 'English (US)',
147
+ direction: Culture.TextDirection.LTR,
148
+ language_code: 'en',
149
+ },
150
+ is_default: false,
151
+ stories_count: 0,
152
+ public_stories_count: 0,
153
+ categories_count: 0,
154
+ default_email_disclaimer:
155
+ "<p>You have received this email because you are a contact of %companyname%. If you no longer wish to receive these emails please <a href='%unsubscribe_url%'>unsubscribe</a>.</p>",
156
+ default_cookie_statement:
157
+ '<p>We use cookies on our website. They help us get to know you a little and how you use our website. This helps us provide a more valuable and tailored experience for you and others.</p>',
158
+ default_subscribe_disclaimer:
159
+ '<p>By confirming your subscription you are confirming you understand that you are registering to receive content and consent to your information being securely processed and stored.</p>',
160
+ company_information: {
161
+ name: 'The Good News Room',
162
+ about:
163
+ `<p>There's a lot of bad news in the world, so we wanted to take a moment to focus on the <a href="https://the-good-news-room.prezly.com/">good things</a> in life, because even in the darkest night there are stars. ✨<br /></p>\n` +
164
+ '<p>Have a nice story to recommend? Drop us a line! ☺︎</p>',
165
+ about_plaintext:
166
+ "There's a lot of bad news in the world, so we wanted to take a moment to focus on the good things in life, because even in the darkest night there are stars. ✨Have a nice story to recommend? Drop us a line! ☺︎",
167
+ email: 'happy@prezly.com',
168
+ website: 'https://www.prezly.com/',
169
+ phone: '+1 987654321',
170
+ address: 'Fake Street 123',
171
+ twitter: 'prezly',
172
+ facebook: 'PrezlyPR',
173
+ linkedin: 'https://www.linkedin.com/company/prezly',
174
+ pinterest: 'https://pin.it/3Sk1TYD',
175
+ youtube: 'https://www.youtube.com/channel/UCO2x-p9gg9TLKneXlibGR7w',
176
+ instagram: 'prezly.official',
177
+ tiktok: null,
178
+ email_disclaimer:
179
+ '<p>You have received this email because you are a contact of %companyname%. If you no longer wish to receive these emails please <a href="%unsubscribe_url%">unsubscribe</a>.</p>',
180
+ cookie_statement:
181
+ '<p>We use cookies on our website. They help us get to know you a little and how you use our website. This helps us provide a more valuable and tailored experience for you and others.</p>',
182
+ subscribe_disclaimer:
183
+ '<p>By confirming your subscription you are confirming you understand that you are registering to receive content and consent to your information being securely processed and stored.</p>',
184
+ },
185
+ notifications: [],
186
+ },
187
+ en_GB: {
188
+ code: 'en_GB',
189
+ locale: {
190
+ code: 'en_GB',
191
+ locale: 'en_GB',
192
+ name: 'English (UK)',
193
+ native_name: 'English (UK)',
194
+ direction: Culture.TextDirection.LTR,
195
+ language_code: 'en',
196
+ },
197
+ is_default: false,
198
+ stories_count: 0,
199
+ public_stories_count: 0,
200
+ categories_count: 0,
201
+ default_email_disclaimer:
202
+ "<p>You have received this email because you are a contact of %companyname%. If you no longer wish to receive these emails please <a href='%unsubscribe_url%'>unsubscribe</a>.</p>",
203
+ default_cookie_statement:
204
+ '<p>We use cookies on our website. They help us get to know you a little and how you use our website. This helps us provide a more valuable and tailored experience for you and others.</p>',
205
+ default_subscribe_disclaimer:
206
+ '<p>By confirming your subscription you are confirming you understand that you are registering to receive content and consent to your information being securely processed and stored.</p>',
207
+ company_information: {
208
+ name: 'The Good News Room',
209
+ about:
210
+ `<p>There's a lot of bad news in the world, so we wanted to take a moment to focus on the <a href="https://the-good-news-room.prezly.com/">good things</a> in life, because even in the darkest night there are stars. ✨<br /></p>\n` +
211
+ '<p>Have a nice story to recommend? Drop us a line! ☺︎</p>',
212
+ about_plaintext:
213
+ "There's a lot of bad news in the world, so we wanted to take a moment to focus on the good things in life, because even in the darkest night there are stars. ✨Have a nice story to recommend? Drop us a line! ☺︎",
214
+ email: 'happy@prezly.com',
215
+ website: 'https://www.prezly.com/',
216
+ phone: '+1 987654321',
217
+ address: 'Fake Street 123',
218
+ twitter: 'prezly',
219
+ facebook: 'PrezlyPR',
220
+ linkedin: 'https://www.linkedin.com/company/prezly',
221
+ pinterest: 'https://pin.it/3Sk1TYD',
222
+ youtube: 'https://www.youtube.com/channel/UCO2x-p9gg9TLKneXlibGR7w',
223
+ instagram: 'prezly.official',
224
+ tiktok: null,
225
+ email_disclaimer:
226
+ '<p>You have received this email because you are a contact of %companyname%. If you no longer wish to receive these emails please <a href="%unsubscribe_url%">unsubscribe</a>.</p>',
227
+ cookie_statement:
228
+ '<p>We use cookies on our website. They help us get to know you a little and how you use our website. This helps us provide a more valuable and tailored experience for you and others.</p>',
229
+ subscribe_disclaimer:
230
+ '<p>By confirming your subscription you are confirming you understand that you are registering to receive content and consent to your information being securely processed and stored.</p>',
231
+ },
232
+ notifications: [],
233
+ },
234
+ fr: {
235
+ code: 'fr',
236
+ locale: {
237
+ code: 'fr',
238
+ locale: 'fr',
239
+ name: 'French (Global)',
240
+ native_name: 'Français (Mondial)',
241
+ direction: Culture.TextDirection.LTR,
242
+ language_code: 'fr',
243
+ },
244
+ is_default: false,
245
+ stories_count: 0,
246
+ public_stories_count: 0,
247
+ categories_count: 0,
248
+ default_email_disclaimer:
249
+ "<p>Vous avez reçu cet e-mail car vous faites partie des contacts de %companyname%. Si vous ne souhaitez plus recevoir ces e-mails, veuillez vous <a href='%unsubscribe_url%'>désabonner</a>.</p>",
250
+ default_cookie_statement:
251
+ "<p>Nous utilisons des cookies sur notre site internet. Ils nous aident à en savoir un tout petit peu plus sur vous et sur votre façon d'utiliser notre site. Ainsi, il nous est possible de vous proposer, à vous comme à d'autres, une expérience plus riche et personnalisée.</p>",
252
+ default_subscribe_disclaimer:
253
+ '<p>En confirmant votre inscription, vous confirmez que vous comprenez que vous vous inscrivez pour recevoir du contenu, et consentez à ce que vos données personnelles soient traitées et stockées en toute sécurité.</p>',
254
+ company_information: {
255
+ name: 'The Good News Room',
256
+ about:
257
+ '<p>Il y a beaucoup de mauvaises nouvelles dans le monde, donc nous voulions prendre un moment pour nous concentrer sur les bonnes choses de la vie, car même dans la nuit la plus sombre, il y a des étoiles ✨ Vous avez une belle histoire à recommander? Écrivez-nous :)</p>\n' +
258
+ '<p>Vous avez une seconde? <a href="https://prezly1.typeform.com/to/LE8hLK">Répondez a notre sondage</a> et courez la chance de gagner un iPhone 11 Pro!</p>',
259
+ about_plaintext:
260
+ 'Il y a beaucoup de mauvaises nouvelles dans le monde, donc nous voulions prendre un moment pour nous concentrer sur les bonnes choses de la vie, car même dans la nuit la plus sombre, il y a des étoiles ✨ Vous avez une belle histoire à recommander? Écrivez-nous :)Vous avez une seconde? Répondez a notre sondage et courez la chance de gagner un iPhone 11 Pro!',
261
+ email: 'happy@prezly.com',
262
+ website: 'https://www.prezly.com/',
263
+ phone: null,
264
+ address: null,
265
+ twitter: 'prezly',
266
+ facebook: 'PrezlyPR',
267
+ linkedin: 'https://www.linkedin.com/company/prezly',
268
+ pinterest: null,
269
+ youtube: null,
270
+ instagram: 'prezly.official',
271
+ tiktok: null,
272
+ email_disclaimer:
273
+ '<p>Vous avez reçu cet e-mail car vous faites partie des contacts de %companyname%. Si vous ne souhaitez plus recevoir ces e-mails, veuillez vous <a href="%unsubscribe_url%">désabonner</a>.</p>',
274
+ cookie_statement:
275
+ "<p>Nous utilisons des cookies sur notre site internet. Ils nous aident à en savoir un tout petit peu plus sur vous et sur votre façon d'utiliser notre site. Ainsi, il nous est possible de vous proposer, à vous comme à d'autres, une expérience plus riche et personnalisée.</p>",
276
+ subscribe_disclaimer:
277
+ '<p>En confirmant votre inscription, vous confirmez que vous comprenez que vous vous inscrivez pour recevoir du contenu, et consentez à ce que vos données personnelles soient traitées et stockées en toute sécurité.</p>',
278
+ },
279
+ notifications: [],
280
+ },
281
+ fr_BE: {
282
+ code: 'fr_BE',
283
+ locale: {
284
+ code: 'fr_BE',
285
+ locale: 'fr_BE',
286
+ name: 'French (Belgium)',
287
+ native_name: 'Français (België)',
288
+ direction: Culture.TextDirection.LTR,
289
+ language_code: 'fr',
290
+ },
291
+ is_default: false,
292
+ stories_count: 0,
293
+ public_stories_count: 0,
294
+ categories_count: 0,
295
+ default_email_disclaimer:
296
+ "<p>Vous avez reçu cet e-mail car vous faites partie des contacts de %companyname%. Si vous ne souhaitez plus recevoir ces e-mails, veuillez vous <a href='%unsubscribe_url%'>désabonner</a>.</p>",
297
+ default_cookie_statement:
298
+ "<p>Nous utilisons des cookies sur notre site internet. Ils nous aident à en savoir un tout petit peu plus sur vous et sur votre façon d'utiliser notre site. Ainsi, il nous est possible de vous proposer, à vous comme à d'autres, une expérience plus riche et personnalisée.</p>",
299
+ default_subscribe_disclaimer:
300
+ '<p>En confirmant votre inscription, vous confirmez que vous comprenez que vous vous inscrivez pour recevoir du contenu, et consentez à ce que vos données personnelles soient traitées et stockées en toute sécurité.</p>',
301
+ company_information: {
302
+ name: 'The Good News Room',
303
+ about:
304
+ '<p>Il y a beaucoup de mauvaises nouvelles dans le monde, donc nous voulions prendre un moment pour nous concentrer sur les bonnes choses de la vie, car même dans la nuit la plus sombre, il y a des étoiles ✨ Vous avez une belle histoire à recommander? Écrivez-nous :)</p>\n' +
305
+ '<p>Vous avez une seconde? <a href="https://prezly1.typeform.com/to/LE8hLK">Répondez a notre sondage</a> et courez la chance de gagner un iPhone 11 Pro!</p>',
306
+ about_plaintext:
307
+ 'Il y a beaucoup de mauvaises nouvelles dans le monde, donc nous voulions prendre un moment pour nous concentrer sur les bonnes choses de la vie, car même dans la nuit la plus sombre, il y a des étoiles ✨ Vous avez une belle histoire à recommander? Écrivez-nous :)Vous avez une seconde? Répondez a notre sondage et courez la chance de gagner un iPhone 11 Pro!',
308
+ email: 'happy@prezly.com',
309
+ website: 'https://www.prezly.com/',
310
+ phone: null,
311
+ address: null,
312
+ twitter: 'prezly',
313
+ facebook: 'PrezlyPR',
314
+ linkedin: 'https://www.linkedin.com/company/prezly',
315
+ pinterest: null,
316
+ youtube: null,
317
+ instagram: 'prezly.official',
318
+ tiktok: null,
319
+ email_disclaimer:
320
+ '<p>Vous avez reçu cet e-mail car vous faites partie des contacts de %companyname%. Si vous ne souhaitez plus recevoir ces e-mails, veuillez vous <a href="%unsubscribe_url%">désabonner</a>.</p>',
321
+ cookie_statement:
322
+ "<p>Nous utilisons des cookies sur notre site internet. Ils nous aident à en savoir un tout petit peu plus sur vous et sur votre façon d'utiliser notre site. Ainsi, il nous est possible de vous proposer, à vous comme à d'autres, une expérience plus riche et personnalisée.</p>",
323
+ subscribe_disclaimer:
324
+ '<p>En confirmant votre inscription, vous confirmez que vous comprenez que vous vous inscrivez pour recevoir du contenu, et consentez à ce que vos données personnelles soient traitées et stockées en toute sécurité.</p>',
325
+ },
326
+ notifications: [],
327
+ },
328
+ es_ES: {
329
+ code: 'es_ES',
330
+ locale: {
331
+ code: 'es_ES',
332
+ locale: 'es_ES',
333
+ name: 'Spanish (Spain)',
334
+ native_name: 'Español (España)',
335
+ direction: Culture.TextDirection.LTR,
336
+ language_code: 'es',
337
+ },
338
+ is_default: false,
339
+ stories_count: 0,
340
+ public_stories_count: 0,
341
+ categories_count: 0,
342
+ default_email_disclaimer:
343
+ "<p>Ha recibido este correo electrónico porque usted es uno de los contactos de %companyname%. Si no quiere seguir recibiendo estos correos electrónicos, por favor, <a href='%unsubscribe_url%'>cancele la suscripción</a>.</p>",
344
+ default_cookie_statement:
345
+ '<p>Utilizamos cookies en nuestro sitio web. Nos ayudan a conocerle un poco y saber cómo usa nuestro sitio web, lo que nos sirve para proporcionarle a usted y a los demás una experiencia más valiosa y personalizada.</p>',
346
+ default_subscribe_disclaimer:
347
+ '<p>Al confirmar su suscripción, confirma que entiende que se está registrando para recibir contenido y accede a que su información se procese y guarde de manera segura.</p>',
348
+ company_information: {
349
+ name: 'The Good News Room',
350
+ about: '',
351
+ about_plaintext: '',
352
+ email: null,
353
+ website: null,
354
+ phone: null,
355
+ address: null,
356
+ twitter: null,
357
+ facebook: null,
358
+ linkedin: null,
359
+ pinterest: null,
360
+ youtube: null,
361
+ instagram: null,
362
+ tiktok: null,
363
+ email_disclaimer:
364
+ '<p>Ha recibido este correo electrónico porque usted es uno de los contactos de %companyname%. Si no quiere seguir recibiendo estos correos electrónicos, por favor, <a href="%unsubscribe_url%">cancele la suscripción</a>.</p>',
365
+ cookie_statement:
366
+ '<p>Utilizamos cookies en nuestro sitio web. Nos ayudan a conocerle un poco y saber cómo usa nuestro sitio web, lo que nos sirve para proporcionarle a usted y a los demás una experiencia más valiosa y personalizada.</p>',
367
+ subscribe_disclaimer:
368
+ '<p>Al confirmar su suscripción, confirma que entiende que se está registrando para recibir contenido y accede a que su información se procese y guarde de manera segura.</p>',
369
+ },
370
+ notifications: [],
371
+ },
372
+ es_419: {
373
+ code: 'es_419',
374
+ locale: {
375
+ code: 'es_419',
376
+ locale: 'es_419',
377
+ name: 'Spanish (Latin America)',
378
+ native_name: 'Español (Latinoamérica)',
379
+ direction: Culture.TextDirection.LTR,
380
+ language_code: 'es',
381
+ },
382
+ is_default: false,
383
+ stories_count: 0,
384
+ public_stories_count: 0,
385
+ categories_count: 0,
386
+ default_email_disclaimer:
387
+ "<p>Ha recibido este correo electrónico porque usted es uno de los contactos de %companyname%. Si no quiere seguir recibiendo estos correos electrónicos, por favor, <a href='%unsubscribe_url%'>cancele la suscripción</a>.</p>",
388
+ default_cookie_statement:
389
+ '<p>Utilizamos cookies en nuestro sitio web. Nos ayudan a conocerle un poco y saber cómo usa nuestro sitio web, lo que nos sirve para proporcionarle a usted y a los demás una experiencia más valiosa y personalizada.</p>',
390
+ default_subscribe_disclaimer:
391
+ '<p>Al confirmar su suscripción, confirma que entiende que se está registrando para recibir contenido y accede a que su información se procese y guarde de manera segura.</p>',
392
+ company_information: {
393
+ name: 'The Good News Room',
394
+ about: '',
395
+ about_plaintext: '',
396
+ email: null,
397
+ website: null,
398
+ phone: null,
399
+ address: null,
400
+ twitter: null,
401
+ facebook: null,
402
+ linkedin: null,
403
+ pinterest: null,
404
+ youtube: null,
405
+ instagram: null,
406
+ tiktok: null,
407
+ email_disclaimer:
408
+ '<p>Ha recibido este correo electrónico porque usted es uno de los contactos de %companyname%. Si no quiere seguir recibiendo estos correos electrónicos, por favor, <a href="%unsubscribe_url%">cancele la suscripción</a>.</p>',
409
+ cookie_statement:
410
+ '<p>Utilizamos cookies en nuestro sitio web. Nos ayudan a conocerle un poco y saber cómo usa nuestro sitio web, lo que nos sirve para proporcionarle a usted y a los demás una experiencia más valiosa y personalizada.</p>',
411
+ subscribe_disclaimer:
412
+ '<p>Al confirmar su suscripción, confirma que entiende que se está registrando para recibir contenido y accede a que su información se procese y guarde de manera segura.</p>',
413
+ },
414
+ notifications: [],
415
+ },
416
+ };