@redneckz/wildless-cms-uni-blocks 0.3.41 → 0.3.44

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 (247) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +73 -62
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/components/BlockContent.d.ts +2 -1
  5. package/dist/components/Blocks.d.ts +1 -0
  6. package/dist/components/Blocks.js +2 -0
  7. package/dist/components/Blocks.js.map +1 -1
  8. package/dist/components/Bonus/Bonus.d.ts +5 -0
  9. package/dist/components/Bonus/Bonus.js +14 -0
  10. package/dist/components/Bonus/Bonus.js.map +1 -0
  11. package/dist/components/Bonus/BonusContent.d.ts +20 -0
  12. package/dist/components/Bonus/BonusContent.js +2 -0
  13. package/dist/components/Bonus/BonusContent.js.map +1 -0
  14. package/dist/components/Footer/Footer.js +1 -1
  15. package/dist/components/Footer/Footer.js.map +1 -1
  16. package/dist/components/Footer/MediaButton.d.ts +2 -0
  17. package/dist/components/Footer/MediaButton.js +5 -2
  18. package/dist/components/Footer/MediaButton.js.map +1 -1
  19. package/dist/components/Footer/SocialMedia.d.ts +2 -0
  20. package/dist/components/Footer/SocialMedia.js +2 -2
  21. package/dist/components/Footer/SocialMedia.js.map +1 -1
  22. package/dist/components/Footer/SocialMedia.mobile.d.ts +2 -0
  23. package/dist/components/Footer/SocialMedia.mobile.js +2 -2
  24. package/dist/components/Footer/SocialMedia.mobile.js.map +1 -1
  25. package/dist/components/Header/Header.mobile.js.map +1 -1
  26. package/dist/components/Header/HeaderSecondaryMenu.js +1 -1
  27. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  28. package/dist/components/Header/HeaderSubMenuObserver.js +11 -8
  29. package/dist/components/Header/HeaderSubMenuObserver.js.map +1 -1
  30. package/dist/components/Header/HeaderTop.js +1 -1
  31. package/dist/components/Header/HeaderTop.js.map +1 -1
  32. package/dist/components/LinkDocs/LinkDocs.js +1 -1
  33. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  34. package/dist/components/LinkDocs/LinkDocsListItem.js +1 -1
  35. package/dist/components/OtherProducts/OtherProducts.js +2 -2
  36. package/dist/components/OtherProducts/OtherProducts.js.map +1 -1
  37. package/dist/components/OtherProducts/OtherProductsContent.d.ts +2 -0
  38. package/dist/components/ProductBlock/ProductBlock.js +1 -1
  39. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  40. package/dist/components/ProductBlock/renderBackwardButton.js +2 -2
  41. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  42. package/dist/components/ProductBlock/renderBenefit.mobile.js +1 -1
  43. package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  44. package/dist/components/ProductTile/ProductTile.js +1 -1
  45. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  46. package/dist/components/Recommendation/RecommendationCard.js +2 -2
  47. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  48. package/dist/content-page-repository/transformPicture.js +4 -1
  49. package/dist/content-page-repository/transformPicture.js.map +1 -1
  50. package/dist/ui-kit/Icon/Icon.js +3 -8
  51. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  52. package/dist/ui-kit/Icon/IconProps.d.ts +0 -7
  53. package/dist/ui-kit/Logo/Logo.js +1 -1
  54. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  55. package/dist/ui-kit/Tabs/Tabs.js +1 -1
  56. package/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  57. package/fonts/mohave/Mohave-Regular.ttf +0 -0
  58. package/fonts/mohave/mohave.css +7 -0
  59. package/lib/common.css +1 -1
  60. package/lib/components/BlockContent.d.ts +2 -1
  61. package/lib/components/Blocks.d.ts +1 -0
  62. package/lib/components/Blocks.js +2 -0
  63. package/lib/components/Blocks.js.map +1 -1
  64. package/lib/components/Bonus/Bonus.d.ts +5 -0
  65. package/lib/components/Bonus/Bonus.fixture.d.ts +6 -0
  66. package/lib/components/Bonus/Bonus.js +12 -0
  67. package/lib/components/Bonus/Bonus.js.map +1 -0
  68. package/lib/components/Bonus/BonusContent.d.ts +20 -0
  69. package/lib/components/Bonus/BonusContent.js +2 -0
  70. package/lib/components/Bonus/BonusContent.js.map +1 -0
  71. package/lib/components/Footer/Footer.js +1 -1
  72. package/lib/components/Footer/Footer.js.map +1 -1
  73. package/lib/components/Footer/MediaButton.d.ts +2 -0
  74. package/lib/components/Footer/MediaButton.js +5 -2
  75. package/lib/components/Footer/MediaButton.js.map +1 -1
  76. package/lib/components/Footer/SocialMedia.d.ts +2 -0
  77. package/lib/components/Footer/SocialMedia.js +2 -2
  78. package/lib/components/Footer/SocialMedia.js.map +1 -1
  79. package/lib/components/Footer/SocialMedia.mobile.d.ts +2 -0
  80. package/lib/components/Footer/SocialMedia.mobile.js +2 -2
  81. package/lib/components/Footer/SocialMedia.mobile.js.map +1 -1
  82. package/lib/components/Header/Header.mobile.js.map +1 -1
  83. package/lib/components/Header/HeaderSecondaryMenu.js +1 -1
  84. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  85. package/lib/components/Header/HeaderSubMenuObserver.js +11 -8
  86. package/lib/components/Header/HeaderSubMenuObserver.js.map +1 -1
  87. package/lib/components/Header/HeaderTop.js +1 -1
  88. package/lib/components/Header/HeaderTop.js.map +1 -1
  89. package/lib/components/LinkDocs/LinkDocs.js +1 -1
  90. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  91. package/lib/components/LinkDocs/LinkDocsListItem.js +1 -1
  92. package/lib/components/OtherProducts/OtherProducts.js +2 -2
  93. package/lib/components/OtherProducts/OtherProducts.js.map +1 -1
  94. package/lib/components/OtherProducts/OtherProductsContent.d.ts +2 -0
  95. package/lib/components/ProductBlock/ProductBlock.js +1 -1
  96. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  97. package/lib/components/ProductBlock/renderBackwardButton.js +2 -2
  98. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  99. package/lib/components/ProductBlock/renderBenefit.mobile.js +1 -1
  100. package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  101. package/lib/components/ProductTile/ProductTile.js +1 -1
  102. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  103. package/lib/components/Recommendation/RecommendationCard.js +2 -2
  104. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  105. package/lib/content-page-repository/transformPicture.js +4 -1
  106. package/lib/content-page-repository/transformPicture.js.map +1 -1
  107. package/lib/ui-kit/Icon/Icon.js +3 -8
  108. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  109. package/lib/ui-kit/Icon/IconProps.d.ts +0 -7
  110. package/lib/ui-kit/Logo/Logo.js +1 -1
  111. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  112. package/lib/ui-kit/Tabs/Tabs.js +1 -1
  113. package/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  114. package/mobile/bundle/bundle.umd.js +42 -44
  115. package/mobile/bundle/bundle.umd.min.js +1 -1
  116. package/mobile/dist/components/BlockContent.d.ts +2 -1
  117. package/mobile/dist/components/Bonus/Bonus.d.ts +5 -0
  118. package/mobile/dist/components/Bonus/Bonus.js +14 -0
  119. package/mobile/dist/components/Bonus/Bonus.js.map +1 -0
  120. package/mobile/dist/components/Bonus/BonusContent.d.ts +20 -0
  121. package/mobile/dist/components/Bonus/BonusContent.js +2 -0
  122. package/mobile/dist/components/Bonus/BonusContent.js.map +1 -0
  123. package/mobile/dist/components/Footer/MediaButton.d.ts +2 -0
  124. package/mobile/dist/components/Footer/MediaButton.js +5 -2
  125. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  126. package/mobile/dist/components/Footer/SocialMedia.d.ts +2 -0
  127. package/mobile/dist/components/Footer/SocialMedia.js +2 -2
  128. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  129. package/mobile/dist/components/Header/Header.js.map +1 -1
  130. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +1 -1
  131. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  132. package/mobile/dist/components/Header/HeaderSubMenuObserver.js +11 -8
  133. package/mobile/dist/components/Header/HeaderSubMenuObserver.js.map +1 -1
  134. package/mobile/dist/components/Header/HeaderTop.js +1 -1
  135. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  136. package/mobile/dist/components/OtherProducts/OtherProducts.js +2 -2
  137. package/mobile/dist/components/OtherProducts/OtherProducts.js.map +1 -1
  138. package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +2 -0
  139. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +2 -2
  140. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  141. package/mobile/dist/components/ProductBlock/renderBenefit.js +1 -1
  142. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  143. package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
  144. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  145. package/mobile/dist/components/Recommendation/RecommendationCard.js +2 -2
  146. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  147. package/mobile/dist/content-page-repository/transformPicture.js +4 -1
  148. package/mobile/dist/content-page-repository/transformPicture.js.map +1 -1
  149. package/mobile/dist/ui-kit/Icon/Icon.js +3 -8
  150. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  151. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +0 -7
  152. package/mobile/dist/ui-kit/Tabs/Tabs.js +1 -1
  153. package/mobile/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  154. package/mobile/lib/components/BlockContent.d.ts +2 -1
  155. package/mobile/lib/components/Bonus/Bonus.d.ts +5 -0
  156. package/mobile/lib/components/Bonus/Bonus.js +12 -0
  157. package/mobile/lib/components/Bonus/Bonus.js.map +1 -0
  158. package/mobile/lib/components/Bonus/BonusContent.d.ts +20 -0
  159. package/mobile/lib/components/Bonus/BonusContent.js +2 -0
  160. package/mobile/lib/components/Bonus/BonusContent.js.map +1 -0
  161. package/mobile/lib/components/Footer/MediaButton.d.ts +2 -0
  162. package/mobile/lib/components/Footer/MediaButton.js +5 -2
  163. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  164. package/mobile/lib/components/Footer/SocialMedia.d.ts +2 -0
  165. package/mobile/lib/components/Footer/SocialMedia.js +2 -2
  166. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  167. package/mobile/lib/components/Header/Header.js.map +1 -1
  168. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +1 -1
  169. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  170. package/mobile/lib/components/Header/HeaderSubMenuObserver.js +11 -8
  171. package/mobile/lib/components/Header/HeaderSubMenuObserver.js.map +1 -1
  172. package/mobile/lib/components/Header/HeaderTop.js +1 -1
  173. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  174. package/mobile/lib/components/OtherProducts/OtherProducts.js +2 -2
  175. package/mobile/lib/components/OtherProducts/OtherProducts.js.map +1 -1
  176. package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +2 -0
  177. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +2 -2
  178. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  179. package/mobile/lib/components/ProductBlock/renderBenefit.js +1 -1
  180. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  181. package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
  182. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  183. package/mobile/lib/components/Recommendation/RecommendationCard.js +2 -2
  184. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  185. package/mobile/lib/content-page-repository/transformPicture.js +4 -1
  186. package/mobile/lib/content-page-repository/transformPicture.js.map +1 -1
  187. package/mobile/lib/ui-kit/Icon/Icon.js +3 -8
  188. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  189. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +0 -7
  190. package/mobile/lib/ui-kit/Tabs/Tabs.js +1 -1
  191. package/mobile/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  192. package/mobile/src/common.css +5 -0
  193. package/mobile/src/components/BlockContent.ts +2 -0
  194. package/mobile/src/components/Bonus/Bonus.example.json +12 -0
  195. package/mobile/src/components/Bonus/Bonus.tsx +50 -0
  196. package/mobile/src/components/Bonus/BonusContent.ts +22 -0
  197. package/mobile/src/components/ContentPage/ContentPage.page.json +33 -10
  198. package/mobile/src/components/Footer/MediaButton.tsx +11 -6
  199. package/mobile/src/components/Footer/SocialMedia.tsx +8 -2
  200. package/mobile/src/components/Header/Header.tsx +1 -1
  201. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +2 -2
  202. package/mobile/src/components/Header/HeaderSubMenuObserver.ts +14 -12
  203. package/mobile/src/components/Header/HeaderTop.tsx +1 -1
  204. package/mobile/src/components/OtherProducts/OtherProducts.tsx +18 -13
  205. package/mobile/src/components/OtherProducts/OtherProductsContent.ts +2 -0
  206. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +2 -3
  207. package/mobile/src/components/ProductBlock/renderBenefit.tsx +0 -1
  208. package/mobile/src/components/ProductTile/ProductTile.tsx +1 -1
  209. package/mobile/src/components/Recommendation/RecommendationCard.tsx +8 -3
  210. package/mobile/src/content-page-repository/transformPicture.ts +5 -1
  211. package/mobile/src/ui-kit/Icon/Icon.tsx +3 -15
  212. package/mobile/src/ui-kit/Icon/IconProps.ts +0 -8
  213. package/mobile/src/ui-kit/List/List.tsx +1 -1
  214. package/mobile/src/ui-kit/Tabs/Tabs.tsx +6 -2
  215. package/package.json +1 -1
  216. package/src/common.css +5 -0
  217. package/src/components/BlockContent.ts +2 -0
  218. package/src/components/Blocks.ts +2 -0
  219. package/src/components/Bonus/Bonus.example.json +12 -0
  220. package/src/components/Bonus/Bonus.fixture.tsx +39 -0
  221. package/src/components/Bonus/Bonus.tsx +50 -0
  222. package/src/components/Bonus/BonusContent.ts +22 -0
  223. package/src/components/ContentPage/ContentPage.page.json +33 -10
  224. package/src/components/Footer/Footer.tsx +2 -2
  225. package/src/components/Footer/MediaButton.tsx +11 -6
  226. package/src/components/Footer/SocialMedia.mobile.tsx +8 -2
  227. package/src/components/Footer/SocialMedia.tsx +21 -13
  228. package/src/components/Header/Header.mobile.tsx +1 -1
  229. package/src/components/Header/HeaderSecondaryMenu.tsx +2 -2
  230. package/src/components/Header/HeaderSubMenuObserver.ts +14 -12
  231. package/src/components/Header/HeaderTop.tsx +1 -1
  232. package/src/components/LinkDocs/LinkDocs.tsx +1 -1
  233. package/src/components/LinkDocs/LinkDocsListItem.tsx +1 -1
  234. package/src/components/OtherProducts/OtherProducts.fixture.tsx +12 -11
  235. package/src/components/OtherProducts/OtherProducts.tsx +18 -13
  236. package/src/components/OtherProducts/OtherProductsContent.ts +2 -0
  237. package/src/components/ProductBlock/ProductBlock.tsx +1 -1
  238. package/src/components/ProductBlock/renderBackwardButton.tsx +2 -3
  239. package/src/components/ProductBlock/renderBenefit.mobile.tsx +0 -1
  240. package/src/components/ProductTile/ProductTile.tsx +1 -1
  241. package/src/components/Recommendation/RecommendationCard.tsx +8 -3
  242. package/src/content-page-repository/transformPicture.ts +5 -1
  243. package/src/ui-kit/Icon/Icon.tsx +3 -15
  244. package/src/ui-kit/Icon/IconProps.ts +0 -8
  245. package/src/ui-kit/List/List.tsx +1 -1
  246. package/src/ui-kit/Logo/Logo.tsx +1 -1
  247. package/src/ui-kit/Tabs/Tabs.tsx +6 -2
