@redneckz/wildless-cms-uni-blocks 0.13.2 → 0.13.4

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 (1571) hide show
  1. package/bin/migration-scripts/0.12.11.js +28 -0
  2. package/bin/migration-scripts/0.13.3.js +36 -0
  3. package/bundle/blocks.schema.json +1 -1
  4. package/bundle/bundle.umd.js +311 -294
  5. package/bundle/bundle.umd.min.js +1 -1
  6. package/bundle/components/ApplicationForm/SelectControl.d.ts +1 -0
  7. package/bundle/components/BonusBenefitsBlock/bonusBenefitStyles.mobile.d.ts +1 -1
  8. package/bundle/components/CardTransfer/CardTransferContent.d.ts +5 -0
  9. package/bundle/components/Carousel/Carousel.d.ts +1 -1
  10. package/bundle/components/Carousel/renderCardHighlight.d.ts +7 -0
  11. package/bundle/components/Carousel/renderCarouselCards.d.ts +5 -0
  12. package/bundle/components/Carousel/visibleItemCountStyle.d.ts +1 -0
  13. package/bundle/components/Carousel/visibleItemCountStyle.mobile.d.ts +1 -0
  14. package/bundle/components/CarouselLinks/CarouselLinkButton.d.ts +5 -0
  15. package/bundle/components/ComparisonTable/constants.d.ts +1 -1
  16. package/bundle/components/Headline/HeadlineContent.d.ts +2 -2
  17. package/bundle/components/MobileAppTile/buttonsConditionStyle.d.ts +3 -0
  18. package/bundle/components/MobileAppTile/buttonsConditionStyle.mobile.d.ts +3 -0
  19. package/bundle/components/RollupItem/RollupItem.d.ts +6 -1
  20. package/bundle/components/RollupItem/RollupItemContent.d.ts +0 -4
  21. package/bundle/components/RollupItem/foldableSectionStyles.d.ts +1 -1
  22. package/bundle/components/SafeDepositRental/RadioButtons.d.ts +1 -1
  23. package/bundle/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
  24. package/bundle/components/TariffsTable/constants.d.ts +1 -1
  25. package/bundle/components/Video/getPaddings.d.ts +1 -1
  26. package/bundle/model/HeadlineType.d.ts +1 -1
  27. package/bundle/utils/style.d.ts +2 -1
  28. package/dist/components/ApplicationForm/ApplicationForm.js +1 -1
  29. package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  30. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  31. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  32. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
  33. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  34. package/dist/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  35. package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  36. package/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  37. package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  38. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
  39. package/dist/components/ApplicationForm/ApplicationFormWed.js +1 -1
  40. package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  41. package/dist/components/ApplicationForm/ResponseNotification.js +1 -1
  42. package/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
  43. package/dist/components/ApplicationForm/SelectControl.d.ts +1 -0
  44. package/dist/components/ApplicationForm/SelectControl.js +1 -1
  45. package/dist/components/ApplicationForm/SelectControl.js.map +1 -1
  46. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  47. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  48. package/dist/components/ApplicationForm/renderAcquiringRegion.js +1 -1
  49. package/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  50. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  51. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  52. package/dist/components/ApplicationForm/renderContacts.js +1 -1
  53. package/dist/components/ApplicationForm/renderContacts.js.map +1 -1
  54. package/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  55. package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  56. package/dist/components/ApplicationForm/renderCreditParameters.js +1 -1
  57. package/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  58. package/dist/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  59. package/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  60. package/dist/components/ApplicationForm/renderRegion.js +1 -1
  61. package/dist/components/ApplicationForm/renderRegion.js.map +1 -1
  62. package/dist/components/ApplicationForm/renderRegionDepartment.js +1 -1
  63. package/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  64. package/dist/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
  65. package/dist/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
  66. package/dist/components/ApplicationForm/renderSubmitButton.js +1 -1
  67. package/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  68. package/dist/components/Bonus/Bonus.js +6 -4
  69. package/dist/components/Bonus/Bonus.js.map +1 -1
  70. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  71. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  72. package/dist/components/BonusBenefitsBlock/bonusBenefitStyles.mobile.d.ts +1 -1
  73. package/dist/components/BonusBenefitsBlock/bonusBenefitStyles.mobile.js +1 -1
  74. package/dist/components/BonusBenefitsBlock/renderBonusBenefits.js +1 -1
  75. package/dist/components/BonusBenefitsBlock/renderBonusBenefits.js.map +1 -1
  76. package/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  77. package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  78. package/dist/components/BusinessBlock/BusinessCard.js +1 -1
  79. package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  80. package/dist/components/Calculator/BonusCalculatorForm.js +2 -3
  81. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  82. package/dist/components/Calculator/BusinessDepositCalculatorForm.js +24 -23
  83. package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  84. package/dist/components/Calculator/Calculator.js +4 -4
  85. package/dist/components/Calculator/Calculator.js.map +1 -1
  86. package/dist/components/Calculator/CalculatorValueBlock.js +1 -1
  87. package/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
  88. package/dist/components/Calculator/CreditCalculatorForm.js +4 -4
  89. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  90. package/dist/components/Calculator/DepositCalculatorForm.js +3 -3
  91. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  92. package/dist/components/Calculator/Rate.js +1 -1
  93. package/dist/components/Calculator/Rate.js.map +1 -1
  94. package/dist/components/Calculator/RefinancingCalculatorForm.js +4 -5
  95. package/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  96. package/dist/components/Calculator/renderBinaryRadioButtonGroup.js +1 -1
  97. package/dist/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  98. package/dist/components/Calculator/renderCalculatorBlock.js +1 -1
  99. package/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  100. package/dist/components/Calculator/renderInitialFeeInput.js +1 -1
  101. package/dist/components/Calculator/renderInitialFeeInput.js.map +1 -1
  102. package/dist/components/CardTransfer/CardTransfer.js +9 -6
  103. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  104. package/dist/components/CardTransfer/CardTransferContent.d.ts +5 -0
  105. package/dist/components/Carousel/Carousel.d.ts +1 -1
  106. package/dist/components/Carousel/Carousel.js +8 -12
  107. package/dist/components/Carousel/Carousel.js.map +1 -1
  108. package/dist/components/Carousel/renderCardHighlight.d.ts +7 -0
  109. package/dist/components/Carousel/renderCardHighlight.js +9 -0
  110. package/dist/components/Carousel/renderCardHighlight.js.map +1 -0
  111. package/dist/components/Carousel/renderCarouselCards.d.ts +5 -0
  112. package/dist/components/Carousel/renderCarouselCards.js +28 -0
  113. package/dist/components/Carousel/renderCarouselCards.js.map +1 -0
  114. package/dist/components/Carousel/visibleItemCountStyle.d.ts +1 -0
  115. package/dist/components/Carousel/visibleItemCountStyle.js +4 -0
  116. package/dist/components/Carousel/visibleItemCountStyle.js.map +1 -0
  117. package/dist/components/Carousel/visibleItemCountStyle.mobile.d.ts +1 -0
  118. package/dist/components/Carousel/visibleItemCountStyle.mobile.js +4 -0
  119. package/dist/components/Carousel/visibleItemCountStyle.mobile.js.map +1 -0
  120. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  121. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  122. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +1 -1
  123. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -1
  124. package/dist/components/CarouselCard/CarouselCard.js +2 -2
  125. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  126. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  127. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  128. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +4 -9
  129. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  130. package/dist/components/CarouselLinks/CarouselLinkButton.d.ts +5 -0
  131. package/{mobile/dist/ui-kit/LinkButton/LinkButton.js → dist/components/CarouselLinks/CarouselLinkButton.js} +5 -5
  132. package/dist/components/CarouselLinks/CarouselLinkButton.js.map +1 -0
  133. package/dist/components/CarouselLinks/CarouselLinks.js +5 -5
  134. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  135. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  136. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  137. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
  138. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
  139. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +4 -7
  140. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  141. package/dist/components/CarouselTariffsCard/renderCardInfo.js +1 -1
  142. package/dist/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
  143. package/dist/components/ComparisonTable/ComparisonTable.js +2 -2
  144. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  145. package/dist/components/ComparisonTable/TableCarouselContainer.js +1 -1
  146. package/dist/components/ComparisonTable/TableCell.js +1 -1
  147. package/dist/components/ComparisonTable/TableCell.js.map +1 -1
  148. package/dist/components/ComparisonTable/TableCell.mobile.js +1 -1
  149. package/dist/components/ComparisonTable/TableCell.mobile.js.map +1 -1
  150. package/dist/components/ComparisonTable/TableColumn.js +1 -1
  151. package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  152. package/dist/components/ComparisonTable/TableRow.js +1 -1
  153. package/dist/components/ComparisonTable/TableRow.js.map +1 -1
  154. package/dist/components/ComparisonTable/TableRowContainer.js +1 -1
  155. package/dist/components/ComparisonTable/TableRowContainer.js.map +1 -1
  156. package/dist/components/ComparisonTable/constants.d.ts +1 -1
  157. package/dist/components/ComparisonTable/constants.js +1 -1
  158. package/dist/components/ComparisonTable/constants.js.map +1 -1
  159. package/dist/components/ContactsBlock/ContactsBlock.js +2 -2
  160. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  161. package/dist/components/ContentPage/ContentPage.js +1 -1
  162. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  163. package/dist/components/DepositFiltration/DepositFiltration.js +1 -1
  164. package/dist/components/DepositFiltration/DepositFiltration.js.map +1 -1
  165. package/dist/components/ErrorBlock/ErrorBlock.js +2 -2
  166. package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  167. package/dist/components/ExchangeRateOffice/renderCurrencies.js +1 -1
  168. package/dist/components/ExchangeRateOffice/renderCurrencies.js.map +1 -1
  169. package/dist/components/ExchangeRateTile/CurrencyTable.js +1 -1
  170. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  171. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  172. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  173. package/dist/components/ExchangeRateTile/renderInput.js +1 -1
  174. package/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  175. package/dist/components/Footer/buttonStylesWithText.js +1 -1
  176. package/dist/components/Footer/buttonStylesWithText.js.map +1 -1
  177. package/dist/components/GracePeriod/GracePeriod.js +4 -3
  178. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  179. package/dist/components/Header/DropdownMenu.js +2 -2
  180. package/dist/components/Header/DropdownMenu.js.map +1 -1
  181. package/dist/components/Header/Header.mobile.js +1 -1
  182. package/dist/components/Header/Header.mobile.js.map +1 -1
  183. package/dist/components/Header/HeaderSecondaryMenu.js +1 -1
  184. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  185. package/dist/components/Header/HeaderSecondaryMenuButton.js +1 -1
  186. package/dist/components/Header/HeaderSubMenu.js +1 -2
  187. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  188. package/dist/components/Header/InternetBankButton.js +2 -2
  189. package/dist/components/Header/InternetBankButton.js.map +1 -1
  190. package/dist/components/Headline/Headline.js +2 -2
  191. package/dist/components/Headline/Headline.js.map +1 -1
  192. package/dist/components/Headline/HeadlineContent.d.ts +2 -2
  193. package/dist/components/Headline/headlineVersionStyles.js +1 -1
  194. package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  195. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  196. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +5 -5
  197. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  198. package/dist/components/InvestmentInfo/InvestmentInfo.js +2 -2
  199. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  200. package/dist/components/LikeControl/LikeControl.js +1 -1
  201. package/dist/components/LikeControl/LikeControl.js.map +1 -1
  202. package/dist/components/LinkDocs/LinkDocItem.js +1 -1
  203. package/dist/components/LinkDocs/LinkDocs.js +2 -2
  204. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  205. package/dist/components/MobileAppTile/MobileAppTile.js +2 -2
  206. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  207. package/dist/components/MobileAppTile/buttonsConditionStyle.d.ts +3 -0
  208. package/dist/components/MobileAppTile/buttonsConditionStyle.js +6 -0
  209. package/dist/components/MobileAppTile/buttonsConditionStyle.js.map +1 -0
  210. package/dist/components/MobileAppTile/buttonsConditionStyle.mobile.d.ts +3 -0
  211. package/dist/components/MobileAppTile/buttonsConditionStyle.mobile.js +13 -0
  212. package/dist/components/MobileAppTile/buttonsConditionStyle.mobile.js.map +1 -0
  213. package/dist/components/MobileAppTile/renderList.js +1 -1
  214. package/dist/components/MobileAppTile/renderList.js.map +1 -1
  215. package/dist/components/MortgageFiltration/MortgageFiltration.js +1 -1
  216. package/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
  217. package/dist/components/OfficeMap/OfficeMap.js +1 -1
  218. package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  219. package/dist/components/OfficeMap/renderFunctions.js +4 -4
  220. package/dist/components/OfficeMap/renderFunctions.js.map +1 -1
  221. package/dist/components/Placeholder/Placeholder.js +1 -1
  222. package/dist/components/Placeholder/Placeholder.js.map +1 -1
  223. package/dist/components/ProductBlock/renderBackwardButton.js +1 -1
  224. package/dist/components/ProductGallery/ProductGallery.js +4 -4
  225. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  226. package/dist/components/PromoTile/PromoTile.js +1 -1
  227. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  228. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  229. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  230. package/dist/components/RollupItem/RollupItem.d.ts +6 -1
  231. package/dist/components/RollupItem/RollupItem.js +3 -3
  232. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  233. package/dist/components/RollupItem/RollupItemContent.d.ts +0 -4
  234. package/dist/components/RollupItem/foldableSectionStyles.d.ts +1 -1
  235. package/dist/components/RollupItem/foldableSectionStyles.js +1 -1
  236. package/dist/components/SafeDepositRental/RadioButtons.d.ts +1 -1
  237. package/dist/components/SafeDepositRental/RadioButtons.js +1 -1
  238. package/dist/components/SafeDepositRental/RadioButtons.js.map +1 -1
  239. package/dist/components/SafeDepositRental/SafeBoxCases.js +1 -1
  240. package/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  241. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  242. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +1 -1
  243. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  244. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
  245. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  246. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
  247. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  248. package/dist/components/StepsBlock/StepsBlock.js +4 -4
  249. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  250. package/dist/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
  251. package/dist/components/StepsBlock/StepsBlock.mobile.js +6 -7
  252. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  253. package/dist/components/StepsBlock/renderStep.js +1 -1
  254. package/dist/components/StepsBlock/renderStep.js.map +1 -1
  255. package/dist/components/TariffsTable/EmbeddableCellData.js +1 -4
  256. package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  257. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +2 -2
  258. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  259. package/dist/components/TariffsTable/TariffsTable.js +3 -3
  260. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  261. package/dist/components/TariffsTable/TariffsTable.mobile.js +1 -1
  262. package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  263. package/dist/components/TariffsTable/TariffsTableCell.js +1 -1
  264. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  265. package/dist/components/TariffsTable/TariffsTableVertical.js +1 -1
  266. package/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  267. package/dist/components/TariffsTable/constants.d.ts +1 -1
  268. package/dist/components/TariffsTable/constants.js +1 -1
  269. package/dist/components/TariffsTable/constants.js.map +1 -1
  270. package/dist/components/TextBlock/TextBlock.js +2 -2
  271. package/dist/components/TextBlock/TextBlock.js.map +1 -1
  272. package/dist/components/Video/getPaddings.d.ts +1 -1
  273. package/dist/components/Video/getPaddings.js +1 -1
  274. package/dist/components/Video/getPaddings.js.map +1 -1
  275. package/dist/model/HeadlineType.d.ts +1 -1
  276. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
  277. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  278. package/dist/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  279. package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  280. package/dist/ui-kit/BaseTile/BaseTile.js +6 -2
  281. package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  282. package/dist/ui-kit/Button/ButtonInner.js +1 -1
  283. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  284. package/dist/ui-kit/Checkbox/Checkbox.js +1 -1
  285. package/dist/ui-kit/CookiePopup/CookiePopup.js +1 -1
  286. package/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  287. package/dist/ui-kit/DialogManager/CloseButton.js +1 -1
  288. package/dist/ui-kit/DialogManager/CloseButton.js.map +1 -1
  289. package/dist/ui-kit/Foldable/DefaultFoldButton.js +2 -2
  290. package/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  291. package/dist/ui-kit/InnerTable/InnerTable.js +1 -1
  292. package/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
  293. package/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
  294. package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  295. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +3 -2
  296. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  297. package/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  298. package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  299. package/dist/ui-kit/Input/Input.js +2 -2
  300. package/dist/ui-kit/Input/Input.js.map +1 -1
  301. package/dist/ui-kit/InputRange/InputRange.js +2 -2
  302. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  303. package/dist/ui-kit/InputRange/renderRangeWithTicks.js +1 -1
  304. package/dist/ui-kit/LocationDialog/SearchBar.js +1 -1
  305. package/dist/ui-kit/LocationDialog/SearchBar.js.map +1 -1
  306. package/dist/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
  307. package/dist/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
  308. package/dist/ui-kit/Radio/Radio.js +1 -1
  309. package/dist/ui-kit/Radio/Radio.js.map +1 -1
  310. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +2 -2
  311. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  312. package/dist/ui-kit/SearchDialog/SearchInput.js +1 -1
  313. package/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  314. package/dist/ui-kit/Select/Select.js +2 -2
  315. package/dist/ui-kit/Select/Select.js.map +1 -1
  316. package/dist/ui-kit/Sitemap/Sitemap.js +1 -1
  317. package/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
  318. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +2 -2
  319. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  320. package/dist/ui-kit/Tags/Tags.js +1 -1
  321. package/dist/ui-kit/Tags/Tags.js.map +1 -1
  322. package/dist/ui-kit/TopItem/TopItem.js +1 -1
  323. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  324. package/dist/ui-kit/YandexMap/renderOpenMap.js +1 -1
  325. package/dist/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
  326. package/dist/ui-kit/YandexMap/renderUserGeolocation.js +1 -1
  327. package/dist/utils/style.d.ts +2 -1
  328. package/dist/utils/style.js.map +1 -1
  329. package/lib/common.css +1 -1
  330. package/lib/components/ApplicationForm/ApplicationForm.js +1 -1
  331. package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  332. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  333. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  334. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
  335. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  336. package/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  337. package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  338. package/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  339. package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  340. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
  341. package/lib/components/ApplicationForm/ApplicationFormWed.js +1 -1
  342. package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  343. package/lib/components/ApplicationForm/ResponseNotification.js +1 -1
  344. package/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
  345. package/lib/components/ApplicationForm/SelectControl.d.ts +1 -0
  346. package/lib/components/ApplicationForm/SelectControl.js +1 -1
  347. package/lib/components/ApplicationForm/SelectControl.js.map +1 -1
  348. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  349. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  350. package/lib/components/ApplicationForm/renderAcquiringRegion.js +1 -1
  351. package/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  352. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  353. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  354. package/lib/components/ApplicationForm/renderContacts.js +1 -1
  355. package/lib/components/ApplicationForm/renderContacts.js.map +1 -1
  356. package/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  357. package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  358. package/lib/components/ApplicationForm/renderCreditParameters.js +1 -1
  359. package/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  360. package/lib/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  361. package/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  362. package/lib/components/ApplicationForm/renderRegion.js +1 -1
  363. package/lib/components/ApplicationForm/renderRegion.js.map +1 -1
  364. package/lib/components/ApplicationForm/renderRegionDepartment.js +1 -1
  365. package/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  366. package/lib/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
  367. package/lib/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
  368. package/lib/components/ApplicationForm/renderSubmitButton.js +1 -1
  369. package/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  370. package/lib/components/Bonus/Bonus.js +6 -4
  371. package/lib/components/Bonus/Bonus.js.map +1 -1
  372. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  373. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  374. package/lib/components/BonusBenefitsBlock/bonusBenefitStyles.mobile.d.ts +1 -1
  375. package/lib/components/BonusBenefitsBlock/bonusBenefitStyles.mobile.js +1 -1
  376. package/lib/components/BonusBenefitsBlock/renderBonusBenefits.js +1 -1
  377. package/lib/components/BonusBenefitsBlock/renderBonusBenefits.js.map +1 -1
  378. package/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  379. package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  380. package/lib/components/BusinessBlock/BusinessCard.js +1 -1
  381. package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  382. package/lib/components/Calculator/BonusCalculatorForm.js +2 -3
  383. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  384. package/lib/components/Calculator/BusinessDepositCalculatorForm.js +24 -23
  385. package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  386. package/lib/components/Calculator/Calculator.js +4 -4
  387. package/lib/components/Calculator/Calculator.js.map +1 -1
  388. package/lib/components/Calculator/CalculatorValueBlock.js +1 -1
  389. package/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
  390. package/lib/components/Calculator/CreditCalculatorForm.js +4 -4
  391. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  392. package/lib/components/Calculator/DepositCalculatorForm.js +4 -4
  393. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  394. package/lib/components/Calculator/Rate.js +1 -1
  395. package/lib/components/Calculator/Rate.js.map +1 -1
  396. package/lib/components/Calculator/RefinancingCalculatorForm.js +5 -6
  397. package/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  398. package/lib/components/Calculator/renderBinaryRadioButtonGroup.js +1 -1
  399. package/lib/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  400. package/lib/components/Calculator/renderCalculatorBlock.js +1 -1
  401. package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  402. package/lib/components/Calculator/renderInitialFeeInput.js +1 -1
  403. package/lib/components/Calculator/renderInitialFeeInput.js.map +1 -1
  404. package/lib/components/CardTransfer/CardTransfer.js +9 -6
  405. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  406. package/lib/components/CardTransfer/CardTransferContent.d.ts +5 -0
  407. package/lib/components/Carousel/Carousel.d.ts +1 -1
  408. package/lib/components/Carousel/Carousel.js +8 -12
  409. package/lib/components/Carousel/Carousel.js.map +1 -1
  410. package/lib/components/Carousel/renderCardHighlight.d.ts +6 -0
  411. package/lib/components/Carousel/renderCardHighlight.js +6 -0
  412. package/lib/components/Carousel/renderCardHighlight.js.map +1 -0
  413. package/lib/components/Carousel/renderCarouselCards.d.ts +5 -0
  414. package/lib/components/Carousel/renderCarouselCards.js +25 -0
  415. package/lib/components/Carousel/renderCarouselCards.js.map +1 -0
  416. package/lib/components/Carousel/visibleItemCountStyle.d.ts +1 -0
  417. package/lib/components/Carousel/visibleItemCountStyle.js +2 -0
  418. package/lib/components/Carousel/visibleItemCountStyle.js.map +1 -0
  419. package/lib/components/Carousel/visibleItemCountStyle.mobile.d.ts +1 -0
  420. package/lib/components/Carousel/visibleItemCountStyle.mobile.js +2 -0
  421. package/lib/components/Carousel/visibleItemCountStyle.mobile.js.map +1 -0
  422. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  423. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  424. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +1 -1
  425. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -1
  426. package/lib/components/CarouselCard/CarouselCard.js +2 -2
  427. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  428. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  429. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  430. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +4 -9
  431. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  432. package/lib/components/CarouselLinks/CarouselLinkButton.d.ts +5 -0
  433. package/{mobile/lib/ui-kit/LinkButton/LinkButton.js → lib/components/CarouselLinks/CarouselLinkButton.js} +4 -4
  434. package/lib/components/CarouselLinks/CarouselLinkButton.js.map +1 -0
  435. package/lib/components/CarouselLinks/CarouselLinks.js +5 -5
  436. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  437. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  438. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  439. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
  440. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
  441. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.fixture.d.ts +0 -1
  442. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.d.ts +0 -1
  443. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +4 -7
  444. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  445. package/lib/components/CarouselTariffsCard/renderCardInfo.js +1 -1
  446. package/lib/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
  447. package/lib/components/ComparisonTable/ComparisonTable.js +2 -2
  448. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  449. package/lib/components/ComparisonTable/TableCarouselContainer.js +1 -1
  450. package/lib/components/ComparisonTable/TableCell.js +1 -1
  451. package/lib/components/ComparisonTable/TableCell.js.map +1 -1
  452. package/lib/components/ComparisonTable/TableCell.mobile.js +1 -1
  453. package/lib/components/ComparisonTable/TableCell.mobile.js.map +1 -1
  454. package/lib/components/ComparisonTable/TableColumn.js +1 -1
  455. package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  456. package/lib/components/ComparisonTable/TableRow.js +1 -1
  457. package/lib/components/ComparisonTable/TableRow.js.map +1 -1
  458. package/lib/components/ComparisonTable/TableRowContainer.js +1 -1
  459. package/lib/components/ComparisonTable/TableRowContainer.js.map +1 -1
  460. package/lib/components/ComparisonTable/constants.d.ts +1 -1
  461. package/lib/components/ComparisonTable/constants.js +1 -1
  462. package/lib/components/ComparisonTable/constants.js.map +1 -1
  463. package/lib/components/ContactsBlock/ContactsBlock.js +2 -2
  464. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  465. package/lib/components/ContentPage/ContentPage.js +1 -1
  466. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  467. package/lib/components/DepositFiltration/DepositFiltration.js +1 -1
  468. package/lib/components/DepositFiltration/DepositFiltration.js.map +1 -1
  469. package/lib/components/ErrorBlock/ErrorBlock.js +2 -2
  470. package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  471. package/lib/components/ExchangeRateOffice/renderCurrencies.js +1 -1
  472. package/lib/components/ExchangeRateOffice/renderCurrencies.js.map +1 -1
  473. package/lib/components/ExchangeRateTile/CurrencyTable.js +1 -1
  474. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  475. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  476. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  477. package/lib/components/ExchangeRateTile/renderInput.js +1 -1
  478. package/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  479. package/lib/components/Footer/buttonStylesWithText.js +1 -1
  480. package/lib/components/Footer/buttonStylesWithText.js.map +1 -1
  481. package/lib/components/GracePeriod/GracePeriod.js +4 -3
  482. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  483. package/lib/components/Header/DropdownMenu.js +2 -2
  484. package/lib/components/Header/DropdownMenu.js.map +1 -1
  485. package/lib/components/Header/Header.mobile.js +1 -1
  486. package/lib/components/Header/Header.mobile.js.map +1 -1
  487. package/lib/components/Header/HeaderSecondaryMenu.js +1 -1
  488. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  489. package/lib/components/Header/HeaderSecondaryMenuButton.js +1 -1
  490. package/lib/components/Header/HeaderSubMenu.js +1 -2
  491. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  492. package/lib/components/Header/InternetBankButton.js +2 -2
  493. package/lib/components/Header/InternetBankButton.js.map +1 -1
  494. package/lib/components/Headline/Headline.js +2 -2
  495. package/lib/components/Headline/Headline.js.map +1 -1
  496. package/lib/components/Headline/HeadlineContent.d.ts +2 -2
  497. package/lib/components/Headline/headlineVersionStyles.js +1 -1
  498. package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  499. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  500. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +5 -5
  501. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  502. package/lib/components/InvestmentInfo/InvestmentInfo.js +2 -2
  503. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  504. package/lib/components/LikeControl/LikeControl.js +1 -1
  505. package/lib/components/LikeControl/LikeControl.js.map +1 -1
  506. package/lib/components/LinkDocs/LinkDocItem.js +1 -1
  507. package/lib/components/LinkDocs/LinkDocs.js +2 -2
  508. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  509. package/lib/components/MobileAppTile/MobileAppTile.js +2 -2
  510. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  511. package/lib/components/MobileAppTile/buttonsConditionStyle.d.ts +3 -0
  512. package/lib/components/MobileAppTile/buttonsConditionStyle.js +3 -0
  513. package/lib/components/MobileAppTile/buttonsConditionStyle.js.map +1 -0
  514. package/lib/components/MobileAppTile/buttonsConditionStyle.mobile.d.ts +2 -0
  515. package/lib/components/MobileAppTile/buttonsConditionStyle.mobile.js +10 -0
  516. package/lib/components/MobileAppTile/buttonsConditionStyle.mobile.js.map +1 -0
  517. package/lib/components/MobileAppTile/renderList.js +1 -1
  518. package/lib/components/MobileAppTile/renderList.js.map +1 -1
  519. package/lib/components/MortgageFiltration/MortgageFiltration.js +1 -1
  520. package/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
  521. package/lib/components/OfficeMap/OfficeMap.js +1 -1
  522. package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  523. package/lib/components/OfficeMap/renderFunctions.js +4 -4
  524. package/lib/components/OfficeMap/renderFunctions.js.map +1 -1
  525. package/lib/components/Placeholder/Placeholder.js +1 -1
  526. package/lib/components/Placeholder/Placeholder.js.map +1 -1
  527. package/lib/components/ProductBlock/renderBackwardButton.js +1 -1
  528. package/lib/components/ProductGallery/ProductGallery.js +4 -4
  529. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  530. package/lib/components/PromoTile/PromoTile.js +1 -1
  531. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  532. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  533. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  534. package/lib/components/RollupItem/RollupItem.d.ts +6 -1
  535. package/lib/components/RollupItem/RollupItem.js +3 -3
  536. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  537. package/lib/components/RollupItem/RollupItemContent.d.ts +0 -4
  538. package/lib/components/RollupItem/foldableSectionStyles.d.ts +1 -1
  539. package/lib/components/RollupItem/foldableSectionStyles.js +1 -1
  540. package/lib/components/SafeDepositRental/RadioButtons.d.ts +1 -1
  541. package/lib/components/SafeDepositRental/RadioButtons.js +1 -1
  542. package/lib/components/SafeDepositRental/RadioButtons.js.map +1 -1
  543. package/lib/components/SafeDepositRental/SafeBoxCases.js +1 -1
  544. package/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  545. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  546. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +1 -1
  547. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  548. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
  549. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  550. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
  551. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  552. package/lib/components/StepsBlock/StepsBlock.js +4 -4
  553. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  554. package/lib/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
  555. package/lib/components/StepsBlock/StepsBlock.mobile.js +6 -7
  556. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  557. package/lib/components/StepsBlock/renderStep.js +1 -1
  558. package/lib/components/StepsBlock/renderStep.js.map +1 -1
  559. package/lib/components/TariffsTable/EmbeddableCellData.js +1 -4
  560. package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  561. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +2 -2
  562. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  563. package/lib/components/TariffsTable/TariffsTable.js +3 -3
  564. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  565. package/lib/components/TariffsTable/TariffsTable.mobile.js +1 -1
  566. package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  567. package/lib/components/TariffsTable/TariffsTableCell.js +1 -1
  568. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  569. package/lib/components/TariffsTable/TariffsTableVertical.js +1 -1
  570. package/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  571. package/lib/components/TariffsTable/constants.d.ts +1 -1
  572. package/lib/components/TariffsTable/constants.js +1 -1
  573. package/lib/components/TariffsTable/constants.js.map +1 -1
  574. package/lib/components/TextBlock/TextBlock.js +2 -2
  575. package/lib/components/TextBlock/TextBlock.js.map +1 -1
  576. package/lib/components/Video/getPaddings.d.ts +1 -1
  577. package/lib/components/Video/getPaddings.js +1 -1
  578. package/lib/components/Video/getPaddings.js.map +1 -1
  579. package/lib/model/HeadlineType.d.ts +1 -1
  580. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
  581. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  582. package/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  583. package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  584. package/lib/ui-kit/BaseTile/BaseTile.js +6 -2
  585. package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  586. package/lib/ui-kit/Button/ButtonInner.js +1 -1
  587. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  588. package/lib/ui-kit/Checkbox/Checkbox.js +1 -1
  589. package/lib/ui-kit/CookiePopup/CookiePopup.js +1 -1
  590. package/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  591. package/lib/ui-kit/DialogManager/CloseButton.js +1 -1
  592. package/lib/ui-kit/DialogManager/CloseButton.js.map +1 -1
  593. package/lib/ui-kit/Foldable/DefaultFoldButton.js +2 -2
  594. package/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  595. package/lib/ui-kit/InnerTable/InnerTable.js +1 -1
  596. package/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
  597. package/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
  598. package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  599. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +3 -2
  600. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  601. package/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  602. package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  603. package/lib/ui-kit/Input/Input.js +2 -2
  604. package/lib/ui-kit/Input/Input.js.map +1 -1
  605. package/lib/ui-kit/InputRange/InputRange.js +2 -2
  606. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  607. package/lib/ui-kit/InputRange/renderRangeWithTicks.js +1 -1
  608. package/lib/ui-kit/LocationDialog/SearchBar.js +1 -1
  609. package/lib/ui-kit/LocationDialog/SearchBar.js.map +1 -1
  610. package/lib/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
  611. package/lib/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
  612. package/lib/ui-kit/Radio/Radio.js +1 -1
  613. package/lib/ui-kit/Radio/Radio.js.map +1 -1
  614. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +2 -2
  615. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  616. package/lib/ui-kit/SearchDialog/SearchInput.js +1 -1
  617. package/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  618. package/lib/ui-kit/Select/Select.js +2 -2
  619. package/lib/ui-kit/Select/Select.js.map +1 -1
  620. package/lib/ui-kit/Sitemap/Sitemap.js +1 -1
  621. package/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
  622. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +2 -2
  623. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  624. package/lib/ui-kit/Tags/Tags.js +1 -1
  625. package/lib/ui-kit/Tags/Tags.js.map +1 -1
  626. package/lib/ui-kit/TopItem/TopItem.js +1 -1
  627. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  628. package/lib/ui-kit/YandexMap/renderOpenMap.js +1 -1
  629. package/lib/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
  630. package/lib/ui-kit/YandexMap/renderUserGeolocation.js +1 -1
  631. package/lib/utils/style.d.ts +2 -1
  632. package/lib/utils/style.js.map +1 -1
  633. package/mobile/bundle/bundle.umd.js +234 -205
  634. package/mobile/bundle/bundle.umd.min.js +1 -1
  635. package/mobile/bundle/components/ApplicationForm/SelectControl.d.ts +1 -0
  636. package/mobile/bundle/components/BonusBenefitsBlock/bonusBenefitStyles.d.ts +1 -1
  637. package/mobile/bundle/components/CardTransfer/CardTransferContent.d.ts +5 -0
  638. package/mobile/bundle/components/Carousel/Carousel.d.ts +1 -1
  639. package/mobile/bundle/components/Carousel/renderCardHighlight.d.ts +7 -0
  640. package/mobile/bundle/components/Carousel/renderCarouselCards.d.ts +5 -0
  641. package/mobile/bundle/components/Carousel/visibleItemCountStyle.d.ts +1 -0
  642. package/mobile/bundle/components/CarouselLinks/CarouselLinkButton.d.ts +5 -0
  643. package/mobile/bundle/components/ComparisonTable/constants.d.ts +1 -1
  644. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +2 -2
  645. package/mobile/bundle/components/MobileAppTile/buttonsConditionStyle.d.ts +3 -0
  646. package/mobile/bundle/components/RollupItem/RollupItem.d.ts +6 -1
  647. package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +0 -4
  648. package/mobile/bundle/components/SafeDepositRental/RadioButtons.d.ts +1 -1
  649. package/mobile/bundle/components/StepsBlock/StepsBlock.d.ts +1 -1
  650. package/mobile/bundle/components/TariffsTable/constants.d.ts +1 -1
  651. package/mobile/bundle/components/Video/getPaddings.d.ts +1 -1
  652. package/mobile/bundle/model/HeadlineType.d.ts +1 -1
  653. package/mobile/bundle/utils/style.d.ts +2 -1
  654. package/mobile/dist/components/ApplicationForm/ApplicationForm.js +1 -1
  655. package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  656. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  657. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  658. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
  659. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  660. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  661. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  662. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  663. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  664. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
  665. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +1 -1
  666. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  667. package/mobile/dist/components/ApplicationForm/ResponseNotification.js +1 -1
  668. package/mobile/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
  669. package/mobile/dist/components/ApplicationForm/SelectControl.d.ts +1 -0
  670. package/mobile/dist/components/ApplicationForm/SelectControl.js +1 -1
  671. package/mobile/dist/components/ApplicationForm/SelectControl.js.map +1 -1
  672. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  673. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  674. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js +1 -1
  675. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  676. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  677. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  678. package/mobile/dist/components/ApplicationForm/renderContacts.js +1 -1
  679. package/mobile/dist/components/ApplicationForm/renderContacts.js.map +1 -1
  680. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  681. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  682. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js +1 -1
  683. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  684. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  685. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  686. package/mobile/dist/components/ApplicationForm/renderRegion.js +1 -1
  687. package/mobile/dist/components/ApplicationForm/renderRegion.js.map +1 -1
  688. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js +1 -1
  689. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  690. package/mobile/dist/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
  691. package/mobile/dist/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
  692. package/mobile/dist/components/ApplicationForm/renderSubmitButton.js +1 -1
  693. package/mobile/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  694. package/mobile/dist/components/Bonus/Bonus.js +6 -4
  695. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  696. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  697. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  698. package/mobile/dist/components/BonusBenefitsBlock/bonusBenefitStyles.d.ts +1 -1
  699. package/mobile/dist/components/BonusBenefitsBlock/bonusBenefitStyles.js +1 -1
  700. package/mobile/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  701. package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  702. package/mobile/dist/components/BusinessBlock/BusinessCard.js +1 -1
  703. package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  704. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +2 -3
  705. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  706. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +24 -23
  707. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  708. package/mobile/dist/components/Calculator/CalculatorValueBlock.js +1 -1
  709. package/mobile/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
  710. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +4 -4
  711. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  712. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +3 -3
  713. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  714. package/mobile/dist/components/Calculator/Rate.js +1 -1
  715. package/mobile/dist/components/Calculator/Rate.js.map +1 -1
  716. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js +4 -5
  717. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  718. package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.js +1 -1
  719. package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  720. package/mobile/dist/components/Calculator/renderCalculatorBlock.js +1 -1
  721. package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  722. package/mobile/dist/components/Calculator/renderInitialFeeInput.js +1 -1
  723. package/mobile/dist/components/Calculator/renderInitialFeeInput.js.map +1 -1
  724. package/mobile/dist/components/CardTransfer/CardTransfer.js +9 -6
  725. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  726. package/mobile/dist/components/CardTransfer/CardTransferContent.d.ts +5 -0
  727. package/mobile/dist/components/Carousel/Carousel.d.ts +1 -1
  728. package/mobile/dist/components/Carousel/Carousel.js +8 -12
  729. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  730. package/mobile/dist/components/Carousel/renderCardHighlight.d.ts +7 -0
  731. package/mobile/dist/components/Carousel/renderCardHighlight.js +9 -0
  732. package/mobile/dist/components/Carousel/renderCardHighlight.js.map +1 -0
  733. package/mobile/dist/components/Carousel/renderCarouselCards.d.ts +5 -0
  734. package/mobile/dist/components/Carousel/renderCarouselCards.js +28 -0
  735. package/mobile/dist/components/Carousel/renderCarouselCards.js.map +1 -0
  736. package/mobile/dist/components/Carousel/visibleItemCountStyle.d.ts +1 -0
  737. package/mobile/dist/components/Carousel/visibleItemCountStyle.js +4 -0
  738. package/mobile/dist/components/Carousel/visibleItemCountStyle.js.map +1 -0
  739. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  740. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  741. package/mobile/dist/components/CarouselCard/CarouselCard.js +2 -2
  742. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  743. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  744. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  745. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +4 -9
  746. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  747. package/mobile/dist/components/CarouselLinks/CarouselLinkButton.d.ts +5 -0
  748. package/{dist/ui-kit/LinkButton/LinkButton.js → mobile/dist/components/CarouselLinks/CarouselLinkButton.js} +5 -5
  749. package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js.map +1 -0
  750. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +5 -5
  751. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  752. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  753. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  754. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +4 -7
  755. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  756. package/mobile/dist/components/CarouselTariffsCard/renderCardInfo.js +1 -1
  757. package/mobile/dist/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
  758. package/mobile/dist/components/ComparisonTable/TableCarouselContainer.js +1 -1
  759. package/mobile/dist/components/ComparisonTable/TableCell.js +1 -1
  760. package/mobile/dist/components/ComparisonTable/TableCell.js.map +1 -1
  761. package/mobile/dist/components/ComparisonTable/TableColumn.js +1 -1
  762. package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  763. package/mobile/dist/components/ComparisonTable/TableRow.js +1 -1
  764. package/mobile/dist/components/ComparisonTable/TableRow.js.map +1 -1
  765. package/mobile/dist/components/ComparisonTable/TableRowContainer.js +1 -1
  766. package/mobile/dist/components/ComparisonTable/TableRowContainer.js.map +1 -1
  767. package/mobile/dist/components/ComparisonTable/constants.d.ts +1 -1
  768. package/mobile/dist/components/ComparisonTable/constants.js +1 -1
  769. package/mobile/dist/components/ComparisonTable/constants.js.map +1 -1
  770. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +2 -2
  771. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  772. package/mobile/dist/components/ContentPage/ContentPage.js +1 -1
  773. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  774. package/mobile/dist/components/DepositFiltration/DepositFiltration.js +1 -1
  775. package/mobile/dist/components/DepositFiltration/DepositFiltration.js.map +1 -1
  776. package/mobile/dist/components/ErrorBlock/ErrorBlock.js +2 -2
  777. package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  778. package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js +1 -1
  779. package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js.map +1 -1
  780. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +1 -1
  781. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  782. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  783. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  784. package/mobile/dist/components/ExchangeRateTile/renderInput.js +1 -1
  785. package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  786. package/mobile/dist/components/Footer/buttonStylesWithText.js +1 -1
  787. package/mobile/dist/components/Footer/buttonStylesWithText.js.map +1 -1
  788. package/mobile/dist/components/GracePeriod/GracePeriod.js +4 -3
  789. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  790. package/mobile/dist/components/Header/DropdownMenu.js +2 -2
  791. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  792. package/mobile/dist/components/Header/Header.js +1 -1
  793. package/mobile/dist/components/Header/Header.js.map +1 -1
  794. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +1 -1
  795. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  796. package/mobile/dist/components/Header/HeaderSecondaryMenuButton.js +1 -1
  797. package/mobile/dist/components/Header/HeaderSubMenu.js +1 -2
  798. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  799. package/mobile/dist/components/Header/InternetBankButton.js +2 -2
  800. package/mobile/dist/components/Header/InternetBankButton.js.map +1 -1
  801. package/mobile/dist/components/Headline/Headline.js +2 -2
  802. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  803. package/mobile/dist/components/Headline/HeadlineContent.d.ts +2 -2
  804. package/mobile/dist/components/Headline/headlineVersionStyles.js +1 -1
  805. package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  806. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  807. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +5 -5
  808. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  809. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +2 -2
  810. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  811. package/mobile/dist/components/LikeControl/LikeControl.js +1 -1
  812. package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -1
  813. package/mobile/dist/components/LinkDocs/LinkDocItem.js +1 -1
  814. package/mobile/dist/components/LinkDocs/LinkDocs.js +2 -2
  815. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  816. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +2 -2
  817. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  818. package/mobile/dist/components/MobileAppTile/buttonsConditionStyle.d.ts +3 -0
  819. package/mobile/dist/components/MobileAppTile/buttonsConditionStyle.js +13 -0
  820. package/mobile/dist/components/MobileAppTile/buttonsConditionStyle.js.map +1 -0
  821. package/mobile/dist/components/MobileAppTile/renderList.js +1 -1
  822. package/mobile/dist/components/MobileAppTile/renderList.js.map +1 -1
  823. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js +1 -1
  824. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
  825. package/mobile/dist/components/OfficeMap/OfficeMap.js +1 -1
  826. package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  827. package/mobile/dist/components/OfficeMap/renderFunctions.js +4 -4
  828. package/mobile/dist/components/OfficeMap/renderFunctions.js.map +1 -1
  829. package/mobile/dist/components/Placeholder/Placeholder.js +1 -1
  830. package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
  831. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +1 -1
  832. package/mobile/dist/components/PromoTile/PromoTile.js +1 -1
  833. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  834. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  835. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  836. package/mobile/dist/components/RollupItem/RollupItem.d.ts +6 -1
  837. package/mobile/dist/components/RollupItem/RollupItem.js +3 -3
  838. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  839. package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +0 -4
  840. package/mobile/dist/components/SafeDepositRental/RadioButtons.d.ts +1 -1
  841. package/mobile/dist/components/SafeDepositRental/RadioButtons.js +1 -1
  842. package/mobile/dist/components/SafeDepositRental/RadioButtons.js.map +1 -1
  843. package/mobile/dist/components/SafeDepositRental/SafeBoxCases.js +1 -1
  844. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  845. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  846. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +1 -1
  847. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  848. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
  849. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  850. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
  851. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  852. package/mobile/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
  853. package/mobile/dist/components/StepsBlock/StepsBlock.js +6 -7
  854. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  855. package/mobile/dist/components/StepsBlock/renderStep.js +1 -1
  856. package/mobile/dist/components/StepsBlock/renderStep.js.map +1 -1
  857. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +2 -2
  858. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  859. package/mobile/dist/components/TariffsTable/TariffsTable.js +1 -1
  860. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  861. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +1 -1
  862. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  863. package/mobile/dist/components/TariffsTable/TariffsTableVertical.js +1 -1
  864. package/mobile/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  865. package/mobile/dist/components/TariffsTable/constants.d.ts +1 -1
  866. package/mobile/dist/components/TariffsTable/constants.js +1 -1
  867. package/mobile/dist/components/TariffsTable/constants.js.map +1 -1
  868. package/mobile/dist/components/TextBlock/TextBlock.js +2 -2
  869. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  870. package/mobile/dist/components/Video/getPaddings.d.ts +1 -1
  871. package/mobile/dist/components/Video/getPaddings.js +1 -1
  872. package/mobile/dist/components/Video/getPaddings.js.map +1 -1
  873. package/mobile/dist/model/HeadlineType.d.ts +1 -1
  874. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
  875. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  876. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  877. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  878. package/mobile/dist/ui-kit/BaseTile/BaseTile.js +6 -2
  879. package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  880. package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
  881. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  882. package/mobile/dist/ui-kit/Checkbox/Checkbox.js +1 -1
  883. package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js +1 -1
  884. package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  885. package/mobile/dist/ui-kit/DialogManager/CloseButton.js +1 -1
  886. package/mobile/dist/ui-kit/DialogManager/CloseButton.js.map +1 -1
  887. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js +2 -2
  888. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  889. package/mobile/dist/ui-kit/InnerTable/InnerTable.js +1 -1
  890. package/mobile/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
  891. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
  892. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  893. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js +3 -2
  894. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  895. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  896. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  897. package/mobile/dist/ui-kit/Input/Input.js +2 -2
  898. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  899. package/mobile/dist/ui-kit/InputRange/InputRange.js +2 -2
  900. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  901. package/mobile/dist/ui-kit/InputRange/renderRangeWithTicks.js +1 -1
  902. package/mobile/dist/ui-kit/LocationDialog/SearchBar.js +1 -1
  903. package/mobile/dist/ui-kit/LocationDialog/SearchBar.js.map +1 -1
  904. package/mobile/dist/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
  905. package/mobile/dist/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
  906. package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
  907. package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
  908. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +2 -2
  909. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  910. package/mobile/dist/ui-kit/SearchDialog/SearchInput.js +1 -1
  911. package/mobile/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  912. package/mobile/dist/ui-kit/Select/Select.js +2 -2
  913. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  914. package/mobile/dist/ui-kit/Sitemap/Sitemap.js +1 -1
  915. package/mobile/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
  916. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +2 -2
  917. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  918. package/mobile/dist/ui-kit/Tags/Tags.js +1 -1
  919. package/mobile/dist/ui-kit/Tags/Tags.js.map +1 -1
  920. package/mobile/dist/ui-kit/TopItem/TopItem.js +1 -1
  921. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  922. package/mobile/dist/ui-kit/YandexMap/renderOpenMap.js +1 -1
  923. package/mobile/dist/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
  924. package/mobile/dist/ui-kit/YandexMap/renderUserGeolocation.js +1 -1
  925. package/mobile/dist/utils/style.d.ts +2 -1
  926. package/mobile/dist/utils/style.js.map +1 -1
  927. package/mobile/lib/common.css +1 -1
  928. package/mobile/lib/components/ApplicationForm/ApplicationForm.js +1 -1
  929. package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  930. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  931. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  932. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
  933. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  934. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  935. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  936. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  937. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  938. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
  939. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +1 -1
  940. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  941. package/mobile/lib/components/ApplicationForm/ResponseNotification.js +1 -1
  942. package/mobile/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
  943. package/mobile/lib/components/ApplicationForm/SelectControl.d.ts +1 -0
  944. package/mobile/lib/components/ApplicationForm/SelectControl.js +1 -1
  945. package/mobile/lib/components/ApplicationForm/SelectControl.js.map +1 -1
  946. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  947. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  948. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js +1 -1
  949. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  950. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  951. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  952. package/mobile/lib/components/ApplicationForm/renderContacts.js +1 -1
  953. package/mobile/lib/components/ApplicationForm/renderContacts.js.map +1 -1
  954. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  955. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  956. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js +1 -1
  957. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  958. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  959. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  960. package/mobile/lib/components/ApplicationForm/renderRegion.js +1 -1
  961. package/mobile/lib/components/ApplicationForm/renderRegion.js.map +1 -1
  962. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js +1 -1
  963. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  964. package/mobile/lib/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
  965. package/mobile/lib/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
  966. package/mobile/lib/components/ApplicationForm/renderSubmitButton.js +1 -1
  967. package/mobile/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  968. package/mobile/lib/components/Bonus/Bonus.js +6 -4
  969. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  970. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  971. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  972. package/mobile/lib/components/BonusBenefitsBlock/bonusBenefitStyles.d.ts +1 -1
  973. package/mobile/lib/components/BonusBenefitsBlock/bonusBenefitStyles.js +1 -1
  974. package/mobile/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  975. package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  976. package/mobile/lib/components/BusinessBlock/BusinessCard.js +1 -1
  977. package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  978. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +2 -3
  979. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  980. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +24 -23
  981. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  982. package/mobile/lib/components/Calculator/CalculatorValueBlock.js +1 -1
  983. package/mobile/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
  984. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +4 -4
  985. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  986. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +4 -4
  987. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  988. package/mobile/lib/components/Calculator/Rate.js +1 -1
  989. package/mobile/lib/components/Calculator/Rate.js.map +1 -1
  990. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js +5 -6
  991. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  992. package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.js +1 -1
  993. package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  994. package/mobile/lib/components/Calculator/renderCalculatorBlock.js +1 -1
  995. package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  996. package/mobile/lib/components/Calculator/renderInitialFeeInput.js +1 -1
  997. package/mobile/lib/components/Calculator/renderInitialFeeInput.js.map +1 -1
  998. package/mobile/lib/components/CardTransfer/CardTransfer.js +9 -6
  999. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  1000. package/mobile/lib/components/CardTransfer/CardTransferContent.d.ts +5 -0
  1001. package/mobile/lib/components/Carousel/Carousel.d.ts +1 -1
  1002. package/mobile/lib/components/Carousel/Carousel.js +8 -12
  1003. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  1004. package/mobile/lib/components/Carousel/renderCardHighlight.d.ts +7 -0
  1005. package/mobile/lib/components/Carousel/renderCardHighlight.js +6 -0
  1006. package/mobile/lib/components/Carousel/renderCardHighlight.js.map +1 -0
  1007. package/mobile/lib/components/Carousel/renderCarouselCards.d.ts +5 -0
  1008. package/mobile/lib/components/Carousel/renderCarouselCards.js +25 -0
  1009. package/mobile/lib/components/Carousel/renderCarouselCards.js.map +1 -0
  1010. package/mobile/lib/components/Carousel/visibleItemCountStyle.d.ts +1 -0
  1011. package/mobile/lib/components/Carousel/visibleItemCountStyle.js +2 -0
  1012. package/mobile/lib/components/Carousel/visibleItemCountStyle.js.map +1 -0
  1013. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  1014. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  1015. package/mobile/lib/components/CarouselCard/CarouselCard.js +2 -2
  1016. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  1017. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  1018. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  1019. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +4 -9
  1020. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  1021. package/mobile/lib/components/CarouselLinks/CarouselLinkButton.d.ts +5 -0
  1022. package/{lib/ui-kit/LinkButton/LinkButton.js → mobile/lib/components/CarouselLinks/CarouselLinkButton.js} +4 -4
  1023. package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js.map +1 -0
  1024. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +5 -5
  1025. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  1026. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  1027. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  1028. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +4 -7
  1029. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  1030. package/mobile/lib/components/CarouselTariffsCard/renderCardInfo.js +1 -1
  1031. package/mobile/lib/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
  1032. package/mobile/lib/components/ComparisonTable/TableCarouselContainer.js +1 -1
  1033. package/mobile/lib/components/ComparisonTable/TableCell.js +1 -1
  1034. package/mobile/lib/components/ComparisonTable/TableCell.js.map +1 -1
  1035. package/mobile/lib/components/ComparisonTable/TableColumn.js +1 -1
  1036. package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  1037. package/mobile/lib/components/ComparisonTable/TableRow.js +1 -1
  1038. package/mobile/lib/components/ComparisonTable/TableRow.js.map +1 -1
  1039. package/mobile/lib/components/ComparisonTable/TableRowContainer.js +1 -1
  1040. package/mobile/lib/components/ComparisonTable/TableRowContainer.js.map +1 -1
  1041. package/mobile/lib/components/ComparisonTable/constants.d.ts +1 -1
  1042. package/mobile/lib/components/ComparisonTable/constants.js +1 -1
  1043. package/mobile/lib/components/ComparisonTable/constants.js.map +1 -1
  1044. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +2 -2
  1045. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  1046. package/mobile/lib/components/ContentPage/ContentPage.js +1 -1
  1047. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  1048. package/mobile/lib/components/DepositFiltration/DepositFiltration.js +1 -1
  1049. package/mobile/lib/components/DepositFiltration/DepositFiltration.js.map +1 -1
  1050. package/mobile/lib/components/ErrorBlock/ErrorBlock.js +2 -2
  1051. package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  1052. package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js +1 -1
  1053. package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js.map +1 -1
  1054. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +1 -1
  1055. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  1056. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  1057. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  1058. package/mobile/lib/components/ExchangeRateTile/renderInput.js +1 -1
  1059. package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  1060. package/mobile/lib/components/Footer/buttonStylesWithText.js +1 -1
  1061. package/mobile/lib/components/Footer/buttonStylesWithText.js.map +1 -1
  1062. package/mobile/lib/components/GracePeriod/GracePeriod.js +4 -3
  1063. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  1064. package/mobile/lib/components/Header/DropdownMenu.js +2 -2
  1065. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  1066. package/mobile/lib/components/Header/Header.js +1 -1
  1067. package/mobile/lib/components/Header/Header.js.map +1 -1
  1068. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +1 -1
  1069. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  1070. package/mobile/lib/components/Header/HeaderSecondaryMenuButton.js +1 -1
  1071. package/mobile/lib/components/Header/HeaderSubMenu.js +1 -2
  1072. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  1073. package/mobile/lib/components/Header/InternetBankButton.js +2 -2
  1074. package/mobile/lib/components/Header/InternetBankButton.js.map +1 -1
  1075. package/mobile/lib/components/Headline/Headline.js +2 -2
  1076. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  1077. package/mobile/lib/components/Headline/HeadlineContent.d.ts +2 -2
  1078. package/mobile/lib/components/Headline/headlineVersionStyles.js +1 -1
  1079. package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  1080. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  1081. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +5 -5
  1082. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  1083. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +2 -2
  1084. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  1085. package/mobile/lib/components/LikeControl/LikeControl.js +1 -1
  1086. package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -1
  1087. package/mobile/lib/components/LinkDocs/LinkDocItem.js +1 -1
  1088. package/mobile/lib/components/LinkDocs/LinkDocs.js +2 -2
  1089. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  1090. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +2 -2
  1091. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  1092. package/mobile/lib/components/MobileAppTile/buttonsConditionStyle.d.ts +3 -0
  1093. package/mobile/lib/components/MobileAppTile/buttonsConditionStyle.js +10 -0
  1094. package/mobile/lib/components/MobileAppTile/buttonsConditionStyle.js.map +1 -0
  1095. package/mobile/lib/components/MobileAppTile/renderList.js +1 -1
  1096. package/mobile/lib/components/MobileAppTile/renderList.js.map +1 -1
  1097. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js +1 -1
  1098. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
  1099. package/mobile/lib/components/OfficeMap/OfficeMap.js +1 -1
  1100. package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  1101. package/mobile/lib/components/OfficeMap/renderFunctions.js +4 -4
  1102. package/mobile/lib/components/OfficeMap/renderFunctions.js.map +1 -1
  1103. package/mobile/lib/components/Placeholder/Placeholder.js +1 -1
  1104. package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
  1105. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +1 -1
  1106. package/mobile/lib/components/PromoTile/PromoTile.js +1 -1
  1107. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  1108. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  1109. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  1110. package/mobile/lib/components/RollupItem/RollupItem.d.ts +6 -1
  1111. package/mobile/lib/components/RollupItem/RollupItem.js +3 -3
  1112. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  1113. package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +0 -4
  1114. package/mobile/lib/components/SafeDepositRental/RadioButtons.d.ts +1 -1
  1115. package/mobile/lib/components/SafeDepositRental/RadioButtons.js +1 -1
  1116. package/mobile/lib/components/SafeDepositRental/RadioButtons.js.map +1 -1
  1117. package/mobile/lib/components/SafeDepositRental/SafeBoxCases.js +1 -1
  1118. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  1119. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1120. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +1 -1
  1121. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  1122. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
  1123. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  1124. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
  1125. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  1126. package/mobile/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
  1127. package/mobile/lib/components/StepsBlock/StepsBlock.js +6 -7
  1128. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  1129. package/mobile/lib/components/StepsBlock/renderStep.js +1 -1
  1130. package/mobile/lib/components/StepsBlock/renderStep.js.map +1 -1
  1131. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +2 -2
  1132. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  1133. package/mobile/lib/components/TariffsTable/TariffsTable.js +1 -1
  1134. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  1135. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +1 -1
  1136. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  1137. package/mobile/lib/components/TariffsTable/TariffsTableVertical.js +1 -1
  1138. package/mobile/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  1139. package/mobile/lib/components/TariffsTable/constants.d.ts +1 -1
  1140. package/mobile/lib/components/TariffsTable/constants.js +1 -1
  1141. package/mobile/lib/components/TariffsTable/constants.js.map +1 -1
  1142. package/mobile/lib/components/TextBlock/TextBlock.js +2 -2
  1143. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  1144. package/mobile/lib/components/Video/getPaddings.d.ts +1 -1
  1145. package/mobile/lib/components/Video/getPaddings.js +1 -1
  1146. package/mobile/lib/components/Video/getPaddings.js.map +1 -1
  1147. package/mobile/lib/model/HeadlineType.d.ts +1 -1
  1148. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
  1149. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  1150. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  1151. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  1152. package/mobile/lib/ui-kit/BaseTile/BaseTile.js +6 -2
  1153. package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  1154. package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
  1155. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  1156. package/mobile/lib/ui-kit/Checkbox/Checkbox.js +1 -1
  1157. package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js +1 -1
  1158. package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  1159. package/mobile/lib/ui-kit/DialogManager/CloseButton.js +1 -1
  1160. package/mobile/lib/ui-kit/DialogManager/CloseButton.js.map +1 -1
  1161. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js +2 -2
  1162. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  1163. package/mobile/lib/ui-kit/InnerTable/InnerTable.js +1 -1
  1164. package/mobile/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
  1165. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
  1166. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  1167. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js +3 -2
  1168. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  1169. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  1170. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  1171. package/mobile/lib/ui-kit/Input/Input.js +2 -2
  1172. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  1173. package/mobile/lib/ui-kit/InputRange/InputRange.js +2 -2
  1174. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  1175. package/mobile/lib/ui-kit/InputRange/renderRangeWithTicks.js +1 -1
  1176. package/mobile/lib/ui-kit/LocationDialog/SearchBar.js +1 -1
  1177. package/mobile/lib/ui-kit/LocationDialog/SearchBar.js.map +1 -1
  1178. package/mobile/lib/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
  1179. package/mobile/lib/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
  1180. package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
  1181. package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
  1182. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +2 -2
  1183. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  1184. package/mobile/lib/ui-kit/SearchDialog/SearchInput.js +1 -1
  1185. package/mobile/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  1186. package/mobile/lib/ui-kit/Select/Select.js +2 -2
  1187. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  1188. package/mobile/lib/ui-kit/Sitemap/Sitemap.js +1 -1
  1189. package/mobile/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
  1190. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +2 -2
  1191. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  1192. package/mobile/lib/ui-kit/Tags/Tags.js +1 -1
  1193. package/mobile/lib/ui-kit/Tags/Tags.js.map +1 -1
  1194. package/mobile/lib/ui-kit/TopItem/TopItem.js +1 -1
  1195. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  1196. package/mobile/lib/ui-kit/YandexMap/renderOpenMap.js +1 -1
  1197. package/mobile/lib/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
  1198. package/mobile/lib/ui-kit/YandexMap/renderUserGeolocation.js +1 -1
  1199. package/mobile/lib/utils/style.d.ts +2 -1
  1200. package/mobile/lib/utils/style.js.map +1 -1
  1201. package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +2 -6
  1202. package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +4 -4
  1203. package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +2 -2
  1204. package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +5 -5
  1205. package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +5 -5
  1206. package/mobile/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +1 -1
  1207. package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +6 -6
  1208. package/mobile/src/components/ApplicationForm/ResponseNotification.tsx +2 -2
  1209. package/mobile/src/components/ApplicationForm/SelectControl.tsx +6 -5
  1210. package/mobile/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +7 -7
  1211. package/mobile/src/components/ApplicationForm/renderAcquiringRegion.tsx +3 -3
  1212. package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +7 -7
  1213. package/mobile/src/components/ApplicationForm/renderContacts.tsx +5 -5
  1214. package/mobile/src/components/ApplicationForm/renderCreditDataOrganization.tsx +9 -9
  1215. package/mobile/src/components/ApplicationForm/renderCreditParameters.tsx +2 -2
  1216. package/mobile/src/components/ApplicationForm/renderQuestionsInterested.tsx +6 -14
  1217. package/mobile/src/components/ApplicationForm/renderRegion.tsx +7 -8
  1218. package/mobile/src/components/ApplicationForm/renderRegionDepartment.tsx +3 -3
  1219. package/mobile/src/components/ApplicationForm/renderSlideCheckboxes.tsx +1 -1
  1220. package/mobile/src/components/ApplicationForm/renderSubmitButton.tsx +1 -4
  1221. package/mobile/src/components/Bonus/Bonus.tsx +25 -23
  1222. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -2
  1223. package/mobile/src/components/BonusBenefitsBlock/bonusBenefitStyles.ts +1 -1
  1224. package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
  1225. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +1 -1
  1226. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +12 -15
  1227. package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +36 -39
  1228. package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +1 -1
  1229. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +7 -7
  1230. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +5 -7
  1231. package/mobile/src/components/Calculator/Rate.tsx +1 -1
  1232. package/mobile/src/components/Calculator/RefinancingCalculatorForm.tsx +6 -11
  1233. package/mobile/src/components/Calculator/renderBinaryRadioButtonGroup.tsx +2 -2
  1234. package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +2 -2
  1235. package/mobile/src/components/Calculator/renderInitialFeeInput.tsx +0 -1
  1236. package/mobile/src/components/CardTransfer/CardTransfer.example.json +2 -1
  1237. package/mobile/src/components/CardTransfer/CardTransfer.tsx +15 -9
  1238. package/mobile/src/components/CardTransfer/CardTransferContent.ts +5 -0
  1239. package/mobile/src/components/Carousel/Carousel.tsx +11 -20
  1240. package/mobile/src/components/Carousel/renderCardHighlight.tsx +22 -0
  1241. package/mobile/src/components/Carousel/renderCarouselCards.tsx +58 -0
  1242. package/mobile/src/components/Carousel/visibleItemCountStyle.tsx +1 -0
  1243. package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
  1244. package/mobile/src/components/CarouselCard/CarouselCard.tsx +10 -4
  1245. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
  1246. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +9 -22
  1247. package/mobile/src/{ui-kit/LinkButton/LinkButton.tsx → components/CarouselLinks/CarouselLinkButton.tsx} +4 -5
  1248. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +8 -8
  1249. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +4 -5
  1250. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +4 -31
  1251. package/mobile/src/components/CarouselTariffsCard/renderCardInfo.tsx +2 -2
  1252. package/mobile/src/components/ComparisonTable/TableCarouselContainer.tsx +1 -1
  1253. package/mobile/src/components/ComparisonTable/TableCell.tsx +1 -1
  1254. package/mobile/src/components/ComparisonTable/TableColumn.tsx +1 -1
  1255. package/mobile/src/components/ComparisonTable/TableRow.tsx +1 -1
  1256. package/mobile/src/components/ComparisonTable/TableRowContainer.tsx +1 -1
  1257. package/mobile/src/components/ComparisonTable/constants.ts +1 -1
  1258. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +4 -4
  1259. package/mobile/src/components/ContentPage/ContentPage.tsx +2 -2
  1260. package/mobile/src/components/DepositFiltration/DepositFiltration.tsx +1 -1
  1261. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +5 -5
  1262. package/mobile/src/components/ExchangeRateOffice/renderCurrencies.tsx +2 -2
  1263. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +2 -7
  1264. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
  1265. package/mobile/src/components/ExchangeRateTile/renderInput.tsx +1 -1
  1266. package/mobile/src/components/Footer/buttonStylesWithText.ts +1 -1
  1267. package/mobile/src/components/GracePeriod/GracePeriod.tsx +9 -14
  1268. package/mobile/src/components/Header/DropdownMenu.tsx +3 -3
  1269. package/mobile/src/components/Header/Header.tsx +1 -1
  1270. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +1 -1
  1271. package/mobile/src/components/Header/HeaderSecondaryMenuButton.tsx +1 -1
  1272. package/mobile/src/components/Header/HeaderSubMenu.tsx +6 -4
  1273. package/mobile/src/components/Header/InternetBankButton.tsx +2 -2
  1274. package/mobile/src/components/Headline/Headline.tsx +3 -3
  1275. package/mobile/src/components/Headline/HeadlineContent.ts +2 -2
  1276. package/mobile/src/components/Headline/headlineVersionStyles.ts +1 -1
  1277. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  1278. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +8 -8
  1279. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +3 -3
  1280. package/mobile/src/components/LikeControl/LikeControl.tsx +1 -1
  1281. package/mobile/src/components/LinkDocs/LinkDocItem.tsx +1 -1
  1282. package/mobile/src/components/LinkDocs/LinkDocs.tsx +5 -8
  1283. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +2 -2
  1284. package/mobile/src/components/MobileAppTile/buttonsConditionStyle.tsx +12 -0
  1285. package/mobile/src/components/MobileAppTile/renderList.tsx +1 -1
  1286. package/mobile/src/components/MortgageFiltration/MortgageFiltration.tsx +1 -1
  1287. package/mobile/src/components/OfficeMap/OfficeMap.tsx +1 -1
  1288. package/mobile/src/components/OfficeMap/renderFunctions.tsx +14 -12
  1289. package/mobile/src/components/Placeholder/Placeholder.tsx +1 -1
  1290. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +1 -1
  1291. package/mobile/src/components/PromoTile/PromoTile.tsx +1 -1
  1292. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +1 -1
  1293. package/mobile/src/components/RollupItem/RollupItem.tsx +10 -7
  1294. package/mobile/src/components/RollupItem/RollupItem.ui.json +1 -5
  1295. package/mobile/src/components/RollupItem/RollupItemContent.ts +0 -4
  1296. package/mobile/src/components/SafeDepositRental/RadioButtons.tsx +2 -2
  1297. package/mobile/src/components/SafeDepositRental/SafeBoxCases.tsx +1 -1
  1298. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  1299. package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +2 -2
  1300. package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +1 -1
  1301. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +5 -5
  1302. package/mobile/src/components/StepsBlock/StepsBlock.tsx +17 -17
  1303. package/mobile/src/components/StepsBlock/renderStep.tsx +1 -1
  1304. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +2 -2
  1305. package/mobile/src/components/TariffsTable/TariffsTable.tsx +1 -1
  1306. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  1307. package/mobile/src/components/TariffsTable/TariffsTableVertical.tsx +1 -1
  1308. package/mobile/src/components/TariffsTable/constants.ts +1 -1
  1309. package/mobile/src/components/TextBlock/TextBlock.tsx +4 -4
  1310. package/mobile/src/components/Video/getPaddings.ts +1 -1
  1311. package/mobile/src/model/HeadlineType.ts +1 -1
  1312. package/mobile/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +1 -1
  1313. package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
  1314. package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +15 -4
  1315. package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1316. package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +1 -1
  1317. package/mobile/src/ui-kit/CookiePopup/CookiePopup.tsx +1 -1
  1318. package/mobile/src/ui-kit/DialogManager/CloseButton.tsx +1 -1
  1319. package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +2 -2
  1320. package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
  1321. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +3 -3
  1322. package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +4 -3
  1323. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1324. package/mobile/src/ui-kit/Input/Input.tsx +2 -2
  1325. package/mobile/src/ui-kit/InputRange/InputRange.tsx +2 -2
  1326. package/mobile/src/ui-kit/InputRange/renderRangeWithTicks.tsx +2 -2
  1327. package/mobile/src/ui-kit/LocationDialog/SearchBar.tsx +2 -2
  1328. package/mobile/src/ui-kit/LocationDialog/renderForeignOffices.tsx +2 -2
  1329. package/mobile/src/ui-kit/Radio/Radio.tsx +2 -2
  1330. package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +2 -2
  1331. package/mobile/src/ui-kit/SearchDialog/SearchInput.tsx +1 -1
  1332. package/mobile/src/ui-kit/Select/Select.tsx +3 -3
  1333. package/mobile/src/ui-kit/Sitemap/Sitemap.tsx +1 -1
  1334. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +2 -2
  1335. package/mobile/src/ui-kit/Tags/Tags.tsx +1 -1
  1336. package/mobile/src/ui-kit/TopItem/TopItem.tsx +1 -1
  1337. package/mobile/src/ui-kit/YandexMap/renderOpenMap.tsx +1 -1
  1338. package/mobile/src/ui-kit/YandexMap/renderUserGeolocation.tsx +1 -1
  1339. package/mobile/src/utils/style.ts +2 -1
  1340. package/package.json +1 -1
  1341. package/src/components/ApplicationForm/ApplicationForm.tsx +2 -6
  1342. package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +4 -4
  1343. package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +2 -2
  1344. package/src/components/ApplicationForm/ApplicationFormCredit.tsx +5 -5
  1345. package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +5 -5
  1346. package/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +1 -1
  1347. package/src/components/ApplicationForm/ApplicationFormWed.tsx +6 -6
  1348. package/src/components/ApplicationForm/ResponseNotification.tsx +2 -2
  1349. package/src/components/ApplicationForm/SelectControl.tsx +6 -5
  1350. package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +7 -7
  1351. package/src/components/ApplicationForm/renderAcquiringRegion.tsx +3 -3
  1352. package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +7 -7
  1353. package/src/components/ApplicationForm/renderContacts.tsx +5 -5
  1354. package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +9 -9
  1355. package/src/components/ApplicationForm/renderCreditParameters.tsx +2 -2
  1356. package/src/components/ApplicationForm/renderQuestionsInterested.tsx +6 -14
  1357. package/src/components/ApplicationForm/renderRegion.tsx +7 -8
  1358. package/src/components/ApplicationForm/renderRegionDepartment.tsx +3 -3
  1359. package/src/components/ApplicationForm/renderSlideCheckboxes.tsx +1 -1
  1360. package/src/components/ApplicationForm/renderSubmitButton.tsx +1 -4
  1361. package/src/components/Bonus/Bonus.tsx +25 -23
  1362. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -2
  1363. package/src/components/BonusBenefitsBlock/bonusBenefitStyles.mobile.ts +1 -1
  1364. package/src/components/BonusBenefitsBlock/renderBonusBenefits.tsx +1 -1
  1365. package/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
  1366. package/src/components/BusinessBlock/BusinessCard.tsx +1 -1
  1367. package/src/components/ButtonsBlock/ButtonsBlock.fixture.mobile.tsx +1 -1
  1368. package/src/components/ButtonsBlock/ButtonsBlock.fixture.tsx +1 -1
  1369. package/src/components/Calculator/BonusCalculatorForm.tsx +12 -15
  1370. package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +36 -39
  1371. package/src/components/Calculator/Calculator.tsx +4 -4
  1372. package/src/components/Calculator/CalculatorValueBlock.tsx +1 -1
  1373. package/src/components/Calculator/CreditCalculatorForm.tsx +7 -7
  1374. package/src/components/Calculator/DepositCalculatorForm.tsx +5 -7
  1375. package/src/components/Calculator/Rate.tsx +1 -1
  1376. package/src/components/Calculator/RefinancingCalculatorForm.tsx +6 -11
  1377. package/src/components/Calculator/renderBinaryRadioButtonGroup.tsx +2 -2
  1378. package/src/components/Calculator/renderCalculatorBlock.tsx +2 -2
  1379. package/src/components/Calculator/renderInitialFeeInput.tsx +0 -1
  1380. package/src/components/CardTransfer/CardTransfer.example.json +2 -1
  1381. package/src/components/CardTransfer/CardTransfer.tsx +15 -9
  1382. package/src/components/CardTransfer/CardTransferContent.ts +5 -0
  1383. package/src/components/Carousel/Carousel.tsx +11 -20
  1384. package/src/components/Carousel/renderCardHighlight.tsx +22 -0
  1385. package/src/components/Carousel/renderCarouselCards.tsx +58 -0
  1386. package/src/components/Carousel/visibleItemCountStyle.mobile.tsx +1 -0
  1387. package/src/components/Carousel/visibleItemCountStyle.tsx +1 -0
  1388. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.tsx +1 -1
  1389. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
  1390. package/src/components/CarouselCard/CarouselCard.tsx +10 -4
  1391. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
  1392. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.fixture.tsx +6 -6
  1393. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +9 -22
  1394. package/src/{ui-kit/LinkButton/LinkButton.tsx → components/CarouselLinks/CarouselLinkButton.tsx} +4 -5
  1395. package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +2 -2
  1396. package/src/components/CarouselLinks/CarouselLinks.tsx +8 -8
  1397. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.tsx +6 -6
  1398. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +6 -6
  1399. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.tsx +4 -5
  1400. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +2 -2
  1401. package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.tsx +1 -6
  1402. package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +0 -5
  1403. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +4 -31
  1404. package/src/components/CarouselTariffsCard/renderCardInfo.tsx +2 -2
  1405. package/src/components/ComparisonTable/ComparisonTable.tsx +3 -7
  1406. package/src/components/ComparisonTable/TableCarouselContainer.tsx +1 -1
  1407. package/src/components/ComparisonTable/TableCell.mobile.tsx +1 -1
  1408. package/src/components/ComparisonTable/TableCell.tsx +1 -1
  1409. package/src/components/ComparisonTable/TableColumn.tsx +1 -1
  1410. package/src/components/ComparisonTable/TableRow.tsx +1 -1
  1411. package/src/components/ComparisonTable/TableRowContainer.tsx +1 -1
  1412. package/src/components/ComparisonTable/constants.ts +1 -1
  1413. package/src/components/ContactsBlock/ContactsBlock.tsx +4 -4
  1414. package/src/components/ContentPage/ContentPage.tsx +2 -2
  1415. package/src/components/DepositFiltration/DepositFiltration.tsx +1 -1
  1416. package/src/components/ErrorBlock/ErrorBlock.tsx +5 -5
  1417. package/src/components/ExchangeRateOffice/renderCurrencies.tsx +2 -2
  1418. package/src/components/ExchangeRateTile/CurrencyTable.tsx +2 -7
  1419. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
  1420. package/src/components/ExchangeRateTile/renderInput.tsx +1 -1
  1421. package/src/components/Footer/buttonStylesWithText.ts +1 -1
  1422. package/src/components/GracePeriod/GracePeriod.tsx +9 -14
  1423. package/src/components/Header/DropdownMenu.tsx +3 -3
  1424. package/src/components/Header/Header.mobile.tsx +1 -1
  1425. package/src/components/Header/HeaderSecondaryMenu.tsx +1 -1
  1426. package/src/components/Header/HeaderSecondaryMenuButton.tsx +1 -1
  1427. package/src/components/Header/HeaderSubMenu.tsx +6 -4
  1428. package/src/components/Header/InternetBankButton.tsx +2 -2
  1429. package/src/components/Headline/Headline.tsx +3 -3
  1430. package/src/components/Headline/HeadlineContent.ts +2 -2
  1431. package/src/components/Headline/headlineVersionStyles.ts +1 -1
  1432. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  1433. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +8 -8
  1434. package/src/components/InvestmentInfo/InvestmentInfo.tsx +3 -3
  1435. package/src/components/LikeControl/LikeControl.tsx +1 -1
  1436. package/src/components/LinkDocs/LinkDocItem.tsx +1 -1
  1437. package/src/components/LinkDocs/LinkDocs.tsx +5 -8
  1438. package/src/components/MobileAppTile/MobileAppTile.tsx +2 -2
  1439. package/src/components/MobileAppTile/buttonsConditionStyle.mobile.tsx +12 -0
  1440. package/src/components/MobileAppTile/buttonsConditionStyle.tsx +5 -0
  1441. package/src/components/MobileAppTile/renderList.tsx +1 -1
  1442. package/src/components/MortgageFiltration/MortgageFiltration.tsx +1 -1
  1443. package/src/components/OfficeMap/OfficeMap.tsx +1 -1
  1444. package/src/components/OfficeMap/renderFunctions.tsx +14 -12
  1445. package/src/components/Placeholder/Placeholder.tsx +1 -1
  1446. package/src/components/ProductBlock/renderBackwardButton.tsx +1 -1
  1447. package/src/components/ProductGallery/ProductGallery.tsx +4 -4
  1448. package/src/components/PromoTile/PromoTile.tsx +1 -1
  1449. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.mobile.tsx +1 -1
  1450. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +1 -1
  1451. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +1 -1
  1452. package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +6 -3
  1453. package/src/components/RollupItem/RollupItem.tsx +10 -7
  1454. package/src/components/RollupItem/RollupItem.ui.json +1 -5
  1455. package/src/components/RollupItem/RollupItemContent.ts +0 -4
  1456. package/src/components/RollupItem/foldableSectionStyles.ts +1 -1
  1457. package/src/components/SafeDepositRental/RadioButtons.tsx +2 -2
  1458. package/src/components/SafeDepositRental/SafeBoxCases.tsx +1 -1
  1459. package/src/components/SafeDepositRental/SafeDepositRental.fixture.mobile.tsx +1 -1
  1460. package/src/components/SafeDepositRental/SafeDepositRental.fixture.tsx +1 -1
  1461. package/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  1462. package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +2 -2
  1463. package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +1 -1
  1464. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +5 -5
  1465. package/src/components/StepsBlock/StepsBlock.mobile.tsx +17 -17
  1466. package/src/components/StepsBlock/StepsBlock.tsx +12 -5
  1467. package/src/components/StepsBlock/renderStep.tsx +1 -1
  1468. package/src/components/SwipeListControlBlock/SwipeListControlBlock.fixture.tsx +3 -3
  1469. package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +2 -2
  1470. package/src/components/TariffsTable/EmbeddableCellData.tsx +8 -12
  1471. package/src/components/TariffsTable/TariffsTable.mobile.tsx +1 -1
  1472. package/src/components/TariffsTable/TariffsTable.tsx +3 -3
  1473. package/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  1474. package/src/components/TariffsTable/TariffsTableVertical.tsx +1 -1
  1475. package/src/components/TariffsTable/constants.ts +1 -1
  1476. package/src/components/TextBlock/TextBlock.fixture.tsx +3 -3
  1477. package/src/components/TextBlock/TextBlock.tsx +4 -4
  1478. package/src/components/Video/getPaddings.ts +1 -1
  1479. package/src/model/HeadlineType.ts +1 -1
  1480. package/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +1 -1
  1481. package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
  1482. package/src/ui-kit/BaseTile/BaseTile.tsx +15 -4
  1483. package/src/ui-kit/Button/Button.fixture.tsx +6 -6
  1484. package/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1485. package/src/ui-kit/Checkbox/Checkbox.tsx +1 -1
  1486. package/src/ui-kit/CookiePopup/CookiePopup.tsx +1 -1
  1487. package/src/ui-kit/DialogManager/CloseButton.tsx +1 -1
  1488. package/src/ui-kit/Foldable/DefaultFoldButton.tsx +2 -2
  1489. package/src/ui-kit/Heading/Heading.fixture.tsx +8 -20
  1490. package/src/ui-kit/Icon/Icon.fixture.tsx +8 -8
  1491. package/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
  1492. package/src/ui-kit/InnerTable/InnerTableBody.tsx +3 -3
  1493. package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +4 -3
  1494. package/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1495. package/src/ui-kit/Input/Input.tsx +2 -2
  1496. package/src/ui-kit/InputRange/InputRange.tsx +2 -2
  1497. package/src/ui-kit/InputRange/renderRangeWithTicks.tsx +2 -2
  1498. package/src/ui-kit/LocationDialog/SearchBar.tsx +2 -2
  1499. package/src/ui-kit/LocationDialog/renderForeignOffices.tsx +2 -2
  1500. package/src/ui-kit/Radio/Radio.tsx +2 -2
  1501. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.tsx +2 -2
  1502. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +2 -2
  1503. package/src/ui-kit/SearchDialog/SearchInput.tsx +1 -1
  1504. package/src/ui-kit/Select/Select.fixture.tsx +1 -1
  1505. package/src/ui-kit/Select/Select.tsx +3 -3
  1506. package/src/ui-kit/Sitemap/Sitemap.tsx +1 -1
  1507. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +7 -7
  1508. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.tsx +7 -7
  1509. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +2 -2
  1510. package/src/ui-kit/TabsControl/TabsControl.fixture.tsx +1 -1
  1511. package/src/ui-kit/Tags/Tags.tsx +1 -1
  1512. package/src/ui-kit/TopItem/TopItem.tsx +1 -1
  1513. package/src/ui-kit/YandexMap/renderOpenMap.tsx +1 -1
  1514. package/src/ui-kit/YandexMap/renderUserGeolocation.tsx +1 -1
  1515. package/src/utils/style.ts +2 -1
  1516. package/bundle/components/Calculator/renderProposal.d.ts +0 -2
  1517. package/bundle/components/CarouselTariffsCard/getPaddingStyle.d.ts +0 -1
  1518. package/bundle/components/CarouselTariffsCard/getPaddingStyle.mobile.d.ts +0 -1
  1519. package/bundle/ui-kit/LinkButton/LinkButton.d.ts +0 -5
  1520. package/dist/components/Calculator/renderProposal.d.ts +0 -2
  1521. package/dist/components/Calculator/renderProposal.js +0 -11
  1522. package/dist/components/Calculator/renderProposal.js.map +0 -1
  1523. package/dist/components/CarouselTariffsCard/getPaddingStyle.d.ts +0 -1
  1524. package/dist/components/CarouselTariffsCard/getPaddingStyle.js +0 -5
  1525. package/dist/components/CarouselTariffsCard/getPaddingStyle.js.map +0 -1
  1526. package/dist/components/CarouselTariffsCard/getPaddingStyle.mobile.d.ts +0 -1
  1527. package/dist/components/CarouselTariffsCard/getPaddingStyle.mobile.js +0 -5
  1528. package/dist/components/CarouselTariffsCard/getPaddingStyle.mobile.js.map +0 -1
  1529. package/dist/ui-kit/LinkButton/LinkButton.d.ts +0 -5
  1530. package/dist/ui-kit/LinkButton/LinkButton.js.map +0 -1
  1531. package/lib/components/Calculator/renderProposal.d.ts +0 -2
  1532. package/lib/components/Calculator/renderProposal.js +0 -8
  1533. package/lib/components/Calculator/renderProposal.js.map +0 -1
  1534. package/lib/components/CarouselTariffsCard/getPaddingStyle.d.ts +0 -1
  1535. package/lib/components/CarouselTariffsCard/getPaddingStyle.js +0 -2
  1536. package/lib/components/CarouselTariffsCard/getPaddingStyle.js.map +0 -1
  1537. package/lib/components/CarouselTariffsCard/getPaddingStyle.mobile.d.ts +0 -1
  1538. package/lib/components/CarouselTariffsCard/getPaddingStyle.mobile.js +0 -2
  1539. package/lib/components/CarouselTariffsCard/getPaddingStyle.mobile.js.map +0 -1
  1540. package/lib/ui-kit/LinkButton/LinkButton.d.ts +0 -5
  1541. package/lib/ui-kit/LinkButton/LinkButton.fixture.d.ts +0 -6
  1542. package/lib/ui-kit/LinkButton/LinkButton.fixture.mobile.d.ts +0 -6
  1543. package/lib/ui-kit/LinkButton/LinkButton.js.map +0 -1
  1544. package/mobile/bundle/components/Calculator/renderProposal.d.ts +0 -2
  1545. package/mobile/bundle/components/CarouselTariffsCard/getPaddingStyle.d.ts +0 -1
  1546. package/mobile/bundle/ui-kit/LinkButton/LinkButton.d.ts +0 -5
  1547. package/mobile/dist/components/Calculator/renderProposal.d.ts +0 -2
  1548. package/mobile/dist/components/Calculator/renderProposal.js +0 -11
  1549. package/mobile/dist/components/Calculator/renderProposal.js.map +0 -1
  1550. package/mobile/dist/components/CarouselTariffsCard/getPaddingStyle.d.ts +0 -1
  1551. package/mobile/dist/components/CarouselTariffsCard/getPaddingStyle.js +0 -5
  1552. package/mobile/dist/components/CarouselTariffsCard/getPaddingStyle.js.map +0 -1
  1553. package/mobile/dist/ui-kit/LinkButton/LinkButton.d.ts +0 -5
  1554. package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +0 -1
  1555. package/mobile/lib/components/Calculator/renderProposal.d.ts +0 -2
  1556. package/mobile/lib/components/Calculator/renderProposal.js +0 -8
  1557. package/mobile/lib/components/Calculator/renderProposal.js.map +0 -1
  1558. package/mobile/lib/components/CarouselTariffsCard/getPaddingStyle.d.ts +0 -1
  1559. package/mobile/lib/components/CarouselTariffsCard/getPaddingStyle.js +0 -2
  1560. package/mobile/lib/components/CarouselTariffsCard/getPaddingStyle.js.map +0 -1
  1561. package/mobile/lib/ui-kit/LinkButton/LinkButton.d.ts +0 -5
  1562. package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +0 -1
  1563. package/mobile/src/components/Calculator/renderProposal.tsx +0 -17
  1564. package/mobile/src/components/CarouselLinks/CarouselLinks.json +0 -8
  1565. package/mobile/src/components/CarouselTariffsCard/getPaddingStyle.tsx +0 -2
  1566. package/src/components/Calculator/renderProposal.tsx +0 -17
  1567. package/src/components/CarouselLinks/CarouselLinks.json +0 -8
  1568. package/src/components/CarouselTariffsCard/getPaddingStyle.mobile.tsx +0 -2
  1569. package/src/components/CarouselTariffsCard/getPaddingStyle.tsx +0 -2
  1570. package/src/ui-kit/LinkButton/LinkButton.fixture.mobile.tsx +0 -11
  1571. package/src/ui-kit/LinkButton/LinkButton.fixture.tsx +0 -11
