@redneckz/wildless-cms-uni-blocks 0.3.32 → 0.3.35

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 (896) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +299 -163
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/cosmos-static/icons/ArrowLeftIcon.svg +1 -0
  5. package/cosmos-static/icons/BurgerIcon.svg +1 -1
  6. package/cosmos-static/icons/Calendar2Icon.svg +1 -1
  7. package/cosmos-static/icons/CalendarCircleIcon.svg +1 -1
  8. package/cosmos-static/icons/CalendarIcon.svg +1 -1
  9. package/cosmos-static/icons/CalendarTickIcon.svg +1 -1
  10. package/cosmos-static/icons/CalendarWhiteIcon.svg +1 -1
  11. package/cosmos-static/icons/CardIcon.svg +1 -1
  12. package/cosmos-static/icons/CardPosIcon.svg +1 -1
  13. package/cosmos-static/icons/CardTickIcon.svg +1 -1
  14. package/cosmos-static/icons/ChartSquareIcon.svg +1 -1
  15. package/cosmos-static/icons/CloseIcon.svg +1 -1
  16. package/cosmos-static/icons/DiscountShapeIcon.svg +1 -1
  17. package/cosmos-static/icons/DocIcon.svg +1 -1
  18. package/cosmos-static/icons/DocumentTextIcon.svg +1 -1
  19. package/cosmos-static/icons/EmptyWalletChangeIcon.svg +1 -1
  20. package/cosmos-static/icons/EmptyWalletIcon.svg +1 -1
  21. package/cosmos-static/icons/GlobalIcon.svg +1 -1
  22. package/cosmos-static/icons/GpsIcon.svg +1 -1
  23. package/cosmos-static/icons/InterestIcon.svg +1 -1
  24. package/cosmos-static/icons/MoneyIcon.svg +1 -1
  25. package/cosmos-static/icons/MonitorMobileIcon.svg +1 -1
  26. package/cosmos-static/icons/PercentageRoundIcon.svg +1 -1
  27. package/cosmos-static/icons/PercentageSquareIcon.svg +1 -1
  28. package/cosmos-static/icons/PersonalCardIcon.svg +1 -1
  29. package/cosmos-static/icons/Profile2UserIcon.svg +1 -1
  30. package/cosmos-static/icons/RoundRubleIcon.svg +1 -1
  31. package/cosmos-static/icons/SafeIcon.svg +1 -1
  32. package/cosmos-static/icons/ShieldTickIcon.svg +1 -1
  33. package/cosmos-static/icons/SmallClockIcon.svg +1 -1
  34. package/cosmos-static/icons/UserTickIcon.svg +1 -1
  35. package/cosmos-static/icons/WalletAdd2Icon.svg +1 -1
  36. package/cosmos-static/icons/WalletAddIcon.svg +1 -1
  37. package/cosmos-static/icons/WalletIcon.svg +1 -1
  38. package/cosmos-static/icons/WalletWithMoneyIcon.svg +1 -1
  39. package/dist/components/Accordion/AccordionContent.d.ts +2 -2
  40. package/dist/components/Accordion/AccordionItem.js +2 -2
  41. package/dist/components/Accordion/AccordionItem.js.map +1 -1
  42. package/dist/components/Accordion/AccordionItem.mobile.js +2 -2
  43. package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
  44. package/dist/components/BenefitsBlock/BenefitsBlock.js +2 -2
  45. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  46. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  47. package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
  48. package/dist/components/ComparisonTable/HeaderCell.d.ts +1 -2
  49. package/dist/components/ComparisonTable/HeaderCell.js +1 -2
  50. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  51. package/dist/components/ComparisonTable/HeaderCell.mobile.d.ts +1 -2
  52. package/dist/components/ComparisonTable/HeaderCell.mobile.js +2 -3
  53. package/dist/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  54. package/dist/components/ContentPage/ContentPageContext.d.ts +2 -2
  55. package/dist/components/CreditCalculator/defaultTabs.js +3 -3
  56. package/dist/components/CreditCalculator/defaultTabs.js.map +1 -1
  57. package/dist/components/ExchangeRateTile/CurrencyTable.js +2 -2
  58. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  59. package/dist/components/ExchangeRateTile/CurrentLocation.js +2 -2
  60. package/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  61. package/dist/components/Footer/Contacts.js +5 -5
  62. package/dist/components/Footer/Contacts.js.map +1 -1
  63. package/dist/components/Footer/Footer.js +3 -4
  64. package/dist/components/Footer/Footer.js.map +1 -1
  65. package/dist/components/Footer/Footer.mobile.js +2 -2
  66. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  67. package/dist/components/Footer/FooterContent.d.ts +4 -2
  68. package/dist/components/Footer/HorizontalNavigation.js +1 -1
  69. package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  70. package/dist/components/Footer/MediaButton.js +31 -5
  71. package/dist/components/Footer/MediaButton.js.map +1 -1
  72. package/dist/components/Footer/Sitemap.js +4 -4
  73. package/dist/components/Footer/Sitemap.js.map +1 -1
  74. package/dist/components/Footer/SocialMedia.js +2 -2
  75. package/dist/components/Footer/SocialMedia.js.map +1 -1
  76. package/dist/components/Footer/TextInformation.js +2 -2
  77. package/dist/components/Footer/TextInformation.js.map +1 -1
  78. package/dist/components/Gallery/Gallery.mobile.js +1 -2
  79. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  80. package/dist/components/Gallery/GalleryCardInner.js +1 -2
  81. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  82. package/dist/components/Header/Header.js +3 -7
  83. package/dist/components/Header/Header.js.map +1 -1
  84. package/dist/components/Header/HeaderBurger.js +3 -3
  85. package/dist/components/Header/HeaderBurger.js.map +1 -1
  86. package/dist/components/Header/HeaderContent.d.ts +3 -3
  87. package/dist/components/Header/HeaderSecondaryMenu.js +4 -4
  88. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  89. package/dist/components/Header/HeaderSubMenu.d.ts +9 -0
  90. package/dist/components/Header/HeaderSubMenu.js +34 -0
  91. package/dist/components/Header/HeaderSubMenu.js.map +1 -0
  92. package/dist/components/Header/HeaderSubMenuObserver.d.ts +1 -0
  93. package/dist/components/Header/HeaderSubMenuObserver.js +32 -0
  94. package/dist/components/Header/HeaderSubMenuObserver.js.map +1 -0
  95. package/dist/components/Header/HeaderTop.js +2 -2
  96. package/dist/components/Header/HeaderTop.js.map +1 -1
  97. package/dist/components/LinkDocs/LinkDocs.js +1 -1
  98. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  99. package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -1
  100. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  101. package/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  102. package/dist/components/LinkDocs/LinkDocsList.d.ts +2 -2
  103. package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
  104. package/dist/components/LinkDocs/LinkDocsListItemBase.js +2 -2
  105. package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  106. package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
  107. package/dist/components/PictureText/PictureText.js +1 -2
  108. package/dist/components/PictureText/PictureText.js.map +1 -1
  109. package/dist/components/ProductBlock/ProductBlock.js +3 -2
  110. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  111. package/dist/components/ProductBlock/ProductBlockContent.d.ts +7 -4
  112. package/dist/components/ProductBlock/ProductBlockInner.js +6 -6
  113. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  114. package/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -0
  115. package/dist/components/ProductBlock/renderBackwardButton.js +18 -0
  116. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -0
  117. package/dist/components/ProductBlock/renderBenefit.js +3 -3
  118. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  119. package/dist/components/ProductBlock/renderBenefit.mobile.js +2 -2
  120. package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  121. package/dist/components/ProductGallery/ProductGallery.js +2 -5
  122. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  123. package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  124. package/dist/components/ProductGallery/ProductGalleryBlock.js +7 -2
  125. package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  126. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +1 -1
  127. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js +7 -2
  128. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
  129. package/dist/components/ProductGalleryGreen/ProductGalleryGreen.js +13 -10
  130. package/dist/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
  131. package/dist/components/Recommendation/Recommendation.js +2 -2
  132. package/dist/components/Recommendation/Recommendation.js.map +1 -1
  133. package/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
  134. package/dist/components/Recommendation/RecommendationCard.js +3 -3
  135. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  136. package/dist/components/Recommendation/RecommendationContent.d.ts +4 -2
  137. package/dist/components/StepsBlock/StepsBlock.js +2 -2
  138. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  139. package/dist/components/StepsBlock/StepsBlock.mobile.js +3 -2
  140. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  141. package/dist/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  142. package/dist/components/TariffsTable/TableTileHeader.js +2 -2
  143. package/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  144. package/dist/components/TariffsTable/TariffsTableCell.js +1 -2
  145. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  146. package/dist/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  147. package/dist/components/TariffsTable/TariffsTableRow.js +4 -4
  148. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  149. package/dist/components/TariffsTable/TariffsTableTileCell.js +3 -4
  150. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  151. package/dist/components/Tile/Tile.js +3 -3
  152. package/dist/components/Tile/Tile.js.map +1 -1
  153. package/dist/content-page-repository/transformContentPage.js +1 -1
  154. package/dist/content-page-repository/transformContentPage.js.map +1 -1
  155. package/dist/icons/IconName.d.ts +5 -3
  156. package/dist/icons/IconName.js +3 -1
  157. package/dist/icons/IconName.js.map +1 -1
  158. package/dist/model/Picture.d.ts +3 -0
  159. package/dist/model/SitemapProps.d.ts +2 -2
  160. package/dist/services/sitemap/SitemapProps.d.ts +2 -2
  161. package/dist/setup-fixture.js +0 -4
  162. package/dist/setup-fixture.js.map +1 -1
  163. package/dist/ui-kit/Button/ButtonInner.js +2 -2
  164. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  165. package/dist/ui-kit/Button/ButtonProps.d.ts +2 -2
  166. package/dist/ui-kit/Button/ButtonSection.js +2 -2
  167. package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  168. package/dist/ui-kit/HeaderItem/HeaderItem.js +2 -2
  169. package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  170. package/dist/ui-kit/Heading/Heading.js +2 -2
  171. package/dist/ui-kit/Heading/Heading.js.map +1 -1
  172. package/dist/ui-kit/Icon/Icon.js +3 -3
  173. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  174. package/dist/ui-kit/Icon/IconProps.d.ts +11 -3
  175. package/dist/ui-kit/Img/Img.d.ts +4 -7
  176. package/dist/ui-kit/Img/Img.js +27 -9
  177. package/dist/ui-kit/Img/Img.js.map +1 -1
  178. package/dist/ui-kit/Img/Img.mobile.d.ts +4 -7
  179. package/dist/ui-kit/Img/Img.mobile.js +12 -3
  180. package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
  181. package/dist/ui-kit/Img/ImgProps.d.ts +6 -3
  182. package/dist/ui-kit/List/List.js +2 -0
  183. package/dist/ui-kit/List/List.js.map +1 -1
  184. package/dist/ui-kit/List/ListItem.js +18 -4
  185. package/dist/ui-kit/List/ListItem.js.map +1 -1
  186. package/dist/ui-kit/List/ListProps.d.ts +1 -1
  187. package/dist/ui-kit/Logo/Logo.js +1 -1
  188. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  189. package/dist/ui-kit/SearchBar/SearchBar.js +2 -2
  190. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  191. package/dist/ui-kit/SearchBar/SearchBar.mobile.js +3 -3
  192. package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  193. package/dist/ui-kit/SearchBar.mobile.js +2 -2
  194. package/dist/ui-kit/SearchBar.mobile.js.map +1 -1
  195. package/dist/ui-kit/Tabs/Tabs.js +2 -2
  196. package/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  197. package/dist/ui-kit/Tabs/TabsProps.d.ts +2 -2
  198. package/dist/ui-kit/TopItem/TopItem.d.ts +1 -0
  199. package/dist/ui-kit/TopItem/TopItem.js +1 -1
  200. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  201. package/dist/utils/isSSR.d.ts +1 -0
  202. package/dist/utils/isSSR.js +5 -0
  203. package/dist/utils/isSSR.js.map +1 -0
  204. package/lib/common.css +1 -1
  205. package/lib/components/Accordion/AccordionContent.d.ts +2 -2
  206. package/lib/components/Accordion/AccordionItem.js +2 -2
  207. package/lib/components/Accordion/AccordionItem.js.map +1 -1
  208. package/lib/components/Accordion/AccordionItem.mobile.js +2 -2
  209. package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
  210. package/lib/components/BenefitsBlock/BenefitsBlock.js +2 -2
  211. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  212. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  213. package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
  214. package/lib/components/ComparisonTable/HeaderCell.d.ts +1 -2
  215. package/lib/components/ComparisonTable/HeaderCell.js +1 -2
  216. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  217. package/lib/components/ComparisonTable/HeaderCell.mobile.d.ts +1 -2
  218. package/lib/components/ComparisonTable/HeaderCell.mobile.js +2 -3
  219. package/lib/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  220. package/lib/components/ContentPage/ContentPageContext.d.ts +2 -2
  221. package/lib/components/CreditCalculator/defaultTabs.js +3 -3
  222. package/lib/components/CreditCalculator/defaultTabs.js.map +1 -1
  223. package/lib/components/ExchangeRateTile/CurrencyTable.js +2 -2
  224. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  225. package/lib/components/ExchangeRateTile/CurrentLocation.js +2 -2
  226. package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  227. package/lib/components/Footer/Contacts.js +5 -5
  228. package/lib/components/Footer/Contacts.js.map +1 -1
  229. package/lib/components/Footer/Footer.js +3 -4
  230. package/lib/components/Footer/Footer.js.map +1 -1
  231. package/lib/components/Footer/Footer.mobile.js +2 -2
  232. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  233. package/lib/components/Footer/FooterContent.d.ts +4 -2
  234. package/lib/components/Footer/HorizontalNavigation.js +1 -1
  235. package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  236. package/lib/components/Footer/MediaButton.js +31 -5
  237. package/lib/components/Footer/MediaButton.js.map +1 -1
  238. package/lib/components/Footer/Sitemap.js +4 -4
  239. package/lib/components/Footer/Sitemap.js.map +1 -1
  240. package/lib/components/Footer/SocialMedia.js +3 -3
  241. package/lib/components/Footer/SocialMedia.js.map +1 -1
  242. package/lib/components/Footer/TextInformation.js +2 -2
  243. package/lib/components/Footer/TextInformation.js.map +1 -1
  244. package/lib/components/Gallery/Gallery.mobile.js +1 -2
  245. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  246. package/lib/components/Gallery/GalleryCardInner.js +1 -2
  247. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  248. package/lib/components/Header/Header.js +3 -7
  249. package/lib/components/Header/Header.js.map +1 -1
  250. package/lib/components/Header/HeaderBurger.js +3 -3
  251. package/lib/components/Header/HeaderBurger.js.map +1 -1
  252. package/lib/components/Header/HeaderContent.d.ts +3 -3
  253. package/lib/components/Header/HeaderSecondaryMenu.js +4 -4
  254. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  255. package/lib/components/Header/HeaderSubMenu.d.ts +9 -0
  256. package/lib/components/Header/HeaderSubMenu.js +32 -0
  257. package/lib/components/Header/HeaderSubMenu.js.map +1 -0
  258. package/lib/components/Header/HeaderSubMenuObserver.d.ts +1 -0
  259. package/lib/components/Header/HeaderSubMenuObserver.js +30 -0
  260. package/lib/components/Header/HeaderSubMenuObserver.js.map +1 -0
  261. package/lib/components/Header/HeaderTop.js +2 -2
  262. package/lib/components/Header/HeaderTop.js.map +1 -1
  263. package/lib/components/LinkDocs/LinkDocs.js +1 -1
  264. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  265. package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -1
  266. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  267. package/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  268. package/lib/components/LinkDocs/LinkDocsList.d.ts +2 -2
  269. package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
  270. package/lib/components/LinkDocs/LinkDocsListItemBase.js +2 -2
  271. package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  272. package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
  273. package/lib/components/PictureText/PictureText.js +1 -2
  274. package/lib/components/PictureText/PictureText.js.map +1 -1
  275. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +1 -0
  276. package/lib/components/ProductBlock/ProductBlock.js +3 -2
  277. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  278. package/lib/components/ProductBlock/ProductBlockContent.d.ts +7 -4
  279. package/lib/components/ProductBlock/ProductBlockInner.js +6 -6
  280. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  281. package/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -0
  282. package/lib/components/ProductBlock/renderBackwardButton.js +15 -0
  283. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -0
  284. package/lib/components/ProductBlock/renderBenefit.js +3 -3
  285. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  286. package/lib/components/ProductBlock/renderBenefit.mobile.js +2 -2
  287. package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  288. package/lib/components/ProductGallery/ProductGallery.js +2 -5
  289. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  290. package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  291. package/lib/components/ProductGallery/ProductGalleryBlock.js +7 -2
  292. package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  293. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +1 -1
  294. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js +7 -2
  295. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
  296. package/lib/components/ProductGalleryGreen/ProductGalleryGreen.js +13 -10
  297. package/lib/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
  298. package/lib/components/Recommendation/Recommendation.js +2 -2
  299. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  300. package/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
  301. package/lib/components/Recommendation/RecommendationCard.js +3 -3
  302. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  303. package/lib/components/Recommendation/RecommendationContent.d.ts +4 -2
  304. package/lib/components/StepsBlock/StepsBlock.js +2 -2
  305. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  306. package/lib/components/StepsBlock/StepsBlock.mobile.js +3 -2
  307. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  308. package/lib/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  309. package/lib/components/TariffsTable/TableTileHeader.js +2 -2
  310. package/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  311. package/lib/components/TariffsTable/TariffsTableCell.js +1 -2
  312. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  313. package/lib/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  314. package/lib/components/TariffsTable/TariffsTableRow.js +4 -4
  315. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  316. package/lib/components/TariffsTable/TariffsTableTileCell.js +3 -4
  317. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  318. package/lib/components/Tile/Tile.js +3 -3
  319. package/lib/components/Tile/Tile.js.map +1 -1
  320. package/lib/content-page-repository/transformContentPage.js +1 -1
  321. package/lib/content-page-repository/transformContentPage.js.map +1 -1
  322. package/lib/icons/IconName.d.ts +5 -3
  323. package/lib/icons/IconName.js +3 -1
  324. package/lib/icons/IconName.js.map +1 -1
  325. package/lib/model/Picture.d.ts +3 -0
  326. package/lib/model/SitemapProps.d.ts +2 -2
  327. package/lib/services/sitemap/SitemapProps.d.ts +2 -2
  328. package/lib/setup-fixture.js +0 -4
  329. package/lib/setup-fixture.js.map +1 -1
  330. package/lib/ui-kit/Button/ButtonInner.js +2 -2
  331. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  332. package/lib/ui-kit/Button/ButtonProps.d.ts +2 -2
  333. package/lib/ui-kit/Button/ButtonSection.js +2 -2
  334. package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  335. package/lib/ui-kit/HeaderItem/HeaderItem.js +2 -2
  336. package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  337. package/lib/ui-kit/Heading/Heading.js +2 -2
  338. package/lib/ui-kit/Heading/Heading.js.map +1 -1
  339. package/lib/ui-kit/Icon/Icon.js +3 -3
  340. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  341. package/lib/ui-kit/Icon/IconProps.d.ts +11 -3
  342. package/lib/ui-kit/Img/Img.d.ts +4 -7
  343. package/lib/ui-kit/Img/Img.js +26 -8
  344. package/lib/ui-kit/Img/Img.js.map +1 -1
  345. package/lib/ui-kit/Img/Img.mobile.d.ts +4 -7
  346. package/lib/ui-kit/Img/Img.mobile.js +11 -2
  347. package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
  348. package/lib/ui-kit/Img/ImgProps.d.ts +6 -3
  349. package/lib/ui-kit/List/List.js +2 -0
  350. package/lib/ui-kit/List/List.js.map +1 -1
  351. package/lib/ui-kit/List/ListItem.js +18 -4
  352. package/lib/ui-kit/List/ListItem.js.map +1 -1
  353. package/lib/ui-kit/List/ListProps.d.ts +1 -1
  354. package/lib/ui-kit/Logo/Logo.js +1 -1
  355. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  356. package/lib/ui-kit/SearchBar/SearchBar.js +2 -2
  357. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  358. package/lib/ui-kit/SearchBar/SearchBar.mobile.js +3 -3
  359. package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  360. package/lib/ui-kit/SearchBar.mobile.js +2 -2
  361. package/lib/ui-kit/SearchBar.mobile.js.map +1 -1
  362. package/lib/ui-kit/Tabs/Tabs.js +2 -2
  363. package/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  364. package/lib/ui-kit/Tabs/TabsProps.d.ts +2 -2
  365. package/lib/ui-kit/TopItem/TopItem.d.ts +1 -0
  366. package/lib/ui-kit/TopItem/TopItem.js +1 -1
  367. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  368. package/lib/utils/isSSR.d.ts +1 -0
  369. package/lib/utils/isSSR.js +2 -0
  370. package/lib/utils/isSSR.js.map +1 -0
  371. package/mobile/bundle/bundle.umd.js +99 -41
  372. package/mobile/bundle/bundle.umd.min.js +1 -1
  373. package/mobile/dist/components/Accordion/AccordionContent.d.ts +2 -2
  374. package/mobile/dist/components/Accordion/AccordionItem.js +2 -2
  375. package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
  376. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +2 -2
  377. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  378. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  379. package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
  380. package/mobile/dist/components/ComparisonTable/HeaderCell.d.ts +1 -2
  381. package/mobile/dist/components/ComparisonTable/HeaderCell.js +2 -3
  382. package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  383. package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +2 -2
  384. package/mobile/dist/components/CreditCalculator/defaultTabs.js +3 -3
  385. package/mobile/dist/components/CreditCalculator/defaultTabs.js.map +1 -1
  386. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +2 -2
  387. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  388. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +2 -2
  389. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  390. package/mobile/dist/components/Footer/Contacts.js +5 -5
  391. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  392. package/mobile/dist/components/Footer/Footer.js +2 -2
  393. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  394. package/mobile/dist/components/Footer/FooterContent.d.ts +4 -2
  395. package/mobile/dist/components/Footer/MediaButton.js +31 -5
  396. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  397. package/mobile/dist/components/Footer/Sitemap.js +4 -4
  398. package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
  399. package/mobile/dist/components/Gallery/Gallery.js +1 -2
  400. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  401. package/mobile/dist/components/Gallery/GalleryCardInner.js +1 -2
  402. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  403. package/mobile/dist/components/Header/HeaderBurger.js +3 -3
  404. package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
  405. package/mobile/dist/components/Header/HeaderContent.d.ts +3 -3
  406. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +4 -4
  407. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  408. package/mobile/dist/components/Header/HeaderSubMenu.d.ts +9 -0
  409. package/mobile/dist/components/Header/HeaderSubMenu.js +34 -0
  410. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -0
  411. package/mobile/dist/components/Header/HeaderSubMenuObserver.d.ts +1 -0
  412. package/mobile/dist/components/Header/HeaderSubMenuObserver.js +32 -0
  413. package/mobile/dist/components/Header/HeaderSubMenuObserver.js.map +1 -0
  414. package/mobile/dist/components/Header/HeaderTop.js +2 -2
  415. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  416. package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
  417. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  418. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  419. package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +2 -2
  420. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
  421. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js +2 -2
  422. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  423. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
  424. package/mobile/dist/components/PictureText/PictureText.js +1 -2
  425. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  426. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +7 -4
  427. package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -0
  428. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +18 -0
  429. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -0
  430. package/mobile/dist/components/ProductBlock/renderBenefit.js +2 -2
  431. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  432. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  433. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +7 -2
  434. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  435. package/mobile/dist/components/ProductGalleryGreen/ProductGalleryGreen.js +13 -10
  436. package/mobile/dist/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
  437. package/mobile/dist/components/Recommendation/Recommendation.js +2 -2
  438. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  439. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
  440. package/mobile/dist/components/Recommendation/RecommendationCard.js +3 -3
  441. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  442. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +4 -2
  443. package/mobile/dist/components/StepsBlock/StepsBlock.js +3 -2
  444. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  445. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  446. package/mobile/dist/components/TariffsTable/TableTileHeader.js +2 -2
  447. package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  448. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +1 -2
  449. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  450. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  451. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +4 -4
  452. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  453. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +3 -4
  454. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  455. package/mobile/dist/components/Tile/Tile.js +3 -3
  456. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  457. package/mobile/dist/content-page-repository/transformContentPage.js +1 -1
  458. package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
  459. package/mobile/dist/icons/IconName.d.ts +5 -3
  460. package/mobile/dist/icons/IconName.js +3 -1
  461. package/mobile/dist/icons/IconName.js.map +1 -1
  462. package/mobile/dist/model/Picture.d.ts +3 -0
  463. package/mobile/dist/model/SitemapProps.d.ts +2 -2
  464. package/mobile/dist/services/sitemap/SitemapProps.d.ts +2 -2
  465. package/mobile/dist/setup-fixture.js +0 -4
  466. package/mobile/dist/setup-fixture.js.map +1 -1
  467. package/mobile/dist/ui-kit/Button/ButtonInner.js +2 -2
  468. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  469. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +2 -2
  470. package/mobile/dist/ui-kit/Button/ButtonSection.js +2 -2
  471. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  472. package/mobile/dist/ui-kit/Icon/Icon.js +3 -3
  473. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  474. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +11 -3
  475. package/mobile/dist/ui-kit/Img/Img.d.ts +4 -7
  476. package/mobile/dist/ui-kit/Img/Img.js +12 -3
  477. package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
  478. package/mobile/dist/ui-kit/Img/ImgProps.d.ts +6 -3
  479. package/mobile/dist/ui-kit/List/List.js +2 -0
  480. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  481. package/mobile/dist/ui-kit/List/ListItem.js +18 -4
  482. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  483. package/mobile/dist/ui-kit/List/ListProps.d.ts +1 -1
  484. package/mobile/dist/ui-kit/SearchBar/SearchBar.js +3 -3
  485. package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  486. package/mobile/dist/ui-kit/Tabs/Tabs.js +2 -2
  487. package/mobile/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  488. package/mobile/dist/ui-kit/Tabs/TabsProps.d.ts +2 -2
  489. package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +1 -0
  490. package/mobile/dist/ui-kit/TopItem/TopItem.js +1 -1
  491. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  492. package/mobile/dist/utils/isSSR.d.ts +1 -0
  493. package/mobile/dist/utils/isSSR.js +5 -0
  494. package/mobile/dist/utils/isSSR.js.map +1 -0
  495. package/mobile/lib/components/Accordion/AccordionContent.d.ts +2 -2
  496. package/mobile/lib/components/Accordion/AccordionItem.js +2 -2
  497. package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
  498. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +2 -2
  499. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  500. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  501. package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +2 -3
  502. package/mobile/lib/components/ComparisonTable/HeaderCell.d.ts +1 -2
  503. package/mobile/lib/components/ComparisonTable/HeaderCell.js +2 -3
  504. package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  505. package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +2 -2
  506. package/mobile/lib/components/CreditCalculator/defaultTabs.js +3 -3
  507. package/mobile/lib/components/CreditCalculator/defaultTabs.js.map +1 -1
  508. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +2 -2
  509. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  510. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +2 -2
  511. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  512. package/mobile/lib/components/Footer/Contacts.js +5 -5
  513. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  514. package/mobile/lib/components/Footer/Footer.js +2 -2
  515. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  516. package/mobile/lib/components/Footer/FooterContent.d.ts +4 -2
  517. package/mobile/lib/components/Footer/MediaButton.js +31 -5
  518. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  519. package/mobile/lib/components/Footer/Sitemap.js +4 -4
  520. package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
  521. package/mobile/lib/components/Gallery/Gallery.js +1 -2
  522. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  523. package/mobile/lib/components/Gallery/GalleryCardInner.js +1 -2
  524. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  525. package/mobile/lib/components/Header/HeaderBurger.js +3 -3
  526. package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
  527. package/mobile/lib/components/Header/HeaderContent.d.ts +3 -3
  528. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +4 -4
  529. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  530. package/mobile/lib/components/Header/HeaderSubMenu.d.ts +9 -0
  531. package/mobile/lib/components/Header/HeaderSubMenu.js +32 -0
  532. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -0
  533. package/mobile/lib/components/Header/HeaderSubMenuObserver.d.ts +1 -0
  534. package/mobile/lib/components/Header/HeaderSubMenuObserver.js +30 -0
  535. package/mobile/lib/components/Header/HeaderSubMenuObserver.js.map +1 -0
  536. package/mobile/lib/components/Header/HeaderTop.js +2 -2
  537. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  538. package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
  539. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  540. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  541. package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +2 -2
  542. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +2 -2
  543. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js +2 -2
  544. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  545. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +2 -2
  546. package/mobile/lib/components/PictureText/PictureText.js +1 -2
  547. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  548. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +7 -4
  549. package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -0
  550. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +15 -0
  551. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -0
  552. package/mobile/lib/components/ProductBlock/renderBenefit.js +2 -2
  553. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  554. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  555. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +7 -2
  556. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  557. package/mobile/lib/components/ProductGalleryGreen/ProductGalleryGreen.js +13 -10
  558. package/mobile/lib/components/ProductGalleryGreen/ProductGalleryGreen.js.map +1 -1
  559. package/mobile/lib/components/Recommendation/Recommendation.js +2 -2
  560. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  561. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
  562. package/mobile/lib/components/Recommendation/RecommendationCard.js +3 -3
  563. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  564. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +4 -2
  565. package/mobile/lib/components/StepsBlock/StepsBlock.js +3 -2
  566. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  567. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +2 -2
  568. package/mobile/lib/components/TariffsTable/TableTileHeader.js +2 -2
  569. package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  570. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +1 -2
  571. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  572. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +2 -2
  573. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +4 -4
  574. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  575. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +3 -4
  576. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  577. package/mobile/lib/components/Tile/Tile.js +3 -3
  578. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  579. package/mobile/lib/content-page-repository/transformContentPage.js +1 -1
  580. package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
  581. package/mobile/lib/icons/IconName.d.ts +5 -3
  582. package/mobile/lib/icons/IconName.js +3 -1
  583. package/mobile/lib/icons/IconName.js.map +1 -1
  584. package/mobile/lib/model/Picture.d.ts +3 -0
  585. package/mobile/lib/model/SitemapProps.d.ts +2 -2
  586. package/mobile/lib/services/sitemap/SitemapProps.d.ts +2 -2
  587. package/mobile/lib/setup-fixture.js +0 -4
  588. package/mobile/lib/setup-fixture.js.map +1 -1
  589. package/mobile/lib/ui-kit/Button/ButtonInner.js +2 -2
  590. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  591. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +2 -2
  592. package/mobile/lib/ui-kit/Button/ButtonSection.js +2 -2
  593. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  594. package/mobile/lib/ui-kit/Icon/Icon.js +3 -3
  595. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  596. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +11 -3
  597. package/mobile/lib/ui-kit/Img/Img.d.ts +4 -7
  598. package/mobile/lib/ui-kit/Img/Img.js +11 -2
  599. package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
  600. package/mobile/lib/ui-kit/Img/ImgProps.d.ts +6 -3
  601. package/mobile/lib/ui-kit/List/List.js +2 -0
  602. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  603. package/mobile/lib/ui-kit/List/ListItem.js +18 -4
  604. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  605. package/mobile/lib/ui-kit/List/ListProps.d.ts +1 -1
  606. package/mobile/lib/ui-kit/SearchBar/SearchBar.js +3 -3
  607. package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  608. package/mobile/lib/ui-kit/Tabs/Tabs.js +2 -2
  609. package/mobile/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  610. package/mobile/lib/ui-kit/Tabs/TabsProps.d.ts +2 -2
  611. package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +1 -0
  612. package/mobile/lib/ui-kit/TopItem/TopItem.js +1 -1
  613. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  614. package/mobile/lib/utils/isSSR.d.ts +1 -0
  615. package/mobile/lib/utils/isSSR.js +2 -0
  616. package/mobile/lib/utils/isSSR.js.map +1 -0
  617. package/mobile/src/components/Accordion/Accordion.example.json +9 -3
  618. package/mobile/src/components/Accordion/AccordionContent.ts +2 -2
  619. package/mobile/src/components/Accordion/AccordionItem.tsx +3 -3
  620. package/mobile/src/components/BenefitsBlock/BenefitsBlock.example.json +6 -2
  621. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +5 -5
  622. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -2
  623. package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +2 -3
  624. package/mobile/src/components/ComparisonTable/HeaderCell.tsx +6 -8
  625. package/mobile/src/components/ContentPage/ContentPage.page.json +271 -86
  626. package/mobile/src/components/ContentPage/ContentPageContext.tsx +2 -2
  627. package/mobile/src/components/CreditCalculator/CreditCalculator.example.json +9 -3
  628. package/mobile/src/components/CreditCalculator/defaultTabs.ts +3 -3
  629. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +2 -2
  630. package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +2 -2
  631. package/mobile/src/components/Footer/Contacts.tsx +7 -10
  632. package/mobile/src/components/Footer/Footer.tsx +2 -2
  633. package/mobile/src/components/Footer/FooterContent.ts +5 -2
  634. package/mobile/src/components/Footer/MediaButton.tsx +36 -10
  635. package/mobile/src/components/Footer/Sitemap.tsx +5 -5
  636. package/mobile/src/components/Gallery/Gallery.tsx +2 -3
  637. package/mobile/src/components/Gallery/GalleryCardInner.tsx +2 -3
  638. package/mobile/src/components/Header/HeaderBurger.tsx +5 -5
  639. package/mobile/src/components/Header/HeaderContent.ts +3 -3
  640. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +7 -10
  641. package/mobile/src/components/Header/HeaderSubMenu.tsx +93 -0
  642. package/mobile/src/components/Header/HeaderSubMenuObserver.ts +44 -0
  643. package/mobile/src/components/Header/HeaderTop.tsx +3 -3
  644. package/mobile/src/components/LinkDocs/LinkDocs.example.json +3 -1
  645. package/mobile/src/components/LinkDocs/LinkDocs.tsx +1 -1
  646. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +2 -2
  647. package/mobile/src/components/LinkDocs/LinkDocsList.tsx +2 -2
  648. package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +4 -4
  649. package/mobile/src/components/LinkDocs/LinkDocsVerticalList.tsx +2 -2
  650. package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +6 -2
  651. package/mobile/src/components/PictureText/PictureText.example.json +6 -2
  652. package/mobile/src/components/PictureText/PictureText.tsx +4 -5
  653. package/mobile/src/components/ProductBlock/ProductBlock.example.json +11 -3
  654. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +7 -4
  655. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +34 -0
  656. package/mobile/src/components/ProductBlock/renderBenefit.tsx +5 -5
  657. package/mobile/src/components/ProductGallery/ProductGallery.example.json +22 -1
  658. package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +14 -4
  659. package/mobile/src/components/ProductGalleryGreen/ProductGalleryGreen.tsx +23 -23
  660. package/mobile/src/components/Recommendation/Recommendation.example.json +18 -3
  661. package/mobile/src/components/Recommendation/Recommendation.tsx +6 -6
  662. package/mobile/src/components/Recommendation/RecommendationCard.tsx +21 -12
  663. package/mobile/src/components/Recommendation/RecommendationContent.ts +6 -4
  664. package/mobile/src/components/StepsBlock/StepsBlock.example.json +9 -3
  665. package/mobile/src/components/StepsBlock/StepsBlock.tsx +5 -4
  666. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +2 -2
  667. package/mobile/src/components/TariffsTable/TableTileHeader.tsx +2 -2
  668. package/mobile/src/components/TariffsTable/TariffsTable.example.json +12 -4
  669. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +2 -3
  670. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +2 -2
  671. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +7 -7
  672. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +4 -5
  673. package/mobile/src/components/Tile/Tile.example.json +1 -1
  674. package/mobile/src/components/Tile/Tile.tsx +12 -3
  675. package/mobile/src/content-page-repository/transformContentPage.ts +1 -1
  676. package/mobile/src/icons/ArrowDownIcon.svg +1 -1
  677. package/mobile/src/icons/ArrowLeftIcon.svg +4 -0
  678. package/mobile/src/icons/BurgerIcon.svg +4 -4
  679. package/mobile/src/icons/Calendar2Icon.svg +1 -1
  680. package/mobile/src/icons/CalendarCircleIcon.svg +4 -1
  681. package/mobile/src/icons/CalendarIcon.svg +1 -1
  682. package/mobile/src/icons/CalendarTickIcon.svg +6 -1
  683. package/mobile/src/icons/CalendarWhiteIcon.svg +2 -2
  684. package/mobile/src/icons/CardIcon.svg +5 -1
  685. package/mobile/src/icons/CardPosIcon.svg +5 -1
  686. package/mobile/src/icons/CardTickIcon.svg +5 -1
  687. package/mobile/src/icons/ChartSquareIcon.svg +6 -1
  688. package/mobile/src/icons/CloseIcon.svg +4 -4
  689. package/mobile/src/icons/DiscountShapeIcon.svg +4 -1
  690. package/mobile/src/icons/DocIcon.svg +1 -1
  691. package/mobile/src/icons/DocumentTextIcon.svg +2 -2
  692. package/mobile/src/icons/EmptyWalletChangeIcon.svg +8 -1
  693. package/mobile/src/icons/EmptyWalletIcon.svg +2 -2
  694. package/mobile/src/icons/GlobalIcon.svg +5 -1
  695. package/mobile/src/icons/GpsIcon.svg +6 -6
  696. package/mobile/src/icons/IconName.ts +4 -4
  697. package/mobile/src/icons/InterestIcon.svg +6 -1
  698. package/mobile/src/icons/MasterCardIcon.svg +5 -1
  699. package/mobile/src/icons/MinusIcon.svg +3 -1
  700. package/mobile/src/icons/MoneyIcon.svg +5 -1
  701. package/mobile/src/icons/MonitorMobileIcon.svg +4 -1
  702. package/mobile/src/icons/PercentageRoundIcon.svg +4 -1
  703. package/mobile/src/icons/PercentageSquareIcon.svg +1 -1
  704. package/mobile/src/icons/PersonalCardIcon.svg +4 -1
  705. package/mobile/src/icons/PlayMarketIcon.svg +3 -1
  706. package/mobile/src/icons/PlusIcon.svg +3 -1
  707. package/mobile/src/icons/Profile2UserIcon.svg +6 -1
  708. package/mobile/src/icons/RoundRubleIcon.svg +5 -1
  709. package/mobile/src/icons/SafeIcon.svg +7 -1
  710. package/mobile/src/icons/ShieldTickIcon.svg +4 -1
  711. package/mobile/src/icons/SmallClockIcon.svg +4 -1
  712. package/mobile/src/icons/UserTickIcon.svg +5 -1
  713. package/mobile/src/icons/WalletAdd2Icon.svg +6 -1
  714. package/mobile/src/icons/WalletAddIcon.svg +7 -1
  715. package/mobile/src/icons/WalletIcon.svg +7 -1
  716. package/mobile/src/icons/WalletWithMoneyIcon.svg +5 -1
  717. package/mobile/src/model/Picture.ts +4 -0
  718. package/mobile/src/model/SitemapProps.ts +2 -2
  719. package/mobile/src/services/sitemap/SitemapProps.ts +2 -2
  720. package/mobile/src/setup-fixture.ts +4 -6
  721. package/mobile/src/ui-kit/Button/ButtonInner.tsx +2 -2
  722. package/mobile/src/ui-kit/Button/ButtonProps.ts +2 -2
  723. package/mobile/src/ui-kit/Button/ButtonSection.tsx +2 -2
  724. package/mobile/src/ui-kit/Icon/Icon.tsx +3 -3
  725. package/mobile/src/ui-kit/Icon/IconProps.ts +12 -3
  726. package/mobile/src/ui-kit/Img/Img.tsx +38 -22
  727. package/mobile/src/ui-kit/Img/ImgProps.ts +7 -4
  728. package/mobile/src/ui-kit/List/List.tsx +2 -0
  729. package/mobile/src/ui-kit/List/ListItem.tsx +18 -4
  730. package/mobile/src/ui-kit/List/ListProps.ts +1 -1
  731. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +3 -3
  732. package/mobile/src/ui-kit/Tabs/Tabs.tsx +2 -2
  733. package/mobile/src/ui-kit/Tabs/TabsProps.ts +2 -2
  734. package/mobile/src/ui-kit/TopItem/TopItem.tsx +2 -1
  735. package/mobile/src/utils/isSSR.ts +2 -0
  736. package/package.json +1 -1
  737. package/src/components/Accordion/Accordion.example.json +9 -3
  738. package/src/components/Accordion/Accordion.fixture.mobile.tsx +3 -1
  739. package/src/components/Accordion/AccordionContent.ts +2 -2
  740. package/src/components/Accordion/AccordionItem.mobile.tsx +3 -3
  741. package/src/components/Accordion/AccordionItem.tsx +2 -2
  742. package/src/components/BenefitsBlock/BenefitsBlock.example.json +6 -2
  743. package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +4 -4
  744. package/src/components/BenefitsBlock/BenefitsBlock.tsx +5 -5
  745. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -2
  746. package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +3 -3
  747. package/src/components/ComparisonTable/ComparisonTableContent.ts +2 -3
  748. package/src/components/ComparisonTable/HeaderCell.mobile.tsx +6 -8
  749. package/src/components/ComparisonTable/HeaderCell.tsx +3 -5
  750. package/src/components/ContentPage/ContentPage.page.json +271 -86
  751. package/src/components/ContentPage/ContentPageContext.tsx +2 -2
  752. package/src/components/CreditCalculator/CreditCalculator.example.json +9 -3
  753. package/src/components/CreditCalculator/CreditCalculator.fixture.tsx +3 -3
  754. package/src/components/CreditCalculator/defaultTabs.ts +3 -3
  755. package/src/components/ExchangeRateTile/CurrencyTable.tsx +2 -2
  756. package/src/components/ExchangeRateTile/CurrentLocation.tsx +2 -2
  757. package/src/components/Footer/Contacts.tsx +7 -10
  758. package/src/components/Footer/Footer.fixture.mobile.tsx +3 -3
  759. package/src/components/Footer/Footer.fixture.tsx +4 -3
  760. package/src/components/Footer/Footer.mobile.tsx +2 -2
  761. package/src/components/Footer/Footer.tsx +15 -13
  762. package/src/components/Footer/FooterContent.ts +5 -2
  763. package/src/components/Footer/HorizontalNavigation.tsx +1 -1
  764. package/src/components/Footer/MediaButton.tsx +36 -10
  765. package/src/components/Footer/Sitemap.tsx +5 -5
  766. package/src/components/Footer/SocialMedia.tsx +8 -5
  767. package/src/components/Footer/TextInformation.tsx +2 -2
  768. package/src/components/Gallery/Gallery.fixture.mobile.tsx +1 -1
  769. package/src/components/Gallery/Gallery.fixture.tsx +1 -1
  770. package/src/components/Gallery/Gallery.mobile.tsx +2 -3
  771. package/src/components/Gallery/GalleryCardInner.tsx +2 -3
  772. package/src/components/Header/Header.tsx +5 -18
  773. package/src/components/Header/HeaderBurger.tsx +5 -5
  774. package/src/components/Header/HeaderContent.ts +3 -3
  775. package/src/components/Header/HeaderSecondaryMenu.tsx +7 -10
  776. package/src/components/Header/HeaderSubMenu.tsx +93 -0
  777. package/src/components/Header/HeaderSubMenuObserver.ts +44 -0
  778. package/src/components/Header/HeaderTop.tsx +3 -3
  779. package/src/components/LinkDocs/LinkDocs.example.json +3 -1
  780. package/src/components/LinkDocs/LinkDocs.fixture.tsx +7 -2
  781. package/src/components/LinkDocs/LinkDocs.mobile.tsx +1 -1
  782. package/src/components/LinkDocs/LinkDocs.tsx +1 -1
  783. package/src/components/LinkDocs/LinkDocsContent.ts +2 -2
  784. package/src/components/LinkDocs/LinkDocsList.tsx +2 -2
  785. package/src/components/LinkDocs/LinkDocsListItemBase.tsx +4 -4
  786. package/src/components/LinkDocs/LinkDocsVerticalList.tsx +2 -2
  787. package/src/components/MobileAppTile/MobileAppTile.example.json +6 -2
  788. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +4 -4
  789. package/src/components/PictureText/PictureText.example.json +6 -2
  790. package/src/components/PictureText/PictureText.fixture.tsx +2 -2
  791. package/src/components/PictureText/PictureText.tsx +4 -5
  792. package/src/components/ProductBlock/ProductBlock.example.json +11 -3
  793. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +3 -3
  794. package/src/components/ProductBlock/ProductBlock.fixture.tsx +41 -40
  795. package/src/components/ProductBlock/ProductBlock.tsx +4 -4
  796. package/src/components/ProductBlock/ProductBlockContent.ts +7 -4
  797. package/src/components/ProductBlock/ProductBlockInner.tsx +12 -9
  798. package/src/components/ProductBlock/renderBackwardButton.tsx +34 -0
  799. package/src/components/ProductBlock/renderBenefit.mobile.tsx +5 -5
  800. package/src/components/ProductBlock/renderBenefit.tsx +9 -9
  801. package/src/components/ProductGallery/ProductGallery.example.json +22 -1
  802. package/src/components/ProductGallery/ProductGallery.fixture.tsx +106 -104
  803. package/src/components/ProductGallery/ProductGallery.tsx +4 -17
  804. package/src/components/ProductGallery/ProductGalleryBlock.mobile.tsx +14 -4
  805. package/src/components/ProductGallery/ProductGalleryBlock.tsx +15 -4
  806. package/src/components/ProductGalleryGreen/ProductGalleryGreen.fixture.tsx +2 -3
  807. package/src/components/ProductGalleryGreen/ProductGalleryGreen.tsx +23 -23
  808. package/src/components/Recommendation/Recommendation.example.json +18 -3
  809. package/src/components/Recommendation/Recommendation.fixture.tsx +15 -5
  810. package/src/components/Recommendation/Recommendation.tsx +6 -6
  811. package/src/components/Recommendation/RecommendationCard.tsx +21 -12
  812. package/src/components/Recommendation/RecommendationContent.ts +6 -4
  813. package/src/components/StepsBlock/StepsBlock.example.json +9 -3
  814. package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +14 -14
  815. package/src/components/StepsBlock/StepsBlock.mobile.tsx +5 -4
  816. package/src/components/StepsBlock/StepsBlock.tsx +2 -2
  817. package/src/components/StepsBlock/StepsBlockContent.ts +2 -2
  818. package/src/components/TariffsTable/TableTileHeader.tsx +2 -2
  819. package/src/components/TariffsTable/TariffsTable.example.json +12 -4
  820. package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +6 -9
  821. package/src/components/TariffsTable/TariffsTable.fixture.tsx +5 -5
  822. package/src/components/TariffsTable/TariffsTableCell.tsx +2 -3
  823. package/src/components/TariffsTable/TariffsTableContent.ts +2 -2
  824. package/src/components/TariffsTable/TariffsTableRow.tsx +7 -7
  825. package/src/components/TariffsTable/TariffsTableTileCell.tsx +4 -5
  826. package/src/components/Tile/Tile.example.json +1 -1
  827. package/src/components/Tile/Tile.fixture.tsx +6 -6
  828. package/src/components/Tile/Tile.tsx +12 -3
  829. package/src/content-page-repository/transformContentPage.ts +1 -1
  830. package/src/icons/ArrowDownIcon.svg +1 -1
  831. package/src/icons/ArrowLeftIcon.svg +4 -0
  832. package/src/icons/BurgerIcon.svg +4 -4
  833. package/src/icons/Calendar2Icon.svg +1 -1
  834. package/src/icons/CalendarCircleIcon.svg +4 -1
  835. package/src/icons/CalendarIcon.svg +1 -1
  836. package/src/icons/CalendarTickIcon.svg +6 -1
  837. package/src/icons/CalendarWhiteIcon.svg +2 -2
  838. package/src/icons/CardIcon.svg +5 -1
  839. package/src/icons/CardPosIcon.svg +5 -1
  840. package/src/icons/CardTickIcon.svg +5 -1
  841. package/src/icons/ChartSquareIcon.svg +6 -1
  842. package/src/icons/CloseIcon.svg +4 -4
  843. package/src/icons/DiscountShapeIcon.svg +4 -1
  844. package/src/icons/DocIcon.svg +1 -1
  845. package/src/icons/DocumentTextIcon.svg +2 -2
  846. package/src/icons/EmptyWalletChangeIcon.svg +8 -1
  847. package/src/icons/EmptyWalletIcon.svg +2 -2
  848. package/src/icons/GlobalIcon.svg +5 -1
  849. package/src/icons/GpsIcon.svg +6 -6
  850. package/src/icons/IconName.ts +5 -2
  851. package/src/icons/InterestIcon.svg +6 -1
  852. package/src/icons/MasterCardIcon.svg +5 -1
  853. package/src/icons/MinusIcon.svg +3 -1
  854. package/src/icons/MoneyIcon.svg +5 -1
  855. package/src/icons/MonitorMobileIcon.svg +4 -1
  856. package/src/icons/PercentageRoundIcon.svg +4 -1
  857. package/src/icons/PercentageSquareIcon.svg +1 -1
  858. package/src/icons/PersonalCardIcon.svg +4 -1
  859. package/src/icons/PlayMarketIcon.svg +3 -1
  860. package/src/icons/PlusIcon.svg +3 -1
  861. package/src/icons/Profile2UserIcon.svg +6 -1
  862. package/src/icons/RoundRubleIcon.svg +5 -1
  863. package/src/icons/SafeIcon.svg +7 -1
  864. package/src/icons/ShieldTickIcon.svg +4 -1
  865. package/src/icons/SmallClockIcon.svg +4 -1
  866. package/src/icons/UserTickIcon.svg +5 -1
  867. package/src/icons/WalletAdd2Icon.svg +6 -1
  868. package/src/icons/WalletAddIcon.svg +7 -1
  869. package/src/icons/WalletIcon.svg +7 -1
  870. package/src/icons/WalletWithMoneyIcon.svg +5 -1
  871. package/src/model/Picture.ts +4 -0
  872. package/src/model/SitemapProps.ts +2 -2
  873. package/src/services/sitemap/SitemapProps.ts +2 -2
  874. package/src/setup-fixture.ts +4 -6
  875. package/src/ui-kit/Button/Button.fixture.tsx +5 -5
  876. package/src/ui-kit/Button/ButtonInner.tsx +2 -2
  877. package/src/ui-kit/Button/ButtonProps.ts +2 -2
  878. package/src/ui-kit/Button/ButtonSection.tsx +2 -2
  879. package/src/ui-kit/HeaderItem/HeaderItem.tsx +14 -3
  880. package/src/ui-kit/Heading/Heading.tsx +2 -2
  881. package/src/ui-kit/Icon/Icon.tsx +3 -3
  882. package/src/ui-kit/Icon/IconProps.ts +12 -3
  883. package/src/ui-kit/Img/Img.mobile.tsx +38 -22
  884. package/src/ui-kit/Img/Img.tsx +50 -23
  885. package/src/ui-kit/Img/ImgProps.ts +7 -4
  886. package/src/ui-kit/List/List.tsx +2 -0
  887. package/src/ui-kit/List/ListItem.tsx +18 -4
  888. package/src/ui-kit/List/ListProps.ts +1 -1
  889. package/src/ui-kit/Logo/Logo.tsx +1 -1
  890. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +3 -3
  891. package/src/ui-kit/SearchBar/SearchBar.tsx +4 -4
  892. package/src/ui-kit/SearchBar.mobile.tsx +2 -2
  893. package/src/ui-kit/Tabs/Tabs.tsx +2 -2
  894. package/src/ui-kit/Tabs/TabsProps.ts +2 -2
  895. package/src/ui-kit/TopItem/TopItem.tsx +2 -1
  896. package/src/utils/isSSR.ts +2 -0
