@redneckz/wildless-cms-uni-blocks 0.12.9 → 0.12.11

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 (1315) hide show
  1. package/bin/migration-scripts/0.12.9.js +30 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +349 -180
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
  6. package/bundle/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +1 -0
  7. package/bundle/components/Calculator/CalculatorContent.d.ts +20 -1
  8. package/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
  9. package/bundle/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
  10. package/bundle/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
  11. package/bundle/components/Calculator/constants.d.ts +12 -0
  12. package/bundle/components/Calculator/getMonthlyPayment.d.ts +8 -2
  13. package/bundle/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
  14. package/bundle/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
  15. package/bundle/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
  16. package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
  17. package/bundle/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
  18. package/bundle/components/CarouselProductCard/alignTextStyle.mobile.d.ts +1 -0
  19. package/bundle/components/LinkDocs/LinkDocsContent.d.ts +0 -2
  20. package/bundle/model/Attachment.d.ts +2 -0
  21. package/bundle/model/ContentPageDef.d.ts +0 -2
  22. package/bundle/model/JSXBlock.d.ts +2 -2
  23. package/bundle/ui-kit/RichText/RichTextProps.d.ts +7 -6
  24. package/bundle/utils/formatBytes.d.ts +1 -0
  25. package/dist/components/ApplicationForm/ApplicationForm.js +1 -1
  26. package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  27. package/dist/components/ApplicationForm/ApplicationFormWed.js +1 -1
  28. package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  29. package/dist/components/ApplicationForm/ResponseNotification.js +1 -1
  30. package/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
  31. package/dist/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  32. package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  33. package/dist/components/BenefitsBlock/BenefitsBlock.js +4 -4
  34. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  35. package/dist/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
  36. package/dist/components/BenefitsBlock/benefitImageStyles.js +4 -0
  37. package/dist/components/BenefitsBlock/benefitImageStyles.js.map +1 -0
  38. package/dist/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +1 -0
  39. package/dist/components/BenefitsBlock/benefitImageStyles.mobile.js +4 -0
  40. package/dist/components/BenefitsBlock/benefitImageStyles.mobile.js.map +1 -0
  41. package/dist/components/Bonus/Bonus.js +2 -2
  42. package/dist/components/Bonus/Bonus.js.map +1 -1
  43. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -2
  44. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  45. package/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  46. package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  47. package/dist/components/BusinessBlock/BusinessCard.js +2 -2
  48. package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  49. package/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  50. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  51. package/dist/components/Calculator/BusinessDepositCalculatorForm.js +2 -2
  52. package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  53. package/dist/components/Calculator/Calculator.js +5 -5
  54. package/dist/components/Calculator/Calculator.js.map +1 -1
  55. package/dist/components/Calculator/CalculatorContent.d.ts +20 -1
  56. package/dist/components/Calculator/CreditCalculatorForm.js +2 -2
  57. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  58. package/dist/components/Calculator/DepositCalculatorForm.js +3 -3
  59. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  60. package/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
  61. package/dist/components/Calculator/EmbeddableCalcBlocks.js +2 -0
  62. package/dist/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  63. package/dist/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
  64. package/dist/components/Calculator/RefinancingCalculatorForm.js +63 -0
  65. package/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -0
  66. package/dist/components/Calculator/UnknownRate.js +1 -1
  67. package/dist/components/Calculator/UnknownRate.js.map +1 -1
  68. package/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
  69. package/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.js +23 -0
  70. package/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.js.map +1 -0
  71. package/dist/components/Calculator/constants.d.ts +12 -0
  72. package/dist/components/Calculator/constants.js +25 -1
  73. package/dist/components/Calculator/constants.js.map +1 -1
  74. package/dist/components/Calculator/getMonthlyPayment.d.ts +8 -2
  75. package/dist/components/Calculator/getMonthlyPayment.js +7 -2
  76. package/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
  77. package/dist/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
  78. package/dist/components/Calculator/getRefinancingCalculatorLimitParams.js +10 -0
  79. package/dist/components/Calculator/getRefinancingCalculatorLimitParams.js.map +1 -0
  80. package/dist/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
  81. package/dist/components/Calculator/getRefinancingCalculatorRateParams.js +16 -0
  82. package/dist/components/Calculator/getRefinancingCalculatorRateParams.js.map +1 -0
  83. package/dist/components/Calculator/rangeHelpers.js +7 -3
  84. package/dist/components/Calculator/rangeHelpers.js.map +1 -1
  85. package/dist/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
  86. package/dist/components/Calculator/useRefinancingCalculatorParams.js +57 -0
  87. package/dist/components/Calculator/useRefinancingCalculatorParams.js.map +1 -0
  88. package/dist/components/CardTransfer/CardTransfer.js +1 -1
  89. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  90. package/dist/components/Carousel/Carousel.js +1 -1
  91. package/dist/components/Carousel/Carousel.js.map +1 -1
  92. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  93. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  94. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +1 -1
  95. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -1
  96. package/dist/components/CarouselCard/CarouselCard.js +2 -2
  97. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  98. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -3
  99. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  100. package/dist/components/CarouselEventCard/CarouselEventCard.js +1 -1
  101. package/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  102. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
  103. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  104. package/dist/components/CarouselLinks/CarouselLinks.js +1 -1
  105. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  106. package/dist/components/CarouselProductCard/CarouselProductCard.js +10 -9
  107. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  108. package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
  109. package/dist/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
  110. package/dist/components/CarouselProductCard/alignTextStyle.js +4 -0
  111. package/dist/components/CarouselProductCard/alignTextStyle.js.map +1 -0
  112. package/dist/components/CarouselProductCard/alignTextStyle.mobile.d.ts +1 -0
  113. package/dist/components/CarouselProductCard/alignTextStyle.mobile.js +4 -0
  114. package/dist/components/CarouselProductCard/alignTextStyle.mobile.js.map +1 -0
  115. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +2 -2
  116. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  117. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  118. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
  119. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
  120. package/dist/components/CarouselTariffsCard/getPaddingStyle.mobile.js +1 -1
  121. package/dist/components/CarouselTariffsCard/getPaddingStyle.mobile.js.map +1 -1
  122. package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
  123. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  124. package/dist/components/ComparisonTable/HeaderCell.mobile.js +2 -2
  125. package/dist/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  126. package/dist/components/ComparisonTable/TableCell.js +1 -1
  127. package/dist/components/ComparisonTable/TableCell.js.map +1 -1
  128. package/dist/components/ComparisonTable/TableColumn.js +2 -2
  129. package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  130. package/dist/components/ContactsBlock/ContactsBlock.js +2 -2
  131. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  132. package/dist/components/ContentPage/ContentPage.js +1 -1
  133. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  134. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
  135. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  136. package/dist/components/ExchangeRateOffice/renderCurrencies.js +3 -3
  137. package/dist/components/ExchangeRateOffice/renderCurrencies.js.map +1 -1
  138. package/dist/components/ExchangeRateOffice/renderTableHeader.js +1 -1
  139. package/dist/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
  140. package/dist/components/ExchangeRateTile/CurrencyTable.js +2 -2
  141. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  142. package/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
  143. package/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  144. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  145. package/dist/components/Footer/Contacts.js +4 -3
  146. package/dist/components/Footer/Contacts.js.map +1 -1
  147. package/dist/components/Footer/Footer.js +1 -1
  148. package/dist/components/Footer/Footer.js.map +1 -1
  149. package/dist/components/Footer/Footer.mobile.js +1 -1
  150. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  151. package/dist/components/GracePeriod/GracePeriod.js +1 -1
  152. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  153. package/dist/components/Header/Header.js +1 -1
  154. package/dist/components/Header/Header.js.map +1 -1
  155. package/dist/components/Header/Header.mobile.js +1 -1
  156. package/dist/components/Header/Header.mobile.js.map +1 -1
  157. package/dist/components/Header/HeaderBurger.js +1 -1
  158. package/dist/components/Header/HeaderSubMenu.js +1 -1
  159. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  160. package/dist/components/Headline/Headline.js +1 -1
  161. package/dist/components/Headline/Headline.js.map +1 -1
  162. package/dist/components/Headline/headlineVersionStyles.js +4 -4
  163. package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  164. package/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
  165. package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  166. package/dist/components/HorizontalLayout/gapStyles.js +6 -6
  167. package/dist/components/HorizontalLayout/gapStyles.js.map +1 -1
  168. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  169. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  170. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
  171. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  172. package/dist/components/InvestmentInfo/InvestmentInfo.js +7 -9
  173. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  174. package/dist/components/LinkDocs/LinkDocs.js +6 -2
  175. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  176. package/dist/components/LinkDocs/LinkDocsContent.d.ts +0 -2
  177. package/dist/components/MobileAppTile/MobileAppTile.js +2 -2
  178. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  179. package/dist/components/MobileAppTile/renderDescription.js +1 -1
  180. package/dist/components/MobileAppTile/renderList.js +1 -1
  181. package/dist/components/MobileAppTile/renderList.js.map +1 -1
  182. package/dist/components/OfficeMap/OfficeMap.js +1 -1
  183. package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  184. package/dist/components/PictureText/PictureText.js +1 -1
  185. package/dist/components/PictureText/PictureText.js.map +1 -1
  186. package/dist/components/PictureText/renderInsuranceSumMonth.js +1 -1
  187. package/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
  188. package/dist/components/Placeholder/Placeholder.js +2 -2
  189. package/dist/components/Placeholder/Placeholder.js.map +1 -1
  190. package/dist/components/ProductBlock/ProductBlock.js +1 -1
  191. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  192. package/dist/components/ProductGallery/ProductGallery.js +1 -1
  193. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  194. package/dist/components/ProductTile/ProductTile.js +1 -1
  195. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  196. package/dist/components/PromoTile/PromoTile.js +1 -1
  197. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  198. package/dist/components/RollupItem/RollupItem.js +1 -1
  199. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  200. package/dist/components/SafeDepositRental/RenderRadioButtons.js +1 -1
  201. package/dist/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
  202. package/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  203. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  204. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  205. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  206. package/dist/components/StepsBlock/StepsBlock.js +5 -5
  207. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  208. package/dist/components/StepsBlock/StepsBlock.mobile.js +3 -3
  209. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  210. package/dist/components/StepsBlock/renderStep.js +2 -2
  211. package/dist/components/StepsBlock/renderStep.js.map +1 -1
  212. package/dist/components/Tabs/renderGroupTab.js +1 -1
  213. package/dist/components/Tabs/renderGroupTab.js.map +1 -1
  214. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +1 -1
  215. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  216. package/dist/components/TariffsTable/TableTileHeader.js +1 -1
  217. package/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  218. package/dist/components/TariffsTable/TariffsTable.js +2 -8
  219. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  220. package/dist/components/TariffsTable/TariffsTable.mobile.js +1 -1
  221. package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  222. package/dist/components/TariffsTable/TariffsTableRenderCell.js +1 -1
  223. package/dist/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  224. package/dist/components/TariffsTable/TariffsTableRow.js +1 -1
  225. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  226. package/dist/components/TariffsTable/TariffsTableTileCell.js +1 -1
  227. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  228. package/dist/components/Tile/Tile.js +1 -1
  229. package/dist/components/Tile/Tile.js.map +1 -1
  230. package/dist/components/VerticalLayout/VerticalLayout.js +1 -1
  231. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  232. package/dist/content-page-repository/transformDocument.js +3 -0
  233. package/dist/content-page-repository/transformDocument.js.map +1 -1
  234. package/dist/content-page-repository/transformImg.js +1 -1
  235. package/dist/content-page-repository/transformImg.js.map +1 -1
  236. package/dist/model/Attachment.d.ts +2 -0
  237. package/dist/model/ContentPageDef.d.ts +0 -2
  238. package/dist/model/JSXBlock.d.ts +2 -2
  239. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
  240. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  241. package/dist/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  242. package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  243. package/dist/ui-kit/BaseTile/BaseTile.js +1 -1
  244. package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  245. package/dist/ui-kit/BenefitItem/BenefitItem.js +1 -1
  246. package/dist/ui-kit/BlockWrapper.js +1 -1
  247. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  248. package/dist/ui-kit/Button/ButtonInner.js +1 -1
  249. package/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  250. package/dist/ui-kit/Dialog/Dialog.js +1 -1
  251. package/dist/ui-kit/Dialog/Dialog.js.map +1 -1
  252. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +3 -3
  253. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  254. package/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  255. package/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  256. package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  257. package/dist/ui-kit/Input/Input.js +1 -1
  258. package/dist/ui-kit/Input/Input.js.map +1 -1
  259. package/dist/ui-kit/InputRange/InputRange.js +1 -1
  260. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  261. package/dist/ui-kit/LinkButton/LinkButton.js +2 -2
  262. package/dist/ui-kit/List/List.js +4 -4
  263. package/dist/ui-kit/List/List.js.map +1 -1
  264. package/dist/ui-kit/List/ListItem.js +3 -3
  265. package/dist/ui-kit/List/ListItem.js.map +1 -1
  266. package/dist/ui-kit/LocationDialog/LocationDialog.js +3 -3
  267. package/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  268. package/dist/ui-kit/Logo/renderTitle.js +1 -1
  269. package/dist/ui-kit/Logo/renderTitle.js.map +1 -1
  270. package/dist/ui-kit/RichText/RichTextProps.d.ts +7 -6
  271. package/dist/ui-kit/SearchDialog/SearchInput.js +1 -1
  272. package/dist/ui-kit/Select/Select.js +1 -1
  273. package/dist/ui-kit/Select/Select.js.map +1 -1
  274. package/dist/ui-kit/YandexMap/renderSearchField.js +1 -1
  275. package/dist/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  276. package/dist/utils/formatBytes.d.ts +1 -0
  277. package/dist/utils/formatBytes.js +13 -0
  278. package/dist/utils/formatBytes.js.map +1 -0
  279. package/lib/common.css +1 -1
  280. package/lib/components/ApplicationForm/ApplicationForm.js +1 -1
  281. package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  282. package/lib/components/ApplicationForm/ApplicationFormWed.js +1 -1
  283. package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  284. package/lib/components/ApplicationForm/ResponseNotification.js +1 -1
  285. package/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
  286. package/lib/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  287. package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  288. package/lib/components/BenefitsBlock/BenefitsBlock.js +4 -4
  289. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  290. package/lib/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
  291. package/lib/components/BenefitsBlock/benefitImageStyles.js +2 -0
  292. package/lib/components/BenefitsBlock/benefitImageStyles.js.map +1 -0
  293. package/lib/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +1 -0
  294. package/lib/components/BenefitsBlock/benefitImageStyles.mobile.js +2 -0
  295. package/lib/components/BenefitsBlock/benefitImageStyles.mobile.js.map +1 -0
  296. package/lib/components/Bonus/Bonus.js +2 -2
  297. package/lib/components/Bonus/Bonus.js.map +1 -1
  298. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -2
  299. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  300. package/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  301. package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  302. package/lib/components/BusinessBlock/BusinessCard.js +2 -2
  303. package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  304. package/lib/components/Calculator/BonusCalculatorForm.js +2 -2
  305. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  306. package/lib/components/Calculator/BusinessDepositCalculatorForm.js +2 -2
  307. package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  308. package/lib/components/Calculator/Calculator.fixture.d.ts +1 -0
  309. package/lib/components/Calculator/Calculator.js +5 -5
  310. package/lib/components/Calculator/Calculator.js.map +1 -1
  311. package/lib/components/Calculator/CalculatorContent.d.ts +20 -1
  312. package/lib/components/Calculator/CreditCalculatorForm.js +2 -2
  313. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  314. package/lib/components/Calculator/DepositCalculatorForm.js +3 -3
  315. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  316. package/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
  317. package/lib/components/Calculator/EmbeddableCalcBlocks.js +2 -0
  318. package/lib/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  319. package/lib/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
  320. package/lib/components/Calculator/RefinancingCalculatorForm.js +61 -0
  321. package/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -0
  322. package/lib/components/Calculator/UnknownRate.js +1 -1
  323. package/lib/components/Calculator/UnknownRate.js.map +1 -1
  324. package/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
  325. package/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.js +20 -0
  326. package/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.js.map +1 -0
  327. package/lib/components/Calculator/constants.d.ts +12 -0
  328. package/lib/components/Calculator/constants.js +24 -0
  329. package/lib/components/Calculator/constants.js.map +1 -1
  330. package/lib/components/Calculator/getMonthlyPayment.d.ts +8 -2
  331. package/lib/components/Calculator/getMonthlyPayment.js +7 -2
  332. package/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
  333. package/lib/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
  334. package/lib/components/Calculator/getRefinancingCalculatorLimitParams.js +7 -0
  335. package/lib/components/Calculator/getRefinancingCalculatorLimitParams.js.map +1 -0
  336. package/lib/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
  337. package/lib/components/Calculator/getRefinancingCalculatorRateParams.js +13 -0
  338. package/lib/components/Calculator/getRefinancingCalculatorRateParams.js.map +1 -0
  339. package/lib/components/Calculator/rangeHelpers.js +7 -3
  340. package/lib/components/Calculator/rangeHelpers.js.map +1 -1
  341. package/lib/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
  342. package/lib/components/Calculator/useRefinancingCalculatorParams.js +54 -0
  343. package/lib/components/Calculator/useRefinancingCalculatorParams.js.map +1 -0
  344. package/lib/components/CardTransfer/CardTransfer.js +1 -1
  345. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  346. package/lib/components/Carousel/Carousel.js +1 -1
  347. package/lib/components/Carousel/Carousel.js.map +1 -1
  348. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  349. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  350. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +1 -1
  351. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -1
  352. package/lib/components/CarouselCard/CarouselCard.js +2 -2
  353. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  354. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -3
  355. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  356. package/lib/components/CarouselEventCard/CarouselEventCard.js +1 -1
  357. package/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  358. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
  359. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  360. package/lib/components/CarouselLinks/CarouselLinks.js +1 -1
  361. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  362. package/lib/components/CarouselProductCard/CarouselProductCard.js +10 -9
  363. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  364. package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
  365. package/lib/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
  366. package/lib/components/CarouselProductCard/alignTextStyle.js +2 -0
  367. package/lib/components/CarouselProductCard/alignTextStyle.js.map +1 -0
  368. package/lib/components/CarouselProductCard/alignTextStyle.mobile.d.ts +1 -0
  369. package/lib/components/CarouselProductCard/alignTextStyle.mobile.js +2 -0
  370. package/lib/components/CarouselProductCard/alignTextStyle.mobile.js.map +1 -0
  371. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +2 -2
  372. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  373. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  374. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
  375. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
  376. package/lib/components/CarouselTariffsCard/getPaddingStyle.mobile.js +1 -1
  377. package/lib/components/CarouselTariffsCard/getPaddingStyle.mobile.js.map +1 -1
  378. package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
  379. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  380. package/lib/components/ComparisonTable/HeaderCell.mobile.js +2 -2
  381. package/lib/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  382. package/lib/components/ComparisonTable/TableCell.js +1 -1
  383. package/lib/components/ComparisonTable/TableCell.js.map +1 -1
  384. package/lib/components/ComparisonTable/TableColumn.js +2 -2
  385. package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  386. package/lib/components/ContactsBlock/ContactsBlock.js +2 -2
  387. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  388. package/lib/components/ContentPage/ContentPage.js +1 -1
  389. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  390. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
  391. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  392. package/lib/components/ExchangeRateOffice/renderCurrencies.js +3 -3
  393. package/lib/components/ExchangeRateOffice/renderCurrencies.js.map +1 -1
  394. package/lib/components/ExchangeRateOffice/renderTableHeader.js +1 -1
  395. package/lib/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
  396. package/lib/components/ExchangeRateTile/CurrencyTable.js +2 -2
  397. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  398. package/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  399. package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  400. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  401. package/lib/components/Footer/Contacts.js +4 -3
  402. package/lib/components/Footer/Contacts.js.map +1 -1
  403. package/lib/components/Footer/Footer.js +1 -1
  404. package/lib/components/Footer/Footer.js.map +1 -1
  405. package/lib/components/Footer/Footer.mobile.js +1 -1
  406. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  407. package/lib/components/GracePeriod/GracePeriod.js +1 -1
  408. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  409. package/lib/components/Header/Header.js +1 -1
  410. package/lib/components/Header/Header.js.map +1 -1
  411. package/lib/components/Header/Header.mobile.js +1 -1
  412. package/lib/components/Header/Header.mobile.js.map +1 -1
  413. package/lib/components/Header/HeaderBurger.js +1 -1
  414. package/lib/components/Header/HeaderSubMenu.js +1 -1
  415. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  416. package/lib/components/Headline/Headline.js +1 -1
  417. package/lib/components/Headline/Headline.js.map +1 -1
  418. package/lib/components/Headline/headlineVersionStyles.js +4 -4
  419. package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  420. package/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
  421. package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  422. package/lib/components/HorizontalLayout/gapStyles.js +6 -6
  423. package/lib/components/HorizontalLayout/gapStyles.js.map +1 -1
  424. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  425. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  426. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
  427. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  428. package/lib/components/InvestmentInfo/InvestmentInfo.js +7 -9
  429. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  430. package/lib/components/LinkDocs/LinkDocs.js +6 -2
  431. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  432. package/lib/components/LinkDocs/LinkDocsContent.d.ts +0 -2
  433. package/lib/components/MobileAppTile/MobileAppTile.js +2 -2
  434. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  435. package/lib/components/MobileAppTile/renderDescription.js +1 -1
  436. package/lib/components/MobileAppTile/renderList.js +1 -1
  437. package/lib/components/MobileAppTile/renderList.js.map +1 -1
  438. package/lib/components/OfficeMap/OfficeMap.js +1 -1
  439. package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  440. package/lib/components/PictureText/PictureText.js +1 -1
  441. package/lib/components/PictureText/PictureText.js.map +1 -1
  442. package/lib/components/PictureText/renderInsuranceSumMonth.js +1 -1
  443. package/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
  444. package/lib/components/Placeholder/Placeholder.js +2 -2
  445. package/lib/components/Placeholder/Placeholder.js.map +1 -1
  446. package/lib/components/ProductBlock/ProductBlock.js +1 -1
  447. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  448. package/lib/components/ProductGallery/ProductGallery.js +1 -1
  449. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  450. package/lib/components/ProductTile/ProductTile.js +1 -1
  451. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  452. package/lib/components/PromoTile/PromoTile.js +1 -1
  453. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  454. package/lib/components/RollupItem/RollupItem.js +1 -1
  455. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  456. package/lib/components/SafeDepositRental/RenderRadioButtons.js +1 -1
  457. package/lib/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
  458. package/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  459. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  460. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  461. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  462. package/lib/components/StepsBlock/StepsBlock.js +5 -5
  463. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  464. package/lib/components/StepsBlock/StepsBlock.mobile.js +3 -3
  465. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  466. package/lib/components/StepsBlock/renderStep.js +2 -2
  467. package/lib/components/StepsBlock/renderStep.js.map +1 -1
  468. package/lib/components/Tabs/renderGroupTab.js +1 -1
  469. package/lib/components/Tabs/renderGroupTab.js.map +1 -1
  470. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +1 -1
  471. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  472. package/lib/components/TariffsTable/TableTileHeader.js +1 -1
  473. package/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  474. package/lib/components/TariffsTable/TariffsTable.js +2 -8
  475. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  476. package/lib/components/TariffsTable/TariffsTable.mobile.js +1 -1
  477. package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  478. package/lib/components/TariffsTable/TariffsTableRenderCell.js +1 -1
  479. package/lib/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  480. package/lib/components/TariffsTable/TariffsTableRow.js +1 -1
  481. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  482. package/lib/components/TariffsTable/TariffsTableTileCell.js +1 -1
  483. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  484. package/lib/components/Tile/Tile.js +1 -1
  485. package/lib/components/Tile/Tile.js.map +1 -1
  486. package/lib/components/VerticalLayout/VerticalLayout.fixture.d.ts +1 -1
  487. package/lib/components/VerticalLayout/VerticalLayout.js +1 -1
  488. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  489. package/lib/content-page-repository/transformDocument.js +3 -0
  490. package/lib/content-page-repository/transformDocument.js.map +1 -1
  491. package/lib/content-page-repository/transformImg.js +1 -1
  492. package/lib/content-page-repository/transformImg.js.map +1 -1
  493. package/lib/model/Attachment.d.ts +2 -0
  494. package/lib/model/ContentPageDef.d.ts +0 -2
  495. package/lib/model/JSXBlock.d.ts +2 -2
  496. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
  497. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  498. package/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  499. package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  500. package/lib/ui-kit/BaseTile/BaseTile.js +1 -1
  501. package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  502. package/lib/ui-kit/BenefitItem/BenefitItem.js +1 -1
  503. package/lib/ui-kit/BlockWrapper.js +1 -1
  504. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  505. package/lib/ui-kit/Button/ButtonInner.js +1 -1
  506. package/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  507. package/lib/ui-kit/Dialog/Dialog.js +1 -1
  508. package/lib/ui-kit/Dialog/Dialog.js.map +1 -1
  509. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +3 -3
  510. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  511. package/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  512. package/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  513. package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  514. package/lib/ui-kit/Input/Input.js +1 -1
  515. package/lib/ui-kit/Input/Input.js.map +1 -1
  516. package/lib/ui-kit/InputRange/InputRange.js +1 -1
  517. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  518. package/lib/ui-kit/LinkButton/LinkButton.js +2 -2
  519. package/lib/ui-kit/List/List.js +4 -4
  520. package/lib/ui-kit/List/List.js.map +1 -1
  521. package/lib/ui-kit/List/ListItem.js +3 -3
  522. package/lib/ui-kit/List/ListItem.js.map +1 -1
  523. package/lib/ui-kit/LocationDialog/LocationDialog.js +3 -3
  524. package/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  525. package/lib/ui-kit/Logo/renderTitle.js +1 -1
  526. package/lib/ui-kit/Logo/renderTitle.js.map +1 -1
  527. package/lib/ui-kit/RichText/RichTextProps.d.ts +7 -6
  528. package/lib/ui-kit/SearchDialog/SearchInput.js +1 -1
  529. package/lib/ui-kit/Select/Select.js +1 -1
  530. package/lib/ui-kit/Select/Select.js.map +1 -1
  531. package/lib/ui-kit/YandexMap/renderSearchField.js +1 -1
  532. package/lib/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  533. package/lib/utils/formatBytes.d.ts +1 -0
  534. package/lib/utils/formatBytes.js +10 -0
  535. package/lib/utils/formatBytes.js.map +1 -0
  536. package/mobile/bundle/bundle.umd.js +103 -88
  537. package/mobile/bundle/bundle.umd.min.js +1 -1
  538. package/mobile/bundle/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
  539. package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +20 -1
  540. package/mobile/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
  541. package/mobile/bundle/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
  542. package/mobile/bundle/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
  543. package/mobile/bundle/components/Calculator/constants.d.ts +12 -0
  544. package/mobile/bundle/components/Calculator/getMonthlyPayment.d.ts +8 -2
  545. package/mobile/bundle/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
  546. package/mobile/bundle/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
  547. package/mobile/bundle/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
  548. package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
  549. package/mobile/bundle/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
  550. package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +0 -2
  551. package/mobile/bundle/model/Attachment.d.ts +2 -0
  552. package/mobile/bundle/model/ContentPageDef.d.ts +0 -2
  553. package/mobile/bundle/model/JSXBlock.d.ts +2 -2
  554. package/mobile/bundle/ui-kit/RichText/RichTextProps.d.ts +7 -6
  555. package/mobile/bundle/utils/formatBytes.d.ts +1 -0
  556. package/mobile/dist/components/ApplicationForm/ApplicationForm.js +1 -1
  557. package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  558. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +1 -1
  559. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  560. package/mobile/dist/components/ApplicationForm/ResponseNotification.js +1 -1
  561. package/mobile/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
  562. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  563. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  564. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +4 -4
  565. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  566. package/mobile/dist/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
  567. package/mobile/dist/components/BenefitsBlock/benefitImageStyles.js +4 -0
  568. package/mobile/dist/components/BenefitsBlock/benefitImageStyles.js.map +1 -0
  569. package/mobile/dist/components/Bonus/Bonus.js +2 -2
  570. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  571. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -2
  572. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  573. package/mobile/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  574. package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  575. package/mobile/dist/components/BusinessBlock/BusinessCard.js +2 -2
  576. package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  577. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  578. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  579. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +2 -2
  580. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  581. package/mobile/dist/components/Calculator/Calculator.js +5 -5
  582. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  583. package/mobile/dist/components/Calculator/CalculatorContent.d.ts +20 -1
  584. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +2 -2
  585. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  586. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +3 -3
  587. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  588. package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
  589. package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.js +2 -0
  590. package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  591. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
  592. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js +63 -0
  593. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -0
  594. package/mobile/dist/components/Calculator/UnknownRate.js +1 -1
  595. package/mobile/dist/components/Calculator/UnknownRate.js.map +1 -1
  596. package/mobile/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
  597. package/mobile/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.js +23 -0
  598. package/mobile/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.js.map +1 -0
  599. package/mobile/dist/components/Calculator/constants.d.ts +12 -0
  600. package/mobile/dist/components/Calculator/constants.js +25 -1
  601. package/mobile/dist/components/Calculator/constants.js.map +1 -1
  602. package/mobile/dist/components/Calculator/getMonthlyPayment.d.ts +8 -2
  603. package/mobile/dist/components/Calculator/getMonthlyPayment.js +7 -2
  604. package/mobile/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
  605. package/mobile/dist/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
  606. package/mobile/dist/components/Calculator/getRefinancingCalculatorLimitParams.js +10 -0
  607. package/mobile/dist/components/Calculator/getRefinancingCalculatorLimitParams.js.map +1 -0
  608. package/mobile/dist/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
  609. package/mobile/dist/components/Calculator/getRefinancingCalculatorRateParams.js +16 -0
  610. package/mobile/dist/components/Calculator/getRefinancingCalculatorRateParams.js.map +1 -0
  611. package/mobile/dist/components/Calculator/rangeHelpers.js +7 -3
  612. package/mobile/dist/components/Calculator/rangeHelpers.js.map +1 -1
  613. package/mobile/dist/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
  614. package/mobile/dist/components/Calculator/useRefinancingCalculatorParams.js +57 -0
  615. package/mobile/dist/components/Calculator/useRefinancingCalculatorParams.js.map +1 -0
  616. package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
  617. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  618. package/mobile/dist/components/Carousel/Carousel.js +1 -1
  619. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  620. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  621. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  622. package/mobile/dist/components/CarouselCard/CarouselCard.js +2 -2
  623. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  624. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -3
  625. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  626. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js +1 -1
  627. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  628. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
  629. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  630. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +1 -1
  631. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  632. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +10 -9
  633. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  634. package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
  635. package/mobile/dist/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
  636. package/mobile/dist/components/CarouselProductCard/alignTextStyle.js +4 -0
  637. package/mobile/dist/components/CarouselProductCard/alignTextStyle.js.map +1 -0
  638. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +2 -2
  639. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  640. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  641. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  642. package/mobile/dist/components/CarouselTariffsCard/getPaddingStyle.js +1 -1
  643. package/mobile/dist/components/CarouselTariffsCard/getPaddingStyle.js.map +1 -1
  644. package/mobile/dist/components/ComparisonTable/HeaderCell.js +2 -2
  645. package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  646. package/mobile/dist/components/ComparisonTable/TableColumn.js +2 -2
  647. package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  648. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +2 -2
  649. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  650. package/mobile/dist/components/ContentPage/ContentPage.js +1 -1
  651. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  652. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
  653. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  654. package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js +3 -3
  655. package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js.map +1 -1
  656. package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js +1 -1
  657. package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
  658. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +2 -2
  659. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  660. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
  661. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  662. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  663. package/mobile/dist/components/Footer/Contacts.js +4 -3
  664. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  665. package/mobile/dist/components/Footer/Footer.js +1 -1
  666. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  667. package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
  668. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  669. package/mobile/dist/components/Header/Header.js +1 -1
  670. package/mobile/dist/components/Header/Header.js.map +1 -1
  671. package/mobile/dist/components/Header/HeaderBurger.js +1 -1
  672. package/mobile/dist/components/Header/HeaderSubMenu.js +1 -1
  673. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  674. package/mobile/dist/components/Headline/Headline.js +1 -1
  675. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  676. package/mobile/dist/components/Headline/headlineVersionStyles.js +4 -4
  677. package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  678. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
  679. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  680. package/mobile/dist/components/HorizontalLayout/gapStyles.js +6 -6
  681. package/mobile/dist/components/HorizontalLayout/gapStyles.js.map +1 -1
  682. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  683. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  684. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
  685. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  686. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +7 -9
  687. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  688. package/mobile/dist/components/LinkDocs/LinkDocs.js +6 -2
  689. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  690. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +0 -2
  691. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +2 -2
  692. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  693. package/mobile/dist/components/MobileAppTile/renderDescription.js +1 -1
  694. package/mobile/dist/components/MobileAppTile/renderList.js +1 -1
  695. package/mobile/dist/components/MobileAppTile/renderList.js.map +1 -1
  696. package/mobile/dist/components/OfficeMap/OfficeMap.js +1 -1
  697. package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  698. package/mobile/dist/components/PictureText/PictureText.js +1 -1
  699. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  700. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js +1 -1
  701. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
  702. package/mobile/dist/components/Placeholder/Placeholder.js +2 -2
  703. package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
  704. package/mobile/dist/components/ProductBlock/ProductBlock.js +1 -1
  705. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  706. package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
  707. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  708. package/mobile/dist/components/PromoTile/PromoTile.js +1 -1
  709. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  710. package/mobile/dist/components/RollupItem/RollupItem.js +1 -1
  711. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  712. package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js +1 -1
  713. package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
  714. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  715. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  716. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  717. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  718. package/mobile/dist/components/StepsBlock/StepsBlock.js +3 -3
  719. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  720. package/mobile/dist/components/StepsBlock/renderStep.js +2 -2
  721. package/mobile/dist/components/StepsBlock/renderStep.js.map +1 -1
  722. package/mobile/dist/components/Tabs/renderGroupTab.js +1 -1
  723. package/mobile/dist/components/Tabs/renderGroupTab.js.map +1 -1
  724. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +1 -1
  725. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  726. package/mobile/dist/components/TariffsTable/TableTileHeader.js +1 -1
  727. package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  728. package/mobile/dist/components/TariffsTable/TariffsTable.js +1 -1
  729. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  730. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js +1 -1
  731. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  732. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +1 -1
  733. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  734. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +1 -1
  735. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  736. package/mobile/dist/components/Tile/Tile.js +1 -1
  737. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  738. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +1 -1
  739. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  740. package/mobile/dist/content-page-repository/transformDocument.js +3 -0
  741. package/mobile/dist/content-page-repository/transformDocument.js.map +1 -1
  742. package/mobile/dist/content-page-repository/transformImg.js +1 -1
  743. package/mobile/dist/content-page-repository/transformImg.js.map +1 -1
  744. package/mobile/dist/model/Attachment.d.ts +2 -0
  745. package/mobile/dist/model/ContentPageDef.d.ts +0 -2
  746. package/mobile/dist/model/JSXBlock.d.ts +2 -2
  747. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
  748. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  749. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  750. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  751. package/mobile/dist/ui-kit/BaseTile/BaseTile.js +1 -1
  752. package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  753. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +1 -1
  754. package/mobile/dist/ui-kit/BlockWrapper.js +1 -1
  755. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  756. package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
  757. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  758. package/mobile/dist/ui-kit/Dialog/Dialog.js +1 -1
  759. package/mobile/dist/ui-kit/Dialog/Dialog.js.map +1 -1
  760. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js +3 -3
  761. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  762. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  763. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  764. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  765. package/mobile/dist/ui-kit/Input/Input.js +1 -1
  766. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  767. package/mobile/dist/ui-kit/InputRange/InputRange.js +1 -1
  768. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  769. package/mobile/dist/ui-kit/LinkButton/LinkButton.js +2 -2
  770. package/mobile/dist/ui-kit/List/List.js +4 -4
  771. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  772. package/mobile/dist/ui-kit/List/ListItem.js +3 -3
  773. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  774. package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js +3 -3
  775. package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  776. package/mobile/dist/ui-kit/Logo/renderTitle.js +1 -1
  777. package/mobile/dist/ui-kit/Logo/renderTitle.js.map +1 -1
  778. package/mobile/dist/ui-kit/RichText/RichTextProps.d.ts +7 -6
  779. package/mobile/dist/ui-kit/SearchDialog/SearchInput.js +1 -1
  780. package/mobile/dist/ui-kit/Select/Select.js +1 -1
  781. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  782. package/mobile/dist/ui-kit/YandexMap/renderSearchField.js +1 -1
  783. package/mobile/dist/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  784. package/mobile/dist/utils/formatBytes.d.ts +1 -0
  785. package/mobile/dist/utils/formatBytes.js +13 -0
  786. package/mobile/dist/utils/formatBytes.js.map +1 -0
  787. package/mobile/fonts/mohave/Mohave-Regular.otf +0 -0
  788. package/mobile/fonts/mohave/Mohave-Regular.ttf +0 -0
  789. package/mobile/fonts/mohave/mohave.css +7 -0
  790. package/mobile/fonts/ubuntu/ubuntu.css +67 -0
  791. package/mobile/fonts/ubuntu/ubuntu.eot +0 -0
  792. package/mobile/fonts/ubuntu/ubuntu.ttf +0 -0
  793. package/mobile/fonts/ubuntu/ubuntu.woff +0 -0
  794. package/mobile/fonts/ubuntu/ubuntu.woff2 +0 -0
  795. package/mobile/fonts/ubuntu/ubuntubold.ttf +0 -0
  796. package/mobile/fonts/ubuntu/ubuntubold.woff +0 -0
  797. package/mobile/fonts/ubuntu/ubuntubold.woff2 +0 -0
  798. package/mobile/fonts/ubuntu/ubuntubolditalic.ttf +0 -0
  799. package/mobile/fonts/ubuntu/ubuntubolditalic.woff +0 -0
  800. package/mobile/fonts/ubuntu/ubuntubolditalic.woff2 +0 -0
  801. package/mobile/fonts/ubuntu/ubuntuitalic.ttf +0 -0
  802. package/mobile/fonts/ubuntu/ubuntuitalic.woff +0 -0
  803. package/mobile/fonts/ubuntu/ubuntuitalic.woff2 +0 -0
  804. package/mobile/fonts/ubuntu/ubuntulight.ttf +0 -0
  805. package/mobile/fonts/ubuntu/ubuntulight.woff +0 -0
  806. package/mobile/fonts/ubuntu/ubuntulight.woff2 +0 -0
  807. package/mobile/fonts/ubuntu/ubuntulightitalic.ttf +0 -0
  808. package/mobile/fonts/ubuntu/ubuntulightitalic.woff +0 -0
  809. package/mobile/fonts/ubuntu/ubuntulightitalic.woff2 +0 -0
  810. package/mobile/fonts/ubuntu/ubuntumedium.ttf +0 -0
  811. package/mobile/fonts/ubuntu/ubuntumedium.woff +0 -0
  812. package/mobile/fonts/ubuntu/ubuntumedium.woff2 +0 -0
  813. package/mobile/fonts/ubuntu/ubuntumediumitalic.ttf +0 -0
  814. package/mobile/fonts/ubuntu/ubuntumediumitalic.woff +0 -0
  815. package/mobile/fonts/ubuntu/ubuntumediumitalic.woff2 +0 -0
  816. package/mobile/lib/common.css +1 -1
  817. package/mobile/lib/components/ApplicationForm/ApplicationForm.js +1 -1
  818. package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  819. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +1 -1
  820. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  821. package/mobile/lib/components/ApplicationForm/ResponseNotification.js +1 -1
  822. package/mobile/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
  823. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  824. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  825. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +4 -4
  826. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  827. package/mobile/lib/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
  828. package/mobile/lib/components/BenefitsBlock/benefitImageStyles.js +2 -0
  829. package/mobile/lib/components/BenefitsBlock/benefitImageStyles.js.map +1 -0
  830. package/mobile/lib/components/Bonus/Bonus.js +2 -2
  831. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  832. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -2
  833. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  834. package/mobile/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  835. package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  836. package/mobile/lib/components/BusinessBlock/BusinessCard.js +2 -2
  837. package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  838. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +2 -2
  839. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  840. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +2 -2
  841. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  842. package/mobile/lib/components/Calculator/Calculator.js +5 -5
  843. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  844. package/mobile/lib/components/Calculator/CalculatorContent.d.ts +20 -1
  845. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +2 -2
  846. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  847. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +3 -3
  848. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  849. package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
  850. package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.js +2 -0
  851. package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  852. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
  853. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js +61 -0
  854. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -0
  855. package/mobile/lib/components/Calculator/UnknownRate.js +1 -1
  856. package/mobile/lib/components/Calculator/UnknownRate.js.map +1 -1
  857. package/mobile/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
  858. package/mobile/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.js +20 -0
  859. package/mobile/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.js.map +1 -0
  860. package/mobile/lib/components/Calculator/constants.d.ts +12 -0
  861. package/mobile/lib/components/Calculator/constants.js +24 -0
  862. package/mobile/lib/components/Calculator/constants.js.map +1 -1
  863. package/mobile/lib/components/Calculator/getMonthlyPayment.d.ts +8 -2
  864. package/mobile/lib/components/Calculator/getMonthlyPayment.js +7 -2
  865. package/mobile/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
  866. package/mobile/lib/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
  867. package/mobile/lib/components/Calculator/getRefinancingCalculatorLimitParams.js +7 -0
  868. package/mobile/lib/components/Calculator/getRefinancingCalculatorLimitParams.js.map +1 -0
  869. package/mobile/lib/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
  870. package/mobile/lib/components/Calculator/getRefinancingCalculatorRateParams.js +13 -0
  871. package/mobile/lib/components/Calculator/getRefinancingCalculatorRateParams.js.map +1 -0
  872. package/mobile/lib/components/Calculator/rangeHelpers.js +7 -3
  873. package/mobile/lib/components/Calculator/rangeHelpers.js.map +1 -1
  874. package/mobile/lib/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
  875. package/mobile/lib/components/Calculator/useRefinancingCalculatorParams.js +54 -0
  876. package/mobile/lib/components/Calculator/useRefinancingCalculatorParams.js.map +1 -0
  877. package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
  878. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  879. package/mobile/lib/components/Carousel/Carousel.js +1 -1
  880. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  881. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  882. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  883. package/mobile/lib/components/CarouselCard/CarouselCard.js +2 -2
  884. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  885. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -3
  886. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  887. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js +1 -1
  888. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  889. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
  890. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  891. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +1 -1
  892. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  893. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +10 -9
  894. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  895. package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
  896. package/mobile/lib/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
  897. package/mobile/lib/components/CarouselProductCard/alignTextStyle.js +2 -0
  898. package/mobile/lib/components/CarouselProductCard/alignTextStyle.js.map +1 -0
  899. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +2 -2
  900. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  901. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  902. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  903. package/mobile/lib/components/CarouselTariffsCard/getPaddingStyle.js +1 -1
  904. package/mobile/lib/components/CarouselTariffsCard/getPaddingStyle.js.map +1 -1
  905. package/mobile/lib/components/ComparisonTable/HeaderCell.js +2 -2
  906. package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  907. package/mobile/lib/components/ComparisonTable/TableColumn.js +2 -2
  908. package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  909. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +2 -2
  910. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  911. package/mobile/lib/components/ContentPage/ContentPage.js +1 -1
  912. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  913. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
  914. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  915. package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js +3 -3
  916. package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js.map +1 -1
  917. package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js +1 -1
  918. package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
  919. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +2 -2
  920. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  921. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  922. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  923. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  924. package/mobile/lib/components/Footer/Contacts.js +4 -3
  925. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  926. package/mobile/lib/components/Footer/Footer.js +1 -1
  927. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  928. package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
  929. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  930. package/mobile/lib/components/Header/Header.js +1 -1
  931. package/mobile/lib/components/Header/Header.js.map +1 -1
  932. package/mobile/lib/components/Header/HeaderBurger.js +1 -1
  933. package/mobile/lib/components/Header/HeaderSubMenu.js +1 -1
  934. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  935. package/mobile/lib/components/Headline/Headline.js +1 -1
  936. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  937. package/mobile/lib/components/Headline/headlineVersionStyles.js +4 -4
  938. package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  939. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
  940. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  941. package/mobile/lib/components/HorizontalLayout/gapStyles.js +6 -6
  942. package/mobile/lib/components/HorizontalLayout/gapStyles.js.map +1 -1
  943. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  944. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  945. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
  946. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  947. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +7 -9
  948. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  949. package/mobile/lib/components/LinkDocs/LinkDocs.js +6 -2
  950. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  951. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +0 -2
  952. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +2 -2
  953. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  954. package/mobile/lib/components/MobileAppTile/renderDescription.js +1 -1
  955. package/mobile/lib/components/MobileAppTile/renderList.js +1 -1
  956. package/mobile/lib/components/MobileAppTile/renderList.js.map +1 -1
  957. package/mobile/lib/components/OfficeMap/OfficeMap.js +1 -1
  958. package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  959. package/mobile/lib/components/PictureText/PictureText.js +1 -1
  960. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  961. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js +1 -1
  962. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
  963. package/mobile/lib/components/Placeholder/Placeholder.js +2 -2
  964. package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
  965. package/mobile/lib/components/ProductBlock/ProductBlock.js +1 -1
  966. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  967. package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
  968. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  969. package/mobile/lib/components/PromoTile/PromoTile.js +1 -1
  970. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  971. package/mobile/lib/components/RollupItem/RollupItem.js +1 -1
  972. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  973. package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js +1 -1
  974. package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
  975. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  976. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  977. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  978. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  979. package/mobile/lib/components/StepsBlock/StepsBlock.js +3 -3
  980. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  981. package/mobile/lib/components/StepsBlock/renderStep.js +2 -2
  982. package/mobile/lib/components/StepsBlock/renderStep.js.map +1 -1
  983. package/mobile/lib/components/Tabs/renderGroupTab.js +1 -1
  984. package/mobile/lib/components/Tabs/renderGroupTab.js.map +1 -1
  985. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +1 -1
  986. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  987. package/mobile/lib/components/TariffsTable/TableTileHeader.js +1 -1
  988. package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  989. package/mobile/lib/components/TariffsTable/TariffsTable.js +1 -1
  990. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  991. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js +1 -1
  992. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  993. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -1
  994. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  995. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +1 -1
  996. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  997. package/mobile/lib/components/Tile/Tile.js +1 -1
  998. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  999. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +1 -1
  1000. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  1001. package/mobile/lib/content-page-repository/transformDocument.js +3 -0
  1002. package/mobile/lib/content-page-repository/transformDocument.js.map +1 -1
  1003. package/mobile/lib/content-page-repository/transformImg.js +1 -1
  1004. package/mobile/lib/content-page-repository/transformImg.js.map +1 -1
  1005. package/mobile/lib/model/Attachment.d.ts +2 -0
  1006. package/mobile/lib/model/ContentPageDef.d.ts +0 -2
  1007. package/mobile/lib/model/JSXBlock.d.ts +2 -2
  1008. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
  1009. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  1010. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  1011. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  1012. package/mobile/lib/ui-kit/BaseTile/BaseTile.js +1 -1
  1013. package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  1014. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +1 -1
  1015. package/mobile/lib/ui-kit/BlockWrapper.js +1 -1
  1016. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  1017. package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
  1018. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  1019. package/mobile/lib/ui-kit/Dialog/Dialog.js +1 -1
  1020. package/mobile/lib/ui-kit/Dialog/Dialog.js.map +1 -1
  1021. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js +3 -3
  1022. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  1023. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  1024. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  1025. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  1026. package/mobile/lib/ui-kit/Input/Input.js +1 -1
  1027. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  1028. package/mobile/lib/ui-kit/InputRange/InputRange.js +1 -1
  1029. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  1030. package/mobile/lib/ui-kit/LinkButton/LinkButton.js +2 -2
  1031. package/mobile/lib/ui-kit/List/List.js +4 -4
  1032. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  1033. package/mobile/lib/ui-kit/List/ListItem.js +3 -3
  1034. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  1035. package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js +3 -3
  1036. package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  1037. package/mobile/lib/ui-kit/Logo/renderTitle.js +1 -1
  1038. package/mobile/lib/ui-kit/Logo/renderTitle.js.map +1 -1
  1039. package/mobile/lib/ui-kit/RichText/RichTextProps.d.ts +7 -6
  1040. package/mobile/lib/ui-kit/SearchDialog/SearchInput.js +1 -1
  1041. package/mobile/lib/ui-kit/Select/Select.js +1 -1
  1042. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  1043. package/mobile/lib/ui-kit/YandexMap/renderSearchField.js +1 -1
  1044. package/mobile/lib/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  1045. package/mobile/lib/utils/formatBytes.d.ts +1 -0
  1046. package/mobile/lib/utils/formatBytes.js +10 -0
  1047. package/mobile/lib/utils/formatBytes.js.map +1 -0
  1048. package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +1 -1
  1049. package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +4 -4
  1050. package/mobile/src/components/ApplicationForm/ResponseNotification.tsx +3 -3
  1051. package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +6 -6
  1052. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +5 -5
  1053. package/mobile/src/components/BenefitsBlock/benefitImageStyles.tsx +1 -0
  1054. package/mobile/src/components/Bonus/Bonus.tsx +2 -2
  1055. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -3
  1056. package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +2 -2
  1057. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +9 -7
  1058. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +2 -2
  1059. package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +2 -2
  1060. package/mobile/src/components/Calculator/Calculator.tsx +7 -7
  1061. package/mobile/src/components/Calculator/CalculatorContent.ts +25 -1
  1062. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +4 -4
  1063. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +5 -5
  1064. package/mobile/src/components/Calculator/EmbeddableCalcBlocks.tsx +4 -1
  1065. package/mobile/src/components/Calculator/RefinancingCalculatorForm.tsx +147 -0
  1066. package/mobile/src/components/Calculator/UnknownRate.tsx +2 -2
  1067. package/mobile/src/components/Calculator/checkRefinancingSourceBookRowCommonParams.ts +45 -0
  1068. package/mobile/src/components/Calculator/constants.ts +26 -0
  1069. package/mobile/src/components/Calculator/getMonthlyPayment.ts +14 -4
  1070. package/mobile/src/components/Calculator/getRefinancingCalculatorLimitParams.ts +25 -0
  1071. package/mobile/src/components/Calculator/getRefinancingCalculatorRateParams.ts +40 -0
  1072. package/mobile/src/components/Calculator/rangeHelpers.ts +7 -3
  1073. package/mobile/src/components/Calculator/useRefinancingCalculatorParams.ts +136 -0
  1074. package/mobile/src/components/CardTransfer/CardTransfer.tsx +1 -1
  1075. package/mobile/src/components/Carousel/Carousel.tsx +1 -1
  1076. package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
  1077. package/mobile/src/components/CarouselCard/CarouselCard.tsx +2 -2
  1078. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +13 -17
  1079. package/mobile/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -1
  1080. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +2 -2
  1081. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +2 -2
  1082. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +36 -32
  1083. package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +6 -4
  1084. package/mobile/src/components/CarouselProductCard/alignTextStyle.tsx +1 -0
  1085. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +5 -5
  1086. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +2 -2
  1087. package/mobile/src/components/CarouselTariffsCard/getPaddingStyle.tsx +1 -1
  1088. package/mobile/src/components/ComparisonTable/HeaderCell.tsx +4 -9
  1089. package/mobile/src/components/ComparisonTable/TableColumn.tsx +2 -2
  1090. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +4 -4
  1091. package/mobile/src/components/ContentPage/ContentPage.tsx +1 -1
  1092. package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +5 -5
  1093. package/mobile/src/components/ExchangeRateOffice/renderCurrencies.tsx +3 -3
  1094. package/mobile/src/components/ExchangeRateOffice/renderTableHeader.tsx +1 -1
  1095. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +6 -6
  1096. package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +4 -4
  1097. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -1
  1098. package/mobile/src/components/Footer/Contacts.tsx +7 -6
  1099. package/mobile/src/components/Footer/Footer.tsx +1 -1
  1100. package/mobile/src/components/GracePeriod/GracePeriod.tsx +1 -1
  1101. package/mobile/src/components/Header/Header.tsx +1 -1
  1102. package/mobile/src/components/Header/HeaderBurger.tsx +1 -1
  1103. package/mobile/src/components/Header/HeaderSubMenu.tsx +3 -3
  1104. package/mobile/src/components/Headline/Headline.tsx +1 -1
  1105. package/mobile/src/components/Headline/headlineVersionStyles.ts +4 -4
  1106. package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +1 -1
  1107. package/mobile/src/components/HorizontalLayout/gapStyles.ts +6 -6
  1108. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +4 -4
  1109. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
  1110. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +10 -19
  1111. package/mobile/src/components/LinkDocs/LinkDocs.tsx +8 -1
  1112. package/mobile/src/components/LinkDocs/LinkDocs.ui.json +3 -0
  1113. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +0 -2
  1114. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +5 -5
  1115. package/mobile/src/components/MobileAppTile/renderDescription.tsx +1 -1
  1116. package/mobile/src/components/MobileAppTile/renderList.tsx +1 -1
  1117. package/mobile/src/components/OfficeMap/OfficeMap.tsx +1 -1
  1118. package/mobile/src/components/PictureText/PictureText.tsx +1 -1
  1119. package/mobile/src/components/PictureText/PictureText.ui.json +3 -0
  1120. package/mobile/src/components/PictureText/renderInsuranceSumMonth.tsx +1 -1
  1121. package/mobile/src/components/Placeholder/Placeholder.tsx +2 -2
  1122. package/mobile/src/components/ProductBlock/ProductBlock.tsx +2 -2
  1123. package/mobile/src/components/ProductBlock/ProductBlock.ui.json +10 -0
  1124. package/mobile/src/components/ProductTile/ProductTile.tsx +1 -1
  1125. package/mobile/src/components/ProductTile/ProductTile.ui.json +3 -0
  1126. package/mobile/src/components/PromoTile/PromoTile.tsx +1 -1
  1127. package/mobile/src/components/RollupItem/RollupItem.tsx +2 -2
  1128. package/mobile/src/components/SafeDepositRental/RenderRadioButtons.tsx +1 -1
  1129. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
  1130. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
  1131. package/mobile/src/components/StepsBlock/StepsBlock.tsx +5 -5
  1132. package/mobile/src/components/StepsBlock/renderStep.tsx +7 -7
  1133. package/mobile/src/components/Tabs/renderGroupTab.tsx +1 -1
  1134. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +1 -1
  1135. package/mobile/src/components/TariffsTable/TableTileHeader.tsx +1 -1
  1136. package/mobile/src/components/TariffsTable/TariffsTable.tsx +1 -2
  1137. package/mobile/src/components/TariffsTable/TariffsTableRenderCell.tsx +1 -1
  1138. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +2 -2
  1139. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +1 -1
  1140. package/mobile/src/components/Tile/Tile.tsx +1 -1
  1141. package/mobile/src/components/Tile/Tile.ui.json +10 -0
  1142. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
  1143. package/mobile/src/content-page-repository/transformDocument.ts +3 -0
  1144. package/mobile/src/content-page-repository/transformImg.ts +1 -1
  1145. package/mobile/src/model/Attachment.ts +2 -0
  1146. package/mobile/src/model/ContentPageDef.ts +1 -4
  1147. package/mobile/src/model/JSXBlock.ts +2 -2
  1148. package/mobile/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +1 -1
  1149. package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
  1150. package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +3 -3
  1151. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +1 -1
  1152. package/mobile/src/ui-kit/BlockWrapper.tsx +1 -1
  1153. package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1154. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
  1155. package/mobile/src/ui-kit/Dialog/Dialog.tsx +3 -3
  1156. package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +4 -6
  1157. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1158. package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +4 -4
  1159. package/mobile/src/ui-kit/Input/Input.tsx +1 -1
  1160. package/mobile/src/ui-kit/InputRange/InputRange.tsx +1 -1
  1161. package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +2 -2
  1162. package/mobile/src/ui-kit/List/List.tsx +4 -4
  1163. package/mobile/src/ui-kit/List/ListItem.tsx +3 -3
  1164. package/mobile/src/ui-kit/LocationDialog/LocationDialog.tsx +5 -5
  1165. package/mobile/src/ui-kit/Logo/renderTitle.tsx +1 -1
  1166. package/mobile/src/ui-kit/RichText/RichTextProps.ts +8 -6
  1167. package/mobile/src/ui-kit/SearchDialog/SearchInput.tsx +1 -1
  1168. package/mobile/src/ui-kit/Select/Select.tsx +1 -1
  1169. package/mobile/src/ui-kit/YandexMap/renderSearchField.tsx +2 -1
  1170. package/mobile/src/utils/formatBytes.ts +12 -0
  1171. package/package.json +5 -3
  1172. package/src/components/ApplicationForm/ApplicationForm.tsx +1 -1
  1173. package/src/components/ApplicationForm/ApplicationFormWed.tsx +4 -4
  1174. package/src/components/ApplicationForm/ResponseNotification.tsx +3 -3
  1175. package/src/components/ApplicationForm/renderWedDataOrganization.tsx +6 -6
  1176. package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +0 -1
  1177. package/src/components/BenefitsBlock/BenefitsBlock.tsx +5 -5
  1178. package/src/components/BenefitsBlock/benefitImageStyles.mobile.tsx +1 -0
  1179. package/src/components/BenefitsBlock/benefitImageStyles.tsx +1 -0
  1180. package/src/components/Bonus/Bonus.tsx +2 -2
  1181. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -3
  1182. package/src/components/BusinessBlock/BusinessBlock.tsx +2 -2
  1183. package/src/components/BusinessBlock/BusinessCard.tsx +9 -7
  1184. package/src/components/Calculator/BonusCalculatorForm.tsx +2 -2
  1185. package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +2 -2
  1186. package/src/components/Calculator/Calculator.fixture.tsx +40 -0
  1187. package/src/components/Calculator/Calculator.tsx +7 -7
  1188. package/src/components/Calculator/CalculatorContent.ts +25 -1
  1189. package/src/components/Calculator/CreditCalculatorForm.tsx +4 -4
  1190. package/src/components/Calculator/DepositCalculatorForm.tsx +5 -5
  1191. package/src/components/Calculator/EmbeddableCalcBlocks.tsx +4 -1
  1192. package/src/components/Calculator/RefinancingCalculatorForm.tsx +147 -0
  1193. package/src/components/Calculator/UnknownRate.tsx +2 -2
  1194. package/src/components/Calculator/checkRefinancingSourceBookRowCommonParams.ts +45 -0
  1195. package/src/components/Calculator/constants.ts +26 -0
  1196. package/src/components/Calculator/getMonthlyPayment.ts +14 -4
  1197. package/src/components/Calculator/getRefinancingCalculatorLimitParams.ts +25 -0
  1198. package/src/components/Calculator/getRefinancingCalculatorRateParams.ts +40 -0
  1199. package/src/components/Calculator/rangeHelpers.ts +7 -3
  1200. package/src/components/Calculator/useRefinancingCalculatorParams.ts +136 -0
  1201. package/src/components/CardTransfer/CardTransfer.tsx +1 -1
  1202. package/src/components/Carousel/Carousel.tsx +1 -1
  1203. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.tsx +1 -1
  1204. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
  1205. package/src/components/CarouselCard/CarouselCard.tsx +2 -2
  1206. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +13 -17
  1207. package/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -1
  1208. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +2 -2
  1209. package/src/components/CarouselLinks/CarouselLinks.tsx +2 -2
  1210. package/src/components/CarouselProductCard/CarouselProductCard.fixture.tsx +2 -2
  1211. package/src/components/CarouselProductCard/CarouselProductCard.tsx +36 -32
  1212. package/src/components/CarouselProductCard/CarouselProductCardContent.ts +6 -4
  1213. package/src/components/CarouselProductCard/alignTextStyle.mobile.tsx +1 -0
  1214. package/src/components/CarouselProductCard/alignTextStyle.tsx +1 -0
  1215. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +5 -5
  1216. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.tsx +2 -2
  1217. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -1
  1218. package/src/components/CarouselTariffsCard/getPaddingStyle.mobile.tsx +1 -1
  1219. package/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
  1220. package/src/components/ComparisonTable/HeaderCell.mobile.tsx +4 -9
  1221. package/src/components/ComparisonTable/TableCell.tsx +1 -1
  1222. package/src/components/ComparisonTable/TableColumn.tsx +2 -2
  1223. package/src/components/ContactsBlock/ContactsBlock.tsx +4 -4
  1224. package/src/components/ContentPage/ContentPage.tsx +1 -1
  1225. package/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +5 -5
  1226. package/src/components/ExchangeRateOffice/renderCurrencies.tsx +3 -3
  1227. package/src/components/ExchangeRateOffice/renderTableHeader.tsx +1 -1
  1228. package/src/components/ExchangeRateTile/CurrencyTable.tsx +6 -6
  1229. package/src/components/ExchangeRateTile/CurrentLocation.tsx +4 -4
  1230. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -1
  1231. package/src/components/Footer/Contacts.tsx +7 -6
  1232. package/src/components/Footer/Footer.mobile.tsx +1 -1
  1233. package/src/components/Footer/Footer.tsx +7 -7
  1234. package/src/components/GracePeriod/GracePeriod.tsx +1 -1
  1235. package/src/components/Header/Header.mobile.tsx +1 -1
  1236. package/src/components/Header/Header.tsx +4 -4
  1237. package/src/components/Header/HeaderBurger.tsx +1 -1
  1238. package/src/components/Header/HeaderSubMenu.tsx +3 -3
  1239. package/src/components/Headline/Headline.tsx +1 -1
  1240. package/src/components/Headline/headlineVersionStyles.ts +4 -4
  1241. package/src/components/HorizontalLayout/HorizontalLayout.tsx +1 -1
  1242. package/src/components/HorizontalLayout/gapStyles.ts +6 -6
  1243. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +4 -4
  1244. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
  1245. package/src/components/InvestmentInfo/InvestmentInfo.tsx +10 -19
  1246. package/src/components/LinkDocs/LinkDocs.tsx +8 -1
  1247. package/src/components/LinkDocs/LinkDocs.ui.json +3 -0
  1248. package/src/components/LinkDocs/LinkDocsContent.ts +0 -2
  1249. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +3 -0
  1250. package/src/components/MobileAppTile/MobileAppTile.tsx +5 -5
  1251. package/src/components/MobileAppTile/renderDescription.tsx +1 -1
  1252. package/src/components/MobileAppTile/renderList.tsx +1 -1
  1253. package/src/components/OfficeMap/OfficeMap.tsx +1 -1
  1254. package/src/components/PictureText/PictureText.tsx +1 -1
  1255. package/src/components/PictureText/PictureText.ui.json +3 -0
  1256. package/src/components/PictureText/renderInsuranceSumMonth.tsx +1 -1
  1257. package/src/components/Placeholder/Placeholder.tsx +2 -2
  1258. package/src/components/ProductBlock/ProductBlock.tsx +2 -2
  1259. package/src/components/ProductBlock/ProductBlock.ui.json +10 -0
  1260. package/src/components/ProductGallery/ProductGallery.tsx +2 -2
  1261. package/src/components/ProductTile/ProductTile.tsx +1 -1
  1262. package/src/components/ProductTile/ProductTile.ui.json +3 -0
  1263. package/src/components/PromoTile/PromoTile.tsx +1 -1
  1264. package/src/components/RollupItem/RollupItem.tsx +2 -2
  1265. package/src/components/SafeDepositRental/RenderRadioButtons.tsx +1 -1
  1266. package/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
  1267. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
  1268. package/src/components/StepsBlock/StepsBlock.mobile.tsx +5 -5
  1269. package/src/components/StepsBlock/StepsBlock.tsx +20 -20
  1270. package/src/components/StepsBlock/renderStep.tsx +7 -7
  1271. package/src/components/Tabs/renderGroupTab.tsx +1 -1
  1272. package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +1 -1
  1273. package/src/components/TariffsTable/TableTileHeader.tsx +1 -1
  1274. package/src/components/TariffsTable/TariffsTable.mobile.tsx +1 -2
  1275. package/src/components/TariffsTable/TariffsTable.tsx +4 -19
  1276. package/src/components/TariffsTable/TariffsTableRenderCell.tsx +1 -1
  1277. package/src/components/TariffsTable/TariffsTableRow.tsx +2 -2
  1278. package/src/components/TariffsTable/TariffsTableTileCell.tsx +1 -1
  1279. package/src/components/Tile/Tile.tsx +1 -1
  1280. package/src/components/Tile/Tile.ui.json +10 -0
  1281. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +1 -1
  1282. package/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
  1283. package/src/content-page-repository/transformDocument.ts +3 -0
  1284. package/src/content-page-repository/transformImg.ts +1 -1
  1285. package/src/model/Attachment.ts +2 -0
  1286. package/src/model/ContentPageDef.ts +1 -4
  1287. package/src/model/JSXBlock.ts +2 -2
  1288. package/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +1 -1
  1289. package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
  1290. package/src/ui-kit/BaseTile/BaseTile.tsx +3 -3
  1291. package/src/ui-kit/BenefitItem/BenefitItem.tsx +1 -1
  1292. package/src/ui-kit/BlockWrapper.tsx +1 -1
  1293. package/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1294. package/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
  1295. package/src/ui-kit/Dialog/Dialog.tsx +3 -3
  1296. package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +4 -6
  1297. package/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1298. package/src/ui-kit/InnerTable/InnerTableHeader.tsx +4 -4
  1299. package/src/ui-kit/Input/Input.tsx +1 -1
  1300. package/src/ui-kit/InputRange/InputRange.tsx +1 -1
  1301. package/src/ui-kit/LinkButton/LinkButton.tsx +2 -2
  1302. package/src/ui-kit/List/List.fixture.tsx +4 -4
  1303. package/src/ui-kit/List/List.tsx +4 -4
  1304. package/src/ui-kit/List/ListItem.tsx +3 -3
  1305. package/src/ui-kit/LocationDialog/LocationDialog.tsx +5 -5
  1306. package/src/ui-kit/Logo/renderTitle.tsx +1 -1
  1307. package/src/ui-kit/NumberInput/NumberInput.fixture.tsx +1 -1
  1308. package/src/ui-kit/RichText/RichText.fixture.tsx +1 -1
  1309. package/src/ui-kit/RichText/RichTextProps.ts +8 -6
  1310. package/src/ui-kit/SearchDialog/SearchInput.tsx +1 -1
  1311. package/src/ui-kit/Select/Select.tsx +1 -1
  1312. package/src/ui-kit/Tags/Tags.fixture.tsx +1 -1
  1313. package/src/ui-kit/YandexMap/renderSearchField.tsx +2 -1
  1314. package/src/utils/formatBytes.ts +12 -0
  1315. package/tailwind.config.cjs +15 -12