@@ -628,7 +628,7 @@
628
628
 
629
629
  const ButtonInner = JSX((props) => {
630
630
  const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
631
- 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] }));
631
+ return (jsxs("div", { className: style(getButtonStyle(props), 'flex gap-xs'), 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] }));
632
632
  });
633
633
  const getButtonStyle = (props) => {
634
634
  const { version, aboveText, rounded } = props;
@@ -689,11 +689,11 @@
689
689
  const handleChange = useCallback((e) => {
690
690
  onChange && onChange(e.target?.value || '');
691
691
  }, [onChange]);
692
- const paddingStyle = children ? 'pr-8' : '';
692
+ const paddingStyle = children ? 'pr-3xl' : '';
693
693
  const validStyle = valid
694
694
  ? 'border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text'
695
695
  : 'border-error';
696
- 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] }));
696
+ 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-m', paddingStyle, validStyle, inputClassName), id: id, name: name || id, placeholder: placeholder, type: type, value: value, onInput: handleChange, onFocus: onFocus, onBlur: onBlur, pattern: pattern }, key)] }), children] }));
697
697
  });
698
698
 
699
699
  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 })] })));
@@ -729,7 +729,7 @@
729
729
  const innValidator = validator((_) => typeof _ === 'string' && (_.length === 10 || _.length === 12))(ERROR_MESSAGE);