@@ -187,8 +187,8 @@
187
187
  }
188
188
 
189
189
  const HEADING_STYLE_MAP = {
190
- h1: 'text-title-lg tracking-[-0.3px]',
191
- h2: 'text-title',
190
+ h1: 'text-title-xl tracking-[-0.3px]',
191
+ h2: 'text-title-lg',
192
192
  h3: 'text-title-sm',
193
193
  h4: 'text-title-xs',
194
194
  h5: 'text-title-2xs tracking-[0.2px]',
@@ -203,6 +203,34 @@
203
203
  return (jsx(Tag, { className: `font-sans m-0 ${HEADING_STYLE_MAP[headingType]} ${className}`, children: title }));
204
204
  });
205
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 }))] }));
232
+ });
233
+
206
234
  const projectSettings = new (class {
207
235
  _ = {
208
236
  PROD_BRANCH: 'master',
@@ -241,6 +269,7 @@
241
269
  IconMap["ActualBalanceIcon"] = "ActualBalanceIcon";
242
270
  IconMap["AppleIcon"] = "AppleIcon";
243
271
  IconMap["ArrowDownIcon"] = "ArrowDownIcon";
272
+ IconMap["ArrowLeftIcon"] = "ArrowLeftIcon";
244
273
  IconMap["ArrowsRewindRight"] = "ArrowsRewindRight";
245
274
  IconMap["ArrowUpIcon"] = "ArrowUpIcon";
246
275
  IconMap["AtmIcon"] = "AtmIcon";
@@ -318,7 +347,8 @@
318
347
  (function (IconTitleMap) {
319
348
  IconTitleMap["ActualBalanceIcon"] = "\u0414\u0435\u043D\u044C\u0433\u0438";
320
349
  IconTitleMap["AppleIcon"] = "\u041B\u043E\u0433\u043E \u00ABApple\u00BB";
321
- IconTitleMap["ArrowDownIcon"] = "ArrowDownIcon";
350
+ IconTitleMap["ArrowDownIcon"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430 '\u0412\u043D\u0438\u0437'";
351
+ IconTitleMap["ArrowLeftIcon"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430 '\u0412\u043B\u0435\u0432\u043E'";
322
352
  IconTitleMap["ArrowsRewindRight"] = "ArrowsRewindRight";
323
353
  IconTitleMap["ArrowUpIcon"] = "ArrowUpIcon";
324
354
  IconTitleMap["AtmIcon"] = "\u0411\u0430\u043D\u043A\u043E\u043C\u0430\u0442";
@@ -395,10 +425,10 @@
395
425
 
396
426
  const svgColorsMap = {
397
427
  none: '',
398
- primary: 'text-primary-main',
399
- secondary: 'text-primary-text',
428
+ primary: 'text-white',
429
+ secondary: 'text-white',
400
430
  };
401
- const Icon = JSX(({ className = '', name, alt = `Иконка ${IconTitleMap[name] || name}`, title = alt, asSVG, color = 'primary', ...imgProps }) => {
431
+ const Icon = JSX(({ className = '', name = '', alt = `Иконка ${IconTitleMap[name] || name}`, title = alt, asSVG, color = 'primary', ...imgProps }) => {
402
432
  const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
403
433
  if (asSVG) {
404
434
  return (jsxs("svg", { className: `${svgColorsMap[color]} ${className}`, ...imgProps, "aria-hidden": "true", style: color === 'secondary' ? { filter: 'invert(1)' } : null, children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }));
@@ -406,37 +436,41 @@
406
436
  return (jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
407
437
  });
408
438
 
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 }))] }));
439
+ const Img = JSX(({ className = '', image, imageClassName = '', ...iconProps }) => {
440
+ if (!image) {
441
+ return null;
442
+ }
443
+ // backwards compatibility with existing icons in usage
444
+ const icon = typeof image === 'string' ? image : image.icon;
445
+ if (icon || icon === '') {
446
+ return icon.length ? jsx(Icon, { className: className, name: icon, ...iconProps }) : null;
447
+ }
448
+ return (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image }));
449
+ });
450
+ const ImgAsPicture = JSX(({ className = '', image, imageClassName = '' }) => {
451
+ if (!image) {
452
+ return null;
453
+ }
454
+ return (jsxs("picture", { className: `flex-none ${className}`, children: [image?.sources?.length
455
+ ? image.sources.map(({ src, format }, index) => (jsx("source", { srcSet: src, type: formatToMimeType(format) }, `${index}_${src}`)))
456
+ : null, renderImg(image, imageClassName)] }));
435
457
  });
458
+ const renderImg = (image, imageClassName = '') => {
459
+ const style = {
460
+ width: image.size?.width ? `${image.size?.width}px` : '100%',
461
+ height: image.size?.height ? `${image.size?.height}px` : '100%',
462
+ };
463
+ const title = image.title || '';
464
+ const alt = image.alt || image.title;
465
+ return (jsx("img", { src: image.src, className: imageClassName, alt: alt, title: title, style: style, ...image.size }));
466
+ };
467
+ function formatToMimeType(format) {
468
+ return format ? `image/${String(format)}` : undefined;
469
+ }
436
470
 
437
471
  const LinkDocsListItemBase = JSX(({ className, iconClassName, textClassName, suffixClassName, doc, icon }) => {
438
472
  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] }));