@@ -337,7 +337,7 @@
337
337
  transparent: 'bg-transparent text-primary-text',
338
338
  '': '',
339
339
  };
340
- const BlockWrapper = JSX(({ className, version = 'primary', isTheme = true, defaultPadding = 'p-m', padding, block, tag = 'section', role, children, }) => {
340
+ const BlockWrapper = JSX(({ className, version = 'primary', isTheme = true, defaultPadding = 'p-xl', padding, block, tag = 'section', role, children, }) => {
341
341
  const Tag = tag;
342
342
  const ref = useBlockIntersectionObserver(block);
343
343
  const [isHidden, setHidden] = useState(false);
@@ -622,7 +622,7 @@
622
622
 
623
623
  const ButtonInner = JSX((props) => {
624
624
  const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
625
- return (jsxs("div", { className: style(getButtonStyle(props), 'flex gap-2'), children: [appendLeft ? jsx("div", { className: iconStyleMap[version], children: appendLeft }) : null, isWithText(props) ? (jsxs("div", { children: [aboveText ? jsx("div", { className: "text-xs font-light text-left", children: aboveText }) : null, jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-0.5' : 'text-l'}`, children: text })] })) : null, appendRight ? jsx("div", { className: iconStyleMap[version], children: appendRight }) : null] }));
625
+ return (jsxs("div", { className: style(getButtonStyle(props), 'flex gap-2'), children: [appendLeft ? jsx("div", { className: iconStyleMap[version], children: appendLeft }) : null, isWithText(props) ? (jsxs("div", { children: [aboveText ? jsx("div", { className: "text-xs font-light text-left", children: aboveText }) : null, jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-3xs' : 'text-l'}`, children: text })] })) : null, appendRight ? jsx("div", { className: iconStyleMap[version], children: appendRight }) : null] }));
626
626
  });
627
627
  const getButtonStyle = (props) => {
628
628
  const { version, aboveText, rounded } = props;
@@ -687,7 +687,7 @@
687
687
  const validStyle = valid
688
688
  ? 'border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text'
689
689
  : 'border-error';
690
- return (jsxs("div", { className: style('relative', className), children: [jsxs("label", { children: [label ? (jsx("div", { className: "mb-2", children: jsx(Text, { size: "text-m", font: "font-light", children: label }) })) : null, jsx("input", { className: style('w-full border rounded-md text-primary-text outline-none p-4', paddingStyle, validStyle, inputClassName), id: id, name: name || id, placeholder: placeholder, type: type, value: value, onInput: handleChange, onFocus: onFocus, onBlur: onBlur, pattern: pattern }, key)] }), children] }));
690
+ return (jsxs("div", { className: style('relative', className), children: [jsxs("label", { children: [label ? (jsx("div", { className: "mb-xs", children: jsx(Text, { size: "text-m", font: "font-light", children: label }) })) : null, jsx("input", { className: style('w-full border rounded-md text-primary-text outline-none p-4', paddingStyle, validStyle, inputClassName), id: id, name: name || id, placeholder: placeholder, type: type, value: value, onInput: handleChange, onFocus: onFocus, onBlur: onBlur, pattern: pattern }, key)] }), children] }));
691
691
  });
692
692
 
693
693
  const InputControl = JSX(({ className, label, value = '', error, onChange, onBlur }) => (jsxs("div", { className: className, children: [jsx(Input, { type: "text", "aria-label": label, label: label, valid: Boolean(!error), value: value, onChange: onChange, onBlur: onBlur }), jsx("div", { className: "h-2", children: error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null })] })));
@@ -798,7 +798,7 @@
798
798
  onChange && onChange(option);
799
799
  }, [onChange]);
800
800
  const isSelected = (option) => option.key === value?.key;
801
- return (jsxs("div", { className: className, ref: wrapperRef, children: [label ? (jsx("div", { className: "mb-2", children: jsx(Text, { size: "text-m", color: "text-primary-text", font: "font-light", children: label }) })) : null, jsxs("div", { className: style('relative', isOpen ? 'z-20' : 'z-10'), children: [jsxs("div", { className: style('text-l flex justify-between items-center text-primary-text cursor-pointer', getBorderStyle(isBorder, valid)), onClick: toggle, children: [jsx("p", { className: "p-4 pr-8 h-14 overflow-hidden text-ellipsis whitespace-nowrap", children: formatOption(value) || placeholder }), jsx(Icon, { className: style('absolute right-3', isOpen ? '' : 'rotate-180'), name: "ArrowUpIcon", width: "16", height: "16" })] }), options?.length ? (jsx("div", { className: style('h-0', isOpen ? '' : 'overflow-hidden'), children: jsx("div", { className: "bg-white text-l max-h-64 overflow-y-auto overflow-x-hidden rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]", children: options.map(renderOption(handleChange, isOpen, isSelected)) }) })) : null] })] }));
801
+ return (jsxs("div", { className: className, ref: wrapperRef, children: [label ? (jsx("div", { className: "mb-xs", children: jsx(Text, { size: "text-m", color: "text-primary-text", font: "font-light", children: label }) })) : null, jsxs("div", { className: style('relative', isOpen ? 'z-20' : 'z-10'), children: [jsxs("div", { className: style('text-l flex justify-between items-center text-primary-text cursor-pointer', getBorderStyle(isBorder, valid)), onClick: toggle, children: [jsx("p", { className: "p-4 pr-8 h-14 overflow-hidden text-ellipsis whitespace-nowrap", children: formatOption(value) || placeholder }), jsx(Icon, { className: style('absolute right-3', isOpen ? '' : 'rotate-180'), name: "ArrowUpIcon", width: "16", height: "16" })] }), options?.length ? (jsx("div", { className: style('h-0', isOpen ? '' : 'overflow-hidden'), children: jsx("div", { className: "bg-white text-l max-h-64 overflow-y-auto overflow-x-hidden rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]", children: options.map(renderOption(handleChange, isOpen, isSelected)) }) })) : null] })] }));
802
802
  });
803
803
  const renderOption = (handleChange, isOpen, isSelected) => (option, i) => (jsxs("div", { onClick: () => {
804
804
  handleChange(option);
@@ -971,7 +971,7 @@
971
971
  const handleChange = useCallback((e) => {
972
972
  onChange && onChange(parseDecimal(e.target?.value));
973
973
  }, [onChange]);
974
- return (jsxs("div", { className: className, children: [jsxs("label", { className: "block relative", children: [title ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: title })) : null, jsx("input", { className: style('m-0 mt-2 font-sans text-h3 w-full h-14', 'border border-solid border-gray rounded-md outline-none', 'p-0 pl-4 box-border', 'text-primary-text hover:border-primary-hover focus:border-primary-text', DISABLED_INPUT_CLASSES), disabled: disabled, onInput: handleChange, ...normalizedProps }), renderRangeWithTicks({ list, min, max, step, disabled, value, onChange })] }), renderRangeCaption(items)] }));
974
+ return (jsxs("div", { className: className, children: [jsxs("label", { className: "block relative", children: [title ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: title })) : null, jsx("input", { className: style('m-0 mt-xs font-sans text-h3 w-full h-14', 'border border-solid border-gray rounded-md outline-none', 'p-0 pl-4 box-border', 'text-primary-text hover:border-primary-hover focus:border-primary-text', DISABLED_INPUT_CLASSES), disabled: disabled, onInput: handleChange, ...normalizedProps }), renderRangeWithTicks({ list, min, max, step, disabled, value, onChange })] }), renderRangeCaption(items)] }));
975
975
  });
976
976
  const closestValue = (list) => (_) => list.reduce((prev, curr) => (Math.abs(curr - _) < Math.abs(prev - _) ? curr : prev));
977
977
  const renderRangeCaption = (items) => (jsx("div", { className: "flex justify-between my-2", children: items.map((item, i) => (jsx(Text, { size: "text-s", font: "font-light", color: "text-secondary-text", children: item }, String(i)))) }));
@@ -1104,7 +1104,7 @@
1104
1104
  return (jsxs("div", { className: "mb-3 sm:mb-6", children: [jsxs("div", { className: "mb-4 sm:flex sm:items-center sm:gap-6", children: [jsx(Checkbox, { className: "mb-3 sm:mb-0", text: "\u0412\u0430\u043B\u044E\u0442\u043D\u044B\u0439 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044C", ...field('currencyControl') }), jsx(Checkbox, { className: "mb-3 sm:mb-0", text: "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0440\u043D\u044B\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438", ...field('documentaryOperations') }), jsx(Checkbox, { className: "mb-3 sm:mb-0", text: "\u041A\u043E\u043D\u0432\u0435\u0440\u0441\u0438\u043E\u043D\u043D\u044B\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438", ...field('conversionOperations') })] }), jsx("textarea", { placeholder: "\u0423\u043A\u0430\u0436\u0438\u0442\u0435 \u0438\u043D\u0442\u0435\u0440\u0435\u0441\u0443\u044E\u0449\u0438\u0439 \u0432\u0430\u0441 \u0432\u043E\u043F\u0440\u043E\u0441, \u043C\u0435\u0441\u0442\u043E \u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0431\u0438\u0437\u043D\u0435\u0441\u0430 \u0438 \u0443\u0434\u043E\u0431\u043D\u043E\u0435 \u0432\u0440\u0435\u043C\u044F \u0434\u043B\u044F \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u043D\u043E\u0433\u043E \u0437\u0432\u043E\u043D\u043A\u0430", className: "block w-full resize-y min-h-24 p-4 outline-none border rounded-md border-main-stroke hover:border-primary-hover active:focus:border-primary-text", value: textField.value, onInput: ((e) => textField.onChange && textField.onChange(e.target?.value || '')) })] }));
1105
1105
  };
1106
1106
 
1107
- const renderWedDataOrganization = (field) => (jsxs("div", { children: [jsxs("div", { className: "sm:flex sm:justify-between sm:gap-5", children: [jsx("div", { className: "sm:w-1/2", children: jsx(InputControl, { className: "shrink-0 w-full mb-3", label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...withValidator(field('fullName'), defaultValidator) }) }), jsx("div", { className: "sm:w-1/2", children: jsx(InputControl, { className: "shrink-0 w-full mb-3", label: "\u0424\u0418\u041E", ...withValidator(field('name'), nameValidator) }) })] }), jsxs("div", { className: "sm:flex sm:justify-between sm:gap-5 sm:mb-7", children: [jsx("div", { className: "sm:w-1/2", children: jsx(PhoneInputControl, { className: "shrink-0 w-full mb-3", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) }) }), jsx("div", { className: "sm:w-1/2", children: jsx(InputControl, { className: "shrink-0 w-full mb-3", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) }) })] })] }));
1107
+ const renderWedDataOrganization = (field) => (jsxs("div", { children: [jsxs("div", { className: "sm:flex sm:justify-between sm:gap-lg", children: [jsx("div", { className: "sm:w-1/2", children: jsx(InputControl, { className: "shrink-0 w-full mb-s", label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...withValidator(field('fullName'), defaultValidator) }) }), jsx("div", { className: "sm:w-1/2", children: jsx(InputControl, { className: "shrink-0 w-full mb-s", label: "\u0424\u0418\u041E", ...withValidator(field('name'), nameValidator) }) })] }), jsxs("div", { className: "sm:flex sm:justify-between sm:gap-lg sm:mb-2xl", children: [jsx("div", { className: "sm:w-1/2", children: jsx(PhoneInputControl, { className: "shrink-0 w-full mb-s", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) }) }), jsx("div", { className: "sm:w-1/2", children: jsx(InputControl, { className: "shrink-0 w-full mb-s", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) }) })] })] }));
1108
1108
 
1109
1109
  const initialFormState = {
1110
1110
  fullName: '',
@@ -1137,13 +1137,13 @@
1137
1137
  });
1138
1138
  }, [onSubmit]);
1139
1139
  const [, { field, ...formProps }] = useForm(initialFormState, handleSubmit);
1140
- return (jsxs("form", { className: "container", onSubmit: formProps.onSubmit, children: [jsx(Heading, { headingType: "h6", title: "\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", className: "sm:text-center mb-4" }), renderWedDataOrganization(field), jsx(Heading, { headingType: "h6", title: "\u0418\u043D\u0442\u0435\u0440\u0435\u0441\u0443\u044E\u0449\u0438\u0439 \u0432\u043E\u043F\u0440\u043E\u0441", className: "sm:text-center mb-4" }), renderQuestionsInterested(field), jsxs("div", { className: "flex flex-col border-b border-main-divider mb-5 pb-5 sm:items-center sm:flex-row sm:mb-9 sm:pb-9", children: [renderSubmitButton(button, 'mb-4 sm:mr-5 sm:mb-0'), jsx(Footnote, { link: link })] }), jsx(Heading, { headingType: "h6", title: "\u0418\u043B\u0438 \u0441\u0432\u044F\u0436\u0438\u0442\u0435\u0441\u044C \u0441 \u043D\u0430\u043C\u0438 \u0443\u0434\u043E\u0431\u043D\u044B\u043C \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u043C", className: "sm:text-center mb-4" }), renderContacts()] }));
1140
+ return (jsxs("form", { className: "container", onSubmit: formProps.onSubmit, children: [jsx(Heading, { headingType: "h6", title: "\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", className: "sm:text-center mb-m" }), renderWedDataOrganization(field), jsx(Heading, { headingType: "h6", title: "\u0418\u043D\u0442\u0435\u0440\u0435\u0441\u0443\u044E\u0449\u0438\u0439 \u0432\u043E\u043F\u0440\u043E\u0441", className: "sm:text-center mb-m" }), renderQuestionsInterested(field), jsxs("div", { className: "flex flex-col border-b border-main-divider mb-5 pb-5 sm:items-center sm:flex-row sm:mb-9 sm:pb-9", children: [renderSubmitButton(button, 'mb-m sm:mr-lg sm:mb-0'), jsx(Footnote, { link: link })] }), jsx(Heading, { headingType: "h6", title: "\u0418\u043B\u0438 \u0441\u0432\u044F\u0436\u0438\u0442\u0435\u0441\u044C \u0441 \u043D\u0430\u043C\u0438 \u0443\u0434\u043E\u0431\u043D\u044B\u043C \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u043C", className: "sm:text-center mb-m" }), renderContacts()] }));
1141
1141
  });
1142
1142
 
1143
1143
  const ResponseNotification = JSX(({ responseType }) => {
1144
1144
  const responseOK = responseType === 'OK';
1145
1145
  const backgroundColor = responseOK ? 'bg-ok' : 'bg-fail';
1146
- return (jsxs("div", { className: `flex items-center mt-5 p-5 rounded-md ${backgroundColor}`, children: [responseOK ? (jsx(Img, { image: { icon: 'ResponceOKIcon' }, width: "42", height: "42", className: "mr-4" })) : (jsx(Img, { image: { icon: 'ResponceFailIcon' }, width: "37", height: "34", className: "mr-4" })), jsxs("div", { children: [jsx(Heading, { headingType: "h6", title: responseOK ? 'Ваша заявка отправлена' : 'Не удалось отправить заявку', className: "mb-1" }), jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: responseOK ? 'Совсем скоро мы с вами свяжемся' : 'Пожалуйста, повторите позднее' })] })] }));
1146
+ return (jsxs("div", { className: `flex items-center mt-lg p-lg rounded-md space-x-m ${backgroundColor}`, children: [responseOK ? (jsx(Img, { image: { icon: 'ResponceOKIcon' }, width: "42", height: "42" })) : (jsx(Img, { image: { icon: 'ResponceFailIcon' }, width: "37", height: "34" })), jsxs("div", { children: [jsx(Heading, { headingType: "h6", title: responseOK ? 'Ваша заявка отправлена' : 'Не удалось отправить заявку', className: "mb-1" }), jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: responseOK ? 'Совсем скоро мы с вами свяжемся' : 'Пожалуйста, повторите позднее' })] })] }));
1147
1147
  });
