@redneckz/wildless-cms-uni-blocks 0.3.30 → 0.3.33

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 (716) hide show
  1. package/README.md +1 -1
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +184 -129
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/dist/components/Accordion/Accordion.js +2 -6
  6. package/dist/components/Accordion/Accordion.js.map +1 -1
  7. package/dist/components/Accordion/AccordionContent.d.ts +3 -3
  8. package/dist/components/Accordion/AccordionItem.js +5 -12
  9. package/dist/components/Accordion/AccordionItem.js.map +1 -1
  10. package/dist/components/Accordion/AccordionItem.mobile.js +7 -4
  11. package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
  12. package/dist/components/Accordion/AccordionItemInner.js +2 -2
  13. package/dist/components/Accordion/AccordionItemInner.js.map +1 -1
  14. package/dist/components/Accordion/AccordionItemInner.mobile.js +2 -3
  15. package/dist/components/Accordion/AccordionItemInner.mobile.js.map +1 -1
  16. package/dist/components/BenefitsBlock/BenefitsBlock.js +2 -2
  17. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  18. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  19. package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
  20. package/dist/components/ComparisonTable/HeaderCell.d.ts +1 -2
  21. package/dist/components/ComparisonTable/HeaderCell.js +1 -2
  22. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  23. package/dist/components/ComparisonTable/HeaderCell.mobile.d.ts +1 -2
  24. package/dist/components/ComparisonTable/HeaderCell.mobile.js +2 -3
  25. package/dist/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  26. package/dist/components/CreditCalculator/defaultTabs.js +3 -3
  27. package/dist/components/CreditCalculator/defaultTabs.js.map +1 -1
  28. package/dist/components/ExchangeRateTile/CurrencyTable.js +2 -2
  29. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  30. package/dist/components/ExchangeRateTile/CurrentLocation.js +2 -2
  31. package/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  32. package/dist/components/Footer/Footer.mobile.js +2 -2
  33. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  34. package/dist/components/Footer/FooterContent.d.ts +2 -2
  35. package/dist/components/Footer/MediaButton.js +17 -5
  36. package/dist/components/Footer/MediaButton.js.map +1 -1
  37. package/dist/components/Footer/SocialMedia.js +1 -1
  38. package/dist/components/Footer/SocialMedia.js.map +1 -1
  39. package/dist/components/Gallery/Gallery.mobile.js +1 -2
  40. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  41. package/dist/components/Gallery/GalleryCardInner.js +1 -2
  42. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  43. package/dist/components/Header/Header.js +1 -1
  44. package/dist/components/Header/Header.js.map +1 -1
  45. package/dist/components/Header/HeaderBurger.js +3 -3
  46. package/dist/components/Header/HeaderBurger.js.map +1 -1
  47. package/dist/components/Header/HeaderContent.d.ts +3 -3
  48. package/dist/components/Header/HeaderSecondaryMenu.js +2 -2
  49. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  50. package/dist/components/Header/HeaderTop.js +2 -2
  51. package/dist/components/Header/HeaderTop.js.map +1 -1
  52. package/dist/components/LinkDocs/LinkDocs.js +1 -1
  53. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  54. package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -1
  55. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  56. package/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  57. package/dist/components/LinkDocs/LinkDocsList.d.ts +2 -2
  58. package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
  59. package/dist/components/LinkDocs/LinkDocsListItemBase.js +2 -2
  60. package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  61. package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
  62. package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  63. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  64. package/dist/components/OtherProducts/OtherProductsContent.d.ts +3 -12
  65. package/dist/components/PictureText/PictureText.js +8 -5
  66. package/dist/components/PictureText/PictureText.js.map +1 -1
  67. package/dist/components/PictureText/PictureTextContent.d.ts +7 -0
  68. package/dist/components/ProductBlock/ProductBlock.js +2 -2
  69. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  70. package/dist/components/ProductBlock/ProductBlockContent.d.ts +4 -3
  71. package/dist/components/ProductBlock/ProductBlockInner.js +4 -4
  72. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  73. package/dist/components/ProductBlock/renderBenefit.js +2 -2
  74. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  75. package/dist/components/ProductBlock/renderBenefit.mobile.js +2 -2
  76. package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  77. package/dist/components/ProductGallery/ProductGallery.js +2 -5
  78. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  79. package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  80. package/dist/components/ProductGallery/ProductGalleryBlock.js +7 -2
  81. package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  82. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +1 -1
  83. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js +7 -2
  84. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
  85. package/dist/components/ProductGalleryGreen/ProductGalleryGreen.js +33 -14
  86. package/dist/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
  87. package/dist/components/ProductGalleryGreen/ProductGalleryGreenContent.d.ts +2 -0
  88. package/dist/components/Recommendation/Recommendation.js +2 -2
  89. package/dist/components/Recommendation/Recommendation.js.map +1 -1
  90. package/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
  91. package/dist/components/Recommendation/RecommendationCard.js +3 -3
  92. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  93. package/dist/components/Recommendation/RecommendationContent.d.ts +4 -2
  94. package/dist/components/StepsBlock/StepsBlock.js +10 -4
  95. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  96. package/dist/components/StepsBlock/StepsBlock.mobile.js +13 -6
  97. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  98. package/dist/components/StepsBlock/StepsBlockContent.d.ts +4 -3
  99. package/dist/components/TariffsTable/TableTileHeader.js +2 -2
  100. package/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  101. package/dist/components/TariffsTable/TariffsTableCell.js +1 -2
  102. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  103. package/dist/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  104. package/dist/components/TariffsTable/TariffsTableRow.js +4 -4
  105. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  106. package/dist/components/TariffsTable/TariffsTableTileCell.js +3 -4
  107. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  108. package/dist/components/TextBlock/TextBlockContent.d.ts +1 -1
  109. package/dist/content-page-repository/transformContentPage.js +1 -1
  110. package/dist/content-page-repository/transformContentPage.js.map +1 -1
  111. package/dist/model/Picture.d.ts +3 -0
  112. package/dist/model/SitemapProps.d.ts +2 -2
  113. package/dist/services/sitemap/SitemapProps.d.ts +2 -2
  114. package/dist/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +8 -0
  115. package/dist/ui-kit/BlocksList/EmbeddableBlocks.mobile.js +17 -0
  116. package/dist/ui-kit/BlocksList/EmbeddableBlocks.mobile.js.map +1 -0
  117. package/dist/ui-kit/BlocksList/renderBlocksList.d.ts +2 -4
  118. package/dist/ui-kit/BlocksList/renderBlocksList.js +3 -3
  119. package/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  120. package/dist/ui-kit/Button/ButtonInner.js +2 -2
  121. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  122. package/dist/ui-kit/Button/ButtonProps.d.ts +2 -2
  123. package/dist/ui-kit/Button/ButtonSection.js +2 -2
  124. package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  125. package/dist/ui-kit/Heading/Heading.js +1 -1
  126. package/dist/ui-kit/Heading/Heading.js.map +1 -1
  127. package/dist/ui-kit/Icon/Icon.js +1 -1
  128. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  129. package/dist/ui-kit/Icon/IconProps.d.ts +11 -3
  130. package/dist/ui-kit/Img/Img.d.ts +4 -7
  131. package/dist/ui-kit/Img/Img.js +27 -9
  132. package/dist/ui-kit/Img/Img.js.map +1 -1
  133. package/dist/ui-kit/Img/Img.mobile.d.ts +4 -7
  134. package/dist/ui-kit/Img/Img.mobile.js +12 -3
  135. package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
  136. package/dist/ui-kit/Img/ImgProps.d.ts +6 -3
  137. package/dist/ui-kit/List/ListItem.js +2 -2
  138. package/dist/ui-kit/List/ListItem.js.map +1 -1
  139. package/dist/ui-kit/SearchBar/SearchBar.js +2 -2
  140. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  141. package/dist/ui-kit/SearchBar/SearchBar.mobile.js +3 -3
  142. package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  143. package/dist/ui-kit/SearchBar.mobile.js +2 -2
  144. package/dist/ui-kit/SearchBar.mobile.js.map +1 -1
  145. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  146. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  147. package/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js +7 -1
  148. package/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -1
  149. package/dist/ui-kit/Tabs/Tabs.js +2 -2
  150. package/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  151. package/dist/ui-kit/Tabs/TabsProps.d.ts +2 -2
  152. package/lib/common.css +1 -1
  153. package/lib/components/Accordion/Accordion.js +2 -6
  154. package/lib/components/Accordion/Accordion.js.map +1 -1
  155. package/lib/components/Accordion/AccordionContent.d.ts +3 -3
  156. package/lib/components/Accordion/AccordionItem.js +5 -12
  157. package/lib/components/Accordion/AccordionItem.js.map +1 -1
  158. package/lib/components/Accordion/AccordionItem.mobile.js +7 -4
  159. package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
  160. package/lib/components/Accordion/AccordionItemInner.js +2 -2
  161. package/lib/components/Accordion/AccordionItemInner.js.map +1 -1
  162. package/lib/components/Accordion/AccordionItemInner.mobile.js +2 -3
  163. package/lib/components/Accordion/AccordionItemInner.mobile.js.map +1 -1
  164. package/lib/components/BenefitsBlock/BenefitsBlock.js +2 -2
  165. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  166. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  167. package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
  168. package/lib/components/ComparisonTable/HeaderCell.d.ts +1 -2
  169. package/lib/components/ComparisonTable/HeaderCell.js +1 -2
  170. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  171. package/lib/components/ComparisonTable/HeaderCell.mobile.d.ts +1 -2
  172. package/lib/components/ComparisonTable/HeaderCell.mobile.js +2 -3
  173. package/lib/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  174. package/lib/components/CreditCalculator/defaultTabs.js +3 -3
  175. package/lib/components/CreditCalculator/defaultTabs.js.map +1 -1
  176. package/lib/components/ExchangeRateTile/CurrencyTable.js +2 -2
  177. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  178. package/lib/components/ExchangeRateTile/CurrentLocation.js +2 -2
  179. package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  180. package/lib/components/Footer/Footer.mobile.js +2 -2
  181. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  182. package/lib/components/Footer/FooterContent.d.ts +2 -2
  183. package/lib/components/Footer/MediaButton.js +17 -5
  184. package/lib/components/Footer/MediaButton.js.map +1 -1
  185. package/lib/components/Footer/SocialMedia.js +1 -1
  186. package/lib/components/Footer/SocialMedia.js.map +1 -1
  187. package/lib/components/Gallery/Gallery.mobile.js +1 -2
  188. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  189. package/lib/components/Gallery/GalleryCardInner.js +1 -2
  190. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  191. package/lib/components/Header/Header.js +1 -1
  192. package/lib/components/Header/Header.js.map +1 -1
  193. package/lib/components/Header/HeaderBurger.js +3 -3
  194. package/lib/components/Header/HeaderBurger.js.map +1 -1
  195. package/lib/components/Header/HeaderContent.d.ts +3 -3
  196. package/lib/components/Header/HeaderSecondaryMenu.js +2 -2
  197. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  198. package/lib/components/Header/HeaderTop.js +2 -2
  199. package/lib/components/Header/HeaderTop.js.map +1 -1
  200. package/lib/components/LinkDocs/LinkDocs.js +1 -1
  201. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  202. package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -1
  203. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  204. package/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  205. package/lib/components/LinkDocs/LinkDocsList.d.ts +2 -2
  206. package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
  207. package/lib/components/LinkDocs/LinkDocsListItemBase.js +2 -2
  208. package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  209. package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
  210. package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  211. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  212. package/lib/components/OtherProducts/OtherProductsContent.d.ts +3 -12
  213. package/lib/components/PictureText/PictureText.js +8 -5
  214. package/lib/components/PictureText/PictureText.js.map +1 -1
  215. package/lib/components/PictureText/PictureTextContent.d.ts +7 -0
  216. package/lib/components/ProductBlock/ProductBlock.js +2 -2
  217. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  218. package/lib/components/ProductBlock/ProductBlockContent.d.ts +4 -3
  219. package/lib/components/ProductBlock/ProductBlockInner.js +4 -4
  220. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  221. package/lib/components/ProductBlock/renderBenefit.js +2 -2
  222. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  223. package/lib/components/ProductBlock/renderBenefit.mobile.js +2 -2
  224. package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  225. package/lib/components/ProductGallery/ProductGallery.js +2 -5
  226. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  227. package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  228. package/lib/components/ProductGallery/ProductGalleryBlock.js +7 -2
  229. package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  230. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +1 -1
  231. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js +7 -2
  232. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
  233. package/lib/components/ProductGalleryGreen/ProductGalleryGreen.fixture.d.ts +1 -0
  234. package/lib/components/ProductGalleryGreen/ProductGalleryGreen.js +33 -14
  235. package/lib/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
  236. package/lib/components/ProductGalleryGreen/ProductGalleryGreenContent.d.ts +2 -0
  237. package/lib/components/Recommendation/Recommendation.js +2 -2
  238. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  239. package/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
  240. package/lib/components/Recommendation/RecommendationCard.js +3 -3
  241. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  242. package/lib/components/Recommendation/RecommendationContent.d.ts +4 -2
  243. package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +1 -0
  244. package/lib/components/StepsBlock/StepsBlock.js +10 -4
  245. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  246. package/lib/components/StepsBlock/StepsBlock.mobile.js +13 -6
  247. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  248. package/lib/components/StepsBlock/StepsBlockContent.d.ts +4 -3
  249. package/lib/components/TariffsTable/TableTileHeader.js +2 -2
  250. package/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  251. package/lib/components/TariffsTable/TariffsTableCell.js +1 -2
  252. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  253. package/lib/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  254. package/lib/components/TariffsTable/TariffsTableRow.js +4 -4
  255. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  256. package/lib/components/TariffsTable/TariffsTableTileCell.js +3 -4
  257. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  258. package/lib/components/TextBlock/TextBlockContent.d.ts +1 -1
  259. package/lib/content-page-repository/transformContentPage.js +1 -1
  260. package/lib/content-page-repository/transformContentPage.js.map +1 -1
  261. package/lib/model/Picture.d.ts +3 -0
  262. package/lib/model/SitemapProps.d.ts +2 -2
  263. package/lib/services/sitemap/SitemapProps.d.ts +2 -2
  264. package/lib/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +8 -0
  265. package/lib/ui-kit/BlocksList/EmbeddableBlocks.mobile.js +15 -0
  266. package/lib/ui-kit/BlocksList/EmbeddableBlocks.mobile.js.map +1 -0
  267. package/lib/ui-kit/BlocksList/renderBlocksList.d.ts +2 -4
  268. package/lib/ui-kit/BlocksList/renderBlocksList.js +3 -3
  269. package/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  270. package/lib/ui-kit/Button/ButtonInner.js +2 -2
  271. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  272. package/lib/ui-kit/Button/ButtonProps.d.ts +2 -2
  273. package/lib/ui-kit/Button/ButtonSection.js +2 -2
  274. package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  275. package/lib/ui-kit/Heading/Heading.js +1 -1
  276. package/lib/ui-kit/Heading/Heading.js.map +1 -1
  277. package/lib/ui-kit/Icon/Icon.js +1 -1
  278. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  279. package/lib/ui-kit/Icon/IconProps.d.ts +11 -3
  280. package/lib/ui-kit/Img/Img.d.ts +4 -7
  281. package/lib/ui-kit/Img/Img.js +26 -8
  282. package/lib/ui-kit/Img/Img.js.map +1 -1
  283. package/lib/ui-kit/Img/Img.mobile.d.ts +4 -7
  284. package/lib/ui-kit/Img/Img.mobile.js +11 -2
  285. package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
  286. package/lib/ui-kit/Img/ImgProps.d.ts +6 -3
  287. package/lib/ui-kit/List/ListItem.js +2 -2
  288. package/lib/ui-kit/List/ListItem.js.map +1 -1
  289. package/lib/ui-kit/SearchBar/SearchBar.js +2 -2
  290. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  291. package/lib/ui-kit/SearchBar/SearchBar.mobile.js +3 -3
  292. package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  293. package/lib/ui-kit/SearchBar.mobile.js +2 -2
  294. package/lib/ui-kit/SearchBar.mobile.js.map +1 -1
  295. package/lib/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.d.ts +3 -0
  296. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  297. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  298. package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +4 -1
  299. package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js +7 -1
  300. package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -1
  301. package/lib/ui-kit/Tabs/Tabs.js +2 -2
  302. package/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  303. package/lib/ui-kit/Tabs/TabsProps.d.ts +2 -2
  304. package/mobile/bundle/bundle.umd.js +141 -217
  305. package/mobile/bundle/bundle.umd.min.js +1 -1
  306. package/mobile/dist/components/Accordion/AccordionContent.d.ts +3 -3
  307. package/mobile/dist/components/Accordion/AccordionItem.js +7 -4
  308. package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
  309. package/mobile/dist/components/Accordion/AccordionItemInner.js +2 -3
  310. package/mobile/dist/components/Accordion/AccordionItemInner.js.map +1 -1
  311. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +2 -2
  312. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  313. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  314. package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
  315. package/mobile/dist/components/ComparisonTable/HeaderCell.d.ts +1 -2
  316. package/mobile/dist/components/ComparisonTable/HeaderCell.js +2 -3
  317. package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  318. package/mobile/dist/components/CreditCalculator/defaultTabs.js +3 -3
  319. package/mobile/dist/components/CreditCalculator/defaultTabs.js.map +1 -1
  320. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +2 -2
  321. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  322. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +2 -2
  323. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  324. package/mobile/dist/components/Footer/Footer.js +2 -2
  325. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  326. package/mobile/dist/components/Footer/FooterContent.d.ts +2 -2
  327. package/mobile/dist/components/Footer/MediaButton.js +17 -5
  328. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  329. package/mobile/dist/components/Gallery/Gallery.js +1 -2
  330. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  331. package/mobile/dist/components/Gallery/GalleryCardInner.js +1 -2
  332. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  333. package/mobile/dist/components/Header/HeaderBurger.js +3 -3
  334. package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
  335. package/mobile/dist/components/Header/HeaderContent.d.ts +3 -3
  336. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +2 -2
  337. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  338. package/mobile/dist/components/Header/HeaderTop.js +2 -2
  339. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  340. package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
  341. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  342. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  343. package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +2 -2
  344. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
  345. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js +2 -2
  346. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  347. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
  348. package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +3 -12
  349. package/mobile/dist/components/PictureText/PictureText.js +8 -5
  350. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  351. package/mobile/dist/components/PictureText/PictureTextContent.d.ts +7 -0
  352. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +4 -3
  353. package/mobile/dist/components/ProductBlock/renderBenefit.js +2 -2
  354. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  355. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  356. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +7 -2
  357. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  358. package/mobile/dist/components/ProductGalleryGreen/ProductGalleryGreen.js +33 -14
  359. package/mobile/dist/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
  360. package/mobile/dist/components/ProductGalleryGreen/ProductGalleryGreenContent.d.ts +2 -0
  361. package/mobile/dist/components/Recommendation/Recommendation.js +2 -2
  362. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  363. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
  364. package/mobile/dist/components/Recommendation/RecommendationCard.js +3 -3
  365. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  366. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +4 -2
  367. package/mobile/dist/components/StepsBlock/StepsBlock.js +13 -6
  368. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  369. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +4 -3
  370. package/mobile/dist/components/TariffsTable/TableTileHeader.js +2 -2
  371. package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  372. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +1 -2
  373. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  374. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  375. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +4 -4
  376. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  377. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +3 -4
  378. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  379. package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +1 -1
  380. package/mobile/dist/content-page-repository/transformContentPage.js +1 -1
  381. package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
  382. package/mobile/dist/model/Picture.d.ts +3 -0
  383. package/mobile/dist/model/SitemapProps.d.ts +2 -2
  384. package/mobile/dist/services/sitemap/SitemapProps.d.ts +2 -2
  385. package/mobile/dist/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -4
  386. package/mobile/dist/ui-kit/BlocksList/EmbeddableBlocks.js +0 -8
  387. package/mobile/dist/ui-kit/BlocksList/EmbeddableBlocks.js.map +1 -1
  388. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.d.ts +2 -4
  389. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js +3 -3
  390. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  391. package/mobile/dist/ui-kit/Button/ButtonInner.js +2 -2
  392. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  393. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +2 -2
  394. package/mobile/dist/ui-kit/Button/ButtonSection.js +2 -2
  395. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  396. package/mobile/dist/ui-kit/Icon/Icon.js +1 -1
  397. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  398. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +11 -3
  399. package/mobile/dist/ui-kit/Img/Img.d.ts +4 -7
  400. package/mobile/dist/ui-kit/Img/Img.js +12 -3
  401. package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
  402. package/mobile/dist/ui-kit/Img/ImgProps.d.ts +6 -3
  403. package/mobile/dist/ui-kit/List/ListItem.js +2 -2
  404. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  405. package/mobile/dist/ui-kit/SearchBar/SearchBar.js +3 -3
  406. package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  407. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  408. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  409. package/mobile/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js +7 -1
  410. package/mobile/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -1
  411. package/mobile/dist/ui-kit/Tabs/Tabs.js +2 -2
  412. package/mobile/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  413. package/mobile/dist/ui-kit/Tabs/TabsProps.d.ts +2 -2
  414. package/mobile/lib/components/Accordion/AccordionContent.d.ts +3 -3
  415. package/mobile/lib/components/Accordion/AccordionItem.js +7 -4
  416. package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
  417. package/mobile/lib/components/Accordion/AccordionItemInner.js +2 -3
  418. package/mobile/lib/components/Accordion/AccordionItemInner.js.map +1 -1
  419. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +2 -2
  420. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  421. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  422. package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
  423. package/mobile/lib/components/ComparisonTable/HeaderCell.d.ts +1 -2
  424. package/mobile/lib/components/ComparisonTable/HeaderCell.js +2 -3
  425. package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  426. package/mobile/lib/components/CreditCalculator/defaultTabs.js +3 -3
  427. package/mobile/lib/components/CreditCalculator/defaultTabs.js.map +1 -1
  428. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +2 -2
  429. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  430. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +2 -2
  431. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  432. package/mobile/lib/components/Footer/Footer.js +2 -2
  433. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  434. package/mobile/lib/components/Footer/FooterContent.d.ts +2 -2
  435. package/mobile/lib/components/Footer/MediaButton.js +17 -5
  436. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  437. package/mobile/lib/components/Gallery/Gallery.js +1 -2
  438. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  439. package/mobile/lib/components/Gallery/GalleryCardInner.js +1 -2
  440. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  441. package/mobile/lib/components/Header/HeaderBurger.js +3 -3
  442. package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
  443. package/mobile/lib/components/Header/HeaderContent.d.ts +3 -3
  444. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +2 -2
  445. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  446. package/mobile/lib/components/Header/HeaderTop.js +2 -2
  447. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  448. package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
  449. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  450. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  451. package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +2 -2
  452. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
  453. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js +2 -2
  454. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  455. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
  456. package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +3 -12
  457. package/mobile/lib/components/PictureText/PictureText.js +8 -5
  458. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  459. package/mobile/lib/components/PictureText/PictureTextContent.d.ts +7 -0
  460. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +4 -3
  461. package/mobile/lib/components/ProductBlock/renderBenefit.js +2 -2
  462. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  463. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  464. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +7 -2
  465. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  466. package/mobile/lib/components/ProductGalleryGreen/ProductGalleryGreen.js +33 -14
  467. package/mobile/lib/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
  468. package/mobile/lib/components/ProductGalleryGreen/ProductGalleryGreenContent.d.ts +2 -0
  469. package/mobile/lib/components/Recommendation/Recommendation.js +2 -2
  470. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  471. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
  472. package/mobile/lib/components/Recommendation/RecommendationCard.js +3 -3
  473. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  474. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +4 -2
  475. package/mobile/lib/components/StepsBlock/StepsBlock.js +13 -6
  476. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  477. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +4 -3
  478. package/mobile/lib/components/TariffsTable/TableTileHeader.js +2 -2
  479. package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  480. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +1 -2
  481. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  482. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  483. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +4 -4
  484. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  485. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +3 -4
  486. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  487. package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +1 -1
  488. package/mobile/lib/content-page-repository/transformContentPage.js +1 -1
  489. package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
  490. package/mobile/lib/model/Picture.d.ts +3 -0
  491. package/mobile/lib/model/SitemapProps.d.ts +2 -2
  492. package/mobile/lib/services/sitemap/SitemapProps.d.ts +2 -2
  493. package/mobile/lib/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -4
  494. package/mobile/lib/ui-kit/BlocksList/EmbeddableBlocks.js +0 -8
  495. package/mobile/lib/ui-kit/BlocksList/EmbeddableBlocks.js.map +1 -1
  496. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.d.ts +2 -4
  497. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js +3 -3
  498. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  499. package/mobile/lib/ui-kit/Button/ButtonInner.js +2 -2
  500. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  501. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +2 -2
  502. package/mobile/lib/ui-kit/Button/ButtonSection.js +2 -2
  503. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  504. package/mobile/lib/ui-kit/Icon/Icon.js +1 -1
  505. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  506. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +11 -3
  507. package/mobile/lib/ui-kit/Img/Img.d.ts +4 -7
  508. package/mobile/lib/ui-kit/Img/Img.js +11 -2
  509. package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
  510. package/mobile/lib/ui-kit/Img/ImgProps.d.ts +6 -3
  511. package/mobile/lib/ui-kit/List/ListItem.js +2 -2
  512. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  513. package/mobile/lib/ui-kit/SearchBar/SearchBar.js +3 -3
  514. package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  515. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  516. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  517. package/mobile/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js +7 -1
  518. package/mobile/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -1
  519. package/mobile/lib/ui-kit/Tabs/Tabs.js +2 -2
  520. package/mobile/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  521. package/mobile/lib/ui-kit/Tabs/TabsProps.d.ts +2 -2
  522. package/mobile/src/components/Accordion/Accordion.example.json +9 -0
  523. package/mobile/src/components/Accordion/AccordionContent.ts +4 -5
  524. package/mobile/src/components/Accordion/AccordionItem.tsx +33 -28
  525. package/mobile/src/components/Accordion/AccordionItemInner.tsx +8 -11
  526. package/mobile/src/components/BenefitsBlock/BenefitsBlock.example.json +6 -2
  527. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +5 -5
  528. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -2
  529. package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +2 -3
  530. package/mobile/src/components/ComparisonTable/HeaderCell.tsx +6 -8
  531. package/mobile/src/components/ContentPage/ContentPage.page.json +267 -82
  532. package/mobile/src/components/CreditCalculator/CreditCalculator.example.json +9 -3
  533. package/mobile/src/components/CreditCalculator/defaultTabs.ts +3 -3
  534. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +2 -2
  535. package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +2 -2
  536. package/mobile/src/components/Footer/Footer.tsx +2 -2
  537. package/mobile/src/components/Footer/FooterContent.ts +2 -2
  538. package/mobile/src/components/Footer/MediaButton.tsx +22 -10
  539. package/mobile/src/components/Gallery/Gallery.tsx +2 -3
  540. package/mobile/src/components/Gallery/GalleryCardInner.tsx +2 -3
  541. package/mobile/src/components/Header/Header.example.json +3 -0
  542. package/mobile/src/components/Header/HeaderBurger.tsx +5 -5
  543. package/mobile/src/components/Header/HeaderContent.ts +3 -3
  544. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +5 -5
  545. package/mobile/src/components/Header/HeaderTop.tsx +3 -3
  546. package/mobile/src/components/LinkDocs/LinkDocs.example.json +3 -1
  547. package/mobile/src/components/LinkDocs/LinkDocs.tsx +1 -1
  548. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +2 -2
  549. package/mobile/src/components/LinkDocs/LinkDocsList.tsx +2 -2
  550. package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +4 -4
  551. package/mobile/src/components/LinkDocs/LinkDocsVerticalList.tsx +2 -2
  552. package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +6 -2
  553. package/mobile/src/components/OtherProducts/OtherProductsContent.ts +3 -12
  554. package/mobile/src/components/PictureText/PictureText.example.json +8 -2
  555. package/mobile/src/components/PictureText/PictureText.tsx +37 -12
  556. package/mobile/src/components/PictureText/PictureTextContent.ts +7 -0
  557. package/mobile/src/components/ProductBlock/ProductBlock.example.json +11 -3
  558. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +4 -3
  559. package/mobile/src/components/ProductBlock/renderBenefit.tsx +5 -5
  560. package/mobile/src/components/ProductGallery/ProductGallery.example.json +22 -1
  561. package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +14 -4
  562. package/mobile/src/components/ProductGalleryGreen/ProductGalleryGreen.example.json +2 -1
  563. package/mobile/src/components/ProductGalleryGreen/ProductGalleryGreen.tsx +51 -28
  564. package/mobile/src/components/ProductGalleryGreen/ProductGalleryGreenContent.ts +2 -0
  565. package/mobile/src/components/Recommendation/Recommendation.example.json +18 -3
  566. package/mobile/src/components/Recommendation/Recommendation.tsx +6 -6
  567. package/mobile/src/components/Recommendation/RecommendationCard.tsx +21 -12
  568. package/mobile/src/components/Recommendation/RecommendationContent.ts +6 -4
  569. package/mobile/src/components/StepsBlock/StepsBlock.example.json +9 -3
  570. package/mobile/src/components/StepsBlock/StepsBlock.tsx +19 -9
  571. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +4 -3
  572. package/mobile/src/components/TariffsTable/TableTileHeader.tsx +2 -2
  573. package/mobile/src/components/TariffsTable/TariffsTable.example.json +12 -4
  574. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +2 -3
  575. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +2 -2
  576. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +7 -7
  577. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +4 -5
  578. package/mobile/src/components/TextBlock/TextBlockContent.ts +1 -1
  579. package/mobile/src/content-page-repository/transformContentPage.ts +1 -1
  580. package/mobile/src/model/Picture.ts +4 -0
  581. package/mobile/src/model/SitemapProps.ts +2 -2
  582. package/mobile/src/services/sitemap/SitemapProps.ts +2 -2
  583. package/mobile/src/ui-kit/BlocksList/EmbeddableBlocks.tsx +0 -8
  584. package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +4 -12
  585. package/mobile/src/ui-kit/Button/ButtonInner.tsx +3 -3
  586. package/mobile/src/ui-kit/Button/ButtonProps.ts +2 -2
  587. package/mobile/src/ui-kit/Button/ButtonSection.tsx +2 -2
  588. package/mobile/src/ui-kit/Icon/Icon.tsx +1 -1
  589. package/mobile/src/ui-kit/Icon/IconProps.ts +12 -3
  590. package/mobile/src/ui-kit/Img/Img.tsx +38 -22
  591. package/mobile/src/ui-kit/Img/ImgProps.ts +7 -4
  592. package/mobile/src/ui-kit/List/ListItem.tsx +2 -2
  593. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +3 -3
  594. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
  595. package/mobile/src/ui-kit/SwipeListControl/utils/getScrollPoints.spec.ts +18 -0
  596. package/mobile/src/ui-kit/SwipeListControl/utils/getScrollPoints.ts +10 -2
  597. package/mobile/src/ui-kit/Tabs/Tabs.tsx +2 -2
  598. package/mobile/src/ui-kit/Tabs/TabsProps.ts +2 -2
  599. package/package.json +2 -3
  600. package/src/components/Accordion/Accordion.example.json +9 -0
  601. package/src/components/Accordion/Accordion.fixture.mobile.tsx +3 -0
  602. package/src/components/Accordion/Accordion.fixture.tsx +2 -0
  603. package/src/components/Accordion/Accordion.tsx +4 -17
  604. package/src/components/Accordion/AccordionContent.ts +4 -5
  605. package/src/components/Accordion/AccordionItem.mobile.tsx +33 -28
  606. package/src/components/Accordion/AccordionItem.tsx +24 -50
  607. package/src/components/Accordion/AccordionItemInner.mobile.tsx +8 -11
  608. package/src/components/Accordion/AccordionItemInner.tsx +8 -10
  609. package/src/components/BenefitsBlock/BenefitsBlock.example.json +6 -2
  610. package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +4 -4
  611. package/src/components/BenefitsBlock/BenefitsBlock.tsx +5 -5
  612. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -2
  613. package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +3 -3
  614. package/src/components/ComparisonTable/ComparisonTableContent.ts +2 -3
  615. package/src/components/ComparisonTable/HeaderCell.mobile.tsx +6 -8
  616. package/src/components/ComparisonTable/HeaderCell.tsx +3 -5
  617. package/src/components/ContentPage/ContentPage.page.json +267 -82
  618. package/src/components/CreditCalculator/CreditCalculator.example.json +9 -3
  619. package/src/components/CreditCalculator/CreditCalculator.fixture.tsx +3 -3
  620. package/src/components/CreditCalculator/defaultTabs.ts +3 -3
  621. package/src/components/ExchangeRateTile/CurrencyTable.tsx +2 -2
  622. package/src/components/ExchangeRateTile/CurrentLocation.tsx +2 -2
  623. package/src/components/Footer/Footer.mobile.tsx +2 -2
  624. package/src/components/Footer/FooterContent.ts +2 -2
  625. package/src/components/Footer/MediaButton.tsx +22 -10
  626. package/src/components/Footer/SocialMedia.tsx +1 -1
  627. package/src/components/Gallery/Gallery.fixture.mobile.tsx +1 -1
  628. package/src/components/Gallery/Gallery.fixture.tsx +1 -1
  629. package/src/components/Gallery/Gallery.mobile.tsx +2 -3
  630. package/src/components/Gallery/GalleryCardInner.tsx +2 -3
  631. package/src/components/Header/Header.example.json +3 -0
  632. package/src/components/Header/Header.tsx +8 -1
  633. package/src/components/Header/HeaderBurger.tsx +5 -5
  634. package/src/components/Header/HeaderContent.ts +3 -3
  635. package/src/components/Header/HeaderSecondaryMenu.tsx +5 -5
  636. package/src/components/Header/HeaderTop.tsx +3 -3
  637. package/src/components/LinkDocs/LinkDocs.example.json +3 -1
  638. package/src/components/LinkDocs/LinkDocs.fixture.tsx +7 -2
  639. package/src/components/LinkDocs/LinkDocs.mobile.tsx +1 -1
  640. package/src/components/LinkDocs/LinkDocs.tsx +1 -1
  641. package/src/components/LinkDocs/LinkDocsContent.ts +2 -2
  642. package/src/components/LinkDocs/LinkDocsList.tsx +2 -2
  643. package/src/components/LinkDocs/LinkDocsListItemBase.tsx +4 -4
  644. package/src/components/LinkDocs/LinkDocsVerticalList.tsx +2 -2
  645. package/src/components/MobileAppTile/MobileAppTile.example.json +6 -2
  646. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +2 -2
  647. package/src/components/MobileAppTile/MobileAppTile.tsx +3 -3
  648. package/src/components/OtherProducts/OtherProducts.fixture.tsx +61 -6
  649. package/src/components/OtherProducts/OtherProductsContent.ts +3 -12
  650. package/src/components/PictureText/PictureText.example.json +8 -2
  651. package/src/components/PictureText/PictureText.fixture.tsx +2 -2
  652. package/src/components/PictureText/PictureText.tsx +37 -12
  653. package/src/components/PictureText/PictureTextContent.ts +7 -0
  654. package/src/components/ProductBlock/ProductBlock.example.json +11 -3
  655. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +3 -3
  656. package/src/components/ProductBlock/ProductBlock.fixture.tsx +7 -7
  657. package/src/components/ProductBlock/ProductBlock.tsx +2 -4
  658. package/src/components/ProductBlock/ProductBlockContent.ts +4 -3
  659. package/src/components/ProductBlock/ProductBlockInner.tsx +8 -11
  660. package/src/components/ProductBlock/renderBenefit.mobile.tsx +5 -5
  661. package/src/components/ProductBlock/renderBenefit.tsx +5 -5
  662. package/src/components/ProductGallery/ProductGallery.example.json +22 -1
  663. package/src/components/ProductGallery/ProductGallery.fixture.tsx +106 -104
  664. package/src/components/ProductGallery/ProductGallery.tsx +4 -17
  665. package/src/components/ProductGallery/ProductGalleryBlock.mobile.tsx +14 -4
  666. package/src/components/ProductGallery/ProductGalleryBlock.tsx +15 -4
  667. package/src/components/ProductGalleryGreen/ProductGalleryGreen.example.json +2 -1
  668. package/src/components/ProductGalleryGreen/ProductGalleryGreen.fixture.tsx +74 -2
  669. package/src/components/ProductGalleryGreen/ProductGalleryGreen.tsx +51 -28
  670. package/src/components/ProductGalleryGreen/ProductGalleryGreenContent.ts +2 -0
  671. package/src/components/Recommendation/Recommendation.example.json +18 -3
  672. package/src/components/Recommendation/Recommendation.fixture.tsx +15 -5
  673. package/src/components/Recommendation/Recommendation.tsx +6 -6
  674. package/src/components/Recommendation/RecommendationCard.tsx +21 -12
  675. package/src/components/Recommendation/RecommendationContent.ts +6 -4
  676. package/src/components/StepsBlock/StepsBlock.example.json +9 -3
  677. package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +14 -14
  678. package/src/components/StepsBlock/StepsBlock.fixture.tsx +14 -0
  679. package/src/components/StepsBlock/StepsBlock.mobile.tsx +19 -9
  680. package/src/components/StepsBlock/StepsBlock.tsx +15 -8
  681. package/src/components/StepsBlock/StepsBlockContent.ts +4 -3
  682. package/src/components/TariffsTable/TableTileHeader.tsx +2 -2
  683. package/src/components/TariffsTable/TariffsTable.example.json +12 -4
  684. package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +6 -9
  685. package/src/components/TariffsTable/TariffsTable.fixture.tsx +5 -5
  686. package/src/components/TariffsTable/TariffsTableCell.tsx +2 -3
  687. package/src/components/TariffsTable/TariffsTableContent.ts +2 -2
  688. package/src/components/TariffsTable/TariffsTableRow.tsx +7 -7
  689. package/src/components/TariffsTable/TariffsTableTileCell.tsx +4 -5
  690. package/src/components/TextBlock/TextBlockContent.ts +1 -1
  691. package/src/content-page-repository/transformContentPage.ts +1 -1
  692. package/src/model/Picture.ts +4 -0
  693. package/src/model/SitemapProps.ts +2 -2
  694. package/src/services/sitemap/SitemapProps.ts +2 -2
  695. package/src/ui-kit/BlocksList/EmbeddableBlocks.mobile.tsx +15 -0
  696. package/src/ui-kit/BlocksList/renderBlocksList.tsx +4 -12
  697. package/src/ui-kit/Button/Button.fixture.tsx +5 -5
  698. package/src/ui-kit/Button/ButtonInner.tsx +3 -3
  699. package/src/ui-kit/Button/ButtonProps.ts +2 -2
  700. package/src/ui-kit/Button/ButtonSection.tsx +2 -2
  701. package/src/ui-kit/Heading/Heading.tsx +1 -3
  702. package/src/ui-kit/Icon/Icon.tsx +1 -1
  703. package/src/ui-kit/Icon/IconProps.ts +12 -3
  704. package/src/ui-kit/Img/Img.mobile.tsx +38 -22
  705. package/src/ui-kit/Img/Img.tsx +50 -23
  706. package/src/ui-kit/Img/ImgProps.ts +7 -4
  707. package/src/ui-kit/List/ListItem.tsx +2 -2
  708. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +3 -3
  709. package/src/ui-kit/SearchBar/SearchBar.tsx +2 -2
  710. package/src/ui-kit/SearchBar.mobile.tsx +2 -2
  711. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +24 -6
  712. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
  713. package/src/ui-kit/SwipeListControl/utils/getScrollPoints.spec.ts +18 -0
  714. package/src/ui-kit/SwipeListControl/utils/getScrollPoints.ts +10 -2
  715. package/src/ui-kit/Tabs/Tabs.tsx +2 -2
  716. package/src/ui-kit/Tabs/TabsProps.ts +2 -2