@@ -231,37 +231,6 @@
231
231
  return (jsxs("section", { className: `p-[50px] ${STYLE_MAPS.background} ${className}`, id: anchor, children: [title && (jsx(Heading, { headingType: "h2", className: `text-primary-text ${STYLE_MAPS.text} ${ALIGN_TEXT[align]}`, title: title })), description && (jsx("p", { className: `font-normal text-base mt-4 ${STYLE_MAPS.text} ${ALIGN_TEXT[align]}`, children: description }))] }));
232
232
  });
233
233
 
234
- const projectSettings = new (class {
235
- _ = {
236
- PROD_BRANCH: 'master',
237
- FORCED_DRAFT_FLOW: false,
238
- };
239
- setup(_) {
240
- this._ = _;
241
- }
242
- get TEST_BRANCH() {
243
- return this._.TEST_BRANCH;
244
- }
245
- get RC_BRANCH() {
246
- return this._.RC_BRANCH;
247
- }
248
- get PROD_BRANCH() {
249
- return this._.PROD_BRANCH;
250
- }
251
- get FORCED_DRAFT_FLOW() {
252
- return this._.FORCED_DRAFT_FLOW;
253
- }
254
- get ENABLE_ASSIST() {
255
- return this._.ENABLE_ASSIST;
256
- }
257
- get SITEMAP() {
258
- return this._.SITEMAP;
259
- }
260
- get CDN() {
261
- return this._.CDN;
262
- }
263
- })();
264
-
265
234
  // Generated. Do not touch
