@redneckz/wildless-cms-uni-blocks 0.3.86 → 0.3.87

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 (808) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +78 -72
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/components/Accordion/Accordion.js +1 -1
  5. package/dist/components/Accordion/Accordion.js.map +1 -1
  6. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  7. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  8. package/dist/components/Bonus/Bonus.js +2 -2
  9. package/dist/components/Bonus/Bonus.js.map +1 -1
  10. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  11. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  12. package/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  13. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  14. package/dist/components/Calculator/Calculator.js +2 -2
  15. package/dist/components/Calculator/Calculator.js.map +1 -1
  16. package/dist/components/Calculator/CalculatorValueBlock.js +1 -1
  17. package/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
  18. package/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  19. package/dist/components/Calculator/Rate.js +1 -1
  20. package/dist/components/Calculator/Rate.js.map +1 -1
  21. package/dist/components/Calculator/renderButtonSection.d.ts +2 -1
  22. package/dist/components/Calculator/renderCalculatorBlock.d.ts +2 -1
  23. package/dist/components/Calculator/renderInitialFeeInput.d.ts +2 -1
  24. package/dist/components/Calculator/renderMonthsInput.d.ts +2 -1
  25. package/dist/components/Calculator/renderPaymentTypeSelector.d.ts +2 -1
  26. package/dist/components/Calculator/renderProposal.d.ts +2 -1
  27. package/dist/components/Calculator/renderProposal.js +1 -1
  28. package/dist/components/Calculator/renderProposal.js.map +1 -1
  29. package/dist/components/Calculator/renderProposalMortgage.d.ts +2 -1
  30. package/dist/components/Calculator/renderRealEstateValue.d.ts +2 -1
  31. package/dist/components/Calculator/renderWantedSumInput.d.ts +2 -1
  32. package/dist/components/Calculator/useBonusCalculatorParams.d.ts +1 -1
  33. package/dist/components/Calculator/useBonusCalculatorParams.js +3 -3
  34. package/dist/components/Calculator/useBonusCalculatorParams.js.map +1 -1
  35. package/dist/components/Calculator/useCreditCalculatorParams.d.ts +1 -1
  36. package/dist/components/Calculator/useCreditCalculatorParams.js +3 -3
  37. package/dist/components/Catalog/Catalog.js +1 -1
  38. package/dist/components/Catalog/Catalog.js.map +1 -1
  39. package/dist/components/Catalog/CatalogCard.js +1 -1
  40. package/dist/components/Catalog/CatalogCard.js.map +1 -1
  41. package/dist/components/ComparisonTable/HeaderCell.mobile.js +1 -1
  42. package/dist/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  43. package/dist/components/ContentPage/ContentPage.d.ts +1 -1
  44. package/dist/components/ContentPage/ContentPage.js +2 -1
  45. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  46. package/dist/components/ContentPage/ContentPageContext.d.ts +2 -2
  47. package/dist/components/ContentPage/ContentPageHead.d.ts +2 -1
  48. package/dist/components/ContentPage/normalizePage.d.ts +1 -1
  49. package/dist/components/ContentPage/normalizePage.js +1 -1
  50. package/dist/components/ContentPage/normalizePage.js.map +1 -1
  51. package/dist/components/ContentPage/normalizePage.mobile.js +1 -1
  52. package/dist/components/ContentPage/normalizePage.mobile.js.map +1 -1
  53. package/dist/components/ExchangeRateTile/renderButton.d.ts +2 -1
  54. package/dist/components/ExchangeRateTile/renderInput.d.ts +2 -1
  55. package/dist/components/Footer/Contacts.js +1 -1
  56. package/dist/components/Footer/Contacts.js.map +1 -1
  57. package/dist/components/Footer/Footer.js +1 -1
  58. package/dist/components/Footer/Footer.js.map +1 -1
  59. package/dist/components/Footer/MediaButton.js +1 -2
  60. package/dist/components/Footer/MediaButton.js.map +1 -1
  61. package/dist/components/Footer/Sitemap.js +2 -2
  62. package/dist/components/Footer/Sitemap.js.map +1 -1
  63. package/dist/components/Footer/SocialMedia.js +1 -1
  64. package/dist/components/Footer/SocialMedia.js.map +1 -1
  65. package/dist/components/Gallery/GalleryCardInner.js +1 -1
  66. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  67. package/dist/components/Gallery/GalleryContainer.js +1 -1
  68. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  69. package/dist/components/GracePeriod/GracePeriod.js +2 -2
  70. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  71. package/dist/components/GroupBlock/GroupBlocksItem.d.ts +2 -1
  72. package/dist/components/GroupBlock/renderBlocksTypes.d.ts +2 -1
  73. package/dist/components/Header/DropdownMenu.js +1 -1
  74. package/dist/components/Header/DropdownMenu.js.map +1 -1
  75. package/dist/components/Header/Header.js +1 -1
  76. package/dist/components/Header/HeaderBurger.d.ts +2 -1
  77. package/dist/components/Header/HeaderBurger.js.map +1 -1
  78. package/dist/components/Header/HeaderSubMenu.js +1 -1
  79. package/dist/components/Headline/Headline.js +2 -2
  80. package/dist/components/Headline/Headline.js.map +1 -1
  81. package/dist/components/Headline/HeadlineContent.d.ts +3 -0
  82. package/dist/components/Insurance/Insurance.js +2 -2
  83. package/dist/components/Insurance/Insurance.js.map +1 -1
  84. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  85. package/dist/components/LikeControl/LikeControl.js +1 -1
  86. package/dist/components/LikeControl/LikeControl.js.map +1 -1
  87. package/dist/components/LinkDocs/LinkDocs.js +2 -2
  88. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  89. package/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  90. package/dist/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
  91. package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
  92. package/dist/components/ProductBlock/ProductBlock.js +3 -2
  93. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  94. package/dist/components/ProductBlock/ProductBlockInner.js +2 -2
  95. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  96. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +2 -2
  97. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  98. package/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -1
  99. package/dist/components/ProductBlock/renderBenefit.d.ts +2 -1
  100. package/dist/components/ProductBlock/renderBenefit.mobile.d.ts +2 -1
  101. package/dist/components/ProductGallery/ProductGallery.js +2 -2
  102. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  103. package/dist/components/ProductTile/ProductTile.js +1 -1
  104. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  105. package/dist/components/PromoTile/PromoTile.js +1 -1
  106. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  107. package/dist/components/Recommendation/Recommendation.js +8 -8
  108. package/dist/components/Recommendation/Recommendation.js.map +1 -1
  109. package/dist/components/Recommendation/RecommendationCard.js +3 -1
  110. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  111. package/dist/components/Recommendation/RecommendationContent.d.ts +2 -3
  112. package/dist/components/TariffsTable/TariffsTable.js +1 -1
  113. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  114. package/dist/content-page-repository/mapJSON.js.map +1 -1
  115. package/dist/content-page-repository/transformContentPage.js +1 -0
  116. package/dist/content-page-repository/transformContentPage.js.map +1 -1
  117. package/dist/hooks/useExchangeRates.js.map +1 -1
  118. package/dist/icons/IconName.js +2 -2
  119. package/dist/icons/IconName.js.map +1 -1
  120. package/dist/react/IntersectionObserverTag.js +26 -4
  121. package/dist/react/IntersectionObserverTag.js.map +1 -1
  122. package/dist/react/setup-fixture.js +7 -2
  123. package/dist/react/setup-fixture.js.map +1 -1
  124. package/dist/ui-kit/BlockWrapper.d.ts +1 -1
  125. package/dist/ui-kit/BlockWrapper.js +3 -2
  126. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  127. package/dist/ui-kit/BlocksList/renderBlocksList.d.ts +2 -1
  128. package/dist/ui-kit/Button/ArrowButton.js +3 -3
  129. package/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  130. package/dist/ui-kit/Button/Button.js +2 -2
  131. package/dist/ui-kit/Button/Button.js.map +1 -1
  132. package/dist/ui-kit/Button/ButtonInner.js +1 -1
  133. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  134. package/dist/ui-kit/Button/ButtonProps.d.ts +4 -3
  135. package/dist/ui-kit/Button/LikeButton.js +3 -1
  136. package/dist/ui-kit/Button/LikeButton.js.map +1 -1
  137. package/dist/ui-kit/Button/renderArrows.d.ts +2 -1
  138. package/dist/ui-kit/Checkbox/Checkbox.js +1 -1
  139. package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  140. package/dist/ui-kit/Foldable/Foldable.js +1 -1
  141. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  142. package/dist/ui-kit/HeaderItem/HeaderItem.js +1 -1
  143. package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  144. package/dist/ui-kit/Heading/Heading.mobile.js +1 -1
  145. package/dist/ui-kit/Heading/Heading.mobile.js.map +1 -1
  146. package/dist/ui-kit/Input/Input.js +1 -1
  147. package/dist/ui-kit/Input/Input.js.map +1 -1
  148. package/dist/ui-kit/InputRange/InputRange.js +1 -1
  149. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  150. package/dist/ui-kit/SVG.d.ts +2 -3
  151. package/dist/ui-kit/SearchBar/SearchBarInner.js +2 -2
  152. package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  153. package/dist/ui-kit/Select/Select.js.map +1 -1
  154. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  155. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  156. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  157. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  158. package/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
  159. package/dist/ui-kit/SwipeListControl/SwipeListControlList.js +1 -1
  160. package/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
  161. package/dist/ui-kit/Tabs/Tabs.js +1 -1
  162. package/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  163. package/lib/common.css +1 -1
  164. package/lib/components/Accordion/Accordion.fixture.d.ts +3 -2
  165. package/lib/components/Accordion/Accordion.fixture.mobile.d.ts +2 -1
  166. package/lib/components/Accordion/Accordion.js +1 -1
  167. package/lib/components/Accordion/Accordion.js.map +1 -1
  168. package/lib/components/BenefitsBlock/BenefitsBlock.fixture.d.ts +3 -2
  169. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  170. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  171. package/lib/components/Bonus/Bonus.fixture.d.ts +2 -1
  172. package/lib/components/Bonus/Bonus.js +2 -2
  173. package/lib/components/Bonus/Bonus.js.map +1 -1
  174. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.d.ts +2 -1
  175. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  176. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  177. package/lib/components/Calculator/BonusCalculatorForm.js +3 -3
  178. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  179. package/lib/components/Calculator/Calculator.fixture.d.ts +3 -2
  180. package/lib/components/Calculator/Calculator.js +2 -2
  181. package/lib/components/Calculator/Calculator.js.map +1 -1
  182. package/lib/components/Calculator/CalculatorValueBlock.js +1 -1
  183. package/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
  184. package/lib/components/Calculator/CreditCalculatorForm.js +2 -2
  185. package/lib/components/Calculator/Rate.js +1 -1
  186. package/lib/components/Calculator/Rate.js.map +1 -1
  187. package/lib/components/Calculator/renderButtonSection.d.ts +2 -1
  188. package/lib/components/Calculator/renderCalculatorBlock.d.ts +2 -1
  189. package/lib/components/Calculator/renderInitialFeeInput.d.ts +2 -1
  190. package/lib/components/Calculator/renderMonthsInput.d.ts +2 -1
  191. package/lib/components/Calculator/renderPaymentTypeSelector.d.ts +2 -1
  192. package/lib/components/Calculator/renderProposal.d.ts +2 -1
  193. package/lib/components/Calculator/renderProposal.js +1 -1
  194. package/lib/components/Calculator/renderProposal.js.map +1 -1
  195. package/lib/components/Calculator/renderProposalMortgage.d.ts +2 -1
  196. package/lib/components/Calculator/renderRealEstateValue.d.ts +2 -1
  197. package/lib/components/Calculator/renderWantedSumInput.d.ts +2 -1
  198. package/lib/components/Calculator/useBonusCalculatorParams.d.ts +1 -1
  199. package/lib/components/Calculator/useBonusCalculatorParams.js +1 -1
  200. package/lib/components/Calculator/useBonusCalculatorParams.js.map +1 -1
  201. package/lib/components/Calculator/useCreditCalculatorParams.d.ts +1 -1
  202. package/lib/components/Calculator/useCreditCalculatorParams.js +1 -1
  203. package/lib/components/Catalog/Catalog.fixture.d.ts +2 -1
  204. package/lib/components/Catalog/Catalog.js +1 -1
  205. package/lib/components/Catalog/Catalog.js.map +1 -1
  206. package/lib/components/Catalog/CatalogCard.js +1 -1
  207. package/lib/components/Catalog/CatalogCard.js.map +1 -1
  208. package/lib/components/ComparisonTable/ComparisonTable.fixture.d.ts +6 -5
  209. package/lib/components/ComparisonTable/ComparisonTable.fixture.mobile.d.ts +3 -2
  210. package/lib/components/ComparisonTable/HeaderCell.mobile.js +1 -1
  211. package/lib/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  212. package/lib/components/ContentPage/ContentPage.d.ts +1 -1
  213. package/lib/components/ContentPage/ContentPage.fixture.d.ts +3 -2
  214. package/lib/components/ContentPage/ContentPage.fixture.mobile.d.ts +2 -1
  215. package/lib/components/ContentPage/ContentPage.js +2 -1
  216. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  217. package/lib/components/ContentPage/ContentPageContext.d.ts +2 -2
  218. package/lib/components/ContentPage/ContentPageHead.d.ts +2 -1
  219. package/lib/components/ContentPage/normalizePage.d.ts +1 -1
  220. package/lib/components/ContentPage/normalizePage.js +1 -1
  221. package/lib/components/ContentPage/normalizePage.js.map +1 -1
  222. package/lib/components/ContentPage/normalizePage.mobile.js +1 -1
  223. package/lib/components/ContentPage/normalizePage.mobile.js.map +1 -1
  224. package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.d.ts +2 -1
  225. package/lib/components/ExchangeRateTile/renderButton.d.ts +2 -1
  226. package/lib/components/ExchangeRateTile/renderInput.d.ts +2 -1
  227. package/lib/components/Footer/Contacts.js +1 -1
  228. package/lib/components/Footer/Contacts.js.map +1 -1
  229. package/lib/components/Footer/Footer.fixture.d.ts +2 -1
  230. package/lib/components/Footer/Footer.fixture.mobile.d.ts +2 -1
  231. package/lib/components/Footer/Footer.js +1 -1
  232. package/lib/components/Footer/Footer.js.map +1 -1
  233. package/lib/components/Footer/MediaButton.js +1 -2
  234. package/lib/components/Footer/MediaButton.js.map +1 -1
  235. package/lib/components/Footer/Sitemap.js +2 -2
  236. package/lib/components/Footer/Sitemap.js.map +1 -1
  237. package/lib/components/Footer/SocialMedia.js +1 -1
  238. package/lib/components/Footer/SocialMedia.js.map +1 -1
  239. package/lib/components/Gallery/Gallery.fixture.d.ts +6 -5
  240. package/lib/components/Gallery/Gallery.fixture.mobile.d.ts +3 -2
  241. package/lib/components/Gallery/GalleryCardInner.js +1 -1
  242. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  243. package/lib/components/Gallery/GalleryContainer.js +1 -1
  244. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  245. package/lib/components/GracePeriod/GracePeriod.fixture.d.ts +2 -1
  246. package/lib/components/GracePeriod/GracePeriod.js +2 -2
  247. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  248. package/lib/components/GroupBlock/GroupBlock.fixture.d.ts +3 -2
  249. package/lib/components/GroupBlock/GroupBlocksItem.d.ts +2 -1
  250. package/lib/components/GroupBlock/renderBlocksTypes.d.ts +2 -1
  251. package/lib/components/Header/DropdownMenu.js +1 -1
  252. package/lib/components/Header/DropdownMenu.js.map +1 -1
  253. package/lib/components/Header/Header.fixture.d.ts +4 -3
  254. package/lib/components/Header/Header.fixture.mobile.d.ts +3 -2
  255. package/lib/components/Header/Header.js +1 -1
  256. package/lib/components/Header/HeaderBurger.d.ts +2 -1
  257. package/lib/components/Header/HeaderBurger.js.map +1 -1
  258. package/lib/components/Header/HeaderSubMenu.js +1 -1
  259. package/lib/components/Headline/Headline.fixture.d.ts +15 -14
  260. package/lib/components/Headline/Headline.fixture.mobile.d.ts +14 -13
  261. package/lib/components/Headline/Headline.js +2 -2
  262. package/lib/components/Headline/Headline.js.map +1 -1
  263. package/lib/components/Headline/HeadlineContent.d.ts +3 -0
  264. package/lib/components/Insurance/Insurance.fixture.d.ts +3 -2
  265. package/lib/components/Insurance/Insurance.js +2 -2
  266. package/lib/components/Insurance/Insurance.js.map +1 -1
  267. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.d.ts +2 -1
  268. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  269. package/lib/components/LikeControl/LikeControl.fixture.d.ts +2 -1
  270. package/lib/components/LikeControl/LikeControl.js +1 -1
  271. package/lib/components/LikeControl/LikeControl.js.map +1 -1
  272. package/lib/components/LinkDocs/LinkDocs.fixture.d.ts +5 -4
  273. package/lib/components/LinkDocs/LinkDocs.fixture.mobile.d.ts +4 -3
  274. package/lib/components/LinkDocs/LinkDocs.js +2 -2
  275. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  276. package/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  277. package/lib/components/LinkList/LinkList.fixture.d.ts +2 -1
  278. package/lib/components/MiniGallery/MiniGallery.fixture.d.ts +3 -2
  279. package/lib/components/MobileAppTile/MobileAppTile.fixture.d.ts +4 -3
  280. package/lib/components/MobileAppTile/MobileAppTile.fixture.mobile.d.ts +2 -1
  281. package/lib/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
  282. package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
  283. package/lib/components/Navigation/Navigation.fixture.d.ts +2 -1
  284. package/lib/components/NavigatorTabs/NavigatorTabs.fixture.d.ts +2 -1
  285. package/lib/components/OtherProducts/OtherProducts.fixture.d.ts +2 -1
  286. package/lib/components/PictureText/PictureText.fixture.d.ts +2 -1
  287. package/lib/components/Placeholder/Placeholder.fixture.d.ts +2 -1
  288. package/lib/components/Placeholder/Placeholder.fixture.mobile.d.ts +2 -1
  289. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +11 -10
  290. package/lib/components/ProductBlock/ProductBlock.fixture.mobile.d.ts +7 -6
  291. package/lib/components/ProductBlock/ProductBlock.js +3 -2
  292. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  293. package/lib/components/ProductBlock/ProductBlockInner.js +2 -2
  294. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  295. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +2 -2
  296. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  297. package/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -1
  298. package/lib/components/ProductBlock/renderBenefit.d.ts +2 -1
  299. package/lib/components/ProductBlock/renderBenefit.mobile.d.ts +2 -1
  300. package/lib/components/ProductGallery/ProductGallery.fixture.d.ts +3 -2
  301. package/lib/components/ProductGallery/ProductGallery.fixture.mobile.d.ts +3 -2
  302. package/lib/components/ProductGallery/ProductGallery.js +2 -2
  303. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  304. package/lib/components/ProductTile/ProductTile.fixture.d.ts +6 -5
  305. package/lib/components/ProductTile/ProductTile.js +1 -1
  306. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  307. package/lib/components/PromoTile/PromoTile.fixture.d.ts +2 -1
  308. package/lib/components/PromoTile/PromoTile.js +1 -1
  309. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  310. package/lib/components/Recommendation/Recommendation.fixture.d.ts +7 -4
  311. package/lib/components/Recommendation/Recommendation.js +8 -8
  312. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  313. package/lib/components/Recommendation/RecommendationCard.js +3 -1
  314. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  315. package/lib/components/Recommendation/RecommendationContent.d.ts +2 -3
  316. package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +5 -4
  317. package/lib/components/StepsBlock/StepsBlock.fixture.mobile.d.ts +9 -8
  318. package/lib/components/TariffsTable/TariffsTable.fixture.d.ts +5 -4
  319. package/lib/components/TariffsTable/TariffsTable.fixture.mobile.d.ts +3 -2
  320. package/lib/components/TariffsTable/TariffsTable.js +1 -1
  321. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  322. package/lib/components/TextBlock/TextBlock.fixture.d.ts +4 -3
  323. package/lib/components/TextBlock/TextBlock.fixture.mobile.d.ts +4 -3
  324. package/lib/components/Tile/Tile.fixture.d.ts +6 -5
  325. package/lib/content-page-repository/mapJSON.js.map +1 -1
  326. package/lib/content-page-repository/transformContentPage.js +1 -0
  327. package/lib/content-page-repository/transformContentPage.js.map +1 -1
  328. package/lib/cosmos.decorator.d.ts +2 -1
  329. package/lib/hooks/useExchangeRates.js.map +1 -1
  330. package/lib/icons/IconName.js +1 -1
  331. package/lib/icons/IconName.js.map +1 -1
  332. package/lib/react/IntersectionObserverTag.js +3 -4
  333. package/lib/react/IntersectionObserverTag.js.map +1 -1
  334. package/lib/react/setup-fixture.js +3 -1
  335. package/lib/react/setup-fixture.js.map +1 -1
  336. package/lib/ui-kit/BlockWrapper.d.ts +1 -1
  337. package/lib/ui-kit/BlockWrapper.js +3 -2
  338. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  339. package/lib/ui-kit/BlocksList/renderBlocksList.d.ts +1 -1
  340. package/lib/ui-kit/Button/ArrowButton.js +3 -3
  341. package/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  342. package/lib/ui-kit/Button/Button.fixture.d.ts +10 -9
  343. package/lib/ui-kit/Button/Button.fixture.mobile.d.ts +2 -1
  344. package/lib/ui-kit/Button/Button.js +2 -2
  345. package/lib/ui-kit/Button/Button.js.map +1 -1
  346. package/lib/ui-kit/Button/ButtonInner.js +1 -1
  347. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  348. package/lib/ui-kit/Button/ButtonProps.d.ts +4 -3
  349. package/lib/ui-kit/Button/LikeButton.fixture.d.ts +3 -2
  350. package/lib/ui-kit/Button/LikeButton.js +3 -1
  351. package/lib/ui-kit/Button/LikeButton.js.map +1 -1
  352. package/lib/ui-kit/Button/renderArrows.d.ts +2 -1
  353. package/lib/ui-kit/Checkbox/Checkbox.js +1 -1
  354. package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  355. package/lib/ui-kit/Foldable/Foldable.js +1 -1
  356. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  357. package/lib/ui-kit/HeaderItem/HeaderItem.fixture.d.ts +3 -2
  358. package/lib/ui-kit/HeaderItem/HeaderItem.js +1 -1
  359. package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  360. package/lib/ui-kit/Heading/Heading.fixture.d.ts +2 -1
  361. package/lib/ui-kit/Heading/Heading.fixture.mobile.d.ts +2 -1
  362. package/lib/ui-kit/Heading/Heading.mobile.js +1 -1
  363. package/lib/ui-kit/Heading/Heading.mobile.js.map +1 -1
  364. package/lib/ui-kit/Icon/Icon.fixture.d.ts +5 -4
  365. package/lib/ui-kit/Input/Input.js +1 -1
  366. package/lib/ui-kit/Input/Input.js.map +1 -1
  367. package/lib/ui-kit/InputRange/InputRange.js +1 -1
  368. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  369. package/lib/ui-kit/List/List.fixture.d.ts +11 -10
  370. package/lib/ui-kit/Logo/Logo.fixture.d.ts +2 -1
  371. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.d.ts +2 -1
  372. package/lib/ui-kit/SVG.d.ts +2 -3
  373. package/lib/ui-kit/SearchBar/SearchBarInner.js +2 -2
  374. package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  375. package/lib/ui-kit/Select/Select.js.map +1 -1
  376. package/lib/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.d.ts +5 -4
  377. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  378. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  379. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  380. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  381. package/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
  382. package/lib/ui-kit/SwipeListControl/SwipeListControlList.js +1 -1
  383. package/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
  384. package/lib/ui-kit/Tabs/Tabs.js +1 -1
  385. package/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  386. package/lib/ui-kit/TopItem/TopItem.fixture.d.ts +3 -2
  387. package/mobile/bundle/bundle.umd.js +23 -20
  388. package/mobile/bundle/bundle.umd.min.js +1 -1
  389. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  390. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  391. package/mobile/dist/components/Bonus/Bonus.js +2 -2
  392. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  393. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  394. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  395. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  396. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  397. package/mobile/dist/components/Calculator/Calculator.js +2 -2
  398. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  399. package/mobile/dist/components/Calculator/CalculatorValueBlock.js +1 -1
  400. package/mobile/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
  401. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +1 -1
  402. package/mobile/dist/components/Calculator/Rate.js +1 -1
  403. package/mobile/dist/components/Calculator/Rate.js.map +1 -1
  404. package/mobile/dist/components/Calculator/renderButtonSection.d.ts +2 -1
  405. package/mobile/dist/components/Calculator/renderCalculatorBlock.d.ts +2 -1
  406. package/mobile/dist/components/Calculator/renderInitialFeeInput.d.ts +2 -1
  407. package/mobile/dist/components/Calculator/renderMonthsInput.d.ts +2 -1
  408. package/mobile/dist/components/Calculator/renderPaymentTypeSelector.d.ts +2 -1
  409. package/mobile/dist/components/Calculator/renderProposal.d.ts +2 -1
  410. package/mobile/dist/components/Calculator/renderProposal.js +1 -1
  411. package/mobile/dist/components/Calculator/renderProposal.js.map +1 -1
  412. package/mobile/dist/components/Calculator/renderProposalMortgage.d.ts +2 -1
  413. package/mobile/dist/components/Calculator/renderRealEstateValue.d.ts +2 -1
  414. package/mobile/dist/components/Calculator/renderWantedSumInput.d.ts +2 -1
  415. package/mobile/dist/components/Calculator/useBonusCalculatorParams.d.ts +1 -1
  416. package/mobile/dist/components/Calculator/useBonusCalculatorParams.js +3 -3
  417. package/mobile/dist/components/Calculator/useBonusCalculatorParams.js.map +1 -1
  418. package/mobile/dist/components/Calculator/useCreditCalculatorParams.d.ts +1 -1
  419. package/mobile/dist/components/Calculator/useCreditCalculatorParams.js +3 -3
  420. package/mobile/dist/components/Catalog/Catalog.js +1 -1
  421. package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
  422. package/mobile/dist/components/Catalog/CatalogCard.js +1 -1
  423. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
  424. package/mobile/dist/components/ComparisonTable/HeaderCell.js +1 -1
  425. package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  426. package/mobile/dist/components/ContentPage/ContentPage.d.ts +1 -1
  427. package/mobile/dist/components/ContentPage/ContentPage.js +2 -1
  428. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  429. package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +2 -2
  430. package/mobile/dist/components/ContentPage/ContentPageHead.d.ts +2 -1
  431. package/mobile/dist/components/ContentPage/normalizePage.js +1 -1
  432. package/mobile/dist/components/ContentPage/normalizePage.js.map +1 -1
  433. package/mobile/dist/components/ExchangeRateTile/renderButton.d.ts +2 -1
  434. package/mobile/dist/components/ExchangeRateTile/renderInput.d.ts +2 -1
  435. package/mobile/dist/components/Footer/Contacts.js +1 -1
  436. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  437. package/mobile/dist/components/Footer/MediaButton.js +1 -2
  438. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  439. package/mobile/dist/components/Footer/Sitemap.js +2 -2
  440. package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
  441. package/mobile/dist/components/Gallery/GalleryCardInner.js +1 -1
  442. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  443. package/mobile/dist/components/Gallery/GalleryContainer.js +1 -1
  444. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  445. package/mobile/dist/components/GracePeriod/GracePeriod.js +2 -2
  446. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  447. package/mobile/dist/components/GroupBlock/GroupBlocksItem.d.ts +2 -1
  448. package/mobile/dist/components/GroupBlock/renderBlocksTypes.d.ts +2 -1
  449. package/mobile/dist/components/Header/DropdownMenu.js +1 -1
  450. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  451. package/mobile/dist/components/Header/HeaderBurger.d.ts +2 -1
  452. package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
  453. package/mobile/dist/components/Header/HeaderSubMenu.js +1 -1
  454. package/mobile/dist/components/Headline/HeadlineContent.d.ts +3 -0
  455. package/mobile/dist/components/Insurance/Insurance.js +2 -2
  456. package/mobile/dist/components/Insurance/Insurance.js.map +1 -1
  457. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  458. package/mobile/dist/components/LikeControl/LikeControl.js +1 -1
  459. package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -1
  460. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  461. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  462. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  463. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +2 -2
  464. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  465. package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -1
  466. package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +2 -1
  467. package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
  468. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  469. package/mobile/dist/components/PromoTile/PromoTile.js +1 -1
  470. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  471. package/mobile/dist/components/Recommendation/Recommendation.js +8 -8
  472. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  473. package/mobile/dist/components/Recommendation/RecommendationCard.js +3 -1
  474. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  475. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +2 -3
  476. package/mobile/dist/content-page-repository/mapJSON.js.map +1 -1
  477. package/mobile/dist/content-page-repository/transformContentPage.js +1 -0
  478. package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
  479. package/mobile/dist/hooks/useExchangeRates.js.map +1 -1
  480. package/mobile/dist/icons/IconName.js +2 -2
  481. package/mobile/dist/icons/IconName.js.map +1 -1
  482. package/mobile/dist/react/IntersectionObserverTag.js +26 -4
  483. package/mobile/dist/react/IntersectionObserverTag.js.map +1 -1
  484. package/mobile/dist/react/setup-fixture.js +7 -2
  485. package/mobile/dist/react/setup-fixture.js.map +1 -1
  486. package/mobile/dist/ui-kit/BlockWrapper.d.ts +1 -1
  487. package/mobile/dist/ui-kit/BlockWrapper.js +3 -2
  488. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  489. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.d.ts +2 -1
  490. package/mobile/dist/ui-kit/Button/ArrowButton.js +3 -3
  491. package/mobile/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  492. package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
  493. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  494. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +4 -3
  495. package/mobile/dist/ui-kit/Button/LikeButton.js +3 -1
  496. package/mobile/dist/ui-kit/Button/LikeButton.js.map +1 -1
  497. package/mobile/dist/ui-kit/Button/renderArrows.d.ts +2 -1
  498. package/mobile/dist/ui-kit/Checkbox/Checkbox.js +1 -1
  499. package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  500. package/mobile/dist/ui-kit/Foldable/Foldable.js +1 -1
  501. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  502. package/mobile/dist/ui-kit/Heading/Heading.js +1 -1
  503. package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -1
  504. package/mobile/dist/ui-kit/Input/Input.js +1 -1
  505. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  506. package/mobile/dist/ui-kit/InputRange/InputRange.js +1 -1
  507. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  508. package/mobile/dist/ui-kit/SVG.d.ts +2 -3
  509. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +2 -2
  510. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  511. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  512. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  513. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  514. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  515. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  516. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
  517. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js +1 -1
  518. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
  519. package/mobile/dist/ui-kit/Tabs/Tabs.js +1 -1
  520. package/mobile/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  521. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  522. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  523. package/mobile/lib/components/Bonus/Bonus.js +2 -2
  524. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  525. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  526. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  527. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +3 -3
  528. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  529. package/mobile/lib/components/Calculator/Calculator.js +2 -2
  530. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  531. package/mobile/lib/components/Calculator/CalculatorValueBlock.js +1 -1
  532. package/mobile/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
  533. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +2 -2
  534. package/mobile/lib/components/Calculator/Rate.js +1 -1
  535. package/mobile/lib/components/Calculator/Rate.js.map +1 -1
  536. package/mobile/lib/components/Calculator/renderButtonSection.d.ts +2 -1
  537. package/mobile/lib/components/Calculator/renderCalculatorBlock.d.ts +2 -1
  538. package/mobile/lib/components/Calculator/renderInitialFeeInput.d.ts +2 -1
  539. package/mobile/lib/components/Calculator/renderMonthsInput.d.ts +2 -1
  540. package/mobile/lib/components/Calculator/renderPaymentTypeSelector.d.ts +2 -1
  541. package/mobile/lib/components/Calculator/renderProposal.d.ts +2 -1
  542. package/mobile/lib/components/Calculator/renderProposal.js +1 -1
  543. package/mobile/lib/components/Calculator/renderProposal.js.map +1 -1
  544. package/mobile/lib/components/Calculator/renderProposalMortgage.d.ts +2 -1
  545. package/mobile/lib/components/Calculator/renderRealEstateValue.d.ts +2 -1
  546. package/mobile/lib/components/Calculator/renderWantedSumInput.d.ts +2 -1
  547. package/mobile/lib/components/Calculator/useBonusCalculatorParams.d.ts +1 -1
  548. package/mobile/lib/components/Calculator/useBonusCalculatorParams.js +1 -1
  549. package/mobile/lib/components/Calculator/useBonusCalculatorParams.js.map +1 -1
  550. package/mobile/lib/components/Calculator/useCreditCalculatorParams.d.ts +1 -1
  551. package/mobile/lib/components/Calculator/useCreditCalculatorParams.js +1 -1
  552. package/mobile/lib/components/Catalog/Catalog.js +1 -1
  553. package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
  554. package/mobile/lib/components/Catalog/CatalogCard.js +1 -1
  555. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
  556. package/mobile/lib/components/ComparisonTable/HeaderCell.js +1 -1
  557. package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  558. package/mobile/lib/components/ContentPage/ContentPage.d.ts +1 -1
  559. package/mobile/lib/components/ContentPage/ContentPage.js +2 -1
  560. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  561. package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +2 -2
  562. package/mobile/lib/components/ContentPage/ContentPageHead.d.ts +2 -1
  563. package/mobile/lib/components/ContentPage/normalizePage.js +1 -1
  564. package/mobile/lib/components/ContentPage/normalizePage.js.map +1 -1
  565. package/mobile/lib/components/ExchangeRateTile/renderButton.d.ts +2 -1
  566. package/mobile/lib/components/ExchangeRateTile/renderInput.d.ts +2 -1
  567. package/mobile/lib/components/Footer/Contacts.js +1 -1
  568. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  569. package/mobile/lib/components/Footer/MediaButton.js +1 -2
  570. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  571. package/mobile/lib/components/Footer/Sitemap.js +2 -2
  572. package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
  573. package/mobile/lib/components/Gallery/GalleryCardInner.js +1 -1
  574. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  575. package/mobile/lib/components/Gallery/GalleryContainer.js +1 -1
  576. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  577. package/mobile/lib/components/GracePeriod/GracePeriod.js +2 -2
  578. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  579. package/mobile/lib/components/GroupBlock/GroupBlocksItem.d.ts +2 -1
  580. package/mobile/lib/components/GroupBlock/renderBlocksTypes.d.ts +2 -1
  581. package/mobile/lib/components/Header/DropdownMenu.js +1 -1
  582. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  583. package/mobile/lib/components/Header/HeaderBurger.d.ts +2 -1
  584. package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
  585. package/mobile/lib/components/Header/HeaderSubMenu.js +1 -1
  586. package/mobile/lib/components/Headline/HeadlineContent.d.ts +3 -0
  587. package/mobile/lib/components/Insurance/Insurance.js +2 -2
  588. package/mobile/lib/components/Insurance/Insurance.js.map +1 -1
  589. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  590. package/mobile/lib/components/LikeControl/LikeControl.js +1 -1
  591. package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -1
  592. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -2
  593. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  594. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  595. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +2 -2
  596. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  597. package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -1
  598. package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +2 -1
  599. package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
  600. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  601. package/mobile/lib/components/PromoTile/PromoTile.js +1 -1
  602. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  603. package/mobile/lib/components/Recommendation/Recommendation.js +8 -8
  604. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  605. package/mobile/lib/components/Recommendation/RecommendationCard.js +3 -1
  606. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  607. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +2 -3
  608. package/mobile/lib/content-page-repository/mapJSON.js.map +1 -1
  609. package/mobile/lib/content-page-repository/transformContentPage.js +1 -0
  610. package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
  611. package/mobile/lib/hooks/useExchangeRates.js.map +1 -1
  612. package/mobile/lib/icons/IconName.js +1 -1
  613. package/mobile/lib/icons/IconName.js.map +1 -1
  614. package/mobile/lib/react/IntersectionObserverTag.js +3 -4
  615. package/mobile/lib/react/IntersectionObserverTag.js.map +1 -1
  616. package/mobile/lib/react/setup-fixture.js +3 -1
  617. package/mobile/lib/react/setup-fixture.js.map +1 -1
  618. package/mobile/lib/ui-kit/BlockWrapper.d.ts +1 -1
  619. package/mobile/lib/ui-kit/BlockWrapper.js +3 -2
  620. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  621. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.d.ts +2 -1
  622. package/mobile/lib/ui-kit/Button/ArrowButton.js +3 -3
  623. package/mobile/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  624. package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
  625. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  626. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +4 -3
  627. package/mobile/lib/ui-kit/Button/LikeButton.js +3 -1
  628. package/mobile/lib/ui-kit/Button/LikeButton.js.map +1 -1
  629. package/mobile/lib/ui-kit/Button/renderArrows.d.ts +2 -1
  630. package/mobile/lib/ui-kit/Checkbox/Checkbox.js +1 -1
  631. package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  632. package/mobile/lib/ui-kit/Foldable/Foldable.js +1 -1
  633. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  634. package/mobile/lib/ui-kit/Heading/Heading.js +1 -1
  635. package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -1
  636. package/mobile/lib/ui-kit/Input/Input.js +1 -1
  637. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  638. package/mobile/lib/ui-kit/InputRange/InputRange.js +1 -1
  639. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  640. package/mobile/lib/ui-kit/SVG.d.ts +2 -3
  641. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +2 -2
  642. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  643. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  644. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  645. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  646. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  647. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  648. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
  649. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js +1 -1
  650. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
  651. package/mobile/lib/ui-kit/Tabs/Tabs.js +1 -1
  652. package/mobile/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  653. package/mobile/src/common.css +7 -7
  654. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  655. package/mobile/src/components/Blocks.spec.tsx +3 -6
  656. package/mobile/src/components/Bonus/Bonus.tsx +3 -5
  657. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
  658. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +3 -3
  659. package/mobile/src/components/Calculator/Calculator.tsx +2 -2
  660. package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +2 -2
  661. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +2 -2
  662. package/mobile/src/components/Calculator/Rate.tsx +1 -1
  663. package/mobile/src/components/Calculator/renderProposal.tsx +2 -4
  664. package/mobile/src/components/Calculator/useBonusCalculatorParams.ts +2 -2
  665. package/mobile/src/components/Calculator/useCreditCalculatorParams.ts +1 -1
  666. package/mobile/src/components/Catalog/Catalog.tsx +2 -2
  667. package/mobile/src/components/Catalog/CatalogCard.tsx +10 -7
  668. package/mobile/src/components/ComparisonTable/HeaderCell.tsx +1 -1
  669. package/mobile/src/components/ContentPage/ContentPage.page.json +2 -2
  670. package/mobile/src/components/ContentPage/ContentPage.tsx +3 -2
  671. package/mobile/src/components/ContentPage/ContentPageContext.tsx +2 -4
  672. package/mobile/src/components/ContentPage/ContentPageHead.tsx +2 -2
  673. package/mobile/src/components/ContentPage/normalizePage.ts +3 -3
  674. package/mobile/src/components/Footer/Contacts.tsx +1 -1
  675. package/mobile/src/components/Footer/MediaButton.tsx +1 -2
  676. package/mobile/src/components/Footer/Sitemap.tsx +2 -2
  677. package/mobile/src/components/Gallery/GalleryCardInner.tsx +1 -3
  678. package/mobile/src/components/Gallery/GalleryContainer.tsx +1 -1
  679. package/mobile/src/components/GracePeriod/GracePeriod.tsx +2 -2
  680. package/mobile/src/components/Header/DropdownMenu.tsx +1 -1
  681. package/mobile/src/components/Header/HeaderBurger.tsx +2 -1
  682. package/mobile/src/components/Header/HeaderSubMenu.tsx +1 -1
  683. package/mobile/src/components/Headline/HeadlineContent.ts +3 -0
  684. package/mobile/src/components/Insurance/Insurance.tsx +5 -5
  685. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
  686. package/mobile/src/components/LikeControl/LikeControl.tsx +2 -2
  687. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +2 -2
  688. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +2 -2
  689. package/mobile/src/components/ProductBlock/ProductBlock.example.json +1 -1
  690. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +2 -1
  691. package/mobile/src/components/ProductTile/ProductTile.tsx +2 -0
  692. package/mobile/src/components/PromoTile/PromoTile.example.json +1 -0
  693. package/mobile/src/components/PromoTile/PromoTile.tsx +2 -1
  694. package/mobile/src/components/Recommendation/Recommendation.tsx +20 -18
  695. package/mobile/src/components/Recommendation/RecommendationCard.tsx +20 -15
  696. package/mobile/src/components/Recommendation/RecommendationContent.ts +2 -3
  697. package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +162 -59
  698. package/mobile/src/content-page-repository/mapJSON.ts +1 -1
  699. package/mobile/src/content-page-repository/transformContentPage.ts +1 -0
  700. package/mobile/src/hooks/useExchangeRates.ts +1 -1
  701. package/mobile/src/icons/IconName.ts +1 -2
  702. package/mobile/src/react/IntersectionObserverTag.tsx +3 -8
  703. package/mobile/src/react/setup-fixture.ts +5 -2
  704. package/mobile/src/ui-kit/BlockWrapper.tsx +5 -3
  705. package/mobile/src/ui-kit/Button/ArrowButton.tsx +4 -3
  706. package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
  707. package/mobile/src/ui-kit/Button/ButtonProps.ts +4 -3
  708. package/mobile/src/ui-kit/Button/LikeButton.tsx +3 -1
  709. package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
  710. package/mobile/src/ui-kit/Foldable/Foldable.tsx +1 -1
  711. package/mobile/src/ui-kit/Heading/Heading.tsx +1 -1
  712. package/mobile/src/ui-kit/Input/Input.tsx +3 -4
  713. package/mobile/src/ui-kit/InputRange/InputRange.tsx +4 -4
  714. package/mobile/src/ui-kit/SVG.tsx +2 -2
  715. package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +3 -3
  716. package/mobile/src/ui-kit/Select/Select.tsx +1 -1
  717. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -2
  718. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +4 -4
  719. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +3 -3
  720. package/mobile/src/ui-kit/Tabs/Tabs.tsx +1 -1
  721. package/package.json +4 -2
  722. package/src/common.css +7 -7
  723. package/src/components/Accordion/Accordion.tsx +1 -1
  724. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  725. package/src/components/Blocks.spec.tsx +3 -6
  726. package/src/components/Bonus/Bonus.fixture.tsx +1 -0
  727. package/src/components/Bonus/Bonus.tsx +3 -5
  728. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
  729. package/src/components/Calculator/BonusCalculatorForm.tsx +3 -3
  730. package/src/components/Calculator/Calculator.tsx +2 -2
  731. package/src/components/Calculator/CalculatorValueBlock.tsx +2 -2
  732. package/src/components/Calculator/CreditCalculatorForm.tsx +2 -2
  733. package/src/components/Calculator/Rate.tsx +1 -1
  734. package/src/components/Calculator/renderProposal.tsx +2 -4
  735. package/src/components/Calculator/useBonusCalculatorParams.ts +2 -2
  736. package/src/components/Calculator/useCreditCalculatorParams.ts +1 -1
  737. package/src/components/Catalog/Catalog.tsx +2 -2
  738. package/src/components/Catalog/CatalogCard.tsx +10 -7
  739. package/src/components/ComparisonTable/HeaderCell.mobile.tsx +1 -1
  740. package/src/components/ContentPage/ContentPage.fixture.tsx +1 -1
  741. package/src/components/ContentPage/ContentPage.page.json +2 -2
  742. package/src/components/ContentPage/ContentPage.tsx +3 -2
  743. package/src/components/ContentPage/ContentPageContext.tsx +2 -4
  744. package/src/components/ContentPage/ContentPageHead.tsx +2 -2
  745. package/src/components/ContentPage/normalizePage.mobile.ts +3 -3
  746. package/src/components/ContentPage/normalizePage.ts +4 -4
  747. package/src/components/Footer/Contacts.tsx +1 -1
  748. package/src/components/Footer/Footer.tsx +2 -2
  749. package/src/components/Footer/MediaButton.tsx +1 -2
  750. package/src/components/Footer/Sitemap.tsx +2 -2
  751. package/src/components/Footer/SocialMedia.tsx +1 -1
  752. package/src/components/Gallery/GalleryCardInner.tsx +1 -3
  753. package/src/components/Gallery/GalleryContainer.tsx +1 -1
  754. package/src/components/GracePeriod/GracePeriod.tsx +2 -2
  755. package/src/components/Header/DropdownMenu.tsx +1 -1
  756. package/src/components/Header/Header.tsx +1 -1
  757. package/src/components/Header/HeaderBurger.tsx +2 -1
  758. package/src/components/Header/HeaderSubMenu.tsx +1 -1
  759. package/src/components/Headline/Headline.fixture.tsx +4 -4
  760. package/src/components/Headline/Headline.tsx +3 -2
  761. package/src/components/Headline/HeadlineContent.ts +3 -0
  762. package/src/components/Insurance/Insurance.tsx +5 -5
  763. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
  764. package/src/components/LikeControl/LikeControl.tsx +2 -2
  765. package/src/components/LinkDocs/LinkDocs.tsx +1 -2
  766. package/src/components/LinkDocs/LinkDocsContent.ts +2 -2
  767. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +3 -0
  768. package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +2 -2
  769. package/src/components/ProductBlock/ProductBlock.example.json +1 -1
  770. package/src/components/ProductBlock/ProductBlock.tsx +10 -2
  771. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +2 -1
  772. package/src/components/ProductBlock/ProductBlockInner.tsx +3 -2
  773. package/src/components/ProductGallery/ProductGallery.tsx +2 -2
  774. package/src/components/ProductTile/ProductTile.tsx +2 -0
  775. package/src/components/PromoTile/PromoTile.example.json +1 -0
  776. package/src/components/PromoTile/PromoTile.tsx +2 -1
  777. package/src/components/Recommendation/Recommendation.fixture.tsx +68 -16
  778. package/src/components/Recommendation/Recommendation.tsx +20 -18
  779. package/src/components/Recommendation/RecommendationCard.tsx +20 -15
  780. package/src/components/Recommendation/RecommendationContent.ts +2 -3
  781. package/src/components/TariffsTable/TariffsTable.tsx +1 -1
  782. package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +1 -0
  783. package/src/components/TextBlock/TextBlock.fixture.tsx +1 -0
  784. package/src/components/__snapshots__/Blocks.spec.tsx.snap +162 -59
  785. package/src/content-page-repository/mapJSON.ts +1 -1
  786. package/src/content-page-repository/transformContentPage.ts +1 -0
  787. package/src/hooks/useExchangeRates.ts +1 -1
  788. package/src/react/IntersectionObserverTag.tsx +3 -8
  789. package/src/react/setup-fixture.ts +5 -2
  790. package/src/ui-kit/BlockWrapper.tsx +5 -3
  791. package/src/ui-kit/Button/ArrowButton.tsx +4 -3
  792. package/src/ui-kit/Button/Button.tsx +2 -2
  793. package/src/ui-kit/Button/ButtonInner.tsx +1 -1
  794. package/src/ui-kit/Button/ButtonProps.ts +4 -3
  795. package/src/ui-kit/Button/LikeButton.tsx +3 -1
  796. package/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
  797. package/src/ui-kit/Foldable/Foldable.tsx +1 -1
  798. package/src/ui-kit/HeaderItem/HeaderItem.tsx +1 -1
  799. package/src/ui-kit/Heading/Heading.mobile.tsx +1 -1
  800. package/src/ui-kit/Input/Input.tsx +3 -4
  801. package/src/ui-kit/InputRange/InputRange.tsx +4 -4
  802. package/src/ui-kit/SVG.tsx +2 -2
  803. package/src/ui-kit/SearchBar/SearchBarInner.tsx +3 -3
  804. package/src/ui-kit/Select/Select.tsx +1 -1
  805. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -2
  806. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +4 -4
  807. package/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +3 -3
  808. package/src/ui-kit/Tabs/Tabs.tsx +1 -1