@@ -200,7 +200,35 @@
200
200
  return;
201
201
  }
202
202
  const Tag = headingType;
203
- return (jsx(Tag, { className: `font-sans font-medium m-0 ${HEADING_STYLE_MAP[headingType]} ${className}`, children: title }));
203
+ return (jsx(Tag, { className: `font-sans m-0 ${HEADING_STYLE_MAP[headingType]} ${className}`, children: title }));
204
+ });
205
+
206
+ const ALIGN_TEXT = {
207
+ left: 'text-left',
208
+ center: 'text-center',
209
+ right: 'text-right',
210
+ };
211
+ const HEADLINE_BLOCK_STYLE_MAPS = {
212
+ transparent: {
213
+ background: 'bg-transparent',
214
+ text: 'text-primary-text',
215
+ description: 'text-primary-text',
216
+ },
217
+ primary: {
218
+ background: 'bg-white',
219
+ text: 'text-primary-text',
220
+ description: 'text-primary-text',
221
+ },
222
+ secondary: {
223
+ background: 'bg-primary-main',
224
+ text: 'text-white',
225
+ description: 'text-white/80',
226
+ },
227
+ };
228
+
229
+ const Headline = JSX(({ bgColorHeadline = 'transparent', align = 'left', className = '', title, description, anchor = null, }) => {
230
+ const STYLE_MAPS = HEADLINE_BLOCK_STYLE_MAPS[bgColorHeadline];
231
+ return (jsxs("section", { className: `p-[50px] ${STYLE_MAPS.background} ${className}`, id: anchor, children: [title && (jsx(Heading, { headingType: "h2", className: `text-primary-text ${STYLE_MAPS.text} ${ALIGN_TEXT[align]}`, title: title })), description && (jsx("p", { className: `font-normal text-base mt-4 ${STYLE_MAPS.text} ${ALIGN_TEXT[align]}`, children: description }))] }));
204
232
  });