730
730
  const phoneValidator = pattern(/^(\+7)?[\s-]?\(?[0-9]{3}\)?[\s-]?[0-9]{3}[\s-]?[0-9]{2}[\s-]?[0-9]{2}$/)(ERROR_MESSAGE);
731
731
 
732
- const renderAcquiringDataOrganization = (field) => (jsxs("div", { className: "mb-4 sm:flex sm:justify-between sm:gap-5 sm:mb-7", children: [jsxs("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(InputControl, { className: "shrink-0 w-full mb-3", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) })] }), jsxs("div", { className: "sm:w-1/2", children: [jsx(InputControl, { className: "shrink-0 w-full mb-3", label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) }), jsx(PhoneInputControl, { className: "shrink-0 w-full mb-3", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] })] }));
732
+ const renderAcquiringDataOrganization = (field) => (jsxs("div", { className: "sm:flex sm:justify-between sm:gap-lg", children: [jsxs("div", { className: "sm:w-1/2 space-y-s", children: [jsx(InputControl, { className: "shrink-0 w-full", 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(InputControl, { className: "shrink-0 w-full", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) })] }), jsxs("div", { className: "sm:w-1/2 space-y-s", children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) }), jsx(PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] })] }));
733
733
 
734
734
  const ACQUIRING_TYPES = [
735
735
  {
@@ -804,28 +804,28 @@
804
804
  onChange && onChange(option);
805
805
  }, [onChange]);
806
806
  const isSelected = (option) => option.key === value?.key;
807
- 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] })] }));
807
+ 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-m pr-3xl 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] })] }));
808
808
  });
809
809
  const renderOption = (handleChange, isOpen, isSelected) => (option, i) => (jsxs("div", { onClick: () => {
810
810
  handleChange(option);
811
- }, className: "flex px-4 py-3 cursor-pointer hover:bg-main-divider pr-11 relative", children: [jsx("span", { className: "min-h-6", children: formatOption(option) }), jsx(Icon, { name: "DoneSimpleIcon", width: "16", height: "16", className: style('absolute right-4 pt-0.5', isSelected(option) && isOpen ? '' : 'hidden') })] }, String(i)));
811
+ }, className: "flex px-m py-s cursor-pointer hover:bg-main-divider pr-5xl relative", children: [jsx("span", { className: "min-h-6", children: formatOption(option) }), jsx(Icon, { name: "DoneSimpleIcon", width: "16", height: "16", className: style('absolute right-4 pt-3xs', isSelected(option) && isOpen ? '' : 'hidden') })] }, String(i)));
812
812
  const formatOption = (_) => _?.text || _?.key || '';
813
813
  const getBorderStyle = (isBorder, valid) => style(isBorder ? 'border rounded-md hover:border-primary-hover' : '', valid ? ' border-gray' : 'border-error');
814
814
 
815
- const SelectControl = JSX((props) => (jsxs("div", { children: [jsx(Select, { ...props, valid: !props.error }), jsx("div", { className: "h-2", children: props.error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: props.error })) : null })] })));
815
+ const SelectControl = JSX(({ className = '', error, ...rest }) => (jsxs("div", { className: className, children: [jsx(Select, { ...rest, valid: !error }), jsx("div", { className: "h-2", children: error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null })] })));
816
816
 
817
- const renderAcquiringRegion = ({ regions, field }) => (jsxs("div", { className: "mb-4 pb-1 border-b border-b-main-divider sm:flex sm:justify-between sm:gap-5 sm:mb-7 sm:border-none sm:pb-0", children: [jsx("div", { className: "mb-3 sm:mb-0 sm:w-1/2", children: jsx(SelectControl, { label: "\u0412\u0438\u0434 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433\u0430", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433", options: ACQUIRING_TYPES.map(({ name: key = '' }) => ({ key, text: key })), ...withValidator(field('acquiringType'), defaultValidator) }) }), jsx("div", { className: "mb-3 sm:mb-0 sm:w-1/2", children: jsx(SelectControl, { label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441", options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }) })] }));
817
+ const renderAcquiringRegion = ({ regions, field }) => (jsxs("div", { className: "border-b border-b-main-divider sm:border-none sm:flex sm:justify-between gap-lg ", children: [jsx("div", { className: "sm:w-1/2", children: jsx(SelectControl, { label: "\u0412\u0438\u0434 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433\u0430", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433", options: ACQUIRING_TYPES.map(({ name: key = '' }) => ({ key, text: key })), ...withValidator(field('acquiringType'), defaultValidator) }) }), jsx("div", { className: "sm:w-1/2", children: jsx(SelectControl, { label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441", options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }) })] }));
818
818
 
819
819
  const SlideCheckbox = JSX(({ value = false, text, type = 'checkbox', onChange }) => (jsxs("div", { role: type, "aria-checked": value, className: "flex justify-start items-center w-full cursor-pointer mb-s", onClick: () => onChange && onChange(!value), children: [jsx("div", { className: style('relative flex-shrink-0 duration-300 w-9 h-5 mr-s rounded-2xl', value ? 'bg-primary-main' : 'bg-main-divider'), children: jsx("div", { className: style('absolute opacity-80 duration-500 top-0.5 w-4 h-4 bg-white rounded-full', value ? 'left-1/2' : 'left-[5%]') }) }), jsx(Text, { size: "text-l", font: "font-light", color: "text-primary-text", children: text })] })));
820
820
 
821
- const renderSlideCheckboxes = (field) => (jsxs("div", { className: "sm:mb-5", children: [jsx(SlideCheckbox, { text: "\u0425\u043E\u0447\u0443 \u043A\u0443\u043F\u0438\u0442\u044C \u043E\u043D\u043B\u0430\u0439\u043D-\u043A\u0430\u0441\u0441\u0443", ...field('onlineCheckout') }), jsx(SlideCheckbox, { text: "\u0425\u043E\u0447\u0443 \u043A\u0443\u043F\u0438\u0442\u044C POS-\u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B", ...field('posTerminal') })] }));
821
+ const renderSlideCheckboxes = (field) => (jsxs("div", { children: [jsx(SlideCheckbox, { text: "\u0425\u043E\u0447\u0443 \u043A\u0443\u043F\u0438\u0442\u044C \u043E\u043D\u043B\u0430\u0439\u043D-\u043A\u0430\u0441\u0441\u0443", ...field('onlineCheckout') }), jsx(SlideCheckbox, { text: "\u0425\u043E\u0447\u0443 \u043A\u0443\u043F\u0438\u0442\u044C POS-\u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B", ...field('posTerminal') })] }));
822
822
 
823
823
  const renderSubmitButton = (button, className) => {
824
824
  const buttonStyle = getRegularButtonClasses({
825
825
  className: 'text-white',
826
826
  version: button?.version,
827
827
  });
828
- return (jsx("button", { type: "submit", className: style('p-4 mt-3 w-full sm:mt-0 sm:w-auto', buttonStyle, className), children: button?.text ? button.text : 'Отправить заявку' }));
828
+ return (jsx("button", { type: "submit", className: style('p-m w-full sm:w-auto', buttonStyle, className), children: button?.text ? button.text : 'Отправить заявку' }));
829
829
  };
830
830
 
831
831
  const initialFormState$4 = {
@@ -862,12 +862,12 @@
862
862
  }, [onSubmit]);
863
863
  const [, { field, ...formProps }] = useForm(initialFormState$4, handleSubmit);
864
864
  const regions = useGetRegions();
