@redneckz/wildless-cms-uni-blocks 0.7.1 → 0.7.2

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 (1487) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +282 -488
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/BaseTile/BaseTile.d.ts +1 -4
  5. package/bundle/components/BaseTile/BaseTileProps.d.ts +3 -4
  6. package/bundle/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  7. package/bundle/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  8. package/bundle/components/Carousel/CarouselContent.d.ts +2 -0
  9. package/bundle/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  10. package/bundle/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  11. package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  12. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  13. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  14. package/bundle/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  15. package/bundle/components/Footer/MediaButton.d.ts +2 -2
  16. package/bundle/components/Footer/SocialMedia.d.ts +1 -3
  17. package/bundle/components/Footer/SocialMedia.mobile.d.ts +0 -2
  18. package/bundle/components/Gallery/GalleryContainer.d.ts +1 -1
  19. package/bundle/components/Gallery/GalleryInner.d.ts +1 -1
  20. package/bundle/components/Header/DropdownMenu.d.ts +0 -2
  21. package/bundle/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  22. package/bundle/components/Header/HeaderSubMenu.d.ts +0 -2
  23. package/bundle/components/Header/HeaderSubMenuItem.d.ts +0 -2
  24. package/bundle/components/Headline/HeadlineContent.d.ts +0 -2
  25. package/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  26. package/bundle/components/HorizontalLayout/gapStyles.d.ts +2 -0
  27. package/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  28. package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  29. package/bundle/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  30. package/bundle/components/ProductTile/renderBenefit.d.ts +1 -2
  31. package/bundle/components/Recommendation/RecommendationCard.d.ts +2 -4
  32. package/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  33. package/bundle/components/Tabs/tabItemClasses.d.ts +2 -2
  34. package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +1 -1
  35. package/bundle/components/Tile/Tile.d.ts +0 -1
  36. package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  37. package/bundle/components/Video/getPaddings.d.ts +1 -1
  38. package/bundle/icons/IconName.d.ts +6 -4
  39. package/bundle/model/BlockVersion.d.ts +6 -20
  40. package/bundle/model/ButtonVersion.d.ts +3 -3
  41. package/bundle/model/JSXBlock.d.ts +2 -0
  42. package/bundle/ui-kit/BlockWrapper.d.ts +2 -0
  43. package/bundle/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  44. package/bundle/ui-kit/Foldable/Foldable.d.ts +1 -0
  45. package/bundle/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  46. package/bundle/ui-kit/List/ListItem.d.ts +1 -2
  47. package/bundle/ui-kit/List/ListProps.d.ts +0 -6
  48. package/bundle/ui-kit/Text/TextProps.d.ts +2 -1
  49. package/bundle/ui-kit/TopItem/TopItem.d.ts +0 -2
  50. package/bundle/utils/getColSpan.d.ts +1 -1
  51. package/bundle/utils/style.d.ts +3 -1
  52. package/cosmos-static/icons/YoutubeIcon.svg +1 -0
  53. package/dist/BlockRenderer/renderBlock.js +4 -3
  54. package/dist/BlockRenderer/renderBlock.js.map +1 -1
  55. package/dist/components/Accordion/Accordion.js +1 -1
  56. package/dist/components/Accordion/Accordion.js.map +1 -1
  57. package/dist/components/Accordion/Accordion.mobile.js +1 -1
  58. package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
  59. package/dist/components/AccordionItem/AccordionItem.js +1 -1
  60. package/dist/components/AccordionItem/AccordionItem.js.map +1 -1
  61. package/dist/components/BaseTile/BaseTile.d.ts +1 -4
  62. package/dist/components/BaseTile/BaseTile.js.map +1 -1
  63. package/dist/components/BaseTile/BaseTileProps.d.ts +3 -4
  64. package/dist/components/BenefitsBlock/BenefitsBlock.js +5 -19
  65. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  66. package/dist/components/Bonus/Bonus.js +5 -7
  67. package/dist/components/Bonus/Bonus.js.map +1 -1
  68. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  69. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  70. package/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  71. package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  72. package/dist/components/BusinessBlock/BusinessCard.js +2 -2
  73. package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  74. package/dist/components/ButtonBlock/ButtonBlock.js +2 -5
  75. package/dist/components/ButtonBlock/ButtonBlock.js.map +1 -1
  76. package/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  77. package/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  78. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  79. package/dist/components/Calculator/Calculator.js +1 -1
  80. package/dist/components/Calculator/Calculator.js.map +1 -1
  81. package/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  82. package/dist/components/Calculator/CreditCalculatorForm.js +2 -2
  83. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  84. package/dist/components/Calculator/DepositCalculatorForm.js +2 -2
  85. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  86. package/dist/components/CardTransfer/CardTransfer.js +1 -1
  87. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  88. package/dist/components/Carousel/Carousel.js +5 -3
  89. package/dist/components/Carousel/Carousel.js.map +1 -1
  90. package/dist/components/Carousel/CarouselContent.d.ts +2 -0
  91. package/dist/components/CarouselCard/CarouselCard.js +2 -2
  92. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  93. package/dist/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  94. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  95. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
  96. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  97. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
  98. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  99. package/dist/components/CarouselLinks/CarouselLinks.js +3 -3
  100. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  101. package/dist/components/CarouselProductCard/CarouselProductCard.js +8 -19
  102. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  103. package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  104. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  105. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  106. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  107. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
  108. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  109. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  110. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  111. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -4
  112. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  113. package/dist/components/Catalog/Catalog.js +1 -1
  114. package/dist/components/Catalog/Catalog.js.map +1 -1
  115. package/dist/components/Catalog/CatalogCard.js +2 -2
  116. package/dist/components/Catalog/CatalogCard.js.map +1 -1
  117. package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
  118. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  119. package/dist/components/ContactsBlock/ContactsBlock.js +3 -4
  120. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  121. package/dist/components/ContentPage/ContentPage.js +2 -2
  122. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  123. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  124. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  125. package/dist/components/Footer/Footer.js +2 -2
  126. package/dist/components/Footer/Footer.js.map +1 -1
  127. package/dist/components/Footer/MediaButton.d.ts +2 -2
  128. package/dist/components/Footer/MediaButton.js +12 -13
  129. package/dist/components/Footer/MediaButton.js.map +1 -1
  130. package/dist/components/Footer/SocialMedia.d.ts +1 -3
  131. package/dist/components/Footer/SocialMedia.js +1 -1
  132. package/dist/components/Footer/SocialMedia.js.map +1 -1
  133. package/dist/components/Footer/SocialMedia.mobile.d.ts +0 -2
  134. package/dist/components/Footer/SocialMedia.mobile.js +1 -1
  135. package/dist/components/Footer/SocialMedia.mobile.js.map +1 -1
  136. package/dist/components/Gallery/Gallery.js +1 -1
  137. package/dist/components/Gallery/Gallery.js.map +1 -1
  138. package/dist/components/Gallery/Gallery.mobile.js +6 -7
  139. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  140. package/dist/components/Gallery/GalleryCardInner.js +8 -11
  141. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  142. package/dist/components/Gallery/GalleryContainer.d.ts +1 -1
  143. package/dist/components/Gallery/GalleryContainer.js +5 -4
  144. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  145. package/dist/components/Gallery/GalleryInner.d.ts +1 -1
  146. package/dist/components/Gallery/GalleryInner.js +5 -5
  147. package/dist/components/Gallery/GalleryInner.js.map +1 -1
  148. package/dist/components/GracePeriod/GracePeriod.js +1 -1
  149. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  150. package/dist/components/Header/DropdownMenu.d.ts +0 -2
  151. package/dist/components/Header/DropdownMenu.js +4 -7
  152. package/dist/components/Header/DropdownMenu.js.map +1 -1
  153. package/dist/components/Header/Header.js +6 -6
  154. package/dist/components/Header/Header.js.map +1 -1
  155. package/dist/components/Header/Header.mobile.js +7 -2
  156. package/dist/components/Header/Header.mobile.js.map +1 -1
  157. package/dist/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  158. package/dist/components/Header/HeaderSecondaryMenu.js +7 -18
  159. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  160. package/dist/components/Header/HeaderSubMenu.d.ts +0 -2
  161. package/dist/components/Header/HeaderSubMenu.js +2 -2
  162. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  163. package/dist/components/Header/HeaderSubMenuItem.d.ts +0 -2
  164. package/dist/components/Header/HeaderSubMenuItem.js +2 -2
  165. package/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  166. package/dist/components/Header/HeaderTop.js +1 -1
  167. package/dist/components/Header/HeaderTop.js.map +1 -1
  168. package/dist/components/Headline/Headline.js +4 -5
  169. package/dist/components/Headline/Headline.js.map +1 -1
  170. package/dist/components/Headline/HeadlineContent.d.ts +0 -2
  171. package/dist/components/HorizontalLayout/HorizontalLayout.js +3 -13
  172. package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  173. package/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  174. package/dist/components/HorizontalLayout/gapStyles.d.ts +2 -0
  175. package/dist/components/HorizontalLayout/gapStyles.js +12 -0
  176. package/dist/components/HorizontalLayout/gapStyles.js.map +1 -0
  177. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  178. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  179. package/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  180. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  181. package/dist/components/LinkDocs/LinkDocs.js +2 -1
  182. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  183. package/dist/components/LinkDocs/LinkDocs.mobile.js +3 -1
  184. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  185. package/dist/components/LinkDocs/LinkDocsList.js +1 -1
  186. package/dist/components/LinkDocs/LinkDocsList.js.map +1 -1
  187. package/dist/components/LinkDocs/LinkDocsListItem.js +1 -1
  188. package/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  189. package/dist/components/LinkList/LinkList.js +1 -1
  190. package/dist/components/LinkList/LinkList.js.map +1 -1
  191. package/dist/components/MiniGallery/MiniGallery.js +1 -1
  192. package/dist/components/MiniGallery/MiniGallery.js.map +1 -1
  193. package/dist/components/MobileAppTile/MobileAppTile.js +7 -11
  194. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  195. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  196. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  197. package/dist/components/ParagraphBlock/ParagraphBlock.js +1 -4
  198. package/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  199. package/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  200. package/dist/components/PictureText/PictureText.js +1 -2
  201. package/dist/components/PictureText/PictureText.js.map +1 -1
  202. package/dist/components/Placeholder/Placeholder.js +2 -1
  203. package/dist/components/Placeholder/Placeholder.js.map +1 -1
  204. package/dist/components/ProductBlock/ProductBlock.js +3 -7
  205. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  206. package/dist/components/ProductBlock/ProductBlock.mobile.js +3 -3
  207. package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  208. package/dist/components/ProductBlock/ProductBlockInner.js +4 -3
  209. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  210. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +5 -9
  211. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  212. package/dist/components/ProductGallery/ProductGallery.js +7 -20
  213. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  214. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  215. package/dist/components/ProductTile/ProductTile.js +5 -6
  216. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  217. package/dist/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  218. package/dist/components/ProductTile/renderAdditionalDescription.js +2 -6
  219. package/dist/components/ProductTile/renderAdditionalDescription.js.map +1 -1
  220. package/dist/components/ProductTile/renderBenefit.d.ts +1 -2
  221. package/dist/components/ProductTile/renderBenefit.js +2 -6
  222. package/dist/components/ProductTile/renderBenefit.js.map +1 -1
  223. package/dist/components/PromoTile/PromoTile.js +3 -3
  224. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  225. package/dist/components/Recommendation/Recommendation.js +2 -4
  226. package/dist/components/Recommendation/Recommendation.js.map +1 -1
  227. package/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
  228. package/dist/components/Recommendation/RecommendationCard.js +4 -3
  229. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  230. package/dist/components/RollupItem/RollupItem.js +7 -15
  231. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  232. package/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  233. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  234. package/dist/components/StepsBlock/StepsBlock.js +3 -6
  235. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  236. package/dist/components/StepsBlock/StepsBlock.mobile.js +4 -4
  237. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  238. package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  239. package/dist/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
  240. package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  241. package/dist/components/StepsBlock/renderStepContent.js +2 -7
  242. package/dist/components/StepsBlock/renderStepContent.js.map +1 -1
  243. package/dist/components/Tabs/renderGroupTab.js +1 -1
  244. package/dist/components/Tabs/renderGroupTab.js.map +1 -1
  245. package/dist/components/Tabs/tabItemClasses.d.ts +2 -2
  246. package/dist/components/Tabs/tabItemClasses.js +2 -2
  247. package/dist/components/Tabs/tabItemClasses.js.map +1 -1
  248. package/dist/components/TariffsTable/EmbeddableCellData.d.ts +1 -1
  249. package/dist/components/TariffsTable/EmbeddableCellData.js +5 -6
  250. package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  251. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +6 -7
  252. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  253. package/dist/components/TariffsTable/TariffsTable.js +1 -1
  254. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  255. package/dist/components/TextBlock/TextBlock.mobile.js +1 -2
  256. package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
  257. package/dist/components/Tile/Tile.d.ts +0 -1
  258. package/dist/components/Tile/Tile.js +5 -10
  259. package/dist/components/Tile/Tile.js.map +1 -1
  260. package/dist/components/VerticalLayout/VerticalLayout.js +4 -15
  261. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  262. package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  263. package/dist/components/Video/Video.js +2 -4
  264. package/dist/components/Video/Video.js.map +1 -1
  265. package/dist/components/Video/getPaddings.d.ts +1 -1
  266. package/dist/components/Video/getPaddings.js.map +1 -1
  267. package/dist/icons/IconName.d.ts +6 -4
  268. package/dist/icons/IconName.js +2 -0
  269. package/dist/icons/IconName.js.map +1 -1
  270. package/dist/model/BlockVersion.d.ts +6 -20
  271. package/dist/model/BlockVersion.js +0 -33
  272. package/dist/model/BlockVersion.js.map +1 -1
  273. package/dist/model/ButtonVersion.d.ts +3 -3
  274. package/dist/model/JSXBlock.d.ts +2 -0
  275. package/dist/ui-kit/BenefitItem/BenefitItem.js +1 -9
  276. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  277. package/dist/ui-kit/BlockWrapper.d.ts +2 -0
  278. package/dist/ui-kit/BlockWrapper.js +11 -3
  279. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  280. package/dist/ui-kit/Button/ArrowButton.js +2 -2
  281. package/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  282. package/dist/ui-kit/Button/ButtonInner.js +1 -1
  283. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  284. package/dist/ui-kit/Button/buttonClassNameConstants.js +9 -3
  285. package/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  286. package/dist/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  287. package/dist/ui-kit/Button/renderButtonsSection.js +16 -0
  288. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -0
  289. package/dist/ui-kit/Checkbox/Checkbox.js +1 -1
  290. package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  291. package/dist/ui-kit/Foldable/Foldable.d.ts +1 -0
  292. package/dist/ui-kit/Foldable/Foldable.js +2 -2
  293. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  294. package/dist/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  295. package/dist/ui-kit/HeaderItem/HeaderItem.js +5 -17
  296. package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  297. package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js +8 -17
  298. package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
  299. package/dist/ui-kit/Heading/Heading.js +2 -5
  300. package/dist/ui-kit/Heading/Heading.js.map +1 -1
  301. package/dist/ui-kit/Icon/Icon.js +3 -8
  302. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  303. package/dist/ui-kit/LinkButton/LinkButton.js +2 -2
  304. package/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
  305. package/dist/ui-kit/List/List.js +1 -12
  306. package/dist/ui-kit/List/List.js.map +1 -1
  307. package/dist/ui-kit/List/ListItem.d.ts +1 -2
  308. package/dist/ui-kit/List/ListItem.js +1 -8
  309. package/dist/ui-kit/List/ListItem.js.map +1 -1
  310. package/dist/ui-kit/List/ListProps.d.ts +0 -6
  311. package/dist/ui-kit/Location/Location.js +1 -1
  312. package/dist/ui-kit/Location/Location.js.map +1 -1
  313. package/dist/ui-kit/Paragraph/Paragraph.js +1 -1
  314. package/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
  315. package/dist/ui-kit/Text/Text.js +1 -1
  316. package/dist/ui-kit/Text/Text.js.map +1 -1
  317. package/dist/ui-kit/Text/TextProps.d.ts +2 -1
  318. package/dist/ui-kit/TopItem/TopItem.d.ts +0 -2
  319. package/dist/ui-kit/TopItem/TopItem.js +9 -18
  320. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  321. package/dist/utils/getColSpan.d.ts +1 -1
  322. package/dist/utils/getColSpan.js +1 -1
  323. package/dist/utils/getColSpan.js.map +1 -1
  324. package/dist/utils/style.d.ts +3 -1
  325. package/dist/utils/style.js +4 -1
  326. package/dist/utils/style.js.map +1 -1
  327. package/lib/BlockRenderer/renderBlock.js +4 -3
  328. package/lib/BlockRenderer/renderBlock.js.map +1 -1
  329. package/lib/common.css +1 -1
  330. package/lib/components/Accordion/Accordion.js +1 -1
  331. package/lib/components/Accordion/Accordion.js.map +1 -1
  332. package/lib/components/Accordion/Accordion.mobile.js +1 -1
  333. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  334. package/lib/components/AccordionItem/AccordionItem.js +1 -1
  335. package/lib/components/AccordionItem/AccordionItem.js.map +1 -1
  336. package/lib/components/BaseTile/BaseTile.d.ts +1 -4
  337. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  338. package/lib/components/BaseTile/BaseTileProps.d.ts +3 -4
  339. package/lib/components/BenefitsBlock/BenefitsBlock.js +5 -19
  340. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  341. package/lib/components/Bonus/Bonus.js +5 -7
  342. package/lib/components/Bonus/Bonus.js.map +1 -1
  343. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  344. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  345. package/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  346. package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  347. package/lib/components/BusinessBlock/BusinessCard.js +2 -2
  348. package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  349. package/lib/components/ButtonBlock/ButtonBlock.js +2 -5
  350. package/lib/components/ButtonBlock/ButtonBlock.js.map +1 -1
  351. package/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  352. package/lib/components/Calculator/BonusCalculatorForm.js +2 -2
  353. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  354. package/lib/components/Calculator/Calculator.js +1 -1
  355. package/lib/components/Calculator/Calculator.js.map +1 -1
  356. package/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  357. package/lib/components/Calculator/CreditCalculatorForm.js +2 -2
  358. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  359. package/lib/components/Calculator/DepositCalculatorForm.js +2 -2
  360. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  361. package/lib/components/CardTransfer/CardTransfer.js +1 -1
  362. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  363. package/lib/components/Carousel/Carousel.js +5 -3
  364. package/lib/components/Carousel/Carousel.js.map +1 -1
  365. package/lib/components/Carousel/CarouselContent.d.ts +2 -0
  366. package/lib/components/CarouselCard/CarouselCard.js +2 -2
  367. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  368. package/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  369. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  370. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
  371. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  372. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
  373. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  374. package/lib/components/CarouselLinks/CarouselLinks.js +3 -3
  375. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  376. package/lib/components/CarouselProductCard/CarouselProductCard.js +8 -19
  377. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  378. package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  379. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  380. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  381. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  382. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
  383. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  384. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  385. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  386. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -4
  387. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  388. package/lib/components/Catalog/Catalog.js +1 -1
  389. package/lib/components/Catalog/Catalog.js.map +1 -1
  390. package/lib/components/Catalog/CatalogCard.js +2 -2
  391. package/lib/components/Catalog/CatalogCard.js.map +1 -1
  392. package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
  393. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  394. package/lib/components/ContactsBlock/ContactsBlock.js +3 -4
  395. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  396. package/lib/components/ContentPage/ContentPage.js +2 -2
  397. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  398. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  399. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  400. package/lib/components/Footer/Footer.js +2 -2
  401. package/lib/components/Footer/Footer.js.map +1 -1
  402. package/lib/components/Footer/MediaButton.d.ts +2 -2
  403. package/lib/components/Footer/MediaButton.js +12 -13
  404. package/lib/components/Footer/MediaButton.js.map +1 -1
  405. package/lib/components/Footer/SocialMedia.d.ts +1 -3
  406. package/lib/components/Footer/SocialMedia.js +1 -1
  407. package/lib/components/Footer/SocialMedia.js.map +1 -1
  408. package/lib/components/Footer/SocialMedia.mobile.d.ts +0 -2
  409. package/lib/components/Footer/SocialMedia.mobile.js +1 -1
  410. package/lib/components/Footer/SocialMedia.mobile.js.map +1 -1
  411. package/lib/components/Gallery/Gallery.js +1 -1
  412. package/lib/components/Gallery/Gallery.js.map +1 -1
  413. package/lib/components/Gallery/Gallery.mobile.js +6 -7
  414. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  415. package/lib/components/Gallery/GalleryCardInner.js +8 -11
  416. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  417. package/lib/components/Gallery/GalleryContainer.d.ts +1 -1
  418. package/lib/components/Gallery/GalleryContainer.js +5 -4
  419. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  420. package/lib/components/Gallery/GalleryInner.d.ts +1 -1
  421. package/lib/components/Gallery/GalleryInner.js +5 -5
  422. package/lib/components/Gallery/GalleryInner.js.map +1 -1
  423. package/lib/components/GracePeriod/GracePeriod.js +1 -1
  424. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  425. package/lib/components/Header/DropdownMenu.d.ts +0 -2
  426. package/lib/components/Header/DropdownMenu.js +4 -7
  427. package/lib/components/Header/DropdownMenu.js.map +1 -1
  428. package/lib/components/Header/Header.js +6 -6
  429. package/lib/components/Header/Header.js.map +1 -1
  430. package/lib/components/Header/Header.mobile.js +7 -2
  431. package/lib/components/Header/Header.mobile.js.map +1 -1
  432. package/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  433. package/lib/components/Header/HeaderSecondaryMenu.js +8 -19
  434. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  435. package/lib/components/Header/HeaderSubMenu.d.ts +0 -2
  436. package/lib/components/Header/HeaderSubMenu.js +2 -2
  437. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  438. package/lib/components/Header/HeaderSubMenuItem.d.ts +0 -2
  439. package/lib/components/Header/HeaderSubMenuItem.js +2 -2
  440. package/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  441. package/lib/components/Header/HeaderTop.js +1 -1
  442. package/lib/components/Header/HeaderTop.js.map +1 -1
  443. package/lib/components/Headline/Headline.fixture.d.ts +0 -2
  444. package/lib/components/Headline/Headline.js +4 -5
  445. package/lib/components/Headline/Headline.js.map +1 -1
  446. package/lib/components/Headline/HeadlineContent.d.ts +0 -2
  447. package/lib/components/HorizontalLayout/HorizontalLayout.js +3 -13
  448. package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  449. package/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  450. package/lib/components/HorizontalLayout/gapStyles.d.ts +2 -0
  451. package/lib/components/HorizontalLayout/gapStyles.js +10 -0
  452. package/lib/components/HorizontalLayout/gapStyles.js.map +1 -0
  453. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  454. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  455. package/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  456. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  457. package/lib/components/LinkDocs/LinkDocs.js +2 -1
  458. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  459. package/lib/components/LinkDocs/LinkDocs.mobile.js +3 -1
  460. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  461. package/lib/components/LinkDocs/LinkDocsList.js +1 -1
  462. package/lib/components/LinkDocs/LinkDocsList.js.map +1 -1
  463. package/lib/components/LinkDocs/LinkDocsListItem.js +1 -1
  464. package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  465. package/lib/components/LinkList/LinkList.js +1 -1
  466. package/lib/components/LinkList/LinkList.js.map +1 -1
  467. package/lib/components/MiniGallery/MiniGallery.js +1 -1
  468. package/lib/components/MiniGallery/MiniGallery.js.map +1 -1
  469. package/lib/components/MobileAppTile/MobileAppTile.js +7 -11
  470. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  471. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  472. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  473. package/lib/components/ParagraphBlock/ParagraphBlock.js +1 -4
  474. package/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  475. package/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  476. package/lib/components/PictureText/PictureText.js +1 -2
  477. package/lib/components/PictureText/PictureText.js.map +1 -1
  478. package/lib/components/Placeholder/Placeholder.js +2 -1
  479. package/lib/components/Placeholder/Placeholder.js.map +1 -1
  480. package/lib/components/ProductBlock/ProductBlock.js +3 -7
  481. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  482. package/lib/components/ProductBlock/ProductBlock.mobile.js +3 -3
  483. package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  484. package/lib/components/ProductBlock/ProductBlockInner.js +4 -3
  485. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  486. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +5 -9
  487. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  488. package/lib/components/ProductGallery/ProductGallery.js +7 -20
  489. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  490. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  491. package/lib/components/ProductTile/ProductTile.js +5 -6
  492. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  493. package/lib/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  494. package/lib/components/ProductTile/renderAdditionalDescription.js +2 -6
  495. package/lib/components/ProductTile/renderAdditionalDescription.js.map +1 -1
  496. package/lib/components/ProductTile/renderBenefit.d.ts +1 -2
  497. package/lib/components/ProductTile/renderBenefit.js +2 -6
  498. package/lib/components/ProductTile/renderBenefit.js.map +1 -1
  499. package/lib/components/PromoTile/PromoTile.js +3 -3
  500. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  501. package/lib/components/Recommendation/Recommendation.js +2 -4
  502. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  503. package/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
  504. package/lib/components/Recommendation/RecommendationCard.js +4 -3
  505. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  506. package/lib/components/RollupItem/RollupItem.js +7 -15
  507. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  508. package/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  509. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  510. package/lib/components/StepsBlock/StepsBlock.js +3 -6
  511. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  512. package/lib/components/StepsBlock/StepsBlock.mobile.js +4 -4
  513. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  514. package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  515. package/lib/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
  516. package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  517. package/lib/components/StepsBlock/renderStepContent.js +3 -8
  518. package/lib/components/StepsBlock/renderStepContent.js.map +1 -1
  519. package/lib/components/Tabs/renderGroupTab.js +1 -1
  520. package/lib/components/Tabs/renderGroupTab.js.map +1 -1
  521. package/lib/components/Tabs/tabItemClasses.d.ts +2 -2
  522. package/lib/components/Tabs/tabItemClasses.js +2 -2
  523. package/lib/components/Tabs/tabItemClasses.js.map +1 -1
  524. package/lib/components/TariffsTable/EmbeddableCellData.d.ts +1 -1
  525. package/lib/components/TariffsTable/EmbeddableCellData.js +6 -7
  526. package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  527. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +6 -7
  528. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  529. package/lib/components/TariffsTable/TariffsTable.js +1 -1
  530. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  531. package/lib/components/TextBlock/TextBlock.mobile.js +1 -2
  532. package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
  533. package/lib/components/Tile/Tile.d.ts +0 -1
  534. package/lib/components/Tile/Tile.js +5 -10
  535. package/lib/components/Tile/Tile.js.map +1 -1
  536. package/lib/components/VerticalLayout/VerticalLayout.js +4 -15
  537. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  538. package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  539. package/lib/components/Video/Video.js +2 -4
  540. package/lib/components/Video/Video.js.map +1 -1
  541. package/lib/components/Video/getPaddings.d.ts +1 -1
  542. package/lib/components/Video/getPaddings.js.map +1 -1
  543. package/lib/icons/IconName.d.ts +6 -4
  544. package/lib/icons/IconName.js +2 -0
  545. package/lib/icons/IconName.js.map +1 -1
  546. package/lib/model/BlockVersion.d.ts +6 -20
  547. package/lib/model/BlockVersion.js +1 -32
  548. package/lib/model/BlockVersion.js.map +1 -1
  549. package/lib/model/ButtonVersion.d.ts +3 -3
  550. package/lib/model/JSXBlock.d.ts +2 -0
  551. package/lib/ui-kit/BenefitItem/BenefitItem.js +1 -9
  552. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  553. package/lib/ui-kit/BlockWrapper.d.ts +2 -0
  554. package/lib/ui-kit/BlockWrapper.js +10 -2
  555. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  556. package/lib/ui-kit/Button/ArrowButton.js +2 -2
  557. package/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  558. package/lib/ui-kit/Button/ButtonInner.js +1 -1
  559. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  560. package/lib/ui-kit/Button/buttonClassNameConstants.js +9 -3
  561. package/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  562. package/lib/ui-kit/Button/renderButtonsSection.d.ts +8 -0
  563. package/lib/ui-kit/Button/renderButtonsSection.js +13 -0
  564. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -0
  565. package/lib/ui-kit/Checkbox/Checkbox.js +1 -1
  566. package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  567. package/lib/ui-kit/Foldable/Foldable.d.ts +1 -0
  568. package/lib/ui-kit/Foldable/Foldable.js +2 -2
  569. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  570. package/lib/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  571. package/lib/ui-kit/HeaderItem/HeaderItem.js +5 -17
  572. package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  573. package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js +8 -17
  574. package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
  575. package/lib/ui-kit/Heading/Heading.js +2 -5
  576. package/lib/ui-kit/Heading/Heading.js.map +1 -1
  577. package/lib/ui-kit/Icon/Icon.js +3 -8
  578. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  579. package/lib/ui-kit/LinkButton/LinkButton.js +2 -2
  580. package/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
  581. package/lib/ui-kit/List/List.fixture.d.ts +0 -2
  582. package/lib/ui-kit/List/List.js +1 -12
  583. package/lib/ui-kit/List/List.js.map +1 -1
  584. package/lib/ui-kit/List/ListItem.d.ts +1 -2
  585. package/lib/ui-kit/List/ListItem.js +1 -8
  586. package/lib/ui-kit/List/ListItem.js.map +1 -1
  587. package/lib/ui-kit/List/ListProps.d.ts +0 -6
  588. package/lib/ui-kit/Location/Location.js +1 -1
  589. package/lib/ui-kit/Location/Location.js.map +1 -1
  590. package/lib/ui-kit/Paragraph/Paragraph.js +1 -1
  591. package/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
  592. package/lib/ui-kit/Text/Text.js +1 -1
  593. package/lib/ui-kit/Text/Text.js.map +1 -1
  594. package/lib/ui-kit/Text/TextProps.d.ts +2 -1
  595. package/lib/ui-kit/TopItem/TopItem.d.ts +0 -2
  596. package/lib/ui-kit/TopItem/TopItem.js +9 -18
  597. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  598. package/lib/utils/getColSpan.d.ts +1 -1
  599. package/lib/utils/getColSpan.js +1 -1
  600. package/lib/utils/getColSpan.js.map +1 -1
  601. package/lib/utils/style.d.ts +3 -1
  602. package/lib/utils/style.js +4 -1
  603. package/lib/utils/style.js.map +1 -1
  604. package/mobile/bundle/bundle.umd.js +147 -161
  605. package/mobile/bundle/bundle.umd.min.js +1 -1
  606. package/mobile/bundle/components/BaseTile/BaseTile.d.ts +1 -4
  607. package/mobile/bundle/components/BaseTile/BaseTileProps.d.ts +3 -4
  608. package/mobile/bundle/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  609. package/mobile/bundle/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  610. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +2 -0
  611. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  612. package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  613. package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  614. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  615. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  616. package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  617. package/mobile/bundle/components/Footer/MediaButton.d.ts +2 -2
  618. package/mobile/bundle/components/Footer/SocialMedia.d.ts +0 -2
  619. package/mobile/bundle/components/Gallery/GalleryContainer.d.ts +1 -1
  620. package/mobile/bundle/components/Gallery/GalleryInner.d.ts +1 -1
  621. package/mobile/bundle/components/Header/DropdownMenu.d.ts +0 -2
  622. package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  623. package/mobile/bundle/components/Header/HeaderSubMenu.d.ts +0 -2
  624. package/mobile/bundle/components/Header/HeaderSubMenuItem.d.ts +0 -2
  625. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +0 -2
  626. package/mobile/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  627. package/mobile/bundle/components/HorizontalLayout/gapStyles.d.ts +2 -0
  628. package/mobile/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  629. package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  630. package/mobile/bundle/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  631. package/mobile/bundle/components/ProductTile/renderBenefit.d.ts +1 -2
  632. package/mobile/bundle/components/Recommendation/RecommendationCard.d.ts +2 -4
  633. package/mobile/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  634. package/mobile/bundle/components/Tabs/tabItemClasses.d.ts +2 -2
  635. package/mobile/bundle/components/Tile/Tile.d.ts +0 -1
  636. package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  637. package/mobile/bundle/components/Video/getPaddings.d.ts +1 -1
  638. package/mobile/bundle/icons/IconName.d.ts +6 -4
  639. package/mobile/bundle/model/BlockVersion.d.ts +6 -20
  640. package/mobile/bundle/model/ButtonVersion.d.ts +3 -3
  641. package/mobile/bundle/model/JSXBlock.d.ts +2 -0
  642. package/mobile/bundle/ui-kit/BlockWrapper.d.ts +2 -0
  643. package/mobile/bundle/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  644. package/mobile/bundle/ui-kit/Foldable/Foldable.d.ts +1 -0
  645. package/mobile/bundle/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  646. package/mobile/bundle/ui-kit/List/ListItem.d.ts +1 -2
  647. package/mobile/bundle/ui-kit/List/ListProps.d.ts +0 -6
  648. package/mobile/bundle/ui-kit/Text/TextProps.d.ts +2 -1
  649. package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +0 -2
  650. package/mobile/bundle/utils/getColSpan.d.ts +1 -1
  651. package/mobile/bundle/utils/style.d.ts +3 -1
  652. package/mobile/dist/BlockRenderer/renderBlock.js +4 -3
  653. package/mobile/dist/BlockRenderer/renderBlock.js.map +1 -1
  654. package/mobile/dist/components/Accordion/Accordion.js +1 -1
  655. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  656. package/mobile/dist/components/BaseTile/BaseTile.d.ts +1 -4
  657. package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
  658. package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +3 -4
  659. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +5 -19
  660. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  661. package/mobile/dist/components/Bonus/Bonus.js +5 -7
  662. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  663. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  664. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  665. package/mobile/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  666. package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  667. package/mobile/dist/components/BusinessBlock/BusinessCard.js +2 -2
  668. package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  669. package/mobile/dist/components/ButtonBlock/ButtonBlock.js +2 -5
  670. package/mobile/dist/components/ButtonBlock/ButtonBlock.js.map +1 -1
  671. package/mobile/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  672. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  673. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  674. package/mobile/dist/components/Calculator/Calculator.js +1 -1
  675. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  676. package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  677. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +2 -2
  678. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  679. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +2 -2
  680. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  681. package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
  682. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  683. package/mobile/dist/components/Carousel/Carousel.js +5 -3
  684. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  685. package/mobile/dist/components/Carousel/CarouselContent.d.ts +2 -0
  686. package/mobile/dist/components/CarouselCard/CarouselCard.js +2 -2
  687. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  688. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  689. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  690. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
  691. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  692. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
  693. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  694. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +3 -3
  695. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  696. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +8 -19
  697. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  698. package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  699. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  700. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  701. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  702. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
  703. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  704. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  705. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  706. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -4
  707. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  708. package/mobile/dist/components/Catalog/Catalog.js +1 -1
  709. package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
  710. package/mobile/dist/components/Catalog/CatalogCard.js +2 -2
  711. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
  712. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +3 -4
  713. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  714. package/mobile/dist/components/ContentPage/ContentPage.js +2 -2
  715. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  716. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  717. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  718. package/mobile/dist/components/Footer/MediaButton.d.ts +2 -2
  719. package/mobile/dist/components/Footer/MediaButton.js +12 -13
  720. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  721. package/mobile/dist/components/Footer/SocialMedia.d.ts +0 -2
  722. package/mobile/dist/components/Footer/SocialMedia.js +1 -1
  723. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  724. package/mobile/dist/components/Gallery/Gallery.js +6 -7
  725. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  726. package/mobile/dist/components/Gallery/GalleryCardInner.js +8 -11
  727. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  728. package/mobile/dist/components/Gallery/GalleryContainer.d.ts +1 -1
  729. package/mobile/dist/components/Gallery/GalleryContainer.js +5 -4
  730. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  731. package/mobile/dist/components/Gallery/GalleryInner.d.ts +1 -1
  732. package/mobile/dist/components/Gallery/GalleryInner.js +5 -5
  733. package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
  734. package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
  735. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  736. package/mobile/dist/components/Header/DropdownMenu.d.ts +0 -2
  737. package/mobile/dist/components/Header/DropdownMenu.js +4 -7
  738. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  739. package/mobile/dist/components/Header/Header.js +7 -2
  740. package/mobile/dist/components/Header/Header.js.map +1 -1
  741. package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  742. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +7 -18
  743. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  744. package/mobile/dist/components/Header/HeaderSubMenu.d.ts +0 -2
  745. package/mobile/dist/components/Header/HeaderSubMenu.js +2 -2
  746. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  747. package/mobile/dist/components/Header/HeaderSubMenuItem.d.ts +0 -2
  748. package/mobile/dist/components/Header/HeaderSubMenuItem.js +2 -2
  749. package/mobile/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  750. package/mobile/dist/components/Header/HeaderTop.js +1 -1
  751. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  752. package/mobile/dist/components/Headline/Headline.js +6 -5
  753. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  754. package/mobile/dist/components/Headline/HeadlineContent.d.ts +0 -2
  755. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +3 -13
  756. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  757. package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  758. package/mobile/dist/components/HorizontalLayout/gapStyles.d.ts +2 -0
  759. package/mobile/dist/components/HorizontalLayout/gapStyles.js +12 -0
  760. package/mobile/dist/components/HorizontalLayout/gapStyles.js.map +1 -0
  761. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  762. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  763. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  764. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  765. package/mobile/dist/components/LinkDocs/LinkDocs.js +3 -1
  766. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  767. package/mobile/dist/components/LinkDocs/LinkDocsList.js +1 -1
  768. package/mobile/dist/components/LinkDocs/LinkDocsList.js.map +1 -1
  769. package/mobile/dist/components/LinkList/LinkList.js +1 -1
  770. package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
  771. package/mobile/dist/components/MiniGallery/MiniGallery.js +1 -1
  772. package/mobile/dist/components/MiniGallery/MiniGallery.js.map +1 -1
  773. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  774. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  775. package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js +1 -4
  776. package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  777. package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  778. package/mobile/dist/components/PictureText/PictureText.js +1 -2
  779. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  780. package/mobile/dist/components/Placeholder/Placeholder.js +2 -1
  781. package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
  782. package/mobile/dist/components/ProductBlock/ProductBlock.js +3 -3
  783. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  784. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +5 -9
  785. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  786. package/mobile/dist/components/ProductGallery/ProductGallery.js +7 -20
  787. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  788. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  789. package/mobile/dist/components/ProductTile/ProductTile.js +5 -6
  790. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  791. package/mobile/dist/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  792. package/mobile/dist/components/ProductTile/renderAdditionalDescription.js +2 -6
  793. package/mobile/dist/components/ProductTile/renderAdditionalDescription.js.map +1 -1
  794. package/mobile/dist/components/ProductTile/renderBenefit.d.ts +1 -2
  795. package/mobile/dist/components/ProductTile/renderBenefit.js +2 -6
  796. package/mobile/dist/components/ProductTile/renderBenefit.js.map +1 -1
  797. package/mobile/dist/components/PromoTile/PromoTile.js +3 -3
  798. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  799. package/mobile/dist/components/Recommendation/Recommendation.js +2 -4
  800. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  801. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
  802. package/mobile/dist/components/Recommendation/RecommendationCard.js +4 -3
  803. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  804. package/mobile/dist/components/RollupItem/RollupItem.js +7 -15
  805. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  806. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  807. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  808. package/mobile/dist/components/StepsBlock/StepsBlock.js +4 -4
  809. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  810. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  811. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
  812. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  813. package/mobile/dist/components/StepsBlock/renderStepContent.js +2 -7
  814. package/mobile/dist/components/StepsBlock/renderStepContent.js.map +1 -1
  815. package/mobile/dist/components/Tabs/renderGroupTab.js +1 -1
  816. package/mobile/dist/components/Tabs/renderGroupTab.js.map +1 -1
  817. package/mobile/dist/components/Tabs/tabItemClasses.d.ts +2 -2
  818. package/mobile/dist/components/Tabs/tabItemClasses.js +2 -2
  819. package/mobile/dist/components/Tabs/tabItemClasses.js.map +1 -1
  820. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +6 -7
  821. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  822. package/mobile/dist/components/TextBlock/TextBlock.js +1 -2
  823. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  824. package/mobile/dist/components/Tile/Tile.d.ts +0 -1
  825. package/mobile/dist/components/Tile/Tile.js +5 -10
  826. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  827. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +4 -15
  828. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  829. package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  830. package/mobile/dist/components/Video/Video.js +2 -4
  831. package/mobile/dist/components/Video/Video.js.map +1 -1
  832. package/mobile/dist/components/Video/getPaddings.d.ts +1 -1
  833. package/mobile/dist/components/Video/getPaddings.js.map +1 -1
  834. package/mobile/dist/icons/IconName.d.ts +6 -4
  835. package/mobile/dist/icons/IconName.js +2 -0
  836. package/mobile/dist/icons/IconName.js.map +1 -1
  837. package/mobile/dist/model/BlockVersion.d.ts +6 -20
  838. package/mobile/dist/model/BlockVersion.js +0 -33
  839. package/mobile/dist/model/BlockVersion.js.map +1 -1
  840. package/mobile/dist/model/ButtonVersion.d.ts +3 -3
  841. package/mobile/dist/model/JSXBlock.d.ts +2 -0
  842. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +1 -9
  843. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  844. package/mobile/dist/ui-kit/BlockWrapper.d.ts +2 -0
  845. package/mobile/dist/ui-kit/BlockWrapper.js +11 -3
  846. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  847. package/mobile/dist/ui-kit/Button/ArrowButton.js +2 -2
  848. package/mobile/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  849. package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
  850. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  851. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js +9 -3
  852. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  853. package/mobile/dist/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  854. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +16 -0
  855. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -0
  856. package/mobile/dist/ui-kit/Checkbox/Checkbox.js +1 -1
  857. package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  858. package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +1 -0
  859. package/mobile/dist/ui-kit/Foldable/Foldable.js +2 -2
  860. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  861. package/mobile/dist/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  862. package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js +8 -17
  863. package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  864. package/mobile/dist/ui-kit/Icon/Icon.js +3 -8
  865. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  866. package/mobile/dist/ui-kit/LinkButton/LinkButton.js +2 -2
  867. package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
  868. package/mobile/dist/ui-kit/List/List.js +1 -12
  869. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  870. package/mobile/dist/ui-kit/List/ListItem.d.ts +1 -2
  871. package/mobile/dist/ui-kit/List/ListItem.js +1 -8
  872. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  873. package/mobile/dist/ui-kit/List/ListProps.d.ts +0 -6
  874. package/mobile/dist/ui-kit/Location/Location.js +1 -1
  875. package/mobile/dist/ui-kit/Location/Location.js.map +1 -1
  876. package/mobile/dist/ui-kit/Paragraph/Paragraph.js +1 -1
  877. package/mobile/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
  878. package/mobile/dist/ui-kit/Text/Text.js +1 -1
  879. package/mobile/dist/ui-kit/Text/Text.js.map +1 -1
  880. package/mobile/dist/ui-kit/Text/TextProps.d.ts +2 -1
  881. package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +0 -2
  882. package/mobile/dist/ui-kit/TopItem/TopItem.js +9 -18
  883. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  884. package/mobile/dist/utils/getColSpan.d.ts +1 -1
  885. package/mobile/dist/utils/getColSpan.js +1 -1
  886. package/mobile/dist/utils/getColSpan.js.map +1 -1
  887. package/mobile/dist/utils/style.d.ts +3 -1
  888. package/mobile/dist/utils/style.js +4 -1
  889. package/mobile/dist/utils/style.js.map +1 -1
  890. package/mobile/lib/BlockRenderer/renderBlock.js +4 -3
  891. package/mobile/lib/BlockRenderer/renderBlock.js.map +1 -1
  892. package/mobile/lib/components/Accordion/Accordion.js +1 -1
  893. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  894. package/mobile/lib/components/BaseTile/BaseTile.d.ts +1 -4
  895. package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
  896. package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +3 -4
  897. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +5 -19
  898. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  899. package/mobile/lib/components/Bonus/Bonus.js +5 -7
  900. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  901. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  902. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  903. package/mobile/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  904. package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  905. package/mobile/lib/components/BusinessBlock/BusinessCard.js +2 -2
  906. package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  907. package/mobile/lib/components/ButtonBlock/ButtonBlock.js +2 -5
  908. package/mobile/lib/components/ButtonBlock/ButtonBlock.js.map +1 -1
  909. package/mobile/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  910. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +2 -2
  911. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  912. package/mobile/lib/components/Calculator/Calculator.js +1 -1
  913. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  914. package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  915. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +2 -2
  916. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  917. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +2 -2
  918. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  919. package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
  920. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  921. package/mobile/lib/components/Carousel/Carousel.js +5 -3
  922. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  923. package/mobile/lib/components/Carousel/CarouselContent.d.ts +2 -0
  924. package/mobile/lib/components/CarouselCard/CarouselCard.js +2 -2
  925. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  926. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  927. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  928. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
  929. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  930. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
  931. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  932. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +3 -3
  933. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  934. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +8 -19
  935. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  936. package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  937. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  938. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  939. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  940. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
  941. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  942. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  943. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  944. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -4
  945. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  946. package/mobile/lib/components/Catalog/Catalog.js +1 -1
  947. package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
  948. package/mobile/lib/components/Catalog/CatalogCard.js +2 -2
  949. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
  950. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +3 -4
  951. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  952. package/mobile/lib/components/ContentPage/ContentPage.js +2 -2
  953. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  954. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  955. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  956. package/mobile/lib/components/Footer/MediaButton.d.ts +2 -2
  957. package/mobile/lib/components/Footer/MediaButton.js +12 -13
  958. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  959. package/mobile/lib/components/Footer/SocialMedia.d.ts +0 -2
  960. package/mobile/lib/components/Footer/SocialMedia.js +1 -1
  961. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  962. package/mobile/lib/components/Gallery/Gallery.js +6 -7
  963. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  964. package/mobile/lib/components/Gallery/GalleryCardInner.js +8 -11
  965. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  966. package/mobile/lib/components/Gallery/GalleryContainer.d.ts +1 -1
  967. package/mobile/lib/components/Gallery/GalleryContainer.js +5 -4
  968. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  969. package/mobile/lib/components/Gallery/GalleryInner.d.ts +1 -1
  970. package/mobile/lib/components/Gallery/GalleryInner.js +5 -5
  971. package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
  972. package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
  973. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  974. package/mobile/lib/components/Header/DropdownMenu.d.ts +0 -2
  975. package/mobile/lib/components/Header/DropdownMenu.js +4 -7
  976. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  977. package/mobile/lib/components/Header/Header.js +7 -2
  978. package/mobile/lib/components/Header/Header.js.map +1 -1
  979. package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  980. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +8 -19
  981. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  982. package/mobile/lib/components/Header/HeaderSubMenu.d.ts +0 -2
  983. package/mobile/lib/components/Header/HeaderSubMenu.js +2 -2
  984. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  985. package/mobile/lib/components/Header/HeaderSubMenuItem.d.ts +0 -2
  986. package/mobile/lib/components/Header/HeaderSubMenuItem.js +2 -2
  987. package/mobile/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  988. package/mobile/lib/components/Header/HeaderTop.js +1 -1
  989. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  990. package/mobile/lib/components/Headline/Headline.js +6 -5
  991. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  992. package/mobile/lib/components/Headline/HeadlineContent.d.ts +0 -2
  993. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +3 -13
  994. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  995. package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  996. package/mobile/lib/components/HorizontalLayout/gapStyles.d.ts +2 -0
  997. package/mobile/lib/components/HorizontalLayout/gapStyles.js +10 -0
  998. package/mobile/lib/components/HorizontalLayout/gapStyles.js.map +1 -0
  999. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  1000. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  1001. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  1002. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  1003. package/mobile/lib/components/LinkDocs/LinkDocs.js +3 -1
  1004. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  1005. package/mobile/lib/components/LinkDocs/LinkDocsList.js +1 -1
  1006. package/mobile/lib/components/LinkDocs/LinkDocsList.js.map +1 -1
  1007. package/mobile/lib/components/LinkList/LinkList.js +1 -1
  1008. package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
  1009. package/mobile/lib/components/MiniGallery/MiniGallery.js +1 -1
  1010. package/mobile/lib/components/MiniGallery/MiniGallery.js.map +1 -1
  1011. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  1012. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  1013. package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js +1 -4
  1014. package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  1015. package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  1016. package/mobile/lib/components/PictureText/PictureText.js +1 -2
  1017. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  1018. package/mobile/lib/components/Placeholder/Placeholder.js +2 -1
  1019. package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
  1020. package/mobile/lib/components/ProductBlock/ProductBlock.js +3 -3
  1021. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  1022. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +5 -9
  1023. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  1024. package/mobile/lib/components/ProductGallery/ProductGallery.js +7 -20
  1025. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  1026. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  1027. package/mobile/lib/components/ProductTile/ProductTile.js +5 -6
  1028. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  1029. package/mobile/lib/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  1030. package/mobile/lib/components/ProductTile/renderAdditionalDescription.js +2 -6
  1031. package/mobile/lib/components/ProductTile/renderAdditionalDescription.js.map +1 -1
  1032. package/mobile/lib/components/ProductTile/renderBenefit.d.ts +1 -2
  1033. package/mobile/lib/components/ProductTile/renderBenefit.js +2 -6
  1034. package/mobile/lib/components/ProductTile/renderBenefit.js.map +1 -1
  1035. package/mobile/lib/components/PromoTile/PromoTile.js +3 -3
  1036. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  1037. package/mobile/lib/components/Recommendation/Recommendation.js +2 -4
  1038. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  1039. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
  1040. package/mobile/lib/components/Recommendation/RecommendationCard.js +4 -3
  1041. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  1042. package/mobile/lib/components/RollupItem/RollupItem.js +7 -15
  1043. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  1044. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  1045. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1046. package/mobile/lib/components/StepsBlock/StepsBlock.js +4 -4
  1047. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  1048. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  1049. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
  1050. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  1051. package/mobile/lib/components/StepsBlock/renderStepContent.js +3 -8
  1052. package/mobile/lib/components/StepsBlock/renderStepContent.js.map +1 -1
  1053. package/mobile/lib/components/Tabs/renderGroupTab.js +1 -1
  1054. package/mobile/lib/components/Tabs/renderGroupTab.js.map +1 -1
  1055. package/mobile/lib/components/Tabs/tabItemClasses.d.ts +2 -2
  1056. package/mobile/lib/components/Tabs/tabItemClasses.js +2 -2
  1057. package/mobile/lib/components/Tabs/tabItemClasses.js.map +1 -1
  1058. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +6 -7
  1059. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  1060. package/mobile/lib/components/TextBlock/TextBlock.js +1 -2
  1061. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  1062. package/mobile/lib/components/Tile/Tile.d.ts +0 -1
  1063. package/mobile/lib/components/Tile/Tile.js +5 -10
  1064. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  1065. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +4 -15
  1066. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  1067. package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  1068. package/mobile/lib/components/Video/Video.js +2 -4
  1069. package/mobile/lib/components/Video/Video.js.map +1 -1
  1070. package/mobile/lib/components/Video/getPaddings.d.ts +1 -1
  1071. package/mobile/lib/components/Video/getPaddings.js.map +1 -1
  1072. package/mobile/lib/icons/IconName.d.ts +6 -4
  1073. package/mobile/lib/icons/IconName.js +2 -0
  1074. package/mobile/lib/icons/IconName.js.map +1 -1
  1075. package/mobile/lib/model/BlockVersion.d.ts +6 -20
  1076. package/mobile/lib/model/BlockVersion.js +1 -32
  1077. package/mobile/lib/model/BlockVersion.js.map +1 -1
  1078. package/mobile/lib/model/ButtonVersion.d.ts +3 -3
  1079. package/mobile/lib/model/JSXBlock.d.ts +2 -0
  1080. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +1 -9
  1081. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  1082. package/mobile/lib/ui-kit/BlockWrapper.d.ts +2 -0
  1083. package/mobile/lib/ui-kit/BlockWrapper.js +10 -2
  1084. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  1085. package/mobile/lib/ui-kit/Button/ArrowButton.js +2 -2
  1086. package/mobile/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  1087. package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
  1088. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  1089. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js +9 -3
  1090. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  1091. package/mobile/lib/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  1092. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +13 -0
  1093. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -0
  1094. package/mobile/lib/ui-kit/Checkbox/Checkbox.js +1 -1
  1095. package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  1096. package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +1 -0
  1097. package/mobile/lib/ui-kit/Foldable/Foldable.js +2 -2
  1098. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  1099. package/mobile/lib/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  1100. package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js +8 -17
  1101. package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  1102. package/mobile/lib/ui-kit/Icon/Icon.js +3 -8
  1103. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  1104. package/mobile/lib/ui-kit/LinkButton/LinkButton.js +2 -2
  1105. package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
  1106. package/mobile/lib/ui-kit/List/List.js +1 -12
  1107. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  1108. package/mobile/lib/ui-kit/List/ListItem.d.ts +1 -2
  1109. package/mobile/lib/ui-kit/List/ListItem.js +1 -8
  1110. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  1111. package/mobile/lib/ui-kit/List/ListProps.d.ts +0 -6
  1112. package/mobile/lib/ui-kit/Location/Location.js +1 -1
  1113. package/mobile/lib/ui-kit/Location/Location.js.map +1 -1
  1114. package/mobile/lib/ui-kit/Paragraph/Paragraph.js +1 -1
  1115. package/mobile/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
  1116. package/mobile/lib/ui-kit/Text/Text.js +1 -1
  1117. package/mobile/lib/ui-kit/Text/Text.js.map +1 -1
  1118. package/mobile/lib/ui-kit/Text/TextProps.d.ts +2 -1
  1119. package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +0 -2
  1120. package/mobile/lib/ui-kit/TopItem/TopItem.js +9 -18
  1121. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  1122. package/mobile/lib/utils/getColSpan.d.ts +1 -1
  1123. package/mobile/lib/utils/getColSpan.js +1 -1
  1124. package/mobile/lib/utils/getColSpan.js.map +1 -1
  1125. package/mobile/lib/utils/style.d.ts +3 -1
  1126. package/mobile/lib/utils/style.js +4 -1
  1127. package/mobile/lib/utils/style.js.map +1 -1
  1128. package/mobile/src/BlockRenderer/renderBlock.tsx +8 -3
  1129. package/mobile/src/components/Accordion/Accordion.tsx +1 -1
  1130. package/mobile/src/components/BaseTile/BaseTile.tsx +1 -5
  1131. package/mobile/src/components/BaseTile/BaseTileProps.ts +3 -4
  1132. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +18 -40
  1133. package/mobile/src/components/Bonus/Bonus.tsx +19 -27
  1134. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -7
  1135. package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
  1136. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +2 -2
  1137. package/mobile/src/components/ButtonBlock/ButtonBlock.tsx +4 -10
  1138. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +3 -3
  1139. package/mobile/src/components/Calculator/Calculator.tsx +1 -4
  1140. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +3 -3
  1141. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +2 -2
  1142. package/mobile/src/components/CardTransfer/CardTransfer.tsx +1 -4
  1143. package/mobile/src/components/Carousel/Carousel.example.json +2 -1
  1144. package/mobile/src/components/Carousel/Carousel.tsx +14 -3
  1145. package/mobile/src/components/Carousel/CarouselContent.ts +2 -0
  1146. package/mobile/src/components/CarouselCard/CarouselCard.tsx +6 -4
  1147. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +1 -1
  1148. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +10 -12
  1149. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +8 -15
  1150. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +14 -5
  1151. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +26 -31
  1152. package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +3 -3
  1153. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +2 -6
  1154. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +14 -25
  1155. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +0 -2
  1156. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +13 -12
  1157. package/mobile/src/components/Catalog/Catalog.tsx +1 -4
  1158. package/mobile/src/components/Catalog/CatalogCard.tsx +2 -2
  1159. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +9 -9
  1160. package/mobile/src/components/ContentPage/ContentPage.tsx +2 -5
  1161. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -4
  1162. package/mobile/src/components/Footer/MediaButton.tsx +27 -25
  1163. package/mobile/src/components/Footer/SocialMedia.tsx +2 -4
  1164. package/mobile/src/components/Gallery/Gallery.tsx +23 -24
  1165. package/mobile/src/components/Gallery/GalleryCardInner.tsx +21 -26
  1166. package/mobile/src/components/Gallery/GalleryContainer.tsx +22 -10
  1167. package/mobile/src/components/Gallery/GalleryInner.tsx +12 -7
  1168. package/mobile/src/components/GracePeriod/GracePeriod.tsx +2 -8
  1169. package/mobile/src/components/Header/DropdownMenu.tsx +41 -47
  1170. package/mobile/src/components/Header/Header.tsx +57 -48
  1171. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +16 -35
  1172. package/mobile/src/components/Header/HeaderSubMenu.tsx +1 -5
  1173. package/mobile/src/components/Header/HeaderSubMenuItem.tsx +2 -4
  1174. package/mobile/src/components/Header/HeaderTop.tsx +2 -5
  1175. package/mobile/src/components/Headline/Headline.tsx +28 -16
  1176. package/mobile/src/components/Headline/HeadlineContent.ts +0 -2
  1177. package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +11 -28
  1178. package/mobile/src/components/HorizontalLayout/HorizontalLayoutContent.ts +0 -3
  1179. package/mobile/src/components/HorizontalLayout/gapStyles.ts +11 -0
  1180. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  1181. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
  1182. package/mobile/src/components/LinkDocs/LinkDocs.tsx +8 -5
  1183. package/mobile/src/components/LinkDocs/LinkDocsList.tsx +1 -1
  1184. package/mobile/src/components/LinkList/LinkList.tsx +1 -1
  1185. package/mobile/src/components/MiniGallery/MiniGallery.tsx +1 -1
  1186. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
  1187. package/mobile/src/components/ParagraphBlock/ParagraphBlock.tsx +7 -9
  1188. package/mobile/src/components/ParagraphBlock/ParagraphBlockContent.ts +5 -2
  1189. package/mobile/src/components/PictureText/PictureText.tsx +3 -14
  1190. package/mobile/src/components/Placeholder/Placeholder.tsx +6 -3
  1191. package/mobile/src/components/ProductBlock/ProductBlock.tsx +4 -4
  1192. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +30 -41
  1193. package/mobile/src/components/ProductGallery/ProductGallery.tsx +10 -31
  1194. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +1 -0
  1195. package/mobile/src/components/ProductTile/ProductTile.tsx +14 -17
  1196. package/mobile/src/components/ProductTile/renderAdditionalDescription.tsx +2 -13
  1197. package/mobile/src/components/ProductTile/renderBenefit.tsx +6 -9
  1198. package/mobile/src/components/PromoTile/PromoTile.tsx +12 -13
  1199. package/mobile/src/components/Recommendation/Recommendation.tsx +3 -4
  1200. package/mobile/src/components/Recommendation/RecommendationCard.tsx +12 -14
  1201. package/mobile/src/components/RollupItem/RollupItem.tsx +36 -41
  1202. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  1203. package/mobile/src/components/StepsBlock/StepsBlock.tsx +10 -9
  1204. package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +23 -6
  1205. package/mobile/src/components/StepsBlock/renderStepContent.tsx +9 -8
  1206. package/mobile/src/components/Tabs/renderGroupTab.tsx +2 -1
  1207. package/mobile/src/components/Tabs/tabItemClasses.ts +2 -2
  1208. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +6 -13
  1209. package/mobile/src/components/TextBlock/TextBlock.tsx +1 -7
  1210. package/mobile/src/components/Tile/Tile.tsx +22 -42
  1211. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +8 -12
  1212. package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -8
  1213. package/mobile/src/components/Video/Video.tsx +17 -20
  1214. package/mobile/src/components/Video/getPaddings.ts +1 -1
  1215. package/mobile/src/icons/IconName.ts +4 -4
  1216. package/mobile/src/icons/YoutubeIcon.svg +3 -0
  1217. package/mobile/src/model/BlockVersion.ts +11 -53
  1218. package/mobile/src/model/ButtonVersion.ts +3 -3
  1219. package/mobile/src/model/JSXBlock.ts +2 -0
  1220. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +6 -12
  1221. package/mobile/src/ui-kit/BlockWrapper.tsx +17 -2
  1222. package/mobile/src/ui-kit/Button/ArrowButton.tsx +2 -2
  1223. package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1224. package/mobile/src/ui-kit/Button/buttonClassNameConstants.ts +9 -3
  1225. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +52 -0
  1226. package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
  1227. package/mobile/src/ui-kit/Foldable/Foldable.tsx +4 -2
  1228. package/mobile/src/ui-kit/Foldable/FoldablePartProps.ts +1 -1
  1229. package/mobile/src/ui-kit/HeaderItem/HeaderItem.tsx +20 -22
  1230. package/mobile/src/ui-kit/Icon/Icon.tsx +6 -9
  1231. package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +4 -4
  1232. package/mobile/src/ui-kit/List/List.tsx +23 -43
  1233. package/mobile/src/ui-kit/List/ListItem.tsx +13 -22
  1234. package/mobile/src/ui-kit/List/ListProps.ts +0 -7
  1235. package/mobile/src/ui-kit/Location/Location.tsx +1 -1
  1236. package/mobile/src/ui-kit/Paragraph/Paragraph.tsx +2 -2
  1237. package/mobile/src/ui-kit/Text/Text.tsx +2 -4
  1238. package/mobile/src/ui-kit/Text/TextProps.ts +5 -2
  1239. package/mobile/src/ui-kit/TopItem/TopItem.tsx +21 -27
  1240. package/mobile/src/utils/getColSpan.ts +2 -2
  1241. package/mobile/src/utils/style.ts +7 -2
  1242. package/package.json +1 -1
  1243. package/src/BlockRenderer/renderBlock.tsx +8 -3
  1244. package/src/components/Accordion/Accordion.mobile.tsx +1 -1
  1245. package/src/components/Accordion/Accordion.tsx +1 -4
  1246. package/src/components/AccordionItem/AccordionItem.tsx +1 -1
  1247. package/src/components/BaseTile/BaseTile.tsx +1 -5
  1248. package/src/components/BaseTile/BaseTileProps.ts +3 -4
  1249. package/src/components/BenefitsBlock/BenefitsBlock.tsx +18 -40
  1250. package/src/components/Bonus/Bonus.tsx +19 -27
  1251. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -7
  1252. package/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
  1253. package/src/components/BusinessBlock/BusinessCard.tsx +2 -2
  1254. package/src/components/ButtonBlock/ButtonBlock.tsx +4 -10
  1255. package/src/components/Calculator/BonusCalculatorForm.tsx +3 -3
  1256. package/src/components/Calculator/Calculator.tsx +1 -4
  1257. package/src/components/Calculator/CreditCalculatorForm.tsx +3 -3
  1258. package/src/components/Calculator/DepositCalculatorForm.tsx +2 -2
  1259. package/src/components/CardTransfer/CardTransfer.tsx +1 -4
  1260. package/src/components/Carousel/Carousel.example.json +2 -1
  1261. package/src/components/Carousel/Carousel.fixture.tsx +20 -28
  1262. package/src/components/Carousel/Carousel.tsx +14 -3
  1263. package/src/components/Carousel/CarouselContent.ts +2 -0
  1264. package/src/components/CarouselCard/CarouselCard.fixture.tsx +3 -3
  1265. package/src/components/CarouselCard/CarouselCard.tsx +6 -4
  1266. package/src/components/CarouselCard/CarouselCardContent.ts +1 -1
  1267. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +10 -12
  1268. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +8 -15
  1269. package/src/components/CarouselLinks/CarouselLinks.tsx +14 -5
  1270. package/src/components/CarouselProductCard/CarouselProductCard.tsx +26 -31
  1271. package/src/components/CarouselProductCard/CarouselProductCardContent.ts +3 -3
  1272. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +2 -6
  1273. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +14 -25
  1274. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +0 -2
  1275. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +13 -12
  1276. package/src/components/Catalog/Catalog.tsx +1 -4
  1277. package/src/components/Catalog/CatalogCard.tsx +2 -2
  1278. package/src/components/ComparisonTable/ComparisonTable.tsx +1 -4
  1279. package/src/components/ContactsBlock/ContactsBlock.tsx +9 -9
  1280. package/src/components/ContentPage/ContentPage.tsx +2 -5
  1281. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -4
  1282. package/src/components/Footer/Footer.tsx +2 -2
  1283. package/src/components/Footer/MediaButton.tsx +27 -25
  1284. package/src/components/Footer/SocialMedia.mobile.tsx +2 -4
  1285. package/src/components/Footer/SocialMedia.tsx +4 -12
  1286. package/src/components/Gallery/Gallery.fixture.tsx +1 -1
  1287. package/src/components/Gallery/Gallery.mobile.tsx +23 -24
  1288. package/src/components/Gallery/Gallery.tsx +3 -1
  1289. package/src/components/Gallery/GalleryCardInner.tsx +21 -26
  1290. package/src/components/Gallery/GalleryContainer.tsx +22 -10
  1291. package/src/components/Gallery/GalleryInner.tsx +12 -7
  1292. package/src/components/GracePeriod/GracePeriod.tsx +2 -8
  1293. package/src/components/Header/DropdownMenu.tsx +41 -47
  1294. package/src/components/Header/Header.mobile.tsx +57 -48
  1295. package/src/components/Header/Header.tsx +21 -17
  1296. package/src/components/Header/HeaderSecondaryMenu.tsx +16 -35
  1297. package/src/components/Header/HeaderSubMenu.tsx +1 -5
  1298. package/src/components/Header/HeaderSubMenuItem.tsx +2 -4
  1299. package/src/components/Header/HeaderTop.tsx +2 -5
  1300. package/src/components/Headline/Headline.fixture.tsx +40 -43
  1301. package/src/components/Headline/Headline.tsx +11 -11
  1302. package/src/components/Headline/HeadlineContent.ts +0 -2
  1303. package/src/components/HorizontalLayout/HorizontalLayout.fixture.tsx +0 -1
  1304. package/src/components/HorizontalLayout/HorizontalLayout.tsx +11 -28
  1305. package/src/components/HorizontalLayout/HorizontalLayoutContent.ts +0 -3
  1306. package/src/components/HorizontalLayout/gapStyles.ts +11 -0
  1307. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  1308. package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
  1309. package/src/components/LinkDocs/LinkDocs.mobile.tsx +8 -5
  1310. package/src/components/LinkDocs/LinkDocs.tsx +2 -2
  1311. package/src/components/LinkDocs/LinkDocsList.tsx +1 -1
  1312. package/src/components/LinkDocs/LinkDocsListItem.tsx +1 -1
  1313. package/src/components/LinkList/LinkList.tsx +1 -1
  1314. package/src/components/MiniGallery/MiniGallery.tsx +1 -1
  1315. package/src/components/MobileAppTile/MobileAppTile.tsx +13 -19
  1316. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
  1317. package/src/components/ParagraphBlock/ParagraphBlock.fixture.tsx +2 -7
  1318. package/src/components/ParagraphBlock/ParagraphBlock.tsx +7 -9
  1319. package/src/components/ParagraphBlock/ParagraphBlockContent.ts +5 -2
  1320. package/src/components/PictureText/PictureText.tsx +3 -14
  1321. package/src/components/Placeholder/Placeholder.tsx +6 -3
  1322. package/src/components/ProductBlock/ProductBlock.mobile.tsx +4 -4
  1323. package/src/components/ProductBlock/ProductBlock.tsx +5 -13
  1324. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +30 -41
  1325. package/src/components/ProductBlock/ProductBlockInner.tsx +6 -15
  1326. package/src/components/ProductGallery/ProductGallery.tsx +10 -31
  1327. package/src/components/ProductGallery/ProductGalleryContent.ts +1 -0
  1328. package/src/components/ProductTile/ProductTile.tsx +14 -17
  1329. package/src/components/ProductTile/renderAdditionalDescription.tsx +2 -13
  1330. package/src/components/ProductTile/renderBenefit.tsx +6 -9
  1331. package/src/components/PromoTile/PromoTile.tsx +12 -13
  1332. package/src/components/Recommendation/Recommendation.tsx +3 -4
  1333. package/src/components/Recommendation/RecommendationCard.tsx +12 -14
  1334. package/src/components/RollupItem/RollupItem.tsx +36 -41
  1335. package/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  1336. package/src/components/StepsBlock/StepsBlock.mobile.tsx +10 -9
  1337. package/src/components/StepsBlock/StepsBlock.tsx +3 -5
  1338. package/src/components/StepsBlock/StepsBlockStyleMaps.ts +23 -6
  1339. package/src/components/StepsBlock/renderStepContent.tsx +9 -8
  1340. package/src/components/Tabs/renderGroupTab.tsx +2 -1
  1341. package/src/components/Tabs/tabItemClasses.ts +2 -2
  1342. package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +6 -13
  1343. package/src/components/TariffsTable/EmbeddableCellData.tsx +8 -13
  1344. package/src/components/TariffsTable/TariffsTable.tsx +1 -3
  1345. package/src/components/TextBlock/TextBlock.mobile.tsx +1 -7
  1346. package/src/components/Tile/Tile.tsx +22 -42
  1347. package/src/components/VerticalLayout/VerticalLayout.tsx +8 -12
  1348. package/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -8
  1349. package/src/components/Video/Video.tsx +17 -20
  1350. package/src/components/Video/getPaddings.ts +1 -1
  1351. package/src/icons/IconName.ts +5 -2
  1352. package/src/icons/YoutubeIcon.svg +3 -0
  1353. package/src/model/BlockVersion.ts +11 -53
  1354. package/src/model/ButtonVersion.ts +3 -3
  1355. package/src/model/JSXBlock.ts +2 -0
  1356. package/src/ui-kit/BenefitItem/BenefitItem.tsx +6 -12
  1357. package/src/ui-kit/BlockWrapper.tsx +17 -2
  1358. package/src/ui-kit/Button/ArrowButton.tsx +2 -2
  1359. package/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1360. package/src/ui-kit/Button/buttonClassNameConstants.ts +9 -3
  1361. package/src/ui-kit/Button/renderButtonsSection.tsx +52 -0
  1362. package/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
  1363. package/src/ui-kit/Foldable/Foldable.tsx +4 -2
  1364. package/src/ui-kit/Foldable/FoldablePartProps.ts +1 -1
  1365. package/src/ui-kit/HeaderItem/HeaderItem.mobile.tsx +20 -22
  1366. package/src/ui-kit/HeaderItem/HeaderItem.tsx +15 -22
  1367. package/src/ui-kit/Heading/Heading.tsx +6 -8
  1368. package/src/ui-kit/Icon/Icon.tsx +6 -9
  1369. package/src/ui-kit/LinkButton/LinkButton.tsx +4 -4
  1370. package/src/ui-kit/List/List.fixture.tsx +4 -14
  1371. package/src/ui-kit/List/List.tsx +23 -43
  1372. package/src/ui-kit/List/ListItem.tsx +13 -22
  1373. package/src/ui-kit/List/ListProps.ts +0 -7
  1374. package/src/ui-kit/Location/Location.tsx +1 -1
  1375. package/src/ui-kit/Paragraph/Paragraph.tsx +2 -2
  1376. package/src/ui-kit/Text/Text.tsx +2 -4
  1377. package/src/ui-kit/Text/TextProps.ts +5 -2
  1378. package/src/ui-kit/TopItem/TopItem.tsx +21 -27
  1379. package/src/utils/getColSpan.ts +2 -2
  1380. package/src/utils/style.ts +7 -2
  1381. package/tailwind.config.cjs +6 -0
  1382. package/bundle/components/Calculator/renderButtonSection.d.ts +0 -3
  1383. package/bundle/components/Headline/Headline.mobile.d.ts +0 -5
  1384. package/bundle/components/Headline/headlineStyles.d.ts +0 -7
  1385. package/bundle/components/StepsBlock/renderItems.d.ts +0 -8
  1386. package/bundle/model/BorderVersion.d.ts +0 -6
  1387. package/bundle/ui-kit/Button/ButtonSection.d.ts +0 -13
  1388. package/bundle/utils/style2className.d.ts +0 -1
  1389. package/dist/components/Calculator/renderButtonSection.d.ts +0 -3
  1390. package/dist/components/Calculator/renderButtonSection.js +0 -9
  1391. package/dist/components/Calculator/renderButtonSection.js.map +0 -1
  1392. package/dist/components/Headline/Headline.mobile.d.ts +0 -5
  1393. package/dist/components/Headline/Headline.mobile.js +0 -13
  1394. package/dist/components/Headline/Headline.mobile.js.map +0 -1
  1395. package/dist/components/Headline/headlineStyles.d.ts +0 -7
  1396. package/dist/components/Headline/headlineStyles.js +0 -18
  1397. package/dist/components/Headline/headlineStyles.js.map +0 -1
  1398. package/dist/components/StepsBlock/renderItems.d.ts +0 -8
  1399. package/dist/components/StepsBlock/renderItems.js +0 -7
  1400. package/dist/components/StepsBlock/renderItems.js.map +0 -1
  1401. package/dist/model/BorderVersion.d.ts +0 -6
  1402. package/dist/model/BorderVersion.js +0 -7
  1403. package/dist/model/BorderVersion.js.map +0 -1
  1404. package/dist/ui-kit/Button/ButtonSection.d.ts +0 -13
  1405. package/dist/ui-kit/Button/ButtonSection.js +0 -23
  1406. package/dist/ui-kit/Button/ButtonSection.js.map +0 -1
  1407. package/dist/utils/style2className.d.ts +0 -1
  1408. package/dist/utils/style2className.js +0 -7
  1409. package/dist/utils/style2className.js.map +0 -1
  1410. package/lib/components/Calculator/renderButtonSection.d.ts +0 -3
  1411. package/lib/components/Calculator/renderButtonSection.js +0 -6
  1412. package/lib/components/Calculator/renderButtonSection.js.map +0 -1
  1413. package/lib/components/Headline/Headline.fixture.mobile.d.ts +0 -20
  1414. package/lib/components/Headline/Headline.mobile.d.ts +0 -5
  1415. package/lib/components/Headline/Headline.mobile.js +0 -11
  1416. package/lib/components/Headline/Headline.mobile.js.map +0 -1
  1417. package/lib/components/Headline/headlineStyles.d.ts +0 -7
  1418. package/lib/components/Headline/headlineStyles.js +0 -16
  1419. package/lib/components/Headline/headlineStyles.js.map +0 -1
  1420. package/lib/components/StepsBlock/renderItems.d.ts +0 -8
  1421. package/lib/components/StepsBlock/renderItems.js +0 -4
  1422. package/lib/components/StepsBlock/renderItems.js.map +0 -1
  1423. package/lib/model/BorderVersion.d.ts +0 -6
  1424. package/lib/model/BorderVersion.js +0 -5
  1425. package/lib/model/BorderVersion.js.map +0 -1
  1426. package/lib/ui-kit/Button/ButtonSection.d.ts +0 -13
  1427. package/lib/ui-kit/Button/ButtonSection.js +0 -20
  1428. package/lib/ui-kit/Button/ButtonSection.js.map +0 -1
  1429. package/lib/utils/style2className.d.ts +0 -1
  1430. package/lib/utils/style2className.js +0 -4
  1431. package/lib/utils/style2className.js.map +0 -1
  1432. package/mobile/bundle/components/Calculator/renderButtonSection.d.ts +0 -3
  1433. package/mobile/bundle/components/Headline/headlineStyles.d.ts +0 -7
  1434. package/mobile/bundle/components/StepsBlock/renderItems.d.ts +0 -8
  1435. package/mobile/bundle/model/BorderVersion.d.ts +0 -6
  1436. package/mobile/bundle/ui-kit/Button/ButtonSection.d.ts +0 -13
  1437. package/mobile/bundle/utils/style2className.d.ts +0 -1
  1438. package/mobile/dist/components/Calculator/renderButtonSection.d.ts +0 -3
  1439. package/mobile/dist/components/Calculator/renderButtonSection.js +0 -9
  1440. package/mobile/dist/components/Calculator/renderButtonSection.js.map +0 -1
  1441. package/mobile/dist/components/Headline/headlineStyles.d.ts +0 -7
  1442. package/mobile/dist/components/Headline/headlineStyles.js +0 -18
  1443. package/mobile/dist/components/Headline/headlineStyles.js.map +0 -1
  1444. package/mobile/dist/components/StepsBlock/renderItems.d.ts +0 -8
  1445. package/mobile/dist/components/StepsBlock/renderItems.js +0 -7
  1446. package/mobile/dist/components/StepsBlock/renderItems.js.map +0 -1
  1447. package/mobile/dist/model/BorderVersion.d.ts +0 -6
  1448. package/mobile/dist/model/BorderVersion.js +0 -7
  1449. package/mobile/dist/model/BorderVersion.js.map +0 -1
  1450. package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +0 -13
  1451. package/mobile/dist/ui-kit/Button/ButtonSection.js +0 -23
  1452. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +0 -1
  1453. package/mobile/dist/utils/style2className.d.ts +0 -1
  1454. package/mobile/dist/utils/style2className.js +0 -7
  1455. package/mobile/dist/utils/style2className.js.map +0 -1
  1456. package/mobile/lib/components/Calculator/renderButtonSection.d.ts +0 -3
  1457. package/mobile/lib/components/Calculator/renderButtonSection.js +0 -6
  1458. package/mobile/lib/components/Calculator/renderButtonSection.js.map +0 -1
  1459. package/mobile/lib/components/Headline/headlineStyles.d.ts +0 -7
  1460. package/mobile/lib/components/Headline/headlineStyles.js +0 -16
  1461. package/mobile/lib/components/Headline/headlineStyles.js.map +0 -1
  1462. package/mobile/lib/components/StepsBlock/renderItems.d.ts +0 -8
  1463. package/mobile/lib/components/StepsBlock/renderItems.js +0 -4
  1464. package/mobile/lib/components/StepsBlock/renderItems.js.map +0 -1
  1465. package/mobile/lib/model/BorderVersion.d.ts +0 -6
  1466. package/mobile/lib/model/BorderVersion.js +0 -5
  1467. package/mobile/lib/model/BorderVersion.js.map +0 -1
  1468. package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +0 -13
  1469. package/mobile/lib/ui-kit/Button/ButtonSection.js +0 -20
  1470. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +0 -1
  1471. package/mobile/lib/utils/style2className.d.ts +0 -1
  1472. package/mobile/lib/utils/style2className.js +0 -4
  1473. package/mobile/lib/utils/style2className.js.map +0 -1
  1474. package/mobile/src/components/Calculator/renderButtonSection.tsx +0 -8
  1475. package/mobile/src/components/Headline/headlineStyles.ts +0 -25
  1476. package/mobile/src/components/StepsBlock/renderItems.tsx +0 -23
  1477. package/mobile/src/model/BorderVersion.ts +0 -10
  1478. package/mobile/src/ui-kit/Button/ButtonSection.tsx +0 -51
  1479. package/mobile/src/utils/style2className.ts +0 -3
  1480. package/src/components/Calculator/renderButtonSection.tsx +0 -8
  1481. package/src/components/Headline/Headline.fixture.mobile.tsx +0 -128
  1482. package/src/components/Headline/Headline.mobile.tsx +0 -40
  1483. package/src/components/Headline/headlineStyles.ts +0 -25
  1484. package/src/components/StepsBlock/renderItems.tsx +0 -23
  1485. package/src/model/BorderVersion.ts +0 -10
  1486. package/src/ui-kit/Button/ButtonSection.tsx +0 -51
  1487. package/src/utils/style2className.ts +0 -3