1148
1148
 
1149
1149
  const COMPONENTS_MAP = {
@@ -1162,7 +1162,7 @@
1162
1162
  setResponseType(status);
1163
1163
  return status;
1164
1164
  }, []);
1165
- return (jsx(BlockWrapper, { className: className, defaultPadding: "p-default", ...rest, children: jsxs("div", { className: "container max-w-[978px]", children: [title ? (jsx(Heading, { headingType: "h3", title: title, className: "mb-4 sm:mb-8 sm:text-center" })) : null, COMPONENTS_MAP[typeForm]({ button, link, onSubmit: handleSubmit }), responseType ? jsx(ResponseNotification, { responseType: responseType }) : null] }) }));
1165
+ return (jsx(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: jsxs("div", { className: "container max-w-[978px]", children: [title ? (jsx(Heading, { headingType: "h3", title: title, className: "mb-4 sm:mb-8 sm:text-center" })) : null, COMPONENTS_MAP[typeForm]({ button, link, onSubmit: handleSubmit }), responseType ? jsx(ResponseNotification, { responseType: responseType }) : null] }) }));
1166
1166
  });
1167
1167
 
1168
1168
  const iconBgStyles = {
@@ -1181,21 +1181,21 @@
1181
1181
 
1182
1182
  const defaultIconSize = 44;
1183
1183
 
1184
- const BenefitsBlock = JSX(({ className = '', title, benefitList, ...rest }) => (jsxs(BlockWrapper, { className: className, defaultPadding: "p-default", ...rest, children: [title ? jsx(Heading, { headingType: "h3", as: "h2", className: "text-center", title: title }) : null, benefitList?.length ? (jsx("div", { className: "flex flex-wrap w-full sm:justify-center mt-m gap-xl", role: "list", children: benefitList.map(renderBenefit) })) : null] })));
1185
- const renderBenefit = (benefit, i) => (jsxs("div", { className: "flex gap-s items-center md:basis-1/2 md:max-w-[400px]", role: "listitem", children: [benefit?.icon?.icon ? (jsx(RoundedIcon, { className: "shrink-0", defaultIconSize: defaultIconSize, iconBgVersion: benefit?.iconBgVersion || '', ...benefit?.icon })) : null, benefit?.icon?.src ? jsx(Img, { className: "shrink-0", image: benefit.icon }) : null, benefit?.label ? (jsxs("div", { className: "sm:h-full", children: [jsx(Heading, { headingType: "h6", children: benefit.label }), renderDescription$4(benefit.description)] })) : null] }, String(i)));
1186
- const renderDescription$4 = (description) => {
1184
+ const BenefitsBlock = JSX(({ className = '', title, benefitList, ...rest }) => (jsxs(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: [title ? jsx(Heading, { headingType: "h3", as: "h2", className: "text-center", title: title }) : null, benefitList?.length ? (jsx("div", { className: "flex flex-wrap w-full sm:justify-center mt-xl gap-5xl", role: "list", children: benefitList.map(renderBenefit) })) : null] })));
1185
+ const renderBenefit = (benefit, i) => (jsxs("div", { className: "flex gap-m items-center md:basis-1/2 md:max-w-[400px]", role: "listitem", children: [benefit?.icon?.icon ? (jsx(RoundedIcon, { className: "shrink-0", defaultIconSize: defaultIconSize, iconBgVersion: benefit?.iconBgVersion || '', ...benefit?.icon })) : null, benefit?.icon?.src ? jsx(Img, { className: "shrink-0", image: benefit.icon }) : null, benefit?.label ? (jsxs("div", { className: "sm:h-full", children: [jsx(Heading, { headingType: "h6", children: benefit.label }), renderDescription$3(benefit.description)] })) : null] }, String(i)));
1186
+ const renderDescription$3 = (description) => {
1187
1187
  const benefitType = description?.benefitType || null;
1188
- return description && benefitType ? (jsx("div", { className: "mt-2 text-l font-light text-secondary-text group-data-secondary:text-white/80", children: benefitType === 'list'
1188
+ return description && benefitType ? (jsx("div", { className: "mt-xs text-l font-light text-secondary-text group-data-secondary:text-white/80", children: benefitType === 'list'
1189
1189
  ? renderListBenefit(description)
1190
1190
  : renderTextBenefit(description) })) : null;
1191
1191
  };
1192
1192
  const renderTextBenefit = (description) => description?.name || null;
1193
1193
  const renderListBenefit = (description) => {
1194
- const listStyleType = description?.bullets ? 'list-disc pl-6' : '';
1194
+ const listStyleType = description?.bullets ? 'list-disc pl-3xl' : '';
1195
1195
  return description?.items && description.items.length > 0 ? (jsx("ul", { className: listStyleType, children: description.items.map((_, i) => (jsx("li", { children: _ }, `benefitListItem-${i}`))) })) : null;
1196
1196
  };
1197
1197
 
1198
- const renderButtonsSection = (buttons, { className, buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (jsx("div", { className: style('flex', isVertical ? 'flex-col gap-xs justify-items-stretch' : 'flex-wrap gap-s', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
1198
+ const renderButtonsSection = (buttons, { className, buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (jsx("div", { className: style('flex', isVertical ? 'flex-col gap-xs justify-items-stretch' : 'flex-wrap gap-m', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
1199
1199
  const renderButton = (buttonClassName = '') => (button, index) => {
1200
1200
  const { text, icon, iconRight, version, ...rest } = button || {};
1201
1201
  const iconVersionDefault = version === 'secondary' ? 'color' : 'white';
@@ -1210,25 +1210,25 @@
1210
1210
  title: { headingType: 'h0', as: 'h1' },
1211
1211
  descriptionSize: 'text-h5',
1212
1212
  descriptionWeight: 'font-normal',
1213
- descriptionStyle: 'mt-m',
1213
+ descriptionStyle: 'mt-xl',
1214
1214
  },
1215
1215
  XL: {
1216
1216
  title: { headingType: 'h1', as: 'h1' },
1217
1217
  descriptionSize: 'text-xl',
1218
1218
  descriptionWeight: 'font-light',
1219
- descriptionStyle: 'mt-s',
1219
+ descriptionStyle: 'mt-m',
1220
1220
  },
1221
1221
  L: {
1222
1222
  title: { headingType: 'h2', as: 'h2' },
1223
1223
  descriptionSize: 'text-xl',
1224
1224
  descriptionWeight: 'font-light',
1225
- descriptionStyle: 'mt-s',
1225
+ descriptionStyle: 'mt-m',
1226
1226
  },
1227
1227
  M: {
1228
1228
  title: { headingType: 'h3', as: 'h2' },
1229
1229
  descriptionSize: 'text-xl',
1230
1230
  descriptionWeight: 'font-light',
1231
- descriptionStyle: 'mt-text',
1231
+ descriptionStyle: 'mt-s',
1232
1232
  },
1233
1233
  S: {
1234
1234
  title: { headingType: 'h4', as: 'h2' },
@@ -1258,13 +1258,13 @@
1258
1258
  const Headline = JSX(({ className, version = '', headlineVersion = 'XL', title, description, align = 'text-center', as, isPadding = true, isTheme = false, ...rest }) => {
1259
1259
  const versionStyle = headlineVersionStyles[headlineVersion];
1260
1260
  const descriptionStyle = { marginTop: versionStyle.descriptionStyle };
1261
- return (jsxs(BlockWrapper, { className: className, defaultPadding: isPadding ? 'p-default' : '', version: version, isTheme: isTheme, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-pre-wrap', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { size: versionStyle.descriptionSize, font: versionStyle.descriptionWeight, align: align, ...descriptionStyle, children: description })) : null] }));
1261
+ return (jsxs(BlockWrapper, { className: className, defaultPadding: isPadding ? 'p-6xl' : '', version: version, isTheme: isTheme, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-pre-wrap', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { size: versionStyle.descriptionSize, font: versionStyle.descriptionWeight, align: align, ...descriptionStyle, children: description })) : null] }));
1262
1262
  });
1263
1263
 
1264
1264
  const Bonus = JSX((props) => {
1265
1265
  const { className = '', title, description, bonusItems, ...rest } = props;
1266
- return (jsx(BlockWrapper, { className: className, defaultPadding: "p-default", ...rest, children: jsxs("div", { className: "container", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M" }), jsx("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems?.length
1267
- ? bonusItems.map((_, i) => (jsxs("div", { className: "flex-grow w-[49%] border border-gray p-9 mb-3 mx-2 even:mr-0 odd:ml-0 last:odd:mx-0", children: [_?.title ? jsx(Text, { size: "text-h4", children: _.title }) : null, _?.description ? (jsx("div", { className: "mt-2", children: jsx(Paragraph, { size: "text-xl", font: "font-light", children: _.description }) })) : null, jsxs("div", { className: "flex justify-between items-end mt-3", children: [renderButtonsSection(_?.buttons), _.bonusItemContent?.bonusType
1266
+ return (jsx(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: jsxs("div", { className: "container", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M" }), jsx("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems?.length
1267
+ ? bonusItems.map((_, i) => (jsxs("div", { className: "flex-grow w-[49%] border border-gray p-9 mb-3 mx-2 even:mr-0 odd:ml-0 last:odd:mx-0", children: [_?.title ? jsx(Text, { size: "text-h4", children: _.title }) : null, _?.description ? (jsx("div", { className: "mt-xs", children: jsx(Paragraph, { size: "text-xl", font: "font-light", children: _.description }) })) : null, jsxs("div", { className: "flex justify-between items-end mt-3", children: [renderButtonsSection(_?.buttons), _.bonusItemContent?.bonusType
1268
1268
  ? renderBonusItemContent(_.bonusItemContent)
1269
1269
  : null] })] }, String(i))))
1270
1270
  : null })] }) }));
@@ -1304,20 +1304,20 @@
1304
1304
  }
1305
1305
  };
1306
1306
 
1307
- const BonusBenefitsBlock = JSX(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => (jsxs(BlockWrapper, { className: style('p-default', className), defaultPadding: "p-default", ...rest, children: [jsx(Headline, { className: "mb-4 sm:mb-8", isPadding: false, title: title, description: subtitle, headlineVersion: "M" }), bonusBenefits?.length
1307
+ const BonusBenefitsBlock = JSX(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => (jsxs(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { className: "mb-4 sm:mb-3xl", isPadding: false, title: title, description: subtitle, headlineVersion: "M" }), bonusBenefits?.length
1308
1308
  ? renderBonusBenefits(bonusBenefits, columnsCount, cardTextAlign)
1309
1309
  : null] })));
1310
1310
 
1311
1311
  const BusinessCard = JSX((props) => {
1312
1312
  const { title, image, cardItems, button } = props;
1313
- return (jsxs("div", { className: "border-gray border p-9 w-1/2", children: [image ? (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(Img, { className: "mb-5", image: image }) : null, image?.icon ? jsx(Img, { image: image }) : null] })) : null, title ? jsx(Heading, { headingType: "h4", title: title, className: "mb-6" }) : null, cardItems?.length ? jsx("ul", { children: cardItems.map((_, i) => renderItem(_, String(i))) }) : null, renderButtonsSection([button], { buttonClassName: 'mt-6' })] }));
1313
+ return (jsxs("div", { className: "border-gray border p-4xl w-1/2 space-y-lg", children: [image ? (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(Img, { image: image }) : null, image?.icon ? jsx(Img, { image: image }) : null] })) : null, title ? jsx(Heading, { headingType: "h4", title: title }) : null, cardItems?.length ? (jsx("ul", { className: "space-y-s", children: cardItems.map((_, i) => renderItem(_, String(i))) })) : null, renderButtonsSection([button])] }));
1314
1314
  });
1315
1315
  const renderItem = (item, key) => {
1316
1316
  const { icon, text } = item;
1317
- return (jsxs("li", { className: "flex items-center gap-3.5 mb-3 last:mb-0", children: [icon?.icon ? (jsx(Img, { image: icon, className: "w-12 h-12 min-w-12 p-3 rounded-icon bg-main-divider" })) : null, icon?.src ? jsx(Img, { image: icon }) : null, jsx(Text, { size: "text-xl", font: "font-light", children: text })] }, key));
1317
+ return (jsxs("li", { className: "flex items-center gap-s last:mb-0", children: [icon?.icon ? (jsx(Img, { image: icon, className: "w-12 h-12 min-w-12 p-s rounded-icon bg-main-divider" })) : null, icon?.src ? jsx(Img, { image: icon }) : null, jsx(Text, { size: "text-xl", font: "font-light", children: text })] }, key));
1318
1318
  };
1319
1319
 
1320
- const BusinessBlock = JSX(({ className, title, cards, ...rest }) => (jsxs(BlockWrapper, { className: className, defaultPadding: "p-default", ...rest, children: [jsx(Heading, { headingType: "h3", title: title, className: "text-center mb-8" }), jsx("div", { className: "flex gap-5", children: cards?.length ? cards.map((_, i) => jsx(BusinessCard, { ..._ }, String(i))) : null })] })));
1320
+ const BusinessBlock = JSX(({ className, title, cards, ...rest }) => (jsxs(BlockWrapper, { className: className, defaultPadding: "p-6xl space-y-3xl", ...rest, children: [jsx(Heading, { headingType: "h3", title: title, className: "text-center" }), jsx("div", { className: "flex gap-5", children: cards?.length ? cards.map((_, i) => jsx(BusinessCard, { ..._ }, String(i))) : null })] })));
1321
1321
 
1322
1322
  const ButtonsBlock = JSX(({ buttons, className, ...rest }) => (jsx(BlockWrapper, { className: style('!bg-transparent', className), defaultPadding: "p-0", ...rest, children: renderButtonsSection(buttons) })));
1323
1323
 
@@ -1360,8 +1360,17 @@
1360
1360
  const DEFAULT_MIN_SUM$1 = 10000;
1361
1361
  const DEFAULT_MAX_SUM$1 = 5000000;
1362
1362
  const CREDIT_DEFAULT_SUM = 200000;
1363
+ const REFINANCING_DEFAULT_SUM = 700000;
1364
+ const REFINANCING_DEFAULT_MAX_SUM = 3000000;
1365
+ const REFINANCING_OLD_MIN_SUM = 0;
1366
+ const REFINANCING_OLD_DEFAULT_SUM = 0;
1367
+ const REFINANCING_OLD_MAX_SUM = 2500000;
1368
+ const REFINANCING_EXTRA_MIN_SUM = 0;
1369
+ const REFINANCING_EXTRA_MAX_SUM = 500000;
1363
1370
  const DEPOSIT_DEFAULT_SUM = 20000;
1364
1371
  const DEFAULT_MIN_MONTHS$1 = 13;
1372
+ const DEFAULT_REFINANCING_MIN_MONTHS = 13;
1373
+ const DEFAULT_REFINANCING_MONTHS = 48;
1365
1374
  const DEFAULT_MAX_MONTHS$1 = 60;
1366
1375
  const DEFAULT_MONTHS = Math.round((DEFAULT_MAX_MONTHS$1 - DEFAULT_MIN_MONTHS$1) / 2);
1367
1376
  const BUSINESS_DEFAULT_SUM = 100000;
@@ -1384,6 +1393,20 @@
1384
1393
  isStateEmployee: false,
1385
1394
  isInsurance: true,
1386
1395
  };
1396
+ const DEFAULT_REFINANCING_CALCULATOR_PARAMS = {
1397
+ minSum: DEFAULT_MIN_SUM$1,
1398
+ maxSum: REFINANCING_DEFAULT_MAX_SUM,
1399
+ minSumOld: REFINANCING_OLD_MIN_SUM,
1400
+ maxSumOld: REFINANCING_OLD_MAX_SUM,
1401
+ minSumExtra: REFINANCING_EXTRA_MIN_SUM,
1402
+ maxSumExtra: REFINANCING_EXTRA_MAX_SUM,
1403
+ minMonths: DEFAULT_REFINANCING_MIN_MONTHS,
1404
+ maxMonths: DEFAULT_MAX_MONTHS$1,
1405
+ rate: 7.5,
1406
+ isExtraMoney: false,
1407
+ isSalaryClient: false,
1408
+ isInsurance: true,
1409
+ };
1387
1410
  const DEFAULT_TRAVEL_MIN_SUM = 6000;
1388
1411
  const DEFAULT_REST_MIN_SUM = 6000;
1389
1412
  const DEFAULT_BONUS_CALCULATOR_PARAMS = {
@@ -1423,6 +1446,7 @@
1423
1446
  const BONUS_CALC_DEFAULT_DIR = 'bonus-calculator-data';
1424
1447
  const DEPOSIT_CALC_DEFAULT_DIR = 'deposit-calculator-data';
1425
1448
  const BUSINESS_DEPOSIT_CALC_DEFAULT_DIR = 'business-calculator-data';
1449
+ const REFINANCING_CALC_DEFAULT_DIR = 'refinancing-calculator-data';
1426
1450
 
1427
1451
  const Rate = JSX(({ rate, title = 'Ставка', unit, depositeName, isShowDepositeName, rateBlockClassName, fractionDigits = 2, }) => (jsxs("div", { children: [jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: title }), jsxs("div", { className: "relative", children: [jsxs("div", { className: "flex justify-start gradient-color-text", children: [jsx("span", { className: style('font-mohave text-title-huge pr-6 -mt-4', rateBlockClassName), children: String(rate.toFixed(fractionDigits)).replace('.', ',') }), unit ? jsx("span", { className: "text-7xl", children: unit }) : null] }), depositeName && isShowDepositeName ? (jsx("div", { className: "absolute bottom-7 w-full text-center whitespace-nowrap", children: depositeName })) : null] })] })));
1428
1452
 
@@ -1473,7 +1497,7 @@
1473
1497
  restExpenseValue: DEFAULT_REST_MIN_SUM,
1474
1498
  });
1475
1499
  const { minSumTravel, maxSumTravel, minSumOther, maxSumOther, monthBonus, yearBonus } = useBonusCalculatorParams(userInputParams, sourceBookDir);
1476
- return (jsxs("section", { className: style('flex justify-between', className), children: [jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput({
1500
+ return (jsxs("section", { className: style('flex justify-between', className), children: [jsxs("div", { className: "w-2/5", children: [renderWantedSumInput({
1477
1501
  title: 'Сумма покупок в категории путешествия, ₽',
1478
1502
  min: minSumTravel,
1479
1503
  max: maxSumTravel,
@@ -1488,7 +1512,7 @@
1488
1512
  step: 500,
1489
1513
  isShowItems: false,
1490
1514
  ...field('restExpenseValue'),
1491
- })] }), jsx("div", { children: monthBonus >= 0 ? (jsx(Rate, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u043C\u0435\u0441\u044F\u0446", rate: monthBonus, rateBlockClassName: "tracking-[-14px]", fractionDigits: 0 })) : null }), jsxs("div", { className: "w-full max-w-[350px]", children: [yearBonus >= 0 ? jsx(CalculatorValueBlock, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u0433\u043E\u0434", value: yearBonus }) : null, renderButtonsSection(buttons, { className: 'mt-7', isVertical: true }), renderFootnote(footnote)] })] }));
1515
+ })] }), jsx("div", { children: monthBonus >= 0 ? (jsx(Rate, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u043C\u0435\u0441\u044F\u0446", rate: monthBonus, rateBlockClassName: "tracking-[-14px]", fractionDigits: 0 })) : null }), jsxs("div", { className: "w-96", children: [yearBonus >= 0 ? jsx(CalculatorValueBlock, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u0433\u043E\u0434", value: yearBonus }) : null, renderButtonsSection(buttons, { className: 'mt-7', isVertical: true }), renderFootnote(footnote)] })] }));
1492
1516
  });
1493
1517
 
1494
1518
  const STEP_DAYS = 1;
@@ -1511,12 +1535,15 @@
1511
1535
  ],
1512
1536
  });
1513
1537
 
1514
- const UnknownRate = JSX(({ title = 'Ставка' }) => (jsxs("div", { children: [jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: title }), jsx("div", { className: "mt-1 pt-1 pl-5 pb-1.5", children: jsx(Icon, { name: "PercentIcon", width: "90", height: "85" }) }), jsx("div", { className: "w-[250px] mt-3.5", children: jsxs(Paragraph, { size: "text-xl", font: "font-light", color: "text-primary-text", children: ["\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u043D\u0430\u044F \u0441\u0442\u0430\u0432\u043A\u0430 \u0434\u043B\u044F \u0441\u0440\u043E\u043A\u0430 ", jsx("strong", { children: "1-30 \u0434\u043D\u0435\u0439" }), " \u0443\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u043F\u0440\u0438 \u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u0438 \u0432 \u0411\u0430\u043D\u043A"] }) })] })));
1538
+ const UnknownRate = JSX(({ title = 'Ставка' }) => (jsxs("div", { children: [jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: title }), jsx("div", { className: "mt-2xs pt-2xs pl-lg pb-xs", children: jsx(Icon, { name: "PercentIcon", width: "90", height: "85" }) }), jsx("div", { className: "w-[250px] mt-m", children: jsxs(Paragraph, { size: "text-xl", font: "font-light", color: "text-primary-text", children: ["\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u043D\u0430\u044F \u0441\u0442\u0430\u0432\u043A\u0430 \u0434\u043B\u044F \u0441\u0440\u043E\u043A\u0430 ", jsx("strong", { children: "1-30 \u0434\u043D\u0435\u0439" }), " \u0443\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u043F\u0440\u0438 \u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u0438 \u0432 \u0411\u0430\u043D\u043A"] }) })] })));
1515
1539
 
1516
1540
  const defaultDiscriminator = (_) => _;
1517
1541
  const maxBy = (discriminator = defaultDiscriminator) => (list) => list.reduceRight((a, b) => (discriminator(a) > discriminator(b) ? a : b));
1518
1542
  const max = maxBy();
1519
1543
 
1544
+ const minBy = (discriminator = defaultDiscriminator) => maxBy((_) => -discriminator(_));
1545
+ const min = minBy();
1546
+
1520
1547
  const mergeIntervals = (intervals) => {
1521
1548
  const result = [...intervals];
1522
1549
  result.sort(([a], [c]) => a - c);
@@ -1534,9 +1561,6 @@
1534
1561
  return result;
1535
1562
  };
1536
1563
 
1537
- const minBy = (discriminator = defaultDiscriminator) => maxBy((_) => -discriminator(_));
1538
- const min = minBy();
1539
-
1540
1564
  const getLimitRangeByKeys = ([minKey, maxKey], limitParams, rateRows = []) => limitParams && limitParams[minKey] && limitParams[maxKey]
1541
1565
  ? {
1542
1566
  [minKey]: limitParams[minKey],
@@ -1544,8 +1568,12 @@
1544
1568
  }
1545
1569
  : getRangeByKeys([minKey, maxKey], rateRows);
1546
1570
  const getRangeByKeys = ([minKey, maxKey], rows = []) => ({
1547
- [minKey]: rows.length ? min(rows.filter((row) => row[minKey]).map((row) => row[minKey])) : 0,
1548
- [maxKey]: rows.length ? max(rows.filter((row) => row[maxKey]).map((row) => row[maxKey])) : 0,
1571
+ [minKey]: rows.length
1572
+ ? min(rows.filter((row) => typeof row[minKey] === 'number').map((row) => row[minKey]))
1573
+ : 0,
1574
+ [maxKey]: rows.length
1575
+ ? max(rows.filter((row) => typeof row[minKey] === 'number').map((row) => row[maxKey]))
1576
+ : 0,
1549
1577
  });
1550
1578
  const checkRangeByKeys = (value, [minKey, maxKey], sourceBookRow) => value >= sourceBookRow[minKey] && value <= sourceBookRow[maxKey];
1551
1579
 
@@ -1610,7 +1638,7 @@
1610
1638
  });
1611
1639
  const calculatorParams = useBusinessDepositCalculatorParams(userInputParams, sourceBookDir);
1612
1640
  const { income, finalSum, rate, depositeName, isShowUnknownRate } = calculatorParams;
1613
- return (jsxs("section", { className: className, children: [jsxs("div", { className: "flex justify-between", children: [jsxs("div", { className: "w-[486px]", children: [renderWantedSumInput({
1641
+ return (jsxs("section", { className: className, children: [jsxs("div", { className: "flex justify-between", children: [jsxs("div", { className: "w-2/5", children: [renderWantedSumInput({
1614
1642
  title: 'Сумма вклада, ₽',
1615
1643
  min: calculatorParams.minSum,
1616
1644
  max: calculatorParams.maxSum,
@@ -1626,7 +1654,7 @@
1626
1654
  title: 'Выплата процентов',
1627
1655
  orientation: 'vertical',
1628
1656
  ...field('isMonthlyInterestPayment'),
1629
- })] })] }), isShowUnknownRate ? (jsx(UnknownRate, {})) : (jsx(Rate, { rate: rate, depositeName: depositeName, isShowDepositeName: isShowDepositeName, rateBlockClassName: "tracking-[-25px]", unit: "%" })), jsxs("div", { className: "w-full max-w-[350px]", children: [jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" }), jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" }), renderButtonsSection(buttons, { className: 'mt-7', isVertical: true }), jsx("div", { className: "mt-7", children: renderFootnote(footnote) })] })] }), jsx("div", { className: "mt-5", children: renderFootnote(bottomFootnote) })] }));
1657
+ })] })] }), isShowUnknownRate ? (jsx(UnknownRate, {})) : (jsx(Rate, { rate: rate, depositeName: depositeName, isShowDepositeName: isShowDepositeName, rateBlockClassName: "tracking-[-25px]", unit: "%" })), jsxs("div", { className: "w-96", children: [jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" }), jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" }), renderButtonsSection(buttons, { className: 'mt-7', isVertical: true }), jsx("div", { className: "mt-7", children: renderFootnote(footnote) })] })] }), jsx("div", { className: "mt-5", children: renderFootnote(bottomFootnote) })] }));
1630
1658
  });