865
- return (jsxs("form", { className: "container", onSubmit: formProps.onSubmit, children: [jsx(Heading, { headingType: "h6", title: "\u0412\u0438\u0434 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433\u0430 \u0438 \u0440\u0435\u0433\u0438\u043E\u043D", className: "sm:text-center mb-4" }), renderAcquiringRegion({ regions, field }), 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" }), renderAcquiringDataOrganization(field), renderSlideCheckboxes(field), renderSubmitButton(button, 'mb-4'), jsx(Footnote, { link: link })] }));
865
+ return (jsxs("form", { className: "container space-y-m", onSubmit: formProps.onSubmit, children: [jsx(Heading, { headingType: "h6", title: "\u0412\u0438\u0434 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433\u0430 \u0438 \u0440\u0435\u0433\u0438\u043E\u043D", className: "sm:text-center" }), renderAcquiringRegion({ regions, field }), 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" }), renderAcquiringDataOrganization(field), renderSlideCheckboxes(field), renderSubmitButton(button), jsx(Footnote, { link: link })] }));
866
866
  });
867
867
 
868
- const renderBusinessCardDataOrganization = (field) => (jsxs("div", { className: "sm:flex sm:justify-between sm:gap-5", children: [jsxs("div", { className: "sm:w-1/2", children: [jsx(InputControl, { className: "shrink-0 w-full mb-3", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) }), jsx(InputControl, { className: "shrink-0 w-full mb-3", label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) })] }), jsxs("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(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) })] })] }));
868
+ const renderBusinessCardDataOrganization = (field) => (jsxs("div", { className: "sm:flex sm:justify-between sm:gap-lg", children: [jsxs("div", { className: "sm:w-1/2 space-y-s", children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) })] }), jsxs("div", { className: "sm:w-1/2 space-y-s", children: [jsx(PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) })] })] }));
869
869
 
870
- const renderRegion$1 = ({ regions, field }) => (jsx("div", { className: "w-full mb-3 sm:mb-5", children: jsx(SelectControl, { label: "\u0420\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }) }));
870
+ const renderRegion$1 = ({ regions, field }) => (jsx(SelectControl, { className: "w-full", label: "\u0420\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }));
871
871
 
872
872
  const initialFormState$3 = {
873
873
  name: '',
@@ -898,7 +898,7 @@
898
898
  }, [onSubmit]);
899
899
  const [, { field, ...formProps }] = useForm(initialFormState$3, handleSubmit);
900
900
  const regions = useGetRegions();
901
- return (jsxs("form", { className: "container", onSubmit: formProps.onSubmit, children: [renderRegion$1({ regions, field }), renderBusinessCardDataOrganization(field), renderSubmitButton(button, 'mb-4'), jsx(Footnote, { link: link })] }));
901
+ return (jsxs("form", { className: "container space-y-s", onSubmit: formProps.onSubmit, children: [renderRegion$1({ regions, field }), renderBusinessCardDataOrganization(field), renderSubmitButton(button), jsx(Footnote, { link: link })] }));
902
902
  });
903
903
 
904
904
  const BRANCHES_URL = '/api/v1/branches';
@@ -919,7 +919,7 @@
919
919
  const MAX_CREDIT_TERM = 180;
920
920
  const ITEMS_CREDIT_TERM = ['От 1 мес', 'До 15 лет'];
921
921
 
922
- const renderCreditDataOrganization = (field) => (jsxs("div", { className: "mb-4 pb-1 border-b border-b-main-divider sm:flex sm:justify-between sm:gap-5 sm:mb-7 sm:border-none sm:pb-0", children: [jsxs("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", ...field('fullName') }), jsx(InputControl, { className: "shrink-0 w-full mb-3", label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) }), jsx(PhoneInputControl, { className: "shrink-0 w-full mb-3", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }), jsxs("div", { className: "sm:w-1/2", children: [jsx(InputControl, { className: "shrink-0 w-full mb-3", label: "\u0413\u043E\u0434\u043E\u0432\u0430\u044F \u0432\u044B\u0440\u0443\u0447\u043A\u0430, \u20BD", ...withValidator(field('annualRevenue'), defaultValidator) }), jsx(InputControl, { className: "shrink-0 w-full mb-3", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) }), 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", ...field('mail') })] })] }));
922
+ const renderCreditDataOrganization = (field) => (jsxs("div", { className: "pb-2xs border-b border-b-main-divider sm:flex sm:justify-between sm:gap-lg sm:border-none sm:pb-0", children: [jsxs("div", { className: "sm:w-1/2 space-y-s", children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...field('fullName') }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) }), jsx(PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }), jsxs("div", { className: "sm:w-1/2 space-y-s", children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u0413\u043E\u0434\u043E\u0432\u0430\u044F \u0432\u044B\u0440\u0443\u0447\u043A\u0430, \u20BD", ...withValidator(field('annualRevenue'), defaultValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) }), jsx(InputControl, { className: "shrink-0 w-full", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...field('mail') })] })] }));
923
923
 
924
924
  const useNormalizedInput = (props, { normalize, format }) => {
925
925
  const { value, onFocus, onBlur, onChange } = props;
@@ -958,7 +958,7 @@
958
958
  const inputStyle = {
959
959
  backgroundSize: `${(((rangeValue - min) * 100) / (max - min)).toFixed(2)}% 100%`,
960
960
  };
961
- return (jsxs("div", { children: [list.length ? (jsx("div", { className: "absolute w-full flex justify-between -bottom-[3px] px-4", children: list.map((_, i) => (jsx("div", { className: `w-2 h-2 rounded-full ${rangeValue <= i || disabled ? 'bg-gray' : 'bg-primary-main'}` }, String(i)))) })) : null, jsx("div", { className: "absolute inset-x-0 -bottom-1 px-4 leading-[18px]", children: jsx("input", { className: "box-border w-full m-0 cursor-pointer slider relative z-10", style: inputStyle, type: "range", min: min, max: max, step: step, value: rangeValue, disabled: disabled, onInput: ((e) => {
961
+ return (jsxs("div", { children: [list.length ? (jsx("div", { className: "absolute w-full flex justify-between -bottom-[3px] px-m", children: list.map((_, i) => (jsx("div", { className: `w-2 h-2 rounded-full ${rangeValue <= i || disabled ? 'bg-gray' : 'bg-primary-main'}` }, String(i)))) })) : null, jsx("div", { className: "absolute inset-x-0 -bottom-1 px-m leading-[18px]", children: jsx("input", { className: "box-border w-full m-0 cursor-pointer slider relative z-10", style: inputStyle, type: "range", min: min, max: max, step: step, value: rangeValue, disabled: disabled, onInput: ((e) => {
962
962
  const rawValue = parseDecimal(e.target?.value);
963
963
  const newValue = list.length ? list[rawValue] : rawValue;
964
964
  onChange && onChange(newValue || 0);
@@ -977,14 +977,14 @@
977
977
  const handleChange = useCallback((e) => {
978
978
  onChange && onChange(parseDecimal(e.target?.value));
979
979
  }, [onChange]);
980
- 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)] }));
980
+ 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-m 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)] }));
981
981
  });
982
982
  const closestValue = (list) => (_) => list.reduce((prev, curr) => (Math.abs(curr - _) < Math.abs(prev - _) ? curr : prev));
983
- 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)))) }));
983
+ const renderRangeCaption = (items) => (jsx("div", { className: "flex justify-between my-xs", children: items.map((item, i) => (jsx(Text, { size: "text-s", font: "font-light", color: "text-secondary-text", children: item }, String(i)))) }));
984
984
 
985
- const renderCreditParameters = (field) => (jsxs("div", { className: "mb-4 pb-1 border-b border-b-main-divider sm:flex sm:justify-between sm:gap-5 sm:mb-7 sm:border-none sm:pb-0", children: [jsxs("div", { className: "mb-3 sm:mb-0 sm:w-1/2", children: [jsx("label", { children: jsx(Text, { size: "text-m", font: "font-light", children: "\u0421\u0443\u043C\u043C\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u0430, \u20BD" }) }), jsx(InputRange, { items: ITEMS_CREDIT_AMOUNT, min: MIN_CREDIT_AMOUNT, max: MAX_CREDIT_AMOUNT, ...field('amount') })] }), jsxs("div", { className: "sm:w-1/2", children: [jsx("label", { children: jsx(Text, { size: "text-m", font: "font-light", children: "\u0421\u0440\u043E\u043A \u043A\u0440\u0435\u0434\u0438\u0442\u0430, \u043C\u0435\u0441\u044F\u0446\u0435\u0432" }) }), jsx(InputRange, { items: ITEMS_CREDIT_TERM, min: MIN_CREDIT_TERM, max: MAX_CREDIT_TERM, ...field('term') })] })] }));
985
+ const renderCreditParameters = (field) => (jsxs("div", { className: "border-b border-b-main-divider sm:flex sm:justify-between gap-lg sm:border-none", children: [jsxs("div", { className: "sm:w-1/2", children: [jsx("label", { children: jsx(Text, { size: "text-m", font: "font-light", children: "\u0421\u0443\u043C\u043C\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u0430, \u20BD" }) }), jsx(InputRange, { items: ITEMS_CREDIT_AMOUNT, min: MIN_CREDIT_AMOUNT, max: MAX_CREDIT_AMOUNT, ...field('amount') })] }), jsxs("div", { className: "sm:w-1/2", children: [jsx("label", { children: jsx(Text, { size: "text-m", font: "font-light", children: "\u0421\u0440\u043E\u043A \u043A\u0440\u0435\u0434\u0438\u0442\u0430, \u043C\u0435\u0441\u044F\u0446\u0435\u0432" }) }), jsx(InputRange, { items: ITEMS_CREDIT_TERM, min: MIN_CREDIT_TERM, max: MAX_CREDIT_TERM, ...field('term') })] })] }));
986
986
 
987
- const renderRegionDepartment = ({ regions, branches, field }) => (jsxs("div", { className: "mb-4 sm:flex sm:justify-between sm:gap-5 sm:mb-7 sm:border-none sm:pb-0", children: [jsx("div", { className: "mb-3 sm:mb-0 sm:w-1/2", children: jsx(SelectControl, { label: "\u0420\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }) }), jsx("div", { className: "mb-3 sm:mb-0 sm:w-1/2", children: jsx(SelectControl, { label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441", options: branches.map(({ branchCode = '', address = '' }) => ({
987
+ const renderRegionDepartment = ({ regions, branches, field }) => (jsxs("div", { className: "sm:flex sm:justify-between sm:gap-m sm:mb-2xl sm:border-none sm:pb-0", children: [jsx("div", { className: "sm:w-1/2", children: jsx(SelectControl, { label: "\u0420\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }) }), jsx("div", { className: "sm:w-1/2", children: jsx(SelectControl, { label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441", options: branches.map(({ branchCode = '', address = '' }) => ({
988
988
  key: branchCode,
989
989
  text: address,
990
990
  })), ...withValidator(field('department'), defaultValidator) }) })] }));
@@ -1026,7 +1026,7 @@
1026
1026
  const [formState, { field, ...formProps }] = useForm(initialFormState$2, handleSubmit);
1027
1027
  const regions = useGetRegions();
1028
1028
  const branches = useBranches(formState.region?.key).filter((branch) => branch?.address);
1029
- return (jsxs("form", { className: "container", onSubmit: formProps.onSubmit, children: [jsx(Heading, { headingType: "h6", title: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u043A\u0440\u0435\u0434\u0438\u0442\u0430", className: "sm:text-center mb-4" }), renderCreditParameters(field), 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" }), renderCreditDataOrganization(field), jsx(Heading, { headingType: "h6", title: "\u041E\u0444\u0438\u0441 \u0431\u0430\u043D\u043A\u0430", className: "sm:text-center mb-4" }), renderRegionDepartment({ regions, branches, field }), renderSubmitButton(button, 'mb-4'), jsx(Footnote, { link: link })] }));
1029
+ return (jsxs("form", { className: "container space-y-m", onSubmit: formProps.onSubmit, children: [jsx(Heading, { headingType: "h6", title: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u043A\u0440\u0435\u0434\u0438\u0442\u0430", className: "sm:text-center" }), renderCreditParameters(field), 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" }), renderCreditDataOrganization(field), jsx(Heading, { headingType: "h6", title: "\u041E\u0444\u0438\u0441 \u0431\u0430\u043D\u043A\u0430", className: "sm:text-center" }), renderRegionDepartment({ regions, branches, field }), renderSubmitButton(button), jsx(Footnote, { link: link })] }));
1030
1030
  });
1031
1031
 
1032
1032
  const initialFormState$1 = {
@@ -1049,7 +1049,7 @@
1049
1049
  });
1050
1050
  }, [onSubmit]);
1051
1051
  const [, { field, ...formProps }] = useForm(initialFormState$1, handleSubmit);
1052
- return (jsxs("form", { className: "container", onSubmit: formProps.onSubmit, children: [jsx(Heading, { headingType: "h6", title: "\u041E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u0437\u0430\u044F\u0432\u043A\u0443 \u0438 \u043C\u044B \u043E\u0442\u0432\u0435\u0442\u0438\u043C \u043D\u0430 \u043B\u044E\u0431\u044B\u0435 \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u043F\u043E \u0434\u0435\u043F\u043E\u0437\u0438\u0442\u0430\u043C", className: "sm:text-center mb-4" }), jsxs("div", { className: "max-w-[560px] m-auto", children: [jsx(InputControl, { className: "shrink-0 w-full mb-3", label: "\u0418\u043C\u044F", ...withValidator(field('name'), nameValidator) }), jsx(PhoneInputControl, { className: "shrink-0 w-full mb-3", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }), jsxs("div", { className: "flex justify-between flex-col-reverse sm:items-center sm:flex-row max-w-[560px] m-auto", children: [jsx("div", { className: "flex-1 mt-4 sm:mt-0", children: jsx(Footnote, { link: link }) }), renderSubmitButton(button)] })] }));
1052
+ return (jsxs("form", { className: "container", onSubmit: formProps.onSubmit, children: [jsx(Heading, { headingType: "h6", title: "\u041E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u0437\u0430\u044F\u0432\u043A\u0443 \u0438 \u043C\u044B \u043E\u0442\u0432\u0435\u0442\u0438\u043C \u043D\u0430 \u043B\u044E\u0431\u044B\u0435 \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u043F\u043E \u0434\u0435\u043F\u043E\u0437\u0438\u0442\u0430\u043C", className: "sm:text-center mb-m" }), jsxs("div", { className: "max-w-[560px] m-auto space-y-s", children: [jsx(InputControl, { className: "shrink-0 w-full", label: "\u0418\u043C\u044F", ...withValidator(field('name'), nameValidator) }), jsx(PhoneInputControl, { className: "shrink-0 w-full", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }), jsxs("div", { className: "flex justify-between flex-col-reverse sm:items-center sm:flex-row max-w-[560px] m-auto", children: [jsx("div", { className: "flex-1", children: jsx(Footnote, { link: link }) }), renderSubmitButton(button)] })] }));
1053
1053
  });
1054
1054
 
1055
1055
  const EMPTY_VALUE$1 = {};
@@ -1067,7 +1067,7 @@
1067
1067
  version: button?.version,
1068
1068
  });
1069
1069
  const regionHref = regions?.find((_) => _.name === region.key)?.href;
1070
- return (jsxs("div", { className: "container space-y-s sm:space-y-lg", children: [regions ? (jsx(SelectControl, { label: "\u0412\u0430\u0448 \u0440\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", options: regions.map(({ name = '' }) => ({ key: name })), value: region, onChange: setRegion })) : null, regionHref ? (jsx("div", { className: "text-center", children: jsx(Button, { href: regionHref, target: "_blank", className: style('p-4 w-full sm:w-auto', buttonStyle), children: button?.text ? button.text : 'Перейти' }) })) : null] }));
1070
+ return (jsxs("div", { className: "container space-y-s sm:space-y-lg", children: [regions ? (jsx(SelectControl, { label: "\u0412\u0430\u0448 \u0440\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", options: regions.map(({ name = '' }) => ({ key: name })), value: region, onChange: setRegion })) : null, regionHref ? (jsx("div", { className: "text-center", children: jsx(Button, { href: regionHref, target: "_blank", className: style('p-m w-full sm:w-auto', buttonStyle), children: button?.text ? button.text : 'Перейти' }) })) : null] }));
1071
1071
  });
1072
1072
 
1073
1073
  const sourcesComparator = (a, b) => a?.media && b?.media ? a.media - b.media : 0;
@@ -1096,7 +1096,7 @@
1096
1096
  return image.icon ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: image?.iconVersion, name: image.icon, ...iconProps })) : (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image, pathPrefix: pathPrefix }));
1097
1097
  });
1098
1098
 
1099
- const renderContacts = () => (jsxs("div", { className: "flex", children: [jsxs("a", { className: "flex items-center text-primary-text no-underline mr-6", href: `tel:8 (800) 200-78-70`, "aria-label": "8 (800) 200-78-70", children: [jsx(Img, { image: { icon: 'PhoneIcon' }, width: "24", height: "24", className: "mr-3" }), jsx("span", { children: "8 (800) 200-78-70" })] }), jsxs("a", { className: "flex items-center text-primary-text no-underline", "aria-label": "ved@rshb.ru", href: `mailto:ved@rshb.ru`, children: [jsx(Img, { image: { icon: 'MailIcon' }, width: "24", height: "24", className: "mr-3" }), jsx("span", { children: "ved@rshb.ru" })] })] }));
1099
+ const renderContacts = () => (jsxs("div", { className: "flex gap-xl", children: [jsxs("a", { className: "flex gap-s items-center text-primary-text no-underline", href: `tel:8 (800) 200-78-70`, "aria-label": "8 (800) 200-78-70", children: [jsx(Img, { image: { icon: 'PhoneIcon' }, width: "24", height: "24" }), jsx("span", { children: "8 (800) 200-78-70" })] }), jsxs("a", { className: "flex gap-s items-center text-primary-text no-underline", "aria-label": "ved@rshb.ru", href: `mailto:ved@rshb.ru`, children: [jsx(Img, { image: { icon: 'MailIcon' }, width: "24", height: "24" }), jsx("span", { children: "ved@rshb.ru" })] })] }));
1100
1100
 
1101
1101
  const SVG = JSX(({ className, viewBox, fill = 'none', width, height, paths, ...commonOptions }) => {
1102
1102
  return (jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: className, viewBox: viewBox, fill: fill, width: width, height: height, children: paths.map(({ d, fill: pathFill, ...options }, i) => (jsx("path", { d: d, fill: pathFill || 'currentColor', ...commonOptions, ...options }, i))) }));
@@ -1119,13 +1119,13 @@
1119
1119
  onChange && onChange(!value);
1120
1120
  }, [onChange, disabled, value]);
1121
1121
  const icon = isRadio ? (jsx("div", { className: "absolute left-1 w-3 h-3 rounded-full bg-primary-main" })) : (jsx(SVG, { paths: CHECK_PATHS, className: "absolute left-1 ml-px block", width: "11", height: "9", fill: "white", viewBox: "0 0 11 9" }));
1122
- return (jsx("div", { className: className, children: jsxs("label", { className: "flex items-center relative cursor-pointer group/box", onClick: handleChange, children: [jsx("div", { className: style('appearance-none w-5 h-5 border-solid cursor-pointer m-0', isRadio ? 'rounded-full border-2' : checkboxStyle(value), value ? 'border-primary-main' : 'border-gray', disabled ? 'bg-main-disabled' : 'group-hover/box:border-primary-hover'), role: "checkbox", "aria-checked": Boolean(value), "aria-disabled": Boolean(disabled) }), value ? icon : null, text ? (jsx("div", { className: "ml-3", children: jsx(Text, { size: "text-l", font: "font-light", children: text }) })) : null] }) }));
1122
+ return (jsx("div", { className: className, children: jsxs("label", { className: "flex items-center relative cursor-pointer group/box", onClick: handleChange, children: [jsx("div", { className: style('appearance-none w-5 h-5 border-solid cursor-pointer m-0', isRadio ? 'rounded-full border-2' : checkboxStyle(value), value ? 'border-primary-main' : 'border-gray', disabled ? 'bg-main-disabled' : 'group-hover/box:border-primary-hover'), role: "checkbox", "aria-checked": Boolean(value), "aria-disabled": Boolean(disabled) }), value ? icon : null, text ? (jsx("div", { className: "ml-s", children: jsx(Text, { size: "text-l", font: "font-light", children: text }) })) : null] }) }));
1123
1123
  });
1124
1124
  const checkboxStyle = (value) => style('rounded border', value ? 'bg-primary-main' : '');
1125
1125
 
1126
1126
  const renderQuestionsInterested = (field) => {
1127
1127
  const textField = field('text');
1128
- 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 || '')) })] }));
1128
+ return (jsxs("div", { className: "space-y-m", children: [jsxs("div", { className: "sm:flex sm:items-center sm:gap-xl", children: [jsx(Checkbox, { text: "\u0412\u0430\u043B\u044E\u0442\u043D\u044B\u0439 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044C", ...field('currencyControl') }), jsx(Checkbox, { 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, { 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-m 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 || '')) })] }));
1129
1129
  };
1130
1130
 
1131
1131
  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) }) })] })] }));
@@ -1161,7 +1161,7 @@
1161
1161
  });
1162
1162
  }, [onSubmit]);
1163
1163
  const [, { field, ...formProps }] = useForm(initialFormState, handleSubmit);