@@ -194,9 +194,10 @@
194
194
  if (entry.isIntersecting) ;
195
195
  };
196
196
 
197
- const BlockWrapper = JSX(({ anchor, className, context, children, Tag = 'section' }) => {
197
+ const BlockWrapper = JSX(({ anchor, className, context, children, tag = 'section' }) => {
198
198
  const { IntersectionObserverTag } = context;
199
- return anchor ? (jsx(IntersectionObserverTag, { Tag: Tag, className: className, observerCallback: changeHashOnObserve, observerOptions: { threshold: 1 }, anchor: anchor, children: children })) : (jsx(Tag, { className: className, children: children }));
199
+ const Tag = tag;
200
+ return anchor ? (jsx(IntersectionObserverTag, { tag: tag, className: className, observerCallback: changeHashOnObserve, observerOptions: { threshold: 1 }, anchor: anchor, children: children })) : (jsx(Tag, { className: className, children: children }));
200
201
  });
201
202
 
202
203
  const HEADING_STYLE_MAP = {
@@ -214,7 +215,7 @@
214
215
  });
215
216
 
216
217
  // Generated. Do not touch
217
- /* eslint-disable max-lines */
218
+ /* eslint-disable max-len, max-lines */
218
219
  var IconMap;
219
220
  (function (IconMap) {
220
221
  IconMap["ActualBalanceIcon"] = "ActualBalanceIcon";
@@ -537,10 +538,10 @@
537
538
  return jsx("div", { className: `${className}`, children: description });
538
539
  });
539
540
 
540
- const Headline = JSX(({ bgColorHeadline = 'transparent', align = 'left', className = '', title, description, headlineVersion = 'XL', ...rest }) => {
541
+ const Headline = JSX(({ bgColorHeadline = 'transparent', align = 'center', className = '', title, description, headlineVersion = 'XL', as, ...rest }) => {
541
542
  const STYLE_MAPS = HEADLINE_BLOCK_STYLE_MAPS[bgColorHeadline];
542
543
  const SIZE_MAPS = HEADLINE_VERSION[headlineVersion];
543
- return (jsxs(BlockWrapper, { className: `font-sans flex flex-col p-[50px] ${SIZE_MAPS.gap} ${STYLE_MAPS.background} ${className}`, ...rest, children: [title ? (jsx(Heading, { headingType: SIZE_MAPS?.headingType, as: SIZE_MAPS?.as, className: `whitespace-pre-wrap ${STYLE_MAPS.text} ${ALIGN_TEXT[align]}`, title: title })) : null, description ? (jsx(Description, { className: `${SIZE_MAPS.descriptionFont} ${STYLE_MAPS.text} ${ALIGN_TEXT[align]}`, description: description })) : null] }));
544
+ return (jsxs(BlockWrapper, { className: `font-sans flex flex-col p-[50px] ${SIZE_MAPS.gap} ${STYLE_MAPS.background} ${className}`, ...rest, children: [title ? (jsx(Heading, { headingType: SIZE_MAPS?.headingType, as: as || SIZE_MAPS?.as, className: `whitespace-pre-wrap ${STYLE_MAPS.text} ${ALIGN_TEXT[align]}`, title: title })) : null, description ? (jsx(Description, { className: `${SIZE_MAPS.descriptionFont} ${STYLE_MAPS.text} ${ALIGN_TEXT[align]}`, description: description })) : null] }));
544
545
  });
545
546
 
546
547
  const LinkDocsListItemBase = JSX(({ className, iconClassName, textClassName, suffixClassName, doc, icon }) => {
@@ -571,8 +572,8 @@
571
572
  double: 'flex gap-x-5 gap-y-[26px] flex-wrap',
572
573
  single: 'flex gap-3.5 flex-col',
573
574
  };
574
- const LinkDocs = JSX(({ context, className = '', title, description, align = 'center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', headlineVersion = 'M', ...rest }) => {
575
- return (jsxs(BlockWrapper, { className: `font-sans text-primary-text p-[50px] bg-white ${className}`, context: context, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, context: context, align: align, headlineVersion: headlineVersion }), jsx(LinkDocsList, { className: `mt-8 ${linkColumnsModeStyleMap[columnsMode]}`, columnsMode: columnsMode, documents: documents, icon: icon })] }));
575
+ const LinkDocs = JSX(({ context, className = '', title, description, align = 'center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => {
576
+ return (jsxs(BlockWrapper, { className: `font-sans text-primary-text p-[50px] bg-white ${className}`, context: context, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, context: context, align: align, headlineVersion: "M" }), jsx(LinkDocsList, { className: `mt-8 ${linkColumnsModeStyleMap[columnsMode]}`, columnsMode: columnsMode, documents: documents, icon: icon })] }));
576
577
  });
577
578
 
578
579
  const pictureTextStyleMap = {
@@ -668,7 +669,7 @@
668
669
 
669
670
  const ButtonInner = JSX((props) => {
670
671
  const { text, aboveText, appendLeft, appendRight } = props;
671
- return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? appendLeft : null, isWithText(props) ? (jsxs("div", { children: [jsx("div", { className: "text-xs text-left", children: aboveText }), jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-0.5' : 'text-base'}`, children: text })] })) : null, appendRight ? appendRight : null] }));
672
+ return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? appendLeft : null, isWithText(props) ? (jsxs("div", { children: [jsx("div", { className: "text-xs text-left", children: aboveText }), jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-0.5' : 'text-l'}`, children: text })] })) : null, appendRight ? appendRight : null] }));
672
673
  });
673
674
  const getButtonStyle = (props) => {
674
675
  const { version, aboveText, rounded } = props;
@@ -686,7 +687,7 @@
686
687
 
687
688
  const buttonStyleMap = {
688
689
  primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
689
- secondary: 'text-primary-main bg-secondary-light hover:bg-secondary-hover active:bg-secondary-active',
690
+ secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
690
691
  link: '',
691
692
  };
692
693
  const buttonDisabledStyleMap = {
@@ -701,7 +702,7 @@
701
702
  return disabled ? (jsx(DisabledButton, { rounded: rounded, ...rest, children: buttonInner })) : (jsx(RegularButton, { rounded: rounded, ...rest, children: buttonInner }));
702
703
  });
703
704
  const RegularButton = JSX(({ className = '', ariaLabel, version = 'none', rounded, href, target, children, onClick, ...rest }) => {
704
- return (jsx("a", { className: `${buttonStyle} inline-block cursor-pointer no-underline ${buttonStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className}`, href: href, target: target, onClick: onClick, "aria-label": ariaLabel, role: href ? 'link' : 'button', ...rest, children: children }));
705
+ return (jsx("a", { className: `${buttonStyle} inline-block cursor-pointer no-underline focus:border-primary-focus focus:border ${buttonStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className}`, href: href, target: target, onClick: onClick, "aria-label": ariaLabel, role: href ? 'link' : 'button', ...rest, children: children }));
705
706
  });
706
707
  const DisabledButton = JSX(({ className, children, ariaLabel, version = 'none', rounded }) => {
707
708
  return (jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: -1, className: `inline-block ${buttonStyle} ${buttonDisabledStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, children: children }));
@@ -789,10 +790,10 @@
789
790
  }
790
791
 
791
792
  const ProductBlockInner = JSX(({ className = '', context, title, headlineVersion = 'L', description, benefits, benefitsVersion = 'normal', buttons, image, items, version = 'primary', isDotted = true, textBlockClassName = '', }) => {
792
- return (jsxs("div", { className: `flex grow justify-between items-stretch ${className}`, children: [jsxs("div", { className: `flex flex-col ${textBlockClassName}`, children: [jsx(Headline, { context: context, title: title, description: description, className: `!p-0 max-w-[600px]`, bgColorHeadline: version, headlineVersion: headlineVersion }), jsxs(BaseTile, { context: context, buttons: getButtons(context, buttons), children: [benefits?.filter((_) => _.label)?.length ? (jsx("div", { className: "flex gap-6 mt-6", children: benefits.map((benefit, i) => renderBenefit$1({ benefit, version, benefitsVersion }, i)) })) : null, items?.length ? (jsx(List, { className: "mt-5 text-h6 font-light", items: items, itemClassName: "mb-[7px]", version: version, isDotted: isDotted })) : null] })] }), image?.src && jsx(Img, { className: "mt-[-50px]", image: image })] }));
793
+ return (jsxs("div", { className: `flex grow justify-between items-stretch h-full ${className}`, children: [jsxs("div", { className: `flex flex-col ${textBlockClassName}`, children: [jsx(Headline, { context: context, title: title, description: description, className: `!p-0 max-w-[600px]`, bgColorHeadline: version, headlineVersion: headlineVersion, align: "left" }), jsxs(BaseTile, { context: context, buttons: getButtons(context, buttons), children: [benefits?.filter((_) => _.label)?.length ? (jsx("div", { className: "flex gap-6 mt-6", children: benefits.map((benefit, i) => renderBenefit$1({ benefit, version, benefitsVersion }, i)) })) : null, items?.length ? (jsx(List, { className: "mt-5 text-h6 font-light", items: items, itemClassName: "mb-[7px]", version: version, isDotted: isDotted })) : null] })] }), image?.src && jsx(Img, { className: "mt-[-50px]", image: image })] }));
793
794
  });
794
795
  const getButtons = (context, buttons) => {
795
- return buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-4" })) : null;
796
+ return buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex gap-4" })) : null;
796
797
  };
797
798
 
798
799
  function renderBackwardButton(button, version, className) {
@@ -814,9 +815,10 @@
814
815
  const { context, className = '', breadcrumbs, backwardButton, version = 'primary', ...otherProps } = props;
815
816
  const router = context.useRouter();
816
817
  const { handlerDecorator } = context;
817
- return (jsxs(BlockWrapper, { context: context, className: `font-sans overflow-hidden pt-[50px] pl-[50px] pb-[50px] pr-[7.5rem] box-border min-h-[420px] ${productBlockStyleMap$1[version]} ${className}`, ...otherProps, children: [backwardButton?.text
818
+ return (jsxs(BlockWrapper, { context: context, className: `font-sans overflow-hidden pt-[50px] pl-[50px] pb-[50px] pr-[7.5rem] box-border
819
+ ${backwardButton?.text ? 'min-h-[542px] max-h-[542]' : 'min-h-[454px] max-h-[454px]'} ${productBlockStyleMap$1[version]} ${className}`, ...otherProps, children: [backwardButton?.text
818
820
  ? renderBackwardButton(useLink({ router, handlerDecorator }, backwardButton), version, 'mb-10 -mt-2.5')
819
- : null, 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 })] }));
821
+ : null, 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, className: backwardButton?.text ? 'pb-[88px]' : '' })] }));
820
822
  });
821
823
 
822
824
  const textBlockStyleMaps = {
@@ -901,7 +903,7 @@
901
903
  secondary: 'bg-primary-main text-white',
902
904
  };
903
905
  const ProductTile = JSX(({ context, className = '', title, headlineVersion = 'S', description, additionalDescription, benefits, buttons, image, version = 'primary', ...rest }) => {
904
- return (jsxs(BlockWrapper, { context: context, className: `bg-white overflow-hidden text-primary-text font-sans p-9 box-border min-h-[364px] relative justify-between grid ${className} ${productTileStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: [jsxs("div", { className: "z-[1]", children: [jsx(Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: headlineVersion }), renderBenefits$1(benefits || [], version), additionalDescription
906
+ return (jsxs(BlockWrapper, { context: context, className: `bg-white overflow-hidden text-primary-text font-sans p-9 box-border min-h-[364px] relative justify-between grid ${className} ${productTileStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: [jsxs("div", { className: "z-[1]", children: [jsx(Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: headlineVersion, bgColorHeadline: version, align: "left" }), renderBenefits$1(benefits || [], version), additionalDescription
905
907
  ? renderAdditionalDescription(additionalDescription, version)
906
908
  : null] }), buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex self-end mt-5 gap-4 z-[1]" })) : null, image?.src ? jsx(Img, { className: "absolute right-0 bottom-0", image: image }) : null] }));
907
909
  });
@@ -926,9 +928,9 @@
926
928
  return jsx("div", { className: `text-m mt-2.5 ${descStyleMap[version]}`, children: additionalDescription });
927
929
  }
928
930
 
929
- const ArrowButton = JSX(({ className, disabled, ...rest }) => (jsx(Button, { rounded: true, className: `shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${disabled
931
+ const ArrowButton = JSX(({ className, disabled, ...rest }) => (jsx(Button, { rounded: true, className: `group shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${disabled
930
932
  ? 'bg-secondary-light text-secondary-text'
931
- : 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, width: "16", height: "16", asSVG: true }) })));
933
+ : 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, imageClassName: "group-hover:text-primary-main", width: "16", height: "16", asSVG: true }) })));
932
934
 
933
935
  function renderArrows({ handler, isShown, btnClass, className = '', isDisabled = false, }) {
934
936
  return (jsxs("div", { children: [isShown[0] || isDisabled ? (jsx(ArrowButton, { className: `absolute z-10 ${btnClass[0]} ${className}`, onClick: handler[0], ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E", "data-block-control": "scroll-left", disabled: !isShown[0] })) : null, isShown[1] || isDisabled ? (jsx(ArrowButton, { className: `absolute z-10 rotate-180 ${btnClass[1]} ${className}`, onClick: handler[1], ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E", "data-block-control": "scroll-right", disabled: !isShown[1] })) : null] }));
@@ -953,7 +955,7 @@
953
955
 
954
956
  const GalleryCardInner = JSX(({ title, description, image, items, button, version, isDotted = true }) => {
955
957
  const titleStyleClasses = getTitleStyle(version);
956
- return (jsxs("div", { className: "h-full flex flex-col justify-between text-center", 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-light text-m-md-new ${title ? 'mt-2' : ''}`, children: description })) : null, items?.length ? renderItems(items, isDotted, version) : null] }), button?.text ? renderButton$1(button) : null] }));
958
+ return (jsxs("div", { className: "h-full flex flex-col justify-between text-center", 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: `text-m${title ? 'mt-2' : ''}`, children: description }) : null, items?.length ? renderItems(items, isDotted, version) : null] }), button?.text ? renderButton$1(button) : null] }));
957
959
  });
958
960
  function renderButton$1(button) {
959
961
  return (jsx(Button, { className: "mt-6 w-full", appendLeft: button.icon && jsx(Img, { image: button.icon, width: "24px", height: "24px", asSVG: true }), ...button }));
@@ -971,7 +973,7 @@
971
973
  }
972
974
 
973
975
  const GalleryContainer = JSX(({ context, title, description, cards = [], version = 'normal', activeCardIndex }) => {
974
- return (jsxs("div", { children: [jsx("div", { className: "absolute top-0 left-0 bottom-0 w-[84px] bg-gradient-to-r from-white to-transparent" }), jsxs("div", { className: "flex flex-col items-center mb-8", children: [title ? jsx(Heading, { headingType: "h2", className: "text-center", title: title }) : null, description ? (jsx("div", { className: "font-light text-md max-w-[600px] mt-2.5", children: description })) : null] }), jsx("div", { className: `flex ${cards?.length <= galleryLengthForScrollMap[version] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeCardIndex * cardWidthMap[version]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, version, context }, i)) })] }));
976
+ return (jsxs("div", { children: [jsx("div", { className: "absolute top-0 left-0 bottom-0 w-[84px] bg-gradient-to-r from-white to-transparent" }), jsxs("div", { className: "flex flex-col items-center mb-8", children: [title ? jsx(Heading, { headingType: "h2", className: "text-center", title: title }) : null, description ? (jsx("div", { className: "text-xl-light max-w-[600px] mt-2.5", children: description })) : null] }), jsx("div", { className: `flex ${cards?.length <= galleryLengthForScrollMap[version] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeCardIndex * cardWidthMap[version]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, version, context }, i)) })] }));
975
977
  });
976
978
  function renderCard({ card, version }, i) {
977
979
  return (jsx("section", { className: `box-border border-solid border border-main-stroke p-6 mx-2 flex flex-col justify-between
@@ -1074,7 +1076,7 @@
1074
1076
  right: 'text-right',
1075
1077
  };
1076
1078
  const Accordion = JSX(({ title, description, accordionItems, context, className = '', accordionAlignTitle = 'center', ...rest }) => {
1077
- return (jsxs(BlockWrapper, { context: context, className: `p-[50px] font-sans bg-white text-primary-text ${className}`, ...rest, children: [title ? (jsx(Heading, { headingType: "h4", className: `mb-2.5 ${ALIGN_TITLE[accordionAlignTitle]}`, title: title })) : null, description ? jsx("div", { className: "mb-2.5 text-base", children: description }) : null, accordionItems?.length ? (jsx("ul", { className: "list-none m-0 p-0", children: accordionItems.map((item, i) => (jsx(AccordionItem, { ...item, context: context }, `AccordionItem${i}`))) })) : null] }));
1079
+ return (jsxs(BlockWrapper, { context: context, className: `p-[50px] font-sans bg-white text-primary-text ${className}`, ...rest, children: [title ? (jsx(Heading, { headingType: "h4", className: `mb-2.5 ${ALIGN_TITLE[accordionAlignTitle]}`, title: title })) : null, description ? jsx("div", { className: "mb-2.5 text-l", children: description }) : null, accordionItems?.length ? (jsx("ul", { className: "list-none m-0 p-0", children: accordionItems.map((item, i) => (jsx(AccordionItem, { ...item, context: context }, `AccordionItem${i}`))) })) : null] }));
1078
1080
  });
1079
1081
 
1080
1082
  const BenefitsBlock = JSX(({ className = '', headingType = 'h2', title, benefitList, ...rest }) => {
@@ -1092,7 +1094,7 @@
1092
1094
  if (!benefitType) {
1093
1095
  return null;
1094
1096
  }
1095
- return description ? (jsx("div", { className: "font-light text-base text-secondary-text mt-2", children: benefitType === 'list'
1097
+ return description ? (jsx("div", { className: "text-l-light text-secondary-text mt-2", children: benefitType === 'list'
1096
1098
  ? renderListBenefit(description)
1097
1099
  : renderTextBenefit(description) })) : null;
1098
1100
  };
@@ -1104,9 +1106,9 @@
1104
1106
 
1105
1107
  const Bonus = JSX((props) => {
1106
1108
  const { className = '', title, description, bonusItems, ...rest } = props;
1107
- return (jsx(BlockWrapper, { className: `font-sans bg-white p-[50px] pb-9 ${className}`, ...rest, children: jsxs("div", { className: "container", children: [title ? jsx(Heading, { headingType: "h3", className: "text-center", title: title }) : null, description ? (jsx("div", { className: "text-md font-light text-center mt-[10px]", children: description })) : null, jsx("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems
1109
+ return (jsx(BlockWrapper, { className: `font-sans bg-white p-[50px] pb-9 ${className}`, ...rest, children: jsxs("div", { className: "container", children: [title ? jsx(Heading, { headingType: "h3", className: "text-center", title: title }) : null, description ? (jsx("div", { className: "text-xl-light text-center mt-[10px]", children: description })) : null, jsx("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems
1108
1110
  ? bonusItems.map((_, i) => {
1109
- return (jsx("div", { className: "flex-grow w-[49%] border border-gray pl-9 pt-9 pr-6 pb-6 mb-[14px] mx-[7px] even:mr-0 odd:ml-0 last:odd:mx-0", children: jsxs("div", { className: "flex justify-between w-full", children: [jsxs("div", { className: "mr-4", children: [jsx("div", { className: "text-title-sm", children: _.title }), jsx("div", { className: "text-md font-light mt-[14px] max-w-[488px]", children: _.description })] }), _.bonusCount ? (jsxs("div", { className: "relative -bottom-3 h-auto flex items-end mt-14 shrink-0", children: [jsx("span", { className: "font-mohave -tracking-[5px] text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7", children: _.bonusCount }), jsx("span", { className: "text-[44px] bg-clip-text text-transparent bg-green-to-yellow", children: _.bonusName })] })) : null] }) }, String(i)));
1111
+ return (jsx("div", { className: "flex-grow w-[49%] border border-gray pl-9 pt-9 pr-6 pb-6 mb-[14px] mx-[7px] even:mr-0 odd:ml-0 last:odd:mx-0", children: jsxs("div", { className: "flex justify-between w-full", children: [jsxs("div", { className: "mr-4", children: [jsx("div", { className: "text-h4", children: _.title }), jsx("div", { className: "text-xl-light mt-[14px] max-w-[488px]", children: _.description })] }), _.bonusCount ? (jsxs("div", { className: "relative -bottom-3 h-auto flex items-end mt-14 shrink-0", children: [jsx("span", { className: "font-mohave -tracking-[5px] text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7", children: _.bonusCount }), jsx("span", { className: "text-[44px] bg-clip-text text-transparent bg-green-to-yellow", children: _.bonusName })] })) : null] }) }, String(i)));
1110
1112
  })
1111
1113
  : null })] }) }));
1112
1114
  });
@@ -1128,13 +1130,13 @@
1128
1130
  return (jsxs(BlockWrapper, { className: `font-sans text-primary-text bg-white p-50 flex flex-col text-center ${className}`, ...rest, children: [title ? jsx(Heading, { headingType: "h3", className: "mb-[10px]", title: title }) : null, subtitle ? jsx("span", { className: "text-md font-normal", children: subtitle }) : null, bonusBenefits?.length ? (jsx("div", { className: `grid gap-1 ${getElementsColsValue(className)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] }));
1129
1131
  });
1130
1132
  const renderBonusBenefit = (bonusBenefit, i) => {
1131
- return (jsxs("div", { className: "flex flex-col items-center max-w-[292px]", children: [bonusBenefit?.icon ? (jsx(Img, { className: "h-[180px] w-[160px] min-w-[160px] min-h-[160px]", image: bonusBenefit.icon, width: "160", height: "180" })) : null, jsx("div", { children: bonusBenefit?.label ? jsx("span", { className: "title-2xs m-0", children: bonusBenefit.label }) : null })] }, String(i)));
1133
+ return (jsxs("div", { className: "flex flex-col items-center max-w-[292px]", children: [bonusBenefit?.icon ? (jsx(Img, { className: "h-[180px] w-[160px] min-w-[160px] min-h-[160px]", image: bonusBenefit.icon, width: "160", height: "180" })) : null, jsx("div", { children: bonusBenefit?.label ? jsx("span", { className: "text-h6 m-0", children: bonusBenefit.label }) : null })] }, String(i)));
1132
1134
  };
1133
1135
 
1134
1136
  const addSpacesBetweenNumbers = (number) => new Intl.NumberFormat('ru-RU', { maximumSignificantDigits: 3 }).format(number);
1135
1137
 
1136
1138
  const CalculatorValueBlock = JSX(({ title, value, postfix = '', prefix, className = '' }) => {
1137
- return (jsxs("div", { className: `mb-5 ${className}`, children: [title ? jsx("div", { className: "text-base font-light", children: title }) : null, value ? (jsxs("div", { className: "text-title font-normal", children: [prefix, " ", addSpacesBetweenNumbers(Math.round(value)), " ", postfix] })) : null] }));
1139
+ return (jsxs("div", { className: `mb-5 ${className}`, children: [title ? jsx("div", { className: "text-l-light", children: title }) : null, value ? (jsxs("div", { className: "text-h3", children: [prefix, " ", addSpacesBetweenNumbers(Math.round(value)), " ", postfix] })) : null] }));
1138
1140
  });
1139
1141
 
1140
1142
  const DEFAULT_MIN_SUM = 60000;
@@ -1174,7 +1176,7 @@
1174
1176
  const CREDIT_CALC_DEFAULT_DIR = 'credit-calculator-data';
1175
1177
  const BONUS_CALC_DEFAULT_DIR = 'bonus-calculator-data';
1176
1178
 
1177
- const Rate = JSX(({ rate, title = 'Ставка', unit, rateBlockClassName }) => (jsxs("div", { children: [jsx("div", { className: "text-sm font-light ml-3", children: title }), jsxs("div", { className: "flex justify-start", children: [jsx("span", { className: `block calc-rate-text font-mohave text-title-huge pr-6 -mt-4 ${rateBlockClassName}`, children: String(rate).replace('.', ',') }), unit ? jsx("span", { className: "calc-rate-text text-[65px] leading-[75px]", children: unit }) : ''] })] })));
1179
+ const Rate = JSX(({ rate, title = 'Ставка', unit, rateBlockClassName }) => (jsxs("div", { children: [jsx("div", { className: "text-l-light ml-3", children: title }), jsxs("div", { className: "flex justify-start", children: [jsx("span", { className: `block calc-rate-text font-mohave text-title-huge pr-6 -mt-4 ${rateBlockClassName}`, children: String(rate).replace('.', ',') }), unit ? jsx("span", { className: "calc-rate-text text-[65px] leading-[75px]", children: unit }) : ''] })] })));
1178
1180
 
1179
1181
  function renderButtonSection(context, buttons) {
1180
1182
  return buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex flex-col mt-7 gap-2" })) : null;
@@ -1202,7 +1204,7 @@
1202
1204
  onChange(max);
1203
1205
  }
1204
1206
  };
1205
- return (jsxs("div", { className: className, children: [jsxs("label", { className: "block relative", children: [title ? jsx("span", { className: "text-base text-secondary-text pl-4", children: title }) : null, jsx("input", { className: `m-0 mt-[5px] font-sans text-title w-full h-14 border border-solid border-main-stroke rounded-md
1207
+ return (jsxs("div", { className: className, children: [jsxs("label", { className: "block relative", children: [title ? jsx("span", { className: "text-l text-secondary-text pl-4", children: title }) : null, jsx("input", { className: `m-0 mt-[5px] font-sans text-h3 w-full h-14 border border-solid border-main-stroke rounded-md
1206
1208
  outline-none p-0 pl-4 box-border text-primary-text`, value: addSpacesBetweenNumbers(value), onChange: (e) => handleChange(e.target.value), onBlur: handleBlur }), jsx("div", { className: "absolute inset-x-0 bottom-[-4px] px-4 leading-[18px]", children: jsx("input", { className: "box-border w-full m-0 cursor-pointer slider", type: "range", min: min, max: max, step: step, value: value, onChange: (e) => handleChange(e.target.value), style: inputStyle }) })] }), jsx("div", { className: "flex justify-between my-3", children: items.map((item, i) => (jsx("span", { className: "text-sm leading-[14px] text-secondary-text pl-4", children: item }, String(i)))) })] }));
1207
1209
  });
1208
1210
 
@@ -1239,7 +1241,7 @@
1239
1241
  return await response.json();
1240
1242
  }
1241
1243
 
1242
- const getBonusCalculatorParams = (context, userInputParams, sourceBookDir) => {
1244
+ const useBonusCalculatorParams = (context, userInputParams, sourceBookDir) => {
1243
1245
  const { travelExpenseValue, restExpenseValue } = userInputParams;
1244
1246
  const bonusCalculatorSourceBookParams = useCalculatorParams(context.useAsyncData, sourceBookDir || BONUS_CALC_DEFAULT_DIR) || DEFAULT_BONUS_CALCULATOR_PARAMS;
1245
1247
  const [monthBonus, yearBonus] = getBonus(bonusCalculatorSourceBookParams, travelExpenseValue, restExpenseValue);
@@ -1251,14 +1253,14 @@
1251
1253
  };
1252
1254
  };
1253
1255
 
1254
- const BonusCalculatorForm = JSX(({ context, className = '', sourceBookDir, buttons }) => {
1256
+ const BonusCalculatorForm = JSX(({ context, className = '', sourceBookDir = '', buttons }) => {
1255
1257
  const [travelExpenseValue, setTravelExpenseValue] = context.useState(DEFAULT_TRAVEL_MIN_SUM);
1256
1258
  const [restExpenseValue, setRestExpenseValue] = context.useState(DEFAULT_REST_MIN_SUM);
1257
1259
  const userInputParams = {
1258
1260
  travelExpenseValue,
1259
1261
  restExpenseValue,
1260
1262
  };
1261
- const { minSumTravel, maxSumTravel, minSumOther, maxSumOther, monthBonus, yearBonus } = getBonusCalculatorParams(context, userInputParams, sourceBookDir);
1263
+ const { minSumTravel, maxSumTravel, minSumOther, maxSumOther, monthBonus, yearBonus } = useBonusCalculatorParams(context, userInputParams, sourceBookDir);
1262
1264
  return (jsxs("section", { className: className, children: [jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput('Сумма покупок в категории путешествия, ₽', {
1263
1265
  minSum: minSumTravel,
1264
1266
  maxSum: maxSumTravel,
@@ -1292,7 +1294,7 @@
1292
1294
  ${checked ? 'border-black' : 'border-main-stroke'}
1293
1295
  checked:border-primary-main m-0`, type: "checkbox", onChange: (e) => {
1294
1296
  onChange(e.target.checked);
1295
- }, checked: checked }), isRadio ? (jsx("div", { className: "left-1 w-3 h-3 rounded-full bg-primary-main hidden absolute peer-checked:block" })) : (jsx(SVG, { paths: CHECK_PATHS, className: "hidden absolute left-1 ml-px peer-checked:block", width: "11", height: "9", fill: "white", viewBox: "0 0 11 9" })), text ? jsx("span", { className: "font-sans ml-3 text-m-base cursor-pointer", children: text }) : null] }) })));
1297
+ }, checked: checked }), isRadio ? (jsx("div", { className: "left-1 w-3 h-3 rounded-full bg-primary-main hidden absolute peer-checked:block" })) : (jsx(SVG, { paths: CHECK_PATHS, className: "hidden absolute left-1 ml-px peer-checked:block", width: "11", height: "9", fill: "white", viewBox: "0 0 11 9" })), text ? jsx("span", { className: "font-sans ml-3 text-l cursor-pointer", children: text }) : null] }) })));
1296
1298
 