1631
1659
  const renderBusinessDepositParamsForm = (calculatorParams, field) => (jsxs("div", { children: [jsx(Checkbox, { text: "\u041F\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435", disabled: calculatorParams.isDisabledOperatingDeposit, ...field('isReplenished'), value: calculatorParams.isReplenished }), jsx(Checkbox, { className: "mt-3", disabled: calculatorParams.isDisabledOperatingDeposit, text: "\u0427\u0430\u0441\u0442\u0438\u0447\u043D\u043E\u0435 \u0441\u043D\u044F\u0442\u0438\u0435", ...field('isPartialWithdrawal'), value: calculatorParams.isPartialWithdrawal }), jsx(Checkbox, { className: "mt-3", text: "\u042F\u0432\u043B\u044F\u044E\u0441\u044C \u043C\u0430\u043B\u044B\u043C \u043F\u0440\u0435\u0434\u043F\u0440\u0438\u044F\u0442\u0438\u0435\u043C", ...field('isSmallBusiness'), value: calculatorParams.isSmallBusiness })] }));
1632
1660
 
@@ -1642,27 +1670,27 @@
1642
1670
  ],
1643
1671
  });
1644
1672
 
1645
- const checkCreditSourceBookRowCommonParams = (props) => checkRowParam({
1673
+ const checkCreditSourceBookRowCommonParams = (props) => checkRowParam$1({
1646
1674
  ...props,
1647
1675
  fieldKey: 'isSalaryClient',
1648
1676
  viewSettingFieldKey: 'isShowSalaryClient',
1649
1677
  }) &&
1650
- checkRowParam({
1678
+ checkRowParam$1({
1651
1679
  ...props,
1652
1680
  fieldKey: 'isStateEmployee',
1653
1681
  viewSettingFieldKey: 'isShowStateEmployee',
1654
1682
  }) &&
1655
- checkRowParam({
1683
+ checkRowParam$1({
1656
1684
  ...props,
1657
1685
  fieldKey: 'isPensionClient',
1658
1686
  viewSettingFieldKey: 'isShowPensionClient',
1659
1687
  }) &&
1660
- checkRowParam({
1688
+ checkRowParam$1({
1661
1689
  ...props,
1662
1690
  fieldKey: 'isInsurance',
1663
1691
  viewSettingFieldKey: 'isShowInsurance',
1664
1692
  });
1665
- const checkRowParam = ({ row, userInputParams, paramsViewSettings, fieldKey, viewSettingFieldKey, }) => {
1693
+ const checkRowParam$1 = ({ row, userInputParams, paramsViewSettings, fieldKey, viewSettingFieldKey, }) => {
1666
1694
  const isExclude = paramsViewSettings ? !paramsViewSettings[viewSettingFieldKey] : false;
1667
1695
  return isExclude || userInputParams[fieldKey] === row[fieldKey];
1668
1696
  };
@@ -1686,13 +1714,18 @@
1686
1714
  * https://finuslugi.ru/potrebitelskie_kredity/stat_annuitetnye_i_differentsirovannye_platezhi
1687
1715
  */
1688
1716
  const getMonthlyPayment = (rate, params) => {
1689
- const { isAnnuity, moneyValue, monthsValue } = params;
1717
+ const { isAnnuity, moneyValue, monthsValue, moneyExtra } = params;
1690
1718
  if (rate === 0) {
1691
1719
  return 0;
1692
1720
  }
1693
1721
  else if (isAnnuity) {
1694
1722
  const i = rate / MONTHLY_INTEREST_RATE; // Используется значение ставки в процентах
1695
- return moneyValue * (i + i / (Math.pow(1 + i, monthsValue) - 1));
1723
+ if (moneyExtra) {
1724
+ return (moneyValue + moneyExtra) * (i + i / (Math.pow(1 + i, monthsValue) - 1));
1725
+ }
1726
+ else {
1727
+ return moneyValue * (i + i / (Math.pow(1 + i, monthsValue) - 1));
1728
+ }
1696
1729
  }
1697
1730
  else {
1698
1731
  return Math.round(moneyValue / monthsValue) + moneyValue * (rate / (MONTHS_IN_YEAR * 100)); // Используется значение ставки (rate) в процентах, делённое на сто.
@@ -1746,7 +1779,7 @@
1746
1779
  monthsValue: DEFAULT_MONTHS,
1747
1780
  });
1748
1781
  const calculatorParams = useCreditCalculatorParams(userInputParams, sourceBookDir, paramsViewSettings);
1749
- return (jsxs("section", { className: style('flex justify-between', className), children: [jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput({
1782
+ return (jsxs("section", { className: style('flex justify-between', className), children: [jsxs("div", { className: "w-2/5", children: [renderWantedSumInput({
1750
1783
  title: 'Сумма кредита, ₽',
1751
1784
  step: 500,
1752
1785
  min: calculatorParams.minSum,
@@ -1759,9 +1792,9 @@
1759
1792
  max: calculatorParams.maxMonths,
1760
1793
  ...field('monthsValue'),
1761
1794
  value: calculatorParams.monthsValue,
1762
- }), jsx("div", { className: "mt-7", children: renderCreditParamsForm({ ...calculatorParams, ...paramsViewSettings }, field) })] }), jsx(Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.rate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "w-full max-w-[350px]", children: [jsx(CalculatorValueBlock, { title: 'Ежемесячный платеж', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), renderPaymentType({ orientation: 'vertical', ...field('isAnnuity') }), renderButtonsSection(buttons, { className: 'mt-7', isVertical: true }), renderFootnote(footnote)] })] }));
1795
+ }), jsx("div", { className: "mt-2xl", children: renderCreditParamsForm$1({ ...calculatorParams, ...paramsViewSettings }, field) })] }), jsx(Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.rate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "w-96", children: [jsx(CalculatorValueBlock, { title: 'Ежемесячный платеж', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), renderPaymentType({ orientation: 'vertical', ...field('isAnnuity') }), renderButtonsSection(buttons, { className: 'mt-2xl', isVertical: true }), renderFootnote(footnote)] })] }));
1763
1796
  });
1764
- const renderCreditParamsForm = (params, field) => (jsxs("div", { children: [params.isShowSalaryClient ? (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", ...field('isSalaryClient'), value: params.isSalaryClient })) : null, params.isShowStateEmployee ? (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", ...field('isStateEmployee'), value: params.isStateEmployee })) : null, params.isShowPensionClient ? (jsx(Checkbox, { className: "mt-3", text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u043F\u0435\u043D\u0441\u0438\u044E \u043D\u0430 \u043A\u0430\u0440\u0442\u0443 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0430", ...field('isPensionClient'), value: params.isPensionClient })) : null, params.isShowInsurance ? (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", ...field('isInsurance'), value: params.isInsurance })) : null] }));
1797
+ const renderCreditParamsForm$1 = (params, field) => (jsxs("div", { children: [params.isShowSalaryClient ? (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", ...field('isSalaryClient'), value: params.isSalaryClient })) : null, params.isShowStateEmployee ? (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", ...field('isStateEmployee'), value: params.isStateEmployee })) : null, params.isShowPensionClient ? (jsx(Checkbox, { className: "mt-3", text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u043F\u0435\u043D\u0441\u0438\u044E \u043D\u0430 \u043A\u0430\u0440\u0442\u0443 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0430", ...field('isPensionClient'), value: params.isPensionClient })) : null, params.isShowInsurance ? (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", ...field('isInsurance'), value: params.isInsurance })) : null] }));
1765
1798
 
1766
1799
  const renderRegistrationType = (props) => renderBinaryRadioButtonGroup({
1767
1800
  ...props,
@@ -1838,7 +1871,7 @@
1838
1871
  useEffect(() => {
1839
1872
  setMonthsValue && setMonthsValue(defaultMonth);
1840
1873
  }, [defaultMonth]);
1841
- return (jsxs("section", { className: style('flex justify-between', className), children: [jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput({
1874
+ return (jsxs("section", { className: style('flex justify-between', className), children: [jsxs("div", { className: "w-2/5", children: [renderWantedSumInput({
1842
1875
  title: 'Сумма вклада, ₽',
1843
1876
  min: calculatorParams.minSum,
1844
1877
  max: calculatorParams.maxSum,
@@ -1851,9 +1884,9 @@
1851
1884
  availableMonths: calculatorParams.availableMonths,
1852
1885
  ...field('monthsValue'),
1853
1886
  value: calculatorParams.monthsValue,
1854
- }), jsx("div", { className: "mt-7", children: renderDepositParamsForm({ ...calculatorParams, ...paramsViewSettings }, field) })] }), jsx(Rate, { rate: rate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "w-full max-w-[350px]", children: [jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" }), jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" }), renderButtonsSection(buttons, { className: 'mt-7', isVertical: true }), renderFootnote(footnote)] })] }));
1887
+ }), jsx("div", { className: "mt-2xl", children: renderDepositParamsForm({ ...calculatorParams, ...paramsViewSettings }, field) })] }), jsx(Rate, { rate: rate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "w-96", children: [jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" }), jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" }), renderButtonsSection(buttons, { className: 'mt-2xl', isVertical: true }), renderFootnote(footnote)] })] }));
1855
1888
  });