1164
- 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()] }));
1164
+ return (jsxs("form", { className: "container space-y-m", 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" }), 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" }), renderQuestionsInterested(field), jsxs("div", { className: "flex flex-col gap-m border-b border-main-divider pb-lg sm:items-center sm:flex-row sm:pb-4xl", children: [renderSubmitButton(button), 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" }), renderContacts()] }));
1165
1165
  });
1166
1166
 
1167
1167
  const EmbeddableForms = {
@@ -1176,7 +1176,7 @@
1176
1176
  const ResponseNotification = JSX(({ responseType }) => {
1177
1177
  const responseOK = responseType === 'OK';
1178
1178
  const backgroundColor = responseOK ? 'bg-ok' : 'bg-fail';
1179
- 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 ? 'Совсем скоро мы с вами свяжемся' : 'Пожалуйста, повторите позднее' })] })] }));
1179
+ return (jsxs("div", { className: `flex items-center 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-2xs" }), jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: responseOK ? 'Совсем скоро мы с вами свяжемся' : 'Пожалуйста, повторите позднее' })] })] }));
1180
1180
  });
1181
1181
 
1182
1182
  const API = CorporateLeadAPI();
@@ -1193,7 +1193,7 @@
1193
1193
  setResponseType(status);
1194
1194
  return status;
1195
1195
  }, []);
1196
- return (jsx(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: jsxs("div", { className: "container max-w-[978px]", children: [formBlock?.title ? (jsx(Heading, { headingType: "h3", title: formBlock.title, className: "mb-4 sm:mb-8 sm:text-center" })) : null, formBlock ? renderEmbeddedForm(formBlock, handleSubmit) : null, responseType ? jsx(ResponseNotification, { responseType: responseType }) : null] }) }));
1196
+ return (jsx(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: jsxs("div", { className: "container max-w-[978px] space-y-lg", children: [formBlock?.title ? (jsx(Heading, { headingType: "h3", title: formBlock.title, className: "sm:text-center" })) : null, formBlock ? renderEmbeddedForm(formBlock, handleSubmit) : null, responseType ? jsx(ResponseNotification, { responseType: responseType }) : null] }) }));
1197
1197
  });
1198
1198
  const renderEmbeddedForm = (formBlock, handleSubmit) => {
1199
1199
  const type = formBlock?.formType;
@@ -1282,7 +1282,7 @@
1282
1282
  descriptionStyle: 'mt-xs',
1283
1283
  },
1284
1284
  };
1285
- // TODO Move to Gallery and rename
1285
+ // TODO: Move to Gallery and rename
1286
1286
  const HEADLINE_SMALL_VERSION = {
1287
1287
  H6: 'text-h6',
1288
1288
  XL_L: 'text-xl-light',
@@ -1294,21 +1294,23 @@
1294
1294
  XS: 'text-xs-light',
1295
1295
  };
1296
1296
 
1297
- const Headline = JSX(({ className, version = '', headlineVersion = 'XL', title, description, align = 'text-center', as, isPadding = true, isTheme = false, ...rest }) => {
1297
+ const Headline = JSX(({ className, version = '', headlineVersion = 'XL', title, description, align = 'text-center', as, isEmbedded = false, isTheme = false, ...rest }) => {
1298
1298
  const versionStyle = headlineVersionStyles[headlineVersion];
1299
1299
  const descriptionStyle = { marginTop: versionStyle.descriptionStyle };
1300
- 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] }));
1300
+ return (jsxs(BlockWrapper, { className: style(isEmbedded ? '@container-normal' : '', className), defaultPadding: isEmbedded ? '' : '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] }));
1301
1301
  });
1302
1302
 
1303
- const Bonus = JSX(({ className = '', title, description, bonusItems = [], ...rest }) => (jsx(BlockWrapper, { className: className, defaultPadding: "p-default", ...rest, children: jsxs("div", { className: "container", children: [jsx(Headline, { className: "mb-xl", isPadding: false, title: title, description: description, headlineVersion: "M" }), jsx("div", { className: "flex flex-wrap w-full", children: bonusItems.length > 0
1304
- ? bonusItems.map((_, i) => (jsxs("div", { className: "flex-grow w-full sm:w-[49%] border border-gray p-m mb-text mx-xs even:mr-0 odd:ml-0 last:odd:mx-0", children: [_?.title ? (jsx("div", { className: "mb-xs last:mb-0", children: jsx(Text, { size: "text-h4", children: _.title }) })) : null, _?.description ? (jsx("div", { className: "mb-text last:mb-0", children: jsx(Paragraph, { size: "text-xl", font: "font-light", children: _.description }) })) : null, jsxs("div", { className: "flex justify-between items-end", children: [jsx("div", { className: "hidden sm:block", children: renderButtonsSection(_?.buttons) }), _.bonusItemContent?.bonusType
1303
+ const Bonus = JSX(({ className = '', title, description, bonusItems = [], ...rest }) => (jsx(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: jsxs("div", { className: "container", children: [jsx(Headline, { className: "mb-xl", isEmbedded: true, title: title, description: description, headlineVersion: "M" }), jsx("div", { className: "flex flex-wrap w-full", children: bonusItems.length > 0
1304
+ ? bonusItems.map((_, i) => (jsxs("div", { className: "space-y-xs flex flex-col grow w-full sm:w-[49%] border border-gray p-m", children: [jsxs("div", { className: "grow", children: [_?.title ? (jsx("div", { className: "mb-xs last:mb-0", children: jsx(Text, { size: "text-h4", children: _.title }) })) : null, _?.description ? (jsx("div", { className: "mb-text last:mb-0", children: jsx(Paragraph, { size: "text-xl", font: "font-light", children: _.description }) })) : null] }), jsxs("div", { className: "flex justify-center sm:justify-between sm:items-end", children: [jsx("div", { className: "hidden sm:block", children: renderButtonsSection(_?.buttons) }), _.bonusItemContent?.bonusType
1305
1305
  ? renderBonusItemContent(_.bonusItemContent)
1306
1306
  : null] })] }, String(i))))
1307
1307
  : null })] }) })));
1308
1308
  const renderBonusItemContent = (bonusItemContent) => bonusItemContent.bonusType === 'count'
1309
1309
  ? renderBonusCount(bonusItemContent)
1310
1310
  : renderBonusImage(bonusItemContent);
1311
- const renderBonusCount = (_) => (jsxs("div", { className: "w-full pt-default mt-s flex items-end", children: [_.bonusCount ? (jsx("span", { className: "shrink-0 w-1/2 sm:w-auto font-mohave text-title-extra -tracking-[5px] bg-clip-text text-transparent bg-green-to-yellow mt-lg", children: _.bonusCount })) : null, _.bonusName ? (jsx("div", { className: "w-1/2 sm:w-auto bg-clip-text text-transparent bg-green-to-yellow", children: jsx(Text, { size: "text-h2", children: _.bonusName }) })) : null] }));
1311
+ const renderBonusCount = (_) => (jsxs("div", { className: "w-full pt-default mt-s flex justify-center sm:justify-end items-end", children: [_.bonusCount ? (
1312
+ // -mb-10 добавлен для выравнивания bonusCount относительно bonusName, тк шрифт font-mohave неправильно высчитывает line-height
1313
+ jsx("div", { className: "shrink-0 -mb-10", children: jsx("span", { className: "font-mohave text-title-extra gradient-color-text", children: _.bonusCount }) })) : null, _.bonusName ? (jsx("div", { className: "shrink-0 gradient-color-text", children: jsx(Text, { size: "text-h2", children: _.bonusName }) })) : null] }));
1312
1314
  const renderBonusImage = (_) => _.image ? jsx(Img, { className: "min-w-12 p-xs rounded-icon shrink-0", image: _.image }) : null;
1313
1315
 
1314
1316
  /**
@@ -1326,7 +1328,7 @@
1326
1328
 
1327
1329
  const renderBonusBenefit = ({ icon, title, description }, i) => (jsxs("div", { className: style('flex flex-col', bonusBenefitStyles, !description && !title ? 'justify-center' : ''), children: [title ? (jsx(Text, { size: "text-h6", font: "font-normal", align: bonusBenefitAlign, children: title })) : null, icon ? jsx(Img, { image: icon, height: "180", className: "w-auto" }) : null, description ? (jsx(Text, { size: "text-h6", font: "font-normal", align: bonusBenefitAlign, children: description })) : null] }, String(i)));
1328
1330
 
1329
- const renderBonusBenefits = (bonusBenefits, columnsCount, cardTextAlign) => (jsx("div", { className: `grid gap-1 ${AlignText[cardTextAlign]} ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) }));
1331
+ const renderBonusBenefits = (bonusBenefits, columnsCount, cardTextAlign) => (jsx("div", { className: `grid gap-2xs ${AlignText[cardTextAlign]} ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) }));
1330
1332
  const getElementsColsValue = (colValue) => {
1331
1333
  switch (colValue) {
1332
1334
  case '3':
@@ -1340,7 +1342,7 @@
1340
1342
  }
1341
1343
  };
1342
1344
 
1343
- 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
1345
+ 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-4xl sm:mb-3xl", title: title, description: subtitle, headlineVersion: "M" }), bonusBenefits?.length
1344
1346
  ? renderBonusBenefits(bonusBenefits, columnsCount, cardTextAlign)
1345
1347
  : null] })));
1346
1348
 
@@ -1350,10 +1352,10 @@
1350
1352
  });
1351
1353
  const renderItem = (item, key) => {
1352
1354
  const { icon, text } = item;
1353
- 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));
1355
+ return (jsxs("li", { className: "flex items-center gap-s", 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));
1354
1356
  };
1355
1357
 
1356
- 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 })] })));
1358
+ 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-lg", children: cards?.length ? cards.map((_, i) => jsx(BusinessCard, { ..._ }, String(i))) : null })] })));
1357
1359
 
1358
1360
  const ButtonsBlock = JSX(({ buttons, className, ...rest }) => (jsx(BlockWrapper, { className: style('!bg-transparent', className), defaultPadding: "p-0", ...rest, children: renderButtonsSection(buttons) })));
1359
1361
 
@@ -1390,7 +1392,7 @@
1390
1392
  return isVisible ? (jsxs("div", { children: [canDec ? (jsx(ArrowButton, { className: `absolute z-40 ${btnClass[0]} ${className}`, onClick: dec, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E", "data-block-control": "scroll-left", disabled: !canDec })) : null, canInc ? (jsx(ArrowButton, { className: `absolute z-40 rotate-180 ${btnClass[1]} ${className}`, onClick: inc, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E", "data-block-control": "scroll-right", disabled: !canInc })) : null] })) : null;
1391
1393
  }
1392
1394
 
1393
- const calculatorValueBlockStyle = 'flex justify-between md:mb-7 md:flex-col';
1395
+ const calculatorValueBlockStyle = 'flex justify-between md:flex-col';
1394
1396
  const CalculatorValueBlock = JSX(({ title, value, postfix = '', prefix, className = '' }) => (jsxs("div", { className: style(calculatorValueBlockStyle, className), children: [title ? (jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: title })) : null, value ? (jsx("div", { children: jsxs(Text, { size: "text-h3", children: [prefix, " ", toLocalNumberFormat(2)(Math.round(value)), " ", postfix] }) })) : (jsx("div", { children: jsx(Text, { size: "text-h3", children: "-" }) }))] })));
1395
1397
 
1396
1398
  const DEFAULT_MIN_SUM$1 = 10000;
@@ -1484,7 +1486,7 @@
1484
1486
  const BUSINESS_DEPOSIT_CALC_DEFAULT_DIR = 'business-calculator-data';
1485
1487
  const REFINANCING_CALC_DEFAULT_DIR = 'refinancing-calculator-data';
1486
1488
 
1487
- 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] })] })));
1489
+ 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-xl -mt-m', 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] })] })));
1488
1490
 
1489
1491
  const renderFootnote = (text) => text ? (jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: text })) : null;
1490
1492
 
@@ -1533,7 +1535,7 @@
1533
1535
  restExpenseValue: DEFAULT_REST_MIN_SUM,
1534
1536
  });
1535
1537
  const { minSumTravel, maxSumTravel, minSumOther, maxSumOther, monthBonus, yearBonus } = useBonusCalculatorParams(userInputParams, sourceBookDir);
1536
- return (jsxs("section", { className: style('flex justify-between', className), children: [jsxs("div", { className: "w-2/5", children: [renderWantedSumInput({
1538
+ return (jsxs("section", { className: style('flex flex-col justify-between sm:flex-row gap-m', className), children: [jsxs("div", { className: "flex flex-col gap-y-m sm:w-2/5 gap-2xl", children: [renderWantedSumInput({
1537
1539
  title: 'Сумма покупок в категории путешествия, ₽',
1538
1540
  min: minSumTravel,
1539
1541
  max: maxSumTravel,
@@ -1542,13 +1544,12 @@
1542
1544
  ...field('travelExpenseValue'),
1543
1545
  }), renderWantedSumInput({
1544
1546
  title: 'Сумма покупок в остальных категориях, ₽',
1545
- className: 'mt-7',
1546
1547
  min: minSumOther,
1547
1548
  max: maxSumOther,
1548
1549
  step: 500,
1549
1550
  isShowItems: false,
1550
1551
  ...field('restExpenseValue'),
1551
- })] }), 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)] })] }));
1552
+ })] }), 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: "flex flex-col gap-2xl sm:w-96", children: [yearBonus >= 0 ? jsx(CalculatorValueBlock, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u0433\u043E\u0434", value: yearBonus }) : null, renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote)] })] }));
1552
1553
  });
1553
1554
 
1554
1555
  const defaultDiscriminator = (_) => _;
@@ -1646,12 +1647,12 @@
1646
1647
  const daysText = (days) => `${days} ${Number(days) % 10 === 1 ? 'дня' : 'дней'}`;
1647
1648
 
1648
1649
  const orientationStyleMap = {
1649
- horizontal: 'gap-10',
1650
- vertical: 'flex-col gap-3',
1650
+ horizontal: 'gap-5xl',
1651
+ vertical: 'flex-col gap-s',
1651
1652
  };
1652
1653
  const RadioButtonGroup = JSX(({ items, checkedItem, className, onChange: onChangeCheckedItem, orientation = 'horizontal', }) => (jsx("div", { className: style(`flex ${orientationStyleMap[orientation]}`, className), children: items?.map(({ id, text }) => (jsx(Checkbox, { isRadio: true, text: text, value: checkedItem === id, onChange: () => onChangeCheckedItem && onChangeCheckedItem(id) }, String(id)))) })));
1653
1654
 
1654
- const renderBinaryRadioButtonGroup = ({ items, title, orientation = 'horizontal', value, radioGroupClassName, onChange, }) => (jsxs("div", { children: [title ? (jsx("div", { className: "mb-3", children: jsx(Text, { color: "text-secondary-text", font: "font-light", children: title }) })) : null, jsx(RadioButtonGroup, { orientation: orientation, items: items, checkedItem: items[value ? 0 : 1].id, className: style('flex-col sm:flex-row', radioGroupClassName), onChange: (_) => onChange && onChange(_ === items[0].id) })] }));
1655
+ const renderBinaryRadioButtonGroup = ({ items, title, orientation = 'horizontal', value, radioGroupClassName, onChange, }) => (jsxs("div", { className: "space-y-s", children: [title ? (jsx("div", { children: jsx(Text, { color: "text-secondary-text", font: "font-light", children: title }) })) : null, jsx(RadioButtonGroup, { orientation: orientation, items: items, checkedItem: items[value ? 0 : 1].id, className: style('flex-col sm:flex-row', radioGroupClassName), onChange: (_) => onChange && onChange(_ === items[0].id) })] }));
1655
1656
 
1656
1657
  const renderInterestPayment = (props) => renderBinaryRadioButtonGroup({
1657
1658
  ...props,
@@ -1683,29 +1684,29 @@
1683
1684
  });
1684
1685
  const calculatorParams = useBusinessDepositCalculatorParams(userInputParams, sourceBookDir);
1685
1686
  const { income, finalSum, rate, isShowUnknownRate, depositeName } = calculatorParams;
1686
- return (jsxs("section", { className: className, children: [jsxs("div", { className: "flex flex-col justify-between sm:flex-row", children: [jsxs("div", { className: "flex flex-col gap-y-m sm:w-2/5 sm:gap-y-lg", children: [renderWantedSumInput({
1687
- title: 'Сумма, ₽',
1688
- min: calculatorParams.minSum,
1689
- max: calculatorParams.maxSum,
1690
- ...field('moneyValue'),
1691
- value: calculatorParams.moneyValue,
1692
- }), renderDaysInput({
1693
- title: 'Срок, дней',
1694
- min: calculatorParams.minDays,
1695
- max: calculatorParams.maxDays,
1696
- ...field('daysValue'),
1697
- value: calculatorParams.daysValue,
1698
- }), jsxs("div", { className: "flex flex-col gap-xl justify-between sm:flex-row sm:gap-0", children: [renderBusinessDepositParamsForm(calculatorParams, field), renderInterestPayment({
1699
- title: 'Выплата процентов',
1700
- orientation: 'vertical',
1701
- ...field('isMonthlyInterestPayment'),
1702
- radioGroupClassName: 'sm:flex-col',
1703
- })] })] }), jsx("div", { className: "border-b border-main-divider my-xl sm:hidden" }), renderRate({
1704
- rate,
1705
- depositeName,
1706
- isShowDepositeName,
1707
- isShowUnknownRate,
1708
- }), jsxs("div", { className: "flex flex-col gap-y-xl mt-3xl sm:gap-0 sm:w-96 sm:mt-0", children: [renderDepositResults(finalSum, income), renderButtonsSection(buttons, { isVertical: true }), jsx("div", { className: "sm:mt-2xl", children: renderFootnote(footnote) })] })] }), jsx("div", { className: "mt-lg", children: renderFootnote(bottomFootnote) })] }));
1687
+ return (jsxs("section", { className: style('flex flex-col justify-between sm:flex-row gap-m', className), children: [jsxs("div", { className: "flex flex-col gap-y-m sm:w-2/5 gap-2xl", children: [renderWantedSumInput({
1688
+ title: 'Сумма, ₽',
1689
+ min: calculatorParams.minSum,
1690
+ max: calculatorParams.maxSum,
1691
+ ...field('moneyValue'),
1692
+ value: calculatorParams.moneyValue,
1693
+ }), renderDaysInput({
1694
+ title: 'Срок, дней',
1695
+ min: calculatorParams.minDays,
1696
+ max: calculatorParams.maxDays,
1697
+ ...field('daysValue'),
1698
+ value: calculatorParams.daysValue,
1699
+ }), renderBusinessDepositParamsForm(calculatorParams, field), renderInterestPayment({
1700
+ title: 'Выплата процентов',
1701
+ orientation: 'vertical',
1702
+ ...field('isMonthlyInterestPayment'),
1703
+ radioGroupClassName: 'sm:flex-col',
1704
+ })] }), jsx("div", { className: "border-b border-main-divider md:hidden" }), renderRate({
1705
+ rate,
1706
+ depositeName,
1707
+ isShowDepositeName,
1708
+ isShowUnknownRate,
1709
+ }), jsxs("div", { className: "flex flex-col gap-2xl sm:w-96", children: [renderDepositResults(finalSum, income), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote), renderFootnote(bottomFootnote)] })] }));
1709
1710
  });
1710
1711
  const renderBusinessDepositParamsForm = (calculatorParams, field) => (jsxs("div", { className: "flex flex-col gap-y-xl sm:gap-y-s", children: [jsx(Checkbox, { text: "\u041F\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435", disabled: calculatorParams.isDisabledOperatingDeposit, ...field('isReplenished'), value: calculatorParams.isReplenished }), jsx(Checkbox, { 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, { text: "\u0418\u041F / \u043C\u0430\u043B\u043E\u0435 \u043F\u0440\u0435\u0434\u043F\u0440\u0438\u044F\u0442\u0438\u0435", ...field('isSmallBusiness'), value: calculatorParams.isSmallBusiness })] }));
1711
1712
  const renderDepositResults = (finalSum, income) => (jsxs("div", { className: "flex flex-col gap-2xl sm:gap-0", children: [jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", 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" })] }));
@@ -1837,7 +1838,7 @@
1837
1838
  orientation: 'vertical',
1838
1839
  ...field('isAnnuity'),
1839
1840
  });
1840
- return (jsxs("section", { className: style('flex flex-col justify-between sm:flex-row', className), children: [jsxs("div", { className: "flex flex-col gap-y-m sm:w-2/5 sm:gap-y-lg", children: [renderWantedSumInput({
1841
+ return (jsxs("section", { className: style('flex flex-col justify-between sm:flex-row gap-m', className), children: [jsxs("div", { className: "flex flex-col gap-y-m sm:w-2/5 gap-2xl", children: [renderWantedSumInput({
1841
1842
  title: 'Сумма кредита, ₽',
1842
1843
  step: 500,
1843
1844
  min: calculatorParams.minSum,
@@ -1850,11 +1851,11 @@
1850
1851
  max: calculatorParams.maxMonths,
1851
1852
  ...field('monthsValue'),
1852
1853
  value: calculatorParams.monthsValue,
1853
- }), renderCreditParamsForm$1({ ...calculatorParams, ...paramsViewSettings }, field), jsx("div", { className: "mt-s sm:hidden", children: paymentTypeElement })] }), jsx("div", { className: "border-b border-main-divider mt-xl mb-3xl sm:hidden" }), renderRate({
1854
+ }), renderCreditParamsForm$1({ ...calculatorParams, ...paramsViewSettings }, field), jsx("div", { className: "sm:hidden", children: paymentTypeElement })] }), jsx("div", { className: "border-b border-main-divider md:hidden" }), renderRate({
1854
1855
  rate: calculatorParams.rate,
1855
- }), jsxs("div", { className: "mt-6xl flex flex-col gap-lg sm:w-96 sm:mt-0 sm:gap-0", children: [jsx(CalculatorValueBlock, { title: "\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u044B\u0439 \u043F\u043B\u0430\u0442\u0435\u0436", value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), jsx("div", { className: "hidden sm:block", children: paymentTypeElement }), renderButtonsSection(buttons, { className: 'mt-2xl', isVertical: true }), renderFootnote(footnote)] })] }));
1856
+ }), jsxs("div", { className: "flex flex-col gap-2xl sm:w-96", children: [jsx(CalculatorValueBlock, { title: "\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u044B\u0439 \u043F\u043B\u0430\u0442\u0435\u0436", value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), jsx("div", { className: "hidden sm:block", children: paymentTypeElement }), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote)] })] }));
1856
1857
  });
1857
- const renderCreditParamsForm$1 = (params, field) => (jsxs("div", { className: "gap-xl flex flex-col sm:gap-s", children: [params.isShowSalaryClient ? (jsx(Checkbox, { text: `Получаю зарплату на счёт\nв Россельхозбанке`, ...field('isSalaryClient'), value: params.isSalaryClient, className: "whitespace-pre-line sm:whitespace-normal" })) : null, params.isShowStateEmployee ? (jsx(Checkbox, { 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, { 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, { 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] }));
1858
+ const renderCreditParamsForm$1 = (params, field) => (jsxs("div", { className: "flex flex-col gap-y-2xl", children: [params.isShowSalaryClient ? (jsx(Checkbox, { text: `Получаю зарплату на счёт\nв Россельхозбанке`, ...field('isSalaryClient'), value: params.isSalaryClient, className: "whitespace-pre-line sm:whitespace-normal" })) : null, params.isShowStateEmployee ? (jsx(Checkbox, { 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, { 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, { 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] }));
1858
1859
 
1859
1860
  const arrayByRange = (start, stop, step = 1) => Array.from({ length: Math.abs(stop - start) / step + 1 }, (value, index) => stop >= start ? start + index * step : start - index * step);
1860
1861
 
@@ -1931,7 +1932,7 @@
1931
1932
  useEffect(() => {
1932
1933
  setMonthsValue && setMonthsValue(defaultMonth);
1933
1934
  }, [defaultMonth]);
1934
- return (jsxs("section", { className: style('flex flex-col justify-between sm:flex-row', className), children: [jsxs("div", { className: "flex flex-col gap-lg sm:w-2/5", children: [renderWantedSumInput({
1935
+ return (jsxs("section", { className: style('flex flex-col justify-between sm:flex-row gap-m', className), children: [jsxs("div", { className: "flex flex-col gap-y-m sm:w-2/5 gap-2xl", children: [renderWantedSumInput({
1935
1936
  title: 'Сумма, ₽',
1936
1937
  min: calculatorParams.minSum,
1937
1938
  max: calculatorParams.maxSum,
@@ -1944,9 +1945,9 @@
1944
1945
  availableMonths: calculatorParams.availableMonths,
1945
1946
  ...field('monthsValue'),
1946
1947
  value: calculatorParams.monthsValue,
1947
- }), jsx("div", { className: "flex flex-col gap-y-2xl", children: renderDepositParamsForm({ ...calculatorParams, ...paramsViewSettings }, field) })] }), jsx("div", { className: "border-b border-main-divider mt-lg mb-2xl md:hidden" }), renderRate({
1948
+ }), renderDepositParamsForm({ ...calculatorParams, ...paramsViewSettings }, field)] }), jsx("div", { className: "border-b border-main-divider md:hidden" }), renderRate({
1948
1949
  rate,
1949
- }), jsxs("div", { className: "mt-2xl flex flex-col gap-y-2xl sm:w-96 sm:gap-y-0 sm:mt-0", children: [jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", 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, { isVertical: true }), renderFootnote(footnote)] })] }));
1950
+ }), jsxs("div", { className: "flex flex-col gap-2xl sm:w-96", children: [jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", 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, { isVertical: true }), renderFootnote(footnote)] })] }));
1950
1951
  });
1951
1952
  const renderDepositParamsForm = (params, field) => (jsxs("div", { className: "flex flex-col gap-y-2xl", children: [params.isShowMonthlyInterestPayment
1952
1953
  ? renderInterestPayment({
@@ -2056,7 +2057,7 @@
2056
2057
  moneyExtra: REFINANCING_OLD_DEFAULT_SUM,
2057
2058
  });
2058
2059
  const calculatorParams = useRefinancingCalculatorParams(userInputParams, sourceBookDir, paramsViewSettings);
2059
- return (jsxs("section", { className: style('flex justify-between', className), children: [jsxs("div", { className: "w-2/5", children: [renderWantedSumInput({
2060
+ return (jsxs("section", { className: style('flex flex-col justify-between sm:flex-row gap-m', className), children: [jsxs("div", { className: "flex flex-col gap-y-m sm:w-2/5 gap-2xl", children: [renderWantedSumInput({
2060
2061
  title: 'Остаток долга в других банках, ₽ ',
2061
2062
  step: 500,
2062
2063
  min: calculatorParams.minSum,
@@ -2077,8 +2078,7 @@
2077
2078
  max: calculatorParams.maxMonths,
2078
2079
  ...field('monthsValue'),
2079
2080
  value: calculatorParams.monthsValue,
2080
- className: 'mt-2xl',
2081
- }), jsx("div", { className: style('mt-7', calculatorParams.isExtraMoney ? 'mb-3' : ''), children: renderCreditParamsForm({ ...calculatorParams, ...paramsViewSettings }, field) }), calculatorParams.isExtraMoney
2081
+ }), renderCreditParamsForm({ ...calculatorParams, ...paramsViewSettings }, field), calculatorParams.isExtraMoney
2082
2082
  ? renderWantedSumInput({
2083
2083
  title: 'Дополнительная сумма, ₽ ',
2084
2084
  step: 500,
@@ -2087,9 +2087,9 @@
2087
2087
  ...field('moneyExtra'),
2088
2088
  value: calculatorParams.moneyExtra,
2089
2089
  })
2090
- : 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)] })] }));
2090
+ : null] }), jsx(Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.rate, fractionDigits: 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "flex flex-col gap-2xl sm: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, { isVertical: true }), renderFootnote(footnote)] })] }));
2091
2091
  });
2092
- 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] }));
2092
+ const renderCreditParamsForm = (params, field) => (jsxs("div", { className: "space-y-s", 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, { 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, { 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] }));
2093
2093
 
2094
2094
  const EmbeddableCalcBlocks = {
2095
2095
  CreditCalculatorForm,
@@ -2105,7 +2105,7 @@
2105
2105
  return null;
2106
2106
  }
2107
2107
  const EmbeddedBlock = EmbeddableCalcBlocks[type];
2108
- return (jsx("section", { className: "box-border relative bg-white flex shrink-0 self-start basis-full", role: "listitem", children: jsxs("div", { className: "box-border p-9 w-full", children: [block?.title ? jsx(Heading, { className: "text-center mb-6", title: block.title }) : null, jsx(EmbeddedBlock, { ...block })] }) }, String(i)));
2108
+ return (jsx("section", { className: "box-border relative bg-white flex shrink-0 self-start basis-full", role: "listitem", children: jsxs("div", { className: "box-border p-4xl w-full space-y-xl", children: [block?.title ? jsx(Heading, { className: "text-center", title: block.title }) : null, jsx(EmbeddedBlock, { ...block })] }) }, String(i)));
2109
2109
  };
2110
2110
 
2111
2111
  const Calculator = JSX(({ className = '', calculatorTabs = [], ...rest }) => {
@@ -2123,13 +2123,13 @@
2123
2123
  : null, renderArrows({
2124
2124
  ...controls,
2125
2125
  btnClass: ['left-3', 'right-3'],
2126
- className: 'top-8',
2126
+ className: 'top-10',
2127
2127
  })] }), jsx("div", { className: "flex", style: { transform: `translateX(-${slideIndexShift}00%)` }, role: "list", children: calculatorBlocks?.length ? calculatorBlocks.map(renderCalculatorBlock) : null })] }));
2128
2128
  });
2129
2129
  function renderNavButton$3({ tab, i, isActive, onClick }) {
2130
2130
  const btnClassName = isActive
2131
- ? 'h-20 w-96 p-xl border-none bg-primary-main text-white'
2132
- : `h-20 w-96 px-lg ease-in duration-300 bg-white text-primary-text`;
2131
+ ? 'w-96 p-m border-none bg-primary-main text-white'
2132
+ : `w-96 p-s ease-in duration-300 bg-white text-primary-text`;
2133
2133
  const btnTitleClassName = isActive ? 'text-xl mb-xs' : `text-l mb-2xs`;
2134
2134
  const btnDescClassName = isActive
2135
2135
  ? 'text-l font-light text-white'
@@ -2137,7 +2137,7 @@
2137
2137
  const iconClassName = isActive ? '' : `text-primary-main`;
2138
2138
  const iconVersion = tab?.icon?.iconVersion;
2139
2139
  const activeIconStyle = isActive ? 'white' : 'normal';
2140
- 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: {
2140
+ 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 space-x-m min-h-20', btnClassName), children: [jsx(Img, { className: style('h-6 w-6 min-w-6 min-h-6', iconClassName), image: {
2141
2141
  ...tab?.icon,
2142
2142
  iconVersion: iconVersion ?? activeIconStyle,
2143
2143
  }, 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)));
@@ -2170,69 +2170,24 @@
2170
2170
  const DEFAULT_TITLE = 'Укажите сумму перевода';
2171
2171
  const DEFAULT_LABEL = 'Сумма перевода';
2172
2172
  const DEFAULT_PLACEHOLDER = '1500';
2173
- const FORM_URL = 'https://www.rshb.ru/p2p/';
2174
- const AMOUNT_KEY = 'amount';
2173
+ const FORM_URL_MAP = {
2174
+ private: 'https://old.rshb.ru/p2p/',
2175
+ business: 'https://old.rshb.ru/smallbusiness/p2p/',
2176
+ };
2175
2177
  const INITIAL_FORM_STATE = {
2176
- [AMOUNT_KEY]: 1500,
2178
+ amount: 1500,
2179
+ _amount: 1500,
2177
2180
  };
2178
- const CardTransfer = JSX(({ className = '', title = DEFAULT_TITLE, label = DEFAULT_LABEL, placeholder = DEFAULT_PLACEHOLDER, button, ...rest }) => {
2179
- const [{ amount }, { field }] = useForm(INITIAL_FORM_STATE);
2181
+ const CardTransfer = JSX(({ className = '', title = DEFAULT_TITLE, label = DEFAULT_LABEL, placeholder = DEFAULT_PLACEHOLDER, button, formType = 'private', ...rest }) => {
2182
+ const [{ amount, _amount }, { field }] = useForm(INITIAL_FORM_STATE);
2180
2183
  const isDisabled = amount <= 0;
2181
2184
  const buttonStyle = isDisabled
2182
2185
  ? getDisabledButtonClasses({ version: button?.version })
2183
2186
  : getRegularButtonClasses({ className: 'text-white', version: button?.version });
2184
2187
  const link = useLink();
2185
- 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] })] }));
2188
+ return (jsxs(BlockWrapper, { className: style('flex flex-col items-center', className), defaultPadding: "p-6xl", ...rest, children: [title ? (jsx(Heading, { className: "pb-lg xl:pb-4xl self-start xl:self-center", headingType: "h2", title: title })) : null, jsxs("form", { className: "w-full xl:max-w-[468px]", method: "POST", action: FORM_URL_MAP[formType], children: [jsx(CurrencyInput, { name: "_amount", valid: !isDisabled, placeholder: placeholder, label: label, ...field('_amount', { parse: Number, format: String }) }), jsx("input", { type: "hidden", name: "amount", value: _amount }), button?.text ? (jsx("button", { type: "submit", className: style('w-full p-m mt-lg', buttonStyle), disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
2186
2189
  });
2187
2190
 
2188
- const defaultBlockDecorator = ({ blockClassName, block, render }) => render({ blockClassName, block });
2189
-
2190
- const DEFAULT_ANCESTORS = [];
2191
- const defaultStyle = 'col-span-12';
2192
- function renderBlock$1(block, options, { className, ...extraProps } = {}) {
2193
- const { key, blockDecorator = defaultBlockDecorator, blocksRegistry = {}, ancestors = DEFAULT_ANCESTORS, } = options;
2194
- const { type } = block;
2195
- if (!(type && type in blocksRegistry)) {
2196
- console.warn(`No block with "${type}" is registered`);
2197
- }
2198
- const BlockComponent = type && blocksRegistry[type];
2199
- return blockDecorator({
2200
- blockClassName: style(block.style?.length ? block.style : defaultStyle, className),
2201
- block,
2202
- ancestors,
2203
- // Adjusted by decorator block and blockClassName
2204
- render: ({ block: adjustedBlock, blockClassName: adjustedBlockClassName }) => {
2205
- const { content } = adjustedBlock;
2206
- return BlockComponent ? (jsx(BlockComponent, { className: adjustedBlockClassName, block: block, options: options, ...content, ...extraProps }, key)) : null;
2207
- },
2208
- }, key);
2209
- }
2210
-
2211
- const DEFAULT_SLOT_NAME = null;
2212
-
2213
- const EMPTY_ANCESTORS = [];
2214
- const renderBlocksList = (blocks, { key, ancestors = EMPTY_ANCESTORS, slotName = DEFAULT_SLOT_NAME, extraProps, renderProps = renderBlock$1, ...options }) => {
2215
- const renderChildBlock = extraProps
2216
- ? (childBlock, childOptions) => renderBlock$1(childBlock, childOptions, extraProps)
2217
- : renderProps;
2218
- return (blocks || []).map((_, i) => renderChildBlock(_, {
2219
- ...options,
2220
- key: `${key ? key : _.type}-${i}`,
2221
- ancestors: options.parent
2222
- ? [...(ancestors || EMPTY_ANCESTORS), [options.parent, slotName]]
2223
- : ancestors,
2224
- }, i));
2225
- };
2226
-
2227
- function renderChildren({ block, options, children, extraProps, renderProps, }) {
2228
- if (children) {
2229
- return children;
2230
- }
2231
- return block && options
2232
- ? renderBlocksList(block.blocks, { ...options, parent: block, extraProps, renderProps })
2233
- : null;
2234
- }
2235
-
2236
2191
  const mapChildren = (mapper) => (children) => {
2237
2192
  if (children === null || children === undefined) {
2238
2193
  return children;
@@ -2297,7 +2252,7 @@
2297
2252
  .map(([, i]) => i);
2298
2253
 
2299
2254
  const containerStyles = {
2300
- 'horizontal-list': 'mx-auto mt-5 w-fit',
2255
+ 'horizontal-list': 'mx-auto mt-lg w-fit',
2301
2256
  'vertical-list': 'absolute flex-col justify-center h-full top-0 left-4',
2302
2257
  };
2303
2258
  const activeDotStyles = {
@@ -2315,7 +2270,7 @@
2315
2270
  });
2316
2271
  }
2317
2272
  };
2318
- return dotCount ? (jsx("div", { className: style('flex gap-2', containerStyles[listType], version ? 'group' : ''), ...(version ? { 'data-ver': version } : {}), children: new Array(dotCount).fill(null).map((_, idx) => (jsx("div", { className: `${dotStyle} ${idx === activeIndex ? activeDotStyles[listType] : inactiveDotStyle}`, role: "button", "aria-hidden": true, onClick: () => handleClick(idx) }, String(idx)))) })) : null;
2273
+ return dotCount ? (jsx("div", { className: style('flex gap-xs', containerStyles[listType], version ? 'group' : ''), ...(version ? { 'data-ver': version } : {}), children: new Array(dotCount).fill(null).map((_, idx) => (jsx("div", { className: `${dotStyle} ${idx === activeIndex ? activeDotStyles[listType] : inactiveDotStyle}`, role: "button", "aria-hidden": true, onClick: () => handleClick(idx) }, String(idx)))) })) : null;
2319
2274
  });
2320
2275
 
2321
2276
  const areArraysEqual = (as, bs) => as === bs || Boolean(as && bs && as?.length === bs?.length && as.every((_, i) => _ === bs[i]));
@@ -2410,6 +2365,76 @@
2410
2365
 
2411
2366
  const ITEMS_GAP = 16;
2412
2367
 
2368
+ const defaultBlockDecorator = ({ blockClassName, block, render }) => render({ blockClassName, block });
2369
+
2370
+ const DEFAULT_ANCESTORS = [];
2371
+ const defaultStyle = 'col-span-12';
2372
+ function renderBlock$1(block, options, { className, ...extraProps } = {}) {
2373
+ const { key, blockDecorator = defaultBlockDecorator, blocksRegistry = {}, ancestors = DEFAULT_ANCESTORS, } = options;
2374
+ const { type } = block;
2375
+ if (!(type && type in blocksRegistry)) {
2376
+ console.warn(`No block with "${type}" is registered`);
2377
+ }
2378
+ const BlockComponent = type && blocksRegistry[type];
2379
+ return blockDecorator({
2380
+ blockClassName: style(block.style?.length ? block.style : defaultStyle, className),
2381
+ block,
2382
+ ancestors,
2383
+ // Adjusted by decorator block and blockClassName
2384
+ render: ({ block: adjustedBlock, blockClassName: adjustedBlockClassName }) => {
2385
+ const { content } = adjustedBlock;
2386
+ return BlockComponent ? (jsx(BlockComponent, { className: adjustedBlockClassName, block: block, options: options, ...content, ...extraProps }, key)) : null;
2387
+ },
2388
+ }, key);
2389
+ }
2390
+
2391
+ const DEFAULT_SLOT_NAME = null;
2392
+
2393
+ const EMPTY_ANCESTORS = [];
2394
+ const renderBlocksList = (blocks, { key, ancestors = EMPTY_ANCESTORS, slotName = DEFAULT_SLOT_NAME, extraProps, renderProps = renderBlock$1, ...options }) => {
2395
+ const renderChildBlock = extraProps
2396
+ ? (childBlock, childOptions) => renderBlock$1(childBlock, childOptions, extraProps)
2397
+ : renderProps;
2398
+ return (blocks || []).map((_, i) => renderChildBlock(_, {
2399
+ ...options,
2400
+ key: `${key ? key : _.type}-${i}`,
2401
+ ancestors: options.parent
2402
+ ? [...(ancestors || EMPTY_ANCESTORS), [options.parent, slotName]]
2403
+ : ancestors,
2404
+ }, i));
2405
+ };
2406
+
2407
+ function renderChildren({ block, options, children, extraProps, renderProps, }) {
2408
+ if (children) {
2409
+ return children;
2410
+ }
2411
+ return block && options
2412
+ ? renderBlocksList(block.blocks, { ...options, parent: block, extraProps, renderProps })
2413
+ : null;
2414
+ }
2415
+
2416
+ const renderCardHighlight = ({ className, text = 'ХИТ' } = {}) => (jsxs("div", { className: style('w-14 h-14 bg-white flex flex-col items-center justify-center rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]', className), children: [jsx(Icon, { iconVersion: "black", name: "HeartIcon", width: "24", height: "24" }), jsx(Paragraph, { size: "text-s", font: "font-normal", align: "text-center", color: "text-primary-text", children: text })] }));
2417
+
2418
+ const cardBaseStyle = 'relative h-full';
2419
+ const renderCarouselCards = ({ noCardBorder, activeIndex, ...rest }) => {
2420
+ const { blocks: childBlocks } = rest.block || {};
2421
+ const someCardsHighlighted = childBlocks?.some(isCardHighlighted);
2422
+ return renderChildren({
2423
+ ...rest,
2424
+ renderProps: (block, options, blockIndex) => (jsxs("div", { className: cardWrapperStyle(block, { someCardsHighlighted }), children: [renderBlock$1(block, options, {
2425
+ className: cardStyle(block, { someCardsHighlighted, showBorder: !noCardBorder }),
2426
+ blockIndex,
2427
+ isActive: blockIndex === activeIndex,
2428
+ }), isCardHighlighted(block)
2429
+ ? renderCardHighlight({ className: 'absolute top-0 -right-4 z-40' })
2430
+ : null] })),
2431
+ });
2432
+ };
2433
+ const cardWrapperStyle = (_, { someCardsHighlighted }) => style(cardBaseStyle, someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl' : 'pt-3xl sm:pt-16'));
2434
+ const cardStyle = (_, { someCardsHighlighted, showBorder }) => style(cardBaseStyle, 'min-w-80 sm:min-w-96', someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl sm:pt-16' : 'pt-3xl'), showBorder &&
2435
+ 'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider');
2436
+ const isCardHighlighted = (_) => _?.content && 'isHighlighting' in _.content && _.content.isHighlighting;
2437
+
2413
2438
  const Carousel = JSX(({ className, itemCount, visibleItemCount = 0, noCardBorder, isAlignCenter, showDots, arrowsPadded = true, isGap = true, ...rest }) => {
2414
2439
  const { blocks: childBlocks = [] } = rest.block || {};
2415
2440
  const count = itemCount || childBlocks?.length;
@@ -2421,16 +2446,7 @@
2421
2446
  const [dotsActiveIndex] = scroll.visibleIndicesRange;
2422
2447
  // TODO Remove
2423
2448
  const isBankHistoryCarousel = childBlocks && childBlocks[0]?.type === 'CarouselBankHistoryCard';
2424
- return (jsx(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: jsxs("div", { className: style(isAlignCenter ? 'flex justify-center' : '', 'relative max-w-full'), children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: isGap ? ITEMS_GAP : undefined, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderChildren({
2425
- ...rest,
2426
- renderProps: (block, options, blockIndex) => renderBlock$1(block, options, {
2427
- className: style('h-full min-w-80 sm:min-w-96', noCardBorder
2428
- ? ''
2429
- : 'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider'),
2430
- blockIndex,
2431
- isActive: activeIndex === blockIndex,
2432
- }),
2433
- }) }), jsx(CarouselScrollButtons, { scroll: scroll, arrowsPadded: arrowsPadded, onScrollLeft: decreaseActiveIndex, onScrollRight: increaseActiveIndex, hasEdgeBlocks: isBankHistoryCarousel, activeIndex: activeIndex, itemCount: count }), showDots ? (jsx(SwipeListControlDots, { containerRef: containerRef, activeIndex: dotsActiveIndex, dotCount: count, listType: "horizontal-list" })) : null] }) }));
2449
+ return (jsx(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: jsxs("div", { className: style(isAlignCenter ? 'flex justify-center' : '', 'relative max-w-full'), children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: isGap ? ITEMS_GAP : undefined, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderCarouselCards({ noCardBorder, activeIndex, ...rest }) }), jsx(CarouselScrollButtons, { scroll: scroll, arrowsPadded: arrowsPadded, onScrollLeft: decreaseActiveIndex, onScrollRight: increaseActiveIndex, hasEdgeBlocks: isBankHistoryCarousel, activeIndex: activeIndex, itemCount: count }), showDots ? (jsx(SwipeListControlDots, { containerRef: containerRef, activeIndex: dotsActiveIndex, dotCount: count, listType: "horizontal-list" })) : null] }) }));
2434
2450
  });
2435
2451
  Carousel.childrenTypes = [
2436
2452
  'CarouselCard',
@@ -2445,8 +2461,14 @@
2445
2461
  'CarouselInvestmentCard',
2446
2462
  'CarouselEventCard',
2447
2463
  ];
2464
+ Carousel.childSchema = () => ({
2465
+ isHighlighting: {
2466
+ title: 'Выделить карточку',
2467
+ type: 'boolean',
2468
+ },
2469
+ });
2448
2470
 
2449
- const CarouselBankHistoryCard = JSX(({ className, title, description, blockIndex = 0, isActive, ...rest }) => (jsx(BlockWrapper, { className: style('relative flex h-[485px]', isActive ? 'w-[440px] z-10' : 'w-[340px]', className), defaultPadding: "p-0", ...rest, children: jsx("div", { className: style('basis-full self-center', getBackColor(blockIndex)), children: isActive ? (jsx(Headline, { headlineVersion: "M", title: title, description: description, padding: "p-3xl", align: "text-left", className: "h-96 text-white shadow-dark-blue" })) : (jsx("div", { className: "h-[300px] flex justify-center items-center font-mohave text-title-large tracking-[-0.03em]", children: jsx("span", { className: getTextColor(blockIndex), children: title }) })) }) })));
2471
+ const CarouselBankHistoryCard = JSX(({ className, title, description, blockIndex = 0, isActive, ...rest }) => (jsx(BlockWrapper, { className: style('relative flex h-[485px]', isActive ? 'w-[440px] z-10' : 'w-[340px]', className), defaultPadding: "p-0", ...rest, children: jsx("div", { className: style('basis-full self-center', getBackColor(blockIndex)), children: isActive ? (jsx(Headline, { headlineVersion: "M", title: title, description: description, padding: "p-3xl", align: "text-left", className: "h-96 text-white shadow-dark-blue" })) : (jsx("div", { className: "h-[300px] flex justify-center items-center font-mohave text-title-large", children: jsx("span", { className: getTextColor(blockIndex), children: title }) })) }) })));
2450
2472
  const getBackColor = (blockIndex) => ['bg-primary-main', 'bg-green-light', 'bg-yellow-light'][blockIndex % 3];
2451
2473
  const getTextColor = (blockIndex) => [
2452
2474
  'gradient-color-text-on-green',
@@ -2458,8 +2480,8 @@
2458
2480
 
2459
2481
  const layerBaseStyle = 'z-10 border border-solid w-full h-full';
2460
2482
  const layerStyle = style(layerBaseStyle, 'absolute hidden sm:block border-transparent');
2461
- const CarouselCard = JSX(({ className, title, description, button, ...rest }) => (jsx(BlockWrapper, { className: style('sm:pl-12 sm:pb-9', className), defaultPadding: "p-0", ...rest, children: jsxs("div", { className: "relative", children: [jsx("div", { className: style(layerStyle, 'top-9 right-12 bg-green-dark') }), jsx("div", { className: style(layerStyle, 'top-6 right-8 bg-green') }), jsx("div", { className: style(layerStyle, 'top-3 right-4 bg-green-light') }), jsxs("div", { className: style(layerBaseStyle, 'relative p-10 bg-white border-green-light'), children: [jsx(Headline, { title: title, description: description, headlineVersion: titleSize, align: "text-left", isPadding: false }), renderButtonsSection([button], {
2462
- className: 'mt-6xl sm:justify-center',
2483
+ const CarouselCard = JSX(({ className, title, description, button, ...rest }) => (jsx(BlockWrapper, { className: style('sm:pl-6xl sm:pb-4xl', className), defaultPadding: "p-0", ...rest, children: jsxs("div", { className: "relative", children: [jsx("div", { className: style(layerStyle, 'top-9 right-12 bg-green-dark') }), jsx("div", { className: style(layerStyle, 'top-6 right-8 bg-green') }), jsx("div", { className: style(layerStyle, 'top-3 right-4 bg-green-light') }), jsxs("div", { className: style(layerBaseStyle, 'relative p-xl sm:p-5xl bg-white border-green-light'), children: [jsx(Headline, { title: title, description: description, headlineVersion: titleSize, align: "text-left", isEmbedded: true }), renderButtonsSection([button], {
2484
+ className: 'mt-m sm:mt-6xl sm:justify-center',
2463
2485
  isVertical: true,
2464
2486
  })] })] }) })));
2465
2487
 
@@ -2467,7 +2489,7 @@
2467
2489
  black: 'bg-black',
2468
2490
  white: 'bg-white',
2469
2491
  };
2470
- const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col justify-left', className), defaultPadding: "p-2xl", ...rest, children: [image?.src ? jsx(Img, { className: "flex justify-center mb-xl", image: image }) : null, jsx(Headline, { title: title, description: description, headlineVersion: "XS", isPadding: false, align: "text-left", className: "mb-m" }), colors?.length ? (jsxs("div", { className: "flex text-secondary-text mb-m", 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 mt-lg' })] })));
2492
+ const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col justify-left', className), defaultPadding: "p-2xl", ...rest, children: [image?.src ? jsx(Img, { className: "flex justify-center mb-xl", image: image }) : null, jsx(Headline, { title: title, description: description, headlineVersion: "XS", isEmbedded: true, align: "text-left", className: "mb-m" }), colors?.length ? (jsxs("div", { className: "flex text-secondary-text mb-m", 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 mt-lg' })] })));
2471
2493
  const renderColorOption = (color, i) => (jsx("div", { role: "figure", className: `w-6 h-6 ml-s border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
2472
2494
 
2473
2495
  const LinkWrapper = JSX(({ className = '', href, target, isRemote = false, children }) => {
@@ -2486,37 +2508,36 @@
2486
2508
  center: 'self-center',
2487
2509
  end: 'self-end',
2488
2510
  };
2489
- 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: [title ? jsx("div", { className: "relative", children: title }) : null, jsxs("div", { className: "grow relative flex flex-wrap @xl:flex-nowrap justify-around @xl: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 }), backImage ? (jsx("div", { className: "mx-auto sm:absolute sm:-z-10 sm:-bottom-4 sm:-right-4", children: backImage })) : null, buttons] }), renderImageContainer(rightImage, { className: '-order-1 @xl:order-1', imageAlign })] })] })));
2490
- const renderImageContainer = (image, { className, imageAlign }) => image ? (jsx("div", { className: style('flex-shrink-0', imageAlign && imageAlignmentMap[imageAlign], className), children: image })) : null;
2511
+ 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: [title ? jsx("div", { className: "relative", children: title }) : null, jsxs("div", { className: "grow relative flex flex-wrap @xl:flex-nowrap justify-around @xl: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 }), backImage ? (jsx("div", { className: "mx-auto sm:absolute sm:-z-10 sm:-bottom-4 sm:-right-4", children: backImage })) : null, buttons] }), renderImageContainer(rightImage, { className: '-order-1 @xl:order-1', imageAlign })] })] })));
2512
+ const renderImageContainer = (image, { className, imageAlign }) => {
2513
+ //TODO Спорное решение
2514
+ const fullWidth = image?.props?.image.size?.width > 400;
2515
+ return image ? (jsx("div", { className: style('flex-shrink-0', fullWidth ? 'w-full @xl:w-auto' : '', imageAlign && imageAlignmentMap[imageAlign], className), children: image })) : null;
2516
+ };
2491
2517
 
2492
- const getItemListFontSize = (colValue) => (colValue === 1 ? 'text-h6' : 'text-l');
2493
2518
  const cardColumnsModeStyleMap = {
2494
- 1: 'flex-col',
2495
- 2: 'gap-x-10 flex-wrap',
2496
- };
2497
- const CarouselInvestmentCard = JSX(({ className, padding, additionalDescription, cardsList = [], columnsMode = 1, description, image, title, ...rest }) => (jsx(BlockWrapper, { className: style('text-left', 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] }) })));
2498
- const renderCardList = (cardsList, columnsMode) => {
2499
- const CARDS_COUNT_MAP = [4, 9];
2500
- const visibleCardsList = cardsList.slice(0, CARDS_COUNT_MAP[columnsMode - 1]);
2501
- 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))));
2519
+ 1: 'grid-cols-1',
2520
+ 2: 'grid-cols-2',
2502
2521
  };
2522
+ const CarouselInvestmentCard = JSX(({ className, padding, additionalDescription, cardsList = [], columnsMode = 1, description, image, title, ...rest }) => (jsx(BlockWrapper, { className: style('text-left', 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-m", 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 grid gap-xs', cardColumnsModeStyleMap[columnsMode]), children: renderCardList(cardsList) })) : null] }) })));
2523
+ const renderCardList = (cardsList) => cardsList.map((item, i) => (jsxs("li", { children: [item?.parameter ? jsx(Text, { size: "text-h6", children: item.parameter }) : null, item?.parameterDescription ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: item.parameterDescription })) : null] }, String(i))));
2503
2524
 
2504
2525
  const LINK_CLASS_NAME = `absolute border border-primary-main px-xl py-lg
2505
2526
  text-l font-light bg-white text-primary-text flex
2506
2527
  justify-between items-center group-hover/link:text-primary-main z-10`;
2507
- const LINK_BORDER_CLASS_NAME = 'bg-transparent border-white border h-[70px] absolute w-[316px] top-0';
2508
- const LinkButton = JSX(({ text, href = '', target = '', className = '' }) => {
2528
+ const LINK_BORDER_CLASS_NAME = 'bg-transparent border-white border h-[70px] absolute w-80 top-0';
2529
+ const CarouselLinkButton = JSX(({ text, href = '', target = '', className = '' }) => {
2509
2530
  const link = useLink();
2510
2531
  const adjustedProps = link({ href, target });
2511
2532
  return text ? (jsxs("div", { className: style('flex max-w-sm relative group/link cursor-pointer w-64 h-16 sm:w-[47%] sm:h-20 sm:mr-m', className), children: [jsxs("a", { className: style(LINK_CLASS_NAME, 'rounded-md sm:rounded-none w-full h-12 sm:ml-s sm:w-full sm:h-auto'), role: "link", ...adjustedProps, children: [jsx("div", { className: "p-0.5", children: text }), jsx("div", { className: "w-6 h-6 hidden sm:block", children: jsx(Img, { className: "w-4 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 + ' hidden sm:block mx-1.5 mt-1.5' }), jsx("div", { className: LINK_BORDER_CLASS_NAME + ' hidden sm:block mt-3 mr-3' })] })) : null;
2512
2533
  });
2513
2534
 
2514
- const CarouselLinks = JSX(({ className, additionalDescription, description, links, title, maxLinksCount = 10, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col sm:flex-row w-full overflow-hidden', className), ...rest, children: [jsxs("div", { className: "mr-xl flex-auto", 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, maxLinksCount) : null] })));
2535
+ const CarouselLinks = JSX(({ className, additionalDescription, description, links, title, maxLinksCount = 10, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col sm:flex-row w-full overflow-hidden', className), ...rest, children: [jsxs("div", { className: "mr-xl flex-auto", children: [jsx(Headline, { isEmbedded: true, title: title, description: description, as: "h1", align: "text-left" }), additionalDescription ? (jsx(Headline, { className: "pt-m", description: additionalDescription, align: "text-left", isEmbedded: true })) : null] }), links?.length ? renderLinks(links, maxLinksCount) : null] })));
2515
2536
  const renderLinks = (links, maxLinksCount) => {
2516
2537
  const itemCount = Math.ceil(links.length / maxLinksCount);
2517
- return (jsx(Carousel, { className: "sm:w-2/3 w-full p-0 sm:p-2xl", version: "secondary", itemCount: itemCount, arrowsPadded: false, showDots: true, children: new Array(itemCount).fill(null).map((_, groupIndex) => (jsx("div", { className: style('flex flex-wrap self-start sm:w-[672px] w-full sm:mx-5xl'), children: links
2538
+ return (jsx(Carousel, { className: "sm:w-2/3 w-full p-0 sm:p-xs", version: "secondary", itemCount: itemCount, arrowsPadded: false, showDots: false, children: new Array(itemCount).fill(null).map((_, groupIndex) => (jsx("div", { className: style('flex flex-wrap self-start w-full sm:w-[672px]'), children: links
2518
2539
  .slice(groupIndex * maxLinksCount, (groupIndex + 1) * maxLinksCount)
2519
- .map((link, index) => (jsx(LinkButton, { className: "sm:m-2xs", ...link }, String(index)))) }, String(groupIndex)))) }));
2540
+ .map((link, index) => (jsx(CarouselLinkButton, { className: "sm:m-2xs", ...link }, String(index)))) }, String(groupIndex)))) }));
2520
2541
  };
2521
2542
 
2522
2543
  const DOT_SIZE_MAP = {
@@ -2592,11 +2613,11 @@
2592
2613
  const BenefitsList = JSX(({ isTabularBenefits, ...rest }) => isTabularBenefits ? jsx(TabularBenefitsList, { ...rest }) : jsx(DefaultBenefitsList, { ...rest }));
2593
2614
 
2594
2615
  const Tags = JSX(({ className, tags }) => tags?.length ? (jsx("div", { className: style('flex flex-wrap gap-xs', className), role: "list", children: tags.map(renderTag) })) : null);
2595
- const renderTag = (tag, key) => (jsx("div", { className: "py-2 px-2.5 border-solid border rounded-md border-gray", role: "listitem", children: jsx(Text, { size: "text-m", font: "font-light", children: tag }) }, String(key)));
2616
+ const renderTag = (tag, key) => (jsx("div", { className: "p-xs border-solid border rounded-md border-gray", role: "listitem", children: jsx(Text, { size: "text-m", font: "font-light", children: tag }) }, String(key)));
2596
2617
 
2597
2618
  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, }) => {
2598
2619
  const img = image?.src ? jsx(Img, { image: image }) : null;
2599
- const headline = (jsx(Headline, { title: title, description: description, headlineVersion: headlineVersion, align: align, isPadding: false }));
2620
+ const headline = (jsx(Headline, { title: title, description: description, headlineVersion: headlineVersion, align: align, isEmbedded: true }));
2600
2621
  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] }) }));
2601
2622
  });
2602
2623
  const leftOrRightImage = (img, directionRight) => directionRight ? { rightImage: img } : { leftImage: img };
@@ -2614,7 +2635,7 @@
2614
2635
 
2615
2636
  const buttonStylesWithText = (text, buttonSize) => text
2616
2637
  ? ''
2617
- : style('group/media flex items-center justify-center box-border', buttonSizeStyles[buttonSize]);
2638
+ : style('py-m group/media flex items-center justify-center box-border', buttonSizeStyles[buttonSize]);
2618
2639
 
2619
2640
  const ICONS_MAP = [
2620
2641
  {
@@ -2662,7 +2683,7 @@
2662
2683
  const SocialMedia = JSX(({ className = '', media, children, buttonSize }) => (jsxs("div", { className: "flex flex-col sm:flex-col-reverse gap-xs", children: [children ? (jsx(Text, { size: "text-s", font: "font-light", color: "text-secondary-text", children: children })) : null, jsx("div", { className: style('flex gap-xs', className), children: media?.map((_, index) => (jsx(MediaButton, { buttonSize: buttonSize, ..._ }, String(index)))) })] })));
2663
2684
 
2664
2685
  const CarouselRecommendationCard = JSX(({ className, padding, description, href, icon, items = [], socialMedia = [], target, title, align = 'text-left', ...rest }) => {
2665
- return (jsx(BlockWrapper, { className: style('relative min-h-[218px] group-data-gray:bg-main-divider/50', className), defaultPadding: "p-0", ...rest, children: jsx(LinkWrapper, { href: href, target: target, className: "h-full", children: jsx(BaseTile, { className: "h-full", defaultPadding: "p-m", padding: padding, title: title ? (jsx(Headline, { title: title, description: description, headlineVersion: "S", isPadding: false, align: align })) : null, backImage: icon?.icon || icon?.src ? jsx(Img, { image: icon }) : null, buttons: socialMedia.length ? jsx(SocialMedia, { media: socialMedia }) : null, children: items.length ? jsx(List, { items: items, listItemSize: "S" }) : null }) }) }));
2686
+ return (jsx(BlockWrapper, { className: style('relative min-h-28 group-data-gray:bg-main-divider/50', className), defaultPadding: "p-0", ...rest, children: jsx(LinkWrapper, { href: href, target: target, className: "h-full", children: jsx(BaseTile, { className: "h-full", defaultPadding: "p-m", padding: padding, title: title ? (jsx(Headline, { title: title, description: description, headlineVersion: "S", isEmbedded: true, align: align })) : null, backImage: icon?.icon || icon?.src ? jsx(Img, { image: icon }) : null, buttons: socialMedia.length ? jsx(SocialMedia, { media: socialMedia }) : null, children: items.length ? jsx(List, { items: items, listItemSize: "S" }) : null }) }) }));
2666
2687
  });
2667
2688
 
2668
2689
  const CarouselRichTextCard = JSX(({ className = '', __html, richVersion = 'striped', ...rest }) => (jsx(BlockWrapper, { className: className, ...rest, children: jsx(RichText, { __html: __html, richVersion: richVersion }) })));
@@ -2689,53 +2710,50 @@
2689
2710
  return (jsx("div", { ref: containerRef, className: `transition-max-h duration-300 overflow-hidden ${containerRef.current || !isUnfolded ? 'max-h-0' : ''} ${className}`, children: children }));
2690
2711
  });
2691
2712
 
2692
- const getPaddingStyle = (isHighlighting = false) => isHighlighting ? 'p-8 mt-8 pt-20' : 'p-8 mt-20';
2693
-
2694
2713
  const renderCardInfo = (cell, i) => {
2695
2714
  const { title, description, buttons } = cell;
2696
- return (jsxs("div", { className: "py-5 border-b border-main-divider", children: [title ? (jsx("div", { className: "opacity-80", children: jsx(Text, { size: "text-m", color: "text-secondary-text", children: title }) })) : null, description ? (jsx("div", { className: "mt-1", children: jsx(Text, { size: "text-xl", color: "text-primary-text", children: description }) })) : null, buttons?.length ? (jsx("div", { className: "text-primary-main", children: renderButtonsSection(buttons) })) : null] }, String(i)));
2715
+ return (jsxs("div", { className: "py-lg border-b border-main-divider", children: [title ? (jsx("div", { className: "opacity-80", children: jsx(Text, { size: "text-m", color: "text-secondary-text", children: title }) })) : null, description ? (jsx("div", { className: "mt-2xs", children: jsx(Text, { size: "text-xl", color: "text-primary-text", children: description }) })) : null, buttons?.length ? (jsx("div", { className: "text-primary-main", children: renderButtonsSection(buttons) })) : null] }, String(i)));
2697
2716
  };
2698
2717
 
2699
2718
  const VISIBLE_CELLS_COUNT = 1;
2700
- const CarouselTariffsCard = JSX(({ className = '', title, align = 'text-center', icon, isHighlighting = false, button, cardCells = [], ...rest }) => {
2719
+ const CarouselTariffsCard = JSX(({ className = '', title, align = 'text-center', icon, button, cardCells = [], ...rest }) => {
2701
2720
  const cellsNode = cardCells.map(renderCardInfo);
2702
2721
  const visibleCells = cellsNode.slice(0, VISIBLE_CELLS_COUNT);
2703
2722
  const hiddenCells = cellsNode.slice(VISIBLE_CELLS_COUNT);
2704
- return (jsxs(BlockWrapper, { className: style('relative flex flex-col', className), defaultPadding: getPaddingStyle(isHighlighting), ...rest, children: [isHighlighting ? renderHitIcon() : null, renderIconBlock$1(icon), title ? (jsx(Heading, { className: style('pt-xs', align), headingType: "h5", title: title })) : null, button ? jsx(Button, { className: "w-full mt-m", ...button }) : null, cardCells.length ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [visibleCells, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton$1 : null })) : null] }));
2723
+ return (jsxs(BlockWrapper, { className: style('flex flex-col', className), defaultPadding: "p-3xl", ...rest, children: [renderIconBlock$1(icon), title ? (jsx(Heading, { className: style('pt-xs', align), headingType: "h5", title: title })) : null, button ? jsx(Button, { className: "w-full mt-m", ...button }) : null, cardCells.length ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [visibleCells, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton$1 : null })) : null] }));
2705
2724
  });
2706
- const renderIconBlock$1 = (icon) => (jsx("div", { className: "basis-full self-center", children: icon?.src || icon?.icon ? jsx(Img, { image: icon }) : null }));
2707
- const renderFoldButton$1 = ({ isUnfolded, onToggle }) => (jsxs("button", { className: "w-full cursor-pointer text-primary-main pt-5 flex justify-between items-center", onClick: onToggle, children: [jsx("div", { children: isUnfolded ? 'Скрыть' : 'Подробнее о тарифе' }), jsx(Icon, { className: "text-primary-text", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16" })] }));
2708
- const renderHitIcon = () => (jsxs("div", { className: "absolute -top-7 -right-4 h-[60px] w-[60px] bg-white flex flex-col items-center justify-center rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]", children: [jsx(Icon, { iconVersion: "black", name: "HeartIcon", width: "23", height: "22" }), jsx(Paragraph, { size: "text-s", font: "font-normal", align: "text-center", color: "text-primary-text", children: "\u0425\u0418\u0422" })] }));
2725
+ const renderIconBlock$1 = (icon) => (jsx("div", { className: "self-center", children: icon?.src || icon?.icon ? jsx(Img, { image: icon }) : null }));
2726
+ const renderFoldButton$1 = ({ isUnfolded, onToggle }) => (jsxs("button", { className: "w-full cursor-pointer text-primary-main pt-lg flex justify-between items-center", onClick: onToggle, children: [jsx("div", { children: isUnfolded ? 'Скрыть' : 'Подробнее о тарифе' }), jsx(Icon, { className: "text-primary-text", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16" })] }));
2709
2727
 
2710
2728
  const GRADIENT = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
2711
2729
  const BORDER_CLASSES = 'border-gray border-solid border';
2712
2730
  const DIVIDER_CLASSES$1 = 'border-main-divider border border-t-0 border-x-0';
2713
- const FIRST_CELL_CLASSES$1 = 'w-[200px] mr-6';
2731
+ const FIRST_CELL_CLASSES$1 = 'w-52';
2714
2732
  const COLS_LENGTH_FOR_SCROLL$1 = 3;
2715
2733
  const COLUMN_WIDTH$2 = 4 * 80 + 4 * 4; // w-80 + gap-4 = 336px
2716
2734
 
2717
2735
  const HeaderCell = JSX(({ icon, image, title, link }) => (jsxs("div", { className: `w-80 box-border flex flex-col gap-m items-center rounded-t-md border-b-0 p-2xl ${BORDER_CLASSES} ${GRADIENT}`, role: "columnheader", children: [icon && !image?.src && (jsx(Img, { className: "h-16 w-16 min-w-16 min-h-16", image: icon, width: "64", height: "64" })), image?.src && jsx(Img, { image: image }), title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "text-center text-white", title: title })) : null, link?.text && (jsx("div", { className: "mt-auto w-full", children: jsx(Button, { href: link.href, target: link.target, className: "w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active", children: jsx("div", { className: "text-xs font-light font-medium py-s", children: link.text }) }) }))] })));
2718
2736
 
2719
2737
  const carouselContainerClassesMap = {
2720
- comparison: 'flex gap-4 duration-1000',
2738
+ comparison: 'flex gap-m duration-1000',
2721
2739
  tariff: 'flex flex-grow duration-1000',
2722
2740
  };
2723
2741
  const TableCarouselContainer = JSX(({ children, activeIndex, columnWidth, version = 'comparison' }) => (jsx("div", { className: "flex flex-1 overflow-hidden", children: jsx("div", { className: carouselContainerClassesMap[version], style: { transform: `translateX(-${activeIndex * columnWidth}px)` }, children: children }) })));
2724
2742
 
2725
- const TableRowContainer = JSX(({ children }) => (jsx("div", { className: "self-start flex flex-col", role: "row", children: jsx("div", { className: "flex", children: children }) })));
2743
+ const TableRowContainer = JSX(({ children }) => (jsx("div", { className: "self-start flex flex-col", role: "row", children: jsx("div", { className: "flex gap-xl", children: children }) })));
2726
2744
 
2727
2745
  const ComparisonTableColumnHeaders = JSX(({ colHeaders, activeIndex }) => (jsxs(TableRowContainer, { children: [jsx("div", { className: FIRST_CELL_CLASSES$1, role: "columnheader" }), jsx(TableCarouselContainer, { activeIndex: activeIndex, columnWidth: COLUMN_WIDTH$2, children: colHeaders.map((header, i) => (jsx(HeaderCell, { ...header }, String(i)))) })] })));
2728
2746
 
2729
2747
  const TableCell = JSX(({ cell, isFirstRow, isLastRow, isFillGradient }) => {
2730
2748
  const cellWrapperClasses = `w-80 box-border flex flex-col ${BORDER_CLASSES} ${!isLastRow ? 'border-y-0' : 'border-t-0 rounded-b-md'} ${isFillGradient ? GRADIENT : ''}`;
2731
- const cellClasses = `mx-7 h-full ${DIVIDER_CLASSES$1} ${isFillGradient && isFirstRow ? 'border-t' : ''} ${!isLastRow ? 'border-solid' : 'border-b-0'}`;
2749
+ const cellClasses = `mx-2xl h-full ${DIVIDER_CLASSES$1} ${isFillGradient && isFirstRow ? 'border-t' : ''} ${!isLastRow ? 'border-solid' : 'border-b-0'}`;
2732
2750
  return (jsx("div", { className: cellWrapperClasses, role: "cell", children: jsx("div", { className: cellClasses, children: cell.map((item, i) => renderCellInner$1(item, i, isFillGradient)) }) }));
2733
2751
  });
2734
2752
  const labelStyle = (isFillGradient = false) => `text-xl m-0 ${isFillGradient ? 'text-white' : ''}`;
2735
2753
  const descriptionStyle = (isFillGradient = false) => `text-s opacity-80 ${isFillGradient ? 'text-white' : 'text-secondary-text'}`;
2736
2754
  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)));
2737
2755
 
2738
- const titleStyle = (isLastRow = false) => `text-s py-7 ${DIVIDER_CLASSES$1} ${FIRST_CELL_CLASSES$1} ${isLastRow ? 'border-b-0' : 'border-solid'}`;
2756
+ const titleStyle = (isLastRow = false) => `text-s py-2xl ${DIVIDER_CLASSES$1} ${FIRST_CELL_CLASSES$1} ${isLastRow ? 'border-b-0' : 'border-solid'}`;
2739
2757
  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] })));
2740
2758
 
2741
2759
  const ComparisonTableRows = JSX(({ rowData, isColoredFirstColumn, activeIndex, controls }) => {
@@ -2770,15 +2788,15 @@
2770
2788
  const ComparisonTable = JSX(({ className = '', title, rowHeaders, columns, visibleRowLength = 0, isColoredFirstColumn = false, ...rest }) => {
2771
2789
  const [isShowAllRow, setIsShowAllRow] = useState(!visibleRowLength);
2772
2790
  const handleToggle = useCallback(() => setIsShowAllRow((_) => !_), []);
2773
- 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
2791
+ return (jsxs(BlockWrapper, { className: style('overflow-hidden relative', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Heading, { headingType: "h2", className: "text-center mb-4xl mx-auto", title: title }), jsx(ComparisonTableBody, { columns: columns, rowHeaders: rowHeaders, isShowAllRow: isShowAllRow, isColoredFirstColumn: isColoredFirstColumn, visibleRowLength: visibleRowLength }), visibleRowLength
2774
2792
  ? renderShowMoreToggleButton({ isShowAllRow, onClick: handleToggle })
2775
2793
  : null] }));
2776
2794
  });
2777
- const renderShowMoreToggleButton = ({ isShowAllRow, onClick, }) => (jsx("div", { className: "pr-6xl", 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 ? 'Показать все параметры' : 'Скрыть' }) })] }) }));
2795
+ const renderShowMoreToggleButton = ({ isShowAllRow, onClick, }) => (jsx("div", { className: "pr-6xl", children: jsxs("div", { className: "flex gap-m w-full", children: [jsx("div", { className: FIRST_CELL_CLASSES$1 }), jsx("button", { onClick: onClick, className: "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 ? 'Показать все параметры' : 'Скрыть' }) })] }) }));
2778
2796
 
2779
2797
  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] })));
2780
- const renderBlocks = (info) => (jsx("div", { className: "flex grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index })) }));
2781
- 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, { title: title, description: description, headlineVersion: "XS", align: "text-left", isPadding: false }), 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;
2798
+ const renderBlocks = (info) => (jsx("div", { className: "flex gap-5xl grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index })) }));
2799
+ const renderBlocksColumn = ({ column, index }) => column ? (jsx("div", { className: "flex flex-col gap-xl grow basis-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => (jsxs("div", { children: [jsx(Headline, { title: title, description: description, headlineVersion: "XS", align: "text-left", isEmbedded: true }), 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;
2782
2800
 
2783
2801
  const isEmpty = (v) => v === null ||
2784
2802
  v === undefined ||
@@ -2813,9 +2831,9 @@
2813
2831
  const naturalNumber = (n) => Number(n || 0);
2814
2832
 
2815
2833
  const DefaultFoldButton = JSX(({ className = '', label, icon, dataTheme = '', disabled = false, onClick }) => {
2816
- return (jsxs("button", { className: style('flex justify-center w-full px-0 py-4 border border-transparent outline-none focus:border-primary-text', disabled
2834
+ return (jsxs("button", { className: style('flex justify-center w-full py-4 border border-transparent outline-none focus:border-primary-text', disabled
2817
2835
  ? 'bg-main-divider text-main-disabled hover:bg-main-divider'
2818
- : 'bg-primary-main text-white hover:bg-primary-hove', className), onClick: onClick, disabled: disabled, "data-theme": dataTheme, children: [jsx("span", { className: "text-h4 pr-3", children: label }), icon ? (jsx(Img, { image: {
2836
+ : 'bg-primary-main text-white hover:bg-primary-hove', className), onClick: onClick, disabled: disabled, "data-theme": dataTheme, children: [jsx("span", { className: "text-h4 pr-s", children: label }), icon ? (jsx(Img, { image: {
2819
2837
  icon,
2820
2838
  iconVersion: 'white',
2821
2839
  }, className: "flex-shrink-0 my-auto", width: "20", height: "20" })) : null] }));
@@ -2827,7 +2845,7 @@
2827
2845
  };
2828
2846
 
2829
2847
  const ICONS = ['ArrowDownIcon', 'ArrowUpIcon'];
2830
- const resultsGridStyle = 'grid grid-cols-12 gap-1 border-box';
2848
+ const resultsGridStyle = 'grid grid-cols-12 gap-2xs border-box';
2831
2849
  const BaseFiltrationInner = JSX(({ label = '', filtrationState = {}, topItemsCount = 0, block, notFound, ...rest }) => {
2832
2850
  const blocksToRender = block?.blocks?.filter((b) => checkShouldRenderBlock(filtrationState, b.content || {})) || [];
2833
2851
  const [visibleBlocks, hiddenBlocks] = topItemsCount > 0
@@ -2891,7 +2909,7 @@
2891
2909
  parse: (min) => ({ min, max: maxValue }),
2892
2910
  format: ({ min }) => min,
2893
2911
  }) })] }));
2894
- return (jsxs(BlockWrapper, { className: style(className), defaultPadding: "p-0", version: "transparent", ...rest, children: [renderFiltrationForm({ field, reset, filtrationSchema, resetButton, children: Inputs }), jsx(BaseFiltrationInner, { filtrationState: filtrationState, ...rest })] }));
2912
+ return (jsxs(BlockWrapper, { className: style('space-y-2xs', className), defaultPadding: "p-0", version: "transparent", ...rest, children: [renderFiltrationForm({ field, reset, filtrationSchema, resetButton, children: Inputs }), jsx(BaseFiltrationInner, { filtrationState: filtrationState, ...rest })] }));
2895
2913
  });
2896
2914
  DepositFiltration.childrenTypes = ['ProductTile'];
2897
2915
  DepositFiltration.childSchema = (content) => content?.filtrationSchema || {};
@@ -2905,8 +2923,8 @@
2905
2923
  }
2906
2924
  return null;
2907
2925
  };
2908
- const getErrorBlockStyle = (text) => (text ? 'py-20 pt-3 pb-1' : 'mb-16 pb-2 mt-24 pt-3');
2909
- const ErrorBlock = JSX(({ className = '', title, subtitle, error, button, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col justify-center items-center', className), defaultPadding: getErrorBlockStyle(button?.text), version: "transparent", ...rest, children: [jsx("div", { className: "flex justify-center py-20", children: renderErrorContent(error) }), title ? jsx(Heading, { headingType: "h1", className: "text-left mb-4", title: title }) : null, subtitle ? (jsx("div", { className: "mb-7 max-w-[613px] text-center", children: jsx(Text, { size: "text-xl", font: "font-light", children: subtitle }) })) : null, button?.text ? (jsx(Button, { className: "py-4 px-9", version: button?.version, ...button, children: button.text })) : null] })));
2926
+ const getErrorBlockStyle = (text) => (text ? 'py-20' : 'mb-16 mt-24');
2927
+ const ErrorBlock = JSX(({ className = '', title, subtitle, error, button, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col gap-lg justify-center items-center', className), defaultPadding: style('py-xs', getErrorBlockStyle(button?.text)), version: "transparent", ...rest, children: [jsx("div", { className: "flex justify-center py-20", children: renderErrorContent(error) }), title ? jsx(Heading, { headingType: "h1", className: "text-left", title: title }) : null, subtitle ? (jsx("div", { className: "max-w-[613px] text-center", children: jsx(Text, { size: "text-xl", font: "font-light", children: subtitle }) })) : null, button?.text ? (jsx(Button, { className: "py-4 px-9", version: button?.version, ...button, children: button.text })) : null] })));
2910
2928
 
2911
2929
  var Currencies;
2912
2930
  (function (Currencies) {
@@ -2927,7 +2945,7 @@
2927
2945
  RUB: 'RoundRubleIcon',
2928
2946
  };
2929
2947
  const renderCurrencyRow$1 = ({ title, buyPrice, buyDifference, sellPrice, sellDifference, buyOfficeName, sellOfficeName, }) => {
2930
- 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));
2948
+ return (jsxs("tr", { className: "pb-2xs text-h6", children: [jsx("td", { className: "pt-m", 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));
2931
2949
  };
2932
2950
  const formatCurrency$1 = (value) => (value ? currencyNumberFormat$1.format(value) : '');
2933
2951
  const renderCurrency = (price, difference) => {
@@ -2973,7 +2991,7 @@
2973
2991
  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: jsx(Text, { size: "text-m", children: "\u0412\u0430\u043B\u044E\u0442\u0430" }) }), jsx("th", { className: TABLE_HEAD_STYLE_WITH_PADDING, children: jsx(Text, { size: "text-m", children: "\u041A\u0443\u043F\u0438\u0442\u044C" }) }), jsx("th", { className: TABLE_HEAD_STYLE_WITH_PADDING, children: jsx(Text, { size: "text-m", children: "\u041F\u0440\u043E\u0434\u0430\u0442\u044C" }) })] }) }), jsx("tbody", { children: exchangeCurrencyItems.map(renderCurrencyRow) })] })));
2974
2992
  const renderCurrencyRow = (exchangeCurrencyItem) => {
2975
2993
  const currency = exchangeCurrencyItem?.currency?.currency;
2976
- 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", className: "mr-2" })) : null, jsx(Text, { size: "text-h6", children: currency })] }) }), jsx("td", { className: "pt-m pl-5xl", children: jsx(Text, { size: "text-h6", children: formatCurrency(exchangeCurrencyItem?.saleExchangeRate) }) }), jsx("td", { className: "pt-m pl-5xl", children: jsx(Text, { size: "text-h6", children: formatCurrency(exchangeCurrencyItem?.buyExchangeRate) }) })] }, currency));
2994
+ return (jsxs("tr", { className: "pb-2xs text-h6", children: [jsx("td", { className: "pt-m", children: jsxs("div", { className: "flex items-center gap-xs", children: [currency ? (jsx(Img, { image: { icon: CURRENCY_ICONS_MAP[currency] }, width: "24", height: "24" })) : null, jsx(Text, { size: "text-h6", children: currency })] }) }), jsx("td", { className: "pt-m pl-5xl", children: jsx(Text, { size: "text-h6", children: formatCurrency(exchangeCurrencyItem?.saleExchangeRate) }) }), jsx("td", { className: "pt-m pl-5xl", children: jsx(Text, { size: "text-h6", children: formatCurrency(exchangeCurrencyItem?.buyExchangeRate) }) })] }, currency));
2977
2995
  };
2978
2996
 
2979
2997
  const icon = { icon: 'GpsIcon' };
@@ -3014,7 +3032,7 @@
3014
3032
  text: _?.currency?.currency ?? '',
3015
3033
  }));
3016
3034
  const selectedValue = { key: selected, text: selected };
3017
- return (jsxs("div", { className: "relative flex", children: [jsx(Input, { className: "shrink-0 text-l w-full appearance-none mr-[-90px]", placeholder: placeholder, type: "text", value: value, onChange: setValue }), ratesOptions.length ? (jsx(Select, { isBorder: false, onChange: (_) => setSelected(_.key), options: ratesOptions, value: selectedValue })) : null] }));
3035
+ return (jsxs("div", { className: "relative flex", children: [jsx(Input, { className: "shrink-0 text-l w-full appearance-none -mr-24", placeholder: placeholder, type: "text", value: value, onChange: setValue }), ratesOptions.length ? (jsx(Select, { isBorder: false, onChange: (_) => setSelected(_.key), options: ratesOptions, value: selectedValue })) : null] }));
3018
3036
  }
3019
3037
 
3020
3038
  const ExchangeCurrencyCalculator = JSX(({ className = '', currencyRatesBuy, currencyRatesSell, button }) => {
@@ -3039,7 +3057,7 @@
3039
3057
  setSelected: handleSelectBuy(calcState, handleSetCalcState, currencyRatesBuy),
3040
3058
  value: calcState.inputBuy,
3041
3059
  setValue: (value) => handleInputBuy(handleSetCalcState, currencyRatesBuy)(value, calcState.selectBuy, calcState.selectSell),
3042
- }), button?.text ? (jsx(Button, { className: "py-4", version: button?.version, ...button, children: button.text })) : null] }));
3060
+ }), button?.text ? (jsx(Button, { className: "py-4 px-9", version: button?.version, ...button, children: button.text })) : null] }));
3043
3061
  });
3044
3062
  const handleSelectSell = (calcState, setCalcState, currencyRatesSell) => (value) => {
3045
3063
  setCalcState({ selectSell: value });
@@ -3153,13 +3171,13 @@
3153
3171
 
3154
3172
  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] })));