473
+ 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
474
  });
441
475
  const formatSuffix = (ext, fileSize) => {
442
476
  const prefix = ext || fileSize ? ',' : '';
@@ -470,25 +504,10 @@
470
504
  double: 'flex gap-x-5 gap-y-[26px] flex-wrap',
471
505
  single: 'flex gap-3.5 flex-col',
472
506
  };
473
- const LinkDocs = JSX(({ className = '', title, subtitle, align, documents, icon = 'DocIcon', columnsMode = 'double', anchor = null, }) => {
507
+ const LinkDocs = JSX(({ className = '', title, subtitle, align, documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', anchor = null, }) => {
474
508
  return (jsxs("section", { className: `font-sans text-primary-text p-12 bg-white ${className}`, id: anchor, children: [title ? (jsx(Heading, { headingType: "h2", className: `${subtitle ? 'mb-2.5' : titleMarginsStyleMap[columnsMode]} ${titleAlignStyleMap[align ?? 'center']}`, title: title })) : null, subtitle ? (jsx("h3", { className: `text-base mt-0 font-normal ${titleMarginsStyleMap[columnsMode]} ${titleAlignStyleMap[align ?? 'center']}`, children: subtitle })) : null, jsx(LinkDocsList, { className: linkColumnsModeStyleMap[columnsMode], columnsMode: columnsMode, documents: documents, icon: icon })] }));
475
509
  });
476
510
 
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
511
  const pictureTextStyleMap = {
493
512
  primary: 'bg-white text-primary-text',
494
513
  secondary: 'bg-primary-main text-white',
@@ -497,7 +516,7 @@
497
516
  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] })] }));