1856
- const renderDepositParamsForm = (params, field) => (jsxs("div", { className: "flex flex-col gap-y-7", children: [params.isShowMonthlyInterestPayment
1889
+ const renderDepositParamsForm = (params, field) => (jsxs("div", { className: "flex flex-col gap-y-2xl", children: [params.isShowMonthlyInterestPayment
1857
1890
  ? renderInterestPayment({
1858
1891
  title: 'Выплата процентов',
1859
1892
  ...field('isMonthlyInterestPayment'),
@@ -1867,11 +1900,140 @@
1867
1900
  })
1868
1901
  : null] }));
1869
1902
 
1903
+ const checkRefinancingSourceBookRowCommonParams = (props) => checkRowParam({
1904
+ ...props,
1905
+ fieldKey: 'isSalaryClient',
1906
+ viewSettingFieldKey: 'isShowSalaryClient',
1907
+ }) &&
1908
+ checkRowParam({
1909
+ ...props,
1910
+ fieldKey: 'isInsurance',
1911
+ viewSettingFieldKey: 'isShowInsurance',
1912
+ }) &&
1913
+ checkRowParam({
1914
+ ...props,
1915
+ fieldKey: 'isExtraMoney',
1916
+ viewSettingFieldKey: 'isShowExtraMoney',
1917
+ });
1918
+ const checkRowParam = ({ row, userInputParams, paramsViewSettings, fieldKey, viewSettingFieldKey, }) => {
1919
+ const isExclude = paramsViewSettings ? !paramsViewSettings[viewSettingFieldKey] : false;
1920
+ return isExclude || userInputParams[fieldKey] === row[fieldKey];
1921
+ };
1922
+
1923
+ const getRefinancingCalculatorLimitParams = ({ limitRows, userInputParams, paramsViewSettings, }) => limitRows?.find((row) => checkRefinancingSourceBookRowCommonParams({
1924
+ row,
1925
+ userInputParams,
1926
+ paramsViewSettings,
1927
+ }));
1928
+
1929
+ const getRefinancingCalculatorRateParams = ({ rateRows = [], userInputParams, paramsViewSettings, moneyValue, monthsValue, oldMonthlyPayment, moneyExtra, }) => rateRows?.find((row) => checkRefinancingSourceBookRowCommonParams({
1930
+ row,
1931
+ userInputParams,
1932
+ paramsViewSettings,
1933
+ }) &&
1934
+ checkRangeByKeys(moneyValue, ['minSum', 'maxSum'], row) &&
1935
+ checkRangeByKeys(oldMonthlyPayment, ['minSumOld', 'maxSumOld'], row) &&
1936
+ checkRangeByKeys(moneyExtra, ['minSumExtra', 'maxSumExtra'], row) &&
1937
+ checkRangeByKeys(monthsValue, ['minMonths', 'maxMonths'], row)) || DEFAULT_REFINANCING_CALCULATOR_PARAMS;
1938
+
1939
+ const useRefinancingCalculatorParams = (userInputParams, sourceBookDir, paramsViewSettings) => {
1940
+ let { moneyValue, monthsValue, oldMonthlyPayment, moneyExtra } = userInputParams;
1941
+ const data = useCalculatorParams(sourceBookDir || REFINANCING_CALC_DEFAULT_DIR);
1942
+ const rateRows = data?.rateRows || [DEFAULT_REFINANCING_CALCULATOR_PARAMS];
1943
+ const limitRows = data?.limitRows || [];
1944
+ const sourceBookLimitParams = getRefinancingCalculatorLimitParams({
1945
+ limitRows,
1946
+ userInputParams,
1947
+ paramsViewSettings,
1948
+ });
1949
+ const { minSum, maxSum } = getLimitRangeByKeys(['minSum', 'maxSum'], sourceBookLimitParams, rateRows);
1950
+ const { minSumOld, maxSumOld } = getLimitRangeByKeys(['minSumOld', 'maxSumOld'], sourceBookLimitParams, rateRows);
1951
+ const { minSumExtra, maxSumExtra } = getLimitRangeByKeys(['minSumExtra', 'maxSumExtra'], sourceBookLimitParams, rateRows);
1952
+ const { minMonths, maxMonths } = getLimitRangeByKeys(['minMonths', 'maxMonths'], sourceBookLimitParams, rateRows);
1953
+ moneyValue = clamp(moneyValue, minSum, maxSum);
1954
+ oldMonthlyPayment = clamp(oldMonthlyPayment, minSumOld, maxSumOld);
1955
+ moneyExtra = clamp(moneyExtra, minSumExtra, maxSumExtra);
1956
+ monthsValue = clamp(monthsValue, minMonths, maxMonths);
1957
+ const refinancingCalculatorSourceBookRateParams = getRefinancingCalculatorRateParams({
1958
+ rateRows,
1959
+ userInputParams,
1960
+ paramsViewSettings,
1961
+ moneyValue,
1962
+ monthsValue,
1963
+ oldMonthlyPayment,
1964
+ moneyExtra,
1965
+ });
1966
+ const { rate } = refinancingCalculatorSourceBookRateParams;
1967
+ const monthlyPayment = getMonthlyPayment(rate, userInputParams);
1968
+ const benefit = userInputParams.oldMonthlyPayment - monthlyPayment;
1969
+ return useMemo(() => ({
1970
+ ...refinancingCalculatorSourceBookRateParams,
1971
+ ...userInputParams,
1972
+ minSum,
1973
+ maxSum,
1974
+ minMonths,
1975
+ maxMonths,
1976
+ moneyValue,
1977
+ monthsValue,
1978
+ oldMonthlyPayment,
1979
+ moneyExtra,
1980
+ monthlyPayment,
1981
+ benefit,
1982
+ }), [userInputParams, data]);
1983
+ };
1984
+
1985
+ const RefinancingCalculatorForm = JSX(({ className, sourceBookDir, buttons, footnote, paramsViewSettings }) => {
1986
+ const [userInputParams, { field }] = useForm({
1987
+ isAnnuity: true,
1988
+ isInsurance: true,
1989
+ isSalaryClient: false,
1990
+ isExtraMoney: false,
1991
+ moneyValue: REFINANCING_DEFAULT_SUM,
1992
+ oldMonthlyPayment: REFINANCING_OLD_DEFAULT_SUM,
1993
+ monthsValue: DEFAULT_REFINANCING_MONTHS,
1994
+ moneyExtra: REFINANCING_OLD_DEFAULT_SUM,
1995
+ });
1996
+ const calculatorParams = useRefinancingCalculatorParams(userInputParams, sourceBookDir, paramsViewSettings);
1997
+ return (jsxs("section", { className: style('flex justify-between', className), children: [jsxs("div", { className: "w-2/5", children: [renderWantedSumInput({
1998
+ title: 'Остаток долга в других банках, ₽ ',
1999
+ step: 500,
2000
+ min: calculatorParams.minSum,
2001
+ max: calculatorParams.maxSum,
2002
+ ...field('moneyValue'),
2003
+ value: calculatorParams.moneyValue,
2004
+ }), renderWantedSumInput({
2005
+ title: 'Ежемесячный платеж в других банках, ₽',
2006
+ isShowItems: false,
2007
+ step: 500,
2008
+ min: calculatorParams.minSumOld,
2009
+ max: calculatorParams.maxSumOld,
2010
+ ...field('oldMonthlyPayment'),
2011
+ value: calculatorParams.oldMonthlyPayment,
2012
+ }), renderMonthsInput({
2013
+ title: 'Новый срок кредита, месяцев',
2014
+ min: calculatorParams.minMonths,
2015
+ max: calculatorParams.maxMonths,
2016
+ ...field('monthsValue'),
2017
+ value: calculatorParams.monthsValue,
2018
+ }), jsx("div", { className: style('mt-7', calculatorParams.isExtraMoney ? 'mb-3' : ''), children: renderCreditParamsForm({ ...calculatorParams, ...paramsViewSettings }, field) }), calculatorParams.isExtraMoney
2019
+ ? renderWantedSumInput({
2020
+ title: 'Дополнительная сумма, ₽ ',
2021
+ step: 500,
2022
+ min: calculatorParams.minSumExtra,
2023
+ max: calculatorParams.maxSumExtra,
2024
+ ...field('moneyExtra'),
2025
+ value: calculatorParams.moneyExtra,
2026
+ })
2027
+ : null] }), jsx(Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.rate, fractionDigits: 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "w-96", children: [jsx(CalculatorValueBlock, { title: 'Ежемесячный платеж', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), calculatorParams.benefit > 0 ? (jsx(CalculatorValueBlock, { title: 'Выгода в месяц', value: calculatorParams.benefit, postfix: "\u20BD" })) : null, renderPaymentType({ orientation: 'vertical', ...field('isAnnuity') }), renderButtonsSection(buttons, { className: 'mt-7', isVertical: true }), renderFootnote(footnote)] })] }));
2028
+ });
2029
+ const renderCreditParamsForm = (params, field) => (jsxs("div", { children: [params.isShowSalaryClient ? (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", ...field('isSalaryClient'), value: params.isSalaryClient })) : null, params.isShowInsurance ? (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", ...field('isInsurance'), value: params.isInsurance })) : null, params.isShowExtraMoney ? (jsx(Checkbox, { className: "mt-3", text: "\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u0443\u044E \u0441\u0443\u043C\u043C\u0443", ...field('isExtraMoney'), value: params.isExtraMoney })) : null] }));
2030
+
1870
2031
  const EmbeddableCalcBlocks = {
1871
2032
  CreditCalculatorForm,
1872
2033
  DepositCalculatorForm,
1873
2034
  BusinessDepositCalculatorForm,
1874
2035
  BonusCalculatorForm,
2036
+ RefinancingCalculatorForm,
1875
2037
  };
1876
2038
 
1877
2039
  const renderCalculatorBlock = (block, i) => {
@@ -1903,23 +2065,23 @@
1903
2065
  });
1904
2066
  function renderNavButton$3({ tab, i, isActive, onClick }) {
1905
2067
  const btnClassName = isActive
1906
- ? 'h-[88px] w-[387px] min-w-[387px] p-5 border-none bg-primary-main text-white'
1907
- : `h-[77px] w-[328px] min-w-[328px] px-5 py-4 ease-in duration-300 bg-white text-primary-text`;
1908
- const btnTitleClassName = isActive ? 'text-xl mb-1.5' : `text-l mb-[3px]`;
2068
+ ? 'h-20 w-96 p-xl border-none bg-primary-main text-white'
2069
+ : `h-20 w-96 px-lg ease-in duration-300 bg-white text-primary-text`;
2070
+ const btnTitleClassName = isActive ? 'text-xl mb-xs' : `text-l mb-2xs`;
1909
2071
  const btnDescClassName = isActive
1910
2072
  ? 'text-l font-light text-white'
1911
2073
  : `text-m font-light text-secondary-text`;
1912
2074
  const iconClassName = isActive ? '' : `text-primary-main`;
1913
2075
  const iconVersion = tab?.icon?.iconVersion;
1914
2076
  const activeIconStyle = isActive ? 'white' : 'normal';
1915
- return (jsxs("button", { type: "button", onClick: onClick, "aria-label": tab?.title, className: style('box-border relative border border-gray cursor-pointer text-left border-b-0 flex hover:h-[88px]', btnClassName), children: [jsx(Img, { className: `h-6 w-6 min-w-6 min-h-6 mr-4 ${iconClassName}`, image: {
2077
+ return (jsxs("button", { type: "button", onClick: onClick, "aria-label": tab?.title, className: style('box-border relative border border-gray cursor-pointer text-left border-b-0 flex hover:h-20 space-x-m', btnClassName), children: [jsx(Img, { className: style('h-6 w-6 min-w-6 min-h-6', iconClassName), image: {
1916
2078
  ...tab?.icon,
1917
2079
  iconVersion: iconVersion ?? activeIconStyle,
1918
2080
  }, width: "24", height: "24" }), jsxs("div", { className: "border-0", children: [jsx("div", { className: btnTitleClassName, children: tab?.title }), jsx("div", { className: btnDescClassName, children: tab.description })] })] }, String(i)));
1919
2081
  }
1920
2082
  function renderTabs$1({ activeIndex, tabsNav, slideIndexShift, onClick }) {
1921
2083
  const CARD_SHIFT = 388;
1922
- return (jsxs("div", { children: [jsx("div", { style: { transform: `translateX(-${activeIndex * CARD_SHIFT}px)` }, className: "flex flex-col justify-end items-center h-[126px] pt-9 box-border duration-1000", children: jsx("div", { className: "w-full flex flex-nowrap items-end gap-2", children: tabsNav.map((tab, i) => renderNavButton$3({
2084
+ return (jsxs("div", { children: [jsx("div", { style: { transform: `translateX(-${activeIndex * CARD_SHIFT}px)` }, className: "flex flex-col justify-end items-center h-32 pt-4xl box-border duration-1000", children: jsx("div", { className: "w-full flex flex-nowrap items-end gap-xs", children: tabsNav.map((tab, i) => renderNavButton$3({
1923
2085
  tab,
1924
2086
  i,
1925
2087
  isActive: Boolean(i === slideIndexShift),
@@ -1957,7 +2119,7 @@
1957
2119
  ? getDisabledButtonClasses({ version: button?.version })
1958
2120
  : getRegularButtonClasses({ className: 'text-white', version: button?.version });
1959
2121
  const link = useLink();
1960
- return (jsxs(BlockWrapper, { className: style('flex flex-col items-center', className), defaultPadding: "p-default", ...rest, children: [title ? (jsx(Heading, { className: "pb-5 xl:pb-9 self-start xl:self-center", headingType: "h2", title: title })) : null, jsxs("form", { className: "w-full xl:max-w-[468px]", method: "POST", action: FORM_URL, children: [jsx(CurrencyInput, { name: AMOUNT_KEY, valid: !isDisabled, placeholder: placeholder, label: label, ...field(AMOUNT_KEY, { parse: Number, format: String }) }), button?.text ? (jsx("button", { type: "submit", className: style('w-full p-4 mt-5 xl:mt-6', buttonStyle), disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
2122
+ return (jsxs(BlockWrapper, { className: style('flex flex-col items-center', className), defaultPadding: "p-6xl", ...rest, children: [title ? (jsx(Heading, { className: "pb-5 xl:pb-9 self-start xl:self-center", headingType: "h2", title: title })) : null, jsxs("form", { className: "w-full xl:max-w-[468px]", method: "POST", action: FORM_URL, children: [jsx(CurrencyInput, { name: AMOUNT_KEY, valid: !isDisabled, placeholder: placeholder, label: label, ...field(AMOUNT_KEY, { parse: Number, format: String }) }), button?.text ? (jsx("button", { type: "submit", className: style('w-full p-4 mt-5 xl:mt-6', buttonStyle), disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
1961
2123
  });
1962
2124
 
1963
2125
  const defaultBlockDecorator = ({ blockClassName, block, render }) => render({ blockClassName, block });
@@ -2237,13 +2399,13 @@
2237
2399
  'CarouselInvestmentCard',
2238
2400
  'CarouselEventCard',
2239
2401
  ];
2240
- const getPaddingStyle$1 = (isPadding) => (isPadding ? 'p-default' : '');
2402
+ const getPaddingStyle$1 = (isPadding) => (isPadding ? 'p-6xl' : '');
2241
2403
  const getAlignStyle = (isAlignCenter) => isAlignCenter ? 'flex justify-center' : '';
2242
2404
 
2243
2405
  const CarouselBankHistoryCard = JSX(({ title, description, blocksLength = 0, activeIndex, options }) => {
2244
2406
  const orderNumber = Number(options?.key?.split('-').slice(-1)[0]) || 0;
2245
2407
  const isActive = orderNumber === activeIndex;
2246
- return (jsx(BlockWrapper, { className: "flex h-[485px]", defaultPadding: "p-0", children: isActive ? (jsx("div", { className: "relative flex items-center w-full", children: jsx(Headline, { headlineVersion: "M", title: title, description: description, align: "text-left", className: style('absolute z-10 h-[385px] w-[440px] p-8 text-white shadow-dark-blue', getActiveBlockPosition(orderNumber, blocksLength), getBackgroundColor(orderNumber)) }) })) : (jsx("div", { className: "flex w-full items-center justify-center", children: jsx("div", { className: style('flex justify-center items-center h-[300px] w-[340px] font-mohave text-title-large tracking-[-0.03em]', getBackgroundColor(orderNumber)), children: jsx("span", { className: getTextColor(orderNumber), children: title }) }) })) }));
2408
+ return (jsx(BlockWrapper, { className: "flex h-[485px]", defaultPadding: "p-0", children: isActive ? (jsx("div", { className: "relative flex items-center w-full", children: jsx(Headline, { headlineVersion: "M", title: title, description: description, align: "text-left", className: style('absolute z-10 h-[385px] w-[440px] p-3xl text-white shadow-dark-blue', getActiveBlockPosition(orderNumber, blocksLength), getBackgroundColor(orderNumber)) }) })) : (jsx("div", { className: "flex w-full items-center justify-center", children: jsx("div", { className: style('flex justify-center items-center h-[300px] w-[340px] font-mohave text-title-large tracking-[-0.03em]', getBackgroundColor(orderNumber)), children: jsx("span", { className: getTextColor(orderNumber), children: title }) }) })) }));
2247
2409
  });
2248
2410
  const getBackgroundColor = (orderNumber) => {
2249
2411
  const division = orderNumber % 3;
@@ -2303,8 +2465,8 @@
2303
2465
 
2304
2466
  const titleSize = 'L';
2305
2467
 
2306
- const BLOCK_CLASSES = 'absolute border border-solid border-gray w-full h-full sm:hidden';
2307
- const CarouselCard = JSX(({ className = '', button, description, title, carouselVersion = 'normal', version = '' }) => (jsx("section", { className: style('flex pb-9 pl-12 sm:p-5 border-box h-full sm:max-w-[375px]', getCardWidth(className, carouselVersion), className), children: jsxs("div", { className: "relative w-full", children: [jsx("div", { className: `${BLOCK_CLASSES} z-10 top-9 right-12 bg-green-dark` }), jsx("div", { className: `${BLOCK_CLASSES} z-10 top-6 right-8 bg-green` }), jsx("div", { className: `${BLOCK_CLASSES} z-10 top-3 right-4 bg-green-light` }), jsxs("div", { className: "relative h-full bg-white z-10 p-10 border border-solid border-green-light", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: titleSize, align: "text-left", version: version }), renderButtonsSection([button], {
2468
+ const BLOCK_CLASSES = 'absolute border border-solid border-gray w-full h-full hidden sm:block';
2469
+ const CarouselCard = JSX(({ className = '', button, description, title, carouselVersion = 'normal', version = '' }) => (jsx("section", { className: style('flex pl-6xl sm:p-lg border-box h-full sm:max-w-[375px]', getCardWidth(className, carouselVersion), className), children: jsxs("div", { className: "relative w-full", children: [jsx("div", { className: `${BLOCK_CLASSES} z-10 top-9 right-12 bg-green-dark` }), jsx("div", { className: `${BLOCK_CLASSES} z-10 top-6 right-8 bg-green` }), jsx("div", { className: `${BLOCK_CLASSES} z-10 top-3 right-4 bg-green-light` }), jsxs("div", { className: "relative h-full bg-white z-10 p-10 border border-solid border-green-light", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: titleSize, align: "text-left", version: version }), renderButtonsSection([button], {
2308
2470
  className: 'mt-14 sm:justify-center',
2309
2471
  isVertical: true,
2310
2472
  })] })] }) })));
@@ -2313,7 +2475,7 @@
2313
2475
  black: 'bg-black',
2314
2476
  white: 'bg-white',
2315
2477
  };
2316
- const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors, ...rest }) => (jsxs(BlockWrapper, { className: style('border box-border border-gray p-default sm:p-7 h-full flex flex-col justify-left', className), ...rest, 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: "mb-4", children: jsx(Paragraph, { size: "text-m", align: "text-left", font: "font-light", children: description }) })) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: jsx(Text, { size: "text-s", align: "text-left", font: "font-light", children: "\u0426\u0432\u0435\u0442\u0430:" }) }), colors.map(renderColorOption)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null, renderButtonsSection([button], { buttonClassName: 'mt-5 w-full' })] })));
2478
+ const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors, ...rest }) => (jsxs(BlockWrapper, { className: style('border box-border border-gray p-6xl sm:p-7 h-full flex flex-col justify-left gap-m', className), ...rest, children: [image?.src ? jsx(Img, { className: "flex justify-center", image: image }) : null, jsx(Headline, { title: title, description: description, headlineVersion: "XS", isPadding: false, align: "text-left" }), colors?.length ? (jsxs("div", { className: "flex text-secondary-text", children: [jsx("div", { className: "mr-xs", children: jsx(Text, { size: "text-s", align: "text-left", font: "font-light", children: "\u0426\u0432\u0435\u0442\u0430:" }) }), colors.map(renderColorOption)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null, renderButtonsSection([button], { buttonClassName: 'w-full' })] })));
2317
2479
  const renderColorOption = (color, i) => (jsx("div", { role: "figure", className: `w-6 h-6 ml-1 sm:ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
2318
2480
 
2319
2481
  const LinkWrapper = JSX(({ className = '', href, target, isRemote = false, children }) => {
@@ -2324,7 +2486,7 @@
2324
2486
  });
2325
2487
 
2326
2488
  const CarouselEventCard = JSX(({ className = '', icon, title, description, href, target, ...rest }) => {
2327
- return (jsx(BlockWrapper, { className: style('w-[365px]', className), defaultPadding: "p-0", ...rest, children: jsxs(LinkWrapper, { className: "flex flex-col", href: href, target: target, children: [icon?.icon ? jsx(Img, { image: icon }) : null, icon?.src ? jsx(Img, { image: icon }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left pt-3 mb-2", title: title })) : null, description ? (jsx("div", { className: "mb-4", children: jsx(Text, { font: "font-light", size: "text-m", color: "text-secondary-text", children: description }) })) : null] }) }));
2489
+ return (jsx(BlockWrapper, { className: style('w-[365px]', className), defaultPadding: "p-0", ...rest, children: jsxs(LinkWrapper, { className: "flex flex-col", href: href, target: target, children: [icon?.icon ? jsx(Img, { image: icon }) : null, icon?.src ? jsx(Img, { image: icon }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left pt-s mb-xs", title: title })) : null, description ? (jsx("div", { className: "mb-4", children: jsx(Text, { font: "font-light", size: "text-m", color: "text-secondary-text", children: description }) })) : null] }) }));
2328
2490
  });
2329
2491
 
2330
2492
  const imageAlignmentMap = {
@@ -2332,7 +2494,7 @@
2332
2494
  center: 'self-center',
2333
2495
  end: 'self-end',
2334
2496
  };
2335
- const BaseTile = JSX(({ className, defaultPadding, padding, title = '', insetTitle = '', buttons, leftImage, rightImage, imageAlign, backImage, children, }) => (jsxs("div", { className: style('relative flex flex-col gap-lg font-sans overflow-hidden', padding || defaultPadding, className), children: [backImage ? jsx("div", { className: "absolute bottom-0 right-0 z-0", children: backImage }) : null, title ? jsx("div", { className: "relative", children: title }) : null, jsxs("div", { className: "grow relative flex flex-wrap sm:flex-nowrap justify-between items-stretch gap-lg", children: [renderImageContainer(leftImage, { imageAlign }), jsxs("div", { className: style('flex flex-col gap-lg max-w-[600px] xl:max-w-[728px]', leftImage ? '' : 'grow'), children: [insetTitle, jsx("div", { className: "grow", children: children }), buttons] }), renderImageContainer(rightImage, { className: '-order-1 sm:order-1', imageAlign })] })] })));
2497
+ const BaseTile = JSX(({ className, defaultPadding, padding, title = '', insetTitle = '', buttons, leftImage, rightImage, imageAlign, backImage, children, }) => (jsxs("div", { className: style('relative flex flex-col gap-3xl font-sans overflow-hidden', padding || defaultPadding, className), children: [backImage ? jsx("div", { className: "absolute bottom-0 right-0 z-0", children: backImage }) : null, title ? jsx("div", { className: "relative", children: title }) : null, jsxs("div", { className: "grow relative flex flex-wrap sm:flex-nowrap justify-between items-stretch gap-3xl", children: [renderImageContainer(leftImage, { imageAlign }), jsxs("div", { className: style('flex flex-col gap-3xl max-w-[600px] xl:max-w-[728px]', leftImage ? '' : 'grow'), children: [insetTitle, jsx("div", { className: "grow", children: children }), buttons] }), renderImageContainer(rightImage, { className: '-order-1 sm:order-1', imageAlign })] })] })));
2336
2498
  const renderImageContainer = (image, { className, imageAlign }) => image ? (jsx("div", { className: style('flex-shrink-0', imageAlign && imageAlignmentMap[imageAlign], className), children: image })) : null;
2337
2499
 
2338
2500
  const getItemListFontSize = (colValue) => (colValue === 1 ? 'text-h6' : 'text-l');
@@ -2340,25 +2502,25 @@
2340
2502
  1: 'flex-col',
2341
2503
  2: 'gap-x-10 flex-wrap',
2342
2504
  };
2343
- const CarouselInvestmentCard = JSX(({ className, padding, additionalDescription, cardsList = [], columnsMode = 1, description, image, title, ...rest }) => (jsx(BlockWrapper, { className: style('box-border text-left w-[697px]', 'border border-solid border-gray group-data-secondary:border-white/50', className), padding: "p-0", ...rest, children: jsxs(BaseTile, { className: "h-full", defaultPadding: "p-m", padding: padding, title: title ? jsx(Heading, { headingType: "h4", as: "h3", className: "mb-3.5 z-10", title: title }) : null, backImage: image?.src ? jsx(Img, { image: image }) : null, children: [jsxs("div", { className: "flex justify-between mb-4", children: [description ? (jsx("div", { className: "w-1/3", children: jsx(Text, { size: "text-h6", children: description }) })) : null, additionalDescription ? (jsx(Text, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription })) : null] }), cardsList.length ? (jsx("ul", { className: style('list-none m-0 p-0 flex gap-y-2', cardColumnsModeStyleMap[columnsMode]), children: renderCardList(cardsList, columnsMode) })) : null] }) })));
2505
+ const CarouselInvestmentCard = JSX(({ className, padding, additionalDescription, cardsList = [], columnsMode = 1, description, image, title, ...rest }) => (jsx(BlockWrapper, { className: style('box-border text-left w-[697px]', 'border border-solid border-gray group-data-secondary:border-white/50', className), padding: "p-0", ...rest, children: jsxs(BaseTile, { className: "h-full", defaultPadding: "p-xl", padding: padding, title: title ? jsx(Heading, { headingType: "h4", as: "h3", className: "mb-m z-10", title: title }) : null, backImage: image?.src ? jsx(Img, { image: image }) : null, children: [jsxs("div", { className: "flex justify-between mb-4", children: [description ? (jsx("div", { className: "w-1/3", children: jsx(Text, { size: "text-h6", children: description }) })) : null, additionalDescription ? (jsx(Text, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription })) : null] }), cardsList.length ? (jsx("ul", { className: style('list-none m-0 p-0 flex gap-y-2', cardColumnsModeStyleMap[columnsMode]), children: renderCardList(cardsList, columnsMode) })) : null] }) })));
2344
2506
  const renderCardList = (cardsList, columnsMode) => {
2345
2507
  const CARDS_COUNT_MAP = [4, 9];
2346
2508
  const visibleCardsList = cardsList.slice(0, CARDS_COUNT_MAP[columnsMode - 1]);
2347
2509
  return visibleCardsList.map((item, i) => (jsxs("li", { className: columnsMode === 2 ? 'basis-[calc(50%-20px)]' : '', children: [item?.parameter ? (jsx("div", { className: "pr-2.5", children: jsx(Text, { size: getItemListFontSize(columnsMode), children: item.parameter }) })) : null, item?.parameterDescription ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: item.parameterDescription })) : null] }, String(i))));
2348
2510
  };
2349
2511
 
2350
- const LINK_CLASS_NAME = `absolute border border-primary-main ml-3 px-6 py-5
2512
+ const LINK_CLASS_NAME = `absolute border border-primary-main ml-s px-xl py-lg
2351
2513
  text-l font-light bg-white text-primary-text flex w-[316px]
2352
2514
  justify-between items-center group-hover/link:text-primary-main z-10`;
2353
2515
  const LINK_BORDER_CLASS_NAME = 'bg-transparent border-white border h-[70px] absolute w-[316px] top-0';
2354
2516
  const LinkButton = JSX(({ text, href = '', target = '', className = '' }) => {
2355
2517
  const link = useLink();
2356
2518
  const adjustedProps = link({ href, target });
2357
- return text ? (jsxs("div", { className: `relative group/link cursor-pointer w-[328px] h-[82px] ${className}`, children: [jsxs("a", { className: LINK_CLASS_NAME, role: "link", ...adjustedProps, children: [jsx("div", { className: "p-0.5", children: text }), jsx("div", { className: "w-6 h-6", children: jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border brightness-0 group-hover/link:brightness-100", image: { icon: 'ArrowRightIcon', iconVersion: 'black' }, imageClassName: "group-hover/link:text-primary-main", width: "24", height: "24" }) })] }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mx-1.5 mt-1.5` }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mt-3 mr-3` })] })) : null;
2519
+ return text ? (jsxs("div", { className: `relative group/link cursor-pointer w-[328px] h-[82px] ${className}`, children: [jsxs("a", { className: LINK_CLASS_NAME, role: "link", ...adjustedProps, children: [jsx("div", { className: "p-3xs", children: text }), jsx("div", { className: "w-6 h-6", children: jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border brightness-0 group-hover/link:brightness-100", image: { icon: 'ArrowRightIcon', iconVersion: 'black' }, imageClassName: "group-hover/link:text-primary-main", width: "24", height: "24" }) })] }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mx-1.5 mt-1.5` }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mt-3 mr-3` })] })) : null;
2358
2520
  });
2359
2521
 
2360
2522
  const MAX_LINKS_COUNT = 10;
2361
- const CarouselLinks = JSX(({ className, additionalDescription, description, links, title, ...rest }) => (jsxs(BlockWrapper, { className: style('flex w-full overflow-hidden justify-between', className), ...rest, children: [jsxs("div", { className: "flex flex-col max-w-96 pr-m text-white text-xl font-light", children: [jsx(Headline, { isPadding: false, title: title, description: description, as: "h1", align: "text-left" }), additionalDescription ? (jsx(Headline, { className: "pt-s", description: additionalDescription, align: "text-left", isPadding: false })) : null] }), links?.length ? renderLinks(links) : null] })));
2523
+ const CarouselLinks = JSX(({ className, additionalDescription, description, links, title, ...rest }) => (jsxs(BlockWrapper, { className: style('flex w-full overflow-hidden justify-between', className), ...rest, children: [jsxs("div", { className: "flex flex-col max-w-96 pr-xl text-white text-xl font-light", children: [jsx(Headline, { isPadding: false, title: title, description: description, as: "h1", align: "text-left" }), additionalDescription ? (jsx(Headline, { className: "pt-m", description: additionalDescription, align: "text-left", isPadding: false })) : null] }), links?.length ? renderLinks(links) : null] })));
2362
2524
  const renderLinks = (links) => {
2363
2525
  const itemCount = Math.ceil(links.length / MAX_LINKS_COUNT);
2364
2526
  return (jsx(Carousel, { className: "min-w-[832px] w-[832px]", version: "", isBlur: false, isCyclic: true, itemCount: itemCount, arrowsPadded: false, showDots: true, children: new Array(itemCount).fill(null).map((_, groupIndex) => (jsx("div", { className: "w-[672px] min-w-[672px] ml-10 mr-10 flex flex-wrap self-start", children: links
@@ -2367,9 +2529,9 @@
2367
2529
  };
2368
2530
 
2369
2531
  const DOT_SIZE_MAP = {
2370
- L: 'w-1.5 h-1.5 mr-4',
2371
- M: 'w-1.5 h-1.5 mr-3',
2372
- S: 'w-1 h-1 mr-2',
2532
+ L: 'w-1.5 h-1.5 mr-m',
2533
+ M: 'w-1.5 h-1.5 mr-s',
2534
+ S: 'w-1 h-1 mr-xs',
2373
2535
  };
2374
2536
  const ListItem = JSX(({ className, isDotted = true, children, size = 'M' }) => (jsxs("div", { className: style('font-sans flex', className), role: "listitem", children: [isDotted ? (jsx("div", { className: "shrink-0", children: jsx("div", { className: style('align-middle inline-block rounded-full bg-primary-text group-data-secondary:bg-white', DOT_SIZE_MAP[size]) }) })) : null, jsx("span", { children: children })] })));
2375
2537
 
@@ -2379,31 +2541,33 @@
2379
2541
  L: 'text-h5',
2380
2542
  };
2381
2543
  const ITEM_INDENT_MAP = {
2382
- S: 'ml-2',
2383
- M: 'ml-3',
2384
- L: 'ml-4',
2544
+ S: 'ml-xs',
2545
+ M: 'ml-s',
2546
+ L: 'ml-m',
2385
2547
  };
2386
- const List = JSX(({ className, hasIndent, isDotted, items, listItemSize = 'M' }) => items?.length ? (jsx("section", { className: style('flex flex-col gap-2 text-left text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text', TEXT_SIZE_MAP[listItemSize], hasIndent ? ITEM_INDENT_MAP[listItemSize] : '', className), role: "list", children: items.map((item, i) => (jsx(ListItem, { isDotted: isDotted, size: listItemSize, children: item }, String(i)))) })) : null);
2548
+ const List = JSX(({ className, hasIndent, isDotted, items, listItemSize = 'M' }) => items?.length ? (jsx("section", { className: style('flex flex-col gap-xs text-left text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text', TEXT_SIZE_MAP[listItemSize], hasIndent ? ITEM_INDENT_MAP[listItemSize] : '', className), role: "list", children: items.map((item, i) => (jsx(ListItem, { isDotted: isDotted, size: listItemSize, children: item }, String(i)))) })) : null);
2549
+
2550
+ const alignTextStyle = 'text-center';
2387
2551
 
2388
- const CarouselProductCard = JSX(({ additionalDescription, align = 'text-center', button = {}, className = '', description, headlineSmallVersion = 'H6', href, icon, isDotted = true, isFullWidth = true, items = [], target, title, version = 'primary', ...rest }) => {
2389
- return (jsxs(BlockWrapper, { className: style('h-full flex flex-col justify-between min-w-[260px]', 'box-border border-solid border border-gray', align, className), defaultPadding: "p-0", version: version, ...rest, children: [jsxs(LinkWrapper, { className: "p-s", href: href, target: target, children: [renderImage$2(icon), renderCardTitle(headlineSmallVersion, title), renderDescription$3(description, title), renderItems(items, isDotted, version), renderAdditionalDescription(additionalDescription)] }), renderButtonsSection([button], {
2390
- className: style('p-s pt-0', isFullWidth ? '' : 'self-center min-w-[158px]'),
2391
- isVertical: isFullWidth,
2552
+ const CarouselProductCard = JSX(({ additionalDescription, align = alignTextStyle, button = {}, className = '', description, headlineSmallVersion = 'H6', href, icon, isDotted = true, isButtonFullWidth = true, isImageFullWidth = false, isTopPosition = false, items = [], target, title, version = 'primary', ...rest }) => {
2553
+ return (jsxs(BlockWrapper, { className: style('h-full flex flex-col justify-between min-w-[260px]', 'box-border border-solid border border-gray', align, className), defaultPadding: "p-0", version: version, ...rest, children: [jsxs(LinkWrapper, { className: "p-m flex flex-col gap-xs", href: href, target: target, children: [renderCardTitle(headlineSmallVersion, title), renderDescription$2(description), renderItems(items, isDotted, version), renderAdditionalDescription(additionalDescription), renderImage$2(icon, isImageFullWidth, isTopPosition)] }), renderButtonsSection([button], {
2554
+ className: style('p-m pt-0', isButtonFullWidth ? '' : 'self-center'),
2555
+ isVertical: isButtonFullWidth,
2392
2556
  })] }));
2393
2557
  });
2394
- const renderImage$2 = (image) => (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(Img, { className: "mb-5", image: image }) : null, image?.icon ? jsx(Img, { className: `w-8 h-8 min-w-8 mb-5`, image: image }) : null] }));
2395
- const renderCardTitle = (headlineSmallVersion, title) => title ? (jsx("div", { children: jsx(Text, { size: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) })) : null;
2396
- const renderDescription$3 = (description, title) => description ? (jsx("div", { className: title ? 'mt-2' : '', children: jsx(Paragraph, { size: "text-l", children: description }) })) : null;
2397
- const renderAdditionalDescription = (additionalDescription) => additionalDescription ? (jsx("div", { className: "mt-auto", children: jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text group-data-secondary:text-white/80", children: additionalDescription }) })) : null;
2398
- const renderItems = (items, isDotted, version = 'primary') => items?.length ? (jsx(List, { className: style('max-w-[308px] mt-2', version === 'primary' ? '!text-secondary-text' : ''), items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, listItemSize: "S" })) : null;
2558
+ const renderImage$2 = (image, isImageFullWidth, isTopPosition) => (jsxs("div", { className: style('flex gap-lg', isTopPosition ? 'order-first' : 'order-last', !isImageFullWidth ? 'justify-center' : ''), children: [image?.src ? jsx(Img, { className: "shrink-0", image: image }) : null, image?.icon ? (jsx(Img, { className: style('shrink-0', !isImageFullWidth ? 'w-8 h-8 min-w-8' : ''), image: image })) : null] }));
2559
+ const renderCardTitle = (headlineSmallVersion, title) => title ? jsx(Text, { size: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) : null;
2560
+ const renderDescription$2 = (description) => description ? jsx(Paragraph, { size: "text-l", children: description }) : null;
2561
+ const renderAdditionalDescription = (additionalDescription) => additionalDescription ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text group-data-secondary:text-white/80", children: additionalDescription })) : null;
2562
+ const renderItems = (items, isDotted, version = 'primary') => items?.length ? (jsx(List, { className: style('text-s', version === 'primary' ? '!text-secondary-text' : ''), items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, listItemSize: "S" })) : null;
2399
2563
 
2400
2564
  const cardTitleFont = 'font-normal';
2401
2565
  const cardDescriptionColor = 'text-secondary-text';
2402
2566
 
2403
2567
  const CarouselProgramsCard = JSX(({ className = '', title, icon, list = [], href, target, ...rest }) => {
2404
- return (jsx(BlockWrapper, { className: style('border border-gray', className), defaultPadding: "p-lg sm:p-0", ...rest, children: jsxs(LinkWrapper, { className: "sm:flex sm:items-center", href: href, target: target, children: [jsx("div", { className: "min-w-[200px] flex justify-center", children: icon?.src || icon?.icon ? jsx(Img, { image: icon }) : null }), jsxs("div", { className: "sm:px-3 py-xl", children: [title ? jsx(Heading, { className: "mb-2 sm:mb-3.5", headingType: "h6", title: title }) : null, list.length ? (jsx("div", { className: "flex flex-col gap-2 sm:gap-3", children: list?.map(renderList$2) })) : null] })] }) }));
2568
+ return (jsx(BlockWrapper, { className: style('border border-gray', className), defaultPadding: "p-3xl sm:p-0", ...rest, children: jsxs(LinkWrapper, { className: "sm:flex sm:items-center", href: href, target: target, children: [jsx("div", { className: "min-w-[200px] flex justify-center", children: icon?.src || icon?.icon ? jsx(Img, { image: icon }) : null }), jsxs("div", { className: "sm:px-s p-5xl", children: [title ? jsx(Heading, { className: "mb-xs sm:mb-m", headingType: "h6", title: title }) : null, list.length ? (jsx("div", { className: "flex flex-col gap-xs sm:gap-s", children: list?.map(renderList$2) })) : null] })] }) }));
2405
2569
  });
2406
- const renderList$2 = (_, i) => (jsxs("div", { className: "flex flex-row-reverse justify-between gap-y-1 sm:flex-col", children: [_.title ? (jsx(Text, { size: "text-l", font: cardTitleFont, children: _.title })) : null, _.description ? (jsx(Paragraph, { size: "text-l", font: "font-light", color: cardDescriptionColor, children: _.description })) : null] }, String(i)));
2570
+ const renderList$2 = (_, i) => (jsxs("div", { className: "flex flex-row-reverse justify-between gap-y-2xs sm:flex-col", children: [_.title ? (jsx(Text, { size: "text-l", font: cardTitleFont, children: _.title })) : null, _.description ? (jsx(Paragraph, { size: "text-l", font: "font-light", color: cardDescriptionColor, children: _.description })) : null] }, String(i)));
2407
2571
 
2408
2572
  const buttonSizeStyles = {
2409
2573
  default: 'w-14 h-14',
@@ -2461,7 +2625,7 @@
2461
2625
  const BORDER_STYLE = 'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider';
2462
2626
 
2463
2627
  const CarouselRecommendationCard = JSX(({ className = '', description, href, icon, items = [], socialMedia = [], target, title, align = 'text-left', version = 'primary', ...rest }) => {
2464
- return (jsx(BlockWrapper, { className: style('relative min-w-[524px] min-h-[218px] h-full box-border group-data-gray:bg-main-divider/50', BORDER_STYLE, className), defaultPadding: "p-s", version: version, ...rest, children: jsxs(LinkWrapper, { href: href, target: target, children: [jsx(Headline, { className: "mb-4", title: title, description: description, headlineVersion: "S", isPadding: false, align: align }), jsxs("div", { className: "w-1/2 h-full flex flex-col flex-1 justify-end", children: [items.length ? jsx(List, { items: items, listItemSize: "S" }) : null, socialMedia.length ? jsx(SocialMedia, { className: "pt-10", media: socialMedia }) : null] }), renderIconBlock$2(icon)] }) }));
2628
+ return (jsx(BlockWrapper, { className: style('relative min-w-[524px] min-h-[218px] h-full box-border group-data-gray:bg-main-divider/50', BORDER_STYLE, className), defaultPadding: "p-m", version: version, ...rest, children: jsxs(LinkWrapper, { href: href, target: target, children: [jsx(Headline, { className: "mb-4", title: title, description: description, headlineVersion: "S", isPadding: false, align: align }), jsxs("div", { className: "w-1/2 h-full flex flex-col flex-1 justify-end", children: [items.length ? jsx(List, { items: items, listItemSize: "S" }) : null, socialMedia.length ? jsx(SocialMedia, { className: "pt-10", media: socialMedia }) : null] }), renderIconBlock$2(icon)] }) }));
2465
2629
  });
2466
2630
  const renderIconBlock$2 = (icon) => (jsxs("div", { className: "absolute bottom-0 right-0", children: [icon?.icon ? jsx(Img, { image: icon }) : null, icon?.src ? jsx(Img, { image: icon }) : null] }));
2467
2631
 
@@ -2538,7 +2702,7 @@
2538
2702
  });
2539
2703
  const labelStyle = (isFillGradient = false) => `text-xl m-0 ${isFillGradient ? 'text-white' : ''}`;
2540
2704
  const descriptionStyle = (isFillGradient = false) => `text-s opacity-80 ${isFillGradient ? 'text-white' : 'text-secondary-text'}`;
2541
- const renderCellInner$1 = ({ label, description }, i, isFillGradient) => (jsxs("div", { className: "first:pt-7 pt-6 last:pb-7", children: [label ? jsx("h4", { className: labelStyle(isFillGradient), children: label }) : null, description ? jsx("div", { className: descriptionStyle(isFillGradient), children: description }) : null] }, String(i)));
2705
+ const renderCellInner$1 = ({ label, description }, i, isFillGradient) => (jsxs("div", { className: "first:pt-2xl pt-xl last:pb-2xl", children: [label ? jsx("h4", { className: labelStyle(isFillGradient), children: label }) : null, description ? jsx("div", { className: descriptionStyle(isFillGradient), children: description }) : null] }, String(i)));
2542
2706
 
2543
2707
  const titleStyle = (isLastRow = false) => `text-s py-7 ${DIVIDER_CLASSES$1} ${FIRST_CELL_CLASSES$1} ${isLastRow ? 'border-b-0' : 'border-solid'}`;
2544
2708
  const TableRow = JSX(({ row: { header, data }, activeIndex, isColoredFirstColumn, isFirstRow, isLastRow }) => (jsxs(TableRowContainer, { children: [header?.title ? jsx("div", { className: titleStyle(isLastRow), children: header.title }) : null, data?.length ? (jsx(TableCarouselContainer, { activeIndex: activeIndex, columnWidth: COLUMN_WIDTH$2, children: data.map((cell, i) => (jsx(TableCell, { cell: cell, isFirstRow: isFirstRow, isLastRow: isLastRow, isFillGradient: isColoredFirstColumn && i === 0 }, String(i)))) })) : null] })));
@@ -2575,15 +2739,15 @@
2575
2739
  const ComparisonTable = JSX(({ className = '', title, rowHeaders, columns, visibleRowLength = 0, isColoredFirstColumn = false, ...rest }) => {
2576
2740
  const [isShowAllRow, setIsShowAllRow] = useState(!visibleRowLength);
2577
2741
  const handleToggle = useCallback(() => setIsShowAllRow((_) => !_), []);
2578
- return (jsxs(BlockWrapper, { className: style('overflow-hidden relative', className), defaultPadding: "p-default", ...rest, children: [jsx(Heading, { headingType: "h2", className: "max-w-[47rem] text-center mb-9 mx-auto", title: title }), jsx(ComparisonTableBody, { columns: columns, rowHeaders: rowHeaders, isShowAllRow: isShowAllRow, isColoredFirstColumn: isColoredFirstColumn, visibleRowLength: visibleRowLength }), visibleRowLength
2742
+ return (jsxs(BlockWrapper, { className: style('overflow-hidden relative', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Heading, { headingType: "h2", className: "max-w-[47rem] text-center mb-9 mx-auto", title: title }), jsx(ComparisonTableBody, { columns: columns, rowHeaders: rowHeaders, isShowAllRow: isShowAllRow, isColoredFirstColumn: isColoredFirstColumn, visibleRowLength: visibleRowLength }), visibleRowLength
2579
2743
  ? renderShowMoreToggleButton({ isShowAllRow, onClick: handleToggle })
2580
2744
  : null] }));
2581
2745
  });
2582
2746
  const renderShowMoreToggleButton = ({ isShowAllRow, onClick, }) => (jsx("div", { className: "pr-12", children: jsxs("div", { className: "flex w-full", children: [jsx("div", { className: FIRST_CELL_CLASSES$1 }), jsx("button", { onClick: onClick, className: "mt-m py-xs flex-1 border-gray border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main", children: jsx(Text, { size: "text-xs", font: "font-medium", children: !isShowAllRow ? 'Показать все параметры' : 'Скрыть' }) })] }) }));
2583
2747
 
2584
- const ContactsBlock = JSX(({ className, contacts, info, version = 'secondary', ...rest }) => (jsxs(BlockWrapper, { className: style('flex', className), defaultPadding: "p-default", version: version, ...rest, children: [info?.length ? renderBlocks(info) : null, contacts?.length ? renderBlocks(contacts) : null] })));
2748
+ const ContactsBlock = JSX(({ className, contacts, info, version = 'secondary', ...rest }) => (jsxs(BlockWrapper, { className: style('flex', className), defaultPadding: "p-6xl", version: version, ...rest, children: [info?.length ? renderBlocks(info) : null, contacts?.length ? renderBlocks(contacts) : null] })));
2585
2749
  const renderBlocks = (info) => (jsx("div", { className: "flex grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index })) }));
2586
- const renderBlocksColumn = ({ column, index }) => column ? (jsx("div", { className: "flex flex-col grow basis-0 pr-11 last:pr-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => (jsxs("div", { className: "mt-6 first:mt-0", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "XS", align: "text-left" }), additionalDescription ? (jsx("div", { className: "mt-1.5 opacity-80", children: jsx(Paragraph, { size: "text-m", font: "font-light", children: additionalDescription }) })) : null, button?.href ? jsx(Button, { className: "mt-6", ...button }) : null] }, String(key)))) }, `col-${String(index)}`)) : null;
2750
+ const renderBlocksColumn = ({ column, index }) => column ? (jsx("div", { className: "flex flex-col grow basis-0 pr-11 last:pr-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => (jsxs("div", { className: "mt-xl first:mt-0", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "XS", align: "text-left" }), additionalDescription ? (jsx("div", { className: "mt-xs opacity-80", children: jsx(Paragraph, { size: "text-m", font: "font-light", children: additionalDescription }) })) : null, button?.href ? jsx(Button, { className: "mt-xl", ...button }) : null] }, String(key)))) }, `col-${String(index)}`)) : null;
2587
2751
 
2588
2752
  const isEmpty = (v) => v === null ||
2589
2753
  v === undefined ||
@@ -2645,7 +2809,7 @@
2645
2809
  }, renderFoldButton: ({ isUnfolded, onToggle }) => (jsx(DefaultFoldButton, { className: style(topItemsCount < 1 ? 'hidden' : ''), disabled: !hiddenBlocks?.length, label: label, icon: ICONS[Number(isUnfolded)], dataTheme: rest.options?.page?.colorPalette, onClick: onToggle })) })] })] }));
2646
2810
  });
2647
2811
  function renderNotFound({ title, description }) {
2648
- return (jsxs("div", { className: "bg-white py-20", children: [title ? (jsx("div", { className: "mb-2", children: jsx(Paragraph, { align: "text-center", children: jsx(Text, { size: "text-h4", children: title }) }) })) : null, description ? (jsx(Paragraph, { size: "text-xl", font: "font-light", align: "text-center", children: description })) : null] }));
2812
+ return (jsxs("div", { className: "bg-white py-20", children: [title ? (jsx("div", { className: "mb-xs", children: jsx(Paragraph, { align: "text-center", children: jsx(Text, { size: "text-h4", children: title }) }) })) : null, description ? (jsx(Paragraph, { size: "text-xl", font: "font-light", align: "text-center", children: description })) : null] }));
2649
2813
  }
2650
2814
 
2651
2815
  const SlideCheckboxGroup = JSX(({ value, onChange, items = [], multiple }) => {
@@ -2734,14 +2898,14 @@
2734
2898
  RUB: 'RoundRubleIcon',
2735
2899
  };
2736
2900
  const renderCurrencyRow$1 = ({ title, buyPrice, buyDifference, sellPrice, sellDifference, buyOfficeName, sellOfficeName, }) => {
2737
- return (jsxs("tr", { className: "pb-1 text-h6", children: [jsx("td", { className: "pt-4", children: jsxs("div", { className: "flex items-center", children: [title ? (jsx(Img, { image: { icon: CURRENCY_ICONS_MAP$1[title] }, width: "24", height: "24" })) : null, jsx("span", { className: "ml-2", children: title })] }) }), renderCurrency(buyPrice, buyDifference), renderCurrency(sellPrice, sellDifference), renderOffice(buyPrice, buyOfficeName), renderOffice(sellPrice, sellOfficeName)] }, title));
2901
+ return (jsxs("tr", { className: "pb-1 text-h6", children: [jsx("td", { className: "pt-4", children: jsxs("div", { className: "flex items-center", children: [title ? (jsx(Img, { image: { icon: CURRENCY_ICONS_MAP$1[title] }, width: "24", height: "24" })) : null, jsx("span", { className: "ml-xs", children: title })] }) }), renderCurrency(buyPrice, buyDifference), renderCurrency(sellPrice, sellDifference), renderOffice(buyPrice, buyOfficeName), renderOffice(sellPrice, sellOfficeName)] }, title));
2738
2902
  };
2739
2903
  const formatCurrency$1 = (value) => (value ? currencyNumberFormat$1.format(value) : '');
2740
2904
  const renderCurrency = (price, difference) => {
2741
- return (jsxs("td", { className: "pt-4 pl-11", children: [jsx("div", { children: formatCurrency$1(price) }), jsx("div", { className: style('font-normal text-sm text-secondary-text', (difference || 0) >= 0 ? 'text-green' : 'text-red'), children: formatCurrency$1(difference) })] }));
2905
+ return (jsxs("td", { className: "pt-m pl-5xl", children: [jsx("div", { children: formatCurrency$1(price) }), jsx("div", { className: style('font-normal text-sm text-secondary-text', (difference || 0) >= 0 ? 'text-green' : 'text-red'), children: formatCurrency$1(difference) })] }));
2742
2906
  };
2743
2907
  const renderOffice = (price, officeName = '') => {
2744
- return (jsxs("td", { className: "pt-4 pl-11", children: [jsx("div", { children: formatCurrency$1(price) }), jsx("div", { className: "font-normal text-sm text-green", children: officeName })] }));
2908
+ return (jsxs("td", { className: "pt-m pl-5xl", children: [jsx("div", { children: formatCurrency$1(price) }), jsx("div", { className: "font-normal text-sm text-green", children: officeName })] }));
2745
2909
  };
2746
2910
  const currencyNumberFormat$1 = new Intl.NumberFormat('ru', {
2747
2911
  style: 'currency',
@@ -2749,12 +2913,12 @@
2749
2913
  });
2750
2914
 
2751
2915
  const renderTableHeader = (title) => {
2752
- return (jsx("th", { className: "pl-11", children: jsx(Text, { size: "text-m", font: "font-light", align: "text-left", color: "text-secondary-text", children: title }) }));
2916
+ return (jsx("th", { className: "pl-5xl", children: jsx(Text, { size: "text-m", font: "font-light", align: "text-left", color: "text-secondary-text", children: title }) }));
2753
2917
  };
2754
2918
 
2755
2919
  const ExchangeRateOffice = JSX(({ className, currencies = [], actuality = '', officeName = '', ...rest }) => {
2756
2920
  const fourRates = topNRates(currencies, 4);
2757
- return (jsxs(BlockWrapper, { className: className, ...rest, children: [jsxs("div", { className: "flex flex-row flex-grow-0 justify-between mb-8", children: [jsx(Heading, { headingType: "h4", title: 'Курс обмена валют в ' + officeName, className: "whitespace-pre-wrap text-h4 mb-5" }), jsx("div", { className: "pl-11", children: jsx(Text, { size: "text-m", font: "font-light", align: "text-left", color: "text-secondary-text", children: actuality }) })] }), jsx("div", { className: "flex flex-row pt-4 text-left", children: fourRates.length > 0 ? (jsxs("table", { className: style('h-fit w-fit', className), children: [jsx("thead", { children: jsxs("tr", { children: [jsx("th", { children: jsx(Text, { size: "text-m", font: "font-light", align: "text-left", color: "text-secondary-text", children: "\u0412\u0430\u043B\u044E\u0442\u0430" }) }), renderTableHeader('Купить'), renderTableHeader('Продать'), renderTableHeader('Лучшая покупка'), renderTableHeader('Лучшая продажа')] }) }), jsx("tbody", { children: fourRates.map((item) => renderCurrencyRow$1(item)) })] })) : null })] }));
2921
+ return (jsxs(BlockWrapper, { className: style('space-y-3xl', className), ...rest, children: [jsxs("div", { className: "flex flex-row flex-grow-0 justify-between space-y-lg", children: [jsx(Heading, { headingType: "h4", title: 'Курс обмена валют в ' + officeName, className: "whitespace-pre-wrap text-h4" }), jsx("div", { className: "pl-6xl", children: jsx(Text, { size: "text-m", font: "font-light", align: "text-left", color: "text-secondary-text", children: actuality }) })] }), jsx("div", { className: "flex flex-row pt-m text-left", children: fourRates.length > 0 ? (jsxs("table", { className: style('h-fit w-fit', className), children: [jsx("thead", { children: jsxs("tr", { children: [jsx("th", { children: jsx(Text, { size: "text-m", font: "font-light", align: "text-left", color: "text-secondary-text", children: "\u0412\u0430\u043B\u044E\u0442\u0430" }) }), renderTableHeader('Купить'), renderTableHeader('Продать'), renderTableHeader('Лучшая покупка'), renderTableHeader('Лучшая продажа')] }) }), jsx("tbody", { children: fourRates.map((item) => renderCurrencyRow$1(item)) })] })) : null })] }));
2758
2922
  });
2759
2923
  const topNRates = (rates, n) => rates.sort((a, b) => Number(a.id) - Number(b.id)).slice(0, n);
2760
2924
 
@@ -2772,7 +2936,7 @@
2772
2936
  const formatCurrency = (value) => (value ? currencyNumberFormat.format(value) : '');
2773
2937
 
2774
2938
  const TABLE_HEAD_STYLE = 'text-left text-m font-light text-secondary-text';
2775
- const TABLE_HEAD_STYLE_WITH_PL = `${TABLE_HEAD_STYLE} pl-11`;
2939
+ const TABLE_HEAD_STYLE_WITH_PL = `${TABLE_HEAD_STYLE} pl-5xl`;
2776
2940
  const CURRENCY_ICONS_MAP = {
2777
2941
  USD: 'DollarIcon',
2778
2942
  EUR: 'EuroIcon',
@@ -2780,10 +2944,10 @@
2780
2944
  const CurrencyTable = JSX(({ className, exchangeCurrencyItems }) => (jsxs("table", { className: `h-fit w-fit ${className}`, children: [jsx("thead", { children: jsxs("tr", { children: [jsx("th", { className: TABLE_HEAD_STYLE, children: "\u0412\u0430\u043B\u044E\u0442\u0430" }), jsx("th", { className: TABLE_HEAD_STYLE_WITH_PL, children: "\u041A\u0443\u043F\u0438\u0442\u044C" }), jsx("th", { className: TABLE_HEAD_STYLE_WITH_PL, children: "\u041F\u0440\u043E\u0434\u0430\u0442\u044C" })] }) }), jsx("tbody", { children: exchangeCurrencyItems.map(renderCurrencyRow) })] })));
2781
2945
  const renderCurrencyRow = (exchangeCurrencyItem) => {
2782
2946
  const currency = exchangeCurrencyItem?.currency?.currency;
2783
- return (jsxs("tr", { className: "pb-1 text-h6", children: [jsx("td", { className: "pt-4", children: jsxs("div", { className: "flex items-center", children: [currency ? (jsx(Img, { image: { icon: CURRENCY_ICONS_MAP[currency] }, width: "24", height: "24" })) : null, jsx("span", { className: "ml-2", children: currency })] }) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.saleExchangeRate) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.buyExchangeRate) })] }, currency));
2947
+ return (jsxs("tr", { className: "pb-2xs text-h6", children: [jsx("td", { className: "pt-m", children: jsxs("div", { className: "flex items-center", children: [currency ? (jsx(Img, { image: { icon: CURRENCY_ICONS_MAP[currency] }, width: "24", height: "24" })) : null, jsx("span", { className: "ml-xs", children: currency })] }) }), jsx("td", { className: "pt-m pl-5xl", children: formatCurrency(exchangeCurrencyItem?.saleExchangeRate) }), jsx("td", { className: "pt-m pl-5xl", children: formatCurrency(exchangeCurrencyItem?.buyExchangeRate) })] }, currency));
2784
2948
  };
2785
2949
 
2786
- const CurrentLocation$1 = JSX(({ className = '', address }) => (jsxs("div", { className: `flex ${className}`, children: [jsx(Img, { image: { icon: 'GpsIcon' }, width: "24", height: "24" }), jsxs("div", { className: "ml-3", children: [address ? jsx("p", { className: "text-primary-main m-0 mb-1 text-l", children: address }) : null, jsx("p", { className: "text-secondary-text m-0 text-m", children: "\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u043D\u043D\u043E\u0433\u043E \u043E\u0444\u0438\u0441\u0430" })] })] })));
2950
+ const CurrentLocation$1 = JSX(({ className = '', address }) => (jsxs("div", { className: `flex gap-s ${className}`, children: [jsx(Img, { image: { icon: 'GpsIcon' }, width: "24", height: "24" }), jsxs("div", { className: "space-y-2xs", children: [address ? jsx("p", { className: "text-primary-main text-l", children: address }) : null, jsx("p", { className: "text-secondary-text text-m", children: "\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u043D\u043D\u043E\u0433\u043E \u043E\u0444\u0438\u0441\u0430" })] })] })));
2787
2951
 
2788
2952
  const roundTo = (value, precision = 2) => {
2789
2953
  const factor = 10 ** precision;
@@ -2926,7 +3090,7 @@
2926
3090
  currencyRatesBuy.unshift({ currency: { currency: Currency.RUB } });
2927
3091
  const currencyRatesSell = currencyRates.filter((_) => _.saleExchangeRate);
2928
3092
  currencyRatesSell.push({ currency: { currency: Currency.RUB } });
2929
- return (jsx(BlockWrapper, { className: style('box-border min-h-80', className), ...rest, children: jsx(BaseTile, { className: "h-full", title: jsx(Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap" }), children: jsxs("div", { className: "flex gap-xxl", children: [jsxs("div", { children: [currencyRates ? (jsx(CurrencyTable, { className: "mb-xl", exchangeCurrencyItems: currencyRates })) : null, jsx(CurrentLocation$1, { address: exchangeRates?.address })] }), currencyRates.length && currencyRatesBuy.length && currencyRatesSell.length ? (jsx(ExchangeCurrencyCalculator, { className: "grow", currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })) : null] }) }) }));
3093
+ return (jsx(BlockWrapper, { className: style('box-border min-h-80', className), ...rest, children: jsx(BaseTile, { className: "h-full", title: jsx(Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap" }), children: jsxs("div", { className: "flex gap-6xl", children: [jsxs("div", { children: [currencyRates ? (jsx(CurrencyTable, { className: "mb-xl", exchangeCurrencyItems: currencyRates })) : null, jsx(CurrentLocation$1, { address: exchangeRates?.address })] }), currencyRates.length && currencyRatesBuy.length && currencyRatesSell.length ? (jsx(ExchangeCurrencyCalculator, { className: "grow", currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })) : null] }) }) }));
2930
3094
  });
2931
3095
  const getCurrencyRates = (currencies) => {
2932
3096
  return currencies?.filter((_) => _?.currency?.id === 1 || _?.currency?.id === 2) || [];
@@ -2959,11 +3123,11 @@
2959
3123
  'bg-white': 'text-primary-text',
2960
3124
  transparent: 'text-white',
2961
3125
  };
2962
- const renderTitle$1 = (title, bgColor, className) => {
2963
- return (jsx("span", { className: `${TEXT_COLOR[bgColor]} ml-2.5 font-medium ${className || ''}`, children: title || 'Россельхозбанк' }));
3126
+ const renderTitle = (title, bgColor, className) => {
3127
+ return (jsx("span", { className: `${TEXT_COLOR[bgColor]} ml-s font-medium ${className || ''}`, children: title || 'Россельхозбанк' }));
2964
3128
  };
2965
3129
 
2966
- const Logo = JSX(({ className = '', href = '/', logo, children = logo?.title, targetBlank, bgColor = 'bg-white', showTitle = true, }) => (jsxs("a", { className: style('inline-flex items-center font-sans no-underline', className), href: href, target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title || 'Россельхозбанк', children: [renderImage$1(bgColor, logo?.image, { width: '40', height: '45' }), showTitle ? renderTitle$1(children || logo?.title, bgColor) : null] })));
3130
+ const Logo = JSX(({ className = '', href = '/', logo, children = logo?.title, targetBlank, bgColor = 'bg-white', showTitle = true, }) => (jsxs("a", { className: style('inline-flex items-center font-sans no-underline', className), href: href, target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title || 'Россельхозбанк', children: [renderImage$1(bgColor, logo?.image, { width: '40', height: '45' }), showTitle ? renderTitle(children || logo?.title, bgColor) : null] })));
2967
3131
 
2968
3132
  const CloseButton = JSX(({ className, onClick }) => (jsx("button", { className: style('flex justify-center items-center w-12 h-12 p-1 bg-transparent border-none', className), onClick: onClick, title: "\u0417\u0430\u043A\u0440\u044B\u0442\u044C", children: jsx(Img, { image: { icon: 'CloseIcon' }, width: "24", height: "24" }) })));
2969
3133
 
@@ -3150,7 +3314,7 @@
3150
3314
  globalThis.document?.removeEventListener('keydown', handleEscape);
3151
3315
  };
3152
3316
  }, [onClose]);
3153
- return isOpened ? (jsx("div", { className: style('fixed inset-0 bg-white text-l font-light z-50 overflow-x-hidden overflow-y-scroll no-scrollbar', className), role: "dialog", children: jsxs("div", { className: "relative container pb-12 min-h-full", children: [jsxs("div", { className: "sticky bg-white pt-6 top-0", children: [jsx(CloseButton, { className: "absolute top-0 -right-12", onClick: onClose }), head] }), children] }) })) : null;
3317
+ return isOpened ? (jsx("div", { className: style('fixed inset-0 bg-white text-l font-light z-50 overflow-x-hidden overflow-y-scroll no-scrollbar', className), role: "dialog", children: jsxs("div", { className: "relative container pb-6xl min-h-full", children: [jsxs("div", { className: "sticky bg-white pt-xl top-0", children: [jsx(CloseButton, { className: "absolute top-0 -right-6xl", onClick: onClose }), head] }), children] }) })) : null;
3154
3318
  });
3155
3319
 
3156
3320
  function useDialogProps(id, isOpenedOnInit = false) {
@@ -3204,7 +3368,7 @@
3204
3368
  const handleChange = useCallback((ev) => {
3205
3369
  onChange && onChange(ev.target?.value || '');
3206
3370
  }, [onChange]);
3207
- return (jsxs("div", { className: style('font-sans relative', className), role: "form", children: [jsx("div", { className: "absolute h-full flex items-center pl-4 pointer-events-none", children: jsx(Img, { image: { icon: 'LoupeIcon' }, width: "24", height: "24" }) }), jsx("input", { className: style('h-12 pl-12 w-full text-l text-black outline-none box-border', 'border border-solid rounded-md border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text'), value: value, type: "text", name: "search-bar-input", placeholder: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", autoFocus: autoFocus, onChange: handleChange, onFocus: onFocus })] }));
3371
+ return (jsxs("div", { className: style('font-sans relative', className), role: "form", children: [jsx("div", { className: "absolute h-full flex items-center pl-m pointer-events-none", children: jsx(Img, { image: { icon: 'LoupeIcon' }, width: "24", height: "24" }) }), jsx("input", { className: style('h-12 pl-12 w-full text-l text-black outline-none box-border', 'border border-solid rounded-md border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text'), value: value, type: "text", name: "search-bar-input", placeholder: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", autoFocus: autoFocus, onChange: handleChange, onFocus: onFocus })] }));
3208
3372
  });
3209
3373
 
3210
3374
  const SEARCH_DIALOG_ID = 'search';
@@ -3251,9 +3415,9 @@
3251
3415
  });
3252
3416
  const isQueryLongEnough = (_) => _ && _.length >= MIN_QUERY_LEN;
3253
3417
 
3254
- const Contacts = JSX(({ className = '', items, hasButton }) => (jsxs("div", { className: className, children: [items?.length ? items.map(renderContactsGroup) : null, hasButton ? (jsx(Button, { version: "primary", className: "mb-6 w-full", href: "https://www.rshb.ru/feedback/question/", target: "_blank", ariaLabel: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C", text: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C" })) : null] })));
3255
- const renderContactsGroup = (item, i) => (jsxs("div", { className: "mb-6", children: [jsx("div", { className: "mb-4", children: jsx(Text, { size: "text-l", font: "font-medium", children: item?.title }) }), jsx("div", { children: item.items?.map(renderContact) })] }, String(i)));
3256
- const renderContact = (item, index) => (jsxs("div", { className: "mb-4", children: [jsx("div", { children: renderText(item.type, item.text) }), jsx("div", { className: "mt-1 text-s font-light text-secondary-text", children: item.description })] }, String(index)));
3418
+ const Contacts = JSX(({ className = '', items, hasButton }) => (jsxs("div", { className: style('space-y-xl', className), children: [items?.length ? items.map(renderContactsGroup) : null, hasButton ? (jsx(Button, { version: "primary", className: "mb-6 w-full", href: "https://www.rshb.ru/feedback/question/", target: "_blank", ariaLabel: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C", text: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C" })) : null] })));
3419
+ const renderContactsGroup = (item, i) => (jsxs("div", { className: "space-y-m", children: [jsx("div", { className: "", children: jsx(Text, { size: "text-l", font: "font-medium", children: item?.title }) }), jsx("div", { className: "space-y-m", children: item.items?.map(renderContact) })] }, String(i)));
3420
+ const renderContact = (item, index) => (jsxs("div", { className: "space-y-2xs", children: [jsx("div", { children: renderText(item.type, item.text) }), jsx("div", { className: "text-s font-light text-secondary-text", children: item.description })] }, String(index)));
3257
3421
  const renderText = (type, text = '') => {
3258
3422
  switch (type) {
3259
3423
  case 'tel':
@@ -3291,10 +3455,10 @@
3291
3455
  const fallback = rest.options?.page?.fallback;
3292
3456
  const sitemap = useSWRResource(projectSettings.SITEMAP || 'sitemap', fallback);
3293
3457
  const { documents, relatedEnterprises, contacts, socialMedia, mobileApps, logo } = useSWRResource(projectSettings.FOOTER || 'footer', fallback);
3294
- return (jsxs(BlockWrapper, { tag: "footer", className: className, ...rest, children: [jsxs("div", { className: "flex items-stretch gap-[54px] pb-8 xl:gap-8", children: [jsx(Logo, { className: LEFT_COL_WIDTH_FULL_HD, logo: logo }), jsx(SearchBar$1, { className: "grow" })] }), jsxs("div", { className: "flex items-stretch gap-[54px] xl:gap-8", children: [jsxs("div", { className: `${LEFT_COL_WIDTH_FULL_HD} flex flex-col shrink-0 overflow-hidden`, children: [jsx(Contacts, { items: contacts, hasButton: true }), jsx(SocialMedia, { media: socialMedia, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), jsx(SocialMedia, { className: "mt-6", media: mobileApps, children: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" })] }), jsx(Sitemap, { className: "flex-grow", topItems: sitemap?.topItems })] }), jsx(HorizontalNavigation, { className: "mt-[98px]", links: relatedEnterprises }), jsx(TextInformation, { links: documents })] }));
3458
+ return (jsxs(BlockWrapper, { tag: "footer", className: className, ...rest, children: [jsxs("div", { className: "flex items-stretch gap-6xl xl:gap-3xl pb-3xl ", children: [jsx(Logo, { className: LEFT_COL_WIDTH_FULL_HD, logo: logo }), jsx(SearchBar$1, { className: "grow" })] }), jsxs("div", { className: "flex items-stretch gap-6xl xl:gap-3xl", children: [jsxs("div", { className: `${LEFT_COL_WIDTH_FULL_HD} flex flex-col shrink-0 overflow-hidden space-y-xl`, children: [jsx(Contacts, { items: contacts, hasButton: true }), jsx(SocialMedia, { media: socialMedia, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), jsx(SocialMedia, { media: mobileApps, children: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" })] }), jsx(Sitemap, { className: "flex-grow", topItems: sitemap?.topItems })] }), jsx(HorizontalNavigation, { className: "mt-24", links: relatedEnterprises }), jsx(TextInformation, { links: documents })] }));
3295
3459
  });
3296
3460
 
3297
- const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (jsxs(BlockWrapper, { className: className, defaultPadding: "p-default", ...rest, children: [jsx(Headline, { className: "!p-0 mb-4", title: title, description: description, headlineVersion: "M" }), calendar ? renderCalendar(calendar) : null] })));
3461
+ const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (jsxs(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { className: "!p-0 mb-4", title: title, description: description, headlineVersion: "M" }), calendar ? renderCalendar(calendar) : null] })));
3298
3462
  const renderCalendar = (calendar) => {
3299
3463
  const colCount = calendar.reduce((accumulator, currentValue) => currentValue?.month?.length ? accumulator + currentValue.month.length : accumulator, 0) || 1;
3300
3464
  const colSize = 100 / colCount;
@@ -3404,11 +3568,11 @@
3404
3568
  const CurrentLocation = JSX(({ currentLocation, onChangeLocation }) => currentLocation ? (jsxs("div", { className: "mb-4", children: [jsx(Text, { size: "text-l", font: "font-light", children: "\u0421\u0435\u0439\u0447\u0430\u0441 \u0432\u044B\u0431\u0440\u0430\u043D:\u00A0" }), jsx("button", { className: "cursor-pointer", onClick: () => {
3405
3569
  onChangeLocation && onChangeLocation(currentLocation);
3406
3570
  }, children: jsx(Text, { color: "text-primary-main", children: currentLocation.name }) })] })) : null);
3407
- const renderRegionGroup = (onChangeLocation) => ([letter, regions]) => (jsxs("div", { className: "break-inside-avoid mb-7 w-[224px]", children: [jsx("div", { className: "mb-2.5", children: jsx(Text, { size: "text-h6", children: letter }) }), regions.map(renderRegion(onChangeLocation))] }, letter));
3408
- const renderRegion = (onChangeLocation) => (region) => (jsx("div", { className: "mb-1", children: jsx("button", { className: "cursor-pointer hover:text-primary-hover", onClick: () => {
3571
+ const renderRegionGroup = (onChangeLocation) => ([letter, regions]) => (jsxs("div", { className: "break-inside-avoid mb-2xl w-[224px]", children: [jsx("div", { className: "mb-s", children: jsx(Text, { size: "text-h6", children: letter }) }), regions.map(renderRegion(onChangeLocation))] }, letter));
3572
+ const renderRegion = (onChangeLocation) => (region) => (jsx("div", { className: "mb-2xs", children: jsx("button", { className: "cursor-pointer hover:text-primary-hover", onClick: () => {
3409
3573
  onChangeLocation && onChangeLocation(region);
3410
3574
  }, children: region.name || '' }) }, region.id));
3411
- const ForeignOffices = JSX(({ foreignOffices }) => foreignOffices?.length ? (jsxs("div", { className: "border-t border-main-divider mt-7 pt-7", children: [jsx("div", { className: "mb-4", children: jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430 \u0437\u0430 \u0440\u0443\u0431\u0435\u0436\u043E\u043C:" }) }), jsx("div", { className: "flex gap-10", children: foreignOffices.map((office, i) => (jsx(ForeignOffice, { ...office }, String(i)))) })] })) : null);
3575
+ const ForeignOffices = JSX(({ foreignOffices }) => foreignOffices?.length ? (jsxs("div", { className: "border-t border-main-divider mt-2xs pt-2xs", children: [jsx("div", { className: "mb-m", children: jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430 \u0437\u0430 \u0440\u0443\u0431\u0435\u0436\u043E\u043C:" }) }), jsx("div", { className: "flex gap-10", children: foreignOffices.map((office, i) => (jsx(ForeignOffice, { ...office }, String(i)))) })] })) : null);
3412
3576
  const ForeignOffice = JSX(({ icon, ...rest }) => {
3413
3577
  const link = useLink();
3414
3578
  const { text, target, href, onClick } = link(rest);
@@ -3559,7 +3723,7 @@
3559
3723
  ? handleIntersectionActivation(index)
3560
3724
  : handleIntersectionDeactivation(index));
3561
3725
  }), [subItems]);
3562
- return (jsxs("nav", { className: "relative mt-3 flex items-center justify-between", children: [jsx("div", { ref: subItemsListRef, className: "overflow-hidden whitespace-nowrap pb-3 mt-2", children: subItems.map((_, i) => (jsx(HeaderSubMenuItem, { className: style('ml-8 first:ml-0', visibleItemsCount - 1 < i ? 'invisible' : ''), active: _ === activeSubItem, observerOptions: observerOptions, onVisibilityChange: subItemsVisibilityHandlers[i], ..._ }, String(i)))) }), dropDownMenuItems.length ? (jsx(DropdownMenu, { className: "relative w-auto z-40", items: dropDownMenuItems, activeItem: activeSubItem })) : null, projectSettings.CHAT_BOT ? (jsx(HeaderChatBotButton, { className: "ml-9", iconVersion: iconVersion, chat: projectSettings.CHAT_BOT })) : null, jsx(InternetBankButton, { version: version, internetBankUrl: internetBankUrl })] }));
3726
+ return (jsxs("nav", { className: "relative mt-s flex items-center justify-between", children: [jsx("div", { ref: subItemsListRef, className: "overflow-hidden whitespace-nowrap pb-s mt-xs", children: subItems.map((_, i) => (jsx(HeaderSubMenuItem, { className: style('ml-3xl first:ml-0', visibleItemsCount - 1 < i ? 'invisible' : ''), active: _ === activeSubItem, observerOptions: observerOptions, onVisibilityChange: subItemsVisibilityHandlers[i], ..._ }, String(i)))) }), dropDownMenuItems.length ? (jsx(DropdownMenu, { className: "relative w-auto z-40", items: dropDownMenuItems, activeItem: activeSubItem })) : null, projectSettings.CHAT_BOT ? (jsx(HeaderChatBotButton, { className: "ml-9", iconVersion: iconVersion, chat: projectSettings.CHAT_BOT })) : null, jsx(InternetBankButton, { version: version, internetBankUrl: internetBankUrl })] }));
3563
3727
  });
3564
3728
  const handleIntersectionActivation = (index) => (prev) => Math.max(prev, index + 1);
3565
3729
  const handleIntersectionDeactivation = (index) => (prev) => Math.min(prev, index);
@@ -3573,20 +3737,20 @@
3573
3737
  const { topItems, logo, defaultLocation, foreignOffices, officesLink, internetBankUrl } = useSWRResource(projectSettings.SITEMAP || 'sitemap', rest.options?.page?.fallback);
3574
3738
  const activeTopItem = topItems?.find(isTopItemActive(router));
3575
3739
  const [location, onChangeLocation] = useLocation(defaultLocation);
3576
- return (jsxs(BlockWrapper, { tag: "header", className: style('pt-6 px-20', showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5', className), defaultPadding: "", version: version, ...rest, children: [jsxs("div", { className: "container", children: [jsxs("div", { className: "flex items-center", children: [jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topItems?.map((_, i) => (jsx(TopItem, { active: _ === activeTopItem, ..._ }, String(i)))), jsx(HeaderSecondaryMenu, { version: version, className: "ml-auto", locationName: location.name, officesLink: officesLink })] }), jsx("div", { className: style('mt-6 h-px bg-main-divider', version === 'transparent' ? 'opacity-30' : '') }), showSubMenu && activeTopItem?.items?.length ? (jsx(HeaderSubMenu, { subItems: activeTopItem.items, version: version, internetBankUrl: internetBankUrl })) : null] }), jsx(SearchDialog, { topItems: topItems }), jsx(LocationDialog, { currentLocation: location, foreignOffices: foreignOffices, onChangeLocation: onChangeLocation })] }));
3740
+ return (jsxs(BlockWrapper, { tag: "header", className: style('pt-3xl px-20', showSubMenu && activeTopItem?.items?.length ? 'pb-m' : 'pb-lg', className), defaultPadding: "", version: version, ...rest, children: [jsxs("div", { className: "container", children: [jsxs("div", { className: "flex items-center", children: [jsx(Logo, { className: "mr-3xl", bgColor: bgColor, logo: logo }), topItems?.map((_, i) => (jsx(TopItem, { active: _ === activeTopItem, ..._ }, String(i)))), jsx(HeaderSecondaryMenu, { version: version, className: "ml-auto", locationName: location.name, officesLink: officesLink })] }), jsx("div", { className: style('mt-xl h-px bg-main-divider', version === 'transparent' ? 'opacity-30' : '') }), showSubMenu && activeTopItem?.items?.length ? (jsx(HeaderSubMenu, { subItems: activeTopItem.items, version: version, internetBankUrl: internetBankUrl })) : null] }), jsx(SearchDialog, { topItems: topItems }), jsx(LocationDialog, { currentLocation: location, foreignOffices: foreignOffices, onChangeLocation: onChangeLocation })] }));
3577
3741
  });
3578
3742
 
3579
3743
  const gapStyles = {
3580
- XXL: 'gap-12',
3581
- XL: 'gap-10',
3582
- L: 'gap-8',
3583
- M: 'gap-4',
3584
- S: 'gap-2',
3585
- XS: 'gap-1',
3744
+ XXL: 'gap-6xl',
3745
+ XL: 'gap-5xl',
3746
+ L: 'gap-3xl',
3747
+ M: 'gap-m',
3748
+ S: 'gap-xs',
3749
+ XS: 'gap-2xs',
3586
3750
  '': '',
3587
3751
  };
3588
3752
 
3589
- const HorizontalLayout = JSX(({ className = '', gap = 'XS', isPadding = false, version = 'transparent', isTheme = false, ...rest }) => (jsx(BlockWrapper, { className: style('relative', 'grid grid-cols-12', gapStyles[gap], className), defaultPadding: isPadding ? 'p-default' : '', version: version, isTheme: isTheme, ...rest, children: renderChildren(rest) })));
3753
+ const HorizontalLayout = JSX(({ className = '', gap = 'XS', isPadding = false, version = 'transparent', isTheme = false, ...rest }) => (jsx(BlockWrapper, { className: style('relative', 'grid grid-cols-12', gapStyles[gap], className), defaultPadding: isPadding ? 'p-6xl' : '', version: version, isTheme: isTheme, ...rest, children: renderChildren(rest) })));
3590
3754
  HorizontalLayout.childrenTypes = {
3591
3755
  exclude: ['HorizontalLayout'],
3592
3756
  };
@@ -3623,7 +3787,7 @@
3623
3787
  function renderGallery({ activeIndex, cards, selectedCardIndex, onClick }) {
3624
3788
  const tabsShiftWidth = activeIndex * 460;
3625
3789
  const cardsAlignStyle = cards.length > 2 ? 'justify-start' : 'justify-center';
3626
- return (jsx("div", { style: { transform: `translateX(-${tabsShiftWidth}px)` }, className: "duration-1000 px-12", children: jsx("div", { className: `w-full flex flex-nowrap gap-3.5 pb-12 ${cardsAlignStyle}`, children: cards.map((slide, i) => renderNavButton$2({
3790
+ return (jsx("div", { style: { transform: `translateX(-${tabsShiftWidth}px)` }, className: "duration-1000 px-6xl", children: jsx("div", { className: `w-full flex flex-nowrap gap-3.5 pb-6xl ${cardsAlignStyle}`, children: cards.map((slide, i) => renderNavButton$2({
3627
3791
  slide,
3628
3792
  i,
3629
3793
  isActive: Boolean(i === selectedCardIndex),
@@ -3646,7 +3810,7 @@
3646
3810
  const InsuranceAmountBlock = JSX(({ className = '', title, insuranceTabs = [], button, ...rest }) => {
3647
3811
  const [activeSlideIndex, setActiveSlideIndex] = useState(0);
3648
3812
  const handleActiveSlideIndex = useCallback((_) => setActiveSlideIndex(_), []);
3649
- return (jsxs(BlockWrapper, { className: style('box-border overflow-hidden relative px-0', className), defaultPadding: "p-default", ...rest, children: [title ? jsx(Heading, { className: "text-center mb-8", title: title, headingType: "h3" }) : null, insuranceTabs?.length > 1 ? (jsx("div", { className: "p-1.5 bg-secondary-light w-fit mx-auto mb-7 rounded-md", children: insuranceTabs.map((item, i) => renderNavButton$1({
3813
+ return (jsxs(BlockWrapper, { className: style('box-border overflow-hidden relative px-0 space-y-2xl', className), defaultPadding: "p-6xl", ...rest, children: [title ? jsx(Heading, { className: "text-center", title: title, headingType: "h3" }) : null, insuranceTabs?.length > 1 ? (jsx("div", { className: "p-xs bg-secondary-light w-fit mx-auto rounded-md", children: insuranceTabs.map((item, i) => renderNavButton$1({
3650
3814
  title: item?.title,
3651
3815
  i,
3652
3816
  isActive: Boolean(i === activeSlideIndex),
@@ -3688,27 +3852,35 @@
3688
3852
  if (investmentZeroColumn) {
3689
3853
  columns.unshift(investmentZeroColumn);
3690
3854
  }
3691
- return (jsx(BlockWrapper, { className: className, ...rest, children: jsxs("div", { className: "container text-m font-light", children: [columns?.length ? (jsxs("div", { children: [jsxs("div", { className: "flex items-end relative pl-9 pr-5 text-white", children: [joinList(jsx("div", { className: "w-px h-4 bg-gray" }))(columns.map(renderInvestmentColumn)), jsx("div", { className: "absolute right-[30px] w-px h-4 bg-gray" })] }), jsx("div", { className: "border-t border-gray -mt-2 ml-9 mr-8" }), jsx("div", { className: "flex justify-between text-primary-text mt-3 -mx-10", children: columns.map(renderInvestmentColumnTitle) })] })) : null, items?.length ? (jsx(List, { className: "mt-9 max-w-[657px]", items: items, isDotted: isDotted, listItemSize: "M" })) : null] }) }));
3855
+ return (jsx(BlockWrapper, { className: className, ...rest, children: jsxs("div", { className: "container text-m font-light", children: [columns?.length ? (jsxs("div", { children: [jsxs("div", { className: "flex items-end relative pl-3xl pr-lg text-white", children: [joinList(jsx("div", { className: "w-px h-4 bg-gray" }))(columns.map(renderInvestmentColumn)), jsx("div", { className: "absolute right-3xl w-px h-4 bg-gray" })] }), jsx("div", { className: "border-t border-gray -mt-xs mx-3xl" }), jsx("div", { className: "flex justify-between text-primary-text mt-s -mx-5xl", children: columns.map(renderInvestmentColumnTitle) })] })) : null, items?.length ? (jsx(List, { className: "mt-9 max-w-[657px]", items: items, isDotted: isDotted, listItemSize: "M" })) : null] }) }));
3692
3856
  });
3693
3857
  const renderInvestmentColumn = (column, i, arr) => {
3694
3858
  const isSecondColumn = i === 1;
3695
3859
  const isLastColumn = i === arr.length - 1;
3696
- return (jsx("div", { className: `${getColumnClasses(isSecondColumn, isLastColumn, column.cells)}`, children: column.cells?.length ? (jsx("div", { className: `w-full ${isLastColumn ? 'border-4 border-green-more-dark p-1.5 min-w-[290px]' : ''}`, children: column.cells.reverse().map(renderInvestmentCell) })) : null }, `column_${i}`));
3860
+ return (jsx("div", { className: `${getColumnClasses(isSecondColumn, isLastColumn, column.cells)}`, children: column.cells?.length ? (jsx("div", { className: `w-full ${isLastColumn ? 'border-4 border-green-more-dark p-2xs min-w-[290px]' : ''}`, children: column.cells.reverse().map(renderInvestmentCell) })) : null }, `column_${i}`));
3697
3861
  };
3698
3862
  const getColumnClasses = (isSecondColumn, isLastColumn, cells = []) => [
3699
3863
  cells.length ? 'flex-1' : 'flex-0',
3700
- cells.length && !isSecondColumn && !isLastColumn ? 'pl-2.5' : '',
3701
- cells.length && !isLastColumn ? 'pr-2.5 pb-8' : 'pb-[22px]',
3864
+ cells.length && !isSecondColumn && !isLastColumn ? 'pl-s' : '',
3865
+ cells.length && !isLastColumn ? 'pr-s pb-3xl' : 'pb-xl',
3702
3866
  ].join(' ');
3703
3867
  const renderInvestmentCell = (cell, i) => {
3704
3868
  const cellSize = cell.cellSize || 'XS';
3705
3869
  const cellColor = cell.cellColor || 'green';
3706
- return cell.text ? (jsx("div", { className: `flex-1 flex items-center justify-center relative py-2 ${investmentCellSizeMap[cellSize]} ${investmentCellColorMap[cellColor]} ${cellSize === 'XS' ? 'px-3' : 'px-11'}`, children: jsx("div", { className: "text-center", children: cell.text }) }, `cell_${i}`)) : null;
3870
+ return cell.text ? (jsx("div", { className: `flex-1 flex items-center justify-center relative py-xs ${investmentCellSizeMap[cellSize]} ${investmentCellColorMap[cellColor]} ${cellSize === 'XS' ? 'px-s' : 'px-5xl'}`, children: jsx("div", { className: "text-center", children: cell.text }) }, `cell_${i}`)) : null;
3707
3871
  };
3708
- const renderInvestmentColumnTitle = (column, i, arr) => {
3709
- const isFirstColumn = i === 0;
3710
- const isLastColumn = i === arr.length - 1;
3711
- return (jsx("div", { className: `flex-1 max-w-[180px] text-center px-2 ${isFirstColumn ? 'pl-9' : ''} ${isLastColumn ? 'mr-3.5' : ' '}`, children: column.title }, `title_${i}`));
3872
+ const renderInvestmentColumnTitle = (column, i) => {
3873
+ return (jsx("div", { className: `flex-1 max-w-[180px] text-center px-xs last:pr-3xl`, children: column.title }, `title_${i}`));
3874
+ };
3875
+
3876
+ const KILO = 1024;
3877
+ const KILO_SIZES = ['байт', 'Кб', 'Мб', 'Гб', 'Тб', 'Пб'];
3878
+ const formatBytes = (bytes, decimals = 2) => {
3879
+ if (bytes === 0) {
3880
+ return '';
3881
+ }
3882
+ const i = Math.floor(Math.log(bytes) / Math.log(KILO));
3883
+ return `${parseFloat((bytes / Math.pow(KILO, i)).toFixed(decimals))} ${KILO_SIZES[i]}`;
3712
3884
  };
3713
3885
 
3714
3886
  const LinkDocItem = JSX(({ icon, text, fileSize, ...linkProps }) => (jsxs("a", { className: "flex box-border gap-3 group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main", role: "link", ...linkProps, children: [icon, text ? (jsxs(Text, { size: "text-l", font: "font-light", children: [text, jsx(Text, { color: "text-secondary-text", children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] })));
@@ -3734,24 +3906,27 @@
3734
3906
  };
3735
3907
  const LinkDocs = JSX(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => {
3736
3908
  const router = useRouter();
3737
- return (jsxs(BlockWrapper, { className: className, defaultPadding: "p-default", ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, align: align, headlineVersion: "M", as: "h2" }), documents?.length ? (jsx("div", { className: style('mt-5 sm:mt-8 flex flex-col gap-6', linkColumnsModeStyleMap[columnsMode]), role: "list", children: documents.map(renderLinkDocItem(router, columnsMode, icon)) })) : null] }));
3909
+ return (jsxs(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, align: align, headlineVersion: "M", as: "h2" }), documents?.length ? (jsx("div", { className: style('mt-5 sm:mt-8 flex flex-col gap-6', linkColumnsModeStyleMap[columnsMode]), role: "list", children: documents.map(renderLinkDocItem(router, columnsMode, icon)) })) : null] }));
3738
3910
  });
3739
3911
  const renderLinkDocItem = (router, columnsMode, icon) => (docBlockDef, i) => {
3740
3912
  const href = docBlockDef?.docType === 'Attachment'
3741
3913
  ? adjustHref(router)(docBlockDef?.attachment?.src)
3742
3914
  : docBlockDef?.href;
3743
- return (jsx("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: jsx(LinkDocItem, { ...docBlockDef, href: href, icon: icon ? jsx(Img, { className: linkIconStyle, image: icon, width: "24", height: "24" }) : null }) }, String(i)));
3915
+ const fileSize = docBlockDef?.docType === 'Attachment'
3916
+ ? formatBytes(docBlockDef?.attachment?.fileSize || 0)
3917
+ : docBlockDef?.fileSize;
3918
+ return (jsx("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: jsx(LinkDocItem, { ...docBlockDef, href: href, fileSize: fileSize, icon: icon ? jsx(Img, { className: linkIconStyle, image: icon, width: "24", height: "24" }) : null }) }, String(i)));
3744
3919
  };
3745
3920
 
3746
- const renderDescription$2 = (description) => description ? (jsx("div", { className: "mb-5 pt-0.5 sm:mb-0 sm:pt-0", children: jsx(Text, { size: "text-xl", "font-weight": "light", children: description }) })) : null;
3921
+ const renderDescription$1 = (description) => description ? (jsx("div", { className: "mb-5 pt-3xs sm:mb-0 sm:pt-0", children: jsx(Text, { size: "text-xl", "font-weight": "light", children: description }) })) : null;
3747
3922
 
3748
3923
  const renderList$1 = (items) => {
3749
- return items?.length ? (jsx(List, { items: items, className: "text-l font-light mb-2 last:mb-0" })) : (jsx("span", { className: "text-m font-light text-secondary-text", children: "\u041D\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u0430\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430 \u043D\u0430 QR-\u043A\u043E\u0434 \u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }));
3924
+ return items?.length ? (jsx(List, { items: items, className: "text-l font-light mb-xs last:mb-0" })) : (jsx("span", { className: "text-m font-light text-secondary-text", children: "\u041D\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u0430\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430 \u043D\u0430 QR-\u043A\u043E\u0434 \u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }));
3750
3925
  };
3751
3926
 
3752
3927
  const MobileAppTile = JSX(({ className, padding, alignTitle = 'left', buttons = [], description, headingType = 'h4', image, items, qr, title = 'Мобильное приложение', version = 'primary', ...rest }) => {
3753
- const containerStyle = version === 'secondary' ? 'p-3.5 min-w-[120px]' : 'min-w-[92px]';
3754
- return (jsx(BlockWrapper, { className: style('min-h-80', className), padding: "p-0", version: version, ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-default", title: title ? (jsx(Heading, { headingType: headingType, title: title, className: style('whitespace-pre-wrap', AlignText[alignTitle]) })) : null, backImage: image?.src ? jsx(Img, { image: image }) : null, buttons: renderButtonsSection(buttons, { isVertical: buttons.length > 3 }), children: [renderDescription$2(description), jsxs("div", { className: "flex flex-1 gap-s items-center", children: [qr?.src ? (jsx("div", { className: style('flex justify-center bg-white rounded-md', containerStyle), children: jsx(Img, { className: "w-fit", image: qr }) })) : null, renderList$1(items)] })] }) }));
3928
+ const containerStyle = version === 'secondary' ? 'p-m min-w-[120px]' : 'min-w-[92px]';
3929
+ return (jsx(BlockWrapper, { className: style('min-h-80', className), padding: "p-0", version: version, ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-6xl", title: title ? (jsx(Heading, { headingType: headingType, title: title, className: style('whitespace-pre-wrap', AlignText[alignTitle]) })) : null, buttons: renderButtonsSection(buttons, { isVertical: buttons.length > 4 }), children: [renderDescription$1(description), jsxs("div", { className: "flex flex-1 flex-wrap gap-m items-center", children: [qr?.src ? (jsx("div", { className: style('flex justify-center bg-white rounded-md', containerStyle), children: jsx(Img, { className: "w-fit", image: qr }) })) : null, renderList$1(items), image?.src ? jsx(Img, { image: image }) : null] })] }) }));
3755
3930
  });
3756
3931
 
3757
3932
  const initialFiltrationState = {};
@@ -3858,7 +4033,7 @@
3858
4033
  updatePointsToRender(null);
3859
4034
  }
3860
4035
  };
3861
- return (jsxs("div", { className: `${Object.values(styles$2).join(' ')} bg-white py-3 pl-11 pr-4 w-full`, children: [jsx(Icon, { name: "LoupeIcon", iconVersion: "black", width: "20", height: "20", className: "absolute left-4" }), jsx("input", { type: "text", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 \u0438\u043B\u0438 \u043C\u0435\u0442\u0440\u043E", onChange: onChange, className: "border-0 focus:border-0 outline-0 w-full" })] }));
4036
+ return (jsxs("div", { className: `${Object.values(styles$2).join(' ')} bg-white py-s pl-5xl pr-m w-full`, children: [jsx(Icon, { name: "LoupeIcon", iconVersion: "black", width: "20", height: "20", className: "absolute left-4" }), jsx("input", { type: "text", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 \u0438\u043B\u0438 \u043C\u0435\u0442\u0440\u043E", onChange: onChange, className: "border-0 focus:border-0 outline-0 w-full" })] }));
3862
4037
  };
3863
4038
 
3864
4039
  const styles$1 = {
@@ -4112,7 +4287,7 @@
4112
4287
  ];
4113
4288
  const currentWeekDayInd = new Date().getDay();
4114
4289
  const currentWeekDay = currentWeekDayInd > 0 ? workScheduleWeek[currentWeekDayInd - 1] : workScheduleWeek[6];
4115
- return (jsxs("div", { className: `flex flex-col font-sans bg-white w-full ${className}`, children: [jsxs("div", { className: "flex flex-col px-12 pt-12", children: [jsxs("div", { className: "flex justify-between", children: [jsx("div", { className: "text-h2", children: name }), renderCurrentDaySchedule(currentWeekDay)] }), jsxs("div", { className: "flex text-l font-light pt-4", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24", className: "pr-1" }), address] }), jsx("div", { className: "flex pt-4", children: nearbyOffices.map(renderNearbyOffice) })] }), jsxs("div", { className: "flex justify-between pt-8", children: [jsx("div", { className: "flex-grow h-full w-full overflow-hidden", children: point ? jsx(YandexMap, { points: [point], className: "h-full" }) : null }), jsx("div", { className: "w-[434px] min-w-[434px] pl-9 pr-12 pb-14 flex flex-col", children: workScheduleWeek.map(renderDay) })] })] }));
4290
+ return (jsxs("div", { className: `flex flex-col font-sans bg-white w-full ${className}`, children: [jsxs("div", { className: "flex flex-col px-12 pt-12", children: [jsxs("div", { className: "flex justify-between", children: [jsx("div", { className: "text-h2", children: name }), renderCurrentDaySchedule(currentWeekDay)] }), jsxs("div", { className: "flex text-l font-light pt-4", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24", className: "pr-1" }), address] }), jsx("div", { className: "flex pt-4", children: nearbyOffices.map(renderNearbyOffice) })] }), jsxs("div", { className: "flex justify-between pt-3xl", children: [jsx("div", { className: "flex-grow h-full w-full overflow-hidden", children: point ? jsx(YandexMap, { points: [point], className: "h-full" }) : null }), jsx("div", { className: "w-[434px] min-w-[434px] pl-9 pr-12 pb-14 flex flex-col", children: workScheduleWeek.map(renderDay) })] })] }));
4116
4291
  });
4117
4292
 
4118
4293
  const OfficeServicesBlock = JSX(({ className = '', title, servicesList, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col', className), ...rest, children: [title ? jsx(Heading, { headingType: "h5", className: "mb-5", title: title }) : null, servicesList?.length ? (jsx("ul", { className: "list-none m-0 p-0", children: servicesList.map(renderListItems) })) : null] })));
@@ -4137,7 +4312,7 @@
4137
4312
  'description' in _ ? renderBenefitDescription(_.description, i) : null,
4138
4313
  ]);
4139
4314
 
4140
- const BenefitItem = JSX(({ className, benefitsVersion, ..._ }) => (jsxs("div", { className: style('flex gap-s', 'description' in _ && _.description ? 'items-start' : 'items-center', className), children: ['icon' in _ ? renderBenefitIcon(_.icon, benefitsVersion) : null, jsx("div", { children: renderBenefitText(_) })] })));
4315
+ const BenefitItem = JSX(({ className, benefitsVersion, ..._ }) => (jsxs("div", { className: style('flex gap-m', 'description' in _ && _.description ? 'items-start' : 'items-center', className), children: ['icon' in _ ? renderBenefitIcon(_.icon, benefitsVersion) : null, jsx("div", { children: renderBenefitText(_) })] })));
4141
4316
 
4142
4317
  const MAX_BENEFITS_LEN_DEVIATION = 16;
4143
4318
  const benefitLength = (_) => _.type === 'rte'
@@ -4156,21 +4331,21 @@
4156
4331
  const BaseProductTile = JSX(({ className, padding, defaultPadding, title, description, headlineVersion = 'L', align = 'text-left', isInsetTitle = true, benefitsVersion, isTabularBenefits, benefits, __html, items, isDotted = true, listItemSize, tags, buttons, image, imageOptions: { imageAlign = 'end', directionRight = true, isBackground } = {}, children, }) => {
4157
4332
  const img = image?.src ? jsx(Img, { image: image }) : null;
4158
4333
  const headline = (jsx(Headline, { title: title, description: description, headlineVersion: headlineVersion, align: align, isPadding: false }));
4159
- return (jsx(BaseTile, { className: className, padding: padding, defaultPadding: defaultPadding, ...(isInsetTitle ? { insetTitle: headline } : { title: headline }), ...(isBackground ? { backImage: img } : leftOrRightImage(img, directionRight)), imageAlign: imageAlign, buttons: renderButtonsSection(buttons), children: jsxs("div", { className: "flex flex-col gap-m", children: [jsx(BenefitsList, { benefitsVersion: benefitsVersion, isTabularBenefits: isTabularBenefits, benefits: benefits }), __html ? jsx(RichText, { __html: __html }) : null, items?.length ? (jsx(List, { items: items, isDotted: isDotted, listItemSize: listItemSize })) : null, children, tags?.length ? jsx(Tags, { tags: tags }) : null] }) }));
4334
+ return (jsx(BaseTile, { className: className, padding: padding, defaultPadding: defaultPadding, ...(isInsetTitle ? { insetTitle: headline } : { title: headline }), ...(isBackground ? { backImage: img } : leftOrRightImage(img, directionRight)), imageAlign: imageAlign, buttons: renderButtonsSection(buttons), children: jsxs("div", { className: "flex flex-col gap-xl", children: [jsx(BenefitsList, { benefitsVersion: benefitsVersion, isTabularBenefits: isTabularBenefits, benefits: benefits }), __html ? jsx(RichText, { __html: __html }) : null, items?.length ? (jsx(List, { items: items, isDotted: isDotted, listItemSize: listItemSize })) : null, children, tags?.length ? jsx(Tags, { tags: tags }) : null] }) }));
4160
4335
  });
4161
4336
  const leftOrRightImage = (img, directionRight) => directionRight ? { rightImage: img } : { leftImage: img };
4162
4337
 
4163
- const renderInsuranceSumMonth = (sum, monthLimit) => sum || monthLimit ? (jsxs("div", { className: "flex flex-wrap xl:flex-nowrap xl:bg-main-divider xl:rounded-md p-xs gap-m", children: [Number(sum) > 0 ? renderValueBlock('Страховая сумма:', sum) : null, Number(monthLimit) > 0 ? renderValueBlock('Ежемесячный лимит:', monthLimit) : null] })) : null;
4338
+ const renderInsuranceSumMonth = (sum, monthLimit) => sum || monthLimit ? (jsxs("div", { className: "flex flex-wrap xl:flex-nowrap xl:bg-main-divider xl:rounded-md p-xs gap-xl", children: [Number(sum) > 0 ? renderValueBlock('Страховая сумма:', sum) : null, Number(monthLimit) > 0 ? renderValueBlock('Ежемесячный лимит:', monthLimit) : null] })) : null;
4164
4339
  const renderValueBlock = (title, value = 0) => (jsxs("div", { className: "basis-full flex flex-col-reverse sm:flex-row sm:justify-between items-baseline whitespace-pre", children: [jsx(Text, { font: "font-light", size: "text-l", children: title }), jsxs(Text, { size: "text-h6", color: "text-primary-text", children: [toLocalNumberFormat(2)(value), " \u20BD"] })] }));
4165
4340
 
4166
- const PictureText = JSX(({ className, padding, headlineVersion = 'M', align = 'text-center', sum, monthLimit, imageOptions, ...rest }) => (jsx(BlockWrapper, { className: className, padding: "p-0", ...rest, children: jsx(BaseProductTile, { className: "h-full", defaultPadding: "p-default", padding: padding, headlineVersion: headlineVersion, align: align, isInsetTitle: false, imageOptions: { directionRight: false, imageAlign: 'center', ...imageOptions }, ...rest, children: renderInsuranceSumMonth(Number(sum), Number(monthLimit)) }) })));
4341
+ const PictureText = JSX(({ className, padding, headlineVersion = 'M', align = 'text-center', sum, monthLimit, imageOptions, ...rest }) => (jsx(BlockWrapper, { className: className, padding: "p-0", ...rest, children: jsx(BaseProductTile, { className: "h-full", defaultPadding: "p-6xl", padding: padding, headlineVersion: headlineVersion, align: align, isInsetTitle: false, imageOptions: { directionRight: false, imageAlign: 'center', ...imageOptions }, ...rest, children: renderInsuranceSumMonth(Number(sum), Number(monthLimit)) }) })));
4167
4342
 
4168
4343
  const GOLDEN_RATIO = 1.618;
4169
- const Placeholder = JSX(({ className, title, description = 'Блок в разработке...', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border', className), ...rest, children: [jsx(Headline, { className: "max-w-[600px]", title: title, description: description, headlineVersion: "L", align: "text-left", isPadding: false }), jsx("figure", { className: "m-0 mt-m min-w-[80%]", children: renderShimmer() })] })));
4344
+ const Placeholder = JSX(({ className, title, description = 'Блок в разработке...', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border', className), ...rest, children: [jsx(Headline, { className: "max-w-[600px]", title: title, description: description, headlineVersion: "L", align: "text-left", isPadding: false }), jsx("figure", { className: "m-0 mt-xl min-w-[80%]", children: renderShimmer() })] })));
4170
4345
  const renderShimmer = (size = 3) => goldenSequence(100, size)
4171
4346
  .map((_) => Math.floor(_))
4172
4347
  .map(renderShimmerItem);
4173
- const renderShimmerItem = (width, index) => (jsx("div", { style: { width: `${width || 100}%` }, className: "h-4 mt-2 bg-secondary-light" }, String(index)));
4348
+ const renderShimmerItem = (width, index) => (jsx("div", { style: { width: `${width || 100}%` }, className: "h-4 mt-xs bg-secondary-light" }, String(index)));
4174
4349
  const goldenSequence = (first, size) => [first].concat(size > 0 ? goldenSequence(first / GOLDEN_RATIO, size - 1) : []);
4175
4350
 
4176
4351
  function renderBackwardButton({ text, href, target, icon }, version) {
@@ -4183,13 +4358,13 @@
4183
4358
  } }) }), jsx(Button, { version: "link", ...commonProps })] }));
4184
4359
  }
4185
4360
 
4186
- const ProductBlock = JSX(({ className, padding, backwardButton, ...rest }) => (jsxs(BlockWrapper, { className: style('overflow-hidden flex flex-col gap-lg box-border', className), defaultPadding: "p-default", padding: padding, ...rest, children: [backwardButton?.text
4361
+ const ProductBlock = JSX(({ className, padding, backwardButton, ...rest }) => (jsxs(BlockWrapper, { className: style('overflow-hidden flex flex-col gap-3xl box-border', className), defaultPadding: "p-6xl", padding: padding, ...rest, children: [backwardButton?.text
4187
4362
  ? renderBackwardButton(backwardButton, !rest.version || rest.version === 'primary' ? 'primary' : 'white')
4188
4363
  : null, jsx(BaseProductTile, { className: "grow h-full", ...rest })] })));
4189
4364
 
4190
4365
  const ProductGallery = JSX(({ className = '', padding, slides = [], ...rest }) => {
4191
4366
  const [activeSlideIndex, setActiveSlideIndex] = useState(0);
4192
- return (jsxs(BlockWrapper, { className: style('box-border overflow-hidden', className), defaultPadding: "py-default", padding: padding, ...rest, children: [jsx("div", { className: "flex duration-1000", style: { transform: `translateX(-${activeSlideIndex * 100}%)` }, role: "list", children: slides.map(({ productBlock }, i) => (jsx("div", { className: "box-border grow-0 shrink-0 basis-full", role: "listitem", children: jsx(BaseProductTile, { className: "pl-default h-full", headlineVersion: "XXL", ...productBlock, ...rest }) }, String(i)))) }), jsx("div", { className: "h-28 px-xs mt-m -mb-m flex gap-xs box-border", children: slides.map(renderNavButton({ activeSlideIndex, onClick: setActiveSlideIndex })) })] }));
4367
+ return (jsxs(BlockWrapper, { className: style('box-border overflow-hidden', className), defaultPadding: "py-6xl", padding: padding, ...rest, children: [jsx("div", { className: "flex duration-1000", style: { transform: `translateX(-${activeSlideIndex * 100}%)` }, role: "list", children: slides.map(({ productBlock }, i) => (jsx("div", { className: "box-border grow-0 shrink-0 basis-full", role: "listitem", children: jsx(BaseProductTile, { className: "pl-6xl h-full", headlineVersion: "XXL", ...productBlock, ...rest }) }, String(i)))) }), jsx("div", { className: "h-28 px-xs mt-m -mb-m flex gap-xs box-border", children: slides.map(renderNavButton({ activeSlideIndex, onClick: setActiveSlideIndex })) })] }));
4193
4368
  });
4194
4369
  const renderNavButton = ({ activeSlideIndex, onClick }) => ({ nav }, i) => {
4195
4370
  const isActive = i === activeSlideIndex;
@@ -4205,9 +4380,9 @@
4205
4380
  return (jsxs("button", { type: "button", onClick: () => onClick(i), "aria-label": nav?.title, className: style('relative px-6 box-border overflow-hidden text-left grow basis-0 border border-gray group-data-secondary:border-white/50', btnClassName), children: [jsx("div", { className: btnTitleClassName, children: nav?.title }), jsx("div", { className: btnDescClassName, children: nav?.description })] }, String(i)));
4206
4381
  };
4207
4382
 
4208
- const ProductTile = JSX(({ className, padding, headlineVersion = 'S', isTabularBenefits = true, additionalDescription, imageOptions, ...rest }) => (jsx(BlockWrapper, { className: className, padding: "p-0", ...rest, children: jsx(BaseProductTile, { className: "h-full", defaultPadding: "p-m", padding: padding, headlineVersion: headlineVersion, isTabularBenefits: isTabularBenefits, imageOptions: { isBackground: true, ...imageOptions }, ...rest, children: additionalDescription ? (jsx(Paragraph, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription })) : null }) })));
4383
+ const ProductTile = JSX(({ className, padding, headlineVersion = 'S', isTabularBenefits = true, additionalDescription, imageOptions, ...rest }) => (jsx(BlockWrapper, { className: className, padding: "p-0", ...rest, children: jsx(BaseProductTile, { className: "h-full", defaultPadding: "p-xl", padding: padding, headlineVersion: headlineVersion, isTabularBenefits: isTabularBenefits, imageOptions: { isBackground: true, ...imageOptions }, ...rest, children: additionalDescription ? (jsx(Paragraph, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription })) : null }) })));
4209
4384
 
4210
- const PromoTile = JSX(({ className, title = 'Акции и спецпредложения', description, headlineVersion = 'S', date, buttons = [], ...rest }) => (jsx(BlockWrapper, { className: style('box-border', className), ...rest, children: jsxs(BaseTile, { className: "h-full", title: title ? (jsx(Headline, { title: title, headlineVersion: headlineVersion, align: "text-left", isPadding: false })) : null, buttons: renderButtonsSection(buttons), children: [date ? jsx("div", { className: "text-s mb-2", children: formatDate(date) }) : null, jsx("div", { className: "text-l", children: description })] }) })));
4385
+ const PromoTile = JSX(({ className, title = 'Акции и спецпредложения', description, headlineVersion = 'S', date, buttons = [], ...rest }) => (jsx(BlockWrapper, { className: style('box-border', className), ...rest, children: jsxs(BaseTile, { className: "h-full", title: title ? (jsx(Headline, { title: title, headlineVersion: headlineVersion, align: "text-left", isPadding: false })) : null, buttons: renderButtonsSection(buttons), children: [date ? jsx("div", { className: "text-s mb-xs", children: formatDate(date) }) : null, jsx("div", { className: "text-l", children: description })] }) })));
4211
4386
  function formatDate(date) {
4212
4387
  const dateObj = new Date(date);
4213
4388
  const dateFormat = {
@@ -4267,7 +4442,7 @@
4267
4442
  })) : (jsx(DefaultFoldButton, { label: label, icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: onToggle }));
4268
4443
  };
4269
4444
  const renderPrimaryFoldButton = ({ label, labelIconBgVersion, icon, onToggle, labelIcon, }) => {
4270
- return (jsxs("button", { className: style('border-none bg-transparent px-0 flex justify-between items-center w-full group/button', labelIcon?.icon ? 'py-2' : 'py-5'), onClick: onToggle, children: [jsxs("div", { className: "flex items-center group-hover/button:text-primary-main gap-3", children: [renderRoundedIcon(), label ? (jsx(Text, { size: "text-h6", font: "font-normal", children: label })) : null] }), icon ? jsx(Icon, { name: icon, iconVersion: rollupIconVersion, width: "24", height: "24" }) : null] }));
4445
+ return (jsxs("button", { className: style('border-none bg-transparent px-0 flex justify-between items-center w-full group/button', labelIcon?.icon ? 'py-xs' : 'py-lg'), onClick: onToggle, children: [jsxs("div", { className: "flex items-center group-hover/button:text-primary-main gap-s", children: [renderRoundedIcon(), label ? (jsx(Text, { size: "text-h6", font: "font-normal", children: label })) : null] }), icon ? jsx(Icon, { name: icon, iconVersion: rollupIconVersion, width: "24", height: "24" }) : null] }));
4271
4446
  };
4272
4447
 
4273
4448
  const WrapperSelect = JSX(({ data, fieldLabel, fieldValue, selected, placeholder = '', setSelected, label }) => {
@@ -4285,7 +4460,7 @@
4285
4460
  const RenderRadioButtons = JSX(() => {
4286
4461
  const [selectedOption, setSelectedOption] = useState('option2');
4287
4462
  const onChange = useCallback((_) => setSelectedOption(_), []);
4288
- return (jsxs("div", { children: [jsx(Radio, { className: "mb-2", name: "contractType", text: "\u041F\u0440\u043E\u0441\u0442\u043E\u0435 \u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435", value: "option1", checked: selectedOption === 'option1', onChange: onChange }), jsx(Radio, { name: "contractType", text: "\u0421\u0434\u0435\u043B\u043A\u0430 \u0441 \u043D\u0435\u0434\u0432\u0438\u0436\u0438\u043C\u043E\u0441\u0442\u044C\u044E", value: "option2", checked: selectedOption === 'option2', onChange: onChange })] }));
4463
+ return (jsxs("div", { children: [jsx(Radio, { className: "mb-xs", name: "contractType", text: "\u041F\u0440\u043E\u0441\u0442\u043E\u0435 \u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435", value: "option1", checked: selectedOption === 'option1', onChange: onChange }), jsx(Radio, { name: "contractType", text: "\u0421\u0434\u0435\u043B\u043A\u0430 \u0441 \u043D\u0435\u0434\u0432\u0438\u0436\u0438\u043C\u043E\u0441\u0442\u044C\u044E", value: "option2", checked: selectedOption === 'option2', onChange: onChange })] }));
4289
4464
  });
4290
4465
 
4291
4466
  const ITEMS = ['От 1 дня', 'До 365 дней'];
@@ -4309,7 +4484,7 @@
4309
4484
 
4310
4485
  const SafeDepositRentalTotal = JSX(({ days, tariffs = [] }) => {
4311
4486
  const price = calculatePrice(days, tariffs);
4312
- return (jsxs("div", { className: "flex flex-col justify-between", children: [jsxs("div", { className: "flex", children: [renderTotal('Аренда за', days, 'mr-11'), renderTotal('Цена', price + ' ₽')] }), jsxs("div", { className: "bg-primary-main px-10 pt-10 pb-4 text-center", children: [jsx(Img, { image: { icon: 'PackA4Icon' }, width: "290", height: "257" }), jsxs("span", { className: "text-s font-light text-white opacity-80 mt-2 inline-block", children: ["\u041D\u0430 \u0440\u0438\u0441\u0443\u043D\u043A\u0438 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0430 \u043F\u0430\u0447\u043A\u0430", jsx("br", {}), " \u043B\u0438\u0441\u0442\u043E\u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0430 \u04104"] })] })] }));
4487
+ return (jsxs("div", { className: "flex flex-col justify-between", children: [jsxs("div", { className: "flex", children: [renderTotal('Аренда за', days, 'mr-11'), renderTotal('Цена', price + ' ₽')] }), jsxs("div", { className: "bg-primary-main px-10 pt-10 pb-4 text-center", children: [jsx(Img, { image: { icon: 'PackA4Icon' }, width: "290", height: "257" }), jsxs("span", { className: "text-s font-light text-white opacity-80 mt-xs inline-block", children: ["\u041D\u0430 \u0440\u0438\u0441\u0443\u043D\u043A\u0438 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0430 \u043F\u0430\u0447\u043A\u0430", jsx("br", {}), " \u043B\u0438\u0441\u0442\u043E\u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0430 \u04104"] })] })] }));
4313
4488
  });
4314
4489
  const renderTotal = (label, total, className = '') => {
4315
4490
  return (jsxs("div", { className: className, children: [jsx("div", { className: "text-m font-light text-secondary-text mb-1", children: label }), jsx("span", { className: "text-h3 text-primary-text", children: total })] }));
@@ -4392,7 +4567,7 @@
4392
4567
  const branches = useSafeBoxes(selectedRegion);
4393
4568
  const handleChangeSafeDepositState = useCallback((state) => setStateDepositState((oldState) => ({ ...oldState, ...state })), [setStateDepositState]);
4394
4569
  const points = getCoordinates(getBranch(branches, safeDepositState.selectedBranch) || branches);
4395
- return (jsxs(BlockWrapper, { className: className, defaultPadding: "", ...rest, children: [jsxs("div", { className: "px-8 py-12", children: [title ? (jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "text-primary-text mb-2.5 text-center" })) : null, jsx(SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onClick: handleShowMap, onChange: handleChangeSafeDepositState }), footnote ? (jsx(Paragraph, { size: "text-s", font: "font-light", children: footnote })) : null] }), points.length && showMap ? jsx(YandexMap, { points: points, className: "h-[640px]" }) : null] }));
4570
+ return (jsxs(BlockWrapper, { className: className, defaultPadding: "", ...rest, children: [jsxs("div", { className: "p-4xl", children: [title ? (jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "text-primary-text mb-s text-center" })) : null, jsx(SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onClick: handleShowMap, onChange: handleChangeSafeDepositState }), footnote ? (jsx(Paragraph, { size: "text-s", font: "font-light", children: footnote })) : null] }), points.length && showMap ? jsx(YandexMap, { points: points, className: "h-[640px]" }) : null] }));
4396
4571
  });
4397
4572
  const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
4398
4573
 
@@ -4415,9 +4590,9 @@
4415
4590
  };
4416
4591
  const renderDefaultStep = ({ styleMap, isMainButton, version }) => (step, i, arr) => {
4417
4592
  const { label, description, button, items, isDotted } = step;
4418
- return (jsxs("div", { className: style('relative flex flex-col items-center text-center whitespace-pre-line overflow-hidden', getContainerWidth(arr.length)), children: [jsxs("div", { className: style(button?.text ? 'mb-8' : '', 'text-center'), children: [label ? (jsx("div", { className: "mb-2", children: jsx(Text, { size: "text-h6", children: label }) })) : null, jsxs("div", { className: "flex flex-col items-center", children: [description ? jsx("div", { className: styleMap.description, children: description }) : null, jsx(List, { className: style(description ? `${styleMap.description} mt-0.5` : 'text-h6'), items: items, listItemSize: "M", isDotted: isDotted })] })] }), button?.text && !isMainButton ? (jsx(Button, { className: "box-border py-3 h-12 w-full max-w-[240px] mt-auto", version: version, ...button, children: button?.text })) : null] }, String(i)));
4593
+ return (jsxs("div", { className: style('relative flex flex-col items-center text-center whitespace-pre-line overflow-hidden space-y-3xl', getContainerWidth(arr.length)), children: [jsxs("div", { className: "text-center space-y-xs", children: [label ? (jsx("div", { children: jsx(Text, { size: "text-h6", children: label }) })) : null, jsxs("div", { className: "flex flex-col items-center gap-3xs", children: [description ? jsx("div", { className: styleMap.description, children: description }) : null, jsx(List, { className: styleMap.description, items: items, listItemSize: "M", isDotted: isDotted })] })] }), button?.text && !isMainButton ? (jsx(Button, { className: "box-border py-s h-12 w-full max-w-[240px] mt-auto", version: version, ...button, children: button?.text })) : null] }, String(i)));
4419
4594
  };
4420
- const getContainerWidth = (length) => (length < 5 ? 'w-[276px]' : 'w-[210px]');
4595
+ const getContainerWidth = (length) => (length < 5 ? 'w-[276px]' : 'w-[200px]');
4421
4596
 
4422
4597
  const STEPS_BLOCK_STYLE = {
4423
4598
  description: 'text-white/80 text-l font-light group-data-primary:text-secondary-text group-data-gray:text-secondary-text',
@@ -4428,21 +4603,21 @@
4428
4603
  };
4429
4604
 
4430
4605
  const getLineOpacity = (showLines) => (showLines ? '' : 'opacity-0');
4431
- const getPaddingX = (steps) => (steps < 5 ? 'px-[88px]' : 'px-[55px]');
4606
+ const getPaddingX = (steps) => (steps < 5 ? 'px-24' : 'px-16');
4432
4607
  const StepsBlock = JSX(({ className = '', showLines = true, steps = [], buttons, size = 'normal', version = 'primary', stepVersion = 'gray', title, ...rest }) => {
4433
4608
  const shortGaps = steps.length > 3;
4434
4609
  const styleMap = STEPS_BLOCK_STYLE;
4435
4610
  const lineOpacity = getLineOpacity(showLines);
4436
4611
  const paddingX = getPaddingX(steps.length);
4437
4612
  const isMainButton = Boolean(buttons?.every((b) => b?.text));
4438
- return (jsxs(BlockWrapper, { className: style('box-border flex flex-col items-center overflow-hidden', className), defaultPadding: "p-default", version: version, ...rest, children: [title ? (jsx(Heading, { headingType: "h4", className: "max-w-[752px] text-center mb-9", title: title })) : null, steps?.length ? (jsxs("div", { className: "box-border", children: [jsx("div", { className: style('flex items-center', paddingX), children: joinList(jsx("div", { className: style('h-0.5 w-full bg-secondary-light flex-1', lineOpacity) }))(steps.map(renderStepIcon(styleMap, size, stepVersion))) }), jsx("div", { className: style('flex justify-between mt-4', shortGaps ? 'gap-x-3' : 'gap-x-[101px]'), children: steps.map(renderStep({ styleMap, isMainButton, version })) })] })) : null, renderButtonsSection(buttons, { className: 'mt-8' })] }));
4613
+ return (jsxs(BlockWrapper, { className: style('box-border flex flex-col items-center overflow-hidden gap-y-3xl', className), defaultPadding: "p-6xl", version: version, ...rest, children: [title ? jsx(Heading, { headingType: "h4", className: "text-center", title: title }) : null, steps?.length ? (jsxs("div", { className: "box-border space-y-lg", children: [jsx("div", { className: style('flex items-center', paddingX), children: joinList(jsx("div", { className: style('h-0.5 w-full bg-secondary-light flex-1', lineOpacity) }))(steps.map(renderStepIcon(styleMap, size, stepVersion))) }), jsx("div", { className: style('flex justify-between', shortGaps ? 'gap-x-3' : 'gap-x-20'), children: steps.map(renderStep({ styleMap, isMainButton, version })) })] })) : null, renderButtonsSection(buttons)] }));
4439
4614
  });
4440
4615
  const renderStepIcon = (styleMap, size, stepVersion) => ({ icon }, i) => {
4441
- const styleStepIconSize = size === 'normal' ? 'h-[100px] w-[100px]' : 'h-[63px] w-[63px]';
4442
- const stepVersionIconTextStyles = stepVersion === 'secondary' ? 'group-data-primary:text-white' : 'text-secondary-text';
4443
4616
  const iconVersion = stepVersion === 'secondary' ? 'white' : 'color';
4444
- return (jsx(BlockWrapper, { className: `${styleStepIconSize} flex justify-center items-center text-center rounded-full p-[26px] box-border z-10`, version: stepVersion, children: checkCanRenderIcon(icon) ? (jsx(Img, { image: { ...icon, iconVersion: icon.iconVersion || iconVersion }, width: "48", height: "48" })) : (jsx("span", { className: style('text-h4', stepVersion === 'transparent' ? styleMap.iconText : stepVersionIconTextStyles), children: i + 1 })) }, String(i)));
4617
+ return (jsx(BlockWrapper, { defaultPadding: "", className: `${getIconSizeStyle(size)} flex justify-center items-center text-center rounded-full box-border z-10`, version: stepVersion, children: checkCanRenderIcon(icon) ? (jsx(Img, { image: { ...icon, iconVersion: icon.iconVersion || iconVersion }, width: "48", height: "48" })) : (jsx("span", { className: style('text-h4', stepVersion === 'transparent' ? styleMap.iconText : getIconTextStyle(stepVersion)), children: i + 1 })) }, String(i)));
4445
4618
  };
4619
+ const getIconSizeStyle = (size) => (size === 'normal' ? 'h-24 w-24' : 'h-16 w-16');
4620
+ const getIconTextStyle = (version) => version === 'secondary' ? 'group-data-primary:text-white' : 'text-secondary-text';
4446
4621
 
4447
4622
  const DEFAULT_GAP = 14;
4448
4623
  /*
@@ -4521,7 +4696,7 @@
4521
4696
  return (jsx("div", { className: getTabClassName('block', active, tabsMode), role: "tab", "aria-selected": active, onClick: () => onClick(tab), children: jsx("a", { role: "tab", className: style('flex flex-1 items-center justify-center h-full', getTabClassName('text', active, tabsMode)), target: tab.target, href: adjustedProps.href, onClick: handleClick, children: jsx("span", { children: tab.text }) }) }));
4522
4697
  });
4523
4698
 
4524
- const BADGE_CLASSES = 'bg-main-divider min-w-[22px] h-[22px] rounded-full text-xs ml-2 flex justify-center items-center';
4699
+ const BADGE_CLASSES = 'bg-main-divider min-w-[22px] h-[22px] rounded-full text-xs ml-xs flex justify-center items-center';
4525
4700
  const LIGHT_BADGE_CLASSES = 'bg-white/30 text-white';
4526
4701
  const DARK_BADGE_CLASSES = 'text-secondary-text group-hover/btn:text-primary-main';
4527
4702
  const renderGroupTab = ({ page, currentTab, showCounter, onClick, tabsMode }) => (tab, i) => {
@@ -4610,7 +4785,7 @@
4610
4785
  const COLUMN_WIDTH$1 = 4 * 80 + 40; // w-80 + pl-10 = 360px
4611
4786
 
4612
4787
  const TableInnerButton = JSX(({ isOpen, onClick }) => {
4613
- return (jsxs(Button, { version: "primary", onClick: onClick, className: "w-full flex items-center justify-center rounded-none py-5", children: [jsx("div", { className: "text-h4", children: isOpen ? 'Скрыть' : 'Показать' }), jsx(Icon, { name: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon', className: "ml-3", iconVersion: "white", width: "20", height: "20" })] }));
4788
+ return (jsxs(Button, { version: "primary", onClick: onClick, className: "w-full flex items-center justify-center rounded-none py-5", children: [jsx("div", { className: "text-h4", children: isOpen ? 'Скрыть' : 'Показать' }), jsx(Icon, { name: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon', className: "ml-s", iconVersion: "white", width: "20", height: "20" })] }));
4614
4789
  });
4615
4790
 
4616
4791
  const renderButtonsCellData = ({ buttons }) => renderButtonsSection(buttons);
@@ -4643,7 +4818,7 @@
4643
4818
  setOpenTableInnerIdx(cellIdx);
4644
4819
  setTableInner(props);
4645
4820
  };
4646
- return (jsxs("div", { className: cell?.tableCellType === 'Table' ? 'ml-10' : `first:pt-5 last:pb-5 pl-10`, children: [i > 0 ? jsx("div", { className: "h-5" }) : null, renderCell({
4821
+ return (jsxs("div", { className: cell?.tableCellType === 'Table' ? 'ml-5xl' : `first:pt-lg last:pb-lg pl-5xl`, children: [i > 0 ? jsx("div", { className: "h-5" }) : null, renderCell({
4647
4822
  cell,
4648
4823
  cellProps: {
4649
4824
  rowIdx,
@@ -4703,11 +4878,11 @@
4703
4878
  'flex duration-1000 text-center',
4704
4879
  rowIdx !== 0 ? 'font-normal' : 'font-light',
4705
4880
  ].join(' ');
4706
- return (jsxs("div", { className: "flex border-main-divider border border-t-0 border-x-0 border-solid", children: [headerColumn?.data ? (jsx("div", { className: `text-xl fontd-light w-[214px] pb-5 ${rowIdx === 0 ? 'pt-8' : 'pt-6'}`, children: headerColumn.data })) : null, jsx("div", { className: "flex flex-grow overflow-hidden", children: jsx("div", { className: columnsClassName, style: {
4881
+ return (jsxs("div", { className: "flex border-main-divider border border-t-0 border-x-0 border-solid", children: [headerColumn?.data ? (jsx("div", { className: `text-xl font-light w-[214px] py-lg `, children: headerColumn.data })) : null, jsx("div", { className: "flex flex-grow overflow-hidden", children: jsx("div", { className: columnsClassName, style: {
4707
4882
  transform: `translateX(-${transform}px)`,
4708
- }, children: columns?.map((_, i) => (jsxs("div", { className: "flex flex-col flex-grow justify-center pt-6 pb-5 odd:bg-main-divider", children: [_?.data ? jsx("div", { className: "text-xl font-light mb-3", children: _.data }) : null, _?.cols ? renderCols(_.cols, activeColumnIndex) : null] }, `row${i}`))) }) })] }, String(rowIdx)));
4883
+ }, children: columns?.map((_, i) => (jsxs("div", { className: "flex flex-col flex-grow gap-s justify-center py-xl odd:bg-main-divider", children: [_?.data ? jsx("div", { className: "text-xl font-light", children: _.data }) : null, _?.cols ? renderCols(_.cols, activeColumnIndex) : null] }, `row${i}`))) }) })] }, String(rowIdx)));
4709
4884
  };
4710
- const renderCols = (cols, rowIndex) => cols?.length > 0 ? (jsx("div", { className: `flex ${rowIndex} ${rowIndex === 0 ? 'text-secondary-text' : ''} last:mr-3`, children: cols.map((data, i) => (jsx("div", { className: `w-[76px] text-h6 mr-5 first:ml-8`, children: data }, String(i)))) })) : null;
4885
+ const renderCols = (cols, rowIndex) => cols?.length > 0 ? (jsx("div", { className: `flex ${rowIndex} ${rowIndex === 0 ? 'text-secondary-text' : ''} last:mr-3`, children: cols.map((data, i) => (jsx("div", { className: `w-20 text-h6 mr-lg first:ml-3xl`, children: data }, String(i)))) })) : null;
4711
4886
 
4712
4887
  const InnerTableBody = JSX(({ activeTabIndex, items }) => {
4713
4888
  const [hiddenTables, setHiddenTables] = useState({});
@@ -4718,7 +4893,7 @@
4718
4893
  }) }));
4719
4894
  });
4720
4895
 
4721
- const InnerTableHeader = JSX(({ currencies, linkToPDF, activeTabIndex, setActiveTabIndex }) => (jsxs("div", { className: "flex justify-between w-full pt-2.5 pb-3", children: [currencies && currencies.length > 1 ? (jsx("div", { className: "flex bg-secondary-light p-1.5 rounded-md", children: currencies.map((currency, idx) => (jsx("div", { className: `rounded-md text-xl font-light px-4 py-3 cursor-pointer ${idx === activeTabIndex ? 'bg-primary-main text-white' : 'text-secondary-text'}`, onClick: () => setActiveTabIndex(idx), children: currency || idx + 1 }, currency))) })) : null, linkToPDF ? (jsx(Button, { href: linkToPDF, version: "secondary", target: "_blank", appendLeft: jsx(Icon, { name: "DocDownloadIcon", iconVersion: "color", className: "mr-0.5", width: "20", height: "20" }), text: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432 PDF" })) : null] })));
4896
+ const InnerTableHeader = JSX(({ currencies, linkToPDF, activeTabIndex, setActiveTabIndex }) => (jsxs("div", { className: "flex justify-between w-full px-s", children: [currencies && currencies.length > 1 ? (jsx("div", { className: "flex bg-secondary-light p-2xs rounded-md", children: currencies.map((currency, idx) => (jsx("div", { className: `rounded-md text-xl font-light px-m py-s cursor-pointer ${idx === activeTabIndex ? 'bg-primary-main text-white' : 'text-secondary-text'}`, onClick: () => setActiveTabIndex(idx), children: currency || idx + 1 }, currency))) })) : null, linkToPDF ? (jsx(Button, { href: linkToPDF, version: "secondary", target: "_blank", appendLeft: jsx(Icon, { name: "DocDownloadIcon", iconVersion: "color", className: "mr-3xs", width: "20", height: "20" }), text: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432 PDF" })) : null] })));
4722
4897
 
4723
4898
  function useTariffsInnerTableData(directoryName) {
4724
4899
  const { data } = useAsyncData(tariffsInnerTableDataUrl(directoryName), fetchTariffsInnerTableData);
@@ -4750,7 +4925,7 @@
4750
4925
  const [openTableInnerIdx, setOpenTableInnerIdx] = useState(undefined);
4751
4926
  const handleOpenTableInnerIdx = useCallback((_) => setOpenTableInnerIdx(_), []);
4752
4927
  const onHideContentClick = () => setTableInner(undefined);
4753
- return (jsxs(TariffsTableRowContainer, { onHideContentClick: onHideContentClick, tableInner: tableInner, ...rest, children: [jsx("div", { className: `text-s py-5 ${FIRST_CELL_CLASSES} ${DIVIDER_CLASSES}`, children: jsxs("div", { className: "flex items-center text-primary-text", role: "cell", children: [header?.icon ? (jsx(Img, { className: "mr-3.5 max-w-6", image: header.icon, width: "24", height: "24" })) : null, header?.title ? jsx("div", { className: "text-m font-light", children: header?.title }) : null] }) }), data?.length ? (jsx(TableCarouselContainer, { activeIndex: activeIndex, columnWidth: COLUMN_WIDTH$1, version: "tariff", children: data.map((cells, i) => (jsx(TariffsTableCell, { cells: cells, rowIdx: rowIdx, cellIdx: i, setTableInner: handleSetTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: handleOpenTableInnerIdx, ...rest }, String(i)))) })) : null] }));
4928
+ return (jsxs(TariffsTableRowContainer, { onHideContentClick: onHideContentClick, tableInner: tableInner, ...rest, children: [jsx("div", { className: `text-s py-lg ${FIRST_CELL_CLASSES} ${DIVIDER_CLASSES}`, children: jsxs("div", { className: "flex items-center text-primary-text", role: "cell", children: [header?.icon ? (jsx(Img, { className: "mr-m max-w-6", image: header.icon, width: "24", height: "24" })) : null, header?.title ? jsx("div", { className: "text-m font-light", children: header?.title }) : null] }) }), data?.length ? (jsx(TableCarouselContainer, { activeIndex: activeIndex, columnWidth: COLUMN_WIDTH$1, version: "tariff", children: data.map((cells, i) => (jsx(TariffsTableCell, { cells: cells, rowIdx: rowIdx, cellIdx: i, setTableInner: handleSetTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: handleOpenTableInnerIdx, ...rest }, String(i)))) })) : null] }));
4754
4929
  });
4755
4930
 
4756
4931
  const TariffsTable = JSX(({ className = '', title, description, rowHeaders, tariffsColumns: columns, hiddenRowsNum = 0, ...rest }) => {
@@ -4766,14 +4941,8 @@
4766
4941
  });
4767
4942
  const rows = (rowData || []).map((row, i) => (jsx(TariffsTableRow, { row: row, activeIndex: activeIndex, rowIdx: i, ...rest }, String(i))));
4768
4943
  const [visibleRows, hiddenRows] = hiddenRowsNum > 0 ? [rows.slice(0, -hiddenRowsNum), rows.slice(-hiddenRowsNum)] : [rows, []];
4769
- return (jsxs(BlockWrapper, { className: style('overflow-hidden relative', className), defaultPadding: style('p-default', itemCount > 1 ? 'pr-0' : ''), ...rest, children: [renderTitle({ title, description }), renderDescription$1(description), hiddenRowsNum > 0 ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs(Wrapper, { controls: controls, children: [visibleRows, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: renderDefaultFoldButton })) : (jsx(Wrapper, { controls: controls, children: rows }))] }));
4944
+ return (jsxs(BlockWrapper, { className: style('overflow-hidden relative space-y-xl', className), defaultPadding: style('p-6xl', itemCount > 1 ? 'pr-0' : ''), ...rest, children: [jsx(Headline, { title: title, description: description, headlineVersion: "M", isPadding: false }), hiddenRowsNum > 0 ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs(Wrapper, { controls: controls, children: [visibleRows, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: renderDefaultFoldButton })) : (jsx(Wrapper, { controls: controls, children: rows }))] }));
4770
4945
  });
4771
- function renderTitle({ title, description }) {
4772
- return title ? (jsx(Heading, { headingType: "h3", className: `text-center ${description ? 'mb-2.5' : 'mb-8'}`, title: title })) : null;
4773
- }
4774
- function renderDescription$1(description) {
4775
- return description ? jsx("div", { className: "mb-9 text-center text-l", children: description }) : null;
4776
- }
4777
4946
  const Wrapper = JSX(({ children, controls }) => {
4778
4947
  const { isScrollAvailable } = controls;
4779
4948
  return (jsxs("div", { role: "table", children: [jsxs("div", { className: "relative", children: [children, renderArrows({
@@ -4792,7 +4961,7 @@
4792
4961
  return (jsx("ul", { className: style('text-secondary-text group-data-secondary:text-white/80', listStyle), children: items.map((_, i) => (jsx("li", { children: jsx(Text, { size: "text-s", font: "font-light", children: _ }) }, `listItem-${i}`))) }));
4793
4962
  };
4794
4963
 
4795
- const Tile = JSX(({ className, padding, headlineVersion = 'S', listItemSize = 'M', ...rest }) => (jsx(BlockWrapper, { className: className, padding: "p-0", ...rest, children: jsx(BaseProductTile, { className: "h-full", defaultPadding: "p-m", padding: padding, headlineVersion: headlineVersion, listItemSize: listItemSize, ...rest }) })));
4964
+ const Tile = JSX(({ className, padding, headlineVersion = 'S', listItemSize = 'M', ...rest }) => (jsx(BlockWrapper, { className: className, padding: "p-0", ...rest, children: jsx(BaseProductTile, { className: "h-full", defaultPadding: "p-xl", padding: padding, headlineVersion: headlineVersion, listItemSize: listItemSize, ...rest }) })));
4796
4965
 
4797
4966
  const alignStyle = {
4798
4967
  stretch: 'items-stretch',
@@ -4802,7 +4971,7 @@
4802
4971
  };
4803
4972
  const VerticalLayout = JSX(({ className = '', gap = '', align = 'stretch', isPadding = false, isInnerPadding = true, version = 'transparent', isTheme = false, ...rest }) => {
4804
4973
  const innerPaddingStyle = isInnerPadding ? '' : '!p-0';
4805
- return (jsx(BlockWrapper, { className: style('relative', 'flex flex-col [&>*]:max-w-full', gapStyles[gap], align && alignStyle[align], className), defaultPadding: isPadding ? 'p-default' : '', version: version, isTheme: isTheme, ...rest, children: renderChildren({
4974
+ return (jsx(BlockWrapper, { className: style('relative', 'flex flex-col [&>*]:max-w-full', gapStyles[gap], align && alignStyle[align], className), defaultPadding: isPadding ? 'p-6xl' : '', version: version, isTheme: isTheme, ...rest, children: renderChildren({
4806
4975
  ...rest,
4807
4976
  renderProps: (block, options) => renderBlock$1(block, options, { className: innerPaddingStyle }),
4808
4977
  }) }));
@@ -5020,10 +5189,10 @@
5020
5189
  ContentPage.childrenTypes = [];
5021
5190
  ContentPage.slots = () => ['header', 'footer'];
5022
5191
  function renderLikeControl() {
5023
- return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto" }) }));
5192
+ return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-3xl sticky bottom-0 pointer-events-auto" }) }));
5024
5193
  }
5025
5194
 
5026
- const packageVersion = "0.12.9";
5195
+ const packageVersion = "0.12.11";
5027
5196
 
5028
5197
  exports.Blocks = Blocks;
5029
5198
  exports.ContentPage = ContentPage;