3155
3173
 
3156
- const CloseButton = JSX(({ className, onClose }) => (jsx("button", { className: style('flex justify-center items-center w-12 h-12 p-1 bg-transparent border-none', className), onClick: onClose, title: "\u0417\u0430\u043A\u0440\u044B\u0442\u044C", children: jsx(Img, { image: { icon: 'CloseIcon' }, width: "24", height: "24" }) })));
3174
+ const CloseButton = JSX(({ className, onClose }) => (jsx("button", { className: style('flex justify-center items-center w-12 h-12 p-2xs bg-transparent border-none', className), onClick: onClose, title: "\u0417\u0430\u043A\u0440\u044B\u0442\u044C", children: jsx(Img, { image: { icon: 'CloseIcon' }, width: "24", height: "24" }) })));
3157
3175
 
3158
3176
  const SearchInput = JSX(({ className, value, autoFocus, onChange, onFocus }) => {
3159
3177
  const handleChange = useCallback((ev) => {
3160
3178
  onChange && onChange(ev.target?.value || '');
3161
3179
  }, [onChange]);
3162
- 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 })] }));
3180
+ 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-6xl 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 })] }));
3163
3181
  });
3164
3182
 
3165
3183
  const useDebouncedEffect = (effect, deps, delay = 300) => useEffect(() => {
@@ -3327,7 +3345,7 @@
3327
3345
  });
3328
3346
  const renderColumn = (menuItem, index) => {
3329
3347
  const { text, items, href, target, onClick } = menuItem;
3330
- return (jsxs("div", { className: "flex flex-col gap-3.5 w-1/4", children: [jsx("a", { className: "leading-5 text-l text-primary-text hover:text-primary-main no-underline", href: href, target: target || '_self', onClick: onClick, children: text || `Раздел ${index}` }), items?.map((_, i) => (jsx(ColumnItem, { ..._, basePath: appendSlash(href), index: i }, String(i))))] }, String(index)));
3348
+ return (jsxs("div", { className: "flex flex-col gap-s w-1/4", children: [jsx("a", { className: "leading-5 text-l text-primary-text hover:text-primary-main no-underline", href: href, target: target || '_self', onClick: onClick, children: text || `Раздел ${index}` }), items?.map((_, i) => (jsx(ColumnItem, { ..._, basePath: appendSlash(href), index: i }, String(i))))] }, String(index)));
3331
3349
  };
3332
3350
  const ColumnItem = JSX(({ text, index, basePath, ...rest }) => {
3333
3351
  const isAnotherPortal = projectSettings.BASE_PATH && basePath ? !projectSettings.BASE_PATH.startsWith(basePath) : false;
@@ -3428,7 +3446,7 @@
3428
3446
  return (jsxs(BlockWrapper, { tag: "footer", className: className, ...rest, children: [jsxs("div", { className: "flex items-stretch gap-3xl pb-3xl ", children: [jsx(Logo, { className: LEFT_COL_WIDTH, logo: logo }), jsx(SearchBar$1, { className: "grow" })] }), jsxs("div", { className: "flex items-stretch gap-6xl", children: [jsxs("div", { className: `${LEFT_COL_WIDTH} flex flex-col shrink-0 overflow-hidden space-y-xl`, children: [jsx(Contacts, { items: contacts }), 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: topItems })] }), jsx(HorizontalNavigation, { className: "mt-xl", links: relatedEnterprises }), jsx(TextInformation, { links: documents })] }));
3429
3447
  });
3430
3448
 
3431
- const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (jsxs(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { className: "mb-4", title: title, description: description, headlineVersion: "M", isPadding: false }), calendar ? renderCalendar(calendar) : null] })));
3449
+ const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (jsxs(BlockWrapper, { className: style('space-y-m', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, headlineVersion: "M", isEmbedded: true }), calendar ? renderCalendar(calendar) : null] })));
3432
3450
  const renderCalendar = (calendar) => {
3433
3451
  const colCount = calendar.reduce((accumulator, currentValue) => currentValue?.month?.length ? accumulator + currentValue.month.length : accumulator, 0) || 1;
3434
3452
  const colSize = 100 / colCount;
@@ -3439,10 +3457,10 @@
3439
3457
  // Condition lower is always true, TS does not understand this, notice filter above
3440
3458
  flexBasis: `${_?.month?.length ? _.month.length * colSize : ''}%`,
3441
3459
  }));
3442
- return (jsxs("div", { className: "w-full flex flex-col justify-center mt-13", children: [jsx("div", { className: "flex w-full mb-3 text-h6 text-center", children: mappedCalendar.map((_) => renderMonthNames(_, colSize)) }), jsx("div", { className: "flex gap-s w-full", children: mappedCalendar.map((_, ind) => (jsxs("div", { className: "pr-s border-r border-main-divider last:border-r-0 last:pr-0", style: { flexBasis: _.flexBasis }, children: [jsx("div", { className: "flex", children: renderMonthImages(_) }), jsxs("div", { className: "text-s font-light text-primary-text mt-s", children: [jsx("span", { children: _.text }), "\u2009", jsx("span", { className: "text-primary-main", children: _.greenText })] })] }, `monthItem-${ind}`))) })] }));
3460
+ return (jsxs("div", { className: "w-full flex flex-col justify-center gap-s", children: [jsx("div", { className: "flex w-full text-h6 text-center", children: mappedCalendar.map((_) => renderMonthNames(_, colSize)) }), jsx("div", { className: "flex gap-s w-full", children: mappedCalendar.map((_, ind) => (jsxs("div", { className: "border-r border-main-divider last:border-r-0 space-y-s", style: { flexBasis: _.flexBasis }, children: [jsx("div", { className: "flex gap-s", children: renderMonthImages(_) }), jsxs("div", { className: "text-s font-light text-primary-text", children: [jsx("span", { children: _.text }), "\u2009", jsx("span", { className: "text-primary-main", children: _.greenText })] })] }, `monthItem-${ind}`))) })] }));
3443
3461
  };
3444
3462
  const renderMonthNames = (item, colSize) => item.month?.map((_, i) => (jsx("div", { style: { flexBasis: `${colSize}%` }, children: _.text }, `monthName-${i}`)));
3445
- const renderMonthImages = (item) => item.month?.map((_) => _.image?.src ? (jsx("div", { className: "h-[207px] border-r pr-3 mr-3 border-main-divider last:border-r-0 last:pr-0 last:mr-0", children: jsx(Img, { image: _.image, className: "flex" }) }, `monthImage-${_.image.src}`)) : null);
3463
+ const renderMonthImages = (item) => item.month?.map((_) => _.image?.src ? (jsx("div", { className: "h-52 border-r pr-s border-main-divider last:border-r-0", children: jsx(Img, { image: _.image, className: "flex" }) }, `monthImage-${_.image.src}`)) : null);
3446
3464
 
3447
3465
  const TopItem = JSX(({ className = '', active, flat, children, ...rest }) => {
3448
3466
  const link = useLink({ isRemote: true });
@@ -3451,7 +3469,7 @@
3451
3469
  });
3452
3470
  const getLinkStyle = (active = false, flat = false) => style('inline-block border border-solid bg-transparent text-center no-underline', active
3453
3471
  ? 'rounded-md border-primary-main group-data-transparent:border-white'
3454
- : 'border-transparent', flat ? '' : 'px-4 py-2');
3472
+ : 'border-transparent', flat ? '' : 'px-m py-xs');
3455
3473
  const getTextStyle$1 = (active = false, flat = false) => style('font-sans text-s font-light', active
3456
3474
  ? 'text-primary-main'
3457
3475
  : style(flat ? 'text-primary-text' : 'text-secondary-text', 'hover:text-primary-main'), 'group-data-transparent:text-white group-data-transparent:hover:text-primary-hover');
@@ -3514,11 +3532,11 @@
3514
3532
  return result;
3515
3533
  };
3516
3534
 