498
517
  });
499
518
  function renderBenefit$1(benefit, i, version) {
500
- 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-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)));
519
+ 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)));
501
520
  }
502
521
 
503
522
  const isURL = (href) => href?.includes('//');
@@ -580,14 +599,14 @@
580
599
 
581
600
  const ButtonInner = JSX((props) => {
582
601
  const { text, aboveText, appendLeft } = props;
583
- 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-m-button text-left", children: text })] })) : null] }));
602
+ 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-button-sm text-left", children: text })] })) : null] }));
584
603
  });
585
604
  const getButtonStyle = (props) => {
586
605
  const { version, aboveText, rounded } = props;
587
606
  if (version === 'link') {
588
607
  return '';
589
608
  }
590
- const withTextStyle = `px-8 gap-2 ${aboveText ? 'py-2' : 'py-3.5'}`;
609
+ const withTextStyle = `px-8 gap-2 ${aboveText ? 'py-2' : 'py-[18px]'}`;
591
610
  return [
592
611
  'flex items-center justify-center',
593
612
  isWithText(props) ? withTextStyle : 'h-12 w-12',
@@ -623,7 +642,7 @@
623
642
  function renderButton$2({ icon, ...button }, i) {
624
643
  if (!button?.text)
625
644
  return;
626
- return icon ? (jsx(Button, { appendLeft: jsx(Icon, { name: icon, width: "24", height: "24", asSVG: true }), ...button }, String(i))) : (jsx(Button, { ...button }, String(i)));
645
+ return icon ? (jsx(Button, { appendLeft: jsx(Img, { image: icon, width: "24", height: "24", asSVG: true }), ...button }, String(i))) : (jsx(Button, { ...button }, String(i)));
627
646
  }
628
647
 
629
648
  const Description = JSX((props) => {
@@ -631,24 +650,40 @@
631
650
  return jsx("div", { className: `font-normal text-base ${className}`, children: description });
632
651
  });
633
652
 
634
- const LIST_STYLE_CLASSES = 'rounded-full inline-block mr-3 mt-2';
653
+ const LIST_STYLE_CLASSES = {
654
+ primary: 'rounded-full inline-block mr-3 mt-2',
655
+ secondary: 'rounded-full inline-block mr-3 mt-2',
656
+ gray: 'rounded-full inline-block mr-3 mt-2',
657
+ tile: 'rounded-full inline-block mr-4',
658
+ 'tile-white': 'rounded-full inline-block mr-4',
659
+ };
635
660
  const LIST_DOT_STYLE_MAP = {
636
- primary: 'bg-primary-main',
661
+ primary: 'bg-primary-text',
637
662
  secondary: 'bg-white',
638
663
  gray: 'bg-secondary-text',
664
+ tile: 'bg-black',
665
+ 'tile-white': 'bg-white',
639
666
  };
640
667
  const ListItem = JSX(({ className = '', isDotted = true, children, version = 'primary' }) => {
641
668
  return (jsxs("div", { className: `font-sans flex items-start ${className}`, role: "listitem", children: [isDotted && jsx("div", { className: getListStyle(version) }), jsx("span", { children: children })] }));
642
669
  });
643
670
  const getListStyle = (version) => {
644
- 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';
645
- return `${LIST_STYLE_CLASSES} ${LIST_DOT_STYLE_MAP[version]} ${size}`;
671
+ const size = {
672
+ primary: 'w-2 h-2 min-w-2 min-h-2',
673
+ secondary: 'w-2 h-2 min-w-2 min-h-2',
674
+ gray: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5',
675
+ tile: 'w-[7px] h-[7px] min-w-[7px] min-h-[7px]',
676
+ 'tile-white': 'w-[7px] h-[7px] min-w-[7px] min-h-[7px]',
677
+ };
678
+ return `${LIST_STYLE_CLASSES[version]} ${LIST_DOT_STYLE_MAP[version]} ${size[version]}`;
646
679
  };
647
680
 
648
681
  const TEXT_STYLE_MAP = {
649
682
  primary: 'text-primary-text',
650
683
  secondary: 'text-white',
651
684
  gray: 'text-secondary-text',
685
+ tile: 'text-primary-text',
686
+ 'tile-white': 'text-white',
652
687
  };
653
688
  const List = JSX((props) => {
654
689
  const { className = '', itemClassName, isDotted, items, version = 'primary' } = props;
@@ -662,7 +697,7 @@
662
697
  });
663
698
 
664
699
  const benefitIconBgStyleMap = {
665
- primary: 'bg-main',
700
+ primary: 'bg-primary-main',
666
701
  secondary: 'bg-white/30',
667
702
  };
668
703
  const benefitTitleStyleMap = {
@@ -674,19 +709,31 @@
674
709
  secondary: 'text-white',
675
710
  };
676
711
  function renderBenefit(benefit, i, version) {
677
- 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)));
712
+ 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 text-white ${benefitIconBgStyleMap[version]}`, image: benefit.icon, width: "24", height: "24", asSVG: true })) : null, jsxs("div", { className: "flex gap-0.5 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-m-md ${benefitDescStyleMap[version]}`, children: benefit.description }))] })] }, String(i)));
678
713
  }