@@ -238,14 +238,15 @@
238
238
 
239
239
  const DEFAULT_SLOT_NAME = null;
240
240
 
241
- function style2className(style) {
242
- return style ? style.filter(Boolean).join(' ') : '';
243
- }
241
+ const style = (...atoms) => atoms
242
+ .flatMap((_) => _)
243
+ .filter(Boolean)
244
+ .join(' ');
244
245
 
245
246
  const defaultBlockDecorator = ({ blockClassName, block, render }) => render({ blockClassName, block });
246
247
 
247
248
  const DEFAULT_ANCESTORS = [];
248
- const DEFAULT_STYLE = ['col-span-12'];
249
+ const defaultStyle = 'col-span-12';
249
250
  function renderBlock(block, options) {
250
251
  const { key, blockDecorator = defaultBlockDecorator, blocksRegistry = {}, ancestors = DEFAULT_ANCESTORS, className = '', } = options;
251
252
  const { type } = block;
@@ -254,7 +255,8 @@
254
255
  }
255
256
  const BlockComponent = type && blocksRegistry[type];
256
257
  return blockDecorator({
257
- blockClassName: `scroll-mt-12 ${className} ${style2className(block.style || DEFAULT_STYLE)}`,
258
+ blockClassName: style('scroll-mt-12', // TODO scroll-mt-12 ? here?
259
+ className, block.style || defaultStyle),
258
260
  block,
259
261
  ancestors,
260
262
  // Adjusted by decorator block and blockClassName
@@ -393,7 +395,14 @@
393
395
  return ref;
394
396
  }
395
397
 
396
- const BlockWrapper = JSX(({ className = '', block, tag = 'section', role, children }) => {
398
+ const blockStyles = {
399
+ primary: 'bg-white text-primary-text',
400
+ secondary: 'bg-primary-main text-white',
401
+ gray: 'bg-main-divider text-primary-text',
402
+ transparent: 'bg-transparent text-primary-text',
403
+ '': '',
404
+ };
405
+ const BlockWrapper = JSX(({ className = '', version = 'primary', block, tag = 'section', role, children }) => {
397
406
  const Tag = tag;
398
407
  const ref = useBlockIntersectionObserver(block);
399
408
  const [isVisible, setVisible] = useState(true);
@@ -406,10 +415,10 @@
406
415
  setVisible(true);
407
416
  }
408
417
  }), [block]);
409
- return isVisible ? (jsx(Tag, { className: className, role: role, ...(block?.anchor ? { id: block.anchor, ref } : {}), children: children })) : null;
418
+ return isVisible ? (jsx(Tag, { className: style('group', blockStyles[version], className), ...(version ? { 'data-ver': version } : {}), ...(block?.anchor ? { id: block.anchor, ref } : {}), role: role, children: children })) : null;
410
419
  });