3517
- const renderForeignOffices = (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;
3535
+ const renderForeignOffices = (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-5xl", children: foreignOffices.map((office, i) => (jsx(ForeignOffice, { ...office }, String(i)))) })] })) : null;
3518
3536
  const ForeignOffice = JSX(({ icon, ...rest }) => {
3519
3537
  const link = useLink();
3520
3538
  const { text, target, href, onClick } = link(rest);
3521
- return (jsxs("div", { className: "flex gap-x-3", children: [icon ? jsx(Img, { pathPrefix: "/wcms-resources/", image: icon }) : null, text ? (jsx("a", { className: "hover:text-primary-hover", href: href, target: target, onClick: onClick, children: text })) : null] }));
3539
+ return (jsxs("div", { className: "flex gap-s", children: [icon ? jsx(Img, { pathPrefix: "/wcms-resources/", image: icon }) : null, text ? (jsx("a", { className: "hover:text-primary-hover", href: href, target: target, onClick: onClick, children: text })) : null] }));
3522
3540
  });
3523
3541
 
3524
3542
  const renderRegion = (onChangeLocation) => (region) => (jsx("div", { className: "mb-2xs", children: jsx("button", { className: "cursor-pointer hover:text-primary-hover", onClick: () => {
@@ -3528,7 +3546,7 @@
3528
3546
  const renderRegionGroup = (onChangeLocation) => ([letter, regions]) => (jsxs("div", { className: "break-inside-avoid mb-2xl w-56", children: [jsx("div", { className: "mb-s", children: jsx(Text, { size: "text-h6", children: letter }) }), regions.map(renderRegion(onChangeLocation))] }, letter));
3529
3547
 
3530
3548
  const SearchBar = JSX(({ className, searchTerm, onSearch }) => {
3531
- return (jsxs("form", { className: `font-sans relative ${className}`, children: [jsx("div", { className: "absolute rounded h-full flex items-center justify-center pl-4 max-w-44 gap-3.5 pointer-events-none", children: searchTerm ? null : (jsx("label", { htmlFor: "search-bar-input", className: `text-secondary-text `, children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0444\u0438\u043B\u0438\u0430\u043B\u0430\u043C" })) }), jsx("input", { id: "search-bar-input", className: `h-12 pl-4 w-full peer text-l text-black border border-solid rounded-md box-border
3549
+ return (jsxs("form", { className: `font-sans relative ${className}`, children: [jsx("div", { className: "absolute rounded h-full flex items-center justify-center pl-m max-w-44 gap-s pointer-events-none", children: searchTerm ? null : (jsx("label", { htmlFor: "search-bar-input", className: `text-secondary-text `, children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0444\u0438\u043B\u0438\u0430\u043B\u0430\u043C" })) }), jsx("input", { id: "search-bar-input", className: `h-12 pl-m w-full peer text-l text-black border border-solid rounded-md box-border
3532
3550
  outline-none border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text`, value: searchTerm, onChange: (e) => onSearch(e.target.value.toLowerCase()), type: "text", name: "location-search-bar-input" })] }));
3533
3551
  });
3534
3552
 
@@ -3566,7 +3584,7 @@
3566
3584
  default: 'w-6 h-6',
3567
3585
  large: 'w-12 h-12',
3568
3586
  };
3569
- const HeaderSecondaryMenuButton = JSX(({ className, isRounded, buttonSize = 'default', isGrayBg = false, disabled, ariaLabel, image, onClick, }) => (jsx("button", { className: style('group/btn border-0 flex shrink-0 items-center', isGrayBg ? 'p-3 rounded-full' : 'p-0 bg-inherit', isGrayBg && !isRounded ? 'bg-main-divider' : '', isRounded
3587
+ const HeaderSecondaryMenuButton = JSX(({ className, isRounded, buttonSize = 'default', isGrayBg = false, disabled, ariaLabel, image, onClick, }) => (jsx("button", { className: style('group/btn border-0 flex shrink-0 items-center', isGrayBg ? 'p-s rounded-full' : 'p-0 bg-inherit', isGrayBg && !isRounded ? 'bg-main-divider' : '', isRounded
3570
3588
  ? 'w-8 h-8 text-secondary-light hover:text-secondary-hove'
3571
3589
  : `${BUTTON_SIZE_STYLE[buttonSize]} text-primary-text hover:text-primary-main`, 'group-data-transparent:text-white', className), type: "button", disabled: disabled, "aria-label": ariaLabel, onClick: onClick, children: jsx(Img, { image: image, className: style('h-full', isRounded ? 'bg-main-divider/20 rounded-full' : ''), imageClassName: "group-hover/btn:text-primary-hover group-hover/btn:invert-0" }) })));
3572
3590
 
@@ -3577,7 +3595,7 @@
3577
3595
  const openSearchDialog = useCallback(() => searchDialog.open(), []);
3578
3596
  const locationDialog = useLocationDialog();
3579
3597
  const openLocationDialog = useCallback(() => locationDialog.open(), []);
3580
- return (jsxs("div", { className: style('flex items-center gap-5', className), children: [jsx(TopItem, { flat: true, href: "#", text: currentLocation?.name, onClick: openLocationDialog }), officesLink ? jsx(TopItem, { flat: true, href: officesLink, text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B" }) : null, jsx(HeaderSecondaryMenuButton, { image: { icon: 'LoupeIcon', iconVersion }, ariaLabel: "\u041F\u043E\u0438\u0441\u043A", onClick: openSearchDialog })] }));
3598
+ return (jsxs("div", { className: style('flex items-center gap-lg', className), children: [jsx(TopItem, { flat: true, href: "#", text: currentLocation?.name, onClick: openLocationDialog }), officesLink ? jsx(TopItem, { flat: true, href: officesLink, text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B" }) : null, jsx(HeaderSecondaryMenuButton, { image: { icon: 'LoupeIcon', iconVersion }, ariaLabel: "\u041F\u043E\u0438\u0441\u043A", onClick: openSearchDialog })] }));
3581
3599
  });
3582
3600
 
3583
3601
  const isHrefActive = (router) => ({ href }) => withoutQuery(isURL(href) ? router.href : router.pathname).startsWith(withoutQuery(href));
@@ -3597,9 +3615,9 @@
3597
3615
  const ref = useOutsideClick(handleClickOutside);
3598
3616
  return (jsxs("div", { className: style(visible ? 'bg-white rounded-md shadow-blue-gray' : '', className), ref: ref, children: [jsx("button", { className: "group/btn flex justify-between items-center h-6", "aria-label": `${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`, onClick: handleToggle, children: Array(3)
3599
3617
  .fill(null)
3600
- .map((_, i) => (jsx("div", { className: "w-[3px] h-[3px] rounded mr-1 bg-primary-text group-hover/btn:bg-primary-hover group-data-transparent:bg-white" }, String(i)))) }), jsx("div", { className: style('absolute flex flex-col rounded-md bg-white p-6 pb-2', visible ? '' : 'hidden'), "aria-hidden": !visible, children: items?.map((item, i) => {
3618
+ .map((_, i) => (jsx("div", { className: "w-[3px] h-[3px] rounded mr-2xs bg-primary-text group-hover/btn:bg-primary-hover group-data-transparent:bg-white" }, String(i)))) }), jsx("div", { className: style('absolute flex flex-col rounded-md bg-white p-xl pb-xs', visible ? '' : 'hidden'), "aria-hidden": !visible, children: items?.map((item, i) => {
3601
3619
  const { text, ...linkProps } = item;
3602
- return (jsx("a", { className: style('text-l font-light pb-4 hover:text-primary-main', item === activeItem ? 'text-primary-main' : ''), ...link(linkProps), children: text }, item.href || String(i)));
3620
+ return (jsx("a", { className: style('text-l font-light pb-m hover:text-primary-main', item === activeItem ? 'text-primary-main' : ''), ...link(linkProps), children: text }, item.href || String(i)));
3603
3621
  }) })] }));
3604
3622
  });
3605
3623
 
@@ -3679,10 +3697,10 @@
3679
3697
  const renderChatBotButton = ({ className, iconVersion, onClick }) => (jsx(HeaderSecondaryMenuButton, { className: style(CHAT_BUTTON_EXTERNAL_NAME, className), image: { icon: 'HeadphonesIcon', iconVersion }, ariaLabel: "\u0427\u0430\u0442", onClick: onClick, buttonSize: "large", isGrayBg: true }));
3680
3698
 
3681
3699
  const BUTTON_STYLE = {
3682
- default: 'px-5 bg-main-divider rounded hover:text-primary-main',
3700
+ default: 'px-lg bg-main-divider rounded hover:text-primary-main',
3683
3701
  transparent: 'text-white hover:text-primary-hover',
3684
3702
  };
3685
- const InternetBankButton = JSX(({ version, internetBankUrl }) => internetBankUrl ? (jsx(Button, { href: internetBankUrl, ariaLabel: "\u0418\u043D\u0442\u0435\u0440\u043D\u0435\u0442-\u0431\u0430\u043D\u043A", target: "_blank", className: style('py-3 ml-3 text-l font-light whitespace-nowrap hover:text-primary-main', BUTTON_STYLE[version === 'transparent' ? 'transparent' : 'default']), children: "\u0418\u043D\u0442\u0435\u0440\u043D\u0435\u0442-\u0431\u0430\u043D\u043A" })) : null);
3703
+ const InternetBankButton = JSX(({ version, internetBankUrl }) => internetBankUrl ? (jsx(Button, { href: internetBankUrl, ariaLabel: "\u0418\u043D\u0442\u0435\u0440\u043D\u0435\u0442-\u0431\u0430\u043D\u043A", target: "_blank", className: style('py-s ml-s text-l font-light whitespace-nowrap hover:text-primary-main', BUTTON_STYLE[version === 'transparent' ? 'transparent' : 'default']), children: "\u0418\u043D\u0442\u0435\u0440\u043D\u0435\u0442-\u0431\u0430\u043D\u043A" })) : null);
3686
3704
 
3687
3705
  const HeaderSubMenu = JSX(({ subItems = [], version, internetBankUrl }) => {
3688
3706
  const iconVersion = version === 'transparent' ? 'white' : 'black';
@@ -3697,7 +3715,7 @@
3697
3715
  ? handleIntersectionActivation(index)
3698
3716
  : handleIntersectionDeactivation(index));
3699
3717
  }), [subItems]);
3700
- 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 })] }));
3718
+ 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 space-x-3xl", children: subItems.map((_, i) => (jsx(HeaderSubMenuItem, { className: 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-4xl", iconVersion: iconVersion, chat: projectSettings.CHAT_BOT })) : null, jsx(InternetBankButton, { version: version, internetBankUrl: internetBankUrl })] }));
3701
3719
  });
3702
3720
  const handleIntersectionActivation = (index) => (prev) => Math.max(prev, index + 1);
3703
3721
  const handleIntersectionDeactivation = (index) => (prev) => Math.min(prev, index);
@@ -3756,13 +3774,13 @@
3756
3774
  : null, renderArrows({
3757
3775
  ...controls,
3758
3776
  btnClass: ['left-12', 'right-12'],
3759
- className: 'top-[62px]',
3760
- }), canDec ? (jsx("div", { className: "absolute top-0 left-0 h-full w-[136px] bg-opacity-from-white" })) : null, canInc ? (jsx("div", { className: "absolute top-0 right-0 h-full w-[136px] bg-opacity-to-white" })) : null] }), jsx(Button, { className: "w-60 text-center", version: "primary", ...button, href: activeHref })] }));
3777
+ className: 'top-16',
3778
+ }), canDec ? (jsx("div", { className: "absolute top-0 left-0 h-full w-32 bg-opacity-from-white" })) : null, canInc ? (jsx("div", { className: "absolute top-0 right-0 h-full w-32 bg-opacity-to-white" })) : null] }), jsx(Button, { className: "w-60 text-center", version: "primary", ...button, href: activeHref })] }));
3761
3779
  });
3762
3780
  function renderGallery({ activeIndex, cards, selectedCardIndex, onClick }) {
3763
3781
  const tabsShiftWidth = activeIndex * 460;
3764
3782
  const cardsAlignStyle = cards.length > 2 ? 'justify-start' : 'justify-center';
3765
- 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({
3783
+ return (jsx("div", { style: { transform: `translateX(-${tabsShiftWidth}px)` }, className: "duration-1000 px-6xl", children: jsx("div", { className: `w-full flex flex-nowrap gap-s pb-6xl ${cardsAlignStyle}`, children: cards.map((slide, i) => renderNavButton$2({
3766
3784
  slide,
3767
3785
  i,
3768
3786
  isActive: Boolean(i === selectedCardIndex),
@@ -3773,10 +3791,10 @@
3773
3791
  const btnClassName = isActive
3774
3792
  ? 'shadow-dark-blue border-primary-main'
3775
3793
  : `ease-in duration-300 border-gray`;
3776
- return (jsxs("button", { type: "button", onClick: onClick, className: `p-3xl min-w-[460px] flex items-center bg-white border-solid border relative ${btnClassName}`, children: [slide?.icon ? (jsx(Img, { className: "p-5 rounded-full bg-secondary-light mr-[30px]", image: slide.icon, width: "108", height: "108" })) : null, jsxs("div", { className: "flex gap-3.5", children: [slide?.sum ? renderValueBlock$1('страховая сумма', slide.sum) : null, slide?.fee ? renderValueBlock$1('страховой взнос', slide.fee) : null] }), renderDoneIcon(isActive)] }, String(i)));
3794
+ return (jsxs("button", { type: "button", onClick: onClick, className: `p-3xl min-w-fit flex items-center gap-2xl bg-white border-solid border relative ${btnClassName}`, children: [slide?.icon ? (jsx(Img, { className: "p-lg rounded-full bg-secondary-light", image: slide.icon, width: "108", height: "108" })) : null, jsxs("div", { className: "flex gap-s", children: [slide?.sum ? renderValueBlock$1('страховая сумма', slide.sum) : null, slide?.fee ? renderValueBlock$1('страховой взнос', slide.fee) : null] }), renderDoneIcon(isActive)] }, String(i)));
3777
3795
  }
3778
3796
  function renderValueBlock$1(title, sum) {
3779
- return (jsxs("div", { className: "flex flex-col text-left whitespace-pre", children: [jsxs("span", { className: "text-h6", children: [toLocalNumberFormat(2)(sum), " \u20BD"] }), jsx("span", { className: "text-secondary-text text-l mt-1", children: title })] }));
3797
+ return (jsxs("div", { className: "flex flex-col text-left whitespace-pre", children: [jsxs("span", { className: "text-h6", children: [toLocalNumberFormat(2)(sum), " \u20BD"] }), jsx("span", { className: "text-secondary-text text-l mt-2xs", children: title })] }));
3780
3798
  }
3781
3799
  function renderDoneIcon(isActive) {
3782
3800
  return isActive ? (jsx(Img, { className: `h-6 w-6 min-w-6 min-h-6 absolute right-4 top-4`, image: { icon: 'DoneIcon' }, width: "24", height: "24" })) : null;
@@ -3803,7 +3821,7 @@
3803
3821
  };
3804
3822
  function renderNavButton$1({ title, i, isActive, onClick }) {
3805
3823
  const btnClassName = isActive ? 'bg-primary-main text-white rounded-md' : `text-secondary-text`;
3806
- return (jsx("button", { type: "button", onClick: onClick, "aria-label": title, className: `box-border px-4 py-3 text-m font-light ${btnClassName}`, children: title }, String(i)));
3824
+ return (jsx("button", { type: "button", onClick: onClick, "aria-label": title, className: `box-border px-m py-s text-m font-light ${btnClassName}`, children: title }, String(i)));
3807
3825
  }
3808
3826
 
3809
3827
  const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
@@ -3827,12 +3845,12 @@
3827
3845
  if (investmentZeroColumn) {
3828
3846
  columns.unshift(investmentZeroColumn);
3829
3847
  }
3830
- 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] }) }));
3848
+ return (jsx(BlockWrapper, { className: className, ...rest, children: jsxs("div", { className: "container text-m font-light space-y-4xl", 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: "max-w-[657px]", items: items, isDotted: isDotted, listItemSize: "M" })) : null] }) }));
3831
3849
  });
3832
3850
  const renderInvestmentColumn = (column, i, arr) => {
3833
3851
  const isSecondColumn = i === 1;
3834
3852
  const isLastColumn = i === arr.length - 1;
3835
- 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}`));
3853
+ 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-[292px]' : ''}`, children: column.cells.reverse().map(renderInvestmentCell) })) : null }, `column_${i}`));
3836
3854
  };
3837
3855
  const getColumnClasses = (isSecondColumn, isLastColumn, cells = []) => [
3838
3856
  cells.length ? 'flex-1' : 'flex-0',
@@ -3858,7 +3876,7 @@
3858
3876
  return `${parseFloat((bytes / Math.pow(KILO, i)).toFixed(decimals))} ${KILO_SIZES[i]}`;
3859
3877
  };
3860
3878
 
3861
- 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] })));
3879
+ const LinkDocItem = JSX(({ icon, text, fileSize, ...linkProps }) => (jsxs("a", { className: "flex box-border gap-s 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] })));
3862
3880
  const formatSuffix = (ext, fileSize) => {
3863
3881
  const prefix = ext || fileSize ? ',' : '';
3864
3882
  const extension = ext ? ` ${ext}` : '';
@@ -3881,7 +3899,7 @@
3881
3899
  };
3882
3900
  const LinkDocs = JSX(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => {
3883
3901
  const router = useRouter();
3884
- return (jsxs(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, align: align, headlineVersion: "M", as: "h2", isPadding: false }), 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] }));
3902
+ return (jsxs(BlockWrapper, { className: style('space-y-lg', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, align: align, headlineVersion: "M", as: "h2", isEmbedded: true }), documents?.length ? (jsx("div", { className: style('grid gap-xl', columnsMode === 'double' ? '@md:grid-cols-2' : 'grid-cols-1', linkColumnsModeStyleMap[columnsMode]), role: "list", children: documents.map(renderLinkDocItem(router, columnsMode, icon)) })) : null] }));
3885
3903
  });
3886
3904
  const renderLinkDocItem = (router, columnsMode, icon) => (docBlockDef, i) => {
3887
3905
  const href = docBlockDef?.docType === 'Attachment'
@@ -3890,18 +3908,20 @@
3890
3908
  const fileSize = docBlockDef?.docType === 'Attachment'
3891
3909
  ? formatBytes(docBlockDef?.attachment?.fileSize || 0)
3892
3910
  : docBlockDef?.fileSize;
3893
- return (jsx("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: jsx(LinkDocItem, { text: docBlockDef?.text, target: docBlockDef?.target, href: href, fileSize: fileSize, icon: icon ? jsx(Img, { className: linkIconStyle, image: icon, width: "24", height: "24" }) : null }) }, String(i)));
3911
+ return (jsx("div", { role: "listitem", children: jsx(LinkDocItem, { text: docBlockDef?.text, target: docBlockDef?.target, href: href, fileSize: fileSize, icon: icon ? jsx(Img, { className: linkIconStyle, image: icon, width: "24", height: "24" }) : null }) }, String(i)));
3894
3912
  };
3895
3913
 
3896
3914
  const renderDescription$1 = (description) => description ? (jsx("div", { className: "mb-lg pt-3xs", children: jsx(Text, { size: "text-xl", "font-weight": "light", children: description }) })) : null;
3897
3915
 
3898
3916
  const renderList$1 = (items) => {
3899
- 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" }));
3917
+ return items?.length ? (jsx(List, { items: items, className: "text-l font-light" })) : (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" }));
3900
3918
  };
3901
3919
 
3920
+ const buttonsConditionStyle = (buttons) => renderButtonsSection(buttons, { isVertical: false });
3921
+
3902
3922
  const MobileAppTile = JSX(({ className, padding, alignTitle = 'left', buttons = [], description, headingType = 'h4', image, items, qr, title = 'Мобильное приложение', version = 'primary', ...rest }) => {
3903
3923
  const containerStyle = version === 'secondary' ? 'p-m min-w-32' : 'min-w-24';
3904
- 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, rightImage: image?.src ? jsx(Img, { className: "hidden lg:block", image: image }) : 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, { className: "lg:hidden", image: image }) : null] })] }) }));
3924
+ 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, rightImage: image?.src ? jsx(Img, { className: "hidden lg:block", image: image }) : null, buttons: buttonsConditionStyle(buttons), 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, { className: "lg:hidden", image: image }) : null] })] }) }));
3905
3925
  });
3906
3926
 
3907
3927
  const tabPaddingStyleMap = {
@@ -3985,7 +4005,7 @@
3985
4005
  const suggestedHotFilterIndex = hotFilters.findIndex((_) => hotFilterRecordCmp(_.filter, filtrationState));
3986
4006
  setHotFilterIndex(suggestedHotFilterIndex !== -1 ? suggestedHotFilterIndex : 0);
3987
4007
  }, [hotFilters, filtrationState]);
3988
- return (jsxs(BlockWrapper, { className: style(className), defaultPadding: "p-0", version: "transparent", ...rest, children: [jsx(TabsControl, { className: "mb-2xs", items: tabsControlItems, value: tabsControlItems[hotFilterIndex], onChange: handleHotFilterSelect }), renderFiltrationForm({ field, reset, filtrationSchema, resetButton }), jsx(BaseFiltrationInner, { filtrationState: filtrationState, ...rest })] }));
4008
+ return (jsxs(BlockWrapper, { className: style('space-y-2xs', className), defaultPadding: "p-0", version: "transparent", ...rest, children: [jsx(TabsControl, { className: "mb-2xs", items: tabsControlItems, value: tabsControlItems[hotFilterIndex], onChange: handleHotFilterSelect }), renderFiltrationForm({ field, reset, filtrationSchema, resetButton }), jsx(BaseFiltrationInner, { filtrationState: filtrationState, ...rest })] }));
3989
4009
  });
3990
4010
  MortgageFiltration.childrenTypes = ['ProductTile'];
3991
4011
  MortgageFiltration.childSchema = (content) => content?.filtrationSchema || {};
@@ -4060,7 +4080,7 @@
4060
4080
  const getYandexMapUrl = () => {
4061
4081
  return `https://yandex.ru/maps/?ll=${[pointsCenter[1], pointsCenter[0]]}&z=10&l=map`;
4062
4082
  };
4063
- return (jsx("a", { className: `select-none cursor-pointer px-9 h-12 bg-primary-main text-white ${Object.values(styles$3).join(' ')}`, href: getYandexMapUrl(), target: "_blank", children: "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430 \u043A\u0430\u0440\u0442\u0435" }));
4083
+ return (jsx("a", { className: `select-none cursor-pointer px-4xl h-12 bg-primary-main text-white ${Object.values(styles$3).join(' ')}`, href: getYandexMapUrl(), target: "_blank", children: "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430 \u043A\u0430\u0440\u0442\u0435" }));
4064
4084
  };
4065
4085
 
4066
4086
  const styles$2 = {
@@ -4111,7 +4131,7 @@
4111
4131
  map.geoObjects.add(result.geoObjects);
4112
4132
  });
4113
4133
  };
4114
- return (jsx("div", { className: `select-none cursor-pointer py-4 w-12 bg-white ${Object.values(styles$1).join(' ')} ${className}`, onClick: setUserGeoLocation, children: jsx(Icon, { name: "UserGeoLocationIcon", width: "20", height: "16" }) }));
4134
+ return (jsx("div", { className: `select-none cursor-pointer py-m w-12 bg-white ${Object.values(styles$1).join(' ')} ${className}`, onClick: setUserGeoLocation, children: jsx(Icon, { name: "UserGeoLocationIcon", width: "20", height: "16" }) }));
4115
4135
  };
4116
4136
 
4117
4137
  const YMAPS_NAMESPACE = 'ymaps';
@@ -4300,13 +4320,13 @@
4300
4320
  const renderCurrentDaySchedule = ({ lunchHour, status, workTime }) => {
4301
4321
  const hasTime = /\d+/gi.test(lunchHour);
4302
4322
  const lunchHourText = hasTime ? `Перерыв ${lunchHour}` : lunchHour;
4303
- return status ? (jsxs("div", { className: "flex", children: [jsx("div", { className: "p-3 border rounded-md text-m flex items-center cursor-pointer text-primary-main border-green-light mr-4", children: workTime ? workTime : null }), jsx("div", { className: "p-3 border rounded-md text-m flex items-center cursor-pointer text-yellow border-golden", children: lunchHour ? lunchHourText : null })] })) : (jsx("div", { className: "flex", children: jsx("div", { className: "p-3 border rounded-md text-m flex items-center cursor-pointer text-error border-error", children: "\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0439" }) }));
4323
+ return status ? (jsxs("div", { className: "flex gap-m", children: [jsx("div", { className: "p-s border rounded-md text-m flex items-center cursor-pointer text-primary-main border-green-light", children: workTime ? workTime : null }), jsx("div", { className: "p-s border rounded-md text-m flex items-center cursor-pointer text-yellow border-golden", children: lunchHour ? lunchHourText : null })] })) : (jsx("div", { className: "flex", children: jsx("div", { className: "p-s border rounded-md text-m flex items-center cursor-pointer text-error border-error", children: "\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0439" }) }));
4304
4324
  };
4305
- const renderNearbyOffice = ({ icon, title, distance, time }, index) => (jsxs("div", { className: "flex mr-4", children: [jsx(Icon, { name: icon, width: "16", height: "16", className: "mr-1" }), title ? jsxs(Text, { size: "text-m", children: [title, "\u00A0"] }) : null, jsxs(Text, { size: "text-m", font: "font-light", children: [distance ? ` (${distance})` : null, time ? `, ${time}` : null] })] }, `nearbyOffice${index}`));
4306
- const renderDay = ({ title, status, workTime, lunchHour, description }, inx) => (jsxs("div", { className: "flex flex-col pb-3 border-b border-solid border-main-divider mb-3 last:border-0", children: [jsxs("div", { className: "flex justify-between items-center w-full pb-1 text-l text-primary-text", children: [jsx("div", { children: title }), status ? null : jsx("div", { className: "text-m font-light text-error", children: "\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0439" }), status && workTime ? jsx("div", { children: workTime }) : null] }), status && lunchHour ? renderLunchHour(lunchHour) : null, description ? (jsx("div", { className: "pb-1 text-s font-light text-secondary-text", children: description })) : null] }, `day${inx}`));
4325
+ const renderNearbyOffice = ({ icon, title, distance, time }, index) => (jsxs("div", { className: "flex mr-m", children: [jsx(Icon, { name: icon, width: "16", height: "16", className: "mr-xs" }), title ? jsxs(Text, { size: "text-m", children: [title, "\u00A0"] }) : null, jsxs(Text, { size: "text-m", font: "font-light", children: [distance ? ` (${distance})` : null, time ? `, ${time}` : null] })] }, `nearbyOffice${index}`));
4326
+ const renderDay = ({ title, status, workTime, lunchHour, description }, inx) => (jsxs("div", { className: "flex flex-col gap-2xs pb-s border-b border-solid border-main-divider mb-s last:border-0", children: [jsxs("div", { className: "flex justify-between items-center w-full text-l text-primary-text", children: [jsx("div", { children: title }), status ? null : jsx("div", { className: "text-m font-light text-error", children: "\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0439" }), status && workTime ? jsx("div", { children: workTime }) : null] }), status && lunchHour ? renderLunchHour(lunchHour) : null, description ? (jsx("div", { className: "text-s font-light text-secondary-text", children: description })) : null] }, `day${inx}`));
4307
4327
  const renderLunchHour = (lunchHour) => {
4308
4328
  const hasTime = /\d+/gi.test(lunchHour);
4309
- return hasTime ? (jsxs("div", { className: "flex justify-between items-center w-full pb-1 text-m font-light text-error", children: [jsx("div", { children: "\u041F\u0435\u0440\u0435\u0440\u044B\u0432" }), jsx("div", { children: lunchHour })] })) : (jsx("div", { className: "flex justify-between items-center w-full pb-1 text-m font-light text-primary-main", children: jsx("div", { children: lunchHour }) }));
4329
+ return hasTime ? (jsxs("div", { className: "flex justify-between items-center w-full text-m font-light text-error", children: [jsx("div", { children: "\u041F\u0435\u0440\u0435\u0440\u044B\u0432" }), jsx("div", { children: lunchHour })] })) : (jsx("div", { className: "flex justify-between items-center w-full", children: jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-main", children: lunchHour }) }));
4310
4330
  };
4311
4331
 
4312
4332
  const OfficeMap = JSX(({ className = '' }) => {
@@ -4340,7 +4360,7 @@
4340
4360
  ];
4341
4361
  const currentWeekDayInd = new Date().getDay();
4342
4362
  const currentWeekDay = currentWeekDayInd > 0 ? workScheduleWeek[currentWeekDayInd - 1] : workScheduleWeek[6];
4343
- return (jsxs("div", { className: `flex flex-col font-sans w-full ${className}`, children: [jsxs("div", { className: "flex flex-col gap-m p-6xl pb-3xl", 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", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24", className: "pr-1" }), address] }), jsx("div", { className: "flex", children: nearbyOffices.map(renderNearbyOffice) })] }), jsxs("div", { className: "flex justify-between", 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] p-6xl pt-0 flex flex-col", children: workScheduleWeek.map(renderDay) })] })] }));
4363
+ return (jsxs("div", { className: `flex flex-col font-sans w-full ${className}`, children: [jsxs("div", { className: "flex flex-col gap-m p-6xl pb-3xl", 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", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24", className: "pr-2xs" }), address] }), jsx("div", { className: "flex", children: nearbyOffices.map(renderNearbyOffice) })] }), jsxs("div", { className: "flex justify-between", 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] p-6xl pt-0 flex flex-col", children: workScheduleWeek.map(renderDay) })] })] }));
4344
4364
  });
4345
4365
 
4346
4366
  const OfficeServicesBlock = JSX(({ className = '', title, servicesList, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col gap-lg', className), ...rest, children: [title ? jsx(Heading, { headingType: "h5", title: title }) : null, servicesList?.length ? (jsx("ul", { className: "list-none space-y-lg", children: servicesList.map(renderListItems) })) : null] })));
@@ -4354,7 +4374,7 @@
4354
4374
  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)) }) })));
4355
4375
 
4356
4376
  const GOLDEN_RATIO = 1.618;
4357
- 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() })] })));
4377
+ 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", isEmbedded: true }), jsx("figure", { className: "m-0 mt-xl min-w-[80%]", children: renderShimmer() })] })));
4358
4378
  const renderShimmer = (size = 3) => goldenSequence(100, size)
4359
4379
  .map((_) => Math.floor(_))
4360
4380
  .map(renderShimmerItem);