679
714
 
680
715
  const ProductBlockInner = JSX(({ className = '', context, title, headingType = 'h2', description, benefits, buttons, image, items, version = 'primary', isDotted = true, textBlockClassName = '', }) => {
681
- const textColor = version === 'secondary' ? 'text-white' : '';
682
- 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 })] }));
716
+ const textColor = version === 'secondary' ? 'text-white' : 'text-primary-text';
717
+ 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), buttons: getButtons(context, buttons), children: [description && (jsx(Description, { className: `mt-4 max-w-[600px] text-md 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-2xs font-light", items: items, itemClassName: "mb-[7px]", version: version, isDotted: isDotted })) : null] }) }), image?.src && jsx(Img, { className: "mt-auto", image: image })] }));
683
718
  });
684
- const getTitle = (title, headingType, textColor) => {
685
- return (title && (jsx(Heading, { headingType: headingType, title: title, className: `whitespace-pre-wrap max-w-[600px] ${textColor}` })));
719
+ const getTitle = (title, headingType) => {
720
+ return (title && (jsx(Heading, { headingType: headingType, title: title, className: "whitespace-pre-wrap max-w-[600px]" })));
686
721
  };
687
722
  const getButtons = (context, buttons) => {
688
- return buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null;
723
+ return buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-4" })) : null;
724
+ };
725
+
726
+ const backwardBgStyleMap = {
727
+ primary: 'bg-primary-main',
728
+ secondary: 'bg-white',
689
729
  };
730
+ const backwardIconStyleMap = {
731
+ primary: 'text-white',
732
+ secondary: 'text-primary-text',
733
+ };
734
+ function renderBackwardButton(text, version, className) {
735
+ return (jsxs("div", { className: `flex items-center ${className}`, children: [jsx(Button, { rounded: true, className: `w-12 h-12 min-h-12 max-h-12 flex items-center justify-center mr-3 ${backwardBgStyleMap[version]}`, children: jsx(Img, { className: `w-4 h-4 min-w-4 min-h-4 rounded-full box-border ${backwardIconStyleMap[version]}`, image: { icon: 'ArrowLeftIcon' }, color: "none", width: "24", height: "24", asSVG: true }) }), text ? jsx("span", { className: "text-m-md", children: text }) : null] }));
736
+ }
690
737
 
691
738
  const productBlockStyleMap$1 = {
692
739
  primary: 'bg-white text-primary-text',
@@ -697,10 +744,10 @@
697
744
  secondary: 'text-white/80',
698
745
  };
699
746
  const ProductBlock = JSX((props) => {
700
- const { context, className, breadcrumbs, version = 'primary', anchor = null, ...otherProps } = props;
747
+ const { context, className = '', breadcrumbs, version = 'primary', anchor = null, ...otherProps } = props;
701
748
  const router = context.useRouter();
702
749
  const { handlerDecorator } = context;
703
- return (jsxs("section", { className: `font-sans pt-10 pl-[50px] pb-[50px] pr-[7.5rem] box-border min-h-[420px] ${className || ''} ${productBlockStyleMap$1[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 })] }));
750
+ return (jsxs("section", { className: `font-sans pt-10 pl-[50px] pb-[50px] pr-[7.5rem] box-border min-h-[420px] ${productBlockStyleMap$1[version]} ${className}`, id: anchor, children: [renderBackwardButton('Все дебетовые карты', version, 'mb-10'), breadcrumbs?.length ? (jsx("div", { className: "text-xs mb-6", children: joinList(jsx("span", { className: `mx-2 ${breadcrumbsStyleMap[version]}`, children: "/" }))(breadcrumbs.map((breadcrumb, i) => (jsx(Breadcrumb, { ...useLink({ router, handlerDecorator }, { className: breadcrumbsStyleMap[version], ...breadcrumb }) }, String(i))))) })) : null, jsx(ProductBlockInner, { context: context, version: version, ...otherProps })] }));
704
751
  });
705
752
 
706
753
  const textBlockStyleMaps = {
@@ -785,11 +832,11 @@
785
832
  };
786
833
  const Tile = JSX((props) => {
787
834
  const { context, title, description, items, children, buttons, image, className = '', version = 'primary', role, anchor = null, } = props;
788
- return (jsx("section", { className: `overflow-hidden font-sans p-9 box-border ${className} ${tileStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, role: role, id: anchor, children: jsxs(BaseTile, { context: context, title: title && (jsx(Heading, { headingType: getTileHeadingType(className), title: title, className: `whitespace-pre-wrap max-w-[600px] ${title ? 'mb-3' : ''}
789
- ${version === 'primary' ? 'text-primary-text' : ''}` })), buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description && jsx(Description, { className: "mt-4 max-w-[600px]", description: description }), children, renderList$1(items, version)] }) }));
835
+ return (jsx("section", { className: `overflow-hidden font-sans p-9 pr-3 box-border ${className} ${tileStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, role: role, id: anchor, children: jsxs(BaseTile, { context: context, title: title && (jsx(Heading, { headingType: getTileHeadingType(className), title: title, className: `whitespace-pre-wrap max-w-[600px] ${title ? 'mb-3' : ''}
836
+ ${version === 'primary' ? 'text-primary-text' : ''}` })), buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description && (jsx(Description, { className: "mt-4 max-w-[600px] text-title-new-sm font-light", description: description })), children, renderList$1(items, version)] }) }));
790
837
  });
791
838
  function renderList$1(items, version) {
792
- return items?.length ? (jsx(List, { items: items, itemClassName: "mt-2.5 first:mt-0", version: version })) : null;
839
+ return items?.length ? (jsx(List, { items: items, itemClassName: "text-title-new-sm font-light mt-2.5 first:mt-0", version: version === 'primary' ? 'tile' : 'tile-white' })) : null;
793
840
  }
794
841
 
795
842
  const productTileStyleMap = {
@@ -852,7 +899,7 @@
852
899
  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] }));
853
900
  });
854
901
  function renderButton$1(button) {
855
- return (jsx(Button, { className: "mt-6 w-full", appendLeft: button.icon && jsx(Icon, { name: button.icon, width: "24px", height: "24px", asSVG: true }), ...button }));
902
+ return (jsx(Button, { className: "mt-6 w-full", appendLeft: button.icon && jsx(Img, { image: button.icon, width: "24px", height: "24px", asSVG: true }), ...button }));
856
903
  }
857
904
  function renderCardTitle(title, className) {
858
905
  return jsx("div", { className: `font-medium text-xl m-0 ${className}`, children: title });
@@ -955,7 +1002,7 @@
955
1002
  });
956
1003
  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
957
1004
  ${hasContent ? 'group cursor-pointer' : ''}
958
- `, onClick: handleToggle, children: [jsx("span", { className: `text-xl pr-2.5 font-medium`, children: label }), hasContent ? jsx(Icon, { name: icon, width: "24", height: "24", asSVG: true }) : null] }), hasContent ? (jsx(AccordionItemInner, { isExpanded: isActive, blocks: blocks, context: context })) : null] }));
1005
+ `, 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] }));
959
1006
  });