205
233
 
206
234
  const projectSettings = new (class {
@@ -398,7 +426,7 @@
398
426
  primary: 'text-primary-main',
399
427
  secondary: 'text-primary-text',
400
428
  };
401
- const Icon = JSX(({ className = '', name, alt = `Иконка ${IconTitleMap[name] || name}`, title = alt, asSVG, color = 'primary', ...imgProps }) => {
429
+ const Icon = JSX(({ className = '', name = '', alt = `Иконка ${IconTitleMap[name] || name}`, title = alt, asSVG, color = 'primary', ...imgProps }) => {
402
430
  const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
403
431
  if (asSVG) {
404
432
  return (jsxs("svg", { className: `${svgColorsMap[color]} ${className}`, ...imgProps, "aria-hidden": "true", style: color === 'secondary' ? { filter: 'invert(1)' } : null, children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }));
@@ -406,37 +434,41 @@
406
434
  return (jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
407
435
  });
408
436
 
409
- const ALIGN_TEXT = {
410
- left: 'text-left',
411
- center: 'text-center',
412
- right: 'text-right',
413
- };
414
- const HEADLINE_BLOCK_STYLE_MAPS = {
415
- transparent: {
416
- background: 'bg-transparent',
417
- text: 'text-primary-text',
418
- description: 'text-primary-text',
419
- },
420
- primary: {
421
- background: 'bg-white',
422
- text: 'text-primary-text',
423
- description: 'text-primary-text',
424
- },
425
- secondary: {
426
- background: 'bg-primary-main',
427
- text: 'text-white',
428
- description: 'text-white/80',
429
- },
430
- };
431
-
432
- const Headline = JSX(({ bgColorHeadline = 'transparent', align = 'left', className = '', title, description, anchor = null, }) => {
433
- const STYLE_MAPS = HEADLINE_BLOCK_STYLE_MAPS[bgColorHeadline];
434
- return (jsxs("section", { className: `p-[50px] ${STYLE_MAPS.background} ${className}`, id: anchor, children: [title && (jsx(Heading, { headingType: "h2", className: `text-primary-text ${STYLE_MAPS.text} ${ALIGN_TEXT[align]}`, title: title })), description && (jsx("p", { className: `font-normal text-base mt-4 ${STYLE_MAPS.text} ${ALIGN_TEXT[align]}`, children: description }))] }));
437
+ const Img = JSX(({ className = '', image, imageClassName = '', ...iconProps }) => {
438
+ if (!image) {
439
+ return null;
440
+ }
441
+ // backwards compatibility with existing icons in usage
442
+ const icon = typeof image === 'string' ? image : image.icon;
443
+ if (icon || icon === '') {
444
+ return icon.length ? jsx(Icon, { className: className, name: icon, ...iconProps }) : null;
445
+ }
446
+ return (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image }));
435
447
  });
448
+ const ImgAsPicture = JSX(({ className = '', image, imageClassName = '' }) => {
449
+ if (!image) {
450
+ return null;
451
+ }
452
+ return (jsxs("picture", { className: `flex-none ${className}`, children: [image?.sources?.length
453
+ ? image.sources.map(({ src, format }, index) => (jsx("source", { srcSet: src, type: formatToMimeType(format) }, `${index}_${src}`)))
454
+ : null, renderImg(image, imageClassName)] }));
455
+ });
456
+ const renderImg = (image, imageClassName = '') => {
457
+ const style = {
458
+ width: image.size?.width ? `${image.size?.width}px` : '100%',
459
+ height: image.size?.height ? `${image.size?.height}px` : '100%',
460
+ };
461
+ const title = image.title || '';
462
+ const alt = image.alt || image.title;
463
+ return (jsx("img", { src: image.src, className: imageClassName, alt: alt, title: title, style: style, ...image.size }));
464
+ };
465
+ function formatToMimeType(format) {
466
+ return format ? `image/${String(format)}` : undefined;
467
+ }
436
468
 
437
469
  const LinkDocsListItemBase = JSX(({ className, iconClassName, textClassName, suffixClassName, doc, icon }) => {
438
470
  const { text, fileSize, ...linkProps } = doc;
439
- return (jsxs("a", { className: className, role: "link", ...linkProps, children: [icon ? (jsx(Icon, { className: iconClassName, name: icon, width: "24px", height: "24px", asSVG: true })) : null, text ? (jsxs("span", { className: textClassName, children: [text, jsx("span", { className: suffixClassName, children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] }));
471
+ return (jsxs("a", { className: className, role: "link", ...linkProps, children: [icon ? (jsx(Img, { className: iconClassName, image: icon, width: "24px", height: "24px", asSVG: true })) : null, text ? (jsxs("span", { className: textClassName, children: [text, jsx("span", { className: suffixClassName, children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] }));
440
472
  });
441
473
  const formatSuffix = (ext, fileSize) => {
442
474
  const prefix = ext || fileSize ? ',' : '';
@@ -470,30 +502,19 @@
470
502
  double: 'flex gap-x-5 gap-y-[26px] flex-wrap',
471
503
  single: 'flex gap-3.5 flex-col',
472
504
  };
473
- const LinkDocs = JSX(({ className = '', title, subtitle, align, documents, icon = 'DocIcon', columnsMode = 'double', anchor = null, }) => {
505
+ const LinkDocs = JSX(({ className = '', title, subtitle, align, documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', anchor = null, }) => {
474
506
  return (jsxs("section", { className: `font-sans text-primary-text p-12 bg-white ${className}`, id: anchor, children: [title ? (jsx(Heading, { headingType: "h2", className: `${subtitle ? 'mb-2.5' : titleMarginsStyleMap[columnsMode]} ${titleAlignStyleMap[align ?? 'center']}`, title: title })) : null, subtitle ? (jsx("h3", { className: `text-base mt-0 font-normal ${titleMarginsStyleMap[columnsMode]} ${titleAlignStyleMap[align ?? 'center']}`, children: subtitle })) : null, jsx(LinkDocsList, { className: linkColumnsModeStyleMap[columnsMode], columnsMode: columnsMode, documents: documents, icon: icon })] }));
475
507
  });
476
508
 
477
- const Img = JSX(({ className = '', image: { size, ...image }, imageClassName = '' }) => {
478
- const style = {
479
- width: size?.width ? `${size?.width}px` : '100%',
480
- height: size?.height ? `${size?.height}px` : '100%',
481
- };
482
- const title = image.title || '';
483
- const alt = image.alt || title;
484
- return (jsxs("picture", { className: `flex-none ${className}`, children: [image.sources?.length
485
- ? image.sources.map(({ src, format }, index) => (jsx("source", { srcSet: src, type: formatToMimeType(format) }, `${index}_${src}`)))
486
- : null, jsx("img", { className: imageClassName, src: image.src, alt: alt, title: title, style: style, ...size })] }));
487
- });
488
- function formatToMimeType(format) {
489
- return format ? `image/${String(format)}` : undefined;
490
- }
491
-
492
- const PictureText = JSX(({ className = '', title, image, benefits, anchor = null }) => {
493
- return (jsxs("section", { className: `relative font-sans text-primary-text bg-white p-14 ${className}`, id: anchor, children: [jsx(Heading, { headingType: "h2", className: "text-center", title: title }), jsxs("div", { className: 'flex justify-center mt-9', children: [image?.src && jsx(Img, { className: "mr-6", image: image }), benefits?.length ? (jsx("div", { className: "flex flex-col", children: benefits.map(renderBenefit$1) })) : null] })] }));
509
+ const pictureTextStyleMap = {
510
+ primary: 'bg-white text-primary-text',
511
+ secondary: 'bg-primary-main text-white',
512
+ };
513
+ const PictureText = JSX(({ className = '', title, image, benefits, version = 'primary', directionRight = false, anchor = null, }) => {
514
+ return (jsxs("section", { className: `relative font-sans p-14 ${pictureTextStyleMap[version]} ${className}`, id: anchor, children: [jsx(Heading, { headingType: "h2", className: "text-center", title: title }), jsxs("div", { className: 'flex justify-center mt-9', children: [image?.src && jsx(Img, { className: directionRight ? 'order-2 ml-6' : 'mr-6', image: image }), benefits?.length ? (jsx("div", { className: "flex flex-col", children: benefits.map((_, i) => renderBenefit$1(_, i, version)) })) : null] })] }));
494
515
  });
495
- function renderBenefit$1(benefit, i) {
496
- return (jsxs("div", { className: "flex flex-row mb-8", children: [benefit.icon && (jsx(Icon, { className: "w-[48px] h-[48px] bg-main rounded-full box-border p-[12px]", name: benefit.icon, width: "48", height: "48", asSVG: true })), jsxs("div", { className: "flex gap-1 flex-col h-full ml-5 max-w-[490px]", children: [benefit.label && (jsx("div", { className: "font-medium text-primary-text text-xl m-0", children: benefit.label })), benefit.description && (jsx("div", { className: "font-normal text-sm text-secondary-text", children: benefit.description }))] })] }, String(i)));
516
+ function renderBenefit$1(benefit, i, version) {
517
+ return (jsxs("div", { className: "flex flex-row mb-8", children: [benefit.icon ? (jsx(Img, { className: "w-[48px] h-[48px] bg-main rounded-full box-border p-[12px]", image: benefit.icon, width: "48", height: "48", asSVG: true })) : null, jsxs("div", { className: "flex gap-1 flex-col h-full ml-5 max-w-[490px]", children: [benefit.label && (jsx("div", { className: `font-medium text-xl m-0 ${version === 'primary' ? 'text-primary-text' : ''}`, children: benefit.label })), benefit.description && (jsx("div", { className: `font-normal text-sm ${version === 'primary' ? 'text-secondary-text' : ''}`, children: benefit.description }))] })] }, String(i)));
497
518
  }
498
519
 
499
520
  const isURL = (href) => href?.includes('//');
@@ -576,14 +597,14 @@
576
597
 
577
598
  const ButtonInner = JSX((props) => {
578
599
  const { text, aboveText, appendLeft } = props;
579
- return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? appendLeft : null, isWithText(props) ? (jsxs("div", { children: [jsx("div", { className: "text-m-2xs text-left", children: aboveText }), jsx("div", { className: "text-m-button font-medium text-left", children: text })] })) : null] }));
600
+ return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? appendLeft : null, isWithText(props) ? (jsxs("div", { children: [jsx("div", { className: "text-m-2xs font-light text-left", children: aboveText }), jsx("div", { className: "text-base text-left", children: text })] })) : null] }));
580
601
  });
581
602
  const getButtonStyle = (props) => {
582
603
  const { version, aboveText, rounded } = props;
583
604
  if (version === 'link') {
584
605
  return '';
585
606
  }
586
- const withTextStyle = `px-8 gap-2 ${aboveText ? 'py-2' : 'py-3.5'}`;
607
+ const withTextStyle = `px-8 gap-2 ${aboveText ? 'py-2' : 'py-4'}`;
587
608
  return [
588
609
  'flex items-center justify-center',
589
610
  isWithText(props) ? withTextStyle : 'h-12 w-12',
@@ -592,7 +613,7 @@
592
613
  };
593
614
  const isWithText = ({ text, aboveText, appendLeft }) => Boolean(text || aboveText || !appendLeft);
594
615
 
595
- const buttonStyleMap$1 = {
616
+ const buttonStyleMap = {
596
617
  primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
597
618
  secondary: 'text-primary-main bg-secondary-light hover:bg-secondary-hover active:bg-secondary-active',
598
619
  link: '',
@@ -608,7 +629,7 @@
608
629
  const buttonInner = children ?? (jsx(ButtonInner, { text: text, aboveText: aboveText, appendLeft: appendLeft, rounded: rounded }));
609
630
  return disabled ? (jsx(DisabledButton, { ...props, children: buttonInner })) : (jsx(RegularButton, { ...props, children: buttonInner }));
610
631
  });
611
- const RegularButton = JSX(({ className, ariaLabel, version = 'none', rounded, href, target, children, onClick, ...rest }) => (jsx("a", { className: `${buttonStyle} inline-block cursor-pointer no-underline ${buttonStyleMap$1[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, href: href, target: target, onClick: onClick, "aria-label": ariaLabel, role: href ? 'link' : 'button', ...rest, children: children })));
632
+ const RegularButton = JSX(({ className, ariaLabel, version = 'none', rounded, href, target, children, onClick, ...rest }) => (jsx("a", { className: `${buttonStyle} inline-block cursor-pointer no-underline ${buttonStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, href: href, target: target, onClick: onClick, "aria-label": ariaLabel, role: href ? 'link' : 'button', ...rest, children: children })));
612
633
  const DisabledButton = JSX(({ className, children, ariaLabel, version = 'none', rounded }) => (jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: "-1", className: `inline-block ${buttonStyle} ${buttonDisabledStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, children: children })));
613
634
 
614
635
  const ButtonSection = JSX(({ context, className = '', buttons }) => {
@@ -619,7 +640,7 @@
619
640
  function renderButton$2({ icon, ...button }, i) {
620
641
  if (!button?.text)
621
642
  return;
622
- return icon ? (jsx(Button, { appendLeft: jsx(Icon, { name: icon, width: "24", height: "24", asSVG: true }), ...button }, String(i))) : (jsx(Button, { ...button }, String(i)));
643
+ return icon ? (jsx(Button, { appendLeft: jsx(Img, { image: icon, width: "24", height: "24", asSVG: true }), ...button }, String(i))) : (jsx(Button, { ...button }, String(i)));
623
644
  }
624
645
 
625
646
  const Description = JSX((props) => {
@@ -627,14 +648,14 @@
627
648
  return jsx("div", { className: `font-normal text-base ${className}`, children: description });
628
649
  });
629
650
 
630
- const LIST_STYLE_CLASSES = 'rounded-full inline-block mr-3 mt-2';
651
+ const LIST_STYLE_CLASSES = 'rounded-full inline-block mr-3';
631
652
  const LIST_DOT_STYLE_MAP = {
632
653
  primary: 'bg-primary-main',
633
654
  secondary: 'bg-white',
634
655
  gray: 'bg-secondary-text',
635
656
  };
636
657
  const ListItem = JSX(({ className = '', isDotted = true, children, version = 'primary' }) => {
637
- return (jsxs("div", { className: `font-sans flex items-start ${className}`, role: "listitem", children: [isDotted && jsx("div", { className: getListStyle(version) }), jsx("span", { children: children })] }));
658
+ return (jsxs("div", { className: `font-sans flex items-center ${className}`, role: "listitem", children: [isDotted && jsx("div", { className: getListStyle(version) }), jsx("span", { children: children })] }));
638
659
  });
639
660
  const getListStyle = (version) => {
640
661
  const size = version === 'gray' ? 'w-1.5 h-1.5 min-w-1.5 min-h-1.5' : 'w-2 h-2 min-w-2 min-h-2';
@@ -670,21 +691,22 @@
670
691
  secondary: 'text-white',
671
692
  };
672
693
  function renderBenefit(benefit, i, version) {
673
- return (jsxs("div", { className: "flex gap-4 items-center", children: [benefit.icon && (jsx(Icon, { className: `w-[50px] h-[50px] min-w-[50px] min-h-[50px] rounded-full p-[10px] box-border ${benefitIconBgStyleMap[version]}`, name: benefit.icon, width: "24", height: "24", asSVG: true })), jsxs("div", { className: "flex gap-1 flex-col h-full max-w-[149px]", children: [jsx("div", { className: `font-medium text-xl m-0 ${benefitTitleStyleMap[version]}`, children: benefit.label }), benefit.description && (jsx("div", { className: `font-normal text-sm ${benefitDescStyleMap[version]}`, children: benefit.description }))] })] }, String(i)));
694
+ return (jsxs("div", { className: "flex gap-4 items-center", children: [benefit.icon ? (jsx(Img, { className: `w-[50px] h-[50px] min-w-[50px] min-h-[50px] rounded-full p-[10px] box-border ${benefitIconBgStyleMap[version]}`, image: benefit.icon, width: "24", height: "24", asSVG: true })) : null, jsxs("div", { className: "flex gap-1 flex-col h-full max-w-[149px]", children: [jsx("div", { className: `font-medium text-xl m-0 ${benefitTitleStyleMap[version]}`, children: benefit.label }), benefit.description && (jsx("div", { className: `font-normal text-sm ${benefitDescStyleMap[version]}`, children: benefit.description }))] })] }, String(i)));
674
695
  }
675
696
 
676
697
  const ProductBlockInner = JSX(({ className = '', context, title, headingType = 'h2', description, benefits, buttons, image, items, version = 'primary', isDotted = true, textBlockClassName = '', }) => {
677
- const textColor = version === 'secondary' ? 'text-white' : '';
678
- return (jsxs("div", { className: `flex grow justify-between items-stretch ${className}`, children: [jsx("div", { className: `flex flex-col ${textBlockClassName}`, children: jsxs(BaseTile, { context: context, title: getTitle(title, headingType, textColor), buttons: getButtons(context, buttons), children: [description && (jsx(Description, { className: "mt-4 max-w-[600px]", description: description })), benefits?.filter((items) => items.label)?.length ? (jsx("div", { className: "flex gap-6 mt-6", children: benefits.map((_, i) => renderBenefit(_, i, version)) })) : null, items?.length ? (jsx(List, { className: "mt-5 text-m-base", items: items, itemClassName: "mb-[10px]", version: version, isDotted: isDotted })) : null] }) }), image?.src && jsx(Img, { className: "mt-auto", image: image })] }));
698
+ const textColor = version === 'secondary' ? 'text-white' : 'text-primary-text';
699
+ return (jsxs("div", { className: `flex grow justify-between items-stretch ${className}`, children: [jsx("div", { className: `flex flex-col ${textBlockClassName}`, children: jsxs(BaseTile, { context: context, title: getTitle(title, headingType, textColor), buttons: getButtons(context, buttons), children: [description && (jsx(Description, { className: `mt-[18px] max-w-[600px] text-title-new-sm font-light ${textColor}`, description: description })), benefits?.filter((items) => items.label)?.length ? (jsx("div", { className: "flex gap-6 mt-6", children: benefits.map((_, i) => renderBenefit(_, i, version)) })) : null, items?.length ? (jsx(List, { className: "mt-5 text-title-new-sm font-light", items: items, itemClassName: "mb-[10px]", version: version, isDotted: isDotted })) : null] }) }), image?.src && jsx(Img, { className: "mt-auto", image: image })] }));
679
700
  });
680
701
  const getTitle = (title, headingType, textColor) => {
681
- return (title && (jsx(Heading, { headingType: headingType, title: title, className: `whitespace-pre-wrap max-w-[600px] ${textColor}` })));
702
+ const Tag = headingType;
703
+ return (title && jsx(Tag, { className: `font-sans font-medium m-0 text-title-xl ${textColor}`, children: title }));
682
704
  };
683
705
  const getButtons = (context, buttons) => {
684
706
  return buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null;
685
707
  };
686
708
 
687
- const productBlockStyleMap = {
709
+ const productBlockStyleMap$1 = {
688
710
  primary: 'bg-white text-primary-text',
689
711
  secondary: 'bg-primary-main text-white',
690
712
  };
@@ -693,10 +715,10 @@
693
715
  secondary: 'text-white/80',
694
716
  };
695
717
  const ProductBlock = JSX((props) => {
696
- const { context, className, breadcrumbs, version = 'primary', anchor = null, ...otherProps } = props;
718
+ const { context, className = '', breadcrumbs, version = 'primary', anchor = null, ...otherProps } = props;
697
719
  const router = context.useRouter();
698
720
  const { handlerDecorator } = context;
699
- return (jsxs("section", { className: `font-sans pt-10 pl-[50px] pb-[50px] pr-[7.5rem] box-border min-h-[420px] ${className || ''} ${productBlockStyleMap[version]}`, id: anchor, children: [breadcrumbs?.length ? (jsx("div", { className: "text-xs mb-6", children: joinList(jsx("span", { className: `mx-2 ${breadcrumbsStyleMap[version]}`, children: "/" }))(breadcrumbs.map((breadcrumb, i) => (jsx(Breadcrumb, { ...useLink({ router, handlerDecorator }, { className: breadcrumbsStyleMap[version], ...breadcrumb }) }, String(i))))) })) : null, jsx(ProductBlockInner, { context: context, version: version, ...otherProps })] }));
721
+ return (jsxs("section", { className: `font-sans pt-10 pl-[50px] pb-[50px] pr-[7.5rem] box-border min-h-[420px] ${productBlockStyleMap$1[version]} ${className}`, id: anchor, children: [breadcrumbs?.length ? (jsx("div", { className: "text-xs mb-6", children: joinList(jsx("span", { className: `mx-2 ${breadcrumbsStyleMap[version]}`, children: "/" }))(breadcrumbs.map((breadcrumb, i) => (jsx(Breadcrumb, { ...useLink({ router, handlerDecorator }, { className: breadcrumbsStyleMap[version], ...breadcrumb }) }, String(i))))) })) : null, jsx(ProductBlockInner, { context: context, version: version, ...otherProps })] }));
700
722
  });
701
723
 
702
724
  const textBlockStyleMaps = {
@@ -848,7 +870,7 @@
848
870
  return (jsxs("div", { className: "h-full flex flex-col justify-between", children: [jsxs("div", { children: [image?.src ? (jsx("div", { className: "flex justify-center", children: jsx(Img, { className: "mb-6", image: image }) })) : null, title ? renderCardTitle(title, titleStyleClasses) : null, description ? (jsx("div", { className: `font-normal text-sm ${title ? 'mt-2' : ''}`, children: description })) : null, items?.length ? renderItems(items, version) : null] }), button?.text ? renderButton$1(button) : null] }));
849
871
  });
850
872
  function renderButton$1(button) {
851
- return (jsx(Button, { className: "mt-6 w-full", appendLeft: button.icon && jsx(Icon, { name: button.icon, width: "24px", height: "24px", asSVG: true }), ...button }));
873
+ return (jsx(Button, { className: "mt-6 w-full", appendLeft: button.icon && jsx(Img, { image: button.icon, width: "24px", height: "24px", asSVG: true }), ...button }));
852
874
  }
853
875
  function renderCardTitle(title, className) {
854
876
  return jsx("div", { className: `font-medium text-xl m-0 ${className}`, children: title });
@@ -909,20 +931,20 @@
909
931
  LinkList,
910
932
  };
911
933
 
912
- const renderBlocksList = ({ blocks, context, className, columns, version, }) => blocks?.length ? blocks.map(renderBlock$1({ context, className, columns, version })) : null;
913
- const renderBlock$1 = ({ context, columns, className, version }) => (block, i) => {
934
+ const renderBlocksList = ({ blocks, context, className, columns }) => blocks?.length ? blocks.map(renderBlock$1({ context, className, columns })) : null;
935
+ const renderBlock$1 = ({ context, columns, className }) => (block, i) => {
914
936
  const type = block?.blockListType;
915
937
  if (!type || !(type in EmbeddableBlocks)) {
916
938
  return null;
917
939
  }
918
940
  const columnsCountClass = columns === 2 ? 'w-1/2' : '';
919
941
  const EmbeddedBlock = EmbeddableBlocks[type];
920
- return (jsx("div", { className: `${className} ${columnsCountClass}`, children: jsx(EmbeddedBlock, { context: context, ...block, blockVersion: version, className: "!p-0" }) }, `block_${i}`));
942
+ return (jsx("div", { className: `${className} ${columnsCountClass}`, children: jsx(EmbeddedBlock, { context: context, ...block, className: "!p-0" }) }, `block_${i}`));
921
943
  };
922
944
 
923
- const AccordionItemInner = JSX(({ blocks, columns = 1, context, version = 'primary' }) => {
945
+ const AccordionItemInner = JSX(({ blocks, context }) => {
924
946
  const className = 'mb-5 last:mb-0 pb-5';
925
- return (jsx("div", { className: "transition-all duration-300 max-h-0 overflow-hidden", children: renderBlocksList({ context, className, columns, blocks, version }) }));
947
+ return (jsx("div", { className: "transition-all duration-300 max-h-0 overflow-hidden", children: renderBlocksList({ context, className, blocks }) }));
926
948
  });
927
949
 
928
950
  const useActiveHandler$1 = ({ context, blocks, initialState = false }) => {
@@ -943,37 +965,26 @@
943
965
  return { isActive, hasContent, icon, handleToggle };
944
966
  };
945
967
 
946
- const buttonStyleMap = {
947
- primary: 'text-primary-text',
948
- secondary: 'text-white',
949
- };
950
- const buttonHoverStyleMap = {
951
- primary: 'group-hover:text-primary-main',
952
- secondary: 'group-hover:text-white',
953
- };
954
- const AccordionItem = JSX(({ label, isExpanded, blocks, columns, context, version = 'primary' }) => {
968
+ const AccordionItem = JSX(({ label, isExpanded, blocks, context }) => {
955
969
  const { isActive, hasContent, icon, handleToggle } = useActiveHandler$1({
956
970
  context,
957
971
  blocks,
958
972
  initialState: isExpanded,
959
973
  });
960
- return (jsxs("li", { className: "border-0 border-b border-solid border-main-divider last:border-b-0", children: [jsxs("button", { className: `border-none bg-transparent px-0 py-5 flex justify-between text-left w-full font-sans ${buttonStyleMap[version]}
961
- ${hasContent ? 'group cursor-pointer' : ''}`, onClick: handleToggle, children: [jsx("span", { className: `text-xl pr-2.5 font-medium ${hasContent ? buttonHoverStyleMap[version] : ''}`, children: label }), hasContent ? jsx(Icon, { name: icon, width: "24", height: "24", asSVG: true }) : null] }), hasContent ? (jsx(AccordionItemInner, { isExpanded: isActive, columns: columns, blocks: blocks, version: version, context: context })) : null] }));
974
+ return (jsxs("li", { className: "border-0 border-b border-solid border-main-divider last:border-b-0", children: [jsxs("button", { className: `border-none bg-transparent px-0 py-5 flex justify-between text-left w-full font-sans
975
+ ${hasContent ? 'group cursor-pointer' : ''}
976
+ `, onClick: handleToggle, children: [jsx("span", { className: `text-xl pr-2.5 font-medium`, children: label }), hasContent ? jsx(Img, { image: icon, width: "24", height: "24", asSVG: true }) : null] }), hasContent ? (jsx(AccordionItemInner, { isExpanded: isActive, blocks: blocks, context: context })) : null] }));
962
977
  });
963
978
 
964
- const accordionStyleMap = {
965
- primary: 'bg-white text-primary-text',
966
- secondary: 'bg-primary-main text-white',
967
- };
968
- const Accordion = JSX(({ title, accordionItems, context, className = '', version = 'primary', anchor = null }) => {
969
- return (jsxs("section", { className: `p-[50px] font-sans ${className} ${accordionStyleMap[version]}`, id: anchor, children: [title ? jsx(Heading, { headingType: "h4", className: "mb-2.5", title: title }) : null, accordionItems?.length ? (jsx("ul", { className: "list-none m-0 p-0", children: accordionItems.map((item, i) => (jsx(AccordionItem, { ...item, version: version, context: context }, `AccordionItem${i}`))) })) : null] }));
979
+ const Accordion = JSX(({ title, description, accordionItems, context, className = '', anchor = null }) => {
980
+ return (jsxs("section", { className: `p-[50px] font-sans bg-white text-primary-text ${className}`, id: anchor, children: [title ? jsx(Heading, { headingType: "h4", className: "mb-2.5", title: title }) : null, description ? jsx("div", { className: "mb-2.5 text-base", children: description }) : null, accordionItems?.length ? (jsx("ul", { className: "list-none m-0 p-0", children: accordionItems.map((item, i) => (jsx(AccordionItem, { ...item, context: context }, `AccordionItem${i}`))) })) : null] }));
970
981
  });
971
982
 
972
983
  const BenefitsBlock = JSX(({ className, title, benefits, anchor = null }) => {
973
984
  return (jsxs("section", { className: `font-sans text-primary-text bg-white p-12 flex flex-col items-center ${className || ''}`, id: anchor, children: [title ? (jsx(Heading, { headingType: "h2", className: "max-w-[47rem] text-center", title: title })) : null, benefits?.length ? (jsx("div", { className: "grid grid-cols-2 gap-8 mt-9", children: benefits.map(renderStep) })) : null] }));
974
985
  });
975
986
  const renderStep = (benefit, i) => {
976
- return (jsxs("div", { className: "flex items-center gap-5 max-w-[500px]", children: [benefit.icon && (jsx(Icon, { className: "h-[70px] w-[70px] min-w-[70px] min-h-[70px]", name: benefit.icon, width: "70", height: "70" })), jsxs("div", { children: [jsx("h3", { className: "font-medium text-xl m-0", children: benefit.label }), benefit.description && (jsx("div", { className: "font-normal text-sm mt-2", children: benefit.description }))] })] }, String(i)));
987
+ return (jsxs("div", { className: "flex items-center gap-5 max-w-[500px]", children: [benefit.icon ? (jsx(Img, { className: "h-[70px] w-[70px] min-w-[70px] min-h-[70px]", image: benefit.icon, width: "70", height: "70" })) : null, jsxs("div", { children: [jsx("h3", { className: "font-medium text-xl m-0", children: benefit.label }), benefit.description && (jsx("div", { className: "font-normal text-sm mt-2", children: benefit.description }))] })] }, String(i)));
977
988
  };
978
989
 
979
990
  const TableRowContainer = JSX(({ children }) => (jsx("div", { className: "self-start flex flex-col", role: "row", children: jsx("div", { className: "flex", children: children }) })));
@@ -991,7 +1002,7 @@
991
1002
  };
992
1003
  const TableCarouselContainer = JSX(({ children, activeCardIndex, columnWidth, version = 'comparison' }) => (jsx("div", { className: "flex flex-1 overflow-hidden", children: jsx("div", { className: carouselContainerClassesMap[version], style: { transform: `translateX(-${activeCardIndex * columnWidth}px)` }, children: children }) })));
993
1004
 
994
- 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", scope: "col", children: [icon && !image?.src && (jsx(Icon, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", name: icon, width: "63", height: "63" })), image?.src && jsx(Img, { className: "mb-[18px]", image: image }), title && jsx(Heading, { headingType: "h4", className: "text-center text-white", title: title }), 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: "font-medium text-xs py-[11px]", children: link.text }) }) }))] })));
1005
+ 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", scope: "col", children: [icon && !image?.src && (jsx(Img, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", image: icon, width: "63", height: "63" })), image?.src && jsx(Img, { className: "mb-[18px]", image: image }), title && jsx(Heading, { headingType: "h4", className: "text-center text-white", title: title }), 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: "font-medium text-xs py-[11px]", children: link.text }) }) }))] })));
995
1006
 
996
1007
  const ComparisonTableColumnHeaders = JSX(({ colHeaders, activeCardIndex, router, handlerDecorator }) => {
997
1008
  return (jsxs(TableRowContainer, { children: [jsx("div", { className: FIRST_CELL_CLASSES$1, role: "columnheader", scope: "col" }), jsx(TableCarouselContainer, { activeCardIndex: activeCardIndex, columnWidth: COLUMN_WIDTH$1, children: colHeaders.map((header, i) => (jsx(HeaderCell, { ...header, link: header.link && useLink({ router, handlerDecorator }, header.link) }, String(i)))) })] }));
@@ -1065,7 +1076,7 @@
1065
1076
  const isActive = currentTabIndex === index;
1066
1077
  return (jsxs("div", { className: `flex h-full flex-1 cursor-pointer mr-2 last:mr-0 box-content ${isActive ? ACTIVE_TAB_STYLE : TAB_STYLE}`, role: "tab", onClick: () => onTabClick(index), "aria-selected": String(isActive), children: [tab?.icon ? renderIcon(tab, isActive) : null, jsxs("div", { children: [tab?.title ? jsx("h3", { className: "font-medium m-0 text-base", children: tab?.title }) : null, tab?.description ? (jsx("span", { className: `font-light text-xs ${isActive ? '' : 'text-secondary-text'}`, children: tab?.description })) : null] })] }, String(index)));
1067
1078
  };
1068
- const renderIcon = (tab, isActive) => (jsx("div", { className: "h-full mt-1", style: isActive ? { filter: 'invert(1)' } : null, children: jsx(Icon, { className: "w-5 h-5 mr-3", name: tab?.icon || 'CardIcon', asSVG: !isActive }) }));
1079
+ const renderIcon = (tab, isActive) => (jsx("div", { className: "h-full mt-1", style: isActive ? { filter: 'invert(1)' } : null, children: jsx(Img, { className: "w-5 h-5 mr-3", image: tab?.icon || 'CardIcon', asSVG: !isActive }) }));
1069
1080
 
1070
1081
  function useCreditCalculatorData(useAsyncData, directoryName) {
1071
1082
  const { data } = useAsyncData(creditCalculatorUrl(directoryName), fetchCreditCalculatorData);
@@ -1244,19 +1255,19 @@
1244
1255
  title: 'Кредит',
1245
1256
  description: 'Ставка от 6% до 7 лет',
1246
1257
  directoryName: 'credit-calculator-data',
1247
- icon: 'CardIcon',
1258
+ icon: { icon: 'CardIcon' },
1248
1259
  },
1249
1260
  {
1250
1261
  title: 'Кредит',
1251
1262
  description: 'Ставка от 4% до 7 лет',
1252
1263
  directoryName: 'credit-calculator-data1',
1253
- icon: 'ChartSquareIcon',
1264
+ icon: { icon: 'ChartSquareIcon' },
1254
1265
  },
1255
1266
  {
1256
1267
  title: 'Кредит',
1257
1268
  description: 'Ставка от 3% до 6 лет',
1258
1269
  directoryName: 'credit-calculator-data2',
1259
- icon: 'DiscountShapeIcon',
1270
+ icon: { icon: 'DiscountShapeIcon' },
1260
1271
  },
1261
1272
  ];
1262
1273
 
@@ -1293,10 +1304,10 @@
1293
1304
  });
1294
1305
  const renderCurrencyRow = (exchangeCurrencyItem) => {
1295
1306
  const code = exchangeCurrencyItem?.currency?.currency;
1296
- return (jsxs("tr", { className: "pb-1", children: [jsx("td", { className: "pt-4", children: jsxs("div", { className: "flex items-center", children: [code ? jsx(Icon, { name: CURRENCY_ICONS_MAP[code], width: "24", height: "24" }) : null, jsx("span", { className: "text-m-title-md ml-2", children: code })] }) }), jsx("td", { className: "pt-4 pl-11 m-title-md font-light", children: formatCurrency(exchangeCurrencyItem.buyExchangeRate) }), jsx("td", { className: "pt-4 pl-11 m-title-md font-light", children: formatCurrency(exchangeCurrencyItem.saleExchangeRate) })] }, code));
1307
+ return (jsxs("tr", { className: "pb-1", children: [jsx("td", { className: "pt-4", children: jsxs("div", { className: "flex items-center", children: [code ? jsx(Img, { image: { icon: CURRENCY_ICONS_MAP[code] }, width: "24", height: "24" }) : null, jsx("span", { className: "text-m-title-md ml-2", children: code })] }) }), jsx("td", { className: "pt-4 pl-11 m-title-md font-light", children: formatCurrency(exchangeCurrencyItem.buyExchangeRate) }), jsx("td", { className: "pt-4 pl-11 m-title-md font-light", children: formatCurrency(exchangeCurrencyItem.saleExchangeRate) })] }, code));
1297
1308
  };
1298
1309
 
1299
- const CurrentLocation = JSX(({ className = '', address, distance }) => (jsxs("div", { className: `flex text-sm ${className}`, children: [jsx(Icon, { className: "min-w-fit", name: "GpsIcon", width: "24", height: "24", asSVG: true }), jsxs("div", { className: "ml-3 font-light", children: [address ? jsx("p", { className: "m-0 mb-[3px]", children: address }) : null, distance ? (jsxs("p", { className: "text-secondary-text m-0", children: ["\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0431\u043B\u0438\u0436\u0430\u0439\u0448\u0435\u0433\u043E \u043E\u0444\u0438\u0441\u0430 - ", distance] })) : null] })] })));
1310
+ const CurrentLocation = JSX(({ className = '', address, distance }) => (jsxs("div", { className: `flex text-sm ${className}`, children: [jsx(Img, { className: "min-w-fit", image: { icon: 'GpsIcon' }, width: "24", height: "24", asSVG: true }), jsxs("div", { className: "ml-3 font-light", children: [address ? jsx("p", { className: "m-0 mb-[3px]", children: address }) : null, distance ? (jsxs("p", { className: "text-secondary-text m-0", children: ["\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0431\u043B\u0438\u0436\u0430\u0439\u0448\u0435\u0433\u043E \u043E\u0444\u0438\u0441\u0430 - ", distance] })) : null] })] })));
1300
1311
 
1301
1312
  const Input = JSX(({ className = '', id, name, type = 'text', placeholder }) => {
1302
1313
  return (jsx("input", { className: className, id: id, name: name || id, type: type, placeholder: placeholder }));
@@ -1364,7 +1375,7 @@
1364
1375
 
1365
1376
  const SearchBar = JSX(({ className, context }) => {
1366
1377
  const { term, setTerm } = context.useSearch();
1367
- return (jsxs("form", { className: `relative ${className || ''}`, children: [jsxs("div", { className: "absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none", children: [jsx("div", { className: "w-[24px] h-[24px]", children: jsx(Icon, { name: "LoupeIcon", width: "24", height: "24" }) }), !term && (jsx("label", { htmlFor: "search-bar-input", className: "font-sans font-normal text-base text-secondary-text", children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443" }))] }), jsx("input", { id: "search-bar-input", className: 'h-12 pl-12 w-full peer font-sans font-normal text-base text-black border border-solid rounded h-full box-border outline-none pr-[6%] border-main-divider focus:border-primary-text', value: term, onChange: (e) => setTerm(e.target.value), type: "text", name: "search-bar-input" }), jsx(Button, { version: "primary", text: "\u041D\u0430\u0439\u0442\u0438", className: "invisible peer-focus:visible absolute top-1 right-1", onClick: (e) => {
1378
+ return (jsxs("form", { className: `relative ${className || ''}`, children: [jsxs("div", { className: "absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none", children: [jsx("div", { className: "w-[24px] h-[24px]", children: jsx(Img, { image: "LoupeIcon", width: "24", height: "24" }) }), !term && (jsx("label", { htmlFor: "search-bar-input", className: "font-sans font-normal text-base text-secondary-text", children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443" }))] }), jsx("input", { id: "search-bar-input", className: 'h-12 pl-12 w-full peer font-sans font-normal text-base text-black border border-solid rounded h-full box-border outline-none pr-[6%] border-main-divider focus:border-primary-text', value: term, onChange: (e) => setTerm(e.target.value), type: "text", name: "search-bar-input" }), jsx(Button, { version: "primary", text: "\u041D\u0430\u0439\u0442\u0438", className: "invisible peer-focus:visible absolute top-1 right-1", onClick: (e) => {
1368
1379
  e.preventDefault();
1369
1380
  console.log('click');
1370
1381
  }, children: jsx("div", { className: "font-normal text-sm px-9 py-[9px]", children: "\u041D\u0430\u0439\u0442\u0438" }) })] }));
@@ -1437,25 +1448,37 @@
1437
1448
  const ICONS_MAP = [
1438
1449
  {
1439
1450
  origins: ['t.me', 'telegram.org'],
1440
- icon: 'TelegramIcon',
1451
+ icon: { icon: 'TelegramIcon' },
1441
1452
  label: 'Телеграм',
1442
1453
  width: '20px',
1443
1454
  height: '16px',
1444
1455
  },
1445
- { origins: ['vk.com'], icon: 'VKIcon', label: 'ВКонтакте', width: '24px', height: '12px' },
1446
- { origins: ['ok.ru'], icon: 'OkIcon', label: 'Одноклассники', width: '12px', height: '20px' },
1456
+ {
1457
+ origins: ['vk.com'],
1458
+ icon: { icon: 'VKIcon' },
1459
+ label: 'ВКонтакте',
1460
+ width: '24px',
1461
+ height: '12px',
1462
+ },
1463
+ {
1464
+ origins: ['ok.ru'],
1465
+ icon: { icon: 'OkIcon' },
1466
+ label: 'Одноклассники',
1467
+ width: '12px',
1468
+ height: '20px',
1469
+ },
1447
1470
  ];
1448
1471
  const MediaButton = JSX(({ href }) => {
1449
1472
  const { icon, width, height, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
1450
1473
  if (!icon)
1451
1474
  return null;
1452
- return (jsx("a", { className: "flex items-center justify-center border border-solid border-main-divider rounded-full no-underline outline-none w-[38px] h-[38px] hover:text-primary-main", href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", children: Icon && (jsx(Icon, { name: icon, width: width, height: height, asSVG: true, className: "block", color: "none" })) }));
1475
+ return (jsx("a", { className: "flex items-center justify-center border border-solid border-main-divider rounded-full no-underline outline-none w-[40px] h-[40px] box-border hover:text-primary-main", href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", children: icon ? (jsx(Img, { image: icon, width: width, height: height, asSVG: true, className: "block", color: "none" })) : null }));
1453
1476
  });
1454
1477
 
1455
1478
  const SocialMedia = JSX(({ className, media, context }) => {
1456
1479
  const router = context.useRouter();
1457
1480
  const { handlerDecorator } = context;
1458
- return (jsx("div", { className: `flex items-end justify-end gap-2 pt-[30px] pb-7 ${className || ''}`, children: media?.map((_, index) => (jsx(MediaButton, { ...useLink({ router, handlerDecorator }, _) }, String(index)))) }));
1481
+ return (jsx("div", { className: `flex items-end gap-2 pt-[30px] pb-7 ${className || ''}`, children: media?.map((_, index) => (jsx(MediaButton, { ...useLink({ router, handlerDecorator }, _) }, String(index)))) }));
1459
1482
  });
1460
1483
 
1461
1484
  const TextInformation = JSX(({ className, links, context }) => {
@@ -1546,14 +1569,14 @@
1546
1569
  };
1547
1570
  const HeaderSecondaryMenu = JSX(({ context, className, defaultLocation = '', bgColor = 'bg-white' }) => {
1548
1571
  const [city, getCity] = context.useGeolocation(defaultLocation);
1549
- return (jsxs("div", { className: `flex items-center ${className || ''}`, children: [jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: city, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: getCity, bgColor: bgColor }), jsx(TopItem, { className: "mr-7", flat: true, href: "#", text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432", bgColor: bgColor }), jsx(HeaderSecondaryMenuButton, { className: `mr-5 ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: jsx(Icon, { name: "LoupeIcon", className: "h-full", asSVG: true, color: "none" }) }), jsx(HeaderSecondaryMenuButton, { className: `mr-5 ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u0440\u043E\u0444\u0438\u043B\u044C", children: jsx(Icon, { name: "ProfileIcon", className: "h-full", asSVG: true, color: "none" }) }), jsx(HeaderSecondaryMenuButton, { className: `${DOP_LINKS_COLORS_MAP[bgColor]} min-w-[32px] min-h-[32px]`, ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: jsx(Icon, { name: DOP_LINKS_ICON_NAME_MAP[bgColor], className: "h-full", asSVG: true, color: "none" }) })] }));
1572
+ return (jsxs("div", { className: `flex items-center ${className || ''}`, children: [jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: city, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: getCity, bgColor: bgColor }), jsx(TopItem, { className: "mr-7", flat: true, href: "#", text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432", bgColor: bgColor }), jsx(HeaderSecondaryMenuButton, { className: `mr-5 ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: jsx(Img, { image: "LoupeIcon", className: "h-full", asSVG: true, color: "none" }) }), jsx(HeaderSecondaryMenuButton, { className: `mr-5 ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u0440\u043E\u0444\u0438\u043B\u044C", children: jsx(Img, { image: "ProfileIcon", className: "h-full", asSVG: true, color: "none" }) }), jsx(HeaderSecondaryMenuButton, { className: `${DOP_LINKS_COLORS_MAP[bgColor]} min-w-[32px] min-h-[32px]`, ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: jsx(Img, { image: DOP_LINKS_ICON_NAME_MAP[bgColor], className: "h-full", asSVG: true, color: "none" }) })] }));
1550
1573
  });
1551
1574
 
1552
1575
  const BORDER_COLORS = {
1553
1576
  'bg-white': 'bg-main-divider',
1554
1577
  transparent: 'bg-main-divider opacity-30',
1555
1578
  };
1556
- const Header = JSX(({ className, defaultLocation, bgColor = 'bg-white', context, topItems, anchor = null }) => {
1579
+ const Header = JSX(({ className, defaultLocation = 'Москва', bgColor = 'bg-white', context, topItems, anchor = null, }) => {
1557
1580
  const router = context.useRouter();
1558
1581
  const sitemap = useSitemap(context.useAsyncData);
1559
1582
  const { handlerDecorator } = context;
@@ -1567,7 +1590,7 @@
1567
1590
  });
1568
1591
 
1569
1592
  const MobileAppTile = JSX(({ className = '', context, title = 'Мобильное приложение', qr, buttons = [], anchor = null, }) => {
1570
- return (jsx("section", { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, id: anchor, children: jsx(BaseTile, { context: context, title: title && (jsx(Heading, { headingType: getTileHeadingType(className), title: title, className: `whitespace-pre-wrap max-w-[600px]` })), buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, children: jsxs("div", { className: "flex items-center", children: [qr?.src && qr?.href && (jsx("a", { href: qr.href, target: "_blank", "aria-label": title, children: jsx("img", { src: qr.src, alt: title, title: title, width: "164", height: "164", className: "w-[90px] h-[90px] min-w-[90px] min-h-[90px] bg-secondary-light" }) })), jsx("span", { className: "font-normal text-sm text-secondary-text ml-4", 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" })] }) }) }));
1593
+ return (jsx("section", { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, id: anchor, children: jsx(BaseTile, { context: context, title: title && (jsx(Heading, { headingType: getTileHeadingType(className), title: title, className: `whitespace-pre-wrap max-w-[600px] mb-7` })), buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-7 gap-4" })) : null, children: jsxs("div", { className: "flex items-center", children: [qr?.src && qr?.href && (jsx("a", { href: qr.href, target: "_blank", "aria-label": title, children: jsx("img", { src: qr.src, alt: title, title: title, width: "164", height: "164", className: "w-[90px] h-[90px] min-w-[90px] min-h-[90px] bg-secondary-light" }) })), jsx("span", { className: "font-light text-secondary-text ml-4", 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" })] }) }) }));
1571
1594
  });
1572
1595
 
1573
1596
  const NavigationItem = JSX(({ className, text, onClick, href, target, isActive }) => (jsx("a", { className: `bg-inherit no-underline px-4 py-2.5 cursor-pointer rounded text-sm border border-solid hover:text-primary-main ${className || ''} ${isActive ? 'border-primary-main text-primary-main' : 'border-white text-secondary-text'}`, onClick: onClick, href: href, target: target, children: text })));
@@ -1614,11 +1637,20 @@
1614
1637
  const renderShimmerItem = (width = 100, index) => (jsx("div", { style: { width: `${width}%` }, className: "h-4 mt-2 bg-secondary-light" }, String(index)));
1615
1638
  const goldenSequence = (first, size) => [first].concat(size > 0 ? goldenSequence(first / GOLDEN_RATIO, size - 1) : []);
1616
1639
 
1640
+ const productGalleryStyleMap = {
1641
+ primary: 'bg-white text-primary-text',
1642
+ secondary: 'bg-primary-main text-white',
1643
+ };
1644
+ const ProductGalleryBlock = JSX(({ block, headingType, context, className = '' }) => {
1645
+ const version = block?.version ?? 'primary';
1646
+ return (jsx("section", { className: `flex grow-0 shrink-0 basis-full ${productGalleryStyleMap[version]} ${className}`, role: "listitem", children: jsx("div", { className: "p-10 flex grow", children: jsx(ProductBlockInner, { className: "pl-2.5 pt-2.5 pb-1.5 pr-[6.25rem]", context: context, headingType: headingType || 'h2', ...block }) }) }));
1647
+ });
1648
+
1617
1649
  const ProductGallery = JSX(({ className, context, duration = 0, slides = [], anchor = null }) => {
1618
1650
  const galleryNav = slides.map((s) => s.nav);
1619
1651
  const galleryBlocks = slides.map((s) => s.productBlock);
1620
1652
  const [activeSlideIndex, setActiveSlideIndex] = context.useState(0);
1621
- return (jsxs("section", { className: `font-sans bg-white overflow-hidden w-100 ${className || ''}`, id: anchor, children: [jsx("div", { className: `flex duration-1000`, style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock$1(_, i, context)) }), jsx("div", { className: "flex", children: galleryNav.map((slide, i) => renderNavButton$1({
1653
+ return (jsxs("section", { className: `font-sans bg-white overflow-hidden w-100 ${className || ''}`, id: anchor, children: [jsx("div", { className: `flex duration-1000`, style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => (jsx(ProductGalleryBlock, { context: context, block: _ }, String(i)))) }), jsx("div", { className: "flex", children: galleryNav.map((slide, i) => renderNavButton$1({
1622
1654
  slide,
1623
1655
  i,
1624
1656
  activeSlideIndex,
@@ -1626,9 +1658,6 @@
1626
1658
  duration,
1627
1659
  })) })] }));
1628
1660
  });
1629
- function renderProductBlock$1(block, i, context) {
1630
- return (jsx("section", { className: "flex grow-0 shrink-0 basis-full", role: "listitem", children: jsx("div", { className: "p-10 flex grow", children: jsx(ProductBlockInner, { className: "pl-2.5 pt-2.5 pb-1.5 pr-[6.25rem]", context: context, ...block }) }) }, String(i)));
1631
- }
1632
1661
  function renderNavButton$1({ slide, i, activeSlideIndex, onClick, duration }) {
1633
1662
  const isActiveBtn = i === activeSlideIndex;
1634
1663
  const progressBarClassName = isActiveBtn ? 'animate-slide' : '';
@@ -1636,34 +1665,54 @@
1636
1665
  return (jsxs("button", { type: "button", onClick: onClick, "aria-label": slide?.title, className: `font-sans group relative overflow-hidden border-0 bg-inherit cursor-pointer text-left px-0 pt-4 pb-[23px] grow basis-0`, children: [jsxs("div", { className: "border-0 border-r border-solid border-main-divider px-6", children: [jsx("div", { className: `text-sm font-medium pb-[3px] group-hover:text-primary-text ${btnTitleClassName}`, children: slide?.title }), jsx("div", { className: "text-xs text-secondary-text", children: slide.desc })] }), jsx("div", { className: `absolute bottom-0 left-0 w-full h-[3px] bg-primary-main -translate-x-full ${progressBarClassName}`, style: { animationDuration: `${duration}s`, animationFillMode: 'forwards' } })] }, String(i)));
1637
1666
  }
1638
1667
 
1639
- const ProductGalleryGreen = JSX(({ className = '', context, slides = [], anchor = null }) => {
1668
+ const productGalleryGreenStyleMap = {
1669
+ primary: 'bg-white text-primary-text',
1670
+ secondary: 'bg-primary-main text-white',
1671
+ };
1672
+ const productBlockStyleMap = {
1673
+ primary: { title: 'text-secondary-text', text: 'text-secondary-text' },
1674
+ secondary: { title: 'text-white', text: 'text-white/80' },
1675
+ };
1676
+ const productSlideStyleMap = {
1677
+ primary: 'bg-white text-primary-text',
1678
+ secondary: 'bg-primary-main text-white',
1679
+ };
1680
+ const ProductGalleryGreen = JSX(({ className = '', context, slides = [], version = 'primary', duration = 0, anchor = null }) => {
1640
1681
  const galleryNav = slides.map((s) => s.nav);
1641
1682
  const galleryBlocks = slides.map((s) => s.productBlock);
1642
1683
  const [activeSlideIndex, setActiveSlideIndex] = context.useState(0);
1643
- return (jsxs("section", { className: `box-border pt-[70px] relative font-sans overflow-hidden bg-primary-main w-100 ${className}`, id: anchor, children: [jsx("div", { className: "flex duration-1000 pb-14", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock(_, i, context)) }), jsx("div", { className: "flex items-center absolute bottom-6 left-0 right-0 px-9 box-border", children: galleryNav.map((slide, i) => renderNavButton({
1684
+ return (jsxs("section", { id: anchor, className: `box-border pt-[50px] overflow-hidden relative font-sans w-100 ${className}
1685
+ ${productGalleryGreenStyleMap[version]}`, children: [jsx("div", { className: "flex duration-1000 pb-14", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock({ ..._, version }, i, context)) }), jsx("div", { className: "flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border", children: galleryNav.map((slide, i) => renderNavButton({
1644
1686
  slide,
1645
1687
  i,
1646
1688
  activeSlideIndex,
1647
1689
  onClick: () => setActiveSlideIndex(i),
1690
+ version,
1691
+ duration,
1648
1692
  })) })] }));
1649
1693
  });
1650
1694
  function renderProductBlock(block, i, context) {
1651
- return (jsx("section", { className: "box-border relative flex grow-0 shrink-0 basis-full px-9", role: "listitem", children: jsxs("div", { className: "flex grow", children: [block.backgroundText ? (jsx("div", { className: "absolute text-[454px] font-bold text-white tracking-[-10px] leading-[299px] opacity-[.1] right-12 top-20 z-0", children: block.backgroundText })) : null, jsx(ProductBlockInner, { className: "pl-2.5 pt-2.5 pb-1.5 pr-[6.25rem] z-[1]", context: context, textBlockClassName: "mb-[154px]", version: "secondary", ...block }), jsx(Icon, { className: "absolute right-[460px] top-[200px] z-0 mb-4", name: "ArrowsRewindRight", width: "230", height: "187" })] }) }, String(i)));
1695
+ const { version } = block;
1696
+ const additionalClass = version ? productBlockStyleMap[version].title : '';
1697
+ 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-[50px] pr-2 z-[1] ${additionalClass}`, context: context, textBlockClassName: "mb-[154px]", ...block }) }) }, String(i)));
1652
1698
  }
1653
- function renderNavButton({ slide, i, activeSlideIndex, onClick }) {
1699
+ function renderNavButton({ slide, i, activeSlideIndex, onClick, version, duration }) {
1654
1700
  const isActiveBtn = i === activeSlideIndex;
1655
1701
  const btnClassName = isActiveBtn
1656
- ? 'bg-white shadow-dark-blue/42 h-[102px] w-[354px] min-w-[354px] max-w-[354px] p-0'
1657
- : 'bg-white/10 min-w-[277px] px-0 pt-4 pb-[23px] hover:pt-[21px] hover:pb-7 ease-in duration-300';
1702
+ ? 'bg-white shadow-dark-blue/42 h-[102px] w-[354px] min-w-[354px] max-w-[354px] p-0 border-none'
1703
+ : `min-w-[277px] px-0 pt-4 pb-[23px] hover:py-[26px] hover:py-[26px] ease-in duration-300
1704
+ ${productSlideStyleMap[version]}`;
1658
1705
  const btnTitleClassName = isActiveBtn
1659
- ? 'text-[18px] text-primary-text pb-[10px]'
1660
- : 'text-m-base text-white pb-[3px]';
1706
+ ? 'text-primary-text text-title-2xs'
1707
+ : `text-base ${productBlockStyleMap[version].title}`;
1661
1708
  const btnDescClassName = isActiveBtn
1662
- ? 'text-[18px] text-secondary-text'
1663
- : 'text-m-base text-white';
1664
- return (jsx("button", { type: "button", onClick: onClick, "aria-label": slide?.title, className: `box-border font-sans group relative overflow-hidden border-white/50 border-[1px] cursor-pointer text-left mb-6a mx-1 grow basis-0 backdrop-blur-sm
1665
- ${btnClassName}
1666
- `, children: jsxs("div", { className: "border-0 px-6", children: [jsx("div", { className: `font-medium ${btnTitleClassName}`, children: slide?.title }), jsx("div", { className: `text-secondary-text ${btnDescClassName}`, children: slide.description })] }) }, String(i)));
1709
+ ? 'text-secondary-text text-m-title-xs mt-2.5'
1710
+ : `text-m-md mt-1.5 ${productBlockStyleMap[version].text}`;
1711
+ const additionalBorder = version === 'secondary' ? 'border-white/50' : '';
1712
+ const progressBarClassName = isActiveBtn ? 'animate-slide' : '';
1713
+ return (jsxs("button", { type: "button", onClick: onClick, "aria-label": slide?.title, className: `box-border font-sans group relative overflow-hidden border-[1px] cursor-pointer text-left mx-1 grow basis-0 backdrop-blur-sm
1714
+ ${btnClassName} ${additionalBorder}
1715
+ `, children: [jsxs("div", { className: "border-0 px-6", children: [jsx("div", { className: `font-medium ${btnTitleClassName}`, children: slide?.title }), jsx("div", { className: `text-secondary-text ${btnDescClassName}`, children: slide.description })] }), jsx("div", { className: `absolute bottom-0 left-0 w-full h-[3px] bg-primary-main -translate-x-full ${progressBarClassName}`, style: { animationDuration: `${duration}s`, animationFillMode: 'forwards' } })] }, String(i)));
1667
1716
  }
1668
1717
 
1669
1718
  const promoTileStyleMap = {
@@ -1719,8 +1768,8 @@
1719
1768
  return (jsx("section", { className: `font-sans bg-white text-primary-text ${className || ''}`, children: blockItems?.length ? (jsx("div", { className: "list-none m-0 p-0", children: blockItems.map((item, i) => (jsx(OtherProductsItem, { ...item, context: context }, `BlockItem${i}`))) })) : null }));
1720
1769
  });
1721
1770
 
1722
- const RecommendationCard = JSX(({ context, className = '', title, description, items, image, version }) => {
1723
- return (jsx("section", { className: `border border-solid box-border rounded-md p-7 min-w-[515px] max-w-[515px] ${className}`, role: "listitem", children: jsxs(BaseTile, { context: context, title: title && jsx(Heading, { headingType: "h4", title: title, className: "mb-4" }), image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description ? jsx(Description, { description: description }) : null, items?.length ? jsx(List, { items: items, version: version }) : null] }) }));
1771
+ const RecommendationCard = JSX(({ context, className = '', title, description, items, image, version, socialMedia }) => {
1772
+ return (jsx("section", { className: `border border-solid box-border py-[30px] px-9 min-w-[515px] max-w-[515px] ${className}`, role: "listitem", children: jsxs(BaseTile, { context: context, className: "flex justify-between", title: title ? (jsx("h4", { className: `font-sans text-title-xs font-normal m-0 mb-3.5`, children: title })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description ? jsx(Description, { className: "text-left", description: description }) : null, items?.length ? (jsx(List, { className: "text-md font-light flex flex-col gap-2", items: items, version: version })) : null, jsx(SocialMedia, { className: "pt-[42px] pb-0", media: socialMedia, context: context })] }) }));
1724
1773
  });
1725
1774
 
1726
1775
  const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
@@ -1729,8 +1778,8 @@
1729
1778
  const Recommendation = JSX(({ context, recommendations = [], className = '', title, version, anchor = null }) => {
1730
1779
  const [activeCardIndex, setActiveCardIndex] = context.useState(0);
1731
1780
  const blockClassName = version === 'secondary' ? 'bg-primary-main text-white' : 'bg-white text-primary-text';
1732
- const cardClassName = version === 'secondary' ? 'border-main-divider' : 'border-main-stroke';
1733
- return (jsxs("section", { className: `relative font-sans p-[50px] overflow-hidden ${blockClassName} ${className}`, id: anchor, children: [title ? jsx(Heading, { headingType: "h3", className: "mb-8", title: title }) : null, jsx("div", { className: "flex duration-1000 gap-4", style: { transform: `translateX(-${activeCardIndex * CARD_SHIFT}px)` }, role: "list", children: recommendations?.length
1781
+ const cardClassName = version === 'secondary' ? 'border-white/50' : 'border-main-stroke';
1782
+ return (jsxs("section", { className: `relative font-sans p-9 overflow-hidden text-center ${blockClassName} ${className}`, id: anchor, children: [title ? jsx(Heading, { headingType: "h2", className: "mb-6", title: title }) : null, jsx("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeCardIndex * CARD_SHIFT}px)` }, role: "list", children: recommendations?.length
1734
1783
  ? recommendations.map(renderRecommendationCard({ context, version, className: cardClassName }))
1735
1784
  : null }), renderNavButtons({
1736
1785
  cardsCount: recommendations.length,
@@ -1750,11 +1799,17 @@
1750
1799
  return (jsxs("div", { children: [showPrevButton && (jsx(ArrowButton, { className: "absolute top-1/2 left-8 rotate-180 z-10 mt-6", onClick: handlePrevClick, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E" })), showNextButton && (jsx(ArrowButton, { className: "absolute top-1/2 right-8 z-10 mt-6", onClick: handleNextClick, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E" }))] }));
1751
1800
  };
1752
1801
 
1753
- const StepsBlock = JSX(({ className, title, showLines = true, steps, anchor = null }) => {
1754
- return (jsxs("section", { className: `box-border font-sans text-primary-text bg-white px-20 py-[50px] flex flex-col items-center ${className || ''}`, id: anchor, children: [jsx(Heading, { headingType: "h2", className: "max-w-[47rem] text-center", title: title }), steps?.length ? (jsxs("div", { className: `box-border py-0.5 mb-0.5 ${title ? 'mt-9' : ''}`, children: [jsx("div", { className: "flex items-center px-[88px]", children: joinList(jsx("div", { className: `h-0.5 w-full bg-secondary-light ${!showLines ? 'opacity-0' : ''}` }))(steps.map((step, i) => renderStepIcon(step, i))) }), jsx("div", { className: "flex justify-between gap-x-[101px]", children: steps.map(renderStepTitle) })] })) : null] }));
1802
+ const StepsBlock = JSX(({ className = '', title, showLines = true, steps = [], anchor = null }) => {
1803
+ const shortGaps = steps.length > 3;
1804
+ return (jsxs("section", { className: [
1805
+ 'box-border font-sans text-primary-text bg-white',
1806
+ shortGaps ? 'px-20' : 'px-[70px]',
1807
+ 'py-[50px] flex flex-col items-center',
1808
+ className,
1809
+ ].join(' '), id: anchor, children: [jsx(Heading, { headingType: "h2", className: "max-w-[47rem] text-center", title: title }), steps?.length ? (jsxs("div", { className: `box-border py-0.5 mb-0.5 ${title ? 'mt-9' : ''}`, children: [jsx("div", { className: "flex items-center px-[88px]", children: joinList(jsx("div", { className: `h-0.5 w-full bg-secondary-light ${!showLines ? 'opacity-0' : ''}` }))(steps.map(renderStepIcon)) }), jsx("div", { className: `flex justify-between ${shortGaps ? 'gap-x-3' : 'gap-x-[101px]'}`, children: steps.map(renderStepTitle) })] })) : null] }));
1755
1810
  });
1756
1811
  const renderStepIcon = (step, i) => {
1757
- return (jsx("div", { className: "flex flex-col items-center text-center relative", children: jsx("div", { className: "h-[100px] w-[100px] min-w-[100px] min-h-[100px] bg-secondary-light rounded-full p-[26px] box-border z-10", children: (step.icon && jsx(Icon, { name: step.icon, width: "48", height: "48" })) || (jsx("span", { className: "font-medium text-title-sm text-secondary-text", children: i + 1 })) }) }, String(i)));
1812
+ return (jsx("div", { className: "flex flex-col items-center text-center relative", children: jsx("div", { className: "h-[100px] w-[100px] min-w-[100px] min-h-[100px] bg-secondary-light rounded-full p-[26px] box-border z-10", children: (step.icon?.icon && jsx(Img, { image: step.icon, width: "48", height: "48" })) || (jsx("span", { className: "font-medium text-title-sm text-secondary-text", children: i + 1 })) }) }, String(i)));
1758
1813
  };
1759
1814
  const renderStepTitle = (step, i) => {
1760
1815
  return (jsxs("div", { className: "flex flex-col items-center text-center relative w-[276px] whitespace-pre-line overflow-hidden", children: [step.label && jsx("div", { className: "font-medium text-xl m-0 mt-4", children: step.label }), step.description && (jsx("div", { className: `font-normal text-sm text-secondary-text ${step.label ? 'mt-2' : 'mt-4'}`, children: step.description }))] }, String(i)));
@@ -1771,10 +1826,10 @@
1771
1826
  });
1772
1827
  const renderCellInner = ({ label, description, list, image, buttons }, i) => (jsxs("div", { className: "first:pt-5 last:pb-5", children: [i > 0 && (jsx("div", { className: "border-main-divider border border-solid border-t-0 border-x-0 my-4" })), label ? jsx("div", { className: "text-xl font-medium m-0", children: label }) : null, description ? jsx("div", { className: "text-sm text-secondary-text", children: description }) : null, list?.items?.length ? renderList(list) : null, image && jsx(Img, { image: image }), buttons?.length ? renderButtons(buttons) : null] }, String(i)));
1773
1828
  const renderList = (list) => (jsx(List, { className: "flex flex-col justify-between items-start text-sm", version: "gray", items: list.items, isDotted: list.isDotted ?? true }));
1774
- const renderButtons = (buttons) => (jsx("div", { children: buttons.map(({ icon, rounded, ...buttonProps }, idx) => (jsx(Button, { className: `${idx > 0 && rounded ? 'ml-3' : ''} w-12 h-12`, rounded: rounded, appendLeft: icon && jsx(Icon, { name: icon, width: "24px", height: "24px", asSVG: true }), ...buttonProps }, String(idx)))) }));
1829
+ const renderButtons = (buttons) => (jsx("div", { children: buttons.map(({ icon, rounded, ...buttonProps }, idx) => (jsx(Button, { className: `${idx > 0 && rounded ? 'ml-3' : ''} w-12 h-12`, rounded: rounded, appendLeft: icon ? jsx(Img, { image: icon, width: "24px", height: "24px", asSVG: true }) : null, ...buttonProps }, String(idx)))) }));
1775
1830
 
1776
1831
  const TariffsTableRow = JSX(({ row: { header, data }, activeCardIndex, isLastRow }) => {
1777
- return (jsxs(TableRowContainer, { children: [jsx("div", { className: `text-sm py-5 ${FIRST_CELL_CLASSES} ${DIVIDER_CLASSES} ${!isLastRow ? 'border-solid' : ''}`, children: jsxs("div", { className: "flex items-center text-primary-text", children: [header?.icon && (jsx(Icon, { className: "mr-[14px] max-w-6 max-h-6", name: header.icon, width: "24px", height: "24px", asSVG: true })), header?.title] }) }), data?.length ? (jsx(TableCarouselContainer, { activeCardIndex: activeCardIndex, columnWidth: COLUMN_WIDTH, version: "tariff", children: data.map((cell, i) => (jsx(TariffsTableCell, { cell: cell, isLastRow: isLastRow }, String(i)))) })) : null] }));
1832
+ return (jsxs(TableRowContainer, { children: [jsx("div", { className: `text-sm py-5 ${FIRST_CELL_CLASSES} ${DIVIDER_CLASSES} ${!isLastRow ? 'border-solid' : ''}`, children: jsxs("div", { className: "flex items-center text-primary-text", children: [header?.icon ? (jsx(Img, { className: "mr-[14px] max-w-6 max-h-6", image: header.icon, width: "24px", height: "24px", asSVG: true })) : null, header?.title] }) }), data?.length ? (jsx(TableCarouselContainer, { activeCardIndex: activeCardIndex, columnWidth: COLUMN_WIDTH, version: "tariff", children: data.map((cell, i) => (jsx(TariffsTableCell, { cell: cell, isLastRow: isLastRow }, String(i)))) })) : null] }));
1778
1833
  });
1779
1834
 
1780
1835
  const TariffsTable = JSX(({ className, context, title, description, rowHeaders, columns, anchor = null }) => {