411
420
 
412
- const HEADING_STYLE_MAP = {
421
+ const styles$4 = {
413
422
  h0: 'text-h0',
414
423
  h1: 'text-h1',
415
424
  h2: 'text-h2',
@@ -418,26 +427,23 @@
418
427
  h5: 'text-h5',
419
428
  h6: 'text-h6', // 20
420
429
  };
421
- const Heading = JSX((props) => {
422
- const { className = '', headingType = 'h3', title, as: Tag = 'h3' } = props;
423
- return (jsx(Tag, { className: `font-sans m-0 ${HEADING_STYLE_MAP[headingType]} ${className}`, children: title }));
424
- });
430
+ const Heading = JSX(({ className = '', headingType = 'h3', as: Tag = 'h3', title, children }) => (jsx(Tag, { className: `font-sans m-0 ${styles$4[headingType]} ${className}`, children: title || children })));
425
431
 
426
- const Paragraph = JSX(({ size, color, align, font, children }) => (jsx("p", { className: ['font-sans', size, color, align, font].filter(Boolean).join(' '), children: children })));
432
+ const Paragraph = JSX(({ children, ...style }) => (jsx("p", { className: ['font-sans', ...Object.values(style)].join(' '), children: children })));
427
433
 
428
434
  const AccordionItemsList = JSX(({ children }) => (jsx("ul", { className: "list-none m-0 p-0", children: children })));
429
435
 
430
- const Accordion = JSX(({ className = '', title, accordionAlignTitle = 'center', description, ...rest }) => (jsxs(BlockWrapper, { className: `p-12 mb-1 last:mb-0 bg-white text-primary-text ${className}`, ...rest, children: [title ? (jsx(Heading, { headingType: "h3", as: "h2", className: `mb-2.5 ${AlignText[accordionAlignTitle]}`, title: title })) : null, description ? (jsx("div", { className: "mb-2.5", children: jsx(Paragraph, { size: "text-l", children: description }) })) : null, jsx(AccordionItemsList, { children: renderChildren(rest) })] })));
436
+ const Accordion = JSX(({ className = '', title, accordionAlignTitle = 'center', description, ...rest }) => (jsxs(BlockWrapper, { className: `p-12 mb-1 last:mb-0 ${className}`, ...rest, children: [title ? (jsx(Heading, { headingType: "h3", as: "h2", className: `mb-2.5 ${AlignText[accordionAlignTitle]}`, title: title })) : null, description ? (jsx("div", { className: "mb-2.5", children: jsx(Paragraph, { size: "text-l", children: description }) })) : null, jsx(AccordionItemsList, { children: renderChildren(rest) })] })));
431
437
  Accordion.childrenTypes = ['AccordionItem'];
432
438
 
433
- const Foldable = JSX(({ isFoldButtonOnTop = false, unfoldedByDefault = false, renderFoldableSection, renderFoldButton, }) => {
439
+ const Foldable = JSX(({ className = '', isFoldButtonOnTop = false, unfoldedByDefault = false, renderFoldableSection, renderFoldButton, }) => {
434
440
  const [isUnfolded, setIsUnfolded] = useState(unfoldedByDefault);
435
441
  const onToggle = useCallback(() => {
436
442
  setIsUnfolded((_) => !_);
437
443
  }, []);
438
444
  const sectionNode = renderFoldableSection({ isUnfolded, onToggle });
439
445
  const buttonNode = renderFoldButton ? renderFoldButton({ isUnfolded, onToggle }) : null;
440
- return isFoldButtonOnTop ? (jsxs("div", { children: [buttonNode, sectionNode] })) : (jsxs("div", { children: [sectionNode, buttonNode] }));
446
+ return isFoldButtonOnTop ? (jsxs("div", { className: className, children: [buttonNode, sectionNode] })) : (jsxs("div", { className: className, children: [sectionNode, buttonNode] }));
441
447
  });
442
448
 
443
449
  const FoldableSection = JSX(({ className = '', isUnfolded, children }) => {
@@ -461,17 +467,11 @@
461
467
  const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${name}`, title = alt, iconVersion = 'color', asSVG, ...imgProps }) => {
462
468
  const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
463
469
  if (asSVG && iconVersion !== 'normal') {
464
- return (jsx(Background, { className: className, children: jsxs("svg", { className: [
465
- getSvgSize(className, imgProps.width),
466
- svgUseStyleMap[iconVersion],
467
- imageClassName,
468
- getInvertStyle(iconVersion),
469
- ].join(' '), ...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` })] }) }));
470
+ return (jsx(Background, { className: className, children: jsxs("svg", { className: style(getSvgSize(imgProps.width), svgUseStyleMap[iconVersion], iconVersion === 'white' ? 'invert' : '', imageClassName), ...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` })] }) }));
470
471
  }
471
472
  return (jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
472
473
  });
473
- const getInvertStyle = (iconVersion) => iconVersion === 'white' ? 'invert' : '';
474
- const getSvgSize = (className, width) => width ? `width: ${width}px ` : 'w-full h-full';
474
+ const getSvgSize = (width) => (width ? '' : 'w-full h-full');
475
475
  const Background = JSX(({ className, children }) => className ? jsx("div", { className: className, children: children }) : children);
476
476
 
477
477
  const sourcesComparator = (a, b) => {
@@ -518,66 +518,21 @@
518
518
  return image.icon ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: image?.iconVersion || 'normal', name: image.icon, ...iconProps })) : (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image, isMobile: isMobile, pathPrefix: pathPrefix }));
519
519
  });
520
520
 
521
- const Text = JSX(({ size, color, align, font, children }) => (jsx("span", { className: ['font-sans', size, color, align, font].filter(Boolean).join(' '), children: children })));
521
+ const Text = JSX(({ children, ...style }) => (jsx("span", { className: ['font-sans', ...Object.values(style)].join(' '), children: children })));
522
522
 
523
523
  const icons$1 = ['PlusIcon', 'MinusIcon'];
524
- const AccordionItem = JSX(({ className = '', label = '', isExpanded, ...rest }) => (jsx("li", { className: `border-0 border-b border-solid border-main-divider last:border-b-0 ${className}`, children: jsx(Foldable, { isFoldButtonOnTop: true, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { className: "grid grid-cols-12 gap-5 [&>*]:p-0", isUnfolded: isUnfolded, children: renderChildren(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => (jsx(FoldButton$1, { label: label, icon: icons$1[Number(isUnfolded)], onClick: onToggle })) }) })));
524
+ const AccordionItem = JSX(({ className = '', label = '', isExpanded, ...rest }) => (jsx("li", { className: `border-0 border-b border-solid border-main-divider last:border-b-0 ${className}`, children: jsx(Foldable, { isFoldButtonOnTop: true, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { className: "grid grid-cols-12 gap-5 [&>*]:p-0", isUnfolded: isUnfolded, children: renderChildren(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => (jsx(FoldButton, { label: label, icon: icons$1[Number(isUnfolded)], onClick: onToggle })) }) })));
525
525
  AccordionItem.childrenTypes = [];
526
- const FoldButton$1 = JSX(({ label, icon, onClick }) => (jsxs("button", { className: "border-none bg-transparent px-0 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 group cursor-pointer", onClick: onClick, children: [jsx(Text, { size: "text-xl", font: "font-medium", children: label }), jsx(ImgInner, { image: { icon }, className: "text-primary-main flex-shrink-0", width: "24", height: "24", asSVG: true })] })));
527
-
528
- const VersionStyleMap = {
529
- primary: 'bg-white text-primary-text',
530
- secondary: 'bg-primary-main text-white',
531
- };
532
- const VersionAdditionalStyleMap = {
533
- primary: 'text-secondary-text',
534
- secondary: 'text-white',
535
- };
536
- const VersionWithGrayStyleMap = {
537
- primary: 'bg-white text-primary-text',
538
- secondary: 'bg-primary-main text-white',
539
- gray: 'bg-main-divider text-primary-text',
540
- };
541
- const GapStyleMap = {
542
- XXL: 'gap-12',
543
- XL: 'gap-10',
544
- L: 'gap-8',
545
- M: 'gap-4',
546
- S: 'gap-2',
547
- XS: 'gap-1',
548
- '': '',
549
- };
550
- const LayoutBackgroundStyleMap = {
551
- transparent: '',
552
- primary: 'bg-white',
553
- secondary: 'bg-primary-main',
554
- };
526
+ const FoldButton = JSX(({ label, icon, onClick }) => (jsxs("button", { className: "border-none bg-transparent px-0 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 cursor-pointer", onClick: onClick, children: [jsx(Text, { size: "text-xl", font: "font-medium", children: label }), jsx(ImgInner, { image: { icon }, className: "text-primary-main flex-shrink-0", width: "24", height: "24", asSVG: true })] })));
555
527
 
556
- const getIconWithVersion = (icon, version = 'primary') => ({
557
- ...icon,
558
- iconVersion: icon?.iconVersion ?? (version === 'secondary' ? 'white' : 'color'),
559
- });
560
-
561
- const benefitsTextStyleMap = {
562
- primary: '',
563
- secondary: 'text-white',
564
- };
565
- const benefitsDescriptionStyleMap = {
566
- primary: 'text-secondary-text',
567
- secondary: 'text-white opacity-80',
568
- };
569
- const benefitsIconStyleMap = {
570
- primary: 'bg-main-divider text-primary-main',
571
- secondary: 'bg-white/30 text-black',
572
- };
573
- const BenefitsBlock = JSX(({ className = '', title, benefitList, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: `font-sans text-primary-text p-12 flex flex-col items-center ${className} ${VersionStyleMap[version]}`, ...rest, children: [title ? (jsx(Heading, { headingType: "h3", as: "h2", className: `max-w-[47rem] text-center ${benefitsTextStyleMap[version]}`, title: title })) : null, benefitList?.length ? (jsx("div", { className: "flex flex-wrap w-full justify-center gap-x-20 mt-8", children: benefitList.map(renderStep(version)) })) : null] })));
574
- const renderStep = (version) => (benefit, i) => {
528
+ const BenefitsBlock = JSX(({ className = '', title, benefitList, ...rest }) => (jsxs(BlockWrapper, { className: `p-12 flex flex-col items-center ${className}`, ...rest, children: [title ? (jsx(Heading, { headingType: "h3", as: "h2", className: "max-w-[47rem] text-center", title: title })) : null, benefitList?.length ? (jsx("div", { className: "flex flex-wrap w-full justify-center gap-x-20 mt-8", children: benefitList.map(renderStep) })) : null] })));
529
+ const renderStep = (benefit, i) => {
575
530
  const description = benefit.description;
576
- return (jsxs("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? (jsx(ImgInner, { className: `w-12 h-12 min-w-12 p-3 rounded-full ${benefitsIconStyleMap[version]}`, image: getIconWithVersion(benefit.icon, version), asSVG: true })) : null, benefit?.icon?.src ? jsx(ImgInner, { image: benefit.icon }) : null, jsxs("div", { className: "ml-5", children: [benefit?.label ? (jsx("h3", { className: `text-h6 m-0 ${benefitsTextStyleMap[version]}`, children: benefit.label })) : null, renderDescription$5(description, version)] })] }, String(i)));
531
+ return (jsxs("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? (jsx(ImgInner, { className: "w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider text-primary-main group-data-secondary:bg-white/30 group-data-secondary:text-black", image: benefit.icon, asSVG: true })) : null, benefit?.icon?.src ? jsx(ImgInner, { image: benefit.icon }) : null, jsxs("div", { className: "ml-5", children: [benefit?.label ? jsx(Heading, { headingType: "h6", children: benefit.label }) : null, renderDescription$5(description)] })] }, String(i)));
577
532
  };
578
- const renderDescription$5 = (description, version) => {
533
+ const renderDescription$5 = (description) => {
579
534
  const benefitType = description?.benefitType || null;
580
- return description && benefitType ? (jsx("div", { className: `text-l-light mt-2 ${benefitsDescriptionStyleMap[version]}`, children: benefitType === 'list'
535
+ return description && benefitType ? (jsx("div", { className: "mt-2 text-l-light text-secondary-text group-data-secondary:text-white/80", children: benefitType === 'list'
581
536
  ? renderListBenefit(description)
582
537
  : renderTextBenefit(description) })) : null;
583
538
  };
@@ -697,6 +652,8 @@
697
652
  secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
698
653
  white: 'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main',
699
654
  link: '',
655
+ transparent: '',
656
+ '': '',
700
657
  };
701
658
  const DisabledStyle = 'bg-main-divider text-main-disabled';
702
659
  const buttonDisabledStyleMap = {
@@ -704,13 +661,17 @@
704
661
  secondary: DisabledStyle,
705
662
  white: DisabledStyle,
706
663
  link: '',
664
+ transparent: '',
665
+ '': '',
707
666
  };
708
667
  const buttonStyle = 'text-center font-sans select-none';
709
668
  const iconStyleMap = {
710
- primary: 'group-hover:brightness-0 group-hover:invert',
711
- secondary: 'group-hover:brightness-0 group-hover:invert',
712
- white: 'group-hover:brightness-0 group-hover:invert',
669
+ primary: 'group-hover/btn:brightness-0 group-hover/btn:invert',
670
+ secondary: 'group-hover/btn:brightness-0 group-hover/btn:invert',
671
+ white: 'group-hover/btn:brightness-0 group-hover/btn:invert',
713
672
  link: '',
673
+ transparent: '',
674
+ '': '',
714
675
  };
715
676
 
716
677
  const ButtonInner = JSX((props) => {
@@ -724,7 +685,7 @@
724
685
  }
725
686
  const withTextStyle = `gap-2 ${aboveText ? 'py-2.5 px-7' : 'py-4 px-4'}`;
726
687
  return [
727
- 'group flex items-center justify-center',
688
+ 'group/btn flex items-center justify-center',
728
689
  isWithText(props) ? withTextStyle : 'h-12 w-12',
729
690
  rounded ? 'rounded-full' : '',
730
691
  ].join(' ');
@@ -756,37 +717,14 @@
756
717
  const RegularButton = JSX(({ className = '', href, rel, target, ariaLabel, version, rounded, onClick, children }) => (jsx("a", { className: getRegularButtonClasses({ className, version, rounded }), href: href, rel: rel, target: target, "aria-label": ariaLabel, role: href ? 'link' : 'button', onClick: onClick, children: children })));
757
718
  const DisabledButton = JSX(({ className, ariaLabel, version, rounded, children }) => (jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: -1, className: getDisabledButtonClasses({ className, rounded, version }), children: children })));
758
719
 
759
- const ButtonSection = JSX(({ className = '', buttons }) => buttons && buttons?.length ? (jsx("div", { className: className, children: buttons.map((button, index) => renderButton({ button, index })) })) : null);
760
- function renderButton({ button, buttonClassName, index }) {
761
- const { icon, iconRight, version, text, ...rest } = button;
720
+ const renderButtonsSection = (buttons, { className = '', buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text) ? (jsx("div", { className: style('flex', isVertical ? 'flex-col gap-2' : 'gap-4', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
721
+ const renderButton = (buttonClassName = '') => (button, index) => {
722
+ const { text, icon, iconRight, version, ...rest } = button || {};
762
723
  const iconVersion = version === 'secondary' ? 'color' : 'white';
763
- const leftIcon = renderButtonIcon({ ...icon, iconVersion: iconVersion });
764
- const rightIcon = renderButtonIcon({ ...iconRight, iconVersion: iconVersion });
765
- return text ? (jsx(Button, { className: buttonClassName, appendLeft: leftIcon, appendRight: rightIcon, version: version, text: text, ...rest }, index ? String(index) : '')) : null;
766
- }
767
- const renderButtonIcon = (icon) => {
768
- if (!icon?.icon && !icon?.src) {
769
- return null;
770
- }
771
- const iconWidth = icon?.size?.width ? `${icon.size.width}` : '24';
772
- return jsx(ImgInner, { image: icon, width: iconWidth, height: "24", asSVG: true });
773
- };
774
-
775
- const headlineStyles = {
776
- transparent: {
777
- wrapper: 'bg-transparent',
778
- titleColor: 'text-primary-text',
779
- },
780
- primary: {
781
- wrapper: 'bg-white',
782
- titleColor: 'text-primary-text',
783
- },
784
- secondary: {
785
- wrapper: 'bg-primary-main',
786
- titleColor: 'text-white',
787
- descriptionColor: 'text-white/80',
788
- },
724
+ return text ? (jsx(Button, { className: buttonClassName, appendLeft: renderButtonIcon({ ...icon, iconVersion }), appendRight: renderButtonIcon({ ...iconRight, iconVersion }), version: version, text: text, ...rest }, index ? String(index) : '')) : null;
789
725
  };
726
+ const DEFAULT_ICON_W = 24;
727
+ const renderButtonIcon = (icon) => icon?.icon || icon?.src ? (jsx(ImgInner, { image: icon, width: String(icon?.size?.width || DEFAULT_ICON_W), height: String(DEFAULT_ICON_W), asSVG: true })) : null;
790
728
 
791
729
  const headlineVersionStyles = {
792
730
  XXL: {
@@ -832,20 +770,17 @@
832
770
  XS: 'text-xs-light',
833
771
  };
834
772
 
835
- const Headline = JSX(({ className = '', title, description, headlineVersion = 'XL', bgColorHeadline = 'transparent', align = 'text-center', as, ...rest }) => {
836
- const style = headlineStyles[bgColorHeadline];
837
- const specificStyle = headlineVersionStyles[headlineVersion];
838
- return (jsxs(BlockWrapper, { className: `flex flex-col p-12 ${specificStyle.wrapper} ${style.wrapper} ${className}`, ...rest, children: [title ? (jsx(Heading, { className: `whitespace-pre-wrap ${style.titleColor} ${align}`, ...specificStyle?.title, as: as || specificStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { color: style.descriptionColor || style.titleColor, size: specificStyle.descriptionSize, align: align, children: description })) : null] }));
773
+ const Headline = JSX(({ className, title, description, headlineVersion = 'XL', align = 'text-center', as, version = '', ...rest }) => {
774
+ const versionStyle = headlineVersionStyles[headlineVersion];
775
+ return (jsxs(BlockWrapper, { className: style('flex flex-col p-12', versionStyle.wrapper, className), version: version, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-pre-wrap', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { color: "group-data-secondary:text-white/80", size: versionStyle.descriptionSize, align: align, children: description })) : null] }));
839
776
  });
840
777
 
841
778
  const Bonus = JSX((props) => {
842
779
  const { className = '', title, description, bonusItems, ...rest } = props;
843
- return (jsx(BlockWrapper, { className: `font-sans bg-white p-12 pb-9 ${className}`, ...rest, children: jsxs("div", { className: "container", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", ...rest }), jsx("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems?.length
844
- ? bonusItems.map((_, i) => {
845
- return (jsx("div", { className: "flex-grow w-[49%] border border-gray p-9 mb-3 mx-2 even:mr-0 odd:ml-0 last:odd:mx-0", children: jsxs("div", { className: "flex justify-between w-full", children: [jsxs("div", { className: "flex flex-col justify-between mr-4", children: [jsxs("div", { children: [jsx("div", { className: "text-h4", children: _.title }), jsx("div", { className: "text-xl-light mt-2 max-w-[488px]", children: _.description })] }), _?.buttons?.length ? jsx(ButtonSection, { buttons: _?.buttons }) : null] }), _.bonusItemContent?.bonusType
846
- ? renderBonusItemContent(_.bonusItemContent)
847
- : null] }) }, String(i)));
848
- })
780
+ return (jsx(BlockWrapper, { className: `p-12 pb-9 ${className}`, ...rest, children: jsxs("div", { className: "container", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M" }), jsx("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems?.length
781
+ ? bonusItems.map((_, i) => (jsx("div", { className: "flex-grow w-[49%] border border-gray p-9 mb-3 mx-2 even:mr-0 odd:ml-0 last:odd:mx-0", children: jsxs("div", { className: "flex justify-between w-full", children: [jsxs("div", { className: "flex flex-col justify-between mr-4", children: [jsxs("div", { children: [jsx("div", { className: "text-h4", children: _.title }), jsx("div", { className: "text-xl-light mt-2 max-w-[488px]", children: _.description })] }), renderButtonsSection(_?.buttons)] }), _.bonusItemContent?.bonusType
782
+ ? renderBonusItemContent(_.bonusItemContent)
783
+ : null] }) }, String(i))))
849
784
  : null })] }) }));
850
785
  });
851
786
  const renderBonusItemContent = (bonusItemContent) => (jsx("div", { children: bonusItemContent.bonusType === 'count'
@@ -854,7 +789,7 @@
854
789
  const renderBonusCount = (_) => (jsxs("div", { className: "relative -bottom-3 h-auto flex items-end mt-14 shrink-0", children: [_.bonusCount ? (jsx("span", { className: "font-mohave -tracking-[5px] text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7", children: _.bonusCount })) : null, _.bonusName ? (jsx("span", { className: "text-h2 bg-clip-text text-transparent bg-green-to-yellow", children: _.bonusName })) : null] }));
855
790
  const renderBonusImage = (_) => _.image ? jsx(ImgInner, { className: `w-12 h-12 min-w-12 p-3 rounded-full`, image: _.image }) : null;
856
791
 
857
- const BonusBenefitsBlock = JSX(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => (jsxs(BlockWrapper, { className: `font-sans text-primary-text bg-white p-12 flex flex-col text-center ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0 mb-8", title: title, description: subtitle, headlineVersion: "M", ...rest }), bonusBenefits?.length ? (jsx("div", { className: `grid gap-1 ${AlignText[cardTextAlign]} ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] })));
792
+ const BonusBenefitsBlock = JSX(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => (jsxs(BlockWrapper, { className: `font-sans text-primary-text bg-white p-12 flex flex-col text-center ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0 mb-8", title: title, description: subtitle, headlineVersion: "M" }), bonusBenefits?.length ? (jsx("div", { className: `grid gap-1 ${AlignText[cardTextAlign]} ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] })));
858
793
  const renderBonusBenefit = ({ icon, label, description }, i) => {
859
794
  return (jsxs("div", { className: "flex flex-col items-center text-h6", children: [description ? jsx("span", { children: description }) : null, icon ? jsx(ImgInner, { image: icon, height: "180", width: "auto", className: "h-[180px] w-auto" }) : null, jsx("div", { children: label ? jsx("span", { children: label }) : null })] }, String(i)));
860
795
  };
@@ -873,19 +808,16 @@
873
808
 
874
809
  const BusinessCard = JSX((props) => {
875
810
  const { title, image, cardItems, button } = props;
876
- return (jsxs("div", { className: "border-gray border p-9 w-1/2", children: [image ? (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? jsx(ImgInner, { image: image, asSVG: true }) : null] })) : null, title ? jsx(Heading, { headingType: "h4", title: title, className: "mb-6" }) : null, cardItems?.length ? jsx("ul", { children: cardItems.map((_, i) => renderItem(_, String(i))) }) : null, button?.text ? renderButton({ button, buttonClassName: 'mt-6' }) : null] }));
811
+ return (jsxs("div", { className: "border-gray border p-9 w-1/2", children: [image ? (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? jsx(ImgInner, { image: image, asSVG: true }) : null] })) : null, title ? jsx(Heading, { headingType: "h4", title: title, className: "mb-6" }) : null, cardItems?.length ? jsx("ul", { children: cardItems.map((_, i) => renderItem(_, String(i))) }) : null, renderButtonsSection([button], { buttonClassName: 'mt-6' })] }));
877
812
  });