960
1007
 
961
1008
  const Accordion = JSX(({ title, description, accordionItems, context, className = '', anchor = null }) => {
@@ -966,7 +1013,7 @@
966
1013
  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] }));
967
1014
  });
968
1015
  const renderStep = (benefit, i) => {
969
- 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)));
1016
+ 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)));
970
1017
  };
971
1018
 
972
1019
  const TableRowContainer = JSX(({ children }) => (jsx("div", { className: "self-start flex flex-col", role: "row", children: jsx("div", { className: "flex", children: children }) })));
@@ -984,7 +1031,7 @@
984
1031
  };
985
1032
  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 }) })));
986
1033
 
987
- 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 }) }) }))] })));
1034
+ 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 }) }) }))] })));
988
1035
 
989
1036
  const ComparisonTableColumnHeaders = JSX(({ colHeaders, activeCardIndex, router, handlerDecorator }) => {
990
1037
  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)))) })] }));
@@ -1058,7 +1105,7 @@
1058
1105
  const isActive = currentTabIndex === index;
1059
1106
  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)));
1060
1107
  };
1061
- 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 }) }));
1108
+ 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 }) }));
1062
1109
 
1063
1110
  function useCreditCalculatorData(useAsyncData, directoryName) {
1064
1111
  const { data } = useAsyncData(creditCalculatorUrl(directoryName), fetchCreditCalculatorData);
@@ -1237,19 +1284,19 @@
1237
1284
  title: 'Кредит',
1238
1285
  description: 'Ставка от 6% до 7 лет',
1239
1286
  directoryName: 'credit-calculator-data',
1240
- icon: 'CardIcon',
1287
+ icon: { icon: 'CardIcon' },
1241
1288
  },
1242
1289
  {
1243
1290
  title: 'Кредит',
1244
1291
  description: 'Ставка от 4% до 7 лет',
1245
1292
  directoryName: 'credit-calculator-data1',
1246
- icon: 'ChartSquareIcon',
1293
+ icon: { icon: 'ChartSquareIcon' },
1247
1294
  },
1248
1295
  {
1249
1296
  title: 'Кредит',
1250
1297
  description: 'Ставка от 3% до 6 лет',
1251
1298
  directoryName: 'credit-calculator-data2',
1252
- icon: 'DiscountShapeIcon',
1299
+ icon: { icon: 'DiscountShapeIcon' },
1253
1300
  },
1254
1301
  ];
1255
1302
 
@@ -1286,10 +1333,10 @@
1286
1333
  });
1287
1334
  const renderCurrencyRow = (exchangeCurrencyItem) => {
1288
1335
  const code = exchangeCurrencyItem?.currency?.currency;
1289
- 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));
1336
+ 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));
1290
1337
  };
1291
1338
 
1292
- 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] })] })));
1339
+ 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] })] })));
1293
1340
 
1294
1341
  const Input = JSX(({ className = '', id, name, type = 'text', placeholder }) => {
1295
1342
  return (jsx("input", { className: className, id: id, name: name || id, type: type, placeholder: placeholder }));
@@ -1352,21 +1399,21 @@
1352
1399
  transparent: 'text-white',
1353
1400
  };
1354
1401
  const Logo = JSX(({ className, href, children, targetBlank, bgColor = 'bg-white', hideTitle }) => {
1355
- return (jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className || ''}`, href: href || 'https://rshb.ru/', target: targetBlank ? '_blank' : '_self', "aria-label": "\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A", children: [jsx(SVG, { className: `${SVG_COLOR[bgColor]} w-10`, viewBox: "0 0 40 45", paths: LOGO_PATHS.map((d) => ({ d })) }), !hideTitle && (jsx("span", { className: `${TEXT_COLOR[bgColor]} text-base font-medium ml-2.5`, children: children || 'Россельхозбанк' }))] }));
1402
+ return (jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className || ''}`, href: href || 'https://rshb.ru/', target: targetBlank ? '_blank' : '_self', "aria-label": "\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A", children: [jsx(SVG, { className: `${SVG_COLOR[bgColor]} w-10`, viewBox: "0 0 40 45", paths: LOGO_PATHS.map((d) => ({ d })) }), !hideTitle && (jsx("span", { className: `${TEXT_COLOR[bgColor]} text-m-title-xs font-medium ml-2.5`, children: children || 'Россельхозбанк' }))] }));
1356
1403
  });
1357
1404
 
1358
1405
  const SearchBar = JSX(({ className, context }) => {
1359
1406
  const { term, setTerm } = context.useSearch();
1360
- 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) => {
1407
+ 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-light 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-light 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) => {
1361
1408
  e.preventDefault();
1362
1409
  console.log('click');
1363
1410
  }, children: jsx("div", { className: "font-normal text-sm px-9 py-[9px]", children: "\u041D\u0430\u0439\u0442\u0438" }) })] }));
1364
1411
  });
1365
1412
 