@@ -4364,7 +4384,7 @@
4364
4384
  function renderBackwardButton({ text, href, target, icon }, version) {
4365
4385
  const iconVersion = version === 'primary' ? 'white' : 'black';
4366
4386
  const commonProps = { text, href, target, ariaLabel: text };
4367
- return (jsxs("div", { className: "flex items-center gap-3", children: [jsx(Button, { className: "w-12 h-12 min-h-12 min-w-12 flex items-center justify-center", version: version, rounded: true, ...commonProps, children: jsx(Img, { className: "w-4 h-4", image: {
4387
+ return (jsxs("div", { className: "flex items-center gap-s", children: [jsx(Button, { className: "w-12 h-12 min-h-12 min-w-12 flex items-center justify-center", version: version, rounded: true, ...commonProps, children: jsx(Img, { className: "w-4 h-4", image: {
4368
4388
  ...icon,
4369
4389
  icon: icon?.icon || 'ArrowLeftIcon',
4370
4390
  iconVersion: icon?.iconVersion || iconVersion,
@@ -4383,19 +4403,19 @@
4383
4403
  const isActive = i === activeSlideIndex;
4384
4404
  const btnClassName = isActive
4385
4405
  ? 'min-w-[350px] bg-white shadow-dark-blue border-none p-6'
4386
- : 'min-w-[290px] ease-in duration-300 bg-white/10 px-6 py-5 hover:py-6 backdrop-blur';
4406
+ : 'min-w-72 ease-in duration-300 bg-white/10 px-xl py-lg hover:py-xl backdrop-blur';
4387
4407
  const btnTitleClassName = isActive
4388
- ? 'text-primary-text text-h6 py-2'
4389
- : 'text-l pb-1 text-secondary-text group-data-secondary:text-white';
4408
+ ? 'text-primary-text text-h6 py-xs'
4409
+ : 'text-l pb-2xs text-secondary-text group-data-secondary:text-white';
4390
4410
  const btnDescClassName = isActive
4391
4411
  ? 'text-secondary-text text-l font-light'
4392
4412
  : 'text-secondary-text text-m font-light group-data-secondary:text-white/80';
4393
- 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)));
4413
+ return (jsxs("button", { type: "button", onClick: () => onClick(i), "aria-label": nav?.title, className: style('relative px-xl 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)));
4394
4414
  };
4395
4415
 
4396
4416
  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 }) })));
4397
4417
 
4398
- 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 })] }) })));
4418
+ 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", isEmbedded: true })) : null, buttons: renderButtonsSection(buttons), children: [date ? jsx("div", { className: "text-s mb-xs", children: formatDate(date) }) : null, jsx("div", { className: "text-l", children: description })] }) })));
4399
4419
  function formatDate(date) {
4400
4420
  const dateObj = new Date(date);
4401
4421
  const dateFormat = {
@@ -4408,7 +4428,7 @@
4408
4428
 
4409
4429
  const RepresentativeOfficeInfo = JSX(({ address, email, telephone, button, className = '', __html, icon, title, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border text-left space-y-s', className), version: version, ...rest, children: [jsxs("div", { className: "w-full flex justify-between flex-row-reverse", children: [renderIconBlock(icon), title ? jsx(Heading, { headingType: "h4", as: "h3", title: title }) : null] }), jsxs("div", { className: "w-full space-y-m", children: [__html ? renderDescriptionBlock(__html) : null, renderBlock('Адрес', address, 'GeolocationIcon'), renderBlock('Телефон', telephone, 'PhoneIcon'), renderBlock('E-mail', email, 'MailIcon'), button?.text ? renderButtonsSection([button]) : null] })] })));
4410
4430
  const renderIconBlock = (icon) => (jsx("div", { className: 'w-10 h-7 sm:w-24 sm:h-16', children: icon?.src || icon?.icon ? jsx(Img, { image: icon }) : null }));
4411
- const renderDescriptionBlock = (__html) => (jsx("div", { className: "border-b border-main-divider pb-5", children: jsx(RichText, { __html: __html }) }));
4431
+ const renderDescriptionBlock = (__html) => (jsx("div", { className: "border-b border-main-divider", children: jsx(RichText, { __html: __html }) }));
4412
4432
  const renderBlock = (blockName, data, iconName) => (jsxs("div", { className: "flex gap-m", children: [jsx(Icon, { iconVersion: "black", name: iconName, width: "24", height: "24" }), jsxs("div", { className: "flex flex-col", children: [jsx(Text, { size: "text-m", font: "font-light", children: blockName }), data ? (jsx(Text, { size: "text-h6", color: "text-green", children: data })) : null] })] }));
4413
4433
 
4414
4434
  const RichTextBlock = JSX((props) => {
@@ -4416,19 +4436,19 @@
4416
4436
  return (jsx(BlockWrapper, { defaultPadding: "p-0", ...rest, children: jsx(RichText, { __html: __html, richVersion: richVersion }) }));
4417
4437
  });
4418
4438
 
4419
- const foldableSectionStyles = 'grid grid-cols-12 [&>*]:pb-4';
4439
+ const foldableSectionStyles = 'grid grid-cols-12 [&>*]:pb-m';
4420
4440
 
4421
4441
  const getIconName = (isUnfolded) => (isUnfolded ? 'MinusIcon' : 'PlusIcon');
4422
4442
 
4423
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
4424
- const renderRoundedIcon = (_icon, _iconBgVersion) => null;
4425
-
4426
4443
  const rollupIconVersion = 'color';
4427
4444
 
4428
4445
  const rollupItemStyles = 'border-0 border-b border-solid border-main-divider last:border-b-0';
4429
4446
 
4430
- const RollupItem = JSX(({ className = '', label = 'Развернуть', labelIcon, labelIconBgVersion, isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => {
4431
- return (jsx(BlockWrapper, { className: style('w-full', rollupItemStyles, className), defaultPadding: "p-0", tag: "div", version: "transparent", ...rest, children: jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { className: style('gap-5', foldableSectionStyles), isUnfolded: isUnfolded, children: renderChildren({
4447
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
4448
+ const renderRoundedIcon = (_icon, _iconBgVersion) => null;
4449
+
4450
+ const RollupItem = JSX(({ className = '', isExpanded, isFoldButtonOnTop = true, label = 'Развернуть', labelIcon, labelIconBgVersion, version = 'primary', ...rest }) => {
4451
+ return (jsx(BlockWrapper, { className: style('w-full', rollupItemStyles, className), defaultPadding: "p-0", tag: "div", version: "transparent", ...rest, children: jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { className: style('gap-lg', foldableSectionStyles), isUnfolded: isUnfolded, children: renderChildren({
4432
4452
  ...rest,
4433
4453
  extraProps: { className: 'w-full', padding: 'p-0' },
4434
4454
  }) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({
@@ -4467,9 +4487,9 @@
4467
4487
 
4468
4488
  const RegionsAndBranches = JSX(({ regions = [], selectedRegion, onSelectedRegion: onSelectedRegion, branches = [], selectedBranch, onSelectedBranch, }) => (jsxs("div", { className: "flex flex-col sm:flex-row gap-m order-1", children: [jsx("div", { className: "flex-1 min-w-0", children: jsx(WrapperSelect, { data: regions, fieldValue: "code", fieldLabel: "name", selected: selectedRegion, setSelected: onSelectedRegion, label: "\u0420\u0435\u0433\u0438\u043E\u043D" }) }), jsx("div", { className: "flex-1 min-w-0", children: jsx(WrapperSelect, { data: branches, fieldValue: "branchCode", fieldLabel: "address", selected: selectedBranch, setSelected: onSelectedBranch, label: "\u041E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435" }) })] })));
4469
4489
 
4470
- const Radio = JSX(({ name, text, value, checked, onChange, className }) => (jsx("div", { className: className, children: jsxs("label", { className: "font-sans flex items-center relative cursor-pointer", children: [jsx("input", { className: "appearance-none flex justify-center items-center shrink-0 w-5 h-5 border border-gray hover:border-primary-hover\n checked:border-2 checked:!border-primary-main focus:checked:border-primary-main focus:border-primary-text active:border-primary-text\n after:block after:w-2.5 after:h-2.5 after:rounded-full checked:after:bg-primary-main outline-none rounded-full cursor-pointer", type: "radio", value: value, name: name, checked: checked, onChange: (_) => onChange(_.target.value) }), text ? jsx("span", { className: "text-primary-text ml-3 cursor-pointer", children: text }) : null] }) })));
4490
+ const Radio = JSX(({ name, text, value, checked, onChange, className }) => (jsx("div", { className: className, children: jsxs("label", { className: "font-sans flex gap-s items-center relative cursor-pointer", children: [jsx("input", { className: "appearance-none flex justify-center items-center shrink-0 w-5 h-5 border border-gray hover:border-primary-hover\n checked:border-2 checked:!border-primary-main focus:checked:border-primary-main focus:border-primary-text active:border-primary-text\n after:block after:w-2.5 after:h-2.5 after:rounded-full checked:after:bg-primary-main outline-none rounded-full cursor-pointer", type: "radio", value: value, name: name, checked: checked, onChange: (_) => onChange(_.target.value) }), text ? jsx("span", { className: "text-primary-text cursor-pointer", children: text }) : null] }) })));
4471
4491
 
4472
- const RadioButtons = JSX(({ className }) => {
4492
+ const RadioButtons = JSX(({ className = '' }) => {
4473
4493
  const [selectedOption, setSelectedOption] = useState('option2');
4474
4494
  const onChange = useCallback((_) => setSelectedOption(_), []);
4475
4495
  return (jsxs("div", { className: style('order-4', className), 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 })] }));
@@ -4481,11 +4501,11 @@
4481
4501
  const RentalPeriod = JSX(({ days, setDays }) => (jsxs("div", { className: "order-1", children: [jsx(Text, { size: "text-m", font: "font-light", children: "\u0421\u0440\u043E\u043A \u0430\u0440\u0435\u043D\u0434\u044B" }), jsx(InputRange, { min: MIN, max: MAX, value: days, items: ITEMS, onChange: setDays })] })));
4482
4502
 
4483
4503
  const SafeBoxCases = JSX(({ caseVolumes = [], selectedCaseVolume, onSelectedCaseVolume, safeBoxCases = [], selectedBoxSize, onSelectedBoxSize, }) => {
4484
- return (jsxs("div", { className: "flex flex-col sm:flex-row gap-4 order-1", children: [jsx("div", { className: "flex-1 min-w-0", children: jsx(WrapperSelect, { data: caseVolumes, fieldLabel: "volume", selected: selectedCaseVolume, setSelected: onSelectedCaseVolume, label: "\u0420\u0430\u0437\u043C\u0435\u0440", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0430\u0437\u043C\u0435\u0440" }) }), jsx("div", { className: "flex-1 min-w-0", children: jsx(WrapperSelect, { data: safeBoxCases, fieldLabel: "safeBoxCasesSize", selected: selectedBoxSize, setSelected: onSelectedBoxSize, label: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u044F\u0447\u0435\u0439\u043A\u0438, \u043C\u043C (\u0412\u0445\u0428\u0445\u0414)", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u044F\u0447\u0435\u0439\u043A\u0438" }) })] }));
4504
+ return (jsxs("div", { className: "flex flex-col sm:flex-row gap-m order-1", children: [jsx("div", { className: "flex-1 min-w-0", children: jsx(WrapperSelect, { data: caseVolumes, fieldLabel: "volume", selected: selectedCaseVolume, setSelected: onSelectedCaseVolume, label: "\u0420\u0430\u0437\u043C\u0435\u0440", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0430\u0437\u043C\u0435\u0440" }) }), jsx("div", { className: "flex-1 min-w-0", children: jsx(WrapperSelect, { data: safeBoxCases, fieldLabel: "safeBoxCasesSize", selected: selectedBoxSize, setSelected: onSelectedBoxSize, label: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u044F\u0447\u0435\u0439\u043A\u0438, \u043C\u043C (\u0412\u0445\u0428\u0445\u0414)", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u044F\u0447\u0435\u0439\u043A\u0438" }) })] }));
4485
4505
  });
4486
4506
 
4487
4507
  const SafeDepositRentalFields = JSX(({ regions, selectedRegion, branches, selectedBranch, days, selectedCaseVolume, selectedBoxSize, safeBoxCases, caseVolumes, onChange, onClick, }) => {
4488
- return (jsxs("div", { className: "contents sm:block flex-1 space-y-xl", children: [jsx(RegionsAndBranches, { regions: regions, selectedRegion: selectedRegion, onSelectedRegion: (value) => onChange({ selectedRegion: value }), branches: branches, selectedBranch: selectedBranch, onSelectedBranch: onSelectedBranch(onChange) }), jsx(RentalPeriod, { days: days, setDays: (value) => onChange({ days: value }) }), jsx(SafeBoxCases, { caseVolumes: caseVolumes, selectedCaseVolume: selectedCaseVolume, onSelectedCaseVolume: onSelectedCaseVolume(onChange), safeBoxCases: safeBoxCases, selectedBoxSize: selectedBoxSize, onSelectedBoxSize: (value) => onChange({ selectedBoxSize: value }) }), jsx("div", { className: "order-4", children: jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: "\u0422\u0438\u043F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u0430" }) }), jsxs("div", { className: "contents sm:flex justify-between items-center", children: [jsx(RadioButtons, { className: "mb-4 sm:mb-0" }), jsx(Button, { text: "\u041E\u0444\u0438\u0441\u044B \u043D\u0430 \u043A\u0430\u0440\u0442\u0435", version: "primary", onClick: onClick, className: "order-6" })] })] }));
4508
+ return (jsxs("div", { className: "contents sm:block flex-1 space-y-xl", children: [jsx(RegionsAndBranches, { regions: regions, selectedRegion: selectedRegion, onSelectedRegion: (value) => onChange({ selectedRegion: value }), branches: branches, selectedBranch: selectedBranch, onSelectedBranch: onSelectedBranch(onChange) }), jsx(RentalPeriod, { days: days, setDays: (value) => onChange({ days: value }) }), jsx(SafeBoxCases, { caseVolumes: caseVolumes, selectedCaseVolume: selectedCaseVolume, onSelectedCaseVolume: onSelectedCaseVolume(onChange), safeBoxCases: safeBoxCases, selectedBoxSize: selectedBoxSize, onSelectedBoxSize: (value) => onChange({ selectedBoxSize: value }) }), jsx("div", { className: "order-4", children: jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: "\u0422\u0438\u043F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u0430" }) }), jsxs("div", { className: "contents sm:flex justify-between items-center gap-m", children: [jsx(RadioButtons, {}), jsx(Button, { text: "\u041E\u0444\u0438\u0441\u044B \u043D\u0430 \u043A\u0430\u0440\u0442\u0435", version: "primary", onClick: onClick, className: "order-6" })] })] }));
4489
4509
  });
4490
4510
  const onSelectedBranch = (onChange) => (value) => {
4491
4511
  onChange({ selectedBranch: value, selectedCaseVolume: '', selectedBoxSize: '' });
@@ -4497,10 +4517,10 @@
4497
4517
  const SafeDepositRentalTotal = JSX(({ days, tariffs = [] }) => {
4498
4518
  const price = calculatePrice(days, tariffs);
4499
4519
  const imageDescription = 'На рисунке изображена пачка листов\nформата А4';
4500
- return (jsxs("div", { className: "contents sm:flex flex-col justify-between order-2", children: [jsxs("div", { className: "flex flex-col sm:flex-row gap-x-11 gap-y-7 order-5 sm:order-none py-7 sm:py-0 border-t border-main-divider sm:border-none", children: [renderTotal('Аренда за', days), renderTotal('Цена', price + ' ₽')] }), jsx("span", { className: "sm:hidden order-3 mb-2 text-s-light text-secondary-text", children: imageDescription }), jsxs("div", { className: "flex flex-col items-center gap-3 order-3 sm:order-none mb-6 sm:mb-0 bg-primary-main py-3 sm:p-8 text-center", children: [jsx(Img, { image: { icon: 'PackA4Icon' }, className: "sm:h-[246px]" }), jsx("span", { className: "hidden sm:inline text-s font-light text-white opacity-80 whitespace-pre-line", children: imageDescription })] })] }));
4520
+ return (jsxs("div", { className: "contents sm:flex flex-col justify-between order-2", children: [jsxs("div", { className: "flex flex-col sm:flex-row gap-x-6xl gap-y-2xl order-5 sm:order-none py-2xl sm:py-0 border-t border-main-divider sm:border-none", children: [renderTotal('Аренда за', days), renderTotal('Цена', price + ' ₽')] }), jsx("span", { className: "sm:hidden order-3 mb-xs text-s font-light text-secondary-text", children: imageDescription }), jsxs("div", { className: "flex flex-col items-center gap-s order-3 sm:order-none mb-xl sm:mb-0 bg-primary-main py-s sm:p-3xl text-center", children: [jsx(Img, { image: { icon: 'PackA4Icon' }, className: "sm:h-60" }), jsx("span", { className: "hidden sm:inline text-s font-light text-white opacity-80 whitespace-pre-line", children: imageDescription })] })] }));
4501
4521
  });
4502
4522
  const renderTotal = (label, total) => {
4503
- return (jsxs("div", { className: "flex justify-between items-center gap-y-1 sm:flex-col sm:items-start", children: [jsx("div", { className: "text-l font-light text-secondary-text", children: label }), jsx("span", { className: "text-l sm:text-h3 text-primary-text", children: total })] }));
4523
+ return (jsxs("div", { className: "flex justify-between items-center gap-y-xs sm:flex-col sm:items-start", children: [jsx("div", { className: "text-l font-light text-secondary-text", children: label }), jsx("span", { className: "text-l sm:text-h3 text-primary-text", children: total })] }));
4504
4524
  };
4505
4525
  const calculatePrice = (days, tariffs) => {
4506
4526
  const tariffType = getTariffType(days);
@@ -4547,7 +4567,7 @@
4547
4567
  const caseVolumes = getCaseVolumes(branch?.safeBoxCaseVolumes);
4548
4568
  const safeBoxCases = getCaseVolume(branch?.safeBoxCaseVolumes, data.selectedCaseVolume)?.safeBoxCases;
4549
4569
  const tariffs = getTariffs(safeBoxCases, data.selectedBoxSize);
4550
- return (jsxs("div", { className: "flex flex-col sm:flex-row gap-x-9 align-top mb-6", children: [jsx(SafeDepositRentalFields, { ...data, regions: regions, onClick: onClick, branches: branches, caseVolumes: caseVolumes, safeBoxCases: safeBoxCases, onChange: onChange }), jsx(SafeDepositRentalTotal, { days: data.days, tariffs: tariffs })] }));
4570
+ return (jsxs("div", { className: "flex flex-col sm:flex-row gap-4xl align-top", children: [jsx(SafeDepositRentalFields, { ...data, regions: regions, onClick: onClick, branches: branches, caseVolumes: caseVolumes, safeBoxCases: safeBoxCases, onChange: onChange }), jsx(SafeDepositRentalTotal, { days: data.days, tariffs: tariffs })] }));
4551
4571
  });
4552
4572
  const getCaseVolumes = (safeBoxCaseVolumes) => safeBoxCaseVolumes?.length ? safeBoxCaseVolumes?.filter((_) => _?.safeBoxCases?.length) : [];
4553
4573
  const getCaseVolume = (caseVolumes, selectedCaseVolume) => caseVolumes?.find((_) => _.volume === selectedCaseVolume);
@@ -4580,10 +4600,18 @@
4580
4600
  const branches = useSafeBoxes(selectedRegion);
4581
4601
  const handleChangeSafeDepositState = useCallback((state) => setStateDepositState((oldState) => ({ ...oldState, ...state })), [setStateDepositState]);
4582
4602
  const points = getCoordinates(getBranch(branches, safeDepositState.selectedBranch) || branches);
4583
- 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] }));
4603
+ return (jsxs(BlockWrapper, { className: className, defaultPadding: "", ...rest, children: [jsxs("div", { className: "p-4xl space-y-xl", 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] }));
4584
4604
  });
4585
4605
  const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
4586
4606
 
4607
+ const STEPS_BLOCK_STYLE = {
4608
+ description: 'text-white/80 text-l font-light group-data-primary:text-secondary-text group-data-gray:text-secondary-text',
4609
+ iconText: 'text-white group-data-primary:text-secondary-text group-data-gray:text-secondary-text',
4610
+ iconBackground: 'bg-white/30 group-data-primary:bg-main-divider',
4611
+ iconConnector: 'bg-white group-data-primary:bg-secondary-light',
4612
+ dot: 'bg-white/80 group-data-primary:bg-secondary-text',
4613
+ };
4614
+
4587
4615
  const checkCanRenderIcon = (icon) => Boolean(icon?.icon || icon?.src);
4588
4616
 
4589
4617
  // TODO: Create universal function for this case
@@ -4605,25 +4633,17 @@
4605
4633
  const { label, description, button, items, isDotted } = step;
4606
4634
  return (jsxs("div", { className: style('relative flex flex-col items-center text-center justify-between 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 w-full max-w-60 mt-auto", version: version, ...button, children: button?.text })) : null] }, String(i)));
4607
4635
  };
4608
- const getContainerWidth = (length) => (length < 5 ? 'w-[276px]' : 'w-[200px]');
4609
-
4610
- const STEPS_BLOCK_STYLE = {
4611
- description: 'text-white/80 text-l font-light group-data-primary:text-secondary-text group-data-gray:text-secondary-text',
4612
- iconText: 'text-white group-data-primary:text-secondary-text group-data-gray:text-secondary-text',
4613
- iconBackground: 'bg-white/30 group-data-primary:bg-main-divider',
4614
- iconConnector: 'bg-white group-data-primary:bg-secondary-light',
4615
- dot: 'bg-white/80 group-data-primary:bg-secondary-text',
4616
- };
4636
+ const getContainerWidth = (length) => (length < 5 ? 'w-72' : 'w-52');
4617
4637
 
4618
4638
  const getLineOpacity = (showLines) => (showLines ? '' : 'opacity-0');
4619
4639
  const getPaddingX = (steps) => (steps < 5 ? 'px-24' : 'px-16');
4620
- const StepsBlock = JSX(({ className = '', showLines = true, steps = [], buttons, size = 'normal', version = 'primary', stepVersion = 'gray', title, ...rest }) => {
4640
+ const StepsBlock = JSX(({ className = '', showLines = true, steps = [], buttons, size = 'normal', version = 'primary', stepVersion = 'gray', title, description, ...rest }) => {
4621
4641
  const shortGaps = steps.length > 3;
4622
4642
  const styleMap = STEPS_BLOCK_STYLE;
4623
4643
  const lineOpacity = getLineOpacity(showLines);
4624
4644
  const paddingX = getPaddingX(steps.length);
4625
4645
  const isMainButton = Boolean(buttons?.every((b) => b?.text));
4626
- 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)] }));
4646
+ 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: [jsx(Headline, { headlineVersion: "S", title: title, description: description, isEmbedded: true, className: "w-full" }), 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-s' : 'gap-x-20'), children: steps.map(renderStep({ styleMap, isMainButton, version })) })] })) : null, renderButtonsSection(buttons)] }));
4627
4647
  });
4628
4648
  const renderStepIcon = (styleMap, size, stepVersion) => ({ icon }, i) => {
4629
4649
  const iconVersion = stepVersion === 'secondary' ? 'white' : 'color';
@@ -4713,19 +4733,16 @@
4713
4733
  const normalizeTab = (_) => (_?.type === 'group' ? { text: _.title } : _);
4714
4734
 
4715
4735
  const DIVIDER_CLASSES = 'border-main-divider border border-t-0 border-x-0';
4716
- const FIRST_CELL_CLASSES = 'w-[354px] flex-shrink-0';
4736
+ const FIRST_CELL_CLASSES = 'w-80 flex-shrink-0';
4717
4737
  const COLS_LENGTH_FOR_SCROLL = 2;
4718
4738
  const COLUMN_WIDTH$1 = 4 * 80 + 40; // w-80 + pl-10 = 360px
4719
4739
 
4720
4740
  const TableInnerButton = JSX(({ isOpen, onClick }) => {
4721
- 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" })] }));
4741
+ return (jsxs(Button, { version: "primary", onClick: onClick, className: "w-full flex items-center justify-center rounded-none py-lg", children: [jsx("div", { className: "text-h4", children: isOpen ? 'Скрыть' : 'Показать' }), jsx(Icon, { name: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon', className: "ml-s", iconVersion: "white", width: "20", height: "20" })] }));
4722
4742
  });
4723
4743
 
4724
4744
  const renderButtonsCellData = ({ buttons }) => renderButtonsSection(buttons);
4725
- const renderLabelDescriptionCellData = ({ label, description }) => {
4726
- const labelClassName = `text-h6 m-0 ${description ? 'mb-1' : ''}`;
4727
- return (jsxs("div", { children: [label ? jsx("div", { className: labelClassName, children: label }) : null, description ? (jsx("div", { className: "text-secondary-text text-l font-light", children: description })) : null] }));
4728
- };
4745
+ const renderLabelDescriptionCellData = ({ label, description }) => (jsxs("div", { className: "space-y-2xs", children: [label ? jsx("div", { className: "text-h6 m-0", children: label }) : null, description ? (jsx("div", { className: "text-secondary-text text-l font-light", children: description })) : null] }));
4729
4746
  const renderImgCellData = ({ image }) => (image?.src ? jsx(Img, { image: image }) : null);
4730
4747
  const renderListCellData = ({ isDotted, ...rest }) => (jsx(List, { className: "flex flex-col justify-between items-start text-h6", isDotted: isDotted ?? true, ...rest }));
4731
4748
  const renderTableCellData = JSX(({ isVisible, displayTable, dataUrl, pdfUrl, isOpen }) => isVisible ? (jsx(TableInnerButton, { isOpen: isOpen, onClick: () => {
@@ -4775,7 +4792,7 @@
4775
4792
  };
4776
4793
 
4777
4794
  const TariffsTableCell = JSX(({ cells, rowIdx, cellIdx, setTableInner, tableInner, openTableInnerIdx, setOpenTableInnerIdx, }) => {
4778
- return (jsx("div", { className: "first:pl-0 w-80 flex-grow flex flex-col border-solid border-main-divider border border-t-0 border-x-0", role: "cell", children: cells?.length
4795
+ return (jsx("div", { className: "w-80 flex-grow flex flex-col border-solid border-main-divider border border-t-0 border-x-0", role: "cell", children: cells?.length
4779
4796
  ? cells.map(renderCellInner({
4780
4797
  rowIdx,
4781
4798
  cellIdx,
@@ -4811,18 +4828,18 @@
4811
4828
  'flex duration-1000 text-center',
4812
4829
  rowIdx !== 0 ? 'font-normal' : 'font-light',
4813
4830
  ].join(' ');
4814
- 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: {
4831
+ 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-52 py-lg `, children: headerColumn.data })) : null, jsx("div", { className: "flex flex-grow overflow-hidden", children: jsx("div", { className: columnsClassName, style: {
4815
4832
  transform: `translateX(-${transform}px)`,
4816
4833
  }, 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)));
4817
4834
  };
4818
- 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;
4835
+ const renderCols = (cols, rowIndex) => cols?.length > 0 ? (jsx("div", { className: style('flex', rowIndex === 0 ? 'text-secondary-text' : ''), children: cols.map((data, i) => (jsx("div", { className: `w-20 text-h6 mx-lg`, children: data }, String(i)))) })) : null;
4819
4836
 
4820
4837
  const InnerTableBody = JSX(({ activeTabIndex, items }) => {
4821
4838
  const [hiddenTables, setHiddenTables] = useState({});
4822
4839
  const toggleTables = useCallback((key) => setHiddenTables((oldState) => ({ ...oldState, [key]: !oldState[key] })), []);
4823
4840
  return (jsx("div", { children: items.map((_, tableIdx) => {
4824
4841
  const key = `activeTabIdx:${activeTabIndex}-tableIdx:${tableIdx}`;
4825
- return (jsxs("div", { className: "w-full", children: [jsxs("div", { className: "flex p-4 bg-gray text-center justify-center cursor-pointer relative", onClick: () => toggleTables(key), children: [jsx(Text, { size: "text-xl", font: "font-light", children: _.title }), jsx(Img, { image: { icon: hiddenTables[key] ? 'PlusIcon' : 'MinusIcon' }, className: "absolute right-[22px]", width: "24", height: "24" })] }), jsx("div", { className: `w-full pl-2 overflow-hidden transition-height duration-500 ease-in-out ${hiddenTables[key] ? 'h-0' : ''}`, children: jsx("div", { className: "relative", children: jsx(InnerTableBodyItem, { rows: _.rowsData }) }) })] }, key));
4842
+ return (jsxs("div", { className: "w-full", children: [jsxs("div", { className: "flex p-m bg-gray text-center justify-center cursor-pointer relative", onClick: () => toggleTables(key), children: [jsx(Text, { size: "text-xl", font: "font-light", children: _.title }), jsx(Img, { image: { icon: hiddenTables[key] ? 'PlusIcon' : 'MinusIcon' }, className: "absolute right-6", width: "24", height: "24" })] }), jsx("div", { className: `w-full pl-xs overflow-hidden transition-height duration-500 ease-in-out ${hiddenTables[key] ? 'h-0' : ''}`, children: jsx("div", { className: "relative", children: jsx(InnerTableBodyItem, { rows: _.rowsData }) }) })] }, key));
4826
4843
  }) }));
4827
4844
  });
4828
4845
 
@@ -4847,7 +4864,7 @@
4847
4864
  const handleActiveTabIndex = useCallback((_) => setActiveTabIndex(_), []);
4848
4865
  const items = tableData?.[activeTabIndex]?.items ?? [];
4849
4866
  const currencies = tableData?.map((item) => item.currency ?? '');
4850
- return tableData ? (jsxs("div", { className: "bg-white z-10", children: [jsx(InnerTableHeader, { currencies: currencies, activeTabIndex: activeTabIndex, setActiveTabIndex: handleActiveTabIndex, linkToPDF: pdfUrl }), jsx(InnerTableBody, { activeTabIndex: activeTabIndex, items: items }), jsx(TableInnerButton, { onClick: onClick, isOpen: true })] })) : (jsxs("div", { className: "my-5 text-h6 text-center", children: [jsx("p", { children: EMPTY_DATA }), jsx(TableInnerButton, { onClick: onClick, isOpen: true })] }));
4867
+ return tableData ? (jsxs("div", { className: "bg-white z-10", children: [jsx(InnerTableHeader, { currencies: currencies, activeTabIndex: activeTabIndex, setActiveTabIndex: handleActiveTabIndex, linkToPDF: pdfUrl }), jsx(InnerTableBody, { activeTabIndex: activeTabIndex, items: items }), jsx(TableInnerButton, { onClick: onClick, isOpen: true })] })) : (jsxs("div", { className: "my-lg text-h6 text-center", children: [jsx("p", { children: EMPTY_DATA }), jsx(TableInnerButton, { onClick: onClick, isOpen: true })] }));
4851
4868
  });
4852
4869
 
4853
4870
  const TariffsTableRowContainer = JSX(({ children, tableInner, onHideContentClick }) => (jsxs("div", { className: "self-start flex flex-col", role: "row", children: [jsx("div", { className: "flex", children: children }), tableInner ? (jsx("div", { className: "origin-top animate-expansion", children: jsx(InnerTable, { ...tableInner, onClick: onHideContentClick }) })) : null] })));
@@ -4874,7 +4891,7 @@
4874
4891
  });
4875
4892
  const rows = (rowData || []).map((row, i) => (jsx(TariffsTableRow, { row: row, activeIndex: activeIndex, rowIdx: i, ...rest }, String(i))));
4876
4893
  const [visibleRows, hiddenRows] = hiddenRowsNum > 0 ? [rows.slice(0, -hiddenRowsNum), rows.slice(-hiddenRowsNum)] : [rows, []];
4877
- return (jsxs(BlockWrapper, { className: style('overflow-hidden relative space-y-xl', className), defaultPadding: "p-6xl", ...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 }))] }));
4894
+ return (jsxs(BlockWrapper, { className: style('overflow-hidden relative space-y-xl', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, headlineVersion: "M", isEmbedded: true }), 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 }))] }));
4878
4895
  });
4879
4896
  const Wrapper = JSX(({ children, controls }) => {
4880
4897
  const { isScrollAvailable } = controls;
@@ -4885,12 +4902,12 @@
4885
4902
  })] }), isScrollAvailable ? (jsx("div", { className: "absolute top-0 right-0 bottom-0 w-20 bg-opacity-to-white" })) : null] }));
4886
4903
  });
4887
4904
 
4888
- const TextBlock = JSX(({ className = '', title, description, iconVersion, image, __html, items = [], ...rest }) => (jsxs(BlockWrapper, { className: style('flex gap-3 sm:gap-4 bg-white group-data-secondary:bg-primary-main/10', className), ...rest, children: [iconVersion === 'small' ? jsx("div", { className: "mt-1", children: renderIcon() }) : null, iconVersion === 'big' ? renderImage(image) : null, jsxs("div", { className: "flex flex-col w-fit gap-1 sm:gap-2", children: [title ? (jsx(Text, { size: "text-l", font: "font-normal", color: "text-primary-text group-data-secondary:text-white", children: title })) : null, description ? renderDescription(description) : null, items?.length ? renderList(items, true) : null, __html ? jsx(RichText, { __html: __html }) : null] })] })));
4905
+ const TextBlock = JSX(({ className = '', title, description, iconVersion, image, __html, items = [], ...rest }) => (jsxs(BlockWrapper, { className: style('flex gap-s sm:gap-m bg-white group-data-secondary:bg-primary-main/10', className), ...rest, children: [iconVersion === 'small' ? renderIcon() : null, iconVersion === 'big' ? renderImage(image) : null, jsxs("div", { className: "flex flex-col w-fit gap-2xs sm:gap-xs", children: [title ? (jsx(Text, { size: "text-l", font: "font-normal", color: "text-primary-text group-data-secondary:text-white", children: title })) : null, description ? renderDescription(description) : null, items?.length ? renderList(items, true) : null, __html ? jsx(RichText, { __html: __html }) : null] })] })));
4889
4906
  const renderIcon = () => (jsx("div", { className: `rounded-full h-4 w-4 text-center text-xs font-light bg-primary-main text-white group-data-secondary:bg-white group-data-secondary:text-primary-main`, children: "i" }));
4890
4907
  const renderImage = (image) => image?.src ? jsx(Img, { className: "h-fit flex-shrink-0", image: image }) : null;
4891
4908
  const renderDescription = (description) => (jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text group-data-secondary:text-white", children: description }));
4892
4909
  const renderList = (items, bullets) => {
4893
- const listStyle = bullets ? 'list-disc pl-6' : '';
4910
+ const listStyle = bullets ? 'list-disc pl-xl' : '';
4894
4911
  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}`))) }));
4895
4912
  };
4896
4913
 
@@ -4909,7 +4926,7 @@
4909
4926
  };
4910
4927
 
4911
4928
  const MIN_COL_SPAN = 10;
4912
- const getPaddings = (className) => getColSpan(className) < MIN_COL_SPAN ? 'py-6 px-11' : 'py-12 px-32';
4929
+ const getPaddings = (className) => getColSpan(className) < MIN_COL_SPAN ? 'py-xl px-6xl' : 'py-6xl px-32';
4913
4930
 
4914
4931
  const Video = JSX(({ className, title, url, previewImg, ...rest }) => {
4915
4932
  const router = useRouter();
@@ -5047,7 +5064,7 @@
5047
5064
  }, []);
5048
5065
  return opened ? (jsx("div", { className: "container fixed left-0 right-0 bottom-0 z-50", children: jsxs("div", { className: "bg-white m-xl p-xl rounded-md flex sm:items-center shadow-[0_4px_25px_rgba(0,0,0,0.07)]", children: [jsx("div", { className: "sm:flex-1", children: jsxs(Paragraph, { size: "text-s", font: "font-light", color: "text-primary-text", children: ["\u0410\u041E \u00AB\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u00BB \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442", jsx(LinkWrapper, { isRemote: true, className: linkWrapperStyle(termLink?.href), ...termLink, children: "cookie" }), "(\u0444\u0430\u0439\u043B\u044B \u0441 \u0434\u0430\u043D\u043D\u044B\u043C\u0438 \u043E \u043F\u0440\u043E\u0448\u043B\u044B\u0445 \u043F\u043E\u0441\u0435\u0449\u0435\u043D\u0438\u044F\u0445 \u0441\u0430\u0439\u0442\u0430) \u0434\u043B\u044F \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u043E\u0432 \u0438 \u0443\u0434\u043E\u0431\u0441\u0442\u0432\u0430 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u0430\u043F\u0440\u0435\u0442\u0438\u0442\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435 cookie \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0441\u0432\u043E\u0435\u0433\u043E \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.", jsx(LinkWrapper, { isRemote: true, className: linkWrapperStyle(personalDataPolicyLink?.href), ...personalDataPolicyLink, children: "\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430 \u0412\u0430\u0448\u0438\u0445 \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445" }), "\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u0438\u044F\u043C\u0438 \u0424\u0435\u0434\u0435\u0440\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0437\u0430\u043A\u043E\u043D\u0430 \u043E\u0442 27.07.2006 \u2116 152-\u04243 \u00AB\u041E \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445\u00BB."] }) }), jsx("div", { className: "ml-s sm:ml-0 w-24 flex justify-end", children: jsx(CloseButton, { className: "bg-main-gray rounded-md", onClose: handleClose }) })] }) })) : null;
5049
5066
  });
5050
- const linkWrapperStyle = (href) => style('inline mx-1', href ? 'text-green-dark' : '');
5067
+ const linkWrapperStyle = (href) => style('inline mx-2xs', href ? 'text-green-dark' : '');
5051
5068
 
5052
5069
  function useList(initialList = []) {
5053
5070
  const [list, setList] = useState(initialList);
@@ -5152,7 +5169,7 @@
5152
5169
  const LikeControl = JSX(({ className = '' }) => {
5153
5170
  const router = useRouter();
5154
5171
  const likeService = useLikeService(router.pathname);
5155
- return (jsxs("div", { className: `border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${className}`, children: [jsx(LikeButton, { onClick: handlerDecorator(likeService.like), ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u043B\u0430\u0439\u043A\u00BB" }), jsx(LikeButton, { onClick: handlerDecorator(likeService.dislike), className: "rotate-180", ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u0434\u0438\u0437\u043B\u0430\u0439\u043A\u00BB" }), jsx("span", { className: "select-none", children: likeService.likeCount })] }));
5172
+ return (jsxs("div", { className: `border-main border-2 border-solid bg-white flex w-32 items-center justify-center gap-s p-xs font-sans ${className}`, children: [jsx(LikeButton, { onClick: handlerDecorator(likeService.like), ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u043B\u0430\u0439\u043A\u00BB" }), jsx(LikeButton, { onClick: handlerDecorator(likeService.dislike), className: "rotate-180", ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u0434\u0438\u0437\u043B\u0430\u0439\u043A\u00BB" }), jsx("span", { className: "select-none", children: likeService.likeCount })] }));
5156
5173
  });
5157
5174
 
5158
5175
  const ContentPage = JSX(({ className, blocksRegistry, blockDecorator, data = {} }) => {
@@ -5165,7 +5182,7 @@
5165
5182
  parent: data,
5166
5183
  };
5167
5184
  useBlockRouterProvider();
5168
- return (jsxs("div", { children: [jsxs("section", { className: style('relative @container', pageStyle, className), "data-theme": colorPalette, children: [slots?.header ? (jsx("div", { className: "relative z-10 mb-5 shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, { ...options, slotName: 'header' }) })) : null, jsxs("div", { className: "container @lg:grid @lg:grid-cols-12 @lg:gap-1", children: [renderChildren({ block: data, options, extraProps: { className: 'scroll-mt-12' } }), renderBlocksList(slots?.footer, { ...options, slotName: 'footer' })] }), likeControl ? renderLikeControl() : null] }), jsx(DialogManager, {}), jsx(CookiePopup, { termLink: { href: '/pd-policy#cookie', target: '_blank' }, personalDataPolicyLink: { href: '/pd-policy', target: '_blank' } })] }));
5185
+ return (jsxs("div", { children: [jsxs("section", { className: style('relative @container', pageStyle, className), "data-theme": colorPalette, children: [slots?.header ? (jsx("div", { className: "relative z-10 mb-lg shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, { ...options, slotName: 'header' }) })) : null, jsxs("div", { className: "container @lg:grid @lg:grid-cols-12 @lg:gap-2xs", children: [renderChildren({ block: data, options, extraProps: { className: 'scroll-mt-12' } }), renderBlocksList(slots?.footer, { ...options, slotName: 'footer' })] }), likeControl ? renderLikeControl() : null] }), jsx(DialogManager, {}), jsx(CookiePopup, { termLink: { href: '/pd-policy#cookie', target: '_blank' }, personalDataPolicyLink: { href: '/pd-policy', target: '_blank' } })] }));
5169
5186
  });
5170
5187
  ContentPage.childrenTypes = [];
5171
5188
  ContentPage.slots = () => ['header', 'footer'];
@@ -5173,7 +5190,7 @@
5173
5190
  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" }) }));
5174
5191
  }
5175
5192
 
5176
- const packageVersion = "0.13.2";
5193
+ const packageVersion = "0.13.4";
5177
5194
 
5178
5195
  exports.Blocks = Blocks;
5179
5196
  exports.ContentPage = ContentPage;