878
813
  const renderItem = (item, key) => {
879
814
  const { icon, text } = item;
880
815
  return (jsxs("li", { className: "flex items-center gap-3.5 mb-3 last:mb-0", children: [icon?.icon ? (jsx(ImgInner, { image: icon, className: "w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider", asSVG: true })) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null, jsx("span", { className: "text-xl-light", children: text })] }, key));
881
816
  };
882
817
 
883
- const BusinessBlock = JSX(({ className = '', title, cards, ...rest }) => (jsxs(BlockWrapper, { className: `font-sans bg-white p-12 pb-9 ${className}`, ...rest, children: [jsx(Heading, { headingType: "h3", title: title, className: "text-center mb-8" }), jsx("div", { className: "flex gap-5", children: cards?.length ? cards.map((_, i) => jsx(BusinessCard, { ..._ }, String(i))) : null })] })));
818
+ const BusinessBlock = JSX(({ className = '', title, cards, ...rest }) => (jsxs(BlockWrapper, { className: `p-12 pb-9 ${className}`, ...rest, children: [jsx(Heading, { headingType: "h3", title: title, className: "text-center mb-8" }), jsx("div", { className: "flex gap-5", children: cards?.length ? cards.map((_, i) => jsx(BusinessCard, { ..._ }, String(i))) : null })] })));
884
819
 
885
- const ButtonBlock = JSX((props) => {
886
- const { className, button, ...rest } = props;
887
- return (jsx(BlockWrapper, { className: className, ...rest, children: button ? renderButton({ button }) : null }));
888
- });
820
+ const ButtonBlock = JSX(({ button, ...rest }) => (jsx(BlockWrapper, { ...rest, children: renderButtonsSection([button]) })));
889
821
 
890
822
  const useCarouselControls = (props) => {
891
823
  const { itemCount, visibleItemCount, isCyclic } = props;
@@ -918,9 +850,9 @@
918
850
  return false;
919
851
  }
920
852
 
921
- const ArrowButton = JSX(({ className, disabled, ...rest }) => (jsx(Button, { rounded: true, className: `group shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${disabled
853
+ const ArrowButton = JSX(({ className, disabled, ...rest }) => (jsx(Button, { rounded: true, className: `group/btn shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${disabled
922
854
  ? 'bg-secondary-light text-secondary-text'
923
- : 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: jsx(ImgInner, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, imageClassName: "group-hover:text-primary-main", width: "16", height: "16", asSVG: true }) })));
855
+ : 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: jsx(ImgInner, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, imageClassName: "group-hover/btn:text-primary-main", width: "16", height: "16", asSVG: true }) })));
924
856
  const ScrollLeftButton = JSX((props) => (jsx(ArrowButton, { ...props, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E", "data-block-control": "scroll-left" })));
925
857
  const ScrollRightButton = JSX((props) => (jsx(ArrowButton, { ...props, className: `${props.className || ''} rotate-180`, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E", "data-block-control": "scroll-right" })));
926
858
 
@@ -981,10 +913,6 @@
981
913
 
982
914
  const Rate = JSX(({ rate, title = 'Ставка', unit, rateBlockClassName }) => (jsxs("div", { children: [jsx("div", { className: "text-l-light text-secondary-text", children: title }), jsxs("div", { className: "flex justify-start", children: [jsx("span", { className: `block gradient-color-text font-mohave text-title-huge pr-6 -mt-4 ${rateBlockClassName}`, children: String(rate).replace('.', ',') }), unit ? jsx("span", { className: "gradient-color-text text-[65px] leading-[75px]", children: unit }) : ''] })] })));
983
915
 
984
- function renderButtonSection(buttons) {
985
- return buttons?.length ? (jsx(ButtonSection, { buttons: buttons, className: "flex flex-col mt-7 gap-2" })) : null;
986
- }
987
-
988
916
  const renderFootnote = (text) => text ? jsx("p", { className: "text-s-light text-secondary-text mt-7", children: text }) : null;
989
917
 
990
918
  const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
@@ -1152,7 +1080,7 @@
1152
1080
  moneyValue: restExpenseValue,
1153
1081
  step: 500,
1154
1082
  isShowItems: false,
1155
- }, handleRestExpenseValue)] }), jsx("div", { children: monthBonus >= 0 ? (jsx(Rate, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u043C\u0435\u0441\u044F\u0446", rate: monthBonus, rateBlockClassName: "tracking-[-14px]" })) : null }), jsxs("div", { className: "w-full max-w-[350px]", children: [yearBonus >= 0 ? jsx(CalculatorValueBlock, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u0433\u043E\u0434", value: yearBonus }) : null, renderButtonSection(buttons), renderFootnote(footnote)] })] }));
1083
+ }, handleRestExpenseValue)] }), jsx("div", { children: monthBonus >= 0 ? (jsx(Rate, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u043C\u0435\u0441\u044F\u0446", rate: monthBonus, rateBlockClassName: "tracking-[-14px]" })) : null }), jsxs("div", { className: "w-full max-w-[350px]", children: [yearBonus >= 0 ? jsx(CalculatorValueBlock, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u0433\u043E\u0434", value: yearBonus }) : null, renderButtonsSection(buttons, { className: 'mt-7', isVertical: true }), renderFootnote(footnote)] })] }));
1156
1084
  });
1157
1085
 
1158
1086
  const SVG = JSX(({ className, viewBox, fill = 'none', width, height, paths, ...commonOptions }) => {
@@ -1168,7 +1096,7 @@
1168
1096
  },
1169
1097
  ];