1297
1299
  const STEP_MONTHS = 1;
1298
1300
  function renderMonthsInput(title, params, callback) {
@@ -1327,7 +1329,7 @@
1327
1329
  }
1328
1330
  };
1329
1331
 
1330
- const getCreditCalculatorParams = (context, userInputParams, sourceBookDir) => {
1332
+ const useCreditCalculatorParams = (context, userInputParams, sourceBookDir) => {
1331
1333
  const { isInsurance, isSalaryClient, isStateEmployee, moneyValue } = userInputParams;
1332
1334
  const data = useCalculatorParams(context.useAsyncData, sourceBookDir || CREDIT_CALC_DEFAULT_DIR);
1333
1335
  const creditCalculatorSourceBookParams = data?.rows.find((_) => {
@@ -1374,7 +1376,7 @@
1374
1376
  moneyValue,
1375
1377
  monthsValue,
1376
1378
  };
1377
- const calculatorParams = getCreditCalculatorParams(context, userInputParams, sourceBookDir);
1379
+ const calculatorParams = useCreditCalculatorParams(context, userInputParams, sourceBookDir);
1378
1380
  return (jsxs("section", { className: className, children: [jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, setMoneyValue), renderMonthsInput('Срок кредита, месяцев', calculatorParams, setMonthsValue), jsxs("div", { className: "pt-7", children: [jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), jsx(Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), jsx(Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), jsx(Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "w-[351px]", children: [jsx(CalculatorValueBlock, { title: isAnnuity ? 'Ежемесячный платеж' : 'Платёж в первый месяц', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), renderPaymentTypeSelector(context, {
1379
1381
  items: paymentTypeItems,
1380
1382
  checkedItem: isAnnuity ? ANNUITY : DIFFERENTIAL,
@@ -1494,8 +1496,8 @@
1494
1496
  const btnClassName = isActiveBtn
1495
1497
  ? 'h-[88px] w-[387px] min-w-[387px] p-5 border-none bg-primary-main text-white'
1496
1498
  : `h-[77px] w-[322px] min-w-[322px] px-5 py-4 ease-in duration-300 bg-white text-primary-text`;
1497
- const btnTitleClassName = isActiveBtn ? 'text-md-new mb-1.5' : `text-base mb-[3px]`;
1498
- const btnDescClassName = isActiveBtn ? 'text-base text-white' : `text-m-md`;
1499
+ const btnTitleClassName = isActiveBtn ? 'text-xl mb-1.5' : `text-l mb-[3px]`;
1500
+ const btnDescClassName = isActiveBtn ? 'text-l text-white' : `text-m-md`;
1499
1501
  const iconClassName = isActiveBtn ? '' : `text-primary-main`;
1500
1502
  return (jsxs("button", { type: "button", onClick: onClick, "aria-label": tab?.title, className: `box-border font-sans relative border border-main-stroke cursor-pointer text-left border-b-0 flex
1501
1503
  ${btnClassName}`, children: [jsx(Img, { className: `h-[24px] w-[24px] min-w-[24px] min-h-[24px] mr-4 ${iconClassName}`, image: { ...tab?.icon, iconVersion: isActiveBtn ? 'white' : 'normal' }, width: "24", height: "24", asSVG: true }), jsxs("div", { className: "border-0", children: [jsx("div", { className: `font-medium ${btnTitleClassName}`, children: tab?.title }), jsx("div", { className: `text-secondary-text ${btnDescClassName}`, children: tab.description })] })] }, String(i)));
@@ -1514,7 +1516,7 @@
1514
1516
  white: 'bg-white',
1515
1517
  };
1516
1518
  const CatalogCard = JSX(({ className = '', title, description, image, price, button, colors }) => {
1517
- return (jsxs("section", { className: `border border-solid box-border p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? jsx(Img, { className: "mb-5", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h5", className: "text-left mb-1.5", title: title })) : null, description ? jsx("div", { className: "text-m-md text-left mb-4", children: description }) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-m-md text-secondary-text", children: ["\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: ", colors.map(renderColorOption)] })) : null, price ? jsxs("div", { className: "text-title-sm text-left", children: [price, "\u00A0\u20BD"] }) : null, button?.text ? jsx(Button, { className: "mt-6 w-full", ...button }) : null] }));
1519
+ return (jsxs("section", { className: `border border-solid box-border p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? jsx(Img, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? (jsx("div", { className: "text-m-md text-left mb-4 font-light", children: description })) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-m-md text-secondary-text font-light", children: [jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, button?.text ? jsx(Button, { className: "mt-5 w-full", ...button }) : null] }));
1518
1520
  });
1519
1521
  const renderColorOption = (color, i) => (jsx("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
1520
1522
 
@@ -1523,7 +1525,7 @@
1523
1525
  const CARD_SHIFT$1 = 430;
1524
1526
  const Catalog = JSX(({ context, cards = [], className = '', title, description, ...rest }) => {
1525
1527
  const [activeCardIndex, setActiveCardIndex] = context.useState(0);
1526
- return (jsxs(BlockWrapper, { context: context, className: `bg-white relative font-sans p-9 overflow-hidden text-center ${className}`, ...rest, children: [title ? jsx(Heading, { headingType: "h2", className: "mb-6", title: title }) : null, description ? jsx(Description, { className: "mb-6", description: description }) : null, jsx("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeCardIndex * CARD_SHIFT$1}px)` }, role: "list", children: cards?.length ? cards.map(renderCatalogCard(context)) : null }), renderNavButtons$1({
1528
+ return (jsxs(BlockWrapper, { context: context, className: `bg-white relative font-sans p-12 overflow-hidden text-center ${className}`, ...rest, children: [title ? jsx(Heading, { headingType: "h3", className: "mb-6", title: title }) : null, description ? jsx(Description, { className: "mb-6", description: description }) : null, jsx("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeCardIndex * CARD_SHIFT$1}px)` }, role: "list", children: cards?.length ? cards.map(renderCatalogCard(context)) : null }), renderNavButtons$1({
1527
1529
  cardsCount: cards.length,
1528
1530
  activeCardIndex,
1529
1531
  setActiveCardIndex,
@@ -1762,7 +1764,7 @@
1762
1764
  const validInputValue = e.target.validity.valid ? e.target.value : value;
1763
1765
  onChange(validInputValue);
1764
1766
  };
1765
- return (jsx("input", { className: className, id: id, name: name || id, type: type, pattern: pattern, placeholder: placeholder, value: value, onChange: (e) => handleChange(e) }));
1767
+ return (jsx("input", { className: className, id: id, name: name || id, type: type, pattern: pattern, placeholder: placeholder, value: value, onChange: handleChange }));
1766
1768
  });
1767
1769
 
1768
1770
  const Select = JSX(({ className = '', id, name, children, value, onChange }) => {
@@ -1875,12 +1877,12 @@
1875
1877
  const SearchBarInner = JSX(({ className, context, isMobile = false }) => {
1876
1878
  const { term, setTerm } = context.useSearch();
1877
1879
  const LoupeIconClassName = isMobile ? 'w-[20px] h-[20px]' : 'w-[24px] h-[24px]';
1878
- const SearchBarLabelClassName = isMobile ? 'font-normal text-sm' : 'font-light text-base';
1880
+ const SearchBarLabelClassName = isMobile ? 'font-normal text-sm' : 'text-l-light';
1879
1881
  const SearchBarInputClassName = isMobile
1880
1882
  ? ' placeholder-transparent font-normal'
1881
1883
  : 'font-light h-full';
1882
1884
  const inputPlaceholder = isMobile ? 'some search' : undefined;
1883
- return (jsxs("form", { className: `font-sans 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: LoupeIconClassName, children: jsx(Img, { image: "LoupeIcon", width: "24", height: "24" }) }), term ? null : (jsx("label", { htmlFor: "search-bar-input", className: `text-secondary-text ${SearchBarLabelClassName}`, 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 text-base text-black border border-solid rounded box-border
1885
+ return (jsxs("form", { className: `font-sans 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: LoupeIconClassName, children: jsx(Img, { image: "LoupeIcon", width: "24", height: "24" }) }), term ? null : (jsx("label", { htmlFor: "search-bar-input", className: `text-secondary-text ${SearchBarLabelClassName}`, 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 text-l text-black border border-solid rounded box-border
1884
1886
  outline-none pr-[6%] border-main-divider focus:border-primary-text ${SearchBarInputClassName}`, value: term, onChange: (e) => setTerm(e.target.value), type: "text", name: "search-bar-input", placeholder: inputPlaceholder }), isMobile ? (jsx("button", { className: "visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none", onClick: (e) => {
1885
1887
  e.preventDefault();
1886
1888
  setTerm('');
@@ -1905,7 +1907,7 @@
1905
1907
  });
1906
1908
  const renderContact = (item, index) => {
1907
1909
  const { type, text, description } = item;
1908
- 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)));
1910
+ return (jsxs("div", { className: "mb-4", children: [jsx("div", { children: renderText(type, text) }), jsx("div", { className: "mt-1 font-sans text-s-light text-secondary-text", children: description })] }, String(index)));
1909
1911
  };
1910
1912
  const renderText = (type, text = '') => {
1911
1913
  switch (type) {
@@ -1955,9 +1957,9 @@
1955
1957
  });
1956
1958
  const renderColumn = (c, index, { router, handlerDecorator }) => {
1957
1959
  const { text, href, items, target } = c;
1958
- 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)));
1960
+ 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-l 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)));
1959
1961
  };
1960
- 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}` })));
1962
+ const ColumnItem = JSX(({ text, href, target, index }) => (jsx("a", { className: "block font-sans text-l-light text-secondary-text hover:text-primary-main no-underline", href: href, target: target || '_self', children: text || `Раздел ${index}` })));
1961
1963
 
1962
1964
  const ICONS_MAP = [
1963
1965
  {
@@ -1995,14 +1997,13 @@
1995
1997
  ? 'bg-secondary-light hover:bg-secondary-hover'
1996
1998
  : 'border-main-divider border-solid border-[1px] hover:bg-primary-main';
1997
1999
  const isPrimary = version === 'primary';
1998
- const imageClassName = isPrimary ? 'group-hover:text-white' : '';
1999
- return (jsx("a", { className: `flex items-center justify-center rounded-md w-14 h-14 group box-border ${classes} ${isPrimary ? 'hover:text-black' : ''}`, href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", children: icon ? (jsx(Img, { image: icon, imageClassName: imageClassName, width: "24", height: "24", asSVG: true })) : null }));
2000
+ return (jsx("a", { className: `flex items-center justify-center rounded-md w-14 h-14 group box-border ${classes} ${isPrimary ? 'hover:text-black' : ''}`, href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", children: icon ? (jsx(Img, { image: icon, imageClassName: "group-hover:text-white", width: "24", height: "24", asSVG: true })) : null }));
2000
2001
  });
2001
2002
 
2002
2003
  const SocialMedia = JSX(({ className = '', media, version, context, children }) => {
2003
2004
  const router = context.useRouter();
2004
2005
  const { handlerDecorator } = context;
2005
- return (jsxs("div", { children: [jsx("div", { className: `flex gap-2.5 ${className}`, children: media?.map((_, index) => (jsx(MediaButton, { version: version, ...useLink({ router, handlerDecorator }, _) }, String(index)))) }), jsx("span", { className: "font-light text-sm text-secondary-text", children: children })] }));
2006
+ return (jsxs("div", { children: [jsx("div", { className: `flex gap-2.5 ${className}`, children: media?.map((_, index) => (jsx(MediaButton, { version: version, ...useLink({ router, handlerDecorator }, _) }, String(index)))) }), jsx("span", { className: "text-s-light text-secondary-text", children: children })] }));
2006
2007
  });
2007
2008
 
2008
2009
  const TextInformationLink = JSX(({ className = '', index, text, href, target, onClick }) => (jsx("a", { className: `font-sans 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}` })));
@@ -2015,11 +2016,11 @@
2015
2016
 
2016
2017
  const LEFT_COL_WIDTH_FULL_HD = 'w-[204px]';
2017
2018
  const Footer = JSX(({ className, documents, relatedEnterprises, contacts, socialMedia, mobileApps, topItems, context, ...rest }) => {
2018
- return (jsxs(BlockWrapper, { Tag: "footer", context: context, className: `p-9 bg-white ${className || ''}`, ...rest, children: [jsxs("div", { className: "flex items-stretch gap-[54px] pb-[30px] xl:gap-8", children: [jsx(Logo, { className: LEFT_COL_WIDTH_FULL_HD }), jsx(SearchBar, { context: context, className: "grow" })] }), jsxs("div", { className: "flex items-stretch gap-[54px] xl:gap-8", children: [jsxs("div", { className: `${LEFT_COL_WIDTH_FULL_HD} flex flex-col shrink-0 overflow-hidden`, children: [jsx(Contacts, { items: contacts, context: context, hasButton: true }), jsx(SocialMedia, { media: socialMedia, context: context, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), jsx(SocialMedia, { className: "mt-6", media: mobileApps, context: context, children: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" })] }), jsx(Sitemap, { className: "pt-[3px]", context: context, items: topItems })] }), jsx(HorizontalNavigation, { className: "mt-[98px]", links: relatedEnterprises, context: context }), jsx(TextInformation, { links: documents, context: context })] }));
2019
+ return (jsxs(BlockWrapper, { tag: "footer", context: context, className: `p-9 bg-white ${className || ''}`, ...rest, children: [jsxs("div", { className: "flex items-stretch gap-[54px] pb-[30px] xl:gap-8", children: [jsx(Logo, { className: LEFT_COL_WIDTH_FULL_HD }), jsx(SearchBar, { context: context, className: "grow" })] }), jsxs("div", { className: "flex items-stretch gap-[54px] xl:gap-8", children: [jsxs("div", { className: `${LEFT_COL_WIDTH_FULL_HD} flex flex-col shrink-0 overflow-hidden`, children: [jsx(Contacts, { items: contacts, context: context, hasButton: true }), jsx(SocialMedia, { media: socialMedia, context: context, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), jsx(SocialMedia, { className: "mt-6", media: mobileApps, context: context, children: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" })] }), jsx(Sitemap, { className: "pt-[3px]", context: context, items: topItems })] }), jsx(HorizontalNavigation, { className: "mt-[98px]", links: relatedEnterprises, context: context }), jsx(TextInformation, { links: documents, context: context })] }));
2019
2020
  });
2020
2021
 
2021
2022
  const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => {
2022
- return (jsxs(BlockWrapper, { className: `font-sans bg-white p-[50px] ${className}`, ...rest, children: [jsx(Heading, { headingType: "h3", className: "text-center", title: title }), jsx("div", { className: "font-light text-base-md text-center mt-3", children: description }), calendar ? renderCalendar(calendar) : null] }));
2023
+ return (jsxs(BlockWrapper, { className: `font-sans bg-white p-[50px] ${className}`, ...rest, children: [jsx(Heading, { headingType: "h3", className: "text-center", title: title }), jsx("div", { className: "text-l-light-md text-center mt-3", children: description }), calendar ? renderCalendar(calendar) : null] }));
2023
2024
  });
2024
2025
  const renderCalendar = (calendar) => {
2025
2026
  const colCount = calendar.reduce((accumulator, currentValue) => currentValue?.month?.length ? accumulator + currentValue.month.length : accumulator, 0) || 1;
@@ -2030,7 +2031,7 @@
2030
2031
  ..._,
2031
2032
  flexBasis: `${_.month.length * colSize}%`,
2032
2033
  }));
2033
- return (jsxs("div", { className: "w-full flex flex-col justify-center mt-[54px]", children: [jsx("div", { className: "flex w-full mb-3 font-light text-m-title-md text-center", children: mappedCalendar.map((_) => renderMonthNames(_, colSize)) }), jsx("div", { className: "flex w-full", children: mappedCalendar.map((_, ind) => (jsxs("div", { className: "pr-[11px] mr-3 border-r border-main-divider last:border-r-0 last:pr-0 last:mr-0", style: { flexBasis: _.flexBasis }, children: [jsx("div", { className: "flex", children: renderMonthImages(_) }), jsxs("div", { className: "font-light text-sm text-primary-text mt-3", children: [jsx("span", { children: _.text }), "\u2009", jsx("span", { className: "text-primary-main", children: _.greenText })] })] }, `monthItem-${ind}`))) })] }));
2034
+ return (jsxs("div", { className: "w-full flex flex-col justify-center mt-[54px]", children: [jsx("div", { className: "flex w-full mb-3 font-light text-h6 text-center", children: mappedCalendar.map((_) => renderMonthNames(_, colSize)) }), jsx("div", { className: "flex w-full", children: mappedCalendar.map((_, ind) => (jsxs("div", { className: "pr-[11px] mr-3 border-r border-main-divider last:border-r-0 last:pr-0 last:mr-0", style: { flexBasis: _.flexBasis }, children: [jsx("div", { className: "flex", children: renderMonthImages(_) }), jsxs("div", { className: "font-light text-sm text-primary-text mt-3", children: [jsx("span", { children: _.text }), "\u2009", jsx("span", { className: "text-primary-main", children: _.greenText })] })] }, `monthItem-${ind}`))) })] }));
2034
2035
  };
2035
2036
  const renderMonthNames = (item, colSize) => item.month.map((_, i) => (jsx("div", { style: { flexBasis: `${colSize}%` }, children: _.text }, `monthName-${i}`)));
2036
2037
  const renderMonthImages = (item) => item.month.map((_) => _.image?.src ? (jsx("div", { className: "h-[207px] border-r-[1px] pr-3 mr-3 border-main-divider last:border-r-0 last:pr-0 last:mr-0", children: jsx(Img, { image: _.image, className: "flex" }) }, `monthImage-${_.image.src}`)) : null);
@@ -2143,7 +2144,7 @@
2143
2144
  : undefined;
2144
2145
  };
2145
2146
 
2146
- const TEXT_CLASSES$1 = 'font-sans font-light text-base';
2147
+ const TEXT_CLASSES$1 = 'font-sans text-l-light';
2147
2148
  const BORDER_CLASSES = 'absolute left-0 -bottom-3 w-full h-[2px]';
2148
2149
  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] })));
2149
2150
  const getTextClasses$1 = (bgColor, active = false) => {
@@ -2172,7 +2173,7 @@
2172
2173
  });
2173
2174
  const renderDotsSubMenuItems = ({ menuItems, router, handlerDecorator, activeSubItem, }) => {
2174
2175
  const isActive = (item) => item === activeSubItem;
2175
- return menuItems?.map((_) => (jsx("a", { ...useLink({ router, handlerDecorator }, _), className: `text-base font-light pb-4 hover:text-primary-main ${isActive(_) ? 'text-primary-main' : ''}`, children: _.text }, _.href)));
2176
+ return menuItems?.map((_) => (jsx("a", { ...useLink({ router, handlerDecorator }, _), className: `text-l-light pb-4 hover:text-primary-main ${isActive(_) ? 'text-primary-main' : ''}`, children: _.text }, _.href)));
2176
2177
  };
2177
2178
  const renderDot = (bgColor, i) => (jsx("div", { className: `w-[3px] h-[3px] rounded mr-1 ${DOT_BG_COLORS_MAP[bgColor]}` }, String(i)));
2178
2179
 
@@ -2196,7 +2197,7 @@
2196
2197
  setVisibleItemsCount((prev) => Math.max(prev, itemIndex + 1));
2197
2198
  }
2198
2199
  };
2199
- return (jsxs("nav", { className: "relative mt-5", children: [jsx("div", { className: "overflow-hidden whitespace-nowrap mr-52 pb-3", children: subItems.map((_, i) => (jsx(IntersectionObserverTag, { Tag: "span", observerCallback: observerCallback(i), observerOptions: { threshold: 1 }, children: jsx(HeaderItem, { className: `mr-8 ${visibleItemsCount - 1 < i ? 'invisible' : ''}`, active: _ === activeSubItem, ...useLink({ router, handlerDecorator }, _), bgColor: bgColor }) }, String(i)))) }), dropDownMenuItems.length ? (jsx(DropdownMenu, { context: context, activeSubItem: activeSubItem, menuVisible: menuVisible, toggleMenu: toggleMenu, menuItems: dropDownMenuItems, bgColor: bgColor })) : null] }));
2200
+ return (jsxs("nav", { className: "relative mt-5", children: [jsx("div", { className: "overflow-hidden whitespace-nowrap mr-52 pb-3", children: subItems.map((_, i) => (jsx(IntersectionObserverTag, { tag: "span", observerCallback: observerCallback(i), observerOptions: { threshold: 1 }, children: jsx(HeaderItem, { className: `mr-8 ${visibleItemsCount - 1 < i ? 'invisible' : ''}`, active: _ === activeSubItem, ...useLink({ router, handlerDecorator }, _), bgColor: bgColor }) }, String(i)))) }), dropDownMenuItems.length ? (jsx(DropdownMenu, { context: context, activeSubItem: activeSubItem, menuVisible: menuVisible, toggleMenu: toggleMenu, menuItems: dropDownMenuItems, bgColor: bgColor })) : null] }));
2200
2201
  });
2201
2202
 
2202
2203
  const BORDER_COLORS = {
@@ -2210,11 +2211,11 @@
2210
2211
  const mergedItems = mergeTopItems(sitemap.topItems, topItems);
2211
2212
  const activeTopItem = mergedItems.find(isTopItemActive(router));
2212
2213
  const topMenu = mergedItems.map((_, i) => (jsx(TopItem, { active: _ === activeTopItem, ...useLink({ router, handlerDecorator }, _), "aria-label": _.text, bgColor: bgColor }, String(i))));
2213
- return (jsx(BlockWrapper, { Tag: "header", context: context, className: `pt-6 pb-5 px-20 ${bgColor} ${className}`, ...rest, children: jsxs("div", { className: "container", children: [jsxs("div", { className: "flex items-center", children: [jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topMenu, jsx(HeaderSecondaryMenu, { context: context, className: "ml-auto", defaultLocation: defaultLocation, bgColor: bgColor })] }), jsx("div", { className: `mt-6 h-[1px] ${BORDER_COLORS[bgColor]}` }), showSubMenu && activeTopItem?.items?.length ? (jsx(HeaderSubMenu, { context: context, subItems: activeTopItem.items, bgColor: bgColor })) : null] }) }));
2214
+ return (jsx(BlockWrapper, { tag: "header", context: context, className: `pt-6 pb-5 px-20 ${bgColor} ${className}`, ...rest, children: jsxs("div", { className: "container", children: [jsxs("div", { className: "flex items-center", children: [jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topMenu, jsx(HeaderSecondaryMenu, { context: context, className: "ml-auto", defaultLocation: defaultLocation, bgColor: bgColor })] }), jsx("div", { className: `mt-6 h-[1px] ${BORDER_COLORS[bgColor]}` }), showSubMenu && activeTopItem?.items?.length ? (jsx(HeaderSubMenu, { context: context, subItems: activeTopItem.items, bgColor: bgColor })) : null] }) }));
2214
2215
  });
2215
2216
 
2216
2217
  const Insurance = JSX(({ context, className = '', title, description, image, benefits, sum, monthLimit, ...rest }) => {
2217
- return (jsxs(BlockWrapper, { className: `px-[100px] py-[50px] bg-white text-primary-text font-sans ${className}`, context: context, ...rest, children: [jsx(Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center" }), jsx("div", { children: jsxs("div", { className: "mt-5 mx-auto flex justify-center gap-[122px] mt-[30px]", children: [image?.src ? jsx(Img, { image: image }) : null, jsxs("div", { className: "w-[558px] m-auto", children: [benefits ? (jsx("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit) })) : null, renderInsuranceSumMonth(sum, monthLimit)] })] }) })] }));
2218
+ return (jsxs(BlockWrapper, { className: `px-[100px] py-[50px] bg-white text-primary-text font-sans ${className}`, context: context, ...rest, children: [jsx(Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center" }), jsx("div", { children: jsxs("div", { className: "mx-auto flex justify-center gap-[122px] mt-[30px]", children: [image?.src ? jsx(Img, { image: image }) : null, jsxs("div", { className: "w-[558px] m-auto", children: [benefits ? (jsx("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit) })) : null, renderInsuranceSumMonth(sum, monthLimit)] })] }) })] }));
2218
2219
  });
2219
2220
  function renderBenefit(benefit, i) {
2220
2221
  return (jsxs("div", { className: "flex items-center gap-4", children: [benefit?.icon ? (jsx(Img, { className: "w-12 h-12 min-w-12 p-3 rounded-full bg-secondary-light", image: benefit.icon, asSVG: true })) : null, jsxs("div", { children: [benefit?.label ? jsx("div", { className: "text-h6", children: benefit.label }) : null, benefit?.description ? (jsx("div", { className: "mt-0.5 text-secondary-text text-m", children: benefit.description })) : null] })] }, String(i)));
@@ -2224,7 +2225,7 @@
2224
2225
  ? renderValueBlock$1('Ежемесячный лимит:', monthLimit, Boolean(sum))
2225
2226
  : null] })) : null;
2226
2227
  }
2227
- function renderValueBlock$1(title, sum, isAnotherBlock) {
2228
+ function renderValueBlock$1(title, sum = 0, isAnotherBlock = false) {
2228
2229
  const widthStyle = isAnotherBlock ? 'w-fit' : 'w-full';
2229
2230
  return (jsxs("div", { className: `flex justify-between items-center gap-2 w-full ${widthStyle}`, children: [jsx("span", { className: "text-secondary-text text-l-light", children: title }), jsxs("span", { className: "text-primary-main text-h6", children: [addSpacesBetweenNumbers(sum), " \u20BD"] })] }));
2230
2231
  }
@@ -2381,7 +2382,7 @@
2381
2382
  initialState: isUnfolded,
2382
2383
  });
2383
2384
  const buttonClassName = foldButtonClasses ||
2384
- 'border-none bg-primary-main px-0 py-[26px] mb-[1px] w-full font-sans text-white text-base flex justify-center cursor-pointer';
2385
+ 'border-none bg-primary-main px-0 py-[26px] mb-[1px] w-full font-sans text-white text-l flex justify-center cursor-pointer';
2385
2386
  const getFoldButtonLabel = isActive ? 'Скрыть' : foldButtonLabel;
2386
2387
  return blocks ? (jsxs("div", { children: [renderBlocks(blocks, render, { blocksToHide, isActive, containerClasses }), hiddenBlocksNum ? (jsxs("button", { className: buttonClassName, "data-theme": foldButtonDataTheme, onClick: handleToggle, children: [jsx("span", { className: "pr-3", children: getFoldButtonLabel }), icon ? jsx(Icon, { name: icon, iconVersion: "white", width: "20", height: "20", asSVG: true }) : null] })) : null] })) : null;
2387
2388
  });
@@ -2466,8 +2467,8 @@
2466
2467
  : `min-w-[277px] px-0 pt-4 pb-[23px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10
2467
2468
  ${productSlideStyleMap[version]}`;
2468
2469
  const btnTitleClassName = isActiveBtn
2469
- ? 'text-primary-text text-title-2xs'
2470
- : `text-base ${productBlockStyleMap[version].title}`;
2470
+ ? 'text-primary-text text-h6'
2471
+ : `text-l ${productBlockStyleMap[version].title}`;
2471
2472
  const btnDescClassName = isActiveBtn
2472
2473
  ? 'text-secondary-text text-m-title-xs mt-2.5'
2473
2474
  : `text-m-md mt-1.5 ${productBlockStyleMap[version].text}`;
@@ -2482,7 +2483,7 @@
2482
2483
  secondary: 'bg-primary-main text-white',
2483
2484
  };
2484
2485
  const PromoTile = JSX(({ className = '', context, title = 'Акции и спецпредложения', date, description, buttons = [], version = 'primary', ...rest }) => {
2485
- return (jsx(BlockWrapper, { context: context, className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${promoTileStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: jsx(BaseTile, { context: context, title: title ? (jsx("div", { children: jsx(Headline, { context: context, title: title, className: `!p-0 max-w-[600px]`, headlineVersion: getTileHeadingType(className), bgColorHeadline: version }) })) : null, buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, children: jsxs("div", { className: "mt-1.5", children: [date ? jsx("div", { className: "text-sm mb-2", children: formatDate(date) }) : null, jsx("div", { className: "text-base", children: description })] }) }) }));
2486
+ return (jsx(BlockWrapper, { context: context, className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${promoTileStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: jsx(BaseTile, { context: context, title: title ? (jsx("div", { children: jsx(Headline, { context: context, title: title, className: `!p-0 max-w-[600px]`, headlineVersion: getTileHeadingType(className), bgColorHeadline: version, align: "left" }) })) : null, buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, children: jsxs("div", { className: "mt-1.5", children: [date ? jsx("div", { className: "text-sm mb-2", children: formatDate(date) }) : null, jsx("div", { className: "text-l", children: description })] }) }) }));
2486
2487
  });
2487
2488
  function formatDate(date) {
2488
2489
  const dateObj = new Date(date);
@@ -2495,7 +2496,9 @@
2495
2496
  }
2496
2497
 
2497
2498
  const RecommendationCard = JSX(({ context, className = '', title, description, items, image, version, socialMedia }) => {
2498
- return (jsx("section", { className: `border border-solid box-border p-[30px] min-w-[524px] ${className}`, role: "listitem", children: jsxs(BaseTile, { context: context, className: "flex justify-between", title: title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "font-normal mb-3.5", title: title })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description ? jsx(Description, { className: "text-left", description: description }) : null, items?.length ? (jsx(List, { className: "text-md text-left font-light flex flex-col flex-1 gap-2", items: items, version: version })) : null, jsx(SocialMedia, { className: "pt-[42px] pb-0", media: socialMedia, version: version, context: context })] }) }));
2499
+ const tileTitle = title ? (jsx(Heading, { headingType: "h5", as: "h3", className: "font-normal mb-3.5 z-10", title: title })) : null;
2500
+ const tileImage = image?.src ? (jsx(Img, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
2501
+ return (jsx("section", { className: `relative overflow-hidden text-left border border-solid box-border p-7 min-w-[524px] min-h-[218px] ${className}`, role: "listitem", children: jsxs(BaseTile, { context: context, className: "flex justify-between", title: tileTitle, image: tileImage, children: [description ? jsx(Description, { className: "mb-2", description: description }) : null, items?.length ? (jsx(List, { className: "text-md font-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items, version: version })) : null, socialMedia ? (jsx(SocialMedia, { className: "pt-[42px] pb-0", media: socialMedia, version: version, context: context })) : null] }) }));
2499
2502
  });
2500
2503
 
2501
2504
  const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
@@ -2505,13 +2508,13 @@
2505
2508
  const [activeCardIndex, setActiveCardIndex] = context.useState(0);
2506
2509
  const blockClassName = version === 'secondary' ? 'bg-primary-main text-white' : 'bg-white text-primary-text';
2507
2510
  const cardClassName = version === 'secondary' ? 'border-white/50' : 'border-main-stroke';
2508
- return (jsxs(BlockWrapper, { context: context, className: `relative font-sans p-9 overflow-hidden text-center ${blockClassName} ${className}`, ...rest, 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
2509
- ? recommendations.map(renderRecommendationCard({ context, version, className: cardClassName }))
2510
- : null }), renderNavButtons({
2511
- cardsCount: recommendations.length,
2512
- activeCardIndex,
2513
- setActiveCardIndex,
2514
- }), jsx("div", { className: `${BLUR_BLOCK_CLASSES} left-0 ${version === 'secondary' ? 'bg-opacity-from-main' : 'bg-opacity-from-white'}` }), jsx("div", { className: `${BLUR_BLOCK_CLASSES} right-0 ${version === 'secondary' ? 'bg-opacity-to-main' : 'bg-opacity-to-white'}` })] }));
2511
+ return (jsxs(BlockWrapper, { context: context, className: `relative font-sans p-9 overflow-hidden text-center ${blockClassName} ${className}`, ...rest, children: [title ? jsx(Heading, { headingType: "h3", className: "mb-6", title: title }) : null, jsxs("div", { children: [jsx("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeCardIndex * CARD_SHIFT}px)` }, role: "list", children: recommendations?.length
2512
+ ? recommendations.map(renderRecommendationCard({ context, version, className: cardClassName }))
2513
+ : null }), renderNavButtons({
2514
+ cardsCount: recommendations.length,
2515
+ activeCardIndex,
2516
+ setActiveCardIndex,
2517
+ })] }), jsx("div", { className: `${BLUR_BLOCK_CLASSES} left-0 ${version === 'secondary' ? 'bg-opacity-from-main' : 'bg-opacity-from-white'}` }), jsx("div", { className: `${BLUR_BLOCK_CLASSES} right-0 ${version === 'secondary' ? 'bg-opacity-to-main' : 'bg-opacity-to-white'}` })] }));
2515
2518
  });
2516
2519
  const renderRecommendationCard = ({ context, version, className }) => (card, i) => {
2517
2520
  return (jsx(RecommendationCard, { context: context, ...card, version: version, className: className }, String(i)));
@@ -2526,7 +2529,7 @@
2526
2529
  handler: [handlePrevClick, handleNextClick],
2527
2530
  isShown: [showPrevButton, showNextButton],
2528
2531
  btnClass: ['left-8', 'right-8'],
2529
- className: 'top-1/2 mt-6',
2532
+ className: 'top-1/2 mt-3',
2530
2533
  }) }));
2531
2534
  };
2532
2535
 
@@ -2603,7 +2606,7 @@
2603
2606
  setActiveCardIndex,
2604
2607
  });
2605
2608
  const foldableBlocks = rowData?.map((row, i, { length }) => (jsx(TariffsTableRow, { row: row, isLastRow: i + 1 === length, activeCardIndex: activeCardIndex }, String(i))));
2606
- return (jsxs(BlockWrapper, { context: context, className: `bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${className || ''}`, ...rest, children: [title ? (jsx(Heading, { headingType: "h2", className: `text-center ${description ? 'mb-2.5' : 'mb-9'}`, title: title })) : null, description ? jsx("div", { className: "mb-9 text-center text-m-base", children: description }) : null, rowData?.length ? (jsx(Foldable, { blocks: foldableBlocks, hiddenBlocksNum: hiddenRowsNum, context: context, render: (children) => (jsx(Wrapper, { tableArrowScrollControlProps: tableArrowScrollControlProps, children: children })), foldButtonLabel: "\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C" })) : null] }));
2609
+ return (jsxs(BlockWrapper, { context: context, className: `bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${className || ''}`, ...rest, children: [title ? (jsx(Heading, { headingType: "h2", className: `text-center ${description ? 'mb-2.5' : 'mb-9'}`, title: title })) : null, description ? jsx("div", { className: "mb-9 text-center text-l", children: description }) : null, rowData?.length ? (jsx(Foldable, { blocks: foldableBlocks, hiddenBlocksNum: hiddenRowsNum, context: context, render: (children) => (jsx(Wrapper, { tableArrowScrollControlProps: tableArrowScrollControlProps, children: children })), foldButtonLabel: "\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C" })) : null] }));
2607
2610
  });
2608
2611
  const getColData = (columns) => columns?.map(({ data }) => data) || [];
2609
2612
  const getRowData = (rowHeaders, colData) => rowHeaders?.map((header, i) => ({
@@ -2659,16 +2662,19 @@
2659
2662
  strokeLinejoin: 'round',
2660
2663
  strokeWidth: '1.5',
2661
2664
  };
2662
- return (jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", children: [jsx("path", { ...params, strokeMiterlimit: "10", d: "M21.48 11.95c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1 6.1M7.48 18.35l3.1 2.4c.4.4 1.3.6 1.9.6h3.8c1.2 0 2.5-.9 2.8-2.1l1.24-3.77" }), jsx("path", { ...params, d: "M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z" })] }));
2665
+ return (jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", children: [jsx("path", { ...params, strokeMiterlimit: "10",
2666
+ /* eslint-disable max-len */
2667
+ d: "M21.48 11.95c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1 6.1M7.48 18.35l3.1 2.4c.4.4 1.3.6 1.9.6h3.8c1.2 0 2.5-.9 2.8-2.1l1.24-3.77" }), jsx("path", { ...params, d: "M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z" })] }));
2663
2668
  };
2664
2669
 
2665
2670
  const LikeControl = JSX(({ className, context, ...rest }) => {
2666
2671
  const likeService = context.useLikeService();
2667
- return (jsxs(BlockWrapper, { Tag: "div", context: context, className: `border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${className || ''}`, ...rest, children: [jsx(LikeButton, { onClick: likeService.like, ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u043B\u0430\u0439\u043A\u00BB" }), jsx(LikeButton, { onClick: likeService.dislike, className: "rotate-180", ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u0434\u0438\u0437\u043B\u0430\u0439\u043A\u00BB" }), jsx("span", { className: "select-none", children: likeService.likeCount })] }));
2672
+ return (jsxs(BlockWrapper, { tag: "div", context: context, className: `border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${className || ''}`, ...rest, children: [jsx(LikeButton, { onClick: likeService.like, ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u043B\u0430\u0439\u043A\u00BB" }), jsx(LikeButton, { onClick: likeService.dislike, className: "rotate-180", ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u0434\u0438\u0437\u043B\u0430\u0439\u043A\u00BB" }), jsx("span", { className: "select-none", children: likeService.likeCount })] }));
2668
2673
  });
2669
2674
 
2670
2675
  const defaultBlockDecorator = ({ blockClassName, block, render }) => render({ blockClassName, block });
2671
- const ContentPage = JSX(({ className = '', context, blocksRegistry, data: { style: pageStyle, blocks, slots = {}, likeControl, colorPalette = 'pc' }, blockDecorator = defaultBlockDecorator, }) => {
2676
+ const ContentPage = JSX(({ className = '', context, blocksRegistry, data = {}, blockDecorator = defaultBlockDecorator, }) => {
2677
+ const { style: pageStyle, blocks, slots = {}, likeControl, colorPalette = 'pc' } = data;
2672
2678
  const { header } = slots;
2673
2679
  return (jsxs("section", { className: `relative ${style2className(pageStyle)} ${className}`, "data-theme": colorPalette, children: [header?.blocks?.length ? (jsx("div", { className: `${style2className(header?.style)}`, children: header.blocks.map((block, i) => renderBlock({ block, blockDecorator, blocksRegistry, context }, i)) })) : null, blocks?.length ? (jsx("div", { className: "container grid grid-cols-12 gap-1", children: blocks.map((block, i) => renderBlock({ block, blockDecorator, blocksRegistry, context }, i)) })) : null, likeControl ? (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto", context: context }, "LikeControl") })) : null] }));
2674
2680
  });