1366
- const Contacts = JSX(({ className, items, hasButton, context }) => {
1413
+ const Contacts = JSX(({ className = '', items, hasButton, context }) => {
1367
1414
  const router = context.useRouter();
1368
1415
  const { handlerDecorator } = context;
1369
- return (jsxs("div", { className: `flex flex-col ${className || ''}`, children: [items?.length ? items.map(renderContact) : null, hasButton ? (jsx(Button, { version: "primary", className: "mt-0.5 mb-5", ...useLink({ router, handlerDecorator }, {
1416
+ return (jsxs("div", { className: className, children: [items?.length ? items.map(renderContact) : null, hasButton ? (jsx(Button, { version: "primary", className: "mb-6 w-full", ...useLink({ router, handlerDecorator }, {
1370
1417
  text: 'Обратная связь',
1371
1418
  href: '/',
1372
1419
  target: '_blank',
@@ -1374,14 +1421,14 @@
1374
1421
  });
1375
1422
  const renderContact = (item, index) => {
1376
1423
  const { type, text, description } = item;
1377
- return (jsxs("div", { className: "mb-3.5", children: [jsx("div", { children: renderText(type, text) }), jsx("div", { className: "font-sans text-sm text-secondary-text", children: description })] }, String(index)));
1424
+ return (jsxs("div", { className: "mb-4", children: [jsx("div", { children: renderText(type, text) }), jsx("div", { className: "mt-1 font-sans font-light text-sm text-secondary-text", children: description })] }, String(index)));
1378
1425
  };
1379
1426
  const renderText = (type, text = '') => {
1380
1427
  switch (type) {
1381
1428
  case 'tel':
1382
- return (jsx("a", { className: "font-sans font-medium text-xl text-primary-text no-underline", href: `tel:${formatTel(text)}`, children: text }));
1429
+ return (jsx("a", { className: "font-sans text-xl text-primary-text no-underline", href: `tel:${formatTel(text)}`, children: text }));
1383
1430
  case 'email':
1384
- return (jsx("a", { className: "font-sans font-medium text-xl text-primary-text no-underline", href: `mailto:${text}`, children: text }));
1431
+ return (jsx("a", { className: "font-sans text-xl text-primary-text no-underline", href: `mailto:${text}`, children: text }));
1385
1432
  default:
1386
1433
  return jsx("span", { children: text });
1387
1434
  }
@@ -1393,7 +1440,7 @@
1393
1440
  const { handlerDecorator } = context;
1394
1441
  return (jsx("div", { className: className, children: links?.length ? (jsx("div", { className: "flex justify-between items-center gap-5 py-5 border-solid border-x-0 border-y border-y-main-divider", children: links.map((_, i) => (jsx(HorizontalNavigationLink, { index: i, ...useLink({ router, handlerDecorator }, _) }, String(i)))) })) : null }));
1395
1442
  });
1396
- const HorizontalNavigationLink = JSX(({ className = '', index, text, href, target, onClick }) => (jsx("a", { className: `font-sans font-normal text-sm text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${className}`, href: href, target: target, onClick: onClick, children: text || `Документ ${index}` })));
1443
+ const HorizontalNavigationLink = JSX(({ className = '', index, text, href, target, onClick }) => (jsx("a", { className: `font-sans font-light text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${className}`, href: href, target: target, onClick: onClick, children: text || `Документ ${index}` })));
1397
1444
 
1398
1445
  const cmp = (a) => (b) => a?.href === b?.href;
1399
1446
  const substitute = (items, substitution) => (items || []).map((_) => substitution?.find(cmp(_)) || _);
@@ -1412,59 +1459,84 @@
1412
1459
  return `/wcms-resources/${projectSettings.SITEMAP || 'sitemap'}.json`;
1413
1460
  }
1414
1461
 
1415
- const Sitemap = JSX(({ className, items, context }) => {
1462
+ const Sitemap = JSX(({ className = '', items, context }) => {
1416
1463
  const sitemap = useSitemap(context.useAsyncData);
1417
1464
  const mergedItems = mergeTopItems(sitemap.topItems, items);
1418
1465
  const linkParams = {
1419
1466
  router: context.useRouter(),
1420
1467
  handlerDecorator: context.handlerDecorator,
1421
1468
  };
1422
- return (jsx("div", { className: `flex items-start justify-start gap-11 xl:gap-5 ${className || ''}`, children: mergedItems?.map((_, i) => renderColumn(_, i, linkParams)) }));
1469
+ return (jsx("div", { className: `flex items-start justify-between gap-11 xl:gap-5 ${className}`, children: mergedItems?.map((_, i) => renderColumn(_, i, linkParams)) }));
1423
1470
  });
1424
1471
  const renderColumn = (c, index, { router, handlerDecorator }) => {
1425
1472
  const { text, href, items, target } = c;
1426
- return (jsxs("div", { className: "flex flex-col gap-[14px]", children: [jsx("a", { className: "block font-sans font-medium text-base text-primary-text no-underline", href: href, target: target || '_self', children: text || `Раздел ${index}` }), items?.map((_, i) => (jsx(ColumnItem, { ...useLink({ router, handlerDecorator }, _), index: i }, String(i))))] }, String(index)));
1473
+ return (jsxs("div", { className: "flex flex-col w-1/5 last:w-1/4 gap-[14px]", children: [jsx("a", { className: "block font-sans leading-5 text-base text-primary-text no-underline", href: href, target: target || '_self', children: text || `Раздел ${index}` }), items?.map((_, i) => (jsx(ColumnItem, { ...useLink({ router, handlerDecorator }, _), index: i }, String(i))))] }, String(index)));
1427
1474
  };
1428
- const ColumnItem = JSX(({ text, href, target, index }) => (jsx("a", { className: "block font-sans font-normal text-base text-secondary-text hover:text-primary-main no-underline", href: href, target: target || '_self', children: text || `Раздел ${index}` })));
1475
+ const ColumnItem = JSX(({ text, href, target, index }) => (jsx("a", { className: "block font-sans font-light text-base text-secondary-text hover:text-primary-main no-underline", href: href, target: target || '_self', children: text || `Раздел ${index}` })));
1429
1476
 
1430
1477
  const ICONS_MAP = [
1431
1478
  {
1432
1479
  origins: ['t.me', 'telegram.org'],
1433
- icon: 'TelegramIcon',
1480
+ icon: { icon: 'TelegramIcon' },
1434
1481
  label: 'Телеграм',
1435
1482
  width: '20px',
1436
1483
  height: '16px',
1437
1484
  },
1438
- { origins: ['vk.com'], icon: 'VKIcon', label: 'ВКонтакте', width: '24px', height: '12px' },
1439
- { origins: ['ok.ru'], icon: 'OkIcon', label: 'Одноклассники', width: '12px', height: '20px' },
1485
+ {
1486
+ origins: ['vk.com'],
1487
+ icon: { icon: 'VKIcon' },
1488
+ label: 'ВКонтакте',
1489
+ width: '24px',
1490
+ height: '12px',
1491
+ },
1492
+ {
1493
+ origins: ['ok.ru'],
1494
+ icon: { icon: 'OkIcon' },
1495
+ label: 'Одноклассники',
1496
+ width: '12px',
1497
+ height: '20px',
1498
+ },
1499
+ {
1500
+ origins: ['apps.apple.com'],
1501
+ icon: { icon: 'AppleIcon' },
1502
+ label: 'App Store',
1503
+ width: '20px',
1504
+ height: '22px',
1505
+ },
1506
+ {
1507
+ origins: ['play.google.com'],
1508
+ icon: { icon: 'PlayMarketIcon' },
1509
+ label: 'Google Play',
1510
+ width: '21px',
1511
+ height: '21px',
1512
+ },
1440
1513
  ];
1441
1514
  const MediaButton = JSX(({ href }) => {
1442
1515
  const { icon, width, height, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
1443
1516
  if (!icon)
1444
1517
  return null;
1445
- 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(Icon, { name: icon, width: width, height: height, asSVG: true, className: "block", color: "none" })) }));
1518
+ return (jsx("a", { className: "flex items-center justify-center border border-solid rounded-md border-main-divider no-underline outline-none w-14 h-14 box-border text-primary-main hover:text-white hover:bg-primary-main hover:border-primary-main", href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", children: icon ? (jsx(Img, { image: icon, width: width, height: height, asSVG: true, className: "block", color: "none" })) : null }));
1446
1519
  });
1447
1520
 
1448
- const SocialMedia = JSX(({ className, media, context }) => {
1521
+ const SocialMedia = JSX(({ className = '', media, context, children }) => {
1449
1522
  const router = context.useRouter();
1450
1523
  const { handlerDecorator } = context;
1451
- 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)))) }));
1524
+ return (jsxs("div", { children: [jsx("div", { className: `flex gap-2.5 mb-1.5 ${className}`, children: media?.map((_, index) => (jsx(MediaButton, { ...useLink({ router, handlerDecorator }, _) }, String(index)))) }), jsx("span", { className: "font-light text-sm text-secondary-text", children: children })] }));
1452
1525
  });
1453
1526
 
1454
1527
  const TextInformation = JSX(({ className, links, context }) => {
1455
1528
  const router = context.useRouter();
1456
1529
  const { handlerDecorator } = context;
1457
- return (jsxs("div", { className: `${className || ''}`, children: [jsx("div", { className: "pt-5 pb-[5px]", children: jsx("span", { className: "font-sans font-normal text-xs text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.` }) }), links?.length ? (jsx("div", { className: "flex justify-start items-start gap-5 pt-[5px]", children: links.map((_, i) => (jsx(TextInformationLink, { index: i, ...useLink({ router, handlerDecorator }, _) }, String(i)))) })) : null] }));
1530
+ return (jsxs("div", { className: `${className || ''}`, children: [jsx("div", { className: "pt-5 pb-[5px]", children: jsx("span", { className: "font-sans font-light text-xs text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.` }) }), links?.length ? (jsx("div", { className: "flex justify-start items-start gap-5 pt-[5px]", children: links.map((_, i) => (jsx(TextInformationLink, { index: i, ...useLink({ router, handlerDecorator }, _) }, String(i)))) })) : null] }));
1458
1531
  });
1459
- const TextInformationLink = JSX(({ className, index, text, href, target, onClick }) => (jsx("a", { className: `font-sans font-normal text-xs text-secondary-text visited:text-secondary-text hover:text-primary-text inline-block no-underline max-w-[292px] ${className || ''}`, href: href, target: target, onClick: onClick, children: text || `Документ ${index}` })));
1532
+ const TextInformationLink = JSX(({ className, index, text, href, target, onClick }) => (jsx("a", { className: `font-sans font-light text-xs text-secondary-text visited:text-secondary-text hover:text-primary-text inline-block no-underline max-w-[292px] ${className || ''}`, href: href, target: target, onClick: onClick, children: text || `Документ ${index}` })));
1460
1533
 
1461
- const LEFT_COL_WIDTH_FULL_HD = 'w-[280px]';
1462
- const LEFT_COL_WIDTH_SMALL_DESKTOP = 'xl:w-[220px]';
1463
- const Footer = JSX(({ className, documents, relatedEnterprises, contacts, socialMedia, topItems, context, anchor = null, }) => {
1464
- return (jsxs("footer", { className: `px-9 py-10 bg-white ${className || ''}`, id: anchor, children: [jsxs("div", { className: "flex items-stretch gap-[54px] pb-8 xl:gap-8", children: [jsx(Logo, { className: `${LEFT_COL_WIDTH_FULL_HD} ${LEFT_COL_WIDTH_SMALL_DESKTOP}` }), jsx(SearchBar, { context: context, className: "grow" })] }), jsxs("div", { className: "flex items-stretch gap-[54px] xl:gap-8", children: [jsx(Contacts, { className: `${LEFT_COL_WIDTH_FULL_HD} shrink-0 overflow-hidden ${LEFT_COL_WIDTH_SMALL_DESKTOP}`, items: contacts, context: context, hasButton: true }), jsx(Sitemap, { className: "pt-[3px]", context: context, items: topItems })] }), jsx(SocialMedia, { media: socialMedia, context: context }), jsx(HorizontalNavigation, { links: relatedEnterprises, context: context }), jsx(TextInformation, { links: documents, context: context })] }));
1534
+ const LEFT_COL_WIDTH_FULL_HD = 'w-[204px]';
1535
+ const Footer = JSX(({ className, documents, relatedEnterprises, contacts, socialMedia, mobileApps, topItems, context, anchor = null, }) => {
1536
+ return (jsxs("footer", { className: `px-9 pt-9 pb-8 bg-white ${className || ''}`, id: anchor, children: [jsxs("div", { className: "flex items-stretch gap-[54px] pb-[30px] xl:gap-8", children: [jsx(Logo, { className: LEFT_COL_WIDTH_FULL_HD }), jsx(SearchBar, { context: context, className: "grow" })] }), jsxs("div", { className: "flex items-stretch gap-[54px] xl:gap-8", children: [jsxs("div", { className: `${LEFT_COL_WIDTH_FULL_HD} flex flex-col shrink-0 overflow-hidden`, children: [jsx(Contacts, { items: contacts, context: context, hasButton: true }), jsx(SocialMedia, { media: socialMedia, context: context, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), jsx(SocialMedia, { className: "mt-6", media: mobileApps, context: context, children: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" })] }), jsx(Sitemap, { className: "pt-[3px]", context: context, items: topItems })] }), jsx(HorizontalNavigation, { className: "mt-24", links: relatedEnterprises, context: context }), jsx(TextInformation, { links: documents, context: context })] }));
1465
1537
  });
1466
1538
 
1467
- const maxBy = (discriminator) => (list) => list.reduceRight((a, b) => (discriminator(a) > discriminator(b) ? a : b));
1539
+ const checkIsHrefSameOrigin = (href, router) => getOrigin(href) === getOrigin(router.href);
1468
1540
 
1469
1541
  const isHrefActive = (href, router, cmp = (href, baseHref) => baseHref.startsWith(href)) => {
1470
1542
  return cmp(withoutQuery(href), withoutMobilePath(withoutQuery(isURL(href) ? router.href : router.pathname)));
@@ -1472,40 +1544,13 @@
1472
1544
 
1473
1545
  const isSubItemActive = (router) => (subItem) => isHrefActive(subItem.href, router);
1474
1546
 
1475
- const findActiveSubItem = (router) => (items = []) => {
1476
- const possibleActiveSubItems = items?.filter(isSubItemActive(router));
1477
- const activeSubItem = possibleActiveSubItems?.length
1478
- ? maxBy((_) => _.href?.length || 0)(possibleActiveSubItems) // More specific item with max length
1479
- : null;
1480
- return activeSubItem;
1481
- };
1482
-
1483
- const checkIsHrefSameOrigin = (href, router) => getOrigin(href) === getOrigin(router.href);
1484
-
1485
1547
  const isTopItemActive = (router) => (topItem) => topItem.items?.some(isSubItemActive(router)) ||
1486
1548
  isHrefActive(topItem.href, router) ||
1487
1549
  checkIsHrefSameOrigin(topItem.href, router);
1488
1550
 
1489
- const TEXT_CLASSES$2 = 'font-sans font-normal text-base';
1490
- const BORDER_CLASSES = 'absolute left-0 -bottom-3 w-full h-[2px]';
1491
- const HeaderItem = JSX(({ className, text, href, target, active, onClick, children, bgColor = 'bg-white' }) => (jsxs("a", { className: `relative inline-block bg-transparent text-center no-underline ${className || ''}`, href: href, target: target, onClick: onClick, children: [jsx("span", { className: getTextClasses$2(bgColor, active), children: text || children }), active ? jsx("div", { className: getBorderClasses(bgColor, active) }) : null] })));
1492
- const getTextClasses$2 = (bgColor, active) => {
1493
- let classes = 'text-white';
1494
- if (bgColor === 'bg-white') {
1495
- classes = active ? 'text-primary-main' : 'text-primary-text hover:text-primary-main';
1496
- }
1497
- return `${classes} ${TEXT_CLASSES$2}`;
1498
- };
1499
- const getBorderClasses = (bgColor, active) => {
1500
- if (!active) {
1501
- return BORDER_CLASSES;
1502
- }
1503
- return `${bgColor === 'bg-white' ? 'bg-primary-main' : bgColor} ${BORDER_CLASSES}`;
1504
- };
1505
-
1506
- const TEXT_CLASSES$1 = 'font-sans font-normal text-sm';
1551
+ const TEXT_CLASSES$2 = 'font-sans font-light text-sm';
1507
1552
  const LINK_CLASSES$1 = 'inline-block border border-solid bg-transparent text-center no-underline';
1508
- const TopItem = JSX(({ className = '', text, href, target, active, flat, onClick, children, ariaLabel, bgColor = 'bg-white', }) => (jsx("a", { className: `${getLinkClasses$1(bgColor, active, flat)} ${className}`, href: href, target: target, onClick: onClick, rel: "noopener noreferrer", "aria-label": ariaLabel, children: jsx("span", { className: getTextClasses$1(bgColor, active, flat), children: text || children }) })));
1553
+ const TopItem = JSX(({ className = '', text, href, target, active, flat, onClick, children, ariaLabel, bgColor = 'bg-white', }) => (jsx("a", { className: `${getLinkClasses$1(bgColor, active, flat)} ${className}`, href: href, target: target, onClick: onClick, rel: "noopener noreferrer", "aria-label": ariaLabel, children: jsx("span", { className: getTextClasses$2(bgColor, active, flat), children: text || children }) })));
1509
1554
  const getLinkClasses$1 = (bgColor, active, flat) => {
1510
1555
  let classes = 'border-transparent';
1511
1556
  if (active) {
@@ -1513,14 +1558,14 @@
1513
1558
  }
1514
1559
  return `${classes} ${LINK_CLASSES$1} ${flat ? '' : 'px-4 py-2'}`;
1515
1560
  };
1516
- const getTextClasses$1 = (bgColor, active, flat) => {
1561
+ const getTextClasses$2 = (bgColor, active, flat) => {
1517
1562
  let classes = 'text-white';
1518
1563
  if (bgColor === 'bg-white') {
1519
1564
  classes = active
1520
1565
  ? 'text-primary-main'
1521
1566
  : `${flat ? 'text-primary-text' : 'text-secondary-text'} hover:text-primary-main`;
1522
1567
  }
1523
- return `${classes} ${TEXT_CLASSES$1}`;
1568
+ return `${classes} ${TEXT_CLASSES$2}`;
1524
1569
  };
1525
1570
 
1526
1571
  const HeaderSecondaryMenuButton = JSX(({ className = '', children, ariaLabel }) => (jsx("button", { type: "button", className: `border-0 p-0 w-[24px] h-[24px] flex items-center bg-inherit cursor-pointer ${className}`, disabled: true, "aria-label": ariaLabel, children: children })));
@@ -1529,34 +1574,115 @@
1529
1574
  'bg-white': 'text-primary-text hover:text-primary-main',
1530
1575
  transparent: 'text-white',
1531
1576
  };
1532
- const DOP_LINKS_COLORS_MAP = {
1577
+ const LINKS_COLORS_MAP = {
1533
1578
  'bg-white': 'text-secondary-light hover:text-secondary-hover',
1534
1579
  transparent: 'text-white',
1535
1580
  };
1536
- const DOP_LINKS_ICON_NAME_MAP = {
1581
+ const LINKS_ICON_NAME_MAP = {
1537
1582
  'bg-white': 'GridIcon',
1538
1583
  transparent: 'GridIconWhite',
1539
1584
  };
1540
1585
  const HeaderSecondaryMenu = JSX(({ context, className, defaultLocation = '', bgColor = 'bg-white' }) => {
1541
1586
  const [city, getCity] = context.useGeolocation(defaultLocation);
1542
- 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" }) })] }));
1587
+ return (jsxs("div", { className: `flex items-center ${className || ''}`, children: [jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: city, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: getCity, bgColor: bgColor }), jsx(TopItem, { className: "mr-7", flat: true, href: "#", text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432", bgColor: bgColor }), jsx(HeaderSecondaryMenuButton, { className: `mr-5 ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: jsx(Img, { image: "LoupeIcon", className: "h-full", asSVG: true, color: "none" }) }), jsx(HeaderSecondaryMenuButton, { className: `${LINKS_COLORS_MAP[bgColor]} min-w-[32px] min-h-[32px]`, ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: jsx(Img, { image: LINKS_ICON_NAME_MAP[bgColor], className: "h-full", asSVG: true, color: "none" }) })] }));
1543
1588
  });
1544
1589
 
1590
+ const maxBy = (discriminator) => (list) => list.reduceRight((a, b) => (discriminator(a) > discriminator(b) ? a : b));
1591
+
1592
+ const findActiveSubItem = (router) => (items = []) => {
1593
+ const possibleActiveSubItems = items?.filter(isSubItemActive(router));
1594
+ const activeSubItem = possibleActiveSubItems?.length
1595
+ ? maxBy((_) => _.href?.length || 0)(possibleActiveSubItems) // More specific item with max length
1596
+ : null;
1597
+ return activeSubItem;
1598
+ };
1599
+
1600
+ const TEXT_CLASSES$1 = 'font-sans font-light text-base';
1601
+ const BORDER_CLASSES = 'absolute left-0 -bottom-3 w-full h-[2px]';
1602
+ const HeaderItem = JSX(({ className = '', text, href, target, active, onClick, children, bgColor = 'bg-white', dataItemName, }) => (jsxs("a", { className: `relative inline-block bg-transparent text-center no-underline ${className}`, href: href, target: target, onClick: onClick, "data-item-name": dataItemName, children: [jsx("span", { className: getTextClasses$1(bgColor, active), children: text || children }), active ? jsx("div", { className: getBorderClasses(bgColor, active) }) : null] })));
1603
+ const getTextClasses$1 = (bgColor, active) => {
1604
+ let classes = 'text-white';
1605
+ if (bgColor === 'bg-white') {
1606
+ classes = active ? 'text-primary-main' : 'text-primary-text hover:text-primary-main';
1607
+ }
1608
+ return `${classes} ${TEXT_CLASSES$1}`;
1609
+ };
1610
+ const getBorderClasses = (bgColor, active) => {
1611
+ if (!active) {
1612
+ return BORDER_CLASSES;
1613
+ }
1614
+ return `${bgColor === 'bg-white' ? 'bg-primary-main' : bgColor} ${BORDER_CLASSES}`;
1615
+ };
1616
+
1617
+ const isSSR = () => !(typeof window !== 'undefined' && window.document && window.document.createElement);
1618
+
1619
+ const headerSubMenuObserver = isSSR()
1620
+ ? undefined
1621
+ : new IntersectionObserver((entries) => {
1622
+ const headerSubMenuButtonElement = window.document.querySelector('[data-header-submenu-visible=toggled]');
1623
+ const headerSubMenuItems = Array.from(window.document.querySelectorAll('[data-item-name=header-submenu]'));
1624
+ const dotsHeaderSubMenuItems = Array.from(window.document.querySelectorAll('[data-item-name=dots-header-submenu]'));
1625
+ const visibilityList = {};
1626
+ entries.forEach((j) => {
1627
+ visibilityList[String(j.target.toString())] = j.isIntersecting;
1628
+ });
1629
+ const isHeaderSubMenuButtonShow = toggleVisibilityInItems(visibilityList, dotsHeaderSubMenuItems, 'hidden');
1630
+ toggleVisibilityInItems(visibilityList, headerSubMenuItems, 'invisible');
1631
+ if (headerSubMenuButtonElement) {
1632
+ isHeaderSubMenuButtonShow
1633
+ ? headerSubMenuButtonElement.classList.remove('hidden')
1634
+ : headerSubMenuButtonElement.classList.add('hidden');
1635
+ }
1636
+ }, { root: window.document, threshold: 1.0 });
1637
+ // TODO: add types
1638
+ const toggleVisibilityInItems = (visibilityList, items, className) => {
1639
+ const isReversed = className !== 'hidden';
1640
+ return items.some((item) => {
1641
+ const key = item.toString();
1642
+ const option = isReversed ? !visibilityList[key] : visibilityList[key];
1643
+ key in visibilityList ? item.classList.toggle(className, option) : null;
1644
+ return isReversed ? item.classList.contains('hidden') : !item.classList.contains('hidden');
1645
+ });
1646
+ };
1647
+
1648
+ const HeaderSubMenu = JSX(({ context, subItems, bgColor }) => {
1649
+ const [subMenuIsShow, setHiddenMenuIsShow] = context.useState(false);
1650
+ const router = context.useRouter();
1651
+ const { handlerDecorator } = context;
1652
+ setTimeout(() => {
1653
+ const headerSubMenu = globalThis.document.querySelectorAll('[data-item-name=header-submenu]');
1654
+ headerSubMenu.forEach((_) => {
1655
+ headerSubMenuObserver?.observe(_);
1656
+ });
1657
+ }, 200);
1658
+ const activeSubItem = findActiveSubItem(router)(subItems);
1659
+ const toggleSubMenu = () => setHiddenMenuIsShow(!subMenuIsShow);
1660
+ const subMenu = subItems?.map((_) => (jsx(HeaderItem, { className: "mr-8", active: _ === activeSubItem, ...useLink({ router, handlerDecorator }, _), dataItemName: "header-submenu", bgColor: bgColor }, _.href)));
1661
+ return (jsxs("nav", { className: "relative mt-5", children: [jsx("div", { className: "overflow-hidden whitespace-nowrap mr-52", children: subMenu }), renderDotsSubMenu({
1662
+ subMenuIsShow,
1663
+ toggleSubMenu,
1664
+ subItems,
1665
+ router,
1666
+ handlerDecorator,
1667
+ })] }));
1668
+ });
1669
+ // TODO: add types
1670
+ const renderDotsSubMenu = ({ subMenuIsShow, toggleSubMenu, subItems, router, handlerDecorator, }) => (jsxs("div", { className: `absolute w-52 -top-4 right-0 pt-4 z-40 ${subMenuIsShow ? 'bg-white rounded-md shadow-blue-gray/24' : ''}`, "data-header-submenu-visible": "toggled", children: [jsx("button", { className: "flex justify-between items-center cursor-pointer h-6 ml-6", onClick: toggleSubMenu, children: Array(3).fill(jsx("div", { className: "w-[3px] h-[3px] rounded bg-black mr-1" })) }), jsx("div", { className: `flex flex-col rounded-md bg-white p-6 pb-2 ${subMenuIsShow ? '' : 'hidden'}`, children: renderDotsSubMenuItems(subItems, router, handlerDecorator) })] }));
1671
+ // TODO: add types
1672
+ const renderDotsSubMenuItems = (subItems, router, handlerDecorator) => subItems?.map((_) => (jsx("a", { ...useLink({ router, handlerDecorator }, _), "data-item-name": "dots-header-submenu", className: "text-base font-light pb-4 hover:text-primary-main", children: _.text }, _.href)));
1673
+
1545
1674
  const BORDER_COLORS = {
1546
1675
  'bg-white': 'bg-main-divider',
1547
1676
  transparent: 'bg-main-divider opacity-30',
1548
1677
  };
1549
- const Header = JSX(({ className, defaultLocation = 'Москва', bgColor = 'bg-white', context, topItems, anchor = null, }) => {
1678
+ const Header = JSX(({ className = '', defaultLocation = 'Москва', bgColor = 'bg-white', context, topItems, anchor = null, }) => {
1550
1679
  const router = context.useRouter();
1551
1680
  const sitemap = useSitemap(context.useAsyncData);
1552
1681
  const { handlerDecorator } = context;
1553
1682
  const mergedItems = mergeTopItems(sitemap.topItems, topItems);
1554
1683
  const activeTopItem = mergedItems.find(isTopItemActive(router));
1555
- const subItems = activeTopItem?.items;
1556
- const activeSubItem = findActiveSubItem(router)(subItems);
1557
1684
  const topMenu = mergedItems.map((_, i) => (jsx(TopItem, { active: _ === activeTopItem, ...useLink({ router, handlerDecorator }, _), ariaLabel: _.text, bgColor: bgColor }, String(i))));
1558
- const subMenu = subItems?.map((_) => (jsx(HeaderItem, { className: "mr-8", active: _ === activeSubItem, ...useLink({ router, handlerDecorator }, _), bgColor: bgColor }, _.href)));
1559
- return (jsx("header", { className: `pt-5 pb-8 px-20 ${bgColor} ${className || ''}`, id: anchor, children: jsxs("div", { className: "container", children: [jsxs("div", { className: "flex items-center", children: [jsx(Logo, { className: "mr-8", bgColor: bgColor }), topMenu, jsx(HeaderSecondaryMenu, { context: context, className: "ml-auto", defaultLocation: defaultLocation, bgColor: bgColor })] }), jsx("div", { className: `mt-5 h-[1px] ${BORDER_COLORS[bgColor]}` }), jsx("nav", { className: "mt-5", children: subMenu })] }) }));
1685
+ return (jsx("header", { className: `pt-6 pb-8 px-20 ${bgColor} ${className}`, id: anchor, children: jsxs("div", { className: "container", children: [jsxs("div", { className: "flex items-center", children: [jsx(Logo, { className: "mr-8", bgColor: bgColor }), topMenu, jsx(HeaderSecondaryMenu, { context: context, className: "ml-auto", defaultLocation: defaultLocation, bgColor: bgColor })] }), jsx("div", { className: `mt-6 h-[1px] ${BORDER_COLORS[bgColor]}` }), jsx(HeaderSubMenu, { context: context, subItems: activeTopItem?.items, bgColor: bgColor })] }) }));
1560
1686
  });
1561
1687
 
1562
1688
  const MobileAppTile = JSX(({ className = '', context, title = 'Мобильное приложение', qr, buttons = [], anchor = null, }) => {
@@ -1607,11 +1733,20 @@
1607
1733
  const renderShimmerItem = (width = 100, index) => (jsx("div", { style: { width: `${width}%` }, className: "h-4 mt-2 bg-secondary-light" }, String(index)));
1608
1734
  const goldenSequence = (first, size) => [first].concat(size > 0 ? goldenSequence(first / GOLDEN_RATIO, size - 1) : []);
1609
1735
 
1736
+ const productGalleryStyleMap = {
1737
+ primary: 'bg-white text-primary-text',
1738
+ secondary: 'bg-primary-main text-white',
1739
+ };
1740
+ const ProductGalleryBlock = JSX(({ block, headingType, context, className = '' }) => {
1741
+ const version = block?.version ?? 'primary';
1742
+ 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 }) }) }));
1743
+ });
1744
+
1610
1745
  const ProductGallery = JSX(({ className, context, duration = 0, slides = [], anchor = null }) => {
1611
1746
  const galleryNav = slides.map((s) => s.nav);
1612
1747
  const galleryBlocks = slides.map((s) => s.productBlock);
1613
1748
  const [activeSlideIndex, setActiveSlideIndex] = context.useState(0);
1614
- 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({
1749
+ 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({
1615
1750
  slide,
1616
1751
  i,
1617
1752
  activeSlideIndex,
@@ -1619,9 +1754,6 @@
1619
1754
  duration,
1620
1755
  })) })] }));
1621
1756
  });
1622
- function renderProductBlock$1(block, i, context) {
1623
- 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)));
1624
- }
1625
1757
  function renderNavButton$1({ slide, i, activeSlideIndex, onClick, duration }) {
1626
1758
  const isActiveBtn = i === activeSlideIndex;
1627
1759
  const progressBarClassName = isActiveBtn ? 'animate-slide' : '';
@@ -1634,8 +1766,8 @@
1634
1766
  secondary: 'bg-primary-main text-white',
1635
1767
  };
1636
1768
  const productBlockStyleMap = {
1637
- primary: 'text-secondary-text',
1638
- secondary: 'text-white/80',
1769
+ primary: { title: 'text-secondary-text', text: 'text-secondary-text' },
1770
+ secondary: { title: 'text-white', text: 'text-white/80' },
1639
1771
  };
1640
1772
  const productSlideStyleMap = {
1641
1773
  primary: 'bg-white text-primary-text',
@@ -1645,8 +1777,8 @@
1645
1777
  const galleryNav = slides.map((s) => s.nav);
1646
1778
  const galleryBlocks = slides.map((s) => s.productBlock);
1647
1779
  const [activeSlideIndex, setActiveSlideIndex] = context.useState(0);
1648
- return (jsxs("section", { id: anchor, className: `box-border pt-[70px] overflow-hidden relative font-sans w-100 ${className}
1649
- ${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-9 box-border", children: galleryNav.map((slide, i) => renderNavButton({
1780
+ return (jsxs("section", { id: anchor, className: `box-border pt-[50px] overflow-hidden relative font-sans w-100 ${className}
1781
+ ${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({
1650
1782
  slide,
1651
1783
  i,
1652
1784
  activeSlideIndex,
@@ -1657,17 +1789,21 @@
1657
1789
  });
1658
1790
  function renderProductBlock(block, i, context) {
1659
1791
  const { version } = block;
1660
- const additionalClass = version ? productBlockStyleMap[version] : '';
1661
- 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] ${additionalClass}`, context: context, textBlockClassName: "mb-[154px]", ...block }), jsx(Icon, { className: "absolute right-[460px] top-[200px] z-0 mb-4", name: "ArrowsRewindRight", width: "230", height: "187" })] }) }, String(i)));
1792
+ const additionalClass = version ? productBlockStyleMap[version].title : '';
1793
+ 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)));
1662
1794
  }
1663
1795
  function renderNavButton({ slide, i, activeSlideIndex, onClick, version, duration }) {
1664
1796
  const isActiveBtn = i === activeSlideIndex;
1665
1797
  const btnClassName = isActiveBtn
1666
1798
  ? 'bg-white shadow-dark-blue/42 h-[102px] w-[354px] min-w-[354px] max-w-[354px] p-0 border-none'
1667
- : `min-w-[277px] px-0 pt-4 pb-[23px] hover:py-[26px] hover:py-[26px] ease-in duration-300
1799
+ : `min-w-[277px] px-0 pt-4 pb-[23px] hover:py-[26px] hover:py-[26px] ease-in duration-300
1668
1800
  ${productSlideStyleMap[version]}`;
1669
- const btnTitleClassName = isActiveBtn ? 'text-primary-text' : productBlockStyleMap[version];
1670
- const btnDescClassName = isActiveBtn ? 'text-secondary-text' : productBlockStyleMap[version];
1801
+ const btnTitleClassName = isActiveBtn
1802
+ ? 'text-primary-text text-title-2xs'
1803
+ : `text-base ${productBlockStyleMap[version].title}`;
1804
+ const btnDescClassName = isActiveBtn
1805
+ ? 'text-secondary-text text-m-title-xs mt-2.5'
1806
+ : `text-m-md mt-1.5 ${productBlockStyleMap[version].text}`;
1671
1807
  const additionalBorder = version === 'secondary' ? 'border-white/50' : '';
1672
1808
  const progressBarClassName = isActiveBtn ? 'animate-slide' : '';
1673
1809
  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
@@ -1728,8 +1864,8 @@
1728
1864
  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 }));
1729
1865
  });
1730
1866
 
1731
- const RecommendationCard = JSX(({ context, className = '', title, description, items, image, version }) => {
1732
- 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, { className: "text-m-base", items: items, version: version }) : null] }) }));
1867
+ const RecommendationCard = JSX(({ context, className = '', title, description, items, image, version, socialMedia }) => {
1868
+ 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 })] }) }));
1733
1869
  });
1734
1870
 
1735
1871
  const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
@@ -1738,8 +1874,8 @@
1738
1874
  const Recommendation = JSX(({ context, recommendations = [], className = '', title, version, anchor = null }) => {
1739
1875
  const [activeCardIndex, setActiveCardIndex] = context.useState(0);
1740
1876
  const blockClassName = version === 'secondary' ? 'bg-primary-main text-white' : 'bg-white text-primary-text';
1741
- const cardClassName = version === 'secondary' ? 'border-main-divider' : 'border-main-stroke';
1742
- return (jsxs("section", { className: `relative font-sans p-[50px] overflow-hidden ${blockClassName} ${className}`, id: anchor, children: [title ? jsx(Heading, { headingType: "h2", 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
1877
+ const cardClassName = version === 'secondary' ? 'border-white/50' : 'border-main-stroke';
1878
+ 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
1743
1879
  ? recommendations.map(renderRecommendationCard({ context, version, className: cardClassName }))
1744
1880
  : null }), renderNavButtons({
1745
1881
  cardsCount: recommendations.length,
@@ -1769,7 +1905,7 @@
1769
1905
  ].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] }));
1770
1906
  });
1771
1907
  const renderStepIcon = (step, i) => {
1772
- 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)));
1908
+ 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)));
1773
1909
  };
1774
1910
  const renderStepTitle = (step, i) => {
1775
1911
  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)));
@@ -1786,10 +1922,10 @@
1786
1922
  });
1787
1923
  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)));
1788
1924
  const renderList = (list) => (jsx(List, { className: "flex flex-col justify-between items-start text-sm", version: "gray", items: list.items, isDotted: list.isDotted ?? true }));
1789
- 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)))) }));
1925
+ 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)))) }));
1790
1926
 
1791
1927
  const TariffsTableRow = JSX(({ row: { header, data }, activeCardIndex, isLastRow }) => {
1792
- 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] }));
1928
+ 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] }));
1793
1929
  });
1794
1930
 
1795
1931
  const TariffsTable = JSX(({ className, context, title, description, rowHeaders, columns, anchor = null }) => {