1170
1098
  const Checkbox = JSX(({ className, text, checked, isRadio, onChange }) => {
1171
- return (jsx("div", { className: className, children: jsxs("label", { className: "flex items-center relative cursor-pointer group", children: [jsx("input", { className: `peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover:border-primary-hover
1099
+ return (jsx("div", { className: className, children: jsxs("label", { className: "flex items-center relative cursor-pointer group/box", children: [jsx("input", { className: `peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover/box:border-primary-hover
1172
1100
  ${isRadio ? 'rounded-full border-2' : 'rounded checked:bg-primary-main border'}
1173
1101
  ${checked ? 'border-black' : 'border-gray'}
1174
1102
  checked:border-primary-main m-0`, type: "checkbox", onChange: (e) => onChange && onChange(e.target.checked), checked: checked }), isRadio ? (jsx("div", { className: "left-1 w-3 h-3 rounded-full bg-primary-main hidden absolute peer-checked:block" })) : (jsx(SVG, { paths: CHECK_PATHS, className: "hidden absolute left-1 ml-px peer-checked:block", width: "11", height: "9", fill: "white", viewBox: "0 0 11 9" })), text ? jsx("span", { className: "font-sans ml-3 text-l-light", children: text }) : null] }) }));
@@ -1250,7 +1178,7 @@
1250
1178
  monthsValue,
1251
1179
  };
1252
1180
  const calculatorParams = useCreditCalculatorParams(userInputParams, sourceBookDir);
1253
- return (jsxs("section", { className: className, children: [jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, handleMoneyValue), renderMonthsInput('Срок кредита, месяцев', calculatorParams, handleMonthsValue), jsxs("div", { className: "mt-7", children: [jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), jsx(Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), jsx(Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), jsx(Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "w-full max-w-[350px]", children: [jsx(CalculatorValueBlock, { title: isAnnuity ? 'Ежемесячный платеж' : 'Платёж в первый месяц', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), jsx(RadioButtonGroup, { items: paymentTypeItems, checkedItem: isAnnuity ? ANNUITY : DIFFERENTIAL, onChange: (text) => toggleIsAnnuity(text === ANNUITY) }), renderButtonSection(buttons), renderFootnote(footnote)] })] }));
1181
+ return (jsxs("section", { className: className, children: [jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, handleMoneyValue), renderMonthsInput('Срок кредита, месяцев', calculatorParams, handleMonthsValue), jsxs("div", { className: "mt-7", children: [jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), jsx(Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), jsx(Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), jsx(Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "w-full max-w-[350px]", children: [jsx(CalculatorValueBlock, { title: isAnnuity ? 'Ежемесячный платеж' : 'Платёж в первый месяц', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), jsx(RadioButtonGroup, { items: paymentTypeItems, checkedItem: isAnnuity ? ANNUITY : DIFFERENTIAL, onChange: (text) => toggleIsAnnuity(text === ANNUITY) }), renderButtonsSection(buttons, { className: 'mt-7', isVertical: true }), renderFootnote(footnote)] })] }));
1254
1182
  });
1255
1183
 
1256
1184
  const useDepositCalculatorParams = (userInputParams, sourceBookDir) => {
@@ -1305,7 +1233,7 @@
1305
1233
  ...calculatorParams,
1306
1234
  }, handleMoneyValue), renderMonthsInput('Срок вклада, месяцев', {
1307
1235
  ...calculatorParams,
1308
- }, handleMonthsValue)] }), jsx(Rate, { rate: rate || 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "w-full max-w-[350px]", children: [income ? (jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" })) : null, finalSum ? (jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" })) : null, jsx(RadioButtonGroup, { items: depositTypeItems, checkedItem: isMonthlyInterestPayment ? EVERY_MONTH : AT_END_TERM, onChange: (text) => toggleIsMonthlyInterestPayment(text === EVERY_MONTH) }), renderButtonSection(buttons), renderFootnote(footnote)] })] }));
1236
+ }, handleMonthsValue)] }), jsx(Rate, { rate: rate || 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "w-full max-w-[350px]", children: [income ? (jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" })) : null, finalSum ? (jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" })) : null, jsx(RadioButtonGroup, { items: depositTypeItems, checkedItem: isMonthlyInterestPayment ? EVERY_MONTH : AT_END_TERM, onChange: (text) => toggleIsMonthlyInterestPayment(text === EVERY_MONTH) }), renderButtonsSection(buttons, { className: 'mt-7', isVertical: true }), renderFootnote(footnote)] })] }));
1309
1237
  });
1310
1238
 
1311
1239
  const EmbeddableCalcBlocks = {
@@ -1333,7 +1261,7 @@
1333
1261
  itemCount: calculatorTabs?.length,
1334
1262
  visibleItemCount: COLUMNS_FOR_SCROLL,
1335
1263
  });
1336
- return (jsxs(BlockWrapper, { className: `box-border overflow-hidden relative font-sans w-100 text-primary-text bg-white ${className}`, ...rest, children: [jsxs("div", { className: "bg-white", children: [tabsNav.length > 1
1264
+ return (jsxs(BlockWrapper, { className: `box-border overflow-hidden relative w-100 ${className}`, ...rest, children: [jsxs("div", { className: "bg-white", children: [tabsNav.length > 1
1337
1265
  ? renderTabs({ activeIndex, tabsNav, slideIndexShift, onClick: handleSlideIndexShift })
1338
1266
  : null, renderArrows({
1339
1267
  ...controls,
@@ -1437,7 +1365,7 @@
1437
1365
  ? getDisabledButtonClasses({ version: button?.version })
1438
1366
  : getRegularButtonClasses({ className: 'text-white', version: button?.version });
1439
1367
  const link = useLink();
1440
- return (jsxs(BlockWrapper, { className: `p-12 flex flex-col items-center font-sans bg-white ${className}`, ...rest, children: [title ? jsx(Heading, { className: "max-w-[684px] pb-9", headingType: "h2", title: title }) : null, jsxs("form", { className: "w-[468px]", method: "POST", action: FORM_URL, children: [jsx(CurrencyInput, { name: AMOUNT_KEY, value: value, onChange: handleChange, valid: value === '' || !isDisabled, placeholder: placeholder, label: label }), button?.text ? (jsx("button", { type: "submit", className: `w-full p-4 mt-6 ${buttonStyle} `, disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
1368
+ return (jsxs(BlockWrapper, { className: `p-12 flex flex-col items-center ${className}`, ...rest, children: [title ? jsx(Heading, { className: "max-w-[684px] pb-9", headingType: "h2", title: title }) : null, jsxs("form", { className: "w-[468px]", method: "POST", action: FORM_URL, children: [jsx(CurrencyInput, { name: AMOUNT_KEY, value: value, onChange: handleChange, valid: value === '' || !isDisabled, placeholder: placeholder, label: label }), button?.text ? (jsx("button", { type: "submit", className: `w-full p-4 mt-6 ${buttonStyle} `, disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
1441
1369
  });
1442
1370
 
1443
1371
  const mapChildren = (mapper) => (children) => {
@@ -1447,8 +1375,6 @@
1447
1375
  return Array.isArray(children) ? children.map(mapper) : mapper(children, 0);
1448
1376
  };
1449
1377
 
1450
- const style = (...atoms) => atoms.filter(Boolean).join(' ');
1451
-
1452
1378
  const SwipeListItem = JSX(({ className = '', style, idx, activeIndex, observerOptions, children, onIntersection }) => {
1453
1379
  const observerCallback = useCallback((entries) => {
1454
1380
  if (entries.length && onIntersection) {
@@ -1561,16 +1487,16 @@
1561
1487
  };
1562
1488
 
1563
1489
  const ITEMS_GAP = 4;
1564
- const blurBaseStyle = 'absolute top-0 bottom-0 z-50 w-[84px]';
1490
+ const blurBaseStyle = 'absolute top-0 bottom-0 z-50 w-[84px] pointer-events-none';
1565
1491
  const scrollButtonStyle = 'absolute top-[calc(50%-12px)] z-50';
1566
- const Carousel = JSX(({ className = '', itemCount, visibleItemCount, isBlur = true, isCyclic = false, ...rest }) => {
1492
+ const Carousel = JSX(({ className = '', itemCount, visibleItemCount, isBlur = true, isCyclic = false, isPadding = true, ...rest }) => {
1567
1493
  const { blocks: childBlocks } = rest.block || {};
1568
1494
  const count = itemCount || childBlocks?.length || 0;
1569
1495
  const [containerRef, scroll] = useSwipeListScroll({
1570
1496
  itemCount: count,
1571
1497
  isCyclic,
1572
1498
  });
1573
- return (jsx(BlockWrapper, { className: `font-sans p-12 ${className}`, ...rest, children: jsxs("div", { className: "relative max-w-full", children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderChildren(rest) }), (scroll.canScrollLeft || scroll.canScrollRight) && isBlur ? (jsxs("div", { children: [jsx("div", { className: `${blurBaseStyle} left-0 bg-opacity-from-white` }), jsx("div", { className: `${blurBaseStyle} right-0 bg-opacity-to-white` })] })) : null, renderScrollButtons(scroll)] }) }));
1499
+ return (jsx(BlockWrapper, { className: style(getPaddingStyle(isPadding), className), ...rest, children: jsxs("div", { className: "relative max-w-full", children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderChildren(rest) }), (scroll.canScrollLeft || scroll.canScrollRight) && isBlur ? (jsxs("div", { children: [jsx("div", { className: `${blurBaseStyle} left-0 bg-opacity-from-white` }), jsx("div", { className: `${blurBaseStyle} right-0 bg-opacity-to-white` })] })) : null, renderScrollButtons(scroll)] }) }));
1574
1500
  });
1575
1501
  Carousel.childrenTypes = [
1576
1502
  'CarouselCard',
@@ -1583,42 +1509,37 @@
1583
1509
  'CarouselInvestmentCard',
1584
1510
  ];
1585
1511
  const renderScrollButtons = ({ scrollLeft, scrollRight, canScrollLeft, canScrollRight, }) => (jsxs("div", { children: [canScrollLeft ? (jsx(ScrollLeftButton, { className: `${scrollButtonStyle} left-8`, onClick: scrollLeft })) : null, canScrollRight ? (jsx(ScrollRightButton, { className: `${scrollButtonStyle} right-8`, onClick: scrollRight })) : null] }));
1512
+ const getPaddingStyle = (isPadding) => (isPadding ? 'p-12' : '');
1586
1513
 
1587
1514
  const BLOCK_CLASSES = 'absolute border border-solid border-gray w-full h-full';
1588
1515
  const CARD_WIDTH_MAP = {
1589
1516
  normal: 'min-w-[970px]',
1590
1517
  mini: 'min-w-[355px]',
1591
1518
  };
1592
- const CarouselCard = JSX(({ className = '', button, description, title, version = 'normal' }) => (jsx("section", { className: `flex pb-9 pl-12 border-box ${CARD_WIDTH_MAP[version]} ${className}`, children: jsxs("div", { className: "relative w-full", children: [jsx("div", { className: `${BLOCK_CLASSES} z-10 top-9 right-12 bg-green-dark` }), jsx("div", { className: `${BLOCK_CLASSES} z-10 top-6 right-8 bg-green` }), jsx("div", { className: `${BLOCK_CLASSES} z-10 top-3 right-4 bg-green-light` }), jsxs("div", { className: "relative bg-white z-10 p-10 border border-solid border-green-light", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "L", align: "text-left" }), button ? jsx("div", { className: "mt-14", children: renderButton({ button }) }) : null] })] }) })));
1519
+ const CarouselCard = JSX(({ className = '', button, description, title, carouselVersion = 'normal' }) => (jsx("section", { className: `flex pb-9 pl-12 border-box ${CARD_WIDTH_MAP[carouselVersion]} ${className}`, children: jsxs("div", { className: "relative w-full", children: [jsx("div", { className: `${BLOCK_CLASSES} z-10 top-9 right-12 bg-green-dark` }), jsx("div", { className: `${BLOCK_CLASSES} z-10 top-6 right-8 bg-green` }), jsx("div", { className: `${BLOCK_CLASSES} z-10 top-3 right-4 bg-green-light` }), jsxs("div", { className: "relative bg-white z-10 p-10 border border-solid border-green-light", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "L", align: "text-left" }), renderButtonsSection([button], { className: 'mt-14' })] })] }) })));
1593
1520
 
1594
1521
  const cardStyleMap$2 = {
1595
1522
  black: 'bg-black',
1596
1523
  white: 'bg-white',
1597
1524
  };
1598
- const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors, version = 'primary' }) => (jsxs("section", { className: `border box-border border-gray p-7 min-w-[392px] flex flex-col justify-left ${VersionStyleMap[version]} ${className}`, role: "listitem", children: [image?.src ? jsx(ImgInner, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? (jsx("div", { className: "mb-4", children: jsx(Paragraph, { size: "text-m", align: "text-left", font: "font-light", children: description }) })) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: jsx(Text, { children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }) }), colors.map(renderColorOption$1)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null, button ? renderButton({ button, buttonClassName: 'mt-5 w-full' }) : null] })));
1525
+ const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors, ...rest }) => (jsxs(BlockWrapper, { className: `border box-border border-gray p-7 min-w-[392px] flex flex-col justify-left ${className}`, role: "listitem", ...rest, children: [image?.src ? jsx(ImgInner, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? (jsx("div", { className: "mb-4", children: jsx(Paragraph, { size: "text-m", align: "text-left", font: "font-light", children: description }) })) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: jsx(Text, { children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }) }), colors.map(renderColorOption$1)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null, renderButtonsSection([button], { buttonClassName: 'mt-5 w-full' })] })));
1599
1526
  const renderColorOption$1 = (color, i) => (jsx("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap$2[color]}` }, String(i)));
1600
1527
 
1601
- const BorderVersionStyleMap = {
1602
- primary: 'border-gray',
1603
- secondary: 'border-white/50',
1604
- };
1605
-
1606
1528
  const BaseTile = JSX(({ className = '', title = '', buttons, image, children }) => (jsxs("div", { className: `font-sans flex flex-col grow h-full items-start ${className}`, children: [title, jsxs("div", { className: "flex grow w-full justify-between", children: [jsxs("div", { className: "flex flex-col justify-between w-full", children: [jsx("div", { className: "h-full", children: children }), buttons ? jsx("div", { className: "mt-auto pt-8", children: buttons }) : null] }), image] })] })));
1607
1529
 
1608
1530
  const getItemListFontSize = (colValue) => (colValue === 1 ? 'text-h6' : 'text-l');
1609
1531
  const cardColumnsModeStyleMap = {
1610
- 1: 'flex gap-y-2 flex-col',
1611
- 2: 'flex gap-y-2 gap-x-10 flex-wrap',
1532
+ 1: 'flex-col',
1533
+ 2: 'gap-x-10 flex-wrap',
1612
1534
  };
1613
- const CarouselInvestmentCard = JSX(({ additionalDescription, cardsList = [], className = '', columnsMode = 1, description, image, title, version = 'primary', ...rest }) => {
1535
+ const CarouselInvestmentCard = JSX(({ additionalDescription, cardsList = [], className = '', columnsMode = 1, description, image, title, ...rest }) => {
1614
1536
  const tileTitle = title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
1615
1537
  const tileImage = image?.src ? (jsx(ImgInner, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
1616
1538
  return (jsx(BlockWrapper, { className: [
1617
- 'relative text-left border border-solid box-border p-9 w-[697px]',
1618
- VersionStyleMap[version],
1619
- BorderVersionStyleMap[version],
1539
+ 'relative box-border text-left p-9 w-[697px]',
1540
+ 'border border-solid border-gray group-data-secondary:border-white/50',
1620
1541
  className,
1621
- ].join(' '), ...rest, children: jsxs(BaseTile, { title: tileTitle, image: tileImage, children: [jsxs("div", { className: "flex justify-between mb-4", children: [description ? (jsx("div", { className: "w-1/3", children: jsx(Text, { size: "text-h6", children: description }) })) : null, additionalDescription ? (jsx(Text, { size: "text-m", font: "font-light", color: VersionAdditionalStyleMap[version], children: additionalDescription })) : null] }), cardsList.length ? (jsx("ul", { className: `list-none m-0 p-0 ${cardColumnsModeStyleMap[columnsMode]}`, children: renderCardList(cardsList, columnsMode) })) : null] }) }));
1542
+ ].join(' '), ...rest, children: jsxs(BaseTile, { title: tileTitle, image: tileImage, children: [jsxs("div", { className: "flex justify-between mb-4", children: [description ? (jsx("div", { className: "w-1/3", children: jsx(Text, { size: "text-h6", children: description }) })) : null, additionalDescription ? (jsx(Text, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription })) : null] }), cardsList.length ? (jsx("ul", { className: `list-none m-0 p-0 flex gap-y-2 ${cardColumnsModeStyleMap[columnsMode]}`, children: renderCardList(cardsList, columnsMode) })) : null] }) }));
1622
1543
  });
1623
1544
  const renderCardList = (cardsList, columnsMode) => {
1624
1545
  const CARDS_COUNT_MAP = [4, 9];
@@ -1628,45 +1549,33 @@
1628
1549
 
1629
1550
  const LINK_CLASS_NAME = `absolute border border-primary-main ml-3 px-6 py-5
1630
1551
  text-l-light bg-white text-primary-text flex w-[316px]
1631
- justify-between items-center group-hover:text-primary-main z-10`;
1552
+ justify-between items-center group-hover/link:text-primary-main z-10`;
1632
1553
  const LINK_BORDER_CLASS_NAME = 'bg-transparent border-white border h-[70px] absolute w-[316px] top-0';
1633
1554
  const LinkButton = JSX(({ text, href = '', target = '', className = '' }) => {
1634
1555
  if (!text) {
1635
1556
  return null;
1636
1557
  }
1637
- return (jsxs("div", { className: `relative group cursor-pointer w-[328px] h-[82px] ${className}`, children: [jsxs("a", { className: LINK_CLASS_NAME, role: "link", href: href, target: target, children: [jsx("div", { className: "p-0.5", children: text }), jsx("div", { className: "w-6 h-6", children: jsx(ImgInner, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border brightness-0 group-hover:brightness-100", image: { icon: 'ArrowRightIcon', iconVersion: 'black' }, imageClassName: "group-hover:text-primary-main", width: "24", height: "24", asSVG: true }) })] }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mx-1.5 mt-1.5` }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mt-3 mr-3` })] }));
1558
+ return (jsxs("div", { className: `relative group/link cursor-pointer w-[328px] h-[82px] ${className}`, children: [jsxs("a", { className: LINK_CLASS_NAME, role: "link", href: href, target: target, children: [jsx("div", { className: "p-0.5", children: text }), jsx("div", { className: "w-6 h-6", children: jsx(ImgInner, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border brightness-0 group-hover/link:brightness-100", image: { icon: 'ArrowRightIcon', iconVersion: 'black' }, imageClassName: "group-hover/link:text-primary-main", width: "24", height: "24", asSVG: true }) })] }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mx-1.5 mt-1.5` }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mt-3 mr-3` })] }));
1638
1559
  });
1639
1560
 
1640
1561
  const MAX_LINKS_COUNT = 12;
1641
- const CarouselLinks = JSX(({ className = '', additionalDescription, description, links, title, ...rest }) => {
1642
- return (jsxs(BlockWrapper, { className: `bg-primary-main flex w-full p-10 overflow-hidden justify-between font-sans ${className}`, ...rest, children: [jsxs("div", { className: "flex flex-col max-w-96 pr-9 text-white text-xl-light", children: [jsx(Headline, { title: title, as: "h1", description: description, align: "text-left", className: "p-0", bgColorHeadline: "secondary" }), additionalDescription ? (jsx("div", { className: "pt-6", children: jsx(Paragraph, { children: additionalDescription }) })) : null] }), links?.length ? renderLinks(links) : null] }));
1562
+ const CarouselLinks = JSX(({ className = '', additionalDescription, description, links, title, version = 'secondary', ...rest }) => {
1563
+ return (jsxs(BlockWrapper, { className: `flex w-full p-10 overflow-hidden justify-between ${className}`, version: version, ...rest, children: [jsxs("div", { className: "flex flex-col max-w-96 pr-9 text-white text-xl-light", children: [jsx(Headline, { className: "p-0", title: title, description: description, as: "h1", align: "text-left" }), additionalDescription ? (jsx("div", { className: "pt-6", children: jsx(Paragraph, { children: additionalDescription }) })) : null] }), links?.length ? renderLinks(links) : null] }));
1643
1564
  });
1644
1565
  const renderLinks = (links) => {
1645
1566
  const itemCount = Math.ceil(links.length / MAX_LINKS_COUNT);
1646
- return (jsx(Carousel, { className: "min-w-[832px] w-[832px]", isBlur: false, isCyclic: true, itemCount: itemCount, children: new Array(itemCount).fill(null).map((_, groupIndex) => (jsx("div", { className: "w-[672px] min-w-[672px] ml-20 mr-20 flex flex-wrap self-start", children: links
1567
+ return (jsx(Carousel, { version: "", className: "min-w-[832px] w-[832px]", isBlur: false, isCyclic: true, itemCount: itemCount, children: new Array(itemCount).fill(null).map((_, groupIndex) => (jsx("div", { className: "w-[672px] min-w-[672px] ml-20 mr-20 flex flex-wrap self-start", children: links
1647
1568
  .slice(groupIndex * MAX_LINKS_COUNT, (groupIndex + 1) * MAX_LINKS_COUNT)
1648
1569
  .map((link, index) => (jsx(LinkButton, { className: "m-1", ...link }, String(index)))) }, String(groupIndex)))) }));
1649
1570
  };
1650
1571
 
1651
- const LIST_DOT_STYLE_MAP = {
1652
- primary: 'bg-primary-text',
1653
- secondary: 'bg-white',
1654
- gray: 'bg-secondary-text',
1655
- };
1656
1572
  const DOT_SIZE_MAP = {
1657
1573
  L: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-4',
1658
1574
  M: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-3',
1659
1575
  S: 'w-1 h-1 min-w-1 min-h-1 mr-2',
1660
1576
  };
1661
- const ListItem = JSX(({ className = '', isDotted = true, children, version = 'primary', size = 'M' }) => {
1662
- return (jsxs("div", { className: `font-sans flex items-baseline ${className}`, role: "listitem", children: [isDotted ? (jsx("div", { children: jsx("div", { className: `rounded-full align-middle inline-block ${LIST_DOT_STYLE_MAP[version]} ${DOT_SIZE_MAP[size]}` }) })) : null, jsx("span", { children: children })] }));
1663
- });
1577
+ const ListItem = JSX(({ className = '', isDotted = true, children, size = 'M' }) => (jsxs("div", { className: `font-sans flex items-baseline ${className}`, role: "listitem", children: [isDotted ? (jsx("div", { children: jsx("div", { className: `rounded-full align-middle inline-block bg-primary-text group-data-secondary:bg-white ${DOT_SIZE_MAP[size]}` }) })) : null, jsx("span", { children: children })] })));
1664
1578
 
1665
- const TEXT_STYLE_MAP = {
1666
- primary: 'text-primary-text',
1667
- secondary: 'text-white',
1668
- gray: 'text-secondary-text',
1669
- };
1670
1579
  const TEXT_SIZE_MAP = {
1671
1580
  S: 'text-l-light',
1672
1581
  M: 'text-h6',
@@ -1677,35 +1586,24 @@
1677
1586
  M: 'ml-3',
1678
1587
  L: 'ml-4',
1679
1588
  };
1680
- const List = JSX((props) => {
1681
- const { className = '', hasIndent, isDotted, itemClassName = '', items, listItemSize = 'M', version = 'primary', } = props;
1682
- if (!items?.length) {
1683
- return null;
1684
- }
1685
- return (jsx("section", { className: `${TEXT_STYLE_MAP[version]} ${TEXT_SIZE_MAP[listItemSize]} ${className} ${hasIndent ? ITEM_INDENT_MAP[listItemSize] : ''}`, role: "list", children: items.map((item, i) => (jsx(ListItem, { className: `${itemClassName} mb-1.5`, isDotted: isDotted, version: version, size: listItemSize, children: item }, String(i)))) }));
1686
- });
1589
+ const List = JSX(({ className = '', hasIndent, isDotted, itemClassName = '', items, listItemSize = 'M' }) => items?.length ? (jsx("section", { className: `text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text ${TEXT_SIZE_MAP[listItemSize]} ${hasIndent ? ITEM_INDENT_MAP[listItemSize] : ''} ${className}`, role: "list", children: items.map((item, i) => (jsx(ListItem, { className: `${itemClassName} mb-1.5`, isDotted: isDotted, size: listItemSize, children: item }, String(i)))) })) : null);
1687
1590
 
1688
- const descriptionStyleMap = {
1689
- primary: 'text-secondary-text',
1690
- secondary: 'text-white/80',
1691
- };
1692
- const BORDER_STYLE = 'box-border border-solid border border-gray ';
1693
- const CarouselProductCard = JSX(({ title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items = [], button = {}, version = 'primary', isDotted = true, align = 'center', }) => {
1694
- return (jsxs("section", { className: [
1695
- 'flex flex-col justify-between items-stretch min-w-[260px] h-full w-full p-6',
1696
- BORDER_STYLE,
1697
- AlignText[align],
1698
- VersionStyleMap[version],
1699
- ].join(' '), role: "listitem", children: [jsxs("div", { className: "flex flex-col h-full", children: [renderImage$4(icon, version), renderCardTitle$1(headlineSmallVersion, title), renderDescription$4(description, title), renderItems$2(items, isDotted, version), renderAdditionalDescription$2(additionalDescription, version)] }), renderButton({ button, buttonClassName: 'mt-6' })] }));
1591
+ const CarouselProductCard = JSX(({ className = '', title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items = [], button = {}, version = 'primary', isDotted = true, align = 'text-center', ...rest }) => {
1592
+ return (jsxs(BlockWrapper, { className: style('flex flex-col justify-between items-stretch min-w-[260px] h-full w-full p-6', 'box-border border-solid border border-gray', align, className), role: "listitem", version: version, ...rest, children: [jsxs("div", { className: "flex flex-col h-full", children: [renderImage$4(icon), renderCardTitle$1(headlineSmallVersion, title), renderDescription$4(description, title), renderItems$1(items, isDotted, version), renderAdditionalDescription$2(additionalDescription)] }), renderButtonsSection([button], { buttonClassName: 'mt-6 w-full' })] }));
1700
1593
  });
1701
- const renderImage$4 = (image, version) => (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? (jsx(ImgInner, { className: `w-[32px] h-[32px] min-w-[32px] mb-5 rounded-full`, image: getIconWithVersion(image, version), asSVG: true })) : null] }));
1594
+ const renderImage$4 = (image) => (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? (jsx(ImgInner, { className: `w-[32px] h-[32px] min-w-[32px] mb-5 rounded-full`, image: image, asSVG: true })) : null] }));
1702
1595
  const renderCardTitle$1 = (headlineSmallVersion, title) => title ? jsx(Text, { size: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) : null;
1703
1596
  const renderDescription$4 = (description, title) => description ? (jsx("div", { className: title ? 'mt-2' : '', children: jsx(Paragraph, { size: "text-l", children: description }) })) : null;
1704
- const renderAdditionalDescription$2 = (additionalDescription, version = 'primary') => additionalDescription ? (jsx("div", { className: "mt-auto", children: jsx(Text, { size: "text-m", font: "font-light", color: descriptionStyleMap[version], children: additionalDescription }) })) : null;
1705
- const renderItems$2 = (items, isDotted, version = 'primary') => items?.length ? (jsx(List, { className: `max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, version: version })) : null;
1597
+ const renderAdditionalDescription$2 = (additionalDescription) => additionalDescription ? (jsx("div", { className: "mt-auto", children: jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text group-data-secondary:text-white/80", children: additionalDescription }) })) : null;
1598
+ const renderItems$1 = (items, isDotted, version = 'primary') => items?.length ? (jsx(List, { className: `max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted })) : null;
1599
+
1600
+ const getIconWithVersion = (icon, version = 'primary') => ({
1601
+ ...icon,
1602
+ iconVersion: icon?.iconVersion ?? (version === 'secondary' ? 'white' : 'color'),
1603
+ });
1706
1604
 
1707
- const CarouselProgramsCard = JSX(({ className = '', title, icon, list = [], version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: `font-sans border border-gray flex min-w-[536px] ${VersionStyleMap[version]} ${className}`, ...rest, children: [jsxs("div", { className: "w-[200px] min-w-[200px] self-center", children: [icon?.icon ? jsx(ImgInner, { image: getIconWithVersion(icon), asSVG: true }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null] }), jsxs("div", { className: "p-8 pl-3 w-full", children: [title ? jsx(Heading, { className: " mb-3.5", headingType: "h5", title: title }) : null, list.length ? jsx("div", { className: "flex flex-col gap-3", children: list?.map(renderList$2) }) : null] })] })));
1708
- const renderList$2 = (_, i) => (jsxs("div", { className: "break-words", children: [_.title ? jsx("div", { className: `text-h6`, children: _.title }) : null, _.description ? jsx("span", { className: "text-l-light mt-1", children: _.description }) : null] }, String(i)));
1605
+ const CarouselProgramsCard = JSX(({ className = '', title, icon, list = [], ...rest }) => (jsxs(BlockWrapper, { className: `border border-gray flex min-w-[536px] ${className}`, ...rest, children: [jsxs("div", { className: "w-[200px] min-w-[200px] self-center", children: [icon?.icon ? jsx(ImgInner, { image: getIconWithVersion(icon), asSVG: true }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null] }), jsxs("div", { className: "p-8 pl-3 w-full", children: [title ? jsx(Heading, { className: " mb-3.5", headingType: "h5", title: title }) : null, list.length ? jsx("div", { className: "flex flex-col gap-3", children: list?.map(renderList$1) }) : null] })] })));
1606
+ const renderList$1 = (_, i) => (jsxs("div", { className: "break-words", children: [_.title ? jsx("div", { className: `text-h6`, children: _.title }) : null, _.description ? jsx("span", { className: "text-l-light mt-1", children: _.description }) : null] }, String(i)));
1709
1607
 
1710
1608
  const ICONS_MAP = [
1711
1609
  {
@@ -1733,46 +1631,39 @@
1733
1631
  icon: { icon: 'PlayMarketIcon' },
1734
1632
  label: 'Google Play',
1735
1633
  },
1634
+ {
1635
+ origins: ['youtube.com'],
1636
+ icon: { icon: 'YoutubeIcon' },
1637
+ label: 'Youtube',
1638
+ },
1736
1639
  ];
1737
- const BUTTON_SIZE = {
1738
- default: ' w-14 h-14',
1739
- small: ' w-12 h-12',
1640
+ const buttonSizeStyles = {
1641
+ default: 'w-14 h-14',
1642
+ small: 'w-12 h-12',
1740
1643
  };
1741
- const MediaButton = JSX(({ version = 'primary', isRounded = false, buttonSize = 'default', ...rest }) => {
1644
+ const MediaButton = JSX(({ isRounded = false, buttonSize = 'default', iconVersion = 'color', ...rest }) => {
1742
1645
  const link = useLink();
1743
1646
  const { href, onClick } = link(rest);
1744
1647
  const { icon, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
1745
- if (!icon) {
1746
- return null;
1747
- }
1748
- const classes = version === 'secondary'
1749
- ? 'bg-white hover:bg-secondary-hover'
1750
- : 'border-solid border border-main-divider hover:border-transparent hover:bg-primary-main';
1751
- const isPrimary = version === 'primary' ? 'hover:text-black' : '';
1752
- const rounded = isRounded ? 'rounded-full' : 'rounded-md';
1753
- return (jsx("a", { className: `flex items-center justify-center group box-border ${classes} ${rounded} ${isPrimary} ${BUTTON_SIZE[buttonSize]}`, href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", onClick: onClick, children: icon ? (jsx(ImgInner, { image: getIconWithVersion(icon), imageClassName: "group-hover:text-white", width: "24", height: "24", asSVG: true })) : null }));
1648
+ const iconWithVersion = icon ? { ...getIconWithVersion(icon), iconVersion } : null;
1649
+ return icon ? (jsx("a", { className: style('group/media flex items-center justify-center box-border', buttonSizeStyles[buttonSize], isRounded ? 'rounded-full' : 'rounded-md', 'border-solid border border-main-divider hover:border-transparent', 'hover:bg-primary-main hover:text-black', 'group-data-secondary:bg-white group-data-secondary:hover:bg-secondary-hover'), href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", onClick: onClick, children: iconWithVersion ? (jsx(ImgInner, { image: iconWithVersion, imageClassName: "group-hover/media:text-white", width: "24", height: "24", asSVG: true })) : null })) : null;
1754
1650
  });
1755
1651
 
1756
- const SocialMedia = JSX(({ className = '', media, version, isRounded = false, buttonSize, children }) => (jsxs("div", { className: "font-sans", children: [jsx("div", { className: `flex gap-2.5 ${className}`, children: media?.map((_, index) => (jsx(MediaButton, { version: version, isRounded: isRounded, buttonSize: buttonSize, ..._ }, String(index)))) }), jsx("span", { className: "text-s-light text-secondary-text", children: children })] })));
1652
+ const SocialMedia = JSX(({ className = '', media, isRounded = false, buttonSize, children }) => (jsxs("div", { className: "font-sans", children: [jsx("div", { className: `flex gap-2.5 ${className}`, children: media?.map((_, index) => (jsx(MediaButton, { isRounded: isRounded, buttonSize: buttonSize, ..._ }, String(index)))) }), jsx("span", { className: "text-s-light text-secondary-text", children: children })] })));
1757
1653
 
1758
- const CarouselRecommendationCard = JSX(({ button, className = '', description, image, items = [], socialMedia = [], title, version = 'primary', ...rest }) => {
1654
+ const CarouselRecommendationCard = JSX(({ button, className = '', description, image, items = [], socialMedia = [], title, ...rest }) => {
1759
1655
  const tileTitle = title ? (jsx(Heading, { headingType: "h5", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
1760
1656
  const tileImage = image?.src ? (jsx(ImgInner, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
1761
- return (jsx(BlockWrapper, { className: `relative text-left border border-solid box-border p-7 min-w-[524px]
1762
- ${BorderVersionStyleMap[getOmitVersion(version)]}
1763
- ${VersionWithGrayStyleMap[version]}
1764
- ${className}`, ...rest, children: jsx(BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: jsxs("div", { className: "h-full flex flex-col justify-between", children: [description ? jsx("span", { className: "mb-2", children: description }) : null, items.length ? (jsx(List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items, version: version })) : null, socialMedia.length ? (jsx(SocialMedia, { className: "pt-10 pb-0", media: socialMedia, version: getOmitVersion(version) })) : null, button?.text ? jsx("div", { className: "pt-2 mt-16", children: renderButton({ button }) }) : null] }) }) }));
1657
+ const BORDER_STYLE = 'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider';
1658
+ return (jsx(BlockWrapper, { className: style('relative p-7 min-w-[524px] text-left box-border group-data-gray:bg-main-divider/50', BORDER_STYLE, className), ...rest, children: jsx(BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: jsxs("div", { className: "h-full flex flex-col justify-between", children: [description ? jsx("span", { className: "mb-2", children: description }) : null, items.length ? (jsx(List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items })) : null, socialMedia.length ? jsx(SocialMedia, { className: "pt-10 pb-0", media: socialMedia }) : null, renderButtonsSection([button], { className: 'pt-2 mt-16' })] }) }) }));
1765
1659
  });
1766
- const getOmitVersion = (version) => version === 'gray' ? 'primary' : version;
1767
1660
 
1768
1661
  const VISIBLE_CELLS_COUNT = 1;
1769
1662
  const CarouselTariffsCard = JSX(({ className = '', title, icon, isHighlighting, button, cardCells = [], ...rest }) => {
1770
1663
  const cellsNode = cardCells.map(renderCardInfo);
1771
1664
  const visibleCells = cellsNode.slice(0, VISIBLE_CELLS_COUNT);
1772
1665
  const hiddenCells = cellsNode.slice(VISIBLE_CELLS_COUNT);
1773
- return (jsxs(BlockWrapper, { className: `font-sans relative bg-white border border-gray min-w-[322px] p-8 flex flex-col
1774
- ${getHitStyle(isHighlighting)}
1775
- ${className}`, ...rest, children: [isHighlighting ? renderHitIcon() : null, renderIconBlock(icon), title ? (jsx(Heading, { className: "text-primary-text text-center pt-2", headingType: "h5", title: title })) : null, button ? jsx(Button, { className: "w-full mt-4", ...button }) : null, cardCells.length ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [visibleCells, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton$1 : null })) : null] }));
1666
+ return (jsxs(BlockWrapper, { className: style('relative border border-gray min-w-[322px] p-8 flex flex-col', getHitStyle(isHighlighting), className), ...rest, children: [isHighlighting ? renderHitIcon() : null, renderIconBlock(icon), title ? jsx(Heading, { className: "text-center pt-2", headingType: "h5", title: title }) : null, button ? jsx(Button, { className: "w-full mt-4", ...button }) : null, cardCells.length ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [visibleCells, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton$1 : null })) : null] }));
1776
1667
  });
1777
1668
  const renderIconBlock = (icon) => (jsxs("div", { className: "w-[267px] min-w-[267px] self-center", children: [icon?.src ? jsx(ImgInner, { image: icon }) : null, icon?.icon ? jsx(ImgInner, { image: getIconWithVersion(icon), asSVG: true }) : null] }));
1778
1669
  const getHitStyle = (isHighlighting) => isHighlighting ? 'mt-9 pt-[70px]' : 'mt-[70px] pt-7';
@@ -1784,7 +1675,7 @@
1784
1675
  black: 'bg-black',
1785
1676
  white: 'bg-white',
1786
1677
  };
1787
- const CatalogCard = JSX(({ className = '', title, description, image, price, button, colors }) => (jsxs("section", { className: `border border-solid box-border border-gray p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? jsx(ImgInner, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, button ? renderButton({ button, buttonClassName: 'mt-5 w-full' }) : null] })));
1678
+ const CatalogCard = JSX(({ className = '', title, description, image, price, button, colors }) => (jsxs("section", { className: `border border-solid box-border border-gray p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? jsx(ImgInner, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, renderButtonsSection([button], { buttonClassName: 'mt-5 w-full' })] })));
1788
1679
  const renderColorOption = (color, i) => (jsx("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap$1[color]}` }, String(i)));
1789
1680
 
1790
1681
  const BLUR_BLOCK_CLASSES$1 = 'absolute top-0 bottom-0 w-[84px]';
@@ -1795,7 +1686,7 @@
1795
1686
  itemCount: cards?.length,
1796
1687
  visibleItemCount: CARD_VIEW_COUNT$1,
1797
1688
  });
1798
- return (jsxs(BlockWrapper, { className: `bg-white relative font-sans p-12 overflow-hidden text-center ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", ...rest }), jsx("div", { className: "flex duration-1000 gap-3.5 mt-8", style: { transform: `translateX(-${activeIndex * CARD_SHIFT$1}px)` }, role: "list", children: cards?.length ? cards.map((card, i) => jsx(CatalogCard, { ...card }, String(i))) : null }), renderArrows({
1689
+ return (jsxs(BlockWrapper, { className: `p-12 overflow-hidden text-center ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", ...rest }), jsx("div", { className: "flex duration-1000 gap-3.5 mt-8", style: { transform: `translateX(-${activeIndex * CARD_SHIFT$1}px)` }, role: "list", children: cards?.length ? cards.map((card, i) => jsx(CatalogCard, { ...card }, String(i))) : null }), renderArrows({
1799
1690
  ...controls,
1800
1691
  btnClass: ['left-8', 'right-8'],
1801
1692
  className: 'top-1/2 z-10 mt-6',
@@ -1803,13 +1694,13 @@
1803
1694
  });
1804
1695
 
1805
1696
  const GRADIENT = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
1806
- const BORDER_CLASSES$1 = 'border-gray border-solid border';
1697
+ const BORDER_CLASSES = 'border-gray border-solid border';
1807
1698
  const DIVIDER_CLASSES$1 = 'border-main-divider border border-t-0 border-x-0';
1808
1699
  const FIRST_CELL_CLASSES$1 = 'w-[200px] mr-6';
1809
1700
  const COLS_LENGTH_FOR_SCROLL$1 = 3;
1810
1701
  const COLUMN_WIDTH$2 = 4 * 80 + 4 * 4; // w-80 + gap-4 = 336px
1811
1702
 
1812
- const HeaderCell = JSX(({ icon, image, title, link }) => (jsxs("div", { className: `w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-[46px] ${BORDER_CLASSES$1} ${GRADIENT}`, role: "columnheader", children: [icon && !image?.src && (jsx(ImgInner, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", image: getIconWithVersion(icon), width: "63", height: "63", asSVG: true })), image?.src && jsx(ImgInner, { className: "mb-[18px]", image: image }), title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "text-center text-white", title: title })) : null, link?.text && (jsx("div", { className: "mt-auto w-full", children: jsx(Button, { href: link.href, target: link.target, className: "mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active", children: jsx("div", { className: "text-xs-light font-medium py-[11px]", children: link.text }) }) }))] })));
1703
+ const HeaderCell = JSX(({ icon, image, title, link }) => (jsxs("div", { className: `w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-[46px] ${BORDER_CLASSES} ${GRADIENT}`, role: "columnheader", children: [icon && !image?.src && (jsx(ImgInner, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", image: getIconWithVersion(icon), width: "63", height: "63", asSVG: true })), image?.src && jsx(ImgInner, { className: "mb-[18px]", image: image }), title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "text-center text-white", title: title })) : null, link?.text && (jsx("div", { className: "mt-auto w-full", children: jsx(Button, { href: link.href, target: link.target, className: "mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active", children: jsx("div", { className: "text-xs-light font-medium py-[11px]", children: link.text }) }) }))] })));
1813
1704
 
1814
1705
  const carouselContainerClassesMap = {
1815
1706
  comparison: 'flex gap-4 duration-1000',
@@ -1822,7 +1713,7 @@
1822
1713
  const ComparisonTableColumnHeaders = JSX(({ colHeaders, activeIndex }) => (jsxs(TableRowContainer, { children: [jsx("div", { className: FIRST_CELL_CLASSES$1, role: "columnheader" }), jsx(TableCarouselContainer, { activeIndex: activeIndex, columnWidth: COLUMN_WIDTH$2, children: colHeaders.map((header, i) => (jsx(HeaderCell, { ...header }, String(i)))) })] })));
1823
1714
 
1824
1715
  const TableCell = JSX(({ cell, isFirstRow, isLastRow, isFillGradient }) => {
1825
- const cellWrapperClasses = `w-80 box-border flex flex-col ${BORDER_CLASSES$1} ${!isLastRow ? 'border-y-0' : 'border-t-0 rounded-b-md'} ${isFillGradient ? GRADIENT : ''}`;
1716
+ const cellWrapperClasses = `w-80 box-border flex flex-col ${BORDER_CLASSES} ${!isLastRow ? 'border-y-0' : 'border-t-0 rounded-b-md'} ${isFillGradient ? GRADIENT : ''}`;
1826
1717
  const cellClasses = `mx-7 h-full ${DIVIDER_CLASSES$1} ${isFillGradient && isFirstRow ? 'border-t' : ''} ${!isLastRow ? 'border-solid' : 'border-b-0'}`;
1827
1718
  return (jsx("div", { className: cellWrapperClasses, role: "cell", children: jsx("div", { className: cellClasses, children: cell.map((item, i) => renderCellInner$1(item, i, isFillGradient)) }) }));
1828
1719
  });
@@ -1865,15 +1756,15 @@
1865
1756
  const ComparisonTable = JSX(({ className = '', title, rowHeaders, columns, visibleRowLength = 0, isColoredFirstColumn = false, ...rest }) => {
1866
1757
  const [isShowAllRow, setIsShowAllRow] = useState(!visibleRowLength);
1867
1758
  const handleToggle = useCallback(() => setIsShowAllRow((_) => !_), []);
1868
- return (jsxs(BlockWrapper, { className: `bg-white font-sans py-12 pl-12 overflow-hidden text-primary-text relative ${className}`, ...rest, children: [jsx(Heading, { headingType: "h2", className: "max-w-[47rem] text-center mb-9 mx-auto", title: title }), jsx(ComparisonTableBody, { columns: columns, rowHeaders: rowHeaders, isShowAllRow: isShowAllRow, isColoredFirstColumn: isColoredFirstColumn, visibleRowLength: visibleRowLength }), visibleRowLength
1759
+ return (jsxs(BlockWrapper, { className: `py-12 pl-12 overflow-hidden relative ${className}`, ...rest, children: [jsx(Heading, { headingType: "h2", className: "max-w-[47rem] text-center mb-9 mx-auto", title: title }), jsx(ComparisonTableBody, { columns: columns, rowHeaders: rowHeaders, isShowAllRow: isShowAllRow, isColoredFirstColumn: isColoredFirstColumn, visibleRowLength: visibleRowLength }), visibleRowLength
1869
1760
  ? renderShowMoreToggleButton({ isShowAllRow, onClick: handleToggle })
1870
1761
  : null] }));
1871
1762
  });
1872
1763
  const renderShowMoreToggleButton = ({ isShowAllRow, onClick, }) => (jsx("div", { className: "pr-12", children: jsxs("div", { className: "flex w-full", children: [jsx("div", { className: FIRST_CELL_CLASSES$1 }), jsx("button", { onClick: onClick, className: "mt-5 flex-1 border-gray border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main", children: jsx("div", { className: "font-sans text-xs-light font-medium py-3", children: !isShowAllRow ? 'Показать все параметры' : 'Скрыть' }) })] }) }));
1873
1764
 
1874
- const ContactsBlock = JSX(({ className = '', contacts, info, version = 'secondary', ...rest }) => (jsxs(BlockWrapper, { className: `${VersionStyleMap[version]} flex p-12 ${className}`, ...rest, children: [info?.length ? renderBlocks(info, version) : null, contacts?.length ? renderBlocks(contacts, version) : null] })));
1875
- const renderBlocks = (info, version) => (jsx("div", { className: "flex grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index, version })) }));
1876
- const renderBlocksColumn = ({ column, index, version }) => column ? (jsx("div", { className: "flex flex-col grow basis-0 pr-11 last:pr-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => (jsxs("div", { className: "mt-6 first:mt-0", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "XS", align: "text-left", bgColorHeadline: version }), additionalDescription ? (jsx("div", { className: "mt-1.5 opacity-80", children: jsx(Paragraph, { size: "text-m-light", children: additionalDescription }) })) : null, button ? jsx(Button, { className: "mt-6", ...button }) : null] }, String(key)))) }, `col-${String(index)}`)) : null;
1765
+ const ContactsBlock = JSX(({ className = '', contacts, info, version = 'secondary', ...rest }) => (jsxs(BlockWrapper, { className: `flex p-12 ${className}`, version: version, ...rest, children: [info?.length ? renderBlocks(info) : null, contacts?.length ? renderBlocks(contacts) : null] })));
1766
+ const renderBlocks = (info) => (jsx("div", { className: "flex grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index })) }));
1767
+ const renderBlocksColumn = ({ column, index }) => column ? (jsx("div", { className: "flex flex-col grow basis-0 pr-11 last:pr-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => (jsxs("div", { className: "mt-6 first:mt-0", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "XS", align: "text-left" }), additionalDescription ? (jsx("div", { className: "mt-1.5 opacity-80", children: jsx(Paragraph, { size: "text-m", font: "font-light", children: additionalDescription }) })) : null, button ? jsx(Button, { className: "mt-6", ...button }) : null] }, String(key)))) }, `col-${String(index)}`)) : null;
1877
1768
 
1878
1769
  const renderErrorContent = (error) => {
1879
1770
  if (error?.errorContentType === 'Image' && error?.image) {
@@ -1975,7 +1866,7 @@
1975
1866
  setSelectedItem(value || { key: '', text: '' });
1976
1867
  }, [value]);
1977
1868
  return (jsxs("div", { className: `${className}`, ref: wrapperRef, children: [label ? jsx("span", { className: "mb-2 flex text-primary-text", children: label }) : null, jsxs("div", { className: `relative ${isOpen ? 'z-20' : 'z-10'}`, children: [jsxs("div", { className: `text-l flex justify-between items-center mb-0.5 text-primary-text cursor-pointer
1978
- ${getBorderStyle(isBorder)}`, onClick: () => setIsOpen(!isOpen), children: [jsx("p", { className: "p-4 pr-8 h-14 overflow-hidden text-ellipsis whitespace-nowrap", children: selectedItem?.text || placeholder }), jsx(Icon, { name: "ArrowUpIcon", width: "16", height: "16", className: `absolute right-3 ${isOpen ? '' : 'rotate-180'}` })] }), options?.length ? (jsx("div", { className: `h-0 ${renderOptionsStyle(isOpen)}`, children: jsx("div", { className: `bg-white text-l max-h-64 overflow-y-auto overflow-x-hidden rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]`, children: options.map(renderOption(choiceOption, isOpen, isSelected)) }) })) : null] })] }));
1869
+ ${getBorderStyle$1(isBorder)}`, onClick: () => setIsOpen(!isOpen), children: [jsx("p", { className: "p-4 pr-8 h-14 overflow-hidden text-ellipsis whitespace-nowrap", children: selectedItem?.text || placeholder }), jsx(Icon, { name: "ArrowUpIcon", width: "16", height: "16", className: `absolute right-3 ${isOpen ? '' : 'rotate-180'}` })] }), options?.length ? (jsx("div", { className: `h-0 ${renderOptionsStyle(isOpen)}`, children: jsx("div", { className: `bg-white text-l max-h-64 overflow-y-auto overflow-x-hidden rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]`, children: options.map(renderOption(choiceOption, isOpen, isSelected)) }) })) : null] })] }));
1979
1870
  });
1980
1871
  const renderOptionsStyle = (isOpen) => (isOpen ? '' : 'overflow-hidden');
1981
1872
  const renderOption = (choiceOption, isOpen, isSelected) => (option, i) => {
@@ -1983,7 +1874,7 @@
1983
1874
  choiceOption(option);
1984
1875
  }, className: "flex px-4 py-3 cursor-pointer hover:bg-main-divider pr-11 relative", children: [jsx("span", { className: "min-h-6", children: option.text }), jsx(Icon, { name: "DoneSimpleIcon", width: "16", height: "16", className: ['absolute right-4 pt-0.5', isSelected(option) && isOpen ? '' : 'hidden'].join(' ') })] }, String(i)));
1985
1876
  };
1986
- const getBorderStyle = (isBorder) => isBorder ? 'border border-gray rounded-md hover:border-primary-hover' : '';
1877
+ const getBorderStyle$1 = (isBorder) => isBorder ? 'border border-gray rounded-md hover:border-primary-hover' : '';
1987
1878
 
1988
1879
  function renderInput(props) {
1989
1880
  const { placeholder, rates, selected, value, setValue, setSelected } = props;
@@ -2098,7 +1989,7 @@
2098
1989
  currencyRatesBuy.unshift({ currency: { currency: Currency.RUB } });
2099
1990
  const currencyRatesSell = currencyRates.filter((_) => _.saleExchangeRate);
2100
1991
  currencyRatesSell.push({ currency: { currency: Currency.RUB } });
2101
- return (jsx(BlockWrapper, { className: `bg-white text-primary-text font-sans p-9 box-border min-h-80 ${className}`, ...rest, children: jsx(BaseTile, { title: jsx(Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap text-h4 mb-5" }), children: jsxs("div", { className: "flex", children: [jsxs("div", { className: "mr-14 pt-4", children: [currencyRates ? (jsx(CurrencyTable, { className: "mb-[30px]", exchangeCurrencyItems: currencyRates })) : null, jsx(CurrentLocation$1, { address: exchangeRates?.address })] }), currencyRates.length && currencyRatesBuy.length && currencyRatesSell.length ? (jsx(ExchangeCurrencyCalculator, { className: "grow", currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })) : null] }) }) }));
1992
+ return (jsx(BlockWrapper, { className: `p-9 box-border min-h-80 ${className}`, ...rest, children: jsx(BaseTile, { title: jsx(Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap text-h4 mb-5" }), children: jsxs("div", { className: "flex", children: [jsxs("div", { className: "mr-14 pt-4", children: [currencyRates ? (jsx(CurrencyTable, { className: "mb-[30px]", exchangeCurrencyItems: currencyRates })) : null, jsx(CurrentLocation$1, { address: exchangeRates?.address })] }), currencyRates.length && currencyRatesBuy.length && currencyRatesSell.length ? (jsx(ExchangeCurrencyCalculator, { className: "grow", currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })) : null] }) }) }));
2102
1993
  });
2103
1994
  const getCurrencyRates = (currencies) => {
2104
1995
  return currencies?.filter((_) => _?.currency?.id === 1 || _?.currency?.id === 2) || [];
@@ -2221,10 +2112,10 @@
2221
2112
  const TextInformation = JSX(({ className = '', links }) => (jsxs("div", { className: className, children: [jsx("div", { className: "pt-5", children: jsx("span", { className: "text-xs-light text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.` }) }), links?.length ? (jsx("div", { className: "flex justify-start items-start gap-5 pt-2.5", children: links.map((_, i) => (jsx(TextInformationLink, { index: i, ..._ }, String(i)))) })) : null] })));
2222
2113
 
2223
2114
  const LEFT_COL_WIDTH_FULL_HD = 'w-[204px]';
2224
- const Footer = JSX(({ className, ...rest }) => {
2115
+ const Footer = JSX(({ className = '', ...rest }) => {
2225
2116
  const fallback = rest.options?.page?.fallback;
2226
2117
  const { documents, relatedEnterprises, contacts, socialMedia, mobileApps, topItems, logo } = useSWRResource(projectSettings.FOOTER || 'footer', fallback);
2227
- return (jsxs(BlockWrapper, { tag: "footer", className: `p-9 bg-white font-sans ${className || ''}`, ...rest, children: [jsxs("div", { className: "flex items-stretch gap-[54px] pb-[30px] xl:gap-8", children: [jsx(Logo, { className: LEFT_COL_WIDTH_FULL_HD, logo: logo }), jsx(SearchBar$1, { 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, hasButton: true }), jsx(SocialMedia, { media: socialMedia, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), jsx(SocialMedia, { className: "mt-6", media: mobileApps, 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]", items: topItems, fallback: fallback })] }), jsx(HorizontalNavigation, { className: "mt-[98px]", links: relatedEnterprises }), jsx(TextInformation, { links: documents })] }));
2118
+ return (jsxs(BlockWrapper, { tag: "footer", className: `p-9 ${className}`, ...rest, children: [jsxs("div", { className: "flex items-stretch gap-[54px] pb-[30px] xl:gap-8", children: [jsx(Logo, { className: LEFT_COL_WIDTH_FULL_HD, logo: logo }), jsx(SearchBar$1, { 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, hasButton: true }), jsx(SocialMedia, { media: socialMedia, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), jsx(SocialMedia, { className: "mt-6", media: mobileApps, 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]", items: topItems, fallback: fallback })] }), jsx(HorizontalNavigation, { className: "mt-[98px]", links: relatedEnterprises }), jsx(TextInformation, { links: documents })] }));
2228
2119
  });
2229
2120
 
2230
2121
  const galleryLengthForScrollMap = {
@@ -2240,40 +2131,38 @@
2240
2131
  mini: 276,
2241
2132
  };
2242
2133
 
2243
- const GalleryCardInner = JSX(({ title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items, button, version, isFullWidth = true, isDotted = true, align = 'center', }) => (jsxs("div", { className: `h-full flex flex-col justify-between ${AlignText[align]}`, children: [jsxs("div", { className: "flex flex-col h-full", children: [renderImage$2(icon, version), renderCardTitle(headlineSmallVersion, title), renderDescription$3(description, title), items?.length ? renderItems$1(items, isDotted, version) : null, renderAdditionalDescription$1(additionalDescription, version)] }), button?.text
2244
- ? renderButton({
2245
- button,
2246
- buttonClassName: `mt-6 ${isFullWidth ? '' : 'self-center'}`,
2247
- })
2248
- : null] })));
2249
- const renderImage$2 = (image, version) => (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? (jsx(ImgInner, { className: `w-8 h-8 min-w-8 mb-5 rounded-full`, image: getIconWithVersion(image, version), asSVG: true })) : null] }));
2134
+ const GalleryCardInner = JSX(({ title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items, button, isFullWidth = true, isDotted = true, align = 'center', ...rest }) => (jsxs(BlockWrapper, { className: `h-full flex flex-col justify-between ${AlignText[align]}`, tag: "div", ...rest, children: [jsxs("div", { className: "flex flex-col h-full", children: [renderImage$2(icon), renderCardTitle(headlineSmallVersion, title), renderDescription$3(description, title), items?.length ? renderItems(items, isDotted) : null, renderAdditionalDescription$1(additionalDescription)] }), renderButtonsSection([button], {
2135
+ buttonClassName: `mt-6 ${isFullWidth ? 'w-full' : 'self-center'}`,
2136
+ })] })));
2137
+ const renderImage$2 = (image) => (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? (jsx(ImgInner, { className: `w-8 h-8 min-w-8 mb-5 rounded-full`, image: getIconWithVersion(image), asSVG: true })) : null] }));
2250
2138
  const renderCardTitle = (headlineSmallVersion, title) => title ? jsx("div", { className: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) : null;
2251
2139
  const renderDescription$3 = (description, title) => description ? jsx("div", { className: `text-l ${title ? 'mt-2' : ''}`, children: description }) : null;
2252
- const renderAdditionalDescription$1 = (additionalDescription, version) => additionalDescription ? (jsx("div", { className: `text-m-light mt-auto ${VersionAdditionalStyleMap[version ?? 'primary']}`, children: additionalDescription })) : null;
2253
- const renderItems$1 = (items, isDotted, version = 'primary') => (jsx(List, { className: `max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, version: version }));
2140
+ const renderAdditionalDescription$1 = (additionalDescription) => additionalDescription ? (jsx("div", { className: `text-m-light mt-auto group-data-primary:text-secondary-text`, children: additionalDescription })) : null;
2141
+ const renderItems = (items, isDotted) => (jsx(List, { className: "max-w-[308px] mt-2 text-s group-data-primary:text-secondary-text", itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted }));
2254
2142
 
2255
- const GalleryContainer = JSX(({ headlineVersion = 'M', cards = [], version = 'normal', activeIndex, ...rest }) => (jsxs("div", { children: [jsx(Headline, { ...rest, className: "!p-0", headlineVersion: headlineVersion }), jsx("div", { className: `flex mt-8 ${cards?.length <= galleryLengthForScrollMap[version] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeIndex * cardWidthMap[version]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, version }, i)) })] })));
2256
- function renderCard({ card, version }, i) {
2143
+ const GalleryContainer = JSX(({ headlineVersion = 'M', cards = [], galleryVersion = 'normal', activeIndex, title, description, }) => (jsxs("div", { children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: headlineVersion }), jsx("div", { className: `flex mt-8 ${cards?.length <= galleryLengthForScrollMap[galleryVersion] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeIndex * cardWidthMap[galleryVersion]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, galleryVersion }, i)) })] })));
2144
+ function renderCard({ card, galleryVersion }, i) {
2257
2145
  return (jsx("section", { className: `box-border border-solid border border-gray p-6 mx-2 flex flex-col justify-between
2258
- items-stretch ${cardStyleMap[version]} ${VersionStyleMap[card.version ?? 'primary']} w-full col-span-4`, role: "listitem", children: jsx(GalleryCardInner, { ...card }) }, String(i)));
2146
+ items-stretch ${cardStyleMap[galleryVersion]} ${blockStyles[card.version ?? 'primary'] // TODO Replace with direct BlockWrapper usage
2147
+ } w-full col-span-4`, role: "listitem", children: jsx(GalleryCardInner, { ...card }) }, String(i)));
2259
2148
  }
2260
2149
 
2261
- const GalleryInner = JSX(({ cards = [], className = '', version = 'normal', button, ...rest }) => {
2150
+ const GalleryInner = JSX(({ cards = [], className = '', galleryVersion = 'normal', button, ...rest }) => {
2262
2151
  const [activeIndex, controls] = useCarouselControls({
2263
2152
  itemCount: cards?.length,
2264
- visibleItemCount: galleryLengthForScrollMap[version],
2153
+ visibleItemCount: galleryLengthForScrollMap[galleryVersion],
2265
2154
  });
2266
2155
  const { isScrollAvailable } = controls;
2267
- return (jsxs(BlockWrapper, { className: `relative font-sans text-primary-text bg-white p-[42px] overflow-hidden flex flex-col ${className}`, ...rest, children: [jsx(GalleryContainer, { cards: cards, version: version, activeIndex: activeIndex, ...rest }), renderArrows({
2156
+ return (jsxs(BlockWrapper, { className: `relative p-[42px] overflow-hidden flex flex-col ${className}`, ...rest, children: [jsx(GalleryContainer, { cards: cards, galleryVersion: galleryVersion, activeIndex: activeIndex, ...rest }), renderArrows({
2268
2157
  ...controls,
2269
2158
  btnClass: ['left-8', 'right-8'],
2270
2159
  className: 'top-1/2',
2271
- }), isScrollAvailable ? (jsxs("div", { children: [jsx("div", { className: "absolute top-0 left-0 bottom-0 w-[82px] bg-opacity-from-white" }), jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[82px] bg-opacity-to-white" })] })) : null, button ? renderButton({ button, buttonClassName: 'mt-8 mx-auto' }) : null] }));
2160
+ }), isScrollAvailable ? (jsxs("div", { children: [jsx("div", { className: "absolute top-0 left-0 bottom-0 w-[82px] bg-opacity-from-white" }), jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[82px] bg-opacity-to-white" })] })) : null, renderButtonsSection([button], { className: 'mt-8 mx-auto' })] }));
2272
2161
  });
2273
2162
 
2274
- const Gallery = JSX((props) => jsx(GalleryInner, { ...props, version: "normal" }));
2163
+ const Gallery = JSX((props) => (jsx(GalleryInner, { ...props, galleryVersion: "normal" })));
2275
2164
 
2276
- const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (jsxs(BlockWrapper, { className: `font-sans bg-white p-12 ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0 mb-4", title: title, description: description, headlineVersion: "M", ...rest }), calendar ? renderCalendar(calendar) : null] })));
2165
+ const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (jsxs(BlockWrapper, { className: `p-12 ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0 mb-4", title: title, description: description, headlineVersion: "M" }), calendar ? renderCalendar(calendar) : null] })));
2277
2166
  const renderCalendar = (calendar) => {
2278
2167
  const colCount = calendar.reduce((accumulator, currentValue) => currentValue?.month?.length ? accumulator + currentValue.month.length : accumulator, 0) || 1;
2279
2168
  const colSize = 100 / colCount;
@@ -2307,27 +2196,17 @@
2307
2196
  checkIsHrefSameOrigin(topItem.href, router) ||
2308
2197
  Boolean(projectSettings.BASE_PATH?.startsWith(topItem.href || '/'));
2309
2198
 
2310
- const TEXT_CLASSES$2 = 'font-sans text-s-light';
2311
- const LINK_CLASSES$1 = 'inline-block border border-solid bg-transparent text-center no-underline';
2312
- const TopItem = JSX(({ className = '', active, flat, ariaLabel, bgColor = 'bg-white', children, ...rest }) => {
2199
+ const TopItem = JSX(({ className = '', active, flat, ariaLabel, children, ...rest }) => {
2313
2200
  const link = useLink();
2314
2201
  const { href, target, text, onClick } = link(rest);
2315
- return (jsx("a", { className: `${getLinkClasses(bgColor, active, flat)} ${className}`, href: href, target: target, onClick: onClick, rel: "noopener noreferrer", "aria-label": ariaLabel, children: jsx("span", { className: getTextClasses$1(bgColor, active, flat), children: text || children }) }));
2202
+ return (jsx("a", { className: `${getLinkStyle(active, flat)} ${className}`, href: href, target: target, onClick: onClick, rel: "noopener noreferrer", "aria-label": ariaLabel, children: jsx("span", { className: getTextStyle$1(active, flat), children: text || children }) }));
2316
2203
  });
2317
- const getLinkClasses = (bgColor, active = false, flat = false) => {
2318
- let classes = 'border-transparent';
2319
- if (active) {
2320
- classes = `rounded-md ${bgColor === 'bg-white' ? 'border-primary-main' : 'border-white'}`;
2321
- }
2322
- return `${classes} ${LINK_CLASSES$1} ${flat ? '' : 'px-4 py-2'}`;
2323
- };
2324
- const getTextClasses$1 = (bgColor, active = false, flat = false) => {
2325
- if (bgColor === 'transparent') {
2326
- return `text-white hover:text-primary-hover ${TEXT_CLASSES$2}`;
2327
- }
2328
- const nonActiveAtoms = `${flat ? 'text-primary-text' : 'text-secondary-text'} hover:text-primary-main`;
2329
- return `${active ? 'text-primary-main' : nonActiveAtoms} ${TEXT_CLASSES$2}`;
2330
- };
2204
+ const getLinkStyle = (active = false, flat = false) => style('inline-block border border-solid bg-transparent text-center no-underline', active
2205
+ ? 'rounded-md border-primary-main group-data-transparent:border-white'
2206
+ : 'border-transparent', flat ? '' : 'px-4 py-2');
2207
+ const getTextStyle$1 = (active = false, flat = false) => style('font-sans text-s-light', active
2208
+ ? 'text-primary-main'
2209
+ : style(flat ? 'text-primary-text' : 'text-secondary-text', 'hover:text-primary-main'), 'group-data-transparent:text-white group-data-transparent:hover:text-primary-hover');
2331
2210
 
2332
2211
  const STORAGE_DEFAULT_TTL = 86400000; // 24 * 60 * 60 * 1000
2333
2212
  function useCachedAsyncData(key, fetcher, storage = globalThis?.localStorage) {
@@ -2421,7 +2300,7 @@
2421
2300
  onChangeLocation && onChangeLocation(region);
2422
2301
  close && close();
2423
2302
  }, children: region.name || '' }) }, region.id));
2424
- const ForeignOffices = JSX(({ foreignOffices }) => foreignOffices?.length ? (jsxs("div", { className: "border-t border-main-divider mt-7 pt-7", children: [jsx("div", { className: "mb-4", children: jsx(Text, { size: "text-m-light", color: "text-secondary-text", children: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430 \u0437\u0430 \u0440\u0443\u0431\u0435\u0436\u043E\u043C:" }) }), jsx("div", { className: "flex gap-10", children: foreignOffices.map((office, i) => (jsx(ForeignOffice, { ...office }, String(i)))) })] })) : null);
2303
+ const ForeignOffices = JSX(({ foreignOffices }) => foreignOffices?.length ? (jsxs("div", { className: "border-t border-main-divider mt-7 pt-7", children: [jsx("div", { className: "mb-4", children: jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430 \u0437\u0430 \u0440\u0443\u0431\u0435\u0436\u043E\u043C:" }) }), jsx("div", { className: "flex gap-10", children: foreignOffices.map((office, i) => (jsx(ForeignOffice, { ...office }, String(i)))) })] })) : null);
2425
2304
  const ForeignOffice = JSX(({ icon, ...rest }) => {
2426
2305
  const link = useLink();
2427
2306
  const { text, target, href, onClick } = link(rest);
@@ -2430,28 +2309,17 @@
2430
2309
 
2431
2310
  const HeaderSecondaryMenuButton = JSX(({ className = '', children, ariaLabel }) => (jsx("button", { type: "button", className: `border-0 p-0 w-6 h-6 flex items-center bg-inherit cursor-pointer ${className}`, disabled: true, "aria-label": ariaLabel, children: children })));
2432
2311
 
2433
- const COLORS_MAP = {
2434
- 'bg-white': 'text-primary-text hover:text-primary-main',
2435
- transparent: 'text-white',
2436
- };
2437
- const LINKS_COLORS_MAP = {
2438
- 'bg-white': 'text-secondary-light hover:text-secondary-hover',
2439
- transparent: 'text-white',
2440
- };
2441
- const LINKS_ICON_VERSION_MAP = {
2442
- 'bg-white': 'black',
2443
- transparent: 'white',
2444
- };
2445
- const HeaderSecondaryMenu = JSX(({ className, officesLink, defaultLocation = 'Москва', foreignOffices, bgColor = 'bg-white', }) => {
2312
+ const HeaderSecondaryMenu = JSX(({ version, className, officesLink, defaultLocation = 'Москва', foreignOffices }) => {
2446
2313
  const [isShowLocationModal, setShowLocationModal] = useState(false);
2447
2314
  const [location, onChangeLocation] = useLocation(defaultLocation);
2448
- const showLocationModal = () => {
2315
+ const showLocationModal = useCallback(() => {
2449
2316
  setShowLocationModal(true);
2450
- };
2451
- const hideLocationModal = () => {
2317
+ }, []);
2318
+ const hideLocationModal = useCallback(() => {
2452
2319
  setShowLocationModal(false);
2453
- };
2454
- return (jsxs("div", { className: `flex items-center ${className || ''}`, children: [jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: location.name, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: showLocationModal, bgColor: bgColor }), officesLink ? (jsx(TopItem, { className: "mr-7", flat: true, href: officesLink, 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 })) : null, jsx(HeaderSecondaryMenuButton, { className: `mr-5 group ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: jsx(ImgInner, { image: { icon: 'LoupeIcon', iconVersion: LINKS_ICON_VERSION_MAP[bgColor] }, className: "h-full pointer-events-none", imageClassName: "group-hover:text-primary-hover group-hover:invert-0 pointer-events-none", asSVG: true }) }), jsx(HeaderSecondaryMenuButton, { className: `${LINKS_COLORS_MAP[bgColor]} group min-w-8 min-h-8`, ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: jsx(ImgInner, { image: { icon: 'GridIcon', iconVersion: LINKS_ICON_VERSION_MAP[bgColor] }, className: "h-full bg-main-divider/20 rounded-full pointer-events-none", imageClassName: "group-hover:text-primary-hover group-hover:invert-0", asSVG: true }) }), isShowLocationModal ? (jsx(Location, { currentLocation: location, foreignOffices: foreignOffices, onChangeLocation: onChangeLocation, close: hideLocationModal })) : null] }));
2320
+ }, []);
2321
+ const iconVersion = version === 'transparent' ? 'white' : 'black';
2322
+ return (jsxs("div", { className: `flex items-center ${className || ''}`, children: [jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: location.name, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: showLocationModal }), officesLink ? (jsx(TopItem, { className: "mr-7", flat: true, href: officesLink, 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" })) : null, jsx(HeaderSecondaryMenuButton, { className: "mr-5 group/btn text-primary-text hover:text-primary-main group-data-transparent:text-white", ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: jsx(ImgInner, { image: { icon: 'LoupeIcon', iconVersion }, className: "h-full pointer-events-none", imageClassName: "group-hover/btn:text-primary-hover group-hover/btn:invert-0 pointer-events-none", asSVG: true }) }), jsx(HeaderSecondaryMenuButton, { className: "group/btn min-w-8 min-h-8 text-secondary-light hover:text-secondary-hover group-data-transparent:text-white", ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: jsx(ImgInner, { image: { icon: 'GridIcon', iconVersion }, className: "h-full bg-main-divider/20 rounded-full pointer-events-none", imageClassName: "group-hover/btn:text-primary-hover group-hover/btn:invert-0", asSVG: true }) }), isShowLocationModal ? (jsx(Location, { currentLocation: location, foreignOffices: foreignOffices, onChangeLocation: onChangeLocation, close: hideLocationModal })) : null] }));
2455
2323
  });
2456
2324
 
2457
2325
  const findActiveSubItem = (router) => (items = []) => {
@@ -2461,42 +2329,26 @@
2461
2329
  : undefined;
2462
2330
  };
2463
2331
 
2464
- const DOT_BG_COLORS_MAP = {
2465
- 'bg-white': 'bg-primary-text',
2466
- transparent: 'bg-white',
2467
- };
2468
- const DropdownMenu = JSX(({ className = '', items, activeItem, bgColor }) => {
2332
+ const DropdownMenu = JSX(({ className = '', items, activeItem }) => {
2469
2333
  const link = useLink();
2470
2334
  const [visible, setVisible] = useState(false);
2471
2335
  const handleToggle = useCallback(() => setVisible((_) => !_), []);
2472
2336
  const handleClickOutside = useCallback(() => setVisible(false), []);
2473
2337
  const ref = useOutsideClick(handleClickOutside);
2474
- return (jsxs("div", { className: `${visible ? 'bg-white rounded-md shadow-blue-gray' : ''} ${className}`, ref: ref, children: [jsx("button", { className: "flex justify-between items-center cursor-pointer h-6 ml-6", "aria-label": `${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`, onClick: handleToggle, children: Array(3).fill(bgColor).map(renderDot) }), jsx("div", { className: `flex flex-col rounded-md bg-white p-6 pb-2 ${visible ? '' : 'hidden'}`, "aria-hidden": !visible, children: items?.map((item, i) => (jsx("a", { className: `text-l-light pb-4 hover:text-primary-main ${item === activeItem ? 'text-primary-main' : ''}`, ...link(item), children: item.text }, item.href || String(i)))) })] }));
2338
+ return (jsxs("div", { className: `${visible ? 'bg-white rounded-md shadow-blue-gray' : ''} ${className}`, ref: ref, children: [jsx("button", { className: "group/btn flex justify-between items-center h-6 ml-6", "aria-label": `${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`, onClick: handleToggle, children: Array(3)
2339
+ .fill(null)
2340
+ .map((_, i) => (jsx("div", { className: "w-[3px] h-[3px] rounded mr-1 bg-primary-text group-hover/btn:bg-primary-hover group-data-transparent:bg-white" }, String(i)))) }), jsx("div", { className: `flex flex-col rounded-md bg-white p-6 pb-2 ${visible ? '' : 'hidden'}`, "aria-hidden": !visible, children: items?.map((item, i) => (jsx("a", { className: `text-l-light pb-4 hover:text-primary-main ${item === activeItem ? 'text-primary-main' : ''}`, ...link(item), children: item.text }, item.href || String(i)))) })] }));
2475
2341
  });
2476
- const renderDot = (bgColor, i) => (jsx("div", { className: `w-[3px] h-[3px] rounded mr-1 ${DOT_BG_COLORS_MAP[bgColor]}` }, String(i)));
2477
2342
 
2478
- const TEXT_CLASSES$1 = 'font-sans text-l-light';
2479
- const BORDER_CLASSES = 'absolute left-0 -bottom-3 w-full h-0.5';
2480
- const HeaderItem = JSX(({ className = '', active, bgColor = 'bg-white', dataItemName, children, ...rest }) => {
2343
+ const HeaderItem = JSX(({ className = '', active, dataItemName, children, ...rest }) => {
2481
2344
  const link = useLink();
2482
2345
  const { href, target, text, onClick } = link(rest);
2483
- return (jsxs("a", { className: `relative inline-block bg-transparent text-center no-underline ${className}`, href: href, target: target, "data-item-name": dataItemName, onClick: onClick, children: [jsx("span", { className: getTextClasses(bgColor, active), children: text || children }), active ? jsx("div", { className: getBorderClasses(bgColor, active) }) : null] }));
2346
+ return (jsxs("a", { className: `relative inline-block bg-transparent text-center no-underline ${className}`, href: href, target: target, "data-item-name": dataItemName, onClick: onClick, children: [jsx("span", { className: getTextStyle(active), children: text || children }), active ? jsx("div", { className: getBorderStyle(active) }) : null] }));
2484
2347
  });
2485
- const getTextClasses = (bgColor, active = false) => {
2486
- let classes = 'text-white';
2487
- if (bgColor === 'bg-white') {
2488
- classes = active ? 'text-primary-main' : 'text-primary-text hover:text-primary-main';
2489
- }
2490
- return `${classes} ${TEXT_CLASSES$1}`;
2491
- };
2492
- const getBorderClasses = (bgColor, active = false) => {
2493
- if (!active) {
2494
- return BORDER_CLASSES;
2495
- }
2496
- return `${bgColor === 'bg-white' ? 'bg-primary-main' : bgColor} ${BORDER_CLASSES}`;
2497
- };
2348
+ const getTextStyle = (active = false) => style('font-sans text-l-light', active ? 'text-primary-main' : 'text-primary-text hover:text-primary-main', 'group-data-transparent:text-white group-data-transparent:hover:text-primary-hover');
2349
+ const getBorderStyle = (active = false) => style('absolute left-0 -bottom-3 w-full h-0.5', active ? 'bg-primary-main group-data-transparent:bg-transparent' : '');
2498
2350
 
2499
- const HeaderSubMenuItem = JSX(({ className, active, bgColor, observerOptions, onVisibilityChange, children, ...linkProps }) => {
2351
+ const HeaderSubMenuItem = JSX(({ className, active, observerOptions, onVisibilityChange, children, ...linkProps }) => {
2500
2352
  const observerCallback = useCallback((entries) => {
2501
2353
  if (!entries.length || !onVisibilityChange) {
2502
2354
  return;
@@ -2506,10 +2358,10 @@
2506
2358
  onVisibilityChange(entry.isIntersecting);
2507
2359
  }, [onVisibilityChange]);
2508
2360
  const ref = useIntersectionObserver(observerCallback, observerOptions);
2509
- return (jsx("span", { ref: ref, children: jsx(HeaderItem, { className: className, active: active, bgColor: bgColor, ...linkProps, children: children }) }));
2361
+ return (jsx("span", { ref: ref, children: jsx(HeaderItem, { className: className, active: active, ...linkProps, children: children }) }));
2510
2362
  });
2511
2363
 
2512
- const HeaderSubMenu = JSX(({ subItems = [], bgColor }) => {
2364
+ const HeaderSubMenu = JSX(({ subItems = [] }) => {
2513
2365
  const router = useRouter();
2514
2366
  const activeSubItem = findActiveSubItem(router)(subItems);
2515
2367
  const [visibleItemsCount, setVisibleItemsCount] = useState(subItems.length);
@@ -2521,35 +2373,34 @@
2521
2373
  ? handleIntersectionActivation(index)
2522
2374
  : handleIntersectionDeactivation(index));
2523
2375
  }), [subItems]);
2524
- return (jsxs("nav", { className: "relative mt-6", children: [jsx("div", { ref: subItemsListRef, className: "overflow-hidden whitespace-nowrap mr-52 pb-3", children: subItems.map((_, i) => (jsx(HeaderSubMenuItem, { className: `mr-8 ${visibleItemsCount - 1 < i ? 'invisible' : ''}`, active: _ === activeSubItem, bgColor: bgColor, observerOptions: observerOptions, onVisibilityChange: subItemsVisibilityHandlers[i], ..._ }, String(i)))) }), dropDownMenuItems.length ? (jsx(DropdownMenu, { className: "absolute w-52 -top-4 right-0 pt-4 z-40", items: dropDownMenuItems, activeItem: activeSubItem, bgColor: bgColor })) : null] }));
2376
+ return (jsxs("nav", { className: "relative mt-6", children: [jsx("div", { ref: subItemsListRef, className: "overflow-hidden whitespace-nowrap mr-52 pb-3", children: subItems.map((_, i) => (jsx(HeaderSubMenuItem, { className: `mr-8 ${visibleItemsCount - 1 < i ? 'invisible' : ''}`, active: _ === activeSubItem, observerOptions: observerOptions, onVisibilityChange: subItemsVisibilityHandlers[i], ..._ }, String(i)))) }), dropDownMenuItems.length ? (jsx(DropdownMenu, { className: "absolute w-52 -top-4 right-0 pt-4 z-40", items: dropDownMenuItems, activeItem: activeSubItem })) : null] }));
2525
2377
  });
2526
2378
  const handleIntersectionActivation = (index) => (prev) => Math.max(prev, index + 1);
2527
2379
  const handleIntersectionDeactivation = (index) => (prev) => Math.min(prev, index);
2528
2380
 
2529
- const BORDER_COLORS = {
2530
- 'bg-white': 'bg-main-divider',
2531
- transparent: 'bg-main-divider opacity-30',
2381
+ const BG_COLOR_TO_BLOCK_VERSION = {
2382
+ 'bg-white': 'primary',
2383
+ transparent: 'transparent',
2532
2384
  };
2533
- const Header = JSX(({ bgColor = 'bg-white', className = '', showSubMenu = true, ...rest }) => {
2385
+ const Header = JSX(({ bgColor = 'bg-white', className = '', showSubMenu = true, version = BG_COLOR_TO_BLOCK_VERSION[bgColor], ...rest }) => {
2534
2386
  const router = useRouter();
2535
2387
  const { topItems, logo, defaultLocation, foreignOffices, officesLink } = useSWRResource(projectSettings.SITEMAP || 'sitemap', rest.options?.page?.fallback);
2536
2388
  const activeTopItem = topItems?.find(isTopItemActive(router));
2537
- const topMenu = topItems?.map((_, i) => (jsx(TopItem, { active: _ === activeTopItem, "aria-label": _.text, bgColor: bgColor, ..._ }, String(i))));
2538
- return (jsx(BlockWrapper, { tag: "header", className: `pt-6 px-20 ${bgColor} ${className} ${showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5'}`, ...rest, children: jsxs("div", { className: "container", children: [jsxs("div", { className: "flex items-center", children: [jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topMenu, jsx(HeaderSecondaryMenu, { className: "ml-auto", foreignOffices: foreignOffices, defaultLocation: defaultLocation, officesLink: officesLink, bgColor: bgColor })] }), jsx("div", { className: `mt-6 h-px ${BORDER_COLORS[bgColor]}` }), showSubMenu && activeTopItem?.items?.length ? (jsx(HeaderSubMenu, { subItems: activeTopItem.items, bgColor: bgColor })) : null] }) }));
2389
+ const topMenu = topItems?.map((_, i) => (jsx(TopItem, { active: _ === activeTopItem, "aria-label": _.text, ..._ }, String(i))));
2390
+ return (jsx(BlockWrapper, { tag: "header", className: `pt-6 px-20 ${className} ${showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5'}`, version: version, ...rest, children: jsxs("div", { className: "container", children: [jsxs("div", { className: "flex items-center", children: [jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topMenu, jsx(HeaderSecondaryMenu, { version: version, className: "ml-auto", foreignOffices: foreignOffices, defaultLocation: defaultLocation, officesLink: officesLink })] }), jsx("div", { className: `mt-6 h-px bg-main-divider${version === 'transparent' ? ' opacity-30' : ''}` }), showSubMenu && activeTopItem?.items?.length ? (jsx(HeaderSubMenu, { subItems: activeTopItem.items })) : null] }) }));
2539
2391
  });
2540
2392
 
2541
- const HorizontalLayout = JSX(({ className = '', gap = 'XS', isPadding = false, version = 'transparent', options, ...rest }) => {
2542
- const paddingStyle = isPadding ? 'p-12' : '';
2543
- return (jsx(BlockWrapper, { className: [
2544
- 'grid grid-cols-12',
2545
- paddingStyle,
2546
- GapStyleMap[gap],
2547
- LayoutBackgroundStyleMap[version],
2548
- className,
2549
- ]
2550
- .filter(Boolean)
2551
- .join(' '), ...rest, children: renderChildren({ ...rest, options: options }) }));
2552
- });
2393
+ const gapStyles = {
2394
+ XXL: 'gap-12',
2395
+ XL: 'gap-10',
2396
+ L: 'gap-8',
2397
+ M: 'gap-4',
2398
+ S: 'gap-2',
2399
+ XS: 'gap-1',
2400
+ '': '',
2401
+ };
2402
+
2403
+ const HorizontalLayout = JSX(({ className = '', gap = 'XS', isPadding = false, version = 'transparent', ...rest }) => (jsx(BlockWrapper, { className: style('grid grid-cols-12', isPadding ? 'p-12' : '', gapStyles[gap], className), version: version, ...rest, children: renderChildren(rest) })));
2553
2404
  HorizontalLayout.childrenTypes = {
2554
2405
  exclude: ['HorizontalLayout'],
2555
2406
  };
@@ -2609,7 +2460,7 @@
2609
2460
  const InsuranceAmountBlock = JSX(({ className = '', title, insuranceTabs = [], button, ...rest }) => {
2610
2461
  const [activeSlideIndex, setActiveSlideIndex] = useState(0);
2611
2462
  const handleActiveSlideIndex = useCallback((_) => setActiveSlideIndex(_), []);
2612
- return (jsxs(BlockWrapper, { className: `box-border py-12 overflow-hidden relative font-sans w-100 bg-white ${className}`, ...rest, children: [title ? jsx(Heading, { className: "text-center mb-8", title: title, headingType: "h3" }) : null, insuranceTabs?.length > 1 ? (jsx("div", { className: "p-1.5 bg-secondary-light w-fit mx-auto mb-7 rounded-md", children: insuranceTabs.map((item, i) => renderNavButton$1({
2463
+ return (jsxs(BlockWrapper, { className: `box-border py-12 overflow-hidden relative w-100 ${className}`, ...rest, children: [title ? jsx(Heading, { className: "text-center mb-8", title: title, headingType: "h3" }) : null, insuranceTabs?.length > 1 ? (jsx("div", { className: "p-1.5 bg-secondary-light w-fit mx-auto mb-7 rounded-md", children: insuranceTabs.map((item, i) => renderNavButton$1({
2613
2464
  title: item?.title,
2614
2465
  i,
2615
2466
  isActive: Boolean(i === activeSlideIndex),
@@ -2653,7 +2504,7 @@
2653
2504
  if (investmentZeroColumn) {
2654
2505
  colums.unshift(investmentZeroColumn);
2655
2506
  }
2656
- return (jsx(BlockWrapper, { className: `font-sans bg-white px-9 py-12 ${className}`, ...rest, children: jsxs("div", { className: "container text-m-light", children: [colums?.length ? (jsxs("div", { children: [jsxs("div", { className: "flex items-end relative pl-9 pr-5 text-white", children: [joinList(jsx("div", { className: "w-px h-4 bg-gray" }))(colums.map(renderInvestmentColumn)), jsx("div", { className: "absolute right-[30px] w-px h-4 bg-gray" })] }), jsx("div", { className: "border-t border-gray -mt-2 ml-9 mr-8" }), jsx("div", { className: "flex justify-between text-primary-text mt-3 -mx-10", children: colums.map(renderInvestmentColumnTitle) })] })) : null, items?.length ? (jsx(List, { className: "mt-9 text-l-light max-w-[657px]", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }) }));
2507
+ return (jsx(BlockWrapper, { className: `px-9 py-12 ${className}`, ...rest, children: jsxs("div", { className: "container text-m-light", children: [colums?.length ? (jsxs("div", { children: [jsxs("div", { className: "flex items-end relative pl-9 pr-5 text-white", children: [joinList(jsx("div", { className: "w-px h-4 bg-gray" }))(colums.map(renderInvestmentColumn)), jsx("div", { className: "absolute right-[30px] w-px h-4 bg-gray" })] }), jsx("div", { className: "border-t border-gray -mt-2 ml-9 mr-8" }), jsx("div", { className: "flex justify-between text-primary-text mt-3 -mx-10", children: colums.map(renderInvestmentColumnTitle) })] })) : null, items?.length ? (jsx(List, { className: "mt-9 text-l-light max-w-[657px]", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }) }));
2657
2508
  });
2658
2509
  const renderInvestmentColumn = (column, i, arr) => {
2659
2510
  const isSecondColumn = i === 1;
@@ -2694,23 +2545,23 @@
2694
2545
  return index !== -1 ? href.substring(index + 1) : '';
2695
2546
  };
2696
2547
 
2697
- 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", textClassName: "self-center text-l-light", suffixClassName: "text-secondary-text group-hover:text-primary-main", doc: doc, icon: icon })));
2548
+ 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", textClassName: "self-center text-l-light", suffixClassName: "text-secondary-text group-hover/item:text-primary-main", doc: doc, icon: icon })));
2698
2549
 
2699
2550
  const LinkDocsList = JSX(({ className, documents, columnsMode = 'double', icon }) => {
2700
- 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;
2551
+ 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/item flex align-middle h-fit w-fit text-primary-text no-underline hover:text-primary-main", doc: doc, icon: icon }) }, String(i)))) })) : null;
2701
2552
  });
2702
2553
 
2703
2554
  const linkColumnsModeStyleMap = {
2704
2555
  double: 'flex gap-x-5 gap-y-[26px] flex-wrap',
2705
2556
  single: 'flex gap-3.5 flex-col',
2706
2557
  };
2707
- const LinkDocs = JSX(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => (jsxs(BlockWrapper, { className: `font-sans text-primary-text p-12 bg-white ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, align: align, headlineVersion: "M", as: "h2", ...rest }), jsx(LinkDocsList, { className: `mt-8 ${linkColumnsModeStyleMap[columnsMode]}`, columnsMode: columnsMode, documents: documents, icon: icon })] })));
2558
+ const LinkDocs = JSX(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => (jsxs(BlockWrapper, { className: style('p-12', className), ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, align: align, headlineVersion: "M", as: "h2" }), jsx(LinkDocsList, { className: `mt-8 ${linkColumnsModeStyleMap[columnsMode]}`, columnsMode: columnsMode, documents: documents, icon: icon })] })));
2708
2559
 
2709
- const MiniGallery = JSX((props) => (jsx(GalleryInner, { ...props, version: "mini" })));
2560
+ const MiniGallery = JSX((props) => (jsx(GalleryInner, { ...props, galleryVersion: "mini" })));
2710
2561
 
2711
2562
  const getColSpan = (className) => {
2712
2563
  const colSpanPrefix = 'col-span-';
2713
- const colSpanStr = className.split(/\s+/).find((_) => _.startsWith(colSpanPrefix));
2564
+ const colSpanStr = className?.split(/\s+/).find((_) => _.startsWith(colSpanPrefix));
2714
2565
  return colSpanStr ? parseInt(colSpanStr.substring(colSpanPrefix.length), 10) : 12;
2715
2566
  };
2716
2567
 
@@ -2728,17 +2579,14 @@
2728
2579
  }
2729
2580
 
2730
2581
  const MobileAppTile = JSX(({ className = '', title = 'Мобильное приложение', qr, buttons, version = 'primary', items, image, headingType = 'h4', alignTitle = 'left', description, ...rest }) => {
2731
- const textColorClass = version === 'primary' ? 'text-primary-text' : '';
2732
2582
  const containerStyle = version === 'secondary' ? 'p-3.5 min-w-[120px]' : 'min-w-[92px]';
2733
- const buttonsWithClass = buttons?.map((_) => ({ ..._, className: 'min-w-[168px]' }));
2734
- return (jsxs(BlockWrapper, { className: `flex justify-between font-sans p-12 box-border relative min-h-80
2735
- ${getTileMinHeight(className)}
2736
- ${VersionStyleMap[version]}
2737
- ${className}`, ...rest, children: [jsxs(BaseTile, { className: "z-10", title: title ? (jsx(Heading, { headingType: headingType, as: "h3", title: title, className: `whitespace-pre-wrap mb-7 w-full
2738
- ${textColorClass} ${AlignText[alignTitle]}` })) : null, buttons: buttons?.length ? (jsx(ButtonSection, { buttons: buttonsWithClass, className: "flex gap-4 mt-8", ...rest })) : null, children: [renderDescription$2(description), jsxs("div", { className: "flex flex-1 items-center mb-3", children: [qr?.src ? (jsx("div", { className: `flex justify-center mr-5 bg-white rounded-md ${containerStyle}`, children: jsx(ImgInner, { className: "w-fit", image: qr }) })) : null, renderList$1(version, items)] })] }), image?.src ? (jsx("div", { className: "absolute right-0 bottom-0", children: jsx(ImgInner, { image: image }) })) : null] }));
2583
+ return (jsxs(BlockWrapper, { className: `flex justify-between p-12 box-border relative min-h-80 ${getTileMinHeight(className)} ${className}`, version: version, ...rest, children: [jsxs(BaseTile, { className: "z-10", title: title ? (jsx(Heading, { headingType: headingType, as: "h3", title: title, className: `whitespace-pre-wrap mb-7 w-full ${AlignText[alignTitle]}` })) : null, buttons: renderButtonsSection(buttons, {
2584
+ className: 'mt-8',
2585
+ buttonClassName: 'min-w-[168px]',
2586
+ }), children: [renderDescription$2(description), jsxs("div", { className: "flex flex-1 items-center mb-3", children: [qr?.src ? (jsx("div", { className: `flex justify-center mr-5 bg-white rounded-md ${containerStyle}`, children: jsx(ImgInner, { className: "w-fit", image: qr }) })) : null, renderList(items)] })] }), image?.src ? (jsx("div", { className: "absolute right-0 bottom-0", children: jsx(ImgInner, { image: image }) })) : null] }));
2739
2587
  });
2740
- const renderList$1 = (version, items) => {
2741
- return items?.length ? (jsx(List, { items: items, itemClassName: "text-l-light mb-2 last:mb-0", version: version })) : (jsx("span", { className: "text-m-light text-secondary-text", children: "\u041D\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u0430\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430 \u043D\u0430 QR-\u043A\u043E\u0434 \u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }));
2588
+ const renderList = (items) => {
2589
+ return items?.length ? (jsx(List, { items: items, itemClassName: "text-l-light mb-2 last:mb-0" })) : (jsx("span", { className: "text-m-light text-secondary-text", children: "\u041D\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u0430\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430 \u043D\u0430 QR-\u043A\u043E\u0434 \u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }));
2742
2590
  };
2743
2591
  const renderDescription$2 = (description) => description ? jsx("p", { className: "text-xl-light mb-5 pt-0.5", children: description }) : null;
2744
2592
 
@@ -3144,7 +2992,7 @@
3144
2992
  return (jsxs("div", { className: `flex flex-col font-sans bg-white w-full ${className}`, children: [jsxs("div", { className: "flex flex-col px-12 pt-12", children: [jsxs("div", { className: "flex justify-between", children: [jsx("div", { className: "text-h2", children: name }), renderCurrentDaySchedule(currentWeekDay)] }), jsxs("div", { className: "flex text-l-light pt-4", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24", asSVG: true, className: "pr-1" }), address] }), jsx("div", { className: "flex pt-4", children: nearbyOffices.map(renderNearbyOffice) })] }), jsxs("div", { className: "flex justify-between pt-8", children: [jsx("div", { className: "flex-grow h-full w-full overflow-hidden", children: point ? jsx(YandexMap, { points: [point], className: "h-full" }) : null }), jsx("div", { className: "w-[434px] min-w-[434px] pl-9 pr-12 pb-14 flex flex-col", children: workScheduleWeek.map(renderDay) })] })] }));
3145
2993
  });
3146
2994
 
3147
- const OfficeServicesBlock = JSX(({ className = '', title, servicesList, ...rest }) => (jsxs(BlockWrapper, { className: `font-sans bg-white p-8 flex flex-col ${className}`, ...rest, children: [title ? jsx(Heading, { headingType: "h5", className: "mb-5", title: title }) : null, servicesList?.length ? (jsx("ul", { className: "list-none m-0 p-0", children: servicesList.map(renderListItems) })) : null] })));
2995
+ const OfficeServicesBlock = JSX(({ className = '', title, servicesList, ...rest }) => (jsxs(BlockWrapper, { className: `p-8 flex flex-col ${className}`, ...rest, children: [title ? jsx(Heading, { headingType: "h5", className: "mb-5", title: title }) : null, servicesList?.length ? (jsx("ul", { className: "list-none m-0 p-0", children: servicesList.map(renderListItems) })) : null] })));
3148
2996
  const renderListItems = (itemList, i) => (jsxs("li", { className: "flex mb-5 last:mb-0 list-none", children: [itemList.icon ? (jsx(ImgInner, { className: "mr-3 min-w-6 min-h-6 w-6 h-6", width: "24", height: "24", asSVG: true, image: getIconWithVersion(itemList.icon) })) : null, itemList.label ? jsx("span", { className: "text-l-light", children: itemList.label }) : null] }, `list_item_${String(i)}`));
3149
2997
 
3150
2998
  const OtherProducts = JSX(({ className = '', ...rest }) => (jsx(BlockWrapper, { className: `font-sans text-primary-text ${className}`, ...rest, children: renderChildren(rest) })));
@@ -3185,24 +3033,13 @@
3185
3033
  });
3186
3034
  OtherProductsItem.childrenTypes = []; // All types of blocks are suitable
3187
3035
 
3188
- const ParagraphBlock = JSX((props) => {
3189
- const { className, text, size, color, align, font, ...rest } = props;
3190
- return (jsx(BlockWrapper, { className: className, ...rest, children: jsx(Paragraph, { size: size, color: color, align: align, font: font, children: text }) }));
3191
- });
3036
+ const ParagraphBlock = JSX(({ text, size, align, font, children, ...rest }) => (jsx(BlockWrapper, { ...rest, children: jsx(Paragraph, { size: size, align: align, font: font, children: text || children }) })));
3192
3037
 
3193
- const titleStyleMap = {
3194
- primary: 'text-primary-text',
3195
- secondary: 'text-white',
3196
- };
3197
- const descStyleMap = {
3198
- primary: 'text-secondary-text',
3199
- secondary: 'text-white',
3200
- };
3201
3038
  const BenefitItem = JSX((props) => {
3202
3039
  const { className = '', icon, label, description, version = 'primary', benefitsVersion = 'normal', } = props;
3203
3040
  const listItemAlign = description ? 'items-start' : 'items-center';
3204
3041
  const calcVersion = benefitsVersion === 'white' ? 'secondary' : 'primary';
3205
- return (jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (jsx("div", { className: getBenefitIconBgStyle(version, benefitsVersion), children: jsx(ImgInner, { className: "w-6 h-6", image: getIconWithVersion(icon, calcVersion), asSVG: true }) })) : null, jsxs("div", { className: "gap-0.5", children: [label ? jsx("div", { className: `text-h6 ${titleStyleMap[version]}`, children: label }) : null, description ? (jsx("div", { className: `text-m-light ${descStyleMap[version]}`, children: description })) : null] })] }));
3042
+ return (jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (jsx("div", { className: getBenefitIconBgStyle(version, benefitsVersion), children: jsx(ImgInner, { className: "w-6 h-6", image: getIconWithVersion(icon, calcVersion), asSVG: true }) })) : null, jsxs("div", { className: "gap-0.5", children: [label ? (jsx("div", { className: "text-h6 text-primary-text group-data-secondary:text-white", children: label })) : null, description ? (jsx("div", { className: "text-m-light text-secondary-text group-data-secondary:text-white", children: description })) : null] })] }));
3206
3043
  });
3207
3044
  function getBenefitIconBgStyle(version, benefitsVersion) {
3208
3045
  let bgColorStyle = 'bg-primary-main text-black';
@@ -3215,7 +3052,7 @@
3215
3052
  return `w-12 h-12 min-w-12 rounded-full p-2.5 box-border flex items-center justify-center ${bgColorStyle}`;
3216
3053
  }
3217
3054
 
3218
- const PictureText = JSX(({ className = '', title, description, image, benefits, version = 'primary', sum, monthLimit, directionRight = false, ...rest }) => (jsxs(BlockWrapper, { className: `relative font-sans py-12 px-24 ${VersionStyleMap[version]} ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", bgColorHeadline: version, ...rest }), jsxs("div", { className: 'flex justify-center gap-[122px] mt-[30px]', children: [image?.src ? jsx(ImgInner, { className: directionRight ? 'order-2' : '', image: image }) : null, jsxs("div", { className: "w-[558px] m-auto", children: [benefits?.length ? (jsx("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit$2(version)) })) : null, renderInsuranceSumMonth(Number(sum), Number(monthLimit))] })] })] })));
3055
+ const PictureText = JSX(({ className = '', title, description, image, benefits, sum, monthLimit, directionRight = false, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: `relative py-12 px-24 ${className}`, version: version, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M" }), jsxs("div", { className: 'flex justify-center gap-[122px] mt-[30px]', children: [image?.src ? jsx(ImgInner, { className: directionRight ? 'order-2' : '', image: image }) : null, jsxs("div", { className: "w-[558px] m-auto", children: [benefits?.length ? (jsx("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit$2(version)) })) : null, renderInsuranceSumMonth(Number(sum), Number(monthLimit))] })] })] })));
3219
3056
  const renderBenefit$2 = (version) => (benefit, i) => (jsx(BenefitItem, { icon: benefit.icon, label: benefit.label, description: benefit.description, version: version }, String(i)));
3220
3057
  function renderInsuranceSumMonth(sum, monthLimit) {
3221
3058
  return sum || monthLimit ? (jsxs("div", { className: "bg-main-divider rounded-md flex mt-7 gap-6 px-5 py-4", children: [Number(sum) > 0 ? renderValueBlock('Страховая сумма:', sum, Boolean(monthLimit)) : null, Number(monthLimit) > 0
@@ -3255,7 +3092,7 @@
3255
3092
 
3256
3093
  const GOLDEN_RATIO = 1.618;
3257
3094
  const Placeholder = JSX(({ className, title, description = 'Блок в разработке...', ...rest }) => {
3258
- return (jsxs(BlockWrapper, { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: [jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: getTileHeadingType(className), ...rest }), jsx("figure", { className: "m-0 min-w-[80%]", children: renderShimmer() })] }));
3095
+ return (jsxs(BlockWrapper, { className: style('p-9 box-border', className, getTileRightPadding(className), getTileMinHeight(className)), ...rest, children: [jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: getTileHeadingType(className) }), jsx("figure", { className: "m-0 min-w-[80%]", children: renderShimmer() })] }));
3259
3096
  });
3260
3097
  const renderShimmer = (size = 3) => goldenSequence(100, size)
3261
3098
  .map((_) => Math.floor(_))
@@ -3271,10 +3108,10 @@
3271
3108
 
3272
3109
  const renderBenefit$1 = (version = 'primary', benefitsVersion = 'normal') => ({ icon, label, description }, i) => (jsx(BenefitItem, { icon: icon, label: label, description: description, version: version, benefitsVersion: benefitsVersion }, String(i)));
3273
3110
 
3274
- const ProductBlockInner = JSX(({ className = '', title, headlineVersion = 'L', description, benefitsCountOfRow = 3, benefits, benefitsVersion, buttons, footnote, image, items, version = 'primary', isDotted = true, textBlockClassName = '', ...rest }) => {
3111
+ const ProductBlockInner = JSX(({ className = '', title, headlineVersion = 'L', description, benefitsCountOfRow = 3, benefits, benefitsVersion, buttons, footnote, image, items, version = 'primary', isDotted = true, textBlockClassName = '', }) => {
3275
3112
  const benefitsCount = benefits?.filter((_) => _.label)?.length;
3276
3113
  const benefitsContainerStyles = getBenefitsContainerStyles(benefitsCountOfRow);
3277
- return (jsxs("div", { className: `flex grow justify-between items-stretch h-full ${className}`, children: [jsxs("div", { className: `flex flex-col ${textBlockClassName}`, children: [jsx(Headline, { title: title, description: description, className: `!p-0 max-w-[600px]`, bgColorHeadline: version, headlineVersion: headlineVersion, align: "text-left", ...rest }), jsxs("div", { className: "flex flex-col justify-between h-full", children: [jsxs(BaseTile, { buttons: buttons?.length ? (jsx(ButtonSection, { buttons: buttons, className: "flex gap-4", ...rest })) : null, children: [benefitsCount ? (jsx("div", { className: benefitsContainerStyles, children: benefits.map(renderBenefit$1(version, benefitsVersion)) })) : null, items?.length ? (jsx(List, { className: "mt-5 text-h6", items: items, itemClassName: "mb-[7px]", version: version, isDotted: isDotted })) : null] }), footnote ? jsx("p", { className: "text-m-light pt-12", children: footnote }) : null] })] }), image?.src && jsx(ImgInner, { className: "mt-[-50px]", image: image })] }));
3114
+ return (jsxs("div", { className: style('flex grow justify-between items-stretch h-full', className), children: [jsxs("div", { className: style('flex flex-col', textBlockClassName), children: [jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: headlineVersion, align: "text-left" }), jsxs("div", { className: "flex flex-col justify-between h-full", children: [jsxs(BaseTile, { buttons: renderButtonsSection(buttons), children: [benefitsCount ? (jsx("div", { className: benefitsContainerStyles, children: benefits.map(renderBenefit$1(version, benefitsVersion)) })) : null, items?.length ? (jsx(List, { className: "mt-5 text-h6", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }), footnote ? jsx("p", { className: "text-m-light pt-12", children: footnote }) : null] })] }), image?.src && jsx(ImgInner, { className: "mt-[-50px]", image: image })] }));
3278
3115
  });
3279
3116
  const getBenefitsContainerStyles = (benefitsCountOfRow = 2) => `gap-6 mt-6 ${benefitsCountOfRow > 2
3280
3117
  ? 'inline-grid grid-cols-[auto_auto_auto]'
@@ -3288,68 +3125,50 @@
3288
3125
  return (jsxs("div", { className: `flex items-center cursor-pointer ${className}`, onClick: onClick, children: [jsx(Button, { version: version, rounded: true, className: "w-12 h-12 min-h-12 min-w-12 flex items-center justify-center mr-3", ariaLabel: text, href: href, target: target, children: jsx(ImgInner, { className: "w-4 h-4", image: { ...backwardIcon, iconVersion: backwardIcon.iconVersion || iconVersion }, asSVG: true }) }), text ? jsx("span", { className: "text-m", children: text }) : null] }));
3289
3126
  }
3290
3127
 
3291
- const breadcrumbsStyleMap = {
3292
- primary: 'text-secondary-text',
3293
- secondary: 'text-white/80',
3294
- };
3128
+ const breadcrumbStyle = 'text-secondary-text group-data-secondary:text-white/80';
3295
3129
  const ProductBlock = JSX((props) => {
3296
3130
  const { className = '', breadcrumbs, backwardButton, version = 'primary', ...rest } = props;
3297
3131
  const buttonVersion = version === 'primary' ? version : 'white';
3298
- return (jsxs(BlockWrapper, { className: `font-sans overflow-hidden p-12 flex flex-col box-border min-h-[454px] ${VersionStyleMap[version]} ${className}`, ...rest, children: [backwardButton?.text
3132
+ return (jsxs(BlockWrapper, { className: `overflow-hidden p-12 flex flex-col box-border min-h-[454px] ${className}`, version: version, ...rest, children: [backwardButton?.text
3299
3133
  ? renderBackwardButton(backwardButton, buttonVersion, 'mb-10 -mt-2.5')
3300
- : null, breadcrumbs?.length ? (jsx("div", { className: "text-xs-light mb-6", children: joinList(jsx("span", { className: `mx-2 ${breadcrumbsStyleMap[version]}`, children: "/" }))(breadcrumbs.map((breadcrumb, i) => (jsx(Breadcrumb, { className: breadcrumbsStyleMap[version], ...breadcrumb }, String(i))))) })) : null, jsx(ProductBlockInner, { version: version, ...rest })] }));
3134
+ : null, breadcrumbs?.length ? (jsx("div", { className: "text-xs-light mb-6", children: joinList(jsx("span", { className: `mx-2 ${breadcrumbStyle}`, children: "/" }))(breadcrumbs.map((breadcrumb, i) => (jsx(Breadcrumb, { className: breadcrumbStyle, ...breadcrumb }, String(i))))) })) : null, jsx(ProductBlockInner, { version: version, ...rest })] }));
3301
3135
  });
3302
3136
 
3303
- const productBlockStyleMap = {
3304
- primary: { title: 'text-secondary-text', text: 'text-secondary-text' },
3305
- secondary: { title: 'text-white', text: 'text-white/80' },
3306
- };
3307
3137
  const ProductGallery = JSX(({ className = '', slides = [], version = 'primary', ...rest }) => {
3308
3138
  const galleryNav = slides.map((s) => s.nav);
3309
3139
  const galleryBlocks = slides.map((s) => s.productBlock);
3310
3140
  const [activeSlideIndex, setActiveSlideIndex] = useState(0);
3311
3141
  const handleActiveSlideIndex = useCallback((_) => setActiveSlideIndex(_), []);
3312
- return (jsxs(BlockWrapper, { className: `box-border pt-12 overflow-hidden relative font-sans w-100 mb-6 ${className}
3313
- ${VersionStyleMap[version]}`, ...rest, children: [jsx("div", { className: "flex duration-1000 pb-14", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock({ ..._, ...rest, version }, i)) }), jsx("div", { className: "flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border h-28", children: galleryNav.map((slide, i) => renderNavButton({
3142
+ return (jsxs(BlockWrapper, { className: `box-border pt-12 overflow-hidden relative w-100 mb-6 ${className}`, version: version, ...rest, children: [jsx("div", { className: "flex duration-1000 pb-14", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock({ ..._, ...rest, version }, i)) }), jsx("div", { className: "flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border h-28", children: galleryNav.map((slide, i) => renderNavButton({
3314
3143
  slide,
3315
3144
  i,
3316
3145
  isActive: Boolean(i === activeSlideIndex),
3317
3146
  onClick: () => handleActiveSlideIndex(i),
3318
- version,
3319
3147
  })) })] }));
3320
3148
  });
3321
3149
  function renderProductBlock(block, i) {
3322
- const { version } = block;
3323
- const additionalClass = version ? productBlockStyleMap[version].title : '';
3324
- return (jsx("section", { className: "box-border relative flex grow-0 shrink-0 basis-full", role: "listitem", children: jsx("div", { className: "flex grow", children: jsx(ProductBlockInner, { className: `pl-12 z-10 ${additionalClass}`, textBlockClassName: "mb-[154px]", headlineVersion: "XXL", ...block }) }) }, String(i)));
3150
+ return (jsx("section", { className: "box-border relative flex grow-0 shrink-0 basis-full", role: "listitem", children: jsx("div", { className: "flex grow", children: jsx(ProductBlockInner, { className: "pl-12 z-10 text-secondary-text group-data-secondary:text-white", textBlockClassName: "mb-[154px]", headlineVersion: "XXL", ...block }) }) }, String(i)));
3325
3151
  }
3326
- function renderNavButton({ slide, i, isActive, onClick, version }) {
3152
+ function renderNavButton({ slide, i, isActive, onClick }) {
3327
3153
  const btnClassName = isActive
3328
3154
  ? 'bg-white shadow-dark-blue min-w-[350px] border-none p-6'
3329
- : `min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur
3330
- ${VersionStyleMap[version]}`;
3155
+ : 'min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur';
3331
3156
  const btnTitleClassName = isActive
3332
3157
  ? 'text-primary-text !text-h6 p-2'
3333
- : `text-l pb-1 ${productBlockStyleMap[version].title}`;
3158
+ : 'text-l pb-1 text-secondary-text group-data-secondary:text-white';
3334
3159
  const btnDescClassName = isActive
3335
3160
  ? 'text-secondary-text text-l-light'
3336
- : `text-m-light ${productBlockStyleMap[version].text}`;
3337
- return (jsx("button", { type: "button", onClick: onClick, "aria-label": slide?.title, className: `box-border relative overflow-hidden border border-white/50 cursor-pointer text-left mx-1 grow basis-0
3338
- ${btnClassName} ${BorderVersionStyleMap[version]}
3339
- `, children: jsxs("div", { className: "border-0 px-6", children: [jsx("div", { className: `last:pb-0 ${btnTitleClassName}`, children: slide?.title }), jsx("div", { className: `text-secondary-text ${btnDescClassName}`, children: slide?.description })] }) }, String(i)));
3161
+ : 'text-m-light text-secondary-text group-data-secondary:text-white/80';
3162
+ return (jsx("button", { type: "button", onClick: onClick, "aria-label": slide?.title, className: `relative box-border overflow-hidden cursor-pointer text-left mx-1 grow basis-0 border border-gray group-data-secondary:border-white/50 ${btnClassName}`, children: jsxs("div", { className: "border-0 px-6", children: [jsx("div", { className: `last:pb-0 ${btnTitleClassName}`, children: slide?.title }), jsx("div", { className: `text-secondary-text ${btnDescClassName}`, children: slide?.description })] }) }, String(i)));
3340
3163
  }
3341
3164
 
3342
- const DESCRIPTION_STYLE_MAP = {
3343
- primary: 'text-secondary-text',
3344
- secondary: 'text-white',
3345
- };
3346
- function renderAdditionalDescription(additionalDescription, image, version = 'primary') {
3165
+ function renderAdditionalDescription(additionalDescription, image) {
3347
3166
  if (!additionalDescription) {
3348
3167
  return null;
3349
3168
  }
3350
3169
  // picture width = 242px. Text can overlay picture 20px deep. Outer paddings_x = 36px. 242-36-20 = 186px
3351
3170
  const descriptionWidth = image?.src ? 'max-w-[calc(100%-186px)]' : '100%';
3352
- return (jsx("div", { className: `mt-2.5 z-10 ${descriptionWidth}`, children: jsx(Paragraph, { size: "text-m", font: "font-light", color: DESCRIPTION_STYLE_MAP[version], children: additionalDescription }) }));
3171
+ return (jsx("div", { className: `mt-2.5 z-10 ${descriptionWidth}`, children: jsx(Paragraph, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription }) }));
3353
3172
  }
3354
3173
 
3355
3174
  const RichText = JSX((props) => {
@@ -3361,11 +3180,7 @@
3361
3180
  throw new Error(x);
3362
3181
  }
3363
3182
 
3364
- const LABEL_STYLE_MAP = {
3365
- primary: 'text-secondary-text',
3366
- secondary: 'text-white',
3367
- };
3368
- const renderBenefit = (version = 'primary') =>
3183
+ const renderBenefit =
3369
3184
  // Linter doesn't understand that switch processes all cases
3370
3185
  // eslint-disable-next-line consistent-return
3371
3186
  (benefit, i) => {
@@ -3377,7 +3192,7 @@
3377
3192
  case 'default':
3378
3193
  return [
3379
3194
  jsx(Text, { size: "text-h6", children: benefit.label }, `label-${i}`),
3380
- jsx(Text, { size: "text-m-light", color: LABEL_STYLE_MAP[version], children: benefit.description }, `desc-${i}`),
3195
+ jsx(Text, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: benefit.description }, `desc-${i}`),
3381
3196
  ];
3382
3197
  case 'rte':
3383
3198
  return jsx(RichText, { __html: benefit.__html });
@@ -3393,19 +3208,18 @@
3393
3208
  return (jsx(ImgInner, { className: `absolute ${isImageOnRightSide ? 'right-0' : 'left-0'} bottom-0`, image: image }));
3394
3209
  }
3395
3210
 
3396
- const ProductTile = JSX(({ className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, isImageOnRightSide = true, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: `overflow-hidden font-sans p-9 box-border relative min-h-[364px]
3397
- ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${className}`, ...rest, children: [jsxs("div", { className: `flex flex-col ${isImageOnRightSide ? '' : 'items-end'}`, children: [jsx(Headline, { className: `!p-0 !bg-transparent z-10 ${title || description ? 'mb-3.5' : ''}`, as: "h2", title: title, description: description, headlineVersion: headlineVersion, bgColorHeadline: version, align: "text-left", ...rest }), renderBenefits(benefits, version, image), renderAdditionalDescription(additionalDescription, image), buttons?.length ? (jsx(ButtonSection, { buttons: buttons, className: "mt-5 gap-4 z-10 text-l" })) : null] }), renderImage$1(image, isImageOnRightSide)] })));
3398
- function renderBenefits(benefits, version, image) {
3211
+ const ProductTile = JSX(({ className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, isImageOnRightSide = true, ...rest }) => (jsxs(BlockWrapper, { className: style('overflow-hidden p-9 box-border relative min-h-[364px]', getTileRightPadding(className), className), ...rest, children: [jsxs("div", { className: style('flex flex-col', isImageOnRightSide ? '' : 'items-end'), children: [jsx(Headline, { className: style('!p-0 !bg-transparent z-10', title || description ? 'mb-3.5' : ''), title: title, description: description, headlineVersion: headlineVersion, as: "h2", align: "text-left" }), renderBenefits(benefits, image), renderAdditionalDescription(additionalDescription, image), renderButtonsSection(buttons, { className: 'mt-5 z-10 text-l' })] }), renderImage$1(image, isImageOnRightSide)] })));
3212
+ function renderBenefits(benefits, image) {
3399
3213
  if (!benefits.length) {
3400
3214
  return null;
3401
3215
  }
3402
3216
  // picture width = 242px. Text can overlay picture 20px deep. Outer paddings_x = 36px. 242-36-20 = 186px
3403
3217
  const benefitsWidth = image?.src ? 'max-w-[calc(100%-186px)]' : '100%';
3404
3218
  return (jsx("div", { className: `z-10 grid grid-cols-[max-content_1fr] auto-rows-auto gap-x-6 gap-y-2.5 items-baseline
3405
- ${benefitsWidth}`, children: benefits.length ? benefits.map(renderBenefit(version)) : null }));
3219
+ ${benefitsWidth}`, children: benefits.length ? benefits.map(renderBenefit) : null }));
3406
3220
  }
3407
3221
 
3408
- const PromoTile = JSX(({ className = '', title = 'Акции и спецпредложения', date, description, buttons = [], version = 'primary', ...rest }) => (jsx(BlockWrapper, { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: jsx(BaseTile, { title: title ? (jsx(Headline, { title: title, className: `!p-0 max-w-[600px]`, headlineVersion: getTileHeadingType(className), bgColorHeadline: version, align: "text-left", as: "h2", ...rest })) : null, buttons: buttons?.length ? jsx(ButtonSection, { buttons: buttons, className: "flex gap-3" }) : null, children: jsxs("div", { className: "mt-1.5", children: [date ? jsx("div", { className: "text-s mb-2", children: formatDate(date) }) : null, jsx("div", { className: "text-l", children: description })] }) }) })));
3222
+ const PromoTile = JSX(({ className = '', title = 'Акции и спецпредложения', date, description, as, buttons = [], ...rest }) => (jsx(BlockWrapper, { className: style('p-9 box-border', className, getTileRightPadding(className), getTileMinHeight(className)), ...rest, children: jsx(BaseTile, { title: title ? (jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, headlineVersion: getTileHeadingType(className), align: "text-left", as: as || 'h2' })) : null, buttons: renderButtonsSection(buttons), children: jsxs("div", { className: "mt-1.5", children: [date ? jsx("div", { className: "text-s mb-2", children: formatDate(date) }) : null, jsx("div", { className: "text-l", children: description })] }) }) })));
3409
3223
  function formatDate(date) {
3410
3224
  const dateObj = new Date(date);
3411
3225
  const dateFormat = {
@@ -3416,10 +3230,10 @@
3416
3230
  return dateObj.toLocaleString('ru-RU', dateFormat).replace('г.', '');
3417
3231
  }
3418
3232
 
3419
- const RecommendationCard = JSX(({ className = '', title, description, items, image, version, socialMedia, button }) => {
3233
+ const RecommendationCard = JSX(({ className = '', title, description, items, image, socialMedia, button, ...rest }) => {
3420
3234
  const tileTitle = title ? (jsx(Heading, { headingType: "h5", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
3421
3235
  const tileImage = image?.src ? (jsx(ImgInner, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
3422
- return (jsx("section", { className: `relative overflow-hidden text-left border border-solid box-border p-7 min-w-[524px] min-h-[218px] ${className}`, role: "listitem", children: jsx(BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: jsxs("div", { className: "h-full flex flex-col justify-between", children: [description ? jsx("span", { className: "mb-2", children: description }) : null, items?.length ? (jsx(List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items, version: version })) : null, socialMedia ? (jsx(SocialMedia, { className: "pt-10 pb-0", media: socialMedia, version: version })) : null, button?.text ? (jsx("div", { className: "pt-2", children: renderButton({ button, buttonClassName: 'mt-16 px-5' }) })) : null] }) }) }));
3236
+ return (jsx(BlockWrapper, { className: `relative overflow-hidden text-left border border-solid box-border p-7 min-w-[524px] min-h-[218px] ${className}`, role: "listitem", ...rest, children: jsx(BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: jsxs("div", { className: "h-full flex flex-col justify-between", children: [description ? jsx("span", { className: "mb-2", children: description }) : null, items?.length ? (jsx(List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items })) : null, socialMedia ? jsx(SocialMedia, { className: "pt-10 pb-0", media: socialMedia }) : null, button?.text ? (jsx("div", { className: "pt-2", children: renderButtonsSection([button], { buttonClassName: 'mt-16 px-5' }) })) : null] }) }) }));
3423
3237
  });
3424
3238
 
3425
3239
  const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
@@ -3430,8 +3244,8 @@
3430
3244
  itemCount: recommendations.length,
3431
3245
  visibleItemCount: CARD_VIEW_COUNT,
3432
3246
  });
3433
- return (jsxs(BlockWrapper, { className: `relative font-sans p-9 overflow-hidden text-center ${VersionStyleMap[version]} ${className}`, ...rest, children: [title ? jsx(Heading, { headingType: "h3", className: "mb-6", title: title }) : null, jsxs("div", { children: [jsx("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeIndex * CARD_SHIFT}px)` }, role: "list", children: recommendations.length
3434
- ? recommendations.map((card, i) => (jsx(RecommendationCard, { version: version, className: BorderVersionStyleMap[version], ...card }, String(i))))
3247
+ return (jsxs(BlockWrapper, { className: `relative font-sans p-9 overflow-hidden text-center ${className}`, version: version, ...rest, children: [title ? jsx(Heading, { headingType: "h3", className: "mb-6", title: title }) : null, jsxs("div", { children: [jsx("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeIndex * CARD_SHIFT}px)` }, role: "list", children: recommendations.length
3248
+ ? recommendations.map((card, i) => (jsx(RecommendationCard, { version: version, className: "border-gray group-data-secondary:border-white/50", ...card }, String(i))))
3435
3249
  : null }), renderArrows({
3436
3250
  ...controls,
3437
3251
  btnClass: ['left-8', 'right-8'],
@@ -3444,24 +3258,15 @@
3444
3258
  return (jsx(BlockWrapper, { ...rest, children: jsx(RichText, { __html: __html }) }));
3445
3259
  });
3446
3260
 
3447
- const RollupItem = JSX(({ className = '', label = 'Развернуть', isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => (jsx("div", { className: `border-b border-solid border-main-divider w-full ${className}`, children: jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx("div", { className: "box-border", children: jsx(FoldableSection, { className: `grid grid-cols-12 gap-1 border-box`, isUnfolded: isUnfolded, children: renderChildren(rest) }) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({ isUnfolded, onToggle, label, version }) }) })));
3261
+ const RollupItem = JSX(({ className = '', label = 'Развернуть', isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => (jsx(BlockWrapper, { className: `border-b border-solid border-main-divider w-full ${className}`, tag: "div", ...rest, children: jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx("div", { className: "box-border", children: jsx(FoldableSection, { className: `grid grid-cols-12 gap-1 border-box`, isUnfolded: isUnfolded, children: renderChildren(rest) }) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({ version, label, isUnfolded, onToggle }) }) })));
3448
3262
  RollupItem.childrenTypes = {
3449
- exclude: [
3450
- 'RollupItem',
3451
- 'Accordion',
3452
- 'AccordionItem',
3453
- 'OtherProducts',
3454
- 'OtherProductsItem',
3455
- 'VerticalLayout',
3456
- ],
3263
+ exclude: ['RollupItem', 'Accordion', 'AccordionItem', 'OtherProducts', 'OtherProductsItem'],
3457
3264
  };
3458
- const renderFoldButton = ({ isUnfolded, onToggle, label, version }) => {
3459
- const iconsPrimary = ['PlusIcon', 'MinusIcon'];
3460
- const iconsSecondary = ['ArrowDownIcon', 'ArrowUpIcon'];
3461
- const labels = label ? [label, label] : ['Развернуть', 'Скрыть'];
3462
- return version === 'primary' ? (jsx(FoldButton, { icon: iconsPrimary[Number(isUnfolded)], label: labels[Number(isUnfolded)], onClick: onToggle })) : (jsx(DefaultFoldButton, { icon: iconsSecondary[Number(isUnfolded)], label: labels[Number(isUnfolded)], onClick: onToggle }));
3265
+ const renderFoldButton = ({ version, label: defaultLabel, isUnfolded, onToggle, }) => {
3266
+ const label = defaultLabel || (isUnfolded ? 'Скрыть' : 'Развернуть');
3267
+ return version === 'primary' ? (renderPrimaryFoldButton({ label, icon: isUnfolded ? 'MinusIcon' : 'PlusIcon', onToggle })) : (jsx(DefaultFoldButton, { label: label, icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: onToggle }));
3463
3268
  };
3464
- const FoldButton = JSX(({ label, icon, onClick }) => (jsxs("button", { className: "border-none bg-transparent px-9 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 group cursor-pointer", onClick: onClick, children: [jsx("span", { className: "text-xl font-medium pr-2.5", children: label }), icon ? jsx(ImgInner, { image: getIconWithVersion({ icon }), width: "24", height: "24", asSVG: true }) : null] })));
3269
+ const renderPrimaryFoldButton = ({ label, icon, onToggle }) => (jsxs("button", { className: "border-none bg-transparent px-9 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 cursor-pointer", onClick: onToggle, children: [jsx("span", { className: "text-xl font-medium pr-2.5", children: label }), icon ? jsx(ImgInner, { image: getIconWithVersion({ icon }), width: "24", height: "24", asSVG: true }) : null] }));
3465
3270
 
3466
3271
  const SAFEBOXES_URL = '/api/v1/safeboxes';
3467
3272
  const EMPTY_VALUE = [];
@@ -3591,26 +3396,19 @@
3591
3396
  const branches = useSafeBoxes(selectedRegion);
3592
3397
  const handleChangeSafeDepositState = useCallback((state) => setStateDepositState((oldState) => ({ ...oldState, ...state })), [setStateDepositState]);
3593
3398
  const points = getCoordinates(getBranch(branches, safeDepositState.selectedBranch) || branches);
3594
- return (jsxs(BlockWrapper, { className: className, ...rest, children: [jsxs("div", { className: "font-sans bg-white px-8 py-12", children: [title ? (jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "text-primary-text mb-2.5 text-center" })) : null, jsx(SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onClick: handleShowMap, onChange: handleChangeSafeDepositState }), footnote ? jsx("p", { className: "text-s-light text-secondary-text", children: footnote }) : null] }), points.length && showMap ? jsx(YandexMap, { points: points, className: "h-[640px]" }) : null] }));
3399
+ return (jsxs(BlockWrapper, { className: className, ...rest, children: [jsxs("div", { className: "px-8 py-12", children: [title ? (jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "text-primary-text mb-2.5 text-center" })) : null, jsx(SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onClick: handleShowMap, onChange: handleChangeSafeDepositState }), footnote ? jsx("p", { className: "text-s-light text-secondary-text", children: footnote }) : null] }), points.length && showMap ? jsx(YandexMap, { points: points, className: "h-[640px]" }) : null] }));
3595
3400
  });
3596
3401
  const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
3597
3402
 
3598
3403
  const checkIsIconRenderable = (icon) => Boolean(icon?.icon || icon?.src);
3599
3404
 
3600
- const renderItems = ({ items, isDotted = true, version = 'primary', className = '', }) => items ? (jsx(List, { className: className, version: version, items: items, listItemSize: "M", isDotted: isDotted })) : null;
3601
-
3602
3405
  const renderStepContent = ({ styleMap, isMainButton, version, }) => (step, i, { length }) => {
3603
3406
  const { label, description, button, items, isDotted } = step;
3604
3407
  const contentMarginClass = label && (description || items) ? 'mt-2' : '';
3605
3408
  return (jsxs("div", { className: `relative flex flex-col items-center text-center whitespace-pre-line overflow-hidden ${getContainerWidth(length)}`, children: [jsxs("div", { className: `${button?.text ? 'mb-8' : ''} text-center`, children: [renderStepLabel(label), jsxs("div", { className: `${contentMarginClass} flex flex-col items-center`, children: [renderStepDescription({
3606
3409
  description,
3607
3410
  className: styleMap.description,
3608
- }), renderItems({
3609
- items,
3610
- isDotted,
3611
- version,
3612
- className: getItemsClasses({ className: 'text-left', description, styleMap }),
3613
- })] })] }), button?.text && !isMainButton ? (jsx(Button, { className: "box-border py-3 h-12 w-full max-w-[240px] mt-auto", version: version, ...button, children: button?.text })) : null] }, String(i)));
3411
+ }), jsx(List, { className: getItemsClasses({ className: 'text-left', description, styleMap }), items: items, listItemSize: "M", isDotted: isDotted })] })] }), button?.text && !isMainButton ? (jsx(Button, { className: "box-border py-3 h-12 w-full max-w-[240px] mt-auto", version: version, ...button, children: button?.text })) : null] }, String(i)));
3614
3412
  };
3615
3413
  const renderStepLabel = (label) => label ? jsx("div", { className: "text-h6", children: label }) : null;
3616
3414
  const renderStepDescription = ({ description, className = '', }) => (description ? jsx("div", { className: className, children: description }) : null);
@@ -3619,8 +3417,6 @@
3619
3417
 
3620
3418
  const STEPS_BLOCK_STYLE_MAPS = {
3621
3419
  primary: {
3622
- background: 'bg-white',
3623
- title: 'text-primary-text',
3624
3420
  description: '!text-secondary-text text-l-light',
3625
3421
  iconText: 'text-secondary-text',
3626
3422
  iconBackground: 'bg-main-divider',
@@ -3628,8 +3424,29 @@
3628
3424
  dot: 'bg-secondary-text',
3629
3425
  },
3630
3426
  secondary: {
3631
- background: 'bg-primary-main',
3632
- title: 'text-white',
3427
+ description: '!text-white/80 text-l-light',
3428
+ iconText: 'text-white',
3429
+ iconBackground: 'bg-white/30',
3430
+ iconConnector: 'bg-white',
3431
+ dot: 'bg-white/80',
3432
+ },
3433
+ gray: {
3434
+ // TODO Replace this Map with group-data-*
3435
+ description: '!text-white/80 text-l-light',
3436
+ iconText: 'text-white',
3437
+ iconBackground: 'bg-white/30',
3438
+ iconConnector: 'bg-white',
3439
+ dot: 'bg-white/80',
3440
+ },
3441
+ transparent: {
3442
+ description: '!text-white/80 text-l-light',
3443
+ iconText: 'text-white',
3444
+ iconBackground: 'bg-white/30',
3445
+ iconConnector: 'bg-white',
3446
+ dot: 'bg-white/80',
3447
+ },
3448
+ '': {
3449
+ // TODO Replace this Map with group-data-*
3633
3450
  description: '!text-white/80 text-l-light',
3634
3451
  iconText: 'text-white',
3635
3452
  iconBackground: 'bg-white/30',
@@ -3648,16 +3465,13 @@
3648
3465
  const titleMargin = title ? 'mt-9' : '';
3649
3466
  const paddingX = getPaddingX(steps.length);
3650
3467
  return (jsxs(BlockWrapper, { className: [
3651
- 'box-border py-12 font-sans',
3468
+ 'box-border py-12',
3652
3469
  shortGaps ? 'px-20' : 'px-[70px]',
3653
3470
  'flex flex-col items-center overflow-hidden',
3654
- styleMap.background,
3655
- styleMap.title,
3656
3471
  className,
3657
- ].join(' '), ...rest, children: [title ? (jsx(Heading, { headingType: "h3", className: "max-w-[752px] text-center", title: title })) : null, steps?.length ? (jsxs("div", { className: `box-border ${titleMargin}`, children: [jsx("div", { className: `flex items-center ${paddingX}`, children: joinList(jsx("div", { className: `h-0.5 w-full bg-secondary-light ${lineOpacity}` }))(steps.map(renderStepIcon(styleMap, version))) }), jsx("div", { className: `flex justify-between mt-4 ${shortGaps ? 'gap-x-3' : 'gap-x-[101px]'}`, children: steps.map(renderStepContent({ styleMap, isMainButton: Boolean(button?.text), version })) })] })) : null, button?.text ? jsx(Button, { className: "mt-8 min-w-60", version: "primary", ...button }) : null] }));
3472
+ ].join(' '), version: version, ...rest, children: [title ? (jsx(Heading, { headingType: "h3", className: "max-w-[752px] text-center", title: title })) : null, steps?.length ? (jsxs("div", { className: `box-border ${titleMargin}`, children: [jsx("div", { className: `flex items-center ${paddingX}`, children: joinList(jsx("div", { className: `h-0.5 w-full bg-secondary-light ${lineOpacity}` }))(steps.map(renderStepIcon(styleMap, version))) }), jsx("div", { className: `flex justify-between mt-4 ${shortGaps ? 'gap-x-3' : 'gap-x-[101px]'}`, children: steps.map(renderStepContent({ styleMap, isMainButton: Boolean(button?.text), version })) })] })) : null, button?.text ? jsx(Button, { className: "mt-8 min-w-60", version: "primary", ...button }) : null] }));
3658
3473
  });
3659
- const renderStepIcon = (styleMap, version) => ({ icon }, i) => (jsx("div", { className: "flex flex-col items-center text-center", children: jsx("div", { className: `h-[100px] w-[100px] min-w-[100px] min-h-[100px] rounded-full p-[26px] box-border z-10 flex justify-center items-center
3660
- ${styleMap.iconBackground} ${styleMap.title}`, children: checkIsIconRenderable(icon) ? (jsx(ImgInner, { image: getIconWithVersion(icon || {}, version), width: "48", height: "48", asSVG: true })) : (jsx("span", { className: `text-h4 ${styleMap.iconText}`, children: i + 1 })) }) }, String(i)));
3474
+ const renderStepIcon = (styleMap, version) => ({ icon }, i) => (jsx("div", { className: "flex flex-col items-center text-center", children: jsx("div", { className: `h-[100px] w-[100px] min-w-[100px] min-h-[100px] rounded-full p-[26px] box-border z-10 flex justify-center items-center ${styleMap.iconBackground}`, children: checkIsIconRenderable(icon) ? (jsx(ImgInner, { image: getIconWithVersion(icon || {}, version), width: "48", height: "48", asSVG: true })) : (jsx("span", { className: `text-h4 ${styleMap.iconText}`, children: i + 1 })) }) }, String(i)));
3661
3475
 
3662
3476
  const containerStyles = {
3663
3477
  'horizontal-list': 'mx-auto mt-5 w-fit',
@@ -3707,10 +3521,10 @@
3707
3521
 
3708
3522
  const LINK_CLASSES = 'h-12 flex-1 flex items-center justify-center cursor-pointer';
3709
3523
  const ACTIVE_LINK_CLASSES = 'bg-primary-main';
3710
- const INACTIVE_LINK_CLASSES = 'group bg-white';
3524
+ const INACTIVE_LINK_CLASSES = 'group/btn bg-white';
3711
3525
  const TEXT_CLASSES = 'font-sans text-m';
3712
3526
  const ACTIVE_TEXT_CLASSES = 'text-white';
3713
- const INACTIVE_TEXT_CLASSES = 'text-secondary-text group-hover:text-primary-main';
3527
+ const INACTIVE_TEXT_CLASSES = 'text-secondary-text group-hover/btn:text-primary-main';
3714
3528
 
3715
3529
  const LinkTab = JSX((props) => {
3716
3530
  const { tab, currentTab } = props;
@@ -3722,7 +3536,7 @@
3722
3536
 
3723
3537
  const BADGE_CLASSES = 'min-w-[22px] h-[22px] rounded-full text-xs ml-2 flex justify-center items-center';
3724
3538
  const ACTIVE_BADGE_CLASSES = 'bg-white/30 text-white';
3725
- const INACTIVE_BADGE_CLASSES = 'bg-main-divider text-secondary-text group-hover:text-primary-main';
3539
+ const INACTIVE_BADGE_CLASSES = 'bg-main-divider text-secondary-text group-hover/btn:text-primary-main';
3726
3540
  const renderGroupTab = ({ page, currentTab, showCounter, onClick }) => (tab, i) => {
3727
3541
  const active = currentTab === tab;
3728
3542
  const count = tab.ref && page?.blocks
@@ -3783,16 +3597,15 @@
3783
3597
  return (jsxs(Button, { version: "primary", onClick: onClick, className: "w-full flex items-center justify-center rounded-none py-5", children: [jsx("div", { className: "text-h4", children: isOpen ? 'Скрыть' : 'Показать ставки по вкладу' }), jsx(Icon, { name: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon', className: "ml-3", iconVersion: "white", width: "20", height: "20", asSVG: true })] }));
3784
3598
  });
3785
3599
 
3786
- const renderButtonsCellData = ({ buttons }) => buttons && buttons?.length ? (jsx("div", { children: buttons.map(({ rounded, ...buttonProps }, idx) => renderButton({
3787
- button: { rounded, ...buttonProps },
3788
- buttonClassName: `${idx > 0 && rounded ? 'ml-3' : ''} w-12 h-12`,
3789
- })) })) : null;
3600
+ const renderButtonsCellData = ({ buttons }) => renderButtonsSection(buttons, {
3601
+ buttonClassName: 'w-12 h-12',
3602
+ });
3790
3603
  const renderLabelDescriptionCellData = ({ label, description }) => {
3791
3604
  const labelClassName = `text-h6 m-0 ${description ? 'mb-1' : ''}`;
3792
3605
  return (jsxs("div", { children: [label ? jsx("div", { className: labelClassName, children: label }) : null, description ? jsx("div", { className: "text-secondary-text text-l-light", children: description }) : null] }));
3793
3606
  };
3794
3607
  const renderImgCellData = ({ image }) => (image?.src ? jsx(ImgInner, { image: image }) : null);
3795
- const renderListCellData = ({ isDotted, ...rest }) => (jsx(List, { className: "flex flex-col justify-between items-start text-h6", version: "primary", isDotted: isDotted ?? true, ...rest }));
3608
+ const renderListCellData = ({ isDotted, ...rest }) => (jsx(List, { className: "flex flex-col justify-between items-start text-h6", isDotted: isDotted ?? true, ...rest }));
3796
3609
  const renderTableCellData = JSX(({ isVisible, displayTable, dataUrl, pdfUrl, isOpen }) => isVisible ? (jsx(TableInnerButton, { isOpen: isOpen, onClick: () => {
3797
3610
  displayTable({ dataUrl, pdfUrl });
3798
3611
  } })) : null);
@@ -3939,7 +3752,7 @@
3939
3752
  });
3940
3753
  const rows = (rowData || []).map((row, i) => (jsx(TariffsTableRow, { row: row, activeIndex: activeIndex, rowIdx: i, ...rest }, String(i))));
3941
3754
  const [visibleRows, hiddenRows] = hiddenRowsNum > 0 ? [rows.slice(0, -hiddenRowsNum), rows.slice(-hiddenRowsNum)] : [rows, []];
3942
- return (jsxs(BlockWrapper, { className: `bg-white font-sans p-12 overflow-hidden text-primary-text relative ${itemCount > 1 ? 'pr-0' : ''} ${className}`, ...rest, children: [renderTitle$1({ title, description }), renderDescription$1(description), hiddenRowsNum > 0 ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs(Wrapper, { controls: controls, children: [visibleRows, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: renderDefaultFoldButton })) : (jsx(Wrapper, { controls: controls, children: rows }))] }));
3755
+ return (jsxs(BlockWrapper, { className: `p-12 overflow-hidden relative ${itemCount > 1 ? 'pr-0' : ''} ${className}`, ...rest, children: [renderTitle$1({ title, description }), renderDescription$1(description), hiddenRowsNum > 0 ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs(Wrapper, { controls: controls, children: [visibleRows, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: renderDefaultFoldButton })) : (jsx(Wrapper, { controls: controls, children: rows }))] }));
3943
3756
  });
3944
3757
  function renderTitle$1({ title, description }) {
3945
3758
  return title ? (jsx(Heading, { headingType: "h3", className: `text-center ${description ? 'mb-2.5' : 'mb-8'}`, title: title })) : null;
@@ -3976,14 +3789,10 @@
3976
3789
  });
3977
3790
  const renderTag = (tag, key) => (jsx("span", { className: "text-m-light py-2 px-2.5 border-solid border rounded-md border-gray", children: tag }, String(key)));
3978
3791
 
3979
- const Tile = JSX((props) => {
3980
- const { title, headingType = 'h3', description, items, buttons, image, isDotted = true, listItemSize = 'M', className = '', version = 'primary', tags, children, ...rest } = props;
3981
- const headingClassName = version === 'primary' ? 'text-primary-text' : '';
3982
- return (jsx(BlockWrapper, { className: `overflow-hidden font-sans p-9 pr-3 box-border ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: jsxs(BaseTile, { title: title ? (jsx(Heading, { headingType: headingType, as: "h2", title: title, className: `whitespace-pre-wrap max-w-[600px] ${headingClassName}` })) : null, buttons: buttons?.length ? (jsx(ButtonSection, { buttons: buttons.map((button) => ({ ...button, className: 'min-w-[158px]' })), className: "flex mt-8 gap-3", ...rest })) : null, image: image?.src ? jsx(ImgInner, { className: "mt-auto ml-7", image: image }) : null, children: [description ? (jsx("div", { className: "max-w-[600px] mt-2.5", children: jsx(Paragraph, { size: "text-xl-light", children: description }) })) : null, children, renderList({ version, isDotted, listItemSize }, items), tags?.length ? jsx(Tags, { tags: tags, className: "mt-5" }) : null] }) }));
3983
- });
3984
- function renderList({ version, isDotted, listItemSize }, items) {
3985
- return items?.length ? (jsx(List, { items: items, isDotted: isDotted, className: "mt-2.5", listItemSize: listItemSize, itemClassName: "mb-1.5", version: version })) : null;
3986
- }
3792
+ const Tile = JSX(({ title, headingType = 'h3', description, items, buttons, image, isDotted = true, listItemSize = 'M', className = '', tags, children, ...rest }) => (jsx(BlockWrapper, { className: `overflow-hidden p-9 pr-3 box-border ${getTileRightPadding(className)} ${getTileMinHeight(className)} ${className}`, ...rest, children: jsxs(BaseTile, { title: title ? (jsx(Heading, { headingType: headingType, as: "h2", title: title, className: `whitespace-pre-wrap max-w-[600px]` })) : null, buttons: renderButtonsSection(buttons, {
3793
+ className: 'mt-8',
3794
+ buttonClassName: 'min-w-[158px]',
3795
+ }), image: image?.src ? jsx(ImgInner, { className: "mt-auto ml-7", image: image }) : null, children: [description ? (jsx("div", { className: "max-w-[600px] mt-2.5", children: jsx(Paragraph, { size: "text-xl-light", children: description }) })) : null, children, jsx(List, { className: "mt-2.5", itemClassName: "mb-1.5", items: items, isDotted: isDotted, listItemSize: listItemSize }), tags?.length ? jsx(Tags, { tags: tags, className: "mt-5" }) : null] }) })));
3987
3796
 
3988
3797
  const alignStyle = {
3989
3798
  left: 'items-start',
@@ -3991,30 +3800,15 @@
3991
3800
  right: 'items-end',
3992
3801
  };
3993
3802
  const VerticalLayout = JSX(({ className = '', gap = '', align, isPadding = false, isInnerPadding = true, version = 'transparent', options, ...rest }) => {
3994
- const paddingStyle = isPadding ? 'p-12' : '';
3995
3803
  const innerPaddingStyle = isInnerPadding ? '' : '!p-0';
3996
- return (jsx(BlockWrapper, { className: [
3997
- 'flex flex-col [&>*]:max-w-full',
3998
- paddingStyle,
3999
- GapStyleMap[gap],
4000
- align && alignStyle[align],
4001
- LayoutBackgroundStyleMap[version],
4002
- className,
4003
- ]
4004
- .filter(Boolean)
4005
- .join(' '), ...rest, children: renderChildren({ ...rest, options: { ...options, className: innerPaddingStyle } }) }));
3804
+ return (jsx(BlockWrapper, { className: style('flex flex-col [&>*]:max-w-full', isPadding ? 'p-12' : '', gapStyles[gap], align && alignStyle[align], className), version: version, ...rest, children: renderChildren({ ...rest, options: { ...options, className: innerPaddingStyle } }) }));
4006
3805
  });
4007
- VerticalLayout.childrenTypes = {
4008
- exclude: ['VerticalLayout'],
4009
- };
3806
+ VerticalLayout.childrenTypes = [];
4010
3807
 
4011
3808
  const MIN_COL_SPAN = 10;
4012
3809
  const getPaddings = (className) => getColSpan(className) < MIN_COL_SPAN ? 'py-6 px-11' : 'py-12 px-32';
4013
3810
 
4014
- const Video = JSX((props) => {
4015
- const { title, src, previewImg, className = '', ...rest } = props;
4016
- return (jsxs(BlockWrapper, { className: `bg-white ${getPaddings(className)} ${className}`, ...rest, children: [jsx(Headline, { title: title, headlineVersion: "M" }), src ? (jsx("video", { className: "m-auto w-full object-fill", preload: "metadata", poster: previewImg?.src, style: { maxHeight: 524 }, controls: true, children: jsx("source", { src: src }) })) : null] }));
4017
- });
3811
+ const Video = JSX(({ className, title, src, previewImg, ...rest }) => (jsxs(BlockWrapper, { className: style(getPaddings(className), className), ...rest, children: [jsx(Headline, { title: title, headlineVersion: "M" }), src ? (jsx("video", { className: "m-auto w-full object-fill", preload: "metadata", poster: previewImg?.src, style: { maxHeight: 524 }, controls: true, children: jsx("source", { src: src }) })) : null] })));
4018
3812
 
4019
3813
  const Blocks = {
4020
3814
  Accordion,
@@ -4186,7 +3980,7 @@
4186
3980
  parent: data,
4187
3981
  };
4188
3982
  useBlockRouterProvider();
4189
- return (jsxs("section", { className: `relative ${style2className(pageStyle)} ${className}`, "data-theme": colorPalette, children: [slots?.header ? (jsx("div", { className: "mb-5 shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, {
3983
+ return (jsxs("section", { className: style('relative', pageStyle, className), "data-theme": colorPalette, children: [slots?.header ? (jsx("div", { className: "mb-5 shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, {
4190
3984
  ...options,
4191
3985
  slotName: 'header',
4192
3986
  }) })) : null, jsxs("div", { className: "container grid grid-cols-12 gap-1", children: [renderBlocksList(blocks, options), slots?.footer
@@ -4202,7 +3996,7 @@
4202
3996
  return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto" }) }));
4203
3997
  }
4204
3998
 
4205
- const packageVersion = "0.7.1";
3999
+ const packageVersion = "0.7.2";
4206
4000
 
4207
4001
  exports.Blocks = Blocks;
4208
4002
  exports.ContentPage = ContentPage;