266
235
  /* eslint-disable max-lines */
267
236
  var IconMap;
@@ -423,15 +392,41 @@
423
392
  IconTitleMap["WalletWithMoneyIcon"] = "\u041A\u043E\u0448\u0435\u043B\u0451\u043A \u0441 \u0434\u0435\u043D\u044C\u0433\u0430\u043C\u0438";
424
393
  })(IconTitleMap || (IconTitleMap = {}));
425
394
 
426
- const svgColorsMap = {
427
- none: '',
428
- primary: 'text-white',
429
- secondary: 'text-white',
430
- };
431
- const Icon = JSX(({ className = '', name = '', alt = `Иконка ${IconTitleMap[name] || name}`, title = alt, asSVG, color = 'primary', ...imgProps }) => {
395
+ const projectSettings = new (class {
396
+ _ = {
397
+ PROD_BRANCH: 'master',
398
+ FORCED_DRAFT_FLOW: false,
399
+ };
400
+ setup(_) {
401
+ this._ = _;
402
+ }
403
+ get TEST_BRANCH() {
404
+ return this._.TEST_BRANCH;
405
+ }
406
+ get RC_BRANCH() {
407
+ return this._.RC_BRANCH;
408
+ }
409
+ get PROD_BRANCH() {
410
+ return this._.PROD_BRANCH;
411
+ }
412
+ get FORCED_DRAFT_FLOW() {
413
+ return this._.FORCED_DRAFT_FLOW;
414
+ }
415
+ get ENABLE_ASSIST() {
416
+ return this._.ENABLE_ASSIST;
417
+ }
418
+ get SITEMAP() {
419
+ return this._.SITEMAP;
420
+ }
421
+ get CDN() {
422
+ return this._.CDN;
423
+ }
424
+ })();
425
+
426
+ const Icon = JSX(({ className = '', name = '', alt = `Иконка ${IconTitleMap[name] || name}`, title = alt, asSVG, ...imgProps }) => {
432
427
  const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
433
428
  if (asSVG) {
434
- return (jsxs("svg", { className: `${svgColorsMap[color]} ${className}`, ...imgProps, "aria-hidden": "true", style: color === 'secondary' ? { filter: 'invert(1)' } : null, children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }));
429
+ return (jsxs("svg", { className: className, ...imgProps, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }));
435
430
  }
436
431
  return (jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
437
432
  });
@@ -485,7 +480,7 @@
485
480
  return index !== -1 ? href.substring(index + 1) : '';
486
481
  };
487
482
 
488
- const LinkDocsListItem = JSX(({ className = '', doc, icon }) => (jsx(LinkDocsListItemBase, { className: `flex h-full box-border ${className}`, iconClassName: "mr-3.5 min-w-6 min-h-6 text-primary-text", textClassName: "self-center font-light", suffixClassName: "text-secondary-text group-hover:text-primary-main", doc: doc, icon: icon })));
483
+ const LinkDocsListItem = JSX(({ className = '', doc, icon }) => (jsx(LinkDocsListItemBase, { className: `flex h-full box-border ${className}`, iconClassName: "mr-2.5 min-w-6 min-h-6 text-primary-text", textClassName: "self-center font-light", suffixClassName: "text-secondary-text group-hover:text-primary-main", doc: doc, icon: icon })));
489
484
 
490
485
  const LinkDocsList = JSX(({ className, documents, columnsMode = 'double', icon }) => {
491
486
  return documents?.length ? (jsx("div", { className: className, role: "list", children: documents.map((doc, i) => (jsx("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: jsx(LinkDocsListItem, { className: "group flex align-middle h-fit w-fit text-primary-text no-underline hover:text-primary-main", doc: doc, icon: icon }) }, String(i)))) })) : null;
@@ -505,7 +500,7 @@
505
500
  single: 'flex gap-3.5 flex-col',
506
501
  };
507
502
  const LinkDocs = JSX(({ className = '', title, subtitle, align, documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', anchor = null, }) => {
508
- return (jsxs("section", { className: `font-sans text-primary-text p-12 bg-white ${className}`, id: anchor, children: [title ? (jsx(Heading, { headingType: "h2", className: `${subtitle ? 'mb-2.5' : titleMarginsStyleMap[columnsMode]} ${titleAlignStyleMap[align ?? 'center']}`, title: title })) : null, subtitle ? (jsx("h3", { className: `text-base mt-0 font-normal ${titleMarginsStyleMap[columnsMode]} ${titleAlignStyleMap[align ?? 'center']}`, children: subtitle })) : null, jsx(LinkDocsList, { className: linkColumnsModeStyleMap[columnsMode], columnsMode: columnsMode, documents: documents, icon: icon })] }));
503
+ return (jsxs("section", { className: `font-sans text-primary-text p-[50px] bg-white ${className}`, id: anchor, children: [title ? (jsx(Heading, { headingType: "h2", className: `${subtitle ? 'mb-2.5' : titleMarginsStyleMap[columnsMode]} ${titleAlignStyleMap[align ?? 'center']}`, title: title })) : null, subtitle ? (jsx("h3", { className: `text-base mt-0 font-normal ${titleMarginsStyleMap[columnsMode]} ${titleAlignStyleMap[align ?? 'center']}`, children: subtitle })) : null, jsx(LinkDocsList, { className: linkColumnsModeStyleMap[columnsMode], columnsMode: columnsMode, documents: documents, icon: icon })] }));
509
504
  });
510
505
 
511
506
  const pictureTextStyleMap = {
@@ -737,7 +732,7 @@
737
732
  secondary: 'text-primary-text',
738
733
  };
739
734
  function renderBackwardButton(text, version, className) {
740
- return (jsxs("div", { className: `flex items-center ${className}`, children: [jsx(Button, { rounded: true, className: `w-12 h-12 min-h-12 max-h-12 flex items-center justify-center mr-3 ${backwardBgStyleMap[version]}`, ariaLabel: text, children: jsx(Img, { className: `w-4 h-4 min-w-4 min-h-4 rounded-full box-border ${backwardIconStyleMap[version]}`, image: { icon: 'ArrowLeftIcon' }, color: "none", width: "24", height: "24", asSVG: true }) }), text ? jsx("span", { className: "text-m-md", children: text }) : null] }));
735
+ return (jsxs("div", { className: `flex items-center ${className}`, children: [jsx(Button, { rounded: true, className: `w-12 h-12 min-h-12 max-h-12 flex items-center justify-center mr-3 ${backwardBgStyleMap[version]}`, ariaLabel: text, children: jsx(Img, { className: `w-4 h-4 min-w-4 min-h-4 rounded-full box-border ${backwardIconStyleMap[version]}`, image: { icon: 'ArrowLeftIcon' }, width: "24", height: "24", asSVG: true }) }), text ? jsx("span", { className: "text-m-md", children: text }) : null] }));
741
736
  }
742
737
 
743
738
  const productBlockStyleMap$1 = {
@@ -752,7 +747,7 @@
752
747
  const { context, className = '', breadcrumbs, version = 'primary', anchor = null, ...otherProps } = props;
753
748
  const router = context.useRouter();
754
749
  const { handlerDecorator } = context;
755
- return (jsxs("section", { className: `font-sans pt-10 pl-[50px] pb-[50px] pr-[7.5rem] box-border min-h-[420px] ${productBlockStyleMap$1[version]} ${className}`, id: anchor, children: [renderBackwardButton('Все дебетовые карты', version, 'mb-10'), breadcrumbs?.length ? (jsx("div", { className: "text-xs mb-6", children: joinList(jsx("span", { className: `mx-2 ${breadcrumbsStyleMap[version]}`, children: "/" }))(breadcrumbs.map((breadcrumb, i) => (jsx(Breadcrumb, { ...useLink({ router, handlerDecorator }, { className: breadcrumbsStyleMap[version], ...breadcrumb }) }, String(i))))) })) : null, jsx(ProductBlockInner, { context: context, version: version, ...otherProps })] }));
750
+ return (jsxs("section", { className: `font-sans overflow-hidden pt-10 pl-[50px] pb-[50px] pr-[7.5rem] box-border min-h-[420px] ${productBlockStyleMap$1[version]} ${className}`, id: anchor, children: [renderBackwardButton('Все дебетовые карты', version, 'mb-10'), breadcrumbs?.length ? (jsx("div", { className: "text-xs mb-6", children: joinList(jsx("span", { className: `mx-2 ${breadcrumbsStyleMap[version]}`, children: "/" }))(breadcrumbs.map((breadcrumb, i) => (jsx(Breadcrumb, { ...useLink({ router, handlerDecorator }, { className: breadcrumbsStyleMap[version], ...breadcrumb }) }, String(i))))) })) : null, jsx(ProductBlockInner, { context: context, version: version, ...otherProps })] }));
756
751
  });
757
752
 
758
753
  const textBlockStyleMaps = {
@@ -849,7 +844,7 @@
849
844
  secondary: 'bg-primary-main text-white',
850
845
  };
851
846
  const ProductTile = JSX(({ context, className = '', title, description, benefits, buttons, image, version = 'primary', anchor = null, }) => {
852
- return (jsx("section", { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${productTileStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, id: anchor, children: jsxs(BaseTile, { context: context, title: title && (jsx(Heading, { headingType: getTileHeadingType(className), title: title, className: `whitespace-pre-wrap max-w-[600px]` })), buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description && jsx(Description, { className: "mt-4 max-w-[600px]", description: description }), jsxs("div", { className: "flex mt-5 mb-1", children: [benefits?.length ? (jsx("div", { className: "mr-8", children: benefits.map(renderBenefitLabel) })) : null, benefits?.length ? (jsx("div", { className: "pt-1", children: benefits.map((_, i) => renderBenefitDescription(_, i, version)) })) : null] })] }) }));
847
+ return (jsx("section", { className: `bg-white overflow-hidden text-primary-text font-sans p-9 box-border ${className} ${productTileStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, id: anchor, children: jsxs(BaseTile, { context: context, title: title && (jsx(Heading, { headingType: getTileHeadingType(className), title: title, className: `whitespace-pre-wrap max-w-[600px]` })), buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description && jsx(Description, { className: "mt-4 max-w-[600px]", description: description }), jsxs("div", { className: "flex mt-5 mb-1", children: [benefits?.length ? (jsx("div", { className: "mr-8", children: benefits.map(renderBenefitLabel) })) : null, benefits?.length ? (jsx("div", { className: "pt-1", children: benefits.map((_, i) => renderBenefitDescription(_, i, version)) })) : null] })] }) }));
853
848
  });
854
849
  function renderBenefitLabel(benefit, i) {
855
850
  return (jsx("div", { className: `text-xl font-medium ${i ? 'mt-2.5' : ''}`, children: benefit.label }, String(i)));
@@ -1020,6 +1015,15 @@
1020
1015
  return (jsxs("div", { className: "flex items-center gap-5 max-w-[500px]", children: [benefit.icon ? (jsx(Img, { className: "h-[70px] w-[70px] min-w-[70px] min-h-[70px]", image: benefit.icon, width: "70", height: "70" })) : null, jsxs("div", { children: [jsx("h3", { className: "font-medium text-xl m-0", children: benefit.label }), benefit.description && (jsx("div", { className: "font-normal text-sm mt-2", children: benefit.description }))] })] }, String(i)));
1021
1016
  };
1022
1017
 
1018
+ const Bonus = JSX((props) => {
1019
+ const { className = '', title, description, bonusItems, anchor = null } = props;
1020
+ return (jsx("section", { className: `bg-white p-12 ${className}`, id: anchor, children: jsxs("div", { className: "container", children: [title ? jsx(Heading, { headingType: "h2", className: "text-center", title: title }) : null, description ? (jsx("div", { className: "text-md font-light text-center mt-2", children: description })) : null, jsx("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems
1021
+ ? bonusItems.map((_, i) => {
1022
+ return (jsx("div", { className: "flex-grow w-[49%] border border-gray pl-9 pt-9 pr-6 pb-6 mb-4 mx-2 even:mr-0 odd:ml-0 last:odd:w-full last:odd:mx-0", children: jsxs("div", { className: "flex justify-between w-full", children: [jsxs("div", { className: "mr-4", children: [jsx("div", { className: "text-title-sm", children: _.name }), jsx("div", { className: "text-md font-light mt-3 max-w-[488px]", children: _.description })] }), _.bonusCount ? (jsxs("div", { className: "relative -bottom-3 h-auto flex items-end mt-14 shrink-0", children: [jsx("span", { className: "font-serif -tracking-wider text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7", children: _.bonusCount }), jsx("span", { className: "text-[44px] bg-clip-text text-transparent bg-green-to-yellow", children: _.bonusName })] })) : null] }) }, String(i)));
1023
+ })
1024
+ : null })] }) }));
1025
+ });
1026
+
1023
1027
  const TableRowContainer = JSX(({ children }) => (jsx("div", { className: "self-start flex flex-col", role: "row", children: jsx("div", { className: "flex", children: children }) })));
1024
1028
 
1025
1029
  const GRADIENT = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
@@ -1109,7 +1113,7 @@
1109
1113
  const isActive = currentTabIndex === index;
1110
1114
  return (jsxs("div", { className: `flex h-full flex-1 cursor-pointer mr-2 last:mr-0 box-content ${isActive ? ACTIVE_TAB_STYLE : TAB_STYLE}`, role: "tab", onClick: () => onTabClick(index), "aria-selected": String(isActive), children: [tab?.icon ? renderIcon(tab, isActive) : null, jsxs("div", { children: [tab?.title ? jsx("h3", { className: "font-medium m-0 text-base", children: tab?.title }) : null, tab?.description ? (jsx("span", { className: `font-light text-xs ${isActive ? '' : 'text-secondary-text'}`, children: tab?.description })) : null] })] }, String(index)));
1111
1115
  };
1112
- const renderIcon = (tab, isActive) => (jsx("div", { className: "h-full mt-1", style: isActive ? { filter: 'invert(1)' } : null, children: jsx(Img, { className: "w-5 h-5 mr-3", image: tab?.icon || 'CardIcon', asSVG: !isActive }) }));
1116
+ const renderIcon = (tab, isActive) => (jsx("div", { className: "h-full mt-1", children: jsx(Img, { className: `w-5 h-5 mr-3 ${isActive ? 'invert-full' : ''}`, image: tab?.icon || 'CardIcon', asSVG: !isActive }) }));
1113
1117
 
1114
1118
  function useCreditCalculatorData(useAsyncData, directoryName) {
1115
1119
  const { data } = useAsyncData(creditCalculatorUrl(directoryName), fetchCreditCalculatorData);
@@ -1414,7 +1418,7 @@
1414
1418
  transparent: 'text-white',
1415
1419
  };
1416
1420
  const Logo = JSX(({ className, href, children, targetBlank, bgColor = 'bg-white', hideTitle }) => {
1417
- return (jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className || ''}`, href: href || 'https://rshb.ru/', target: targetBlank ? '_blank' : '_self', "aria-label": "\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A", children: [jsx(SVG, { className: `${SVG_COLOR[bgColor]} w-10`, viewBox: "0 0 40 45", paths: LOGO_PATHS.map((d) => ({ d })) }), !hideTitle && (jsx("span", { className: `${TEXT_COLOR[bgColor]} text-m-title-xs font-medium ml-2.5`, children: children || 'Россельхозбанк' }))] }));
1421
+ return (jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className || ''}`, href: href || 'https://rshb.ru/', target: targetBlank ? '_blank' : '_self', "aria-label": "\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A", children: [jsx(SVG, { className: `${SVG_COLOR[bgColor]} w-10`, viewBox: "0 0 40 45", paths: LOGO_PATHS.map((d) => ({ d })) }), !hideTitle && (jsx("span", { className: `${TEXT_COLOR[bgColor]} font-medium ml-2.5`, children: children || 'Россельхозбанк' }))] }));
1418
1422
  });
1419
1423
 
1420
1424
  const SearchBar = JSX(({ className, context }) => {
@@ -1526,17 +1530,20 @@
1526
1530
  height: '21px',
1527
1531
  },
1528
1532
  ];
1529
- const MediaButton = JSX(({ href }) => {
1533
+ const MediaButton = JSX(({ href, version }) => {
1530
1534
  const { icon, width, height, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
1531
1535
  if (!icon)
1532
1536
  return null;
1533
- return (jsx("a", { className: "flex items-center justify-center border border-solid rounded-md border-main-divider no-underline outline-none w-14 h-14 box-border text-primary-main hover:text-white hover:bg-primary-main hover:border-primary-main", href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", children: icon ? (jsx(Img, { image: icon, width: width, height: height, asSVG: true, className: "block", color: "none" })) : null }));
1537
+ const classes = version === 'secondary'
1538
+ ? 'text-white hover:text-primary-main hover:bg-white'
1539
+ : 'text-primary-main hover:text-white hover:bg-primary-main hover:border-primary-main';
1540
+ return (jsx("a", { className: ` flex items-center justify-center border border-solid rounded-md border-main-divider no-underline outline-none w-14 h-14 box-border ${classes}`, href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", children: icon ? jsx(Img, { image: icon, width: width, height: height, asSVG: true, className: "block" }) : null }));
1534
1541
  });
1535
1542
 
1536
- const SocialMedia = JSX(({ className = '', media, context, children }) => {
1543
+ const SocialMedia = JSX(({ className = '', media, version, context, children }) => {
1537
1544
  const router = context.useRouter();
1538
1545
  const { handlerDecorator } = context;
1539
- return (jsxs("div", { children: [jsx("div", { className: `flex gap-2.5 mb-1.5 ${className}`, children: media?.map((_, index) => (jsx(MediaButton, { ...useLink({ router, handlerDecorator }, _) }, String(index)))) }), jsx("span", { className: "font-light text-sm text-secondary-text", children: children })] }));
1546
+ return (jsxs("div", { children: [jsx("div", { className: `flex gap-2.5 mb-1.5 ${className}`, children: media?.map((_, index) => (jsx(MediaButton, { version: version, ...useLink({ router, handlerDecorator }, _) }, String(index)))) }), jsx("span", { className: "font-light text-sm text-secondary-text", children: children })] }));
1540
1547
  });
1541
1548
 
1542
1549
  const TextInformation = JSX(({ className, links, context }) => {
@@ -1548,7 +1555,7 @@
1548
1555
 
1549
1556
  const LEFT_COL_WIDTH_FULL_HD = 'w-[204px]';
1550
1557
  const Footer = JSX(({ className, documents, relatedEnterprises, contacts, socialMedia, mobileApps, topItems, context, anchor = null, }) => {
1551
- return (jsxs("footer", { className: `px-9 pt-9 pb-8 bg-white ${className || ''}`, id: anchor, children: [jsxs("div", { className: "flex items-stretch gap-[54px] pb-[30px] xl:gap-8", children: [jsx(Logo, { className: LEFT_COL_WIDTH_FULL_HD }), jsx(SearchBar, { context: context, className: "grow" })] }), jsxs("div", { className: "flex items-stretch gap-[54px] xl:gap-8", children: [jsxs("div", { className: `${LEFT_COL_WIDTH_FULL_HD} flex flex-col shrink-0 overflow-hidden`, children: [jsx(Contacts, { items: contacts, context: context, hasButton: true }), jsx(SocialMedia, { media: socialMedia, context: context, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), jsx(SocialMedia, { className: "mt-6", media: mobileApps, context: context, children: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" })] }), jsx(Sitemap, { className: "pt-[3px]", context: context, items: topItems })] }), jsx(HorizontalNavigation, { className: "mt-24", links: relatedEnterprises, context: context }), jsx(TextInformation, { links: documents, context: context })] }));
1558
+ return (jsxs("footer", { className: `px-9 pt-9 pb-10 bg-white ${className || ''}`, id: anchor, children: [jsxs("div", { className: "flex items-stretch gap-[54px] pb-[30px] xl:gap-8", children: [jsx(Logo, { className: LEFT_COL_WIDTH_FULL_HD }), jsx(SearchBar, { context: context, className: "grow" })] }), jsxs("div", { className: "flex items-stretch gap-[54px] xl:gap-8", children: [jsxs("div", { className: `${LEFT_COL_WIDTH_FULL_HD} flex flex-col shrink-0 overflow-hidden`, children: [jsx(Contacts, { items: contacts, context: context, hasButton: true }), jsx(SocialMedia, { media: socialMedia, context: context, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), jsx(SocialMedia, { className: "mt-6", media: mobileApps, context: context, children: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" })] }), jsx(Sitemap, { className: "pt-[3px]", context: context, items: topItems })] }), jsx(HorizontalNavigation, { className: "mt-[98px]", links: relatedEnterprises, context: context }), jsx(TextInformation, { links: documents, context: context })] }));
1552
1559
  });
1553
1560
 
1554
1561
  const GracePeriod = JSX(({ className = '', title, description, calendar, anchor = null }) => {
@@ -1614,7 +1621,7 @@
1614
1621
  };
1615
1622
  const HeaderSecondaryMenu = JSX(({ context, className, defaultLocation = '', bgColor = 'bg-white' }) => {
1616
1623
  const [city, getCity] = context.useGeolocation(defaultLocation);
1617
- return (jsxs("div", { className: `flex items-center ${className || ''}`, children: [jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: city, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: getCity, bgColor: bgColor }), jsx(TopItem, { className: "mr-7", flat: true, href: "#", text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432", bgColor: bgColor }), jsx(HeaderSecondaryMenuButton, { className: `mr-5 ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: jsx(Img, { image: "LoupeIcon", className: "h-full", asSVG: true, color: "none" }) }), jsx(HeaderSecondaryMenuButton, { className: `${LINKS_COLORS_MAP[bgColor]} min-w-[32px] min-h-[32px]`, ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: jsx(Img, { image: LINKS_ICON_NAME_MAP[bgColor], className: "h-full", asSVG: true, color: "none" }) })] }));
1624
+ return (jsxs("div", { className: `flex items-center ${className || ''}`, children: [jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: city, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: getCity, bgColor: bgColor }), jsx(TopItem, { className: "mr-7", flat: true, href: "#", text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432", bgColor: bgColor }), jsx(HeaderSecondaryMenuButton, { className: `mr-5 ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: jsx(Img, { image: "LoupeIcon", className: "h-full", asSVG: true }) }), jsx(HeaderSecondaryMenuButton, { className: `${LINKS_COLORS_MAP[bgColor]} min-w-[32px] min-h-[32px]`, ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: jsx(Img, { image: LINKS_ICON_NAME_MAP[bgColor], className: "h-full", asSVG: true }) })] }));
1618
1625
  });
1619
1626
 
1620
1627
  const maxBy = (discriminator) => (list) => list.reduceRight((a, b) => (discriminator(a) > discriminator(b) ? a : b));
@@ -1649,12 +1656,15 @@
1649
1656
  const isClient$1 = !isSSR();
1650
1657
  const headerSubMenuObserver = isClient$1
1651
1658
  ? new IntersectionObserver((entries) => {
1659
+ const createArrays = (selectors) => selectors.map((_) => Array.from(window.document.querySelectorAll(_)));
1652
1660
  const headerSubMenuButtonElement = window.document.querySelector('[data-header-submenu-visible=toggled]');
1653
- const headerSubMenuItems = Array.from(window.document.querySelectorAll('[data-item-name=header-submenu]'));
1654
- const dotsHeaderSubMenuItems = Array.from(window.document.querySelectorAll('[data-item-name=dots-header-submenu]'));
1661
+ const [headerSubMenuItems, dotsHeaderSubMenuItems] = createArrays([
1662
+ '[data-item-name=header-submenu]',
1663
+ '[data-item-name=dots-header-submenu]',
1664
+ ]);
1655
1665
  const visibilityList = {};
1656
- entries.forEach((j) => {
1657
- visibilityList[String(j.target.toString())] = j.isIntersecting;
1666
+ entries.forEach((_) => {
1667
+ visibilityList[_.target.toString()] = _.isIntersecting;
1658
1668
  });
1659
1669
  const isHeaderSubMenuButtonShow = toggleVisibilityInItems(visibilityList, dotsHeaderSubMenuItems, 'hidden');
1660
1670
  toggleVisibilityInItems(visibilityList, headerSubMenuItems, 'invisible');
@@ -1668,11 +1678,11 @@
1668
1678
  // TODO: add types
1669
1679
  const toggleVisibilityInItems = (visibilityList, items, className) => {
1670
1680
  const isReversed = className !== 'hidden';
1671
- return items.some((item) => {
1672
- const key = item.toString();
1681
+ return items.some((_) => {
1682
+ const key = _.toString();
1673
1683
  const option = isReversed ? !visibilityList[key] : visibilityList[key];
1674
- key in visibilityList ? item.classList.toggle(className, option) : null;
1675
- return isReversed ? item.classList.contains('hidden') : !item.classList.contains('hidden');
1684
+ key in visibilityList ? _.classList.toggle(className, option) : null;
1685
+ return isReversed ? _.classList.contains('hidden') : !_.classList.contains('hidden');
1676
1686
  });
1677
1687
  };
1678
1688
 
@@ -1797,8 +1807,8 @@
1797
1807
  return (jsxs("div", { className: "border-0 border-b border-solid border-main-divider", children: [hasContent ? (jsx(OtherProductsItemInner, { isExpanded: isActive, columns: columns, blocks: blocks, context: context })) : null, jsxs("button", { className: "border-none bg-primary-main px-0 py-[26px] mb-[1px] w-full font-sans text-white text-base flex justify-center cursor-pointer", onClick: handleToggle, children: [jsx("span", { className: "pr-3", children: isActive ? 'Скрыть' : label }), hasContent ? jsx(Icon, { name: icon, width: "20", height: "20", asSVG: true }) : null] })] }));
1798
1808
  });
1799
1809
 
1800
- const OtherProducts = JSX(({ blockItems, context, className }) => {
1801
- return (jsx("section", { className: `font-sans bg-white text-primary-text ${className || ''}`, children: blockItems?.length ? (jsx("div", { className: "list-none m-0 p-0", children: blockItems.map((item, i) => (jsx(OtherProductsItem, { ...item, context: context }, `BlockItem${i}`))) })) : null }));
1810
+ const OtherProducts = JSX(({ blockItems, colorPalette, context, className = "" }) => {
1811
+ return (jsx("section", { "data-theme": colorPalette || null, className: `font-sans bg-white text-primary-text ${className}`, children: blockItems?.length ? (jsx("div", { className: "list-none m-0 p-0", children: blockItems.map((item, i) => (jsx(OtherProductsItem, { ...item, context: context }, `BlockItem${i}`))) })) : null }));
1802
1812
  });
1803
1813
 
1804
1814
  const GOLDEN_RATIO = 1.618;
@@ -1907,7 +1917,7 @@
1907
1917
  }
1908
1918
 
1909
1919
  const RecommendationCard = JSX(({ context, className = '', title, description, items, image, version, socialMedia }) => {
1910
- return (jsx("section", { className: `border border-solid box-border py-[30px] px-9 min-w-[515px] max-w-[515px] ${className}`, role: "listitem", children: jsxs(BaseTile, { context: context, className: "flex justify-between", title: title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "font-normal mb-3.5", title: title })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description ? jsx(Description, { className: "text-left", description: description }) : null, items?.length ? (jsx(List, { className: "text-md font-light flex flex-col gap-2", items: items, version: version })) : null, jsx(SocialMedia, { className: "pt-[42px] pb-0", media: socialMedia, context: context })] }) }));
1920
+ return (jsx("section", { className: `border border-solid box-border py-[30px] px-9 min-w-[515px] max-w-[515px] ${className}`, role: "listitem", children: jsxs(BaseTile, { context: context, className: "flex justify-between", title: title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "font-normal mb-3.5", title: title })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description ? jsx(Description, { className: "text-left", description: description }) : null, items?.length ? (jsx(List, { className: "text-md font-light flex flex-col gap-2", items: items, version: version })) : null, jsx(SocialMedia, { className: "pt-[42px] pb-0", media: socialMedia, version: version, context: context })] }) }));
1911
1921
  });
1912
1922
 
1913
1923
  const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
@@ -1994,6 +2004,7 @@
1994
2004
  const Blocks = {
1995
2005
  Accordion,
1996
2006
  BenefitsBlock,
2007
+ Bonus,
1997
2008
  ComparisonTable,
1998
2009
  CreditCalculator,
1999
2010
  ExchangeRateTile,