@redneckz/wildless-cms-uni-blocks 0.13.1 → 0.13.3

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 (1447) hide show
  1. package/bin/migration-scripts/0.13.3.js +36 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +239 -238
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/ApplicationForm/SelectControl.d.ts +1 -0
  6. package/bundle/components/BonusBenefitsBlock/bonusBenefitStyles.mobile.d.ts +1 -1
  7. package/bundle/components/CarouselLinks/CarouselLinkButton.d.ts +5 -0
  8. package/bundle/components/ComparisonTable/constants.d.ts +1 -1
  9. package/bundle/components/Headline/HeadlineContent.d.ts +2 -2
  10. package/bundle/components/RollupItem/foldableSectionStyles.d.ts +1 -1
  11. package/bundle/components/SafeDepositRental/RadioButtons.d.ts +1 -1
  12. package/bundle/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
  13. package/bundle/components/TariffsTable/constants.d.ts +1 -1
  14. package/bundle/components/Video/getPaddings.d.ts +1 -1
  15. package/bundle/model/HeadlineType.d.ts +1 -1
  16. package/bundle/ui-kit/TabsControl/TabItemInner.d.ts +6 -0
  17. package/dist/components/ApplicationForm/ApplicationForm.js +1 -1
  18. package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  19. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  20. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  21. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
  22. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  23. package/dist/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  24. package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  25. package/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  26. package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  27. package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
  28. package/dist/components/ApplicationForm/ApplicationFormWed.js +1 -1
  29. package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  30. package/dist/components/ApplicationForm/ResponseNotification.js +1 -1
  31. package/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
  32. package/dist/components/ApplicationForm/SelectControl.d.ts +1 -0
  33. package/dist/components/ApplicationForm/SelectControl.js +1 -1
  34. package/dist/components/ApplicationForm/SelectControl.js.map +1 -1
  35. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  36. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  37. package/dist/components/ApplicationForm/renderAcquiringRegion.js +1 -1
  38. package/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  39. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  40. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  41. package/dist/components/ApplicationForm/renderContacts.js +1 -1
  42. package/dist/components/ApplicationForm/renderContacts.js.map +1 -1
  43. package/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  44. package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  45. package/dist/components/ApplicationForm/renderCreditParameters.js +1 -1
  46. package/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  47. package/dist/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  48. package/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  49. package/dist/components/ApplicationForm/renderRegion.js +1 -1
  50. package/dist/components/ApplicationForm/renderRegion.js.map +1 -1
  51. package/dist/components/ApplicationForm/renderRegionDepartment.js +1 -1
  52. package/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  53. package/dist/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
  54. package/dist/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
  55. package/dist/components/ApplicationForm/renderSubmitButton.js +1 -1
  56. package/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  57. package/dist/components/Bonus/Bonus.js +2 -2
  58. package/dist/components/Bonus/Bonus.js.map +1 -1
  59. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  60. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  61. package/dist/components/BonusBenefitsBlock/bonusBenefitStyles.mobile.d.ts +1 -1
  62. package/dist/components/BonusBenefitsBlock/bonusBenefitStyles.mobile.js +1 -1
  63. package/dist/components/BonusBenefitsBlock/renderBonusBenefits.js +1 -1
  64. package/dist/components/BonusBenefitsBlock/renderBonusBenefits.js.map +1 -1
  65. package/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  66. package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  67. package/dist/components/BusinessBlock/BusinessCard.js +1 -1
  68. package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  69. package/dist/components/Calculator/BonusCalculatorForm.js +2 -3
  70. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  71. package/dist/components/Calculator/BusinessDepositCalculatorForm.js +24 -23
  72. package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  73. package/dist/components/Calculator/Calculator.js +4 -4
  74. package/dist/components/Calculator/Calculator.js.map +1 -1
  75. package/dist/components/Calculator/CalculatorValueBlock.js +1 -1
  76. package/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
  77. package/dist/components/Calculator/CreditCalculatorForm.js +4 -4
  78. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  79. package/dist/components/Calculator/DepositCalculatorForm.js +3 -3
  80. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  81. package/dist/components/Calculator/Rate.js +1 -1
  82. package/dist/components/Calculator/Rate.js.map +1 -1
  83. package/dist/components/Calculator/RefinancingCalculatorForm.js +4 -5
  84. package/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  85. package/dist/components/Calculator/renderBinaryRadioButtonGroup.js +1 -1
  86. package/dist/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  87. package/dist/components/Calculator/renderCalculatorBlock.js +1 -1
  88. package/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  89. package/dist/components/Calculator/renderInitialFeeInput.js +1 -1
  90. package/dist/components/Calculator/renderInitialFeeInput.js.map +1 -1
  91. package/dist/components/CardTransfer/CardTransfer.js +1 -1
  92. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  93. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  94. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  95. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +1 -1
  96. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -1
  97. package/dist/components/CarouselCard/CarouselCard.js +1 -1
  98. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  99. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  100. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  101. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +4 -9
  102. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  103. package/dist/components/CarouselLinks/CarouselLinkButton.d.ts +5 -0
  104. package/dist/{ui-kit/LinkButton/LinkButton.js → components/CarouselLinks/CarouselLinkButton.js} +5 -5
  105. package/dist/components/CarouselLinks/CarouselLinkButton.js.map +1 -0
  106. package/dist/components/CarouselLinks/CarouselLinks.js +5 -5
  107. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  108. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  109. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  110. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
  111. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
  112. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  113. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  114. package/dist/components/CarouselTariffsCard/getPaddingStyle.js +1 -1
  115. package/dist/components/CarouselTariffsCard/getPaddingStyle.js.map +1 -1
  116. package/dist/components/CarouselTariffsCard/getPaddingStyle.mobile.js +1 -1
  117. package/dist/components/CarouselTariffsCard/getPaddingStyle.mobile.js.map +1 -1
  118. package/dist/components/CarouselTariffsCard/renderCardInfo.js +1 -1
  119. package/dist/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
  120. package/dist/components/ComparisonTable/ComparisonTable.js +2 -2
  121. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  122. package/dist/components/ComparisonTable/TableCarouselContainer.js +1 -1
  123. package/dist/components/ComparisonTable/TableCell.js +1 -1
  124. package/dist/components/ComparisonTable/TableCell.js.map +1 -1
  125. package/dist/components/ComparisonTable/TableCell.mobile.js +1 -1
  126. package/dist/components/ComparisonTable/TableCell.mobile.js.map +1 -1
  127. package/dist/components/ComparisonTable/TableColumn.js +1 -1
  128. package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  129. package/dist/components/ComparisonTable/TableRow.js +1 -1
  130. package/dist/components/ComparisonTable/TableRow.js.map +1 -1
  131. package/dist/components/ComparisonTable/TableRowContainer.js +1 -1
  132. package/dist/components/ComparisonTable/TableRowContainer.js.map +1 -1
  133. package/dist/components/ComparisonTable/constants.d.ts +1 -1
  134. package/dist/components/ComparisonTable/constants.js +1 -1
  135. package/dist/components/ComparisonTable/constants.js.map +1 -1
  136. package/dist/components/ContactsBlock/ContactsBlock.js +2 -2
  137. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  138. package/dist/components/ContentPage/ContentPage.js +1 -1
  139. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  140. package/dist/components/DepositFiltration/DepositFiltration.js +1 -1
  141. package/dist/components/DepositFiltration/DepositFiltration.js.map +1 -1
  142. package/dist/components/ErrorBlock/ErrorBlock.js +2 -2
  143. package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  144. package/dist/components/ExchangeRateOffice/renderCurrencies.js +1 -1
  145. package/dist/components/ExchangeRateOffice/renderCurrencies.js.map +1 -1
  146. package/dist/components/ExchangeRateTile/CurrencyTable.js +1 -1
  147. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  148. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  149. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  150. package/dist/components/ExchangeRateTile/renderInput.js +1 -1
  151. package/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  152. package/dist/components/Footer/buttonStylesWithText.js +1 -1
  153. package/dist/components/Footer/buttonStylesWithText.js.map +1 -1
  154. package/dist/components/GracePeriod/GracePeriod.js +4 -3
  155. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  156. package/dist/components/Header/DropdownMenu.js +2 -2
  157. package/dist/components/Header/DropdownMenu.js.map +1 -1
  158. package/dist/components/Header/Header.mobile.js +1 -1
  159. package/dist/components/Header/Header.mobile.js.map +1 -1
  160. package/dist/components/Header/HeaderSecondaryMenu.js +1 -1
  161. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  162. package/dist/components/Header/HeaderSecondaryMenuButton.js +1 -1
  163. package/dist/components/Header/HeaderSubMenu.js +1 -2
  164. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  165. package/dist/components/Header/InternetBankButton.js +2 -2
  166. package/dist/components/Header/InternetBankButton.js.map +1 -1
  167. package/dist/components/Headline/Headline.js +2 -2
  168. package/dist/components/Headline/Headline.js.map +1 -1
  169. package/dist/components/Headline/HeadlineContent.d.ts +2 -2
  170. package/dist/components/Headline/headlineVersionStyles.js +1 -1
  171. package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  172. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  173. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +5 -5
  174. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  175. package/dist/components/InvestmentInfo/InvestmentInfo.js +2 -2
  176. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  177. package/dist/components/LikeControl/LikeControl.js +1 -1
  178. package/dist/components/LikeControl/LikeControl.js.map +1 -1
  179. package/dist/components/LinkDocs/LinkDocItem.js +1 -1
  180. package/dist/components/LinkDocs/LinkDocs.js +2 -2
  181. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  182. package/dist/components/MobileAppTile/renderList.js +1 -1
  183. package/dist/components/MobileAppTile/renderList.js.map +1 -1
  184. package/dist/components/MortgageFiltration/MortgageFiltration.js +5 -5
  185. package/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
  186. package/dist/components/OfficeMap/OfficeMap.js +1 -1
  187. package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  188. package/dist/components/OfficeMap/renderFunctions.js +4 -4
  189. package/dist/components/OfficeMap/renderFunctions.js.map +1 -1
  190. package/dist/components/Placeholder/Placeholder.js +1 -1
  191. package/dist/components/Placeholder/Placeholder.js.map +1 -1
  192. package/dist/components/ProductBlock/renderBackwardButton.js +1 -1
  193. package/dist/components/ProductGallery/ProductGallery.js +4 -4
  194. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  195. package/dist/components/PromoTile/PromoTile.js +1 -1
  196. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  197. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  198. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  199. package/dist/components/RollupItem/RollupItem.js +1 -1
  200. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  201. package/dist/components/RollupItem/foldableSectionStyles.d.ts +1 -1
  202. package/dist/components/RollupItem/foldableSectionStyles.js +1 -1
  203. package/dist/components/SafeDepositRental/RadioButtons.d.ts +1 -1
  204. package/dist/components/SafeDepositRental/RadioButtons.js +1 -1
  205. package/dist/components/SafeDepositRental/RadioButtons.js.map +1 -1
  206. package/dist/components/SafeDepositRental/SafeBoxCases.js +1 -1
  207. package/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  208. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  209. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +1 -1
  210. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  211. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
  212. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  213. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
  214. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  215. package/dist/components/StepsBlock/StepsBlock.js +4 -4
  216. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  217. package/dist/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
  218. package/dist/components/StepsBlock/StepsBlock.mobile.js +6 -7
  219. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  220. package/dist/components/StepsBlock/renderStep.js +1 -1
  221. package/dist/components/StepsBlock/renderStep.js.map +1 -1
  222. package/dist/components/Tabs/Tabs.js +6 -6
  223. package/dist/components/Tabs/Tabs.js.map +1 -1
  224. package/dist/components/TariffsTable/EmbeddableCellData.js +1 -4
  225. package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  226. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +2 -2
  227. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  228. package/dist/components/TariffsTable/TariffsTable.js +3 -3
  229. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  230. package/dist/components/TariffsTable/TariffsTable.mobile.js +1 -1
  231. package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  232. package/dist/components/TariffsTable/TariffsTableCell.js +1 -1
  233. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  234. package/dist/components/TariffsTable/TariffsTableVertical.js +1 -1
  235. package/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  236. package/dist/components/TariffsTable/constants.d.ts +1 -1
  237. package/dist/components/TariffsTable/constants.js +1 -1
  238. package/dist/components/TariffsTable/constants.js.map +1 -1
  239. package/dist/components/TextBlock/TextBlock.js +2 -2
  240. package/dist/components/TextBlock/TextBlock.js.map +1 -1
  241. package/dist/components/Video/getPaddings.d.ts +1 -1
  242. package/dist/components/Video/getPaddings.js +1 -1
  243. package/dist/components/Video/getPaddings.js.map +1 -1
  244. package/dist/model/HeadlineType.d.ts +1 -1
  245. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
  246. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  247. package/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js +2 -4
  248. package/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -1
  249. package/dist/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  250. package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  251. package/dist/ui-kit/Button/ButtonInner.js +1 -1
  252. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  253. package/dist/ui-kit/Checkbox/Checkbox.js +1 -1
  254. package/dist/ui-kit/CookiePopup/CookiePopup.js +1 -1
  255. package/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  256. package/dist/ui-kit/DialogManager/CloseButton.js +1 -1
  257. package/dist/ui-kit/DialogManager/CloseButton.js.map +1 -1
  258. package/dist/ui-kit/Foldable/DefaultFoldButton.js +2 -2
  259. package/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  260. package/dist/ui-kit/InnerTable/InnerTable.js +1 -1
  261. package/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
  262. package/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
  263. package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  264. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +3 -2
  265. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  266. package/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  267. package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  268. package/dist/ui-kit/Input/Input.js +2 -2
  269. package/dist/ui-kit/Input/Input.js.map +1 -1
  270. package/dist/ui-kit/InputRange/InputRange.js +2 -2
  271. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  272. package/dist/ui-kit/InputRange/renderRangeWithTicks.js +1 -1
  273. package/dist/ui-kit/LocationDialog/SearchBar.js +1 -1
  274. package/dist/ui-kit/LocationDialog/SearchBar.js.map +1 -1
  275. package/dist/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
  276. package/dist/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
  277. package/dist/ui-kit/Radio/Radio.js +1 -1
  278. package/dist/ui-kit/Radio/Radio.js.map +1 -1
  279. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +2 -2
  280. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  281. package/dist/ui-kit/SearchDialog/SearchInput.js +1 -1
  282. package/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  283. package/dist/ui-kit/Select/Select.js +2 -2
  284. package/dist/ui-kit/Select/Select.js.map +1 -1
  285. package/dist/ui-kit/Sitemap/Sitemap.js +1 -1
  286. package/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
  287. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +2 -2
  288. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  289. package/dist/ui-kit/TabsControl/TabItem.js +15 -29
  290. package/dist/ui-kit/TabsControl/TabItem.js.map +1 -1
  291. package/dist/ui-kit/TabsControl/TabItemInner.d.ts +6 -0
  292. package/dist/ui-kit/TabsControl/TabItemInner.js +33 -0
  293. package/dist/ui-kit/TabsControl/TabItemInner.js.map +1 -0
  294. package/dist/ui-kit/Tags/Tags.js +1 -1
  295. package/dist/ui-kit/Tags/Tags.js.map +1 -1
  296. package/dist/ui-kit/TopItem/TopItem.js +1 -1
  297. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  298. package/dist/ui-kit/YandexMap/renderOpenMap.js +1 -1
  299. package/dist/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
  300. package/dist/ui-kit/YandexMap/renderUserGeolocation.js +1 -1
  301. package/lib/common.css +1 -1
  302. package/lib/components/ApplicationForm/ApplicationForm.js +1 -1
  303. package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  304. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  305. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  306. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
  307. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  308. package/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  309. package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  310. package/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  311. package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  312. package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
  313. package/lib/components/ApplicationForm/ApplicationFormWed.js +1 -1
  314. package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  315. package/lib/components/ApplicationForm/ResponseNotification.js +1 -1
  316. package/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
  317. package/lib/components/ApplicationForm/SelectControl.d.ts +1 -0
  318. package/lib/components/ApplicationForm/SelectControl.js +1 -1
  319. package/lib/components/ApplicationForm/SelectControl.js.map +1 -1
  320. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  321. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  322. package/lib/components/ApplicationForm/renderAcquiringRegion.js +1 -1
  323. package/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  324. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  325. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  326. package/lib/components/ApplicationForm/renderContacts.js +1 -1
  327. package/lib/components/ApplicationForm/renderContacts.js.map +1 -1
  328. package/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  329. package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  330. package/lib/components/ApplicationForm/renderCreditParameters.js +1 -1
  331. package/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  332. package/lib/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  333. package/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  334. package/lib/components/ApplicationForm/renderRegion.js +1 -1
  335. package/lib/components/ApplicationForm/renderRegion.js.map +1 -1
  336. package/lib/components/ApplicationForm/renderRegionDepartment.js +1 -1
  337. package/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  338. package/lib/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
  339. package/lib/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
  340. package/lib/components/ApplicationForm/renderSubmitButton.js +1 -1
  341. package/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  342. package/lib/components/Bonus/Bonus.js +2 -2
  343. package/lib/components/Bonus/Bonus.js.map +1 -1
  344. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  345. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  346. package/lib/components/BonusBenefitsBlock/bonusBenefitStyles.mobile.d.ts +1 -1
  347. package/lib/components/BonusBenefitsBlock/bonusBenefitStyles.mobile.js +1 -1
  348. package/lib/components/BonusBenefitsBlock/renderBonusBenefits.js +1 -1
  349. package/lib/components/BonusBenefitsBlock/renderBonusBenefits.js.map +1 -1
  350. package/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  351. package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  352. package/lib/components/BusinessBlock/BusinessCard.js +1 -1
  353. package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  354. package/lib/components/Calculator/BonusCalculatorForm.js +2 -3
  355. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  356. package/lib/components/Calculator/BusinessDepositCalculatorForm.js +24 -23
  357. package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  358. package/lib/components/Calculator/Calculator.js +4 -4
  359. package/lib/components/Calculator/Calculator.js.map +1 -1
  360. package/lib/components/Calculator/CalculatorValueBlock.js +1 -1
  361. package/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
  362. package/lib/components/Calculator/CreditCalculatorForm.js +4 -4
  363. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  364. package/lib/components/Calculator/DepositCalculatorForm.js +4 -4
  365. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  366. package/lib/components/Calculator/Rate.js +1 -1
  367. package/lib/components/Calculator/Rate.js.map +1 -1
  368. package/lib/components/Calculator/RefinancingCalculatorForm.js +5 -6
  369. package/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  370. package/lib/components/Calculator/renderBinaryRadioButtonGroup.js +1 -1
  371. package/lib/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  372. package/lib/components/Calculator/renderCalculatorBlock.js +1 -1
  373. package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  374. package/lib/components/Calculator/renderInitialFeeInput.js +1 -1
  375. package/lib/components/Calculator/renderInitialFeeInput.js.map +1 -1
  376. package/lib/components/CardTransfer/CardTransfer.js +1 -1
  377. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  378. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  379. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  380. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +1 -1
  381. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -1
  382. package/lib/components/CarouselCard/CarouselCard.js +1 -1
  383. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  384. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  385. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  386. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +4 -9
  387. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  388. package/lib/components/CarouselLinks/CarouselLinkButton.d.ts +5 -0
  389. package/{mobile/lib/ui-kit/LinkButton/LinkButton.js → lib/components/CarouselLinks/CarouselLinkButton.js} +4 -4
  390. package/lib/components/CarouselLinks/CarouselLinkButton.js.map +1 -0
  391. package/lib/components/CarouselLinks/CarouselLinks.js +5 -5
  392. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  393. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  394. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  395. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
  396. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
  397. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  398. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  399. package/lib/components/CarouselTariffsCard/getPaddingStyle.js +1 -1
  400. package/lib/components/CarouselTariffsCard/getPaddingStyle.js.map +1 -1
  401. package/lib/components/CarouselTariffsCard/getPaddingStyle.mobile.js +1 -1
  402. package/lib/components/CarouselTariffsCard/getPaddingStyle.mobile.js.map +1 -1
  403. package/lib/components/CarouselTariffsCard/renderCardInfo.js +1 -1
  404. package/lib/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
  405. package/lib/components/ComparisonTable/ComparisonTable.js +2 -2
  406. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  407. package/lib/components/ComparisonTable/TableCarouselContainer.js +1 -1
  408. package/lib/components/ComparisonTable/TableCell.js +1 -1
  409. package/lib/components/ComparisonTable/TableCell.js.map +1 -1
  410. package/lib/components/ComparisonTable/TableCell.mobile.js +1 -1
  411. package/lib/components/ComparisonTable/TableCell.mobile.js.map +1 -1
  412. package/lib/components/ComparisonTable/TableColumn.js +1 -1
  413. package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  414. package/lib/components/ComparisonTable/TableRow.js +1 -1
  415. package/lib/components/ComparisonTable/TableRow.js.map +1 -1
  416. package/lib/components/ComparisonTable/TableRowContainer.js +1 -1
  417. package/lib/components/ComparisonTable/TableRowContainer.js.map +1 -1
  418. package/lib/components/ComparisonTable/constants.d.ts +1 -1
  419. package/lib/components/ComparisonTable/constants.js +1 -1
  420. package/lib/components/ComparisonTable/constants.js.map +1 -1
  421. package/lib/components/ContactsBlock/ContactsBlock.js +2 -2
  422. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  423. package/lib/components/ContentPage/ContentPage.js +1 -1
  424. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  425. package/lib/components/DepositFiltration/DepositFiltration.js +1 -1
  426. package/lib/components/DepositFiltration/DepositFiltration.js.map +1 -1
  427. package/lib/components/ErrorBlock/ErrorBlock.js +2 -2
  428. package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  429. package/lib/components/ExchangeRateOffice/renderCurrencies.js +1 -1
  430. package/lib/components/ExchangeRateOffice/renderCurrencies.js.map +1 -1
  431. package/lib/components/ExchangeRateTile/CurrencyTable.js +1 -1
  432. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  433. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  434. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  435. package/lib/components/ExchangeRateTile/renderInput.js +1 -1
  436. package/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  437. package/lib/components/Footer/buttonStylesWithText.js +1 -1
  438. package/lib/components/Footer/buttonStylesWithText.js.map +1 -1
  439. package/lib/components/GracePeriod/GracePeriod.js +4 -3
  440. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  441. package/lib/components/Header/DropdownMenu.js +2 -2
  442. package/lib/components/Header/DropdownMenu.js.map +1 -1
  443. package/lib/components/Header/Header.mobile.js +1 -1
  444. package/lib/components/Header/Header.mobile.js.map +1 -1
  445. package/lib/components/Header/HeaderSecondaryMenu.js +1 -1
  446. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  447. package/lib/components/Header/HeaderSecondaryMenuButton.js +1 -1
  448. package/lib/components/Header/HeaderSubMenu.js +1 -2
  449. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  450. package/lib/components/Header/InternetBankButton.js +2 -2
  451. package/lib/components/Header/InternetBankButton.js.map +1 -1
  452. package/lib/components/Headline/Headline.js +2 -2
  453. package/lib/components/Headline/Headline.js.map +1 -1
  454. package/lib/components/Headline/HeadlineContent.d.ts +2 -2
  455. package/lib/components/Headline/headlineVersionStyles.js +1 -1
  456. package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  457. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  458. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +5 -5
  459. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  460. package/lib/components/InvestmentInfo/InvestmentInfo.js +2 -2
  461. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  462. package/lib/components/LikeControl/LikeControl.js +1 -1
  463. package/lib/components/LikeControl/LikeControl.js.map +1 -1
  464. package/lib/components/LinkDocs/LinkDocItem.js +1 -1
  465. package/lib/components/LinkDocs/LinkDocs.js +2 -2
  466. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  467. package/lib/components/MobileAppTile/renderList.js +1 -1
  468. package/lib/components/MobileAppTile/renderList.js.map +1 -1
  469. package/lib/components/MortgageFiltration/MortgageFiltration.js +5 -5
  470. package/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
  471. package/lib/components/OfficeMap/OfficeMap.js +1 -1
  472. package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  473. package/lib/components/OfficeMap/renderFunctions.js +4 -4
  474. package/lib/components/OfficeMap/renderFunctions.js.map +1 -1
  475. package/lib/components/Placeholder/Placeholder.js +1 -1
  476. package/lib/components/Placeholder/Placeholder.js.map +1 -1
  477. package/lib/components/ProductBlock/renderBackwardButton.js +1 -1
  478. package/lib/components/ProductGallery/ProductGallery.js +4 -4
  479. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  480. package/lib/components/PromoTile/PromoTile.js +1 -1
  481. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  482. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  483. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  484. package/lib/components/RollupItem/RollupItem.js +1 -1
  485. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  486. package/lib/components/RollupItem/foldableSectionStyles.d.ts +1 -1
  487. package/lib/components/RollupItem/foldableSectionStyles.js +1 -1
  488. package/lib/components/SafeDepositRental/RadioButtons.d.ts +1 -1
  489. package/lib/components/SafeDepositRental/RadioButtons.js +1 -1
  490. package/lib/components/SafeDepositRental/RadioButtons.js.map +1 -1
  491. package/lib/components/SafeDepositRental/SafeBoxCases.js +1 -1
  492. package/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  493. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  494. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +1 -1
  495. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  496. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
  497. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  498. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
  499. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  500. package/lib/components/StepsBlock/StepsBlock.js +4 -4
  501. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  502. package/lib/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
  503. package/lib/components/StepsBlock/StepsBlock.mobile.js +6 -7
  504. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  505. package/lib/components/StepsBlock/renderStep.js +1 -1
  506. package/lib/components/StepsBlock/renderStep.js.map +1 -1
  507. package/lib/components/Tabs/Tabs.js +6 -6
  508. package/lib/components/Tabs/Tabs.js.map +1 -1
  509. package/lib/components/TariffsTable/EmbeddableCellData.js +1 -4
  510. package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  511. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +2 -2
  512. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  513. package/lib/components/TariffsTable/TariffsTable.js +3 -3
  514. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  515. package/lib/components/TariffsTable/TariffsTable.mobile.js +1 -1
  516. package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  517. package/lib/components/TariffsTable/TariffsTableCell.js +1 -1
  518. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  519. package/lib/components/TariffsTable/TariffsTableVertical.js +1 -1
  520. package/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  521. package/lib/components/TariffsTable/constants.d.ts +1 -1
  522. package/lib/components/TariffsTable/constants.js +1 -1
  523. package/lib/components/TariffsTable/constants.js.map +1 -1
  524. package/lib/components/TextBlock/TextBlock.js +2 -2
  525. package/lib/components/TextBlock/TextBlock.js.map +1 -1
  526. package/lib/components/Video/getPaddings.d.ts +1 -1
  527. package/lib/components/Video/getPaddings.js +1 -1
  528. package/lib/components/Video/getPaddings.js.map +1 -1
  529. package/lib/model/HeadlineType.d.ts +1 -1
  530. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
  531. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  532. package/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js +2 -4
  533. package/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -1
  534. package/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  535. package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  536. package/lib/ui-kit/Button/ButtonInner.js +1 -1
  537. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  538. package/lib/ui-kit/Checkbox/Checkbox.js +1 -1
  539. package/lib/ui-kit/CookiePopup/CookiePopup.js +1 -1
  540. package/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  541. package/lib/ui-kit/DialogManager/CloseButton.js +1 -1
  542. package/lib/ui-kit/DialogManager/CloseButton.js.map +1 -1
  543. package/lib/ui-kit/Foldable/DefaultFoldButton.js +2 -2
  544. package/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  545. package/lib/ui-kit/InnerTable/InnerTable.js +1 -1
  546. package/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
  547. package/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
  548. package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  549. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +3 -2
  550. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  551. package/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  552. package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  553. package/lib/ui-kit/Input/Input.js +2 -2
  554. package/lib/ui-kit/Input/Input.js.map +1 -1
  555. package/lib/ui-kit/InputRange/InputRange.js +2 -2
  556. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  557. package/lib/ui-kit/InputRange/renderRangeWithTicks.js +1 -1
  558. package/lib/ui-kit/LocationDialog/SearchBar.js +1 -1
  559. package/lib/ui-kit/LocationDialog/SearchBar.js.map +1 -1
  560. package/lib/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
  561. package/lib/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
  562. package/lib/ui-kit/Radio/Radio.js +1 -1
  563. package/lib/ui-kit/Radio/Radio.js.map +1 -1
  564. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +2 -2
  565. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  566. package/lib/ui-kit/SearchDialog/SearchInput.js +1 -1
  567. package/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  568. package/lib/ui-kit/Select/Select.js +2 -2
  569. package/lib/ui-kit/Select/Select.js.map +1 -1
  570. package/lib/ui-kit/Sitemap/Sitemap.js +1 -1
  571. package/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
  572. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +2 -2
  573. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  574. package/lib/ui-kit/TabsControl/TabItem.js +15 -29
  575. package/lib/ui-kit/TabsControl/TabItem.js.map +1 -1
  576. package/lib/ui-kit/TabsControl/TabItemInner.d.ts +6 -0
  577. package/lib/ui-kit/TabsControl/TabItemInner.js +31 -0
  578. package/lib/ui-kit/TabsControl/TabItemInner.js.map +1 -0
  579. package/lib/ui-kit/Tags/Tags.js +1 -1
  580. package/lib/ui-kit/Tags/Tags.js.map +1 -1
  581. package/lib/ui-kit/TopItem/TopItem.js +1 -1
  582. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  583. package/lib/ui-kit/YandexMap/renderOpenMap.js +1 -1
  584. package/lib/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
  585. package/lib/ui-kit/YandexMap/renderUserGeolocation.js +1 -1
  586. package/mobile/bundle/bundle.umd.js +154 -143
  587. package/mobile/bundle/bundle.umd.min.js +1 -1
  588. package/mobile/bundle/components/ApplicationForm/SelectControl.d.ts +1 -0
  589. package/mobile/bundle/components/BonusBenefitsBlock/bonusBenefitStyles.d.ts +1 -1
  590. package/mobile/bundle/components/CarouselLinks/CarouselLinkButton.d.ts +5 -0
  591. package/mobile/bundle/components/ComparisonTable/constants.d.ts +1 -1
  592. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +2 -2
  593. package/mobile/bundle/components/SafeDepositRental/RadioButtons.d.ts +1 -1
  594. package/mobile/bundle/components/StepsBlock/StepsBlock.d.ts +1 -1
  595. package/mobile/bundle/components/TariffsTable/constants.d.ts +1 -1
  596. package/mobile/bundle/components/Video/getPaddings.d.ts +1 -1
  597. package/mobile/bundle/model/HeadlineType.d.ts +1 -1
  598. package/mobile/bundle/ui-kit/TabsControl/TabItemInner.d.ts +6 -0
  599. package/mobile/dist/components/ApplicationForm/ApplicationForm.js +1 -1
  600. package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  601. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  602. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  603. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
  604. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  605. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  606. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  607. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  608. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  609. package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
  610. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +1 -1
  611. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  612. package/mobile/dist/components/ApplicationForm/ResponseNotification.js +1 -1
  613. package/mobile/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
  614. package/mobile/dist/components/ApplicationForm/SelectControl.d.ts +1 -0
  615. package/mobile/dist/components/ApplicationForm/SelectControl.js +1 -1
  616. package/mobile/dist/components/ApplicationForm/SelectControl.js.map +1 -1
  617. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  618. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  619. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js +1 -1
  620. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  621. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  622. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  623. package/mobile/dist/components/ApplicationForm/renderContacts.js +1 -1
  624. package/mobile/dist/components/ApplicationForm/renderContacts.js.map +1 -1
  625. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  626. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  627. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js +1 -1
  628. package/mobile/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  629. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  630. package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  631. package/mobile/dist/components/ApplicationForm/renderRegion.js +1 -1
  632. package/mobile/dist/components/ApplicationForm/renderRegion.js.map +1 -1
  633. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js +1 -1
  634. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  635. package/mobile/dist/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
  636. package/mobile/dist/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
  637. package/mobile/dist/components/ApplicationForm/renderSubmitButton.js +1 -1
  638. package/mobile/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  639. package/mobile/dist/components/Bonus/Bonus.js +2 -2
  640. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  641. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  642. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  643. package/mobile/dist/components/BonusBenefitsBlock/bonusBenefitStyles.d.ts +1 -1
  644. package/mobile/dist/components/BonusBenefitsBlock/bonusBenefitStyles.js +1 -1
  645. package/mobile/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  646. package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  647. package/mobile/dist/components/BusinessBlock/BusinessCard.js +1 -1
  648. package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  649. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +2 -3
  650. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  651. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +24 -23
  652. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  653. package/mobile/dist/components/Calculator/CalculatorValueBlock.js +1 -1
  654. package/mobile/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
  655. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +4 -4
  656. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  657. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +3 -3
  658. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  659. package/mobile/dist/components/Calculator/Rate.js +1 -1
  660. package/mobile/dist/components/Calculator/Rate.js.map +1 -1
  661. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js +4 -5
  662. package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  663. package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.js +1 -1
  664. package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  665. package/mobile/dist/components/Calculator/renderCalculatorBlock.js +1 -1
  666. package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  667. package/mobile/dist/components/Calculator/renderInitialFeeInput.js +1 -1
  668. package/mobile/dist/components/Calculator/renderInitialFeeInput.js.map +1 -1
  669. package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
  670. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  671. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  672. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  673. package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
  674. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  675. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  676. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  677. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +4 -9
  678. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  679. package/mobile/dist/components/CarouselLinks/CarouselLinkButton.d.ts +5 -0
  680. package/mobile/dist/{ui-kit/LinkButton/LinkButton.js → components/CarouselLinks/CarouselLinkButton.js} +5 -5
  681. package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js.map +1 -0
  682. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +5 -5
  683. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  684. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  685. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  686. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  687. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  688. package/mobile/dist/components/CarouselTariffsCard/getPaddingStyle.js +1 -1
  689. package/mobile/dist/components/CarouselTariffsCard/getPaddingStyle.js.map +1 -1
  690. package/mobile/dist/components/CarouselTariffsCard/renderCardInfo.js +1 -1
  691. package/mobile/dist/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
  692. package/mobile/dist/components/ComparisonTable/TableCarouselContainer.js +1 -1
  693. package/mobile/dist/components/ComparisonTable/TableCell.js +1 -1
  694. package/mobile/dist/components/ComparisonTable/TableCell.js.map +1 -1
  695. package/mobile/dist/components/ComparisonTable/TableColumn.js +1 -1
  696. package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  697. package/mobile/dist/components/ComparisonTable/TableRow.js +1 -1
  698. package/mobile/dist/components/ComparisonTable/TableRow.js.map +1 -1
  699. package/mobile/dist/components/ComparisonTable/TableRowContainer.js +1 -1
  700. package/mobile/dist/components/ComparisonTable/TableRowContainer.js.map +1 -1
  701. package/mobile/dist/components/ComparisonTable/constants.d.ts +1 -1
  702. package/mobile/dist/components/ComparisonTable/constants.js +1 -1
  703. package/mobile/dist/components/ComparisonTable/constants.js.map +1 -1
  704. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +2 -2
  705. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  706. package/mobile/dist/components/ContentPage/ContentPage.js +1 -1
  707. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  708. package/mobile/dist/components/DepositFiltration/DepositFiltration.js +1 -1
  709. package/mobile/dist/components/DepositFiltration/DepositFiltration.js.map +1 -1
  710. package/mobile/dist/components/ErrorBlock/ErrorBlock.js +2 -2
  711. package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  712. package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js +1 -1
  713. package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js.map +1 -1
  714. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +1 -1
  715. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  716. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  717. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  718. package/mobile/dist/components/ExchangeRateTile/renderInput.js +1 -1
  719. package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  720. package/mobile/dist/components/Footer/buttonStylesWithText.js +1 -1
  721. package/mobile/dist/components/Footer/buttonStylesWithText.js.map +1 -1
  722. package/mobile/dist/components/GracePeriod/GracePeriod.js +4 -3
  723. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  724. package/mobile/dist/components/Header/DropdownMenu.js +2 -2
  725. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  726. package/mobile/dist/components/Header/Header.js +1 -1
  727. package/mobile/dist/components/Header/Header.js.map +1 -1
  728. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +1 -1
  729. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  730. package/mobile/dist/components/Header/HeaderSecondaryMenuButton.js +1 -1
  731. package/mobile/dist/components/Header/HeaderSubMenu.js +1 -2
  732. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  733. package/mobile/dist/components/Header/InternetBankButton.js +2 -2
  734. package/mobile/dist/components/Header/InternetBankButton.js.map +1 -1
  735. package/mobile/dist/components/Headline/Headline.js +2 -2
  736. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  737. package/mobile/dist/components/Headline/HeadlineContent.d.ts +2 -2
  738. package/mobile/dist/components/Headline/headlineVersionStyles.js +1 -1
  739. package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  740. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  741. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +5 -5
  742. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  743. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +2 -2
  744. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  745. package/mobile/dist/components/LikeControl/LikeControl.js +1 -1
  746. package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -1
  747. package/mobile/dist/components/LinkDocs/LinkDocItem.js +1 -1
  748. package/mobile/dist/components/LinkDocs/LinkDocs.js +2 -2
  749. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  750. package/mobile/dist/components/MobileAppTile/renderList.js +1 -1
  751. package/mobile/dist/components/MobileAppTile/renderList.js.map +1 -1
  752. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js +5 -5
  753. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
  754. package/mobile/dist/components/OfficeMap/OfficeMap.js +1 -1
  755. package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  756. package/mobile/dist/components/OfficeMap/renderFunctions.js +4 -4
  757. package/mobile/dist/components/OfficeMap/renderFunctions.js.map +1 -1
  758. package/mobile/dist/components/Placeholder/Placeholder.js +1 -1
  759. package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
  760. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +1 -1
  761. package/mobile/dist/components/PromoTile/PromoTile.js +1 -1
  762. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  763. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  764. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  765. package/mobile/dist/components/RollupItem/RollupItem.js +1 -1
  766. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  767. package/mobile/dist/components/SafeDepositRental/RadioButtons.d.ts +1 -1
  768. package/mobile/dist/components/SafeDepositRental/RadioButtons.js +1 -1
  769. package/mobile/dist/components/SafeDepositRental/RadioButtons.js.map +1 -1
  770. package/mobile/dist/components/SafeDepositRental/SafeBoxCases.js +1 -1
  771. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  772. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  773. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +1 -1
  774. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  775. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
  776. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  777. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
  778. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  779. package/mobile/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
  780. package/mobile/dist/components/StepsBlock/StepsBlock.js +6 -7
  781. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  782. package/mobile/dist/components/StepsBlock/renderStep.js +1 -1
  783. package/mobile/dist/components/StepsBlock/renderStep.js.map +1 -1
  784. package/mobile/dist/components/Tabs/Tabs.js +6 -6
  785. package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
  786. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +2 -2
  787. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  788. package/mobile/dist/components/TariffsTable/TariffsTable.js +1 -1
  789. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  790. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +1 -1
  791. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  792. package/mobile/dist/components/TariffsTable/TariffsTableVertical.js +1 -1
  793. package/mobile/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  794. package/mobile/dist/components/TariffsTable/constants.d.ts +1 -1
  795. package/mobile/dist/components/TariffsTable/constants.js +1 -1
  796. package/mobile/dist/components/TariffsTable/constants.js.map +1 -1
  797. package/mobile/dist/components/TextBlock/TextBlock.js +2 -2
  798. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  799. package/mobile/dist/components/Video/getPaddings.d.ts +1 -1
  800. package/mobile/dist/components/Video/getPaddings.js +1 -1
  801. package/mobile/dist/components/Video/getPaddings.js.map +1 -1
  802. package/mobile/dist/model/HeadlineType.d.ts +1 -1
  803. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
  804. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  805. package/mobile/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js +2 -4
  806. package/mobile/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -1
  807. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  808. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  809. package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
  810. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  811. package/mobile/dist/ui-kit/Checkbox/Checkbox.js +1 -1
  812. package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js +1 -1
  813. package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  814. package/mobile/dist/ui-kit/DialogManager/CloseButton.js +1 -1
  815. package/mobile/dist/ui-kit/DialogManager/CloseButton.js.map +1 -1
  816. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js +2 -2
  817. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  818. package/mobile/dist/ui-kit/InnerTable/InnerTable.js +1 -1
  819. package/mobile/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
  820. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
  821. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  822. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js +3 -2
  823. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  824. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  825. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  826. package/mobile/dist/ui-kit/Input/Input.js +2 -2
  827. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  828. package/mobile/dist/ui-kit/InputRange/InputRange.js +2 -2
  829. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  830. package/mobile/dist/ui-kit/InputRange/renderRangeWithTicks.js +1 -1
  831. package/mobile/dist/ui-kit/LocationDialog/SearchBar.js +1 -1
  832. package/mobile/dist/ui-kit/LocationDialog/SearchBar.js.map +1 -1
  833. package/mobile/dist/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
  834. package/mobile/dist/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
  835. package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
  836. package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
  837. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +2 -2
  838. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  839. package/mobile/dist/ui-kit/SearchDialog/SearchInput.js +1 -1
  840. package/mobile/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  841. package/mobile/dist/ui-kit/Select/Select.js +2 -2
  842. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  843. package/mobile/dist/ui-kit/Sitemap/Sitemap.js +1 -1
  844. package/mobile/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
  845. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +2 -2
  846. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  847. package/mobile/dist/ui-kit/TabsControl/TabItem.js +15 -29
  848. package/mobile/dist/ui-kit/TabsControl/TabItem.js.map +1 -1
  849. package/mobile/dist/ui-kit/TabsControl/TabItemInner.d.ts +6 -0
  850. package/mobile/dist/ui-kit/TabsControl/TabItemInner.js +33 -0
  851. package/mobile/dist/ui-kit/TabsControl/TabItemInner.js.map +1 -0
  852. package/mobile/dist/ui-kit/Tags/Tags.js +1 -1
  853. package/mobile/dist/ui-kit/Tags/Tags.js.map +1 -1
  854. package/mobile/dist/ui-kit/TopItem/TopItem.js +1 -1
  855. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  856. package/mobile/dist/ui-kit/YandexMap/renderOpenMap.js +1 -1
  857. package/mobile/dist/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
  858. package/mobile/dist/ui-kit/YandexMap/renderUserGeolocation.js +1 -1
  859. package/mobile/lib/common.css +1 -1
  860. package/mobile/lib/components/ApplicationForm/ApplicationForm.js +1 -1
  861. package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  862. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
  863. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  864. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
  865. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  866. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
  867. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  868. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  869. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  870. package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
  871. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +1 -1
  872. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  873. package/mobile/lib/components/ApplicationForm/ResponseNotification.js +1 -1
  874. package/mobile/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
  875. package/mobile/lib/components/ApplicationForm/SelectControl.d.ts +1 -0
  876. package/mobile/lib/components/ApplicationForm/SelectControl.js +1 -1
  877. package/mobile/lib/components/ApplicationForm/SelectControl.js.map +1 -1
  878. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  879. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  880. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js +1 -1
  881. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
  882. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  883. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  884. package/mobile/lib/components/ApplicationForm/renderContacts.js +1 -1
  885. package/mobile/lib/components/ApplicationForm/renderContacts.js.map +1 -1
  886. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  887. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  888. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js +1 -1
  889. package/mobile/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
  890. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js +1 -1
  891. package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
  892. package/mobile/lib/components/ApplicationForm/renderRegion.js +1 -1
  893. package/mobile/lib/components/ApplicationForm/renderRegion.js.map +1 -1
  894. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js +1 -1
  895. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
  896. package/mobile/lib/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
  897. package/mobile/lib/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
  898. package/mobile/lib/components/ApplicationForm/renderSubmitButton.js +1 -1
  899. package/mobile/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
  900. package/mobile/lib/components/Bonus/Bonus.js +2 -2
  901. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  902. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  903. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  904. package/mobile/lib/components/BonusBenefitsBlock/bonusBenefitStyles.d.ts +1 -1
  905. package/mobile/lib/components/BonusBenefitsBlock/bonusBenefitStyles.js +1 -1
  906. package/mobile/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  907. package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  908. package/mobile/lib/components/BusinessBlock/BusinessCard.js +1 -1
  909. package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  910. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +2 -3
  911. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  912. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +24 -23
  913. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  914. package/mobile/lib/components/Calculator/CalculatorValueBlock.js +1 -1
  915. package/mobile/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
  916. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +4 -4
  917. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  918. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +4 -4
  919. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  920. package/mobile/lib/components/Calculator/Rate.js +1 -1
  921. package/mobile/lib/components/Calculator/Rate.js.map +1 -1
  922. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js +5 -6
  923. package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
  924. package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.js +1 -1
  925. package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
  926. package/mobile/lib/components/Calculator/renderCalculatorBlock.js +1 -1
  927. package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  928. package/mobile/lib/components/Calculator/renderInitialFeeInput.js +1 -1
  929. package/mobile/lib/components/Calculator/renderInitialFeeInput.js.map +1 -1
  930. package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
  931. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  932. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  933. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  934. package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
  935. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  936. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  937. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  938. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +4 -9
  939. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  940. package/mobile/lib/components/CarouselLinks/CarouselLinkButton.d.ts +5 -0
  941. package/{lib/ui-kit/LinkButton/LinkButton.js → mobile/lib/components/CarouselLinks/CarouselLinkButton.js} +4 -4
  942. package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js.map +1 -0
  943. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +5 -5
  944. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  945. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  946. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  947. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  948. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  949. package/mobile/lib/components/CarouselTariffsCard/getPaddingStyle.js +1 -1
  950. package/mobile/lib/components/CarouselTariffsCard/getPaddingStyle.js.map +1 -1
  951. package/mobile/lib/components/CarouselTariffsCard/renderCardInfo.js +1 -1
  952. package/mobile/lib/components/CarouselTariffsCard/renderCardInfo.js.map +1 -1
  953. package/mobile/lib/components/ComparisonTable/TableCarouselContainer.js +1 -1
  954. package/mobile/lib/components/ComparisonTable/TableCell.js +1 -1
  955. package/mobile/lib/components/ComparisonTable/TableCell.js.map +1 -1
  956. package/mobile/lib/components/ComparisonTable/TableColumn.js +1 -1
  957. package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  958. package/mobile/lib/components/ComparisonTable/TableRow.js +1 -1
  959. package/mobile/lib/components/ComparisonTable/TableRow.js.map +1 -1
  960. package/mobile/lib/components/ComparisonTable/TableRowContainer.js +1 -1
  961. package/mobile/lib/components/ComparisonTable/TableRowContainer.js.map +1 -1
  962. package/mobile/lib/components/ComparisonTable/constants.d.ts +1 -1
  963. package/mobile/lib/components/ComparisonTable/constants.js +1 -1
  964. package/mobile/lib/components/ComparisonTable/constants.js.map +1 -1
  965. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +2 -2
  966. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  967. package/mobile/lib/components/ContentPage/ContentPage.js +1 -1
  968. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  969. package/mobile/lib/components/DepositFiltration/DepositFiltration.js +1 -1
  970. package/mobile/lib/components/DepositFiltration/DepositFiltration.js.map +1 -1
  971. package/mobile/lib/components/ErrorBlock/ErrorBlock.js +2 -2
  972. package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  973. package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js +1 -1
  974. package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js.map +1 -1
  975. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +1 -1
  976. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  977. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  978. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  979. package/mobile/lib/components/ExchangeRateTile/renderInput.js +1 -1
  980. package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  981. package/mobile/lib/components/Footer/buttonStylesWithText.js +1 -1
  982. package/mobile/lib/components/Footer/buttonStylesWithText.js.map +1 -1
  983. package/mobile/lib/components/GracePeriod/GracePeriod.js +4 -3
  984. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  985. package/mobile/lib/components/Header/DropdownMenu.js +2 -2
  986. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  987. package/mobile/lib/components/Header/Header.js +1 -1
  988. package/mobile/lib/components/Header/Header.js.map +1 -1
  989. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +1 -1
  990. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  991. package/mobile/lib/components/Header/HeaderSecondaryMenuButton.js +1 -1
  992. package/mobile/lib/components/Header/HeaderSubMenu.js +1 -2
  993. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  994. package/mobile/lib/components/Header/InternetBankButton.js +2 -2
  995. package/mobile/lib/components/Header/InternetBankButton.js.map +1 -1
  996. package/mobile/lib/components/Headline/Headline.js +2 -2
  997. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  998. package/mobile/lib/components/Headline/HeadlineContent.d.ts +2 -2
  999. package/mobile/lib/components/Headline/headlineVersionStyles.js +1 -1
  1000. package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  1001. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  1002. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +5 -5
  1003. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  1004. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +2 -2
  1005. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  1006. package/mobile/lib/components/LikeControl/LikeControl.js +1 -1
  1007. package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -1
  1008. package/mobile/lib/components/LinkDocs/LinkDocItem.js +1 -1
  1009. package/mobile/lib/components/LinkDocs/LinkDocs.js +2 -2
  1010. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  1011. package/mobile/lib/components/MobileAppTile/renderList.js +1 -1
  1012. package/mobile/lib/components/MobileAppTile/renderList.js.map +1 -1
  1013. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js +5 -5
  1014. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
  1015. package/mobile/lib/components/OfficeMap/OfficeMap.js +1 -1
  1016. package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  1017. package/mobile/lib/components/OfficeMap/renderFunctions.js +4 -4
  1018. package/mobile/lib/components/OfficeMap/renderFunctions.js.map +1 -1
  1019. package/mobile/lib/components/Placeholder/Placeholder.js +1 -1
  1020. package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
  1021. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +1 -1
  1022. package/mobile/lib/components/PromoTile/PromoTile.js +1 -1
  1023. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  1024. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  1025. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  1026. package/mobile/lib/components/RollupItem/RollupItem.js +1 -1
  1027. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  1028. package/mobile/lib/components/SafeDepositRental/RadioButtons.d.ts +1 -1
  1029. package/mobile/lib/components/SafeDepositRental/RadioButtons.js +1 -1
  1030. package/mobile/lib/components/SafeDepositRental/RadioButtons.js.map +1 -1
  1031. package/mobile/lib/components/SafeDepositRental/SafeBoxCases.js +1 -1
  1032. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  1033. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1034. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +1 -1
  1035. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  1036. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
  1037. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  1038. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
  1039. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  1040. package/mobile/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
  1041. package/mobile/lib/components/StepsBlock/StepsBlock.js +6 -7
  1042. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  1043. package/mobile/lib/components/StepsBlock/renderStep.js +1 -1
  1044. package/mobile/lib/components/StepsBlock/renderStep.js.map +1 -1
  1045. package/mobile/lib/components/Tabs/Tabs.js +6 -6
  1046. package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
  1047. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +2 -2
  1048. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  1049. package/mobile/lib/components/TariffsTable/TariffsTable.js +1 -1
  1050. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  1051. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +1 -1
  1052. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  1053. package/mobile/lib/components/TariffsTable/TariffsTableVertical.js +1 -1
  1054. package/mobile/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  1055. package/mobile/lib/components/TariffsTable/constants.d.ts +1 -1
  1056. package/mobile/lib/components/TariffsTable/constants.js +1 -1
  1057. package/mobile/lib/components/TariffsTable/constants.js.map +1 -1
  1058. package/mobile/lib/components/TextBlock/TextBlock.js +2 -2
  1059. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  1060. package/mobile/lib/components/Video/getPaddings.d.ts +1 -1
  1061. package/mobile/lib/components/Video/getPaddings.js +1 -1
  1062. package/mobile/lib/components/Video/getPaddings.js.map +1 -1
  1063. package/mobile/lib/model/HeadlineType.d.ts +1 -1
  1064. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
  1065. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
  1066. package/mobile/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js +2 -4
  1067. package/mobile/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -1
  1068. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  1069. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  1070. package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
  1071. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  1072. package/mobile/lib/ui-kit/Checkbox/Checkbox.js +1 -1
  1073. package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js +1 -1
  1074. package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  1075. package/mobile/lib/ui-kit/DialogManager/CloseButton.js +1 -1
  1076. package/mobile/lib/ui-kit/DialogManager/CloseButton.js.map +1 -1
  1077. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js +2 -2
  1078. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  1079. package/mobile/lib/ui-kit/InnerTable/InnerTable.js +1 -1
  1080. package/mobile/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
  1081. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
  1082. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  1083. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js +3 -2
  1084. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  1085. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  1086. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  1087. package/mobile/lib/ui-kit/Input/Input.js +2 -2
  1088. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  1089. package/mobile/lib/ui-kit/InputRange/InputRange.js +2 -2
  1090. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  1091. package/mobile/lib/ui-kit/InputRange/renderRangeWithTicks.js +1 -1
  1092. package/mobile/lib/ui-kit/LocationDialog/SearchBar.js +1 -1
  1093. package/mobile/lib/ui-kit/LocationDialog/SearchBar.js.map +1 -1
  1094. package/mobile/lib/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
  1095. package/mobile/lib/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
  1096. package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
  1097. package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
  1098. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +2 -2
  1099. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  1100. package/mobile/lib/ui-kit/SearchDialog/SearchInput.js +1 -1
  1101. package/mobile/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  1102. package/mobile/lib/ui-kit/Select/Select.js +2 -2
  1103. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  1104. package/mobile/lib/ui-kit/Sitemap/Sitemap.js +1 -1
  1105. package/mobile/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
  1106. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +2 -2
  1107. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  1108. package/mobile/lib/ui-kit/TabsControl/TabItem.js +15 -29
  1109. package/mobile/lib/ui-kit/TabsControl/TabItem.js.map +1 -1
  1110. package/mobile/lib/ui-kit/TabsControl/TabItemInner.d.ts +6 -0
  1111. package/mobile/lib/ui-kit/TabsControl/TabItemInner.js +31 -0
  1112. package/mobile/lib/ui-kit/TabsControl/TabItemInner.js.map +1 -0
  1113. package/mobile/lib/ui-kit/Tags/Tags.js +1 -1
  1114. package/mobile/lib/ui-kit/Tags/Tags.js.map +1 -1
  1115. package/mobile/lib/ui-kit/TopItem/TopItem.js +1 -1
  1116. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  1117. package/mobile/lib/ui-kit/YandexMap/renderOpenMap.js +1 -1
  1118. package/mobile/lib/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
  1119. package/mobile/lib/ui-kit/YandexMap/renderUserGeolocation.js +1 -1
  1120. package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +2 -6
  1121. package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +4 -4
  1122. package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +2 -2
  1123. package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +5 -5
  1124. package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +5 -5
  1125. package/mobile/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +1 -1
  1126. package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +6 -6
  1127. package/mobile/src/components/ApplicationForm/ResponseNotification.tsx +2 -2
  1128. package/mobile/src/components/ApplicationForm/SelectControl.tsx +6 -5
  1129. package/mobile/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +7 -7
  1130. package/mobile/src/components/ApplicationForm/renderAcquiringRegion.tsx +3 -3
  1131. package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +7 -7
  1132. package/mobile/src/components/ApplicationForm/renderContacts.tsx +5 -5
  1133. package/mobile/src/components/ApplicationForm/renderCreditDataOrganization.tsx +9 -9
  1134. package/mobile/src/components/ApplicationForm/renderCreditParameters.tsx +2 -2
  1135. package/mobile/src/components/ApplicationForm/renderQuestionsInterested.tsx +6 -14
  1136. package/mobile/src/components/ApplicationForm/renderRegion.tsx +7 -8
  1137. package/mobile/src/components/ApplicationForm/renderRegionDepartment.tsx +3 -3
  1138. package/mobile/src/components/ApplicationForm/renderSlideCheckboxes.tsx +1 -1
  1139. package/mobile/src/components/ApplicationForm/renderSubmitButton.tsx +1 -4
  1140. package/mobile/src/components/Bonus/Bonus.tsx +7 -9
  1141. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -2
  1142. package/mobile/src/components/BonusBenefitsBlock/bonusBenefitStyles.ts +1 -1
  1143. package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
  1144. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +1 -1
  1145. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +12 -15
  1146. package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +35 -39
  1147. package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +1 -1
  1148. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +7 -7
  1149. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +5 -7
  1150. package/mobile/src/components/Calculator/Rate.tsx +1 -1
  1151. package/mobile/src/components/Calculator/RefinancingCalculatorForm.tsx +6 -11
  1152. package/mobile/src/components/Calculator/renderBinaryRadioButtonGroup.tsx +2 -2
  1153. package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +2 -2
  1154. package/mobile/src/components/Calculator/renderInitialFeeInput.tsx +0 -1
  1155. package/mobile/src/components/CardTransfer/CardTransfer.tsx +2 -2
  1156. package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
  1157. package/mobile/src/components/CarouselCard/CarouselCard.tsx +7 -3
  1158. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
  1159. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +9 -22
  1160. package/mobile/src/{ui-kit/LinkButton/LinkButton.tsx → components/CarouselLinks/CarouselLinkButton.tsx} +4 -5
  1161. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +6 -6
  1162. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +4 -5
  1163. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +3 -3
  1164. package/mobile/src/components/CarouselTariffsCard/getPaddingStyle.tsx +1 -1
  1165. package/mobile/src/components/CarouselTariffsCard/renderCardInfo.tsx +2 -2
  1166. package/mobile/src/components/ComparisonTable/TableCarouselContainer.tsx +1 -1
  1167. package/mobile/src/components/ComparisonTable/TableCell.tsx +1 -1
  1168. package/mobile/src/components/ComparisonTable/TableColumn.tsx +1 -1
  1169. package/mobile/src/components/ComparisonTable/TableRow.tsx +1 -1
  1170. package/mobile/src/components/ComparisonTable/TableRowContainer.tsx +1 -1
  1171. package/mobile/src/components/ComparisonTable/constants.ts +1 -1
  1172. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +4 -4
  1173. package/mobile/src/components/ContentPage/ContentPage.tsx +2 -2
  1174. package/mobile/src/components/DepositFiltration/DepositFiltration.tsx +1 -1
  1175. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +5 -5
  1176. package/mobile/src/components/ExchangeRateOffice/renderCurrencies.tsx +2 -2
  1177. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +2 -7
  1178. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
  1179. package/mobile/src/components/ExchangeRateTile/renderInput.tsx +1 -1
  1180. package/mobile/src/components/Footer/buttonStylesWithText.ts +1 -1
  1181. package/mobile/src/components/GracePeriod/GracePeriod.tsx +9 -14
  1182. package/mobile/src/components/Header/DropdownMenu.tsx +3 -3
  1183. package/mobile/src/components/Header/Header.tsx +1 -1
  1184. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +1 -1
  1185. package/mobile/src/components/Header/HeaderSecondaryMenuButton.tsx +1 -1
  1186. package/mobile/src/components/Header/HeaderSubMenu.tsx +6 -4
  1187. package/mobile/src/components/Header/InternetBankButton.tsx +2 -2
  1188. package/mobile/src/components/Headline/Headline.tsx +3 -3
  1189. package/mobile/src/components/Headline/HeadlineContent.ts +2 -2
  1190. package/mobile/src/components/Headline/headlineVersionStyles.ts +1 -1
  1191. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  1192. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +8 -8
  1193. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +3 -3
  1194. package/mobile/src/components/LikeControl/LikeControl.tsx +1 -1
  1195. package/mobile/src/components/LinkDocs/LinkDocItem.tsx +1 -1
  1196. package/mobile/src/components/LinkDocs/LinkDocs.tsx +5 -8
  1197. package/mobile/src/components/MobileAppTile/renderList.tsx +1 -1
  1198. package/mobile/src/components/MortgageFiltration/MortgageFiltration.tsx +7 -7
  1199. package/mobile/src/components/OfficeMap/OfficeMap.tsx +1 -1
  1200. package/mobile/src/components/OfficeMap/renderFunctions.tsx +14 -12
  1201. package/mobile/src/components/Placeholder/Placeholder.tsx +1 -1
  1202. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +1 -1
  1203. package/mobile/src/components/PromoTile/PromoTile.tsx +1 -1
  1204. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +1 -1
  1205. package/mobile/src/components/RollupItem/RollupItem.tsx +1 -1
  1206. package/mobile/src/components/SafeDepositRental/RadioButtons.tsx +2 -2
  1207. package/mobile/src/components/SafeDepositRental/SafeBoxCases.tsx +1 -1
  1208. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  1209. package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +2 -2
  1210. package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +1 -1
  1211. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +5 -5
  1212. package/mobile/src/components/StepsBlock/StepsBlock.tsx +17 -17
  1213. package/mobile/src/components/StepsBlock/renderStep.tsx +1 -1
  1214. package/mobile/src/components/Tabs/Tabs.tsx +12 -9
  1215. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +2 -2
  1216. package/mobile/src/components/TariffsTable/TariffsTable.tsx +1 -1
  1217. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  1218. package/mobile/src/components/TariffsTable/TariffsTableVertical.tsx +1 -1
  1219. package/mobile/src/components/TariffsTable/constants.ts +1 -1
  1220. package/mobile/src/components/TextBlock/TextBlock.tsx +4 -4
  1221. package/mobile/src/components/Video/getPaddings.ts +1 -1
  1222. package/mobile/src/model/HeadlineType.ts +1 -1
  1223. package/mobile/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +1 -1
  1224. package/mobile/src/ui-kit/BaseFiltration/checkShouldRenderBlock.ts +2 -4
  1225. package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
  1226. package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1227. package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +1 -1
  1228. package/mobile/src/ui-kit/CookiePopup/CookiePopup.tsx +1 -1
  1229. package/mobile/src/ui-kit/DialogManager/CloseButton.tsx +1 -1
  1230. package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +2 -2
  1231. package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
  1232. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +3 -3
  1233. package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +4 -3
  1234. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1235. package/mobile/src/ui-kit/Input/Input.tsx +2 -2
  1236. package/mobile/src/ui-kit/InputRange/InputRange.tsx +2 -2
  1237. package/mobile/src/ui-kit/InputRange/renderRangeWithTicks.tsx +2 -2
  1238. package/mobile/src/ui-kit/LocationDialog/SearchBar.tsx +2 -2
  1239. package/mobile/src/ui-kit/LocationDialog/renderForeignOffices.tsx +2 -2
  1240. package/mobile/src/ui-kit/Radio/Radio.tsx +2 -2
  1241. package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +2 -2
  1242. package/mobile/src/ui-kit/SearchDialog/SearchInput.tsx +1 -1
  1243. package/mobile/src/ui-kit/Select/Select.tsx +3 -3
  1244. package/mobile/src/ui-kit/Sitemap/Sitemap.tsx +1 -1
  1245. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +2 -2
  1246. package/mobile/src/ui-kit/TabsControl/TabItem.tsx +18 -57
  1247. package/mobile/src/ui-kit/TabsControl/TabItemInner.tsx +69 -0
  1248. package/mobile/src/ui-kit/Tags/Tags.tsx +1 -1
  1249. package/mobile/src/ui-kit/TopItem/TopItem.tsx +1 -1
  1250. package/mobile/src/ui-kit/YandexMap/renderOpenMap.tsx +1 -1
  1251. package/mobile/src/ui-kit/YandexMap/renderUserGeolocation.tsx +1 -1
  1252. package/package.json +1 -1
  1253. package/src/components/ApplicationForm/ApplicationForm.tsx +2 -6
  1254. package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +4 -4
  1255. package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +2 -2
  1256. package/src/components/ApplicationForm/ApplicationFormCredit.tsx +5 -5
  1257. package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +5 -5
  1258. package/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +1 -1
  1259. package/src/components/ApplicationForm/ApplicationFormWed.tsx +6 -6
  1260. package/src/components/ApplicationForm/ResponseNotification.tsx +2 -2
  1261. package/src/components/ApplicationForm/SelectControl.tsx +6 -5
  1262. package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +7 -7
  1263. package/src/components/ApplicationForm/renderAcquiringRegion.tsx +3 -3
  1264. package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +7 -7
  1265. package/src/components/ApplicationForm/renderContacts.tsx +5 -5
  1266. package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +9 -9
  1267. package/src/components/ApplicationForm/renderCreditParameters.tsx +2 -2
  1268. package/src/components/ApplicationForm/renderQuestionsInterested.tsx +6 -14
  1269. package/src/components/ApplicationForm/renderRegion.tsx +7 -8
  1270. package/src/components/ApplicationForm/renderRegionDepartment.tsx +3 -3
  1271. package/src/components/ApplicationForm/renderSlideCheckboxes.tsx +1 -1
  1272. package/src/components/ApplicationForm/renderSubmitButton.tsx +1 -4
  1273. package/src/components/Bonus/Bonus.tsx +7 -9
  1274. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -2
  1275. package/src/components/BonusBenefitsBlock/bonusBenefitStyles.mobile.ts +1 -1
  1276. package/src/components/BonusBenefitsBlock/renderBonusBenefits.tsx +1 -1
  1277. package/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
  1278. package/src/components/BusinessBlock/BusinessCard.tsx +1 -1
  1279. package/src/components/ButtonsBlock/ButtonsBlock.fixture.mobile.tsx +1 -1
  1280. package/src/components/ButtonsBlock/ButtonsBlock.fixture.tsx +1 -1
  1281. package/src/components/Calculator/BonusCalculatorForm.tsx +12 -15
  1282. package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +35 -39
  1283. package/src/components/Calculator/Calculator.tsx +4 -4
  1284. package/src/components/Calculator/CalculatorValueBlock.tsx +1 -1
  1285. package/src/components/Calculator/CreditCalculatorForm.tsx +7 -7
  1286. package/src/components/Calculator/DepositCalculatorForm.tsx +5 -7
  1287. package/src/components/Calculator/Rate.tsx +1 -1
  1288. package/src/components/Calculator/RefinancingCalculatorForm.tsx +6 -11
  1289. package/src/components/Calculator/renderBinaryRadioButtonGroup.tsx +2 -2
  1290. package/src/components/Calculator/renderCalculatorBlock.tsx +2 -2
  1291. package/src/components/Calculator/renderInitialFeeInput.tsx +0 -1
  1292. package/src/components/CardTransfer/CardTransfer.tsx +2 -2
  1293. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.tsx +1 -1
  1294. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
  1295. package/src/components/CarouselCard/CarouselCard.tsx +7 -3
  1296. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
  1297. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +9 -22
  1298. package/src/{ui-kit/LinkButton/LinkButton.tsx → components/CarouselLinks/CarouselLinkButton.tsx} +4 -5
  1299. package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +12 -9
  1300. package/src/components/CarouselLinks/CarouselLinks.tsx +6 -6
  1301. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.tsx +6 -6
  1302. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +6 -6
  1303. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.tsx +4 -5
  1304. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +2 -2
  1305. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +3 -3
  1306. package/src/components/CarouselTariffsCard/getPaddingStyle.mobile.tsx +1 -1
  1307. package/src/components/CarouselTariffsCard/getPaddingStyle.tsx +1 -1
  1308. package/src/components/CarouselTariffsCard/renderCardInfo.tsx +2 -2
  1309. package/src/components/ComparisonTable/ComparisonTable.tsx +3 -7
  1310. package/src/components/ComparisonTable/TableCarouselContainer.tsx +1 -1
  1311. package/src/components/ComparisonTable/TableCell.mobile.tsx +1 -1
  1312. package/src/components/ComparisonTable/TableCell.tsx +1 -1
  1313. package/src/components/ComparisonTable/TableColumn.tsx +1 -1
  1314. package/src/components/ComparisonTable/TableRow.tsx +1 -1
  1315. package/src/components/ComparisonTable/TableRowContainer.tsx +1 -1
  1316. package/src/components/ComparisonTable/constants.ts +1 -1
  1317. package/src/components/ContactsBlock/ContactsBlock.tsx +4 -4
  1318. package/src/components/ContentPage/ContentPage.tsx +2 -2
  1319. package/src/components/DepositFiltration/DepositFiltration.tsx +1 -1
  1320. package/src/components/ErrorBlock/ErrorBlock.tsx +5 -5
  1321. package/src/components/ExchangeRateOffice/renderCurrencies.tsx +2 -2
  1322. package/src/components/ExchangeRateTile/CurrencyTable.tsx +2 -7
  1323. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
  1324. package/src/components/ExchangeRateTile/renderInput.tsx +1 -1
  1325. package/src/components/Footer/buttonStylesWithText.ts +1 -1
  1326. package/src/components/GracePeriod/GracePeriod.tsx +9 -14
  1327. package/src/components/Header/DropdownMenu.tsx +3 -3
  1328. package/src/components/Header/Header.mobile.tsx +1 -1
  1329. package/src/components/Header/HeaderSecondaryMenu.tsx +1 -1
  1330. package/src/components/Header/HeaderSecondaryMenuButton.tsx +1 -1
  1331. package/src/components/Header/HeaderSubMenu.tsx +6 -4
  1332. package/src/components/Header/InternetBankButton.tsx +2 -2
  1333. package/src/components/Headline/Headline.tsx +3 -3
  1334. package/src/components/Headline/HeadlineContent.ts +2 -2
  1335. package/src/components/Headline/headlineVersionStyles.ts +1 -1
  1336. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  1337. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +8 -8
  1338. package/src/components/InvestmentInfo/InvestmentInfo.tsx +3 -3
  1339. package/src/components/LikeControl/LikeControl.tsx +1 -1
  1340. package/src/components/LinkDocs/LinkDocItem.tsx +1 -1
  1341. package/src/components/LinkDocs/LinkDocs.tsx +5 -8
  1342. package/src/components/MobileAppTile/renderList.tsx +1 -1
  1343. package/src/components/MortgageFiltration/MortgageFiltration.tsx +7 -7
  1344. package/src/components/OfficeMap/OfficeMap.tsx +1 -1
  1345. package/src/components/OfficeMap/renderFunctions.tsx +14 -12
  1346. package/src/components/Placeholder/Placeholder.tsx +1 -1
  1347. package/src/components/ProductBlock/renderBackwardButton.tsx +1 -1
  1348. package/src/components/ProductGallery/ProductGallery.tsx +4 -4
  1349. package/src/components/PromoTile/PromoTile.tsx +1 -1
  1350. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.mobile.tsx +1 -1
  1351. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +1 -1
  1352. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +1 -1
  1353. package/src/components/RollupItem/RollupItem.tsx +1 -1
  1354. package/src/components/RollupItem/foldableSectionStyles.ts +1 -1
  1355. package/src/components/SafeDepositRental/RadioButtons.tsx +2 -2
  1356. package/src/components/SafeDepositRental/SafeBoxCases.tsx +1 -1
  1357. package/src/components/SafeDepositRental/SafeDepositRental.fixture.mobile.tsx +1 -1
  1358. package/src/components/SafeDepositRental/SafeDepositRental.fixture.tsx +1 -1
  1359. package/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  1360. package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +2 -2
  1361. package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +1 -1
  1362. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +5 -5
  1363. package/src/components/StepsBlock/StepsBlock.mobile.tsx +17 -17
  1364. package/src/components/StepsBlock/StepsBlock.tsx +12 -5
  1365. package/src/components/StepsBlock/renderStep.tsx +1 -1
  1366. package/src/components/SwipeListControlBlock/SwipeListControlBlock.fixture.tsx +3 -3
  1367. package/src/components/Tabs/Tabs.tsx +12 -9
  1368. package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +2 -2
  1369. package/src/components/TariffsTable/EmbeddableCellData.tsx +8 -12
  1370. package/src/components/TariffsTable/TariffsTable.mobile.tsx +1 -1
  1371. package/src/components/TariffsTable/TariffsTable.tsx +3 -3
  1372. package/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  1373. package/src/components/TariffsTable/TariffsTableVertical.tsx +1 -1
  1374. package/src/components/TariffsTable/constants.ts +1 -1
  1375. package/src/components/TextBlock/TextBlock.fixture.tsx +3 -3
  1376. package/src/components/TextBlock/TextBlock.tsx +4 -4
  1377. package/src/components/Video/getPaddings.ts +1 -1
  1378. package/src/model/HeadlineType.ts +1 -1
  1379. package/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +1 -1
  1380. package/src/ui-kit/BaseFiltration/checkShouldRenderBlock.ts +2 -4
  1381. package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
  1382. package/src/ui-kit/Button/Button.fixture.tsx +6 -6
  1383. package/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1384. package/src/ui-kit/Checkbox/Checkbox.tsx +1 -1
  1385. package/src/ui-kit/CookiePopup/CookiePopup.tsx +1 -1
  1386. package/src/ui-kit/DialogManager/CloseButton.tsx +1 -1
  1387. package/src/ui-kit/Foldable/DefaultFoldButton.tsx +2 -2
  1388. package/src/ui-kit/Heading/Heading.fixture.tsx +8 -20
  1389. package/src/ui-kit/Icon/Icon.fixture.tsx +8 -8
  1390. package/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
  1391. package/src/ui-kit/InnerTable/InnerTableBody.tsx +3 -3
  1392. package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +4 -3
  1393. package/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1394. package/src/ui-kit/Input/Input.tsx +2 -2
  1395. package/src/ui-kit/InputRange/InputRange.tsx +2 -2
  1396. package/src/ui-kit/InputRange/renderRangeWithTicks.tsx +2 -2
  1397. package/src/ui-kit/LocationDialog/SearchBar.tsx +2 -2
  1398. package/src/ui-kit/LocationDialog/renderForeignOffices.tsx +2 -2
  1399. package/src/ui-kit/Radio/Radio.tsx +2 -2
  1400. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.tsx +2 -2
  1401. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +2 -2
  1402. package/src/ui-kit/SearchDialog/SearchInput.tsx +1 -1
  1403. package/src/ui-kit/Select/Select.fixture.tsx +1 -1
  1404. package/src/ui-kit/Select/Select.tsx +3 -3
  1405. package/src/ui-kit/Sitemap/Sitemap.tsx +1 -1
  1406. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +7 -7
  1407. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.tsx +7 -7
  1408. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +2 -2
  1409. package/src/ui-kit/TabsControl/TabItem.tsx +18 -57
  1410. package/src/ui-kit/TabsControl/TabItemInner.tsx +69 -0
  1411. package/src/ui-kit/TabsControl/TabsControl.fixture.tsx +1 -1
  1412. package/src/ui-kit/Tags/Tags.tsx +1 -1
  1413. package/src/ui-kit/TopItem/TopItem.tsx +1 -1
  1414. package/src/ui-kit/YandexMap/renderOpenMap.tsx +1 -1
  1415. package/src/ui-kit/YandexMap/renderUserGeolocation.tsx +1 -1
  1416. package/bundle/components/Calculator/renderProposal.d.ts +0 -2
  1417. package/bundle/ui-kit/LinkButton/LinkButton.d.ts +0 -5
  1418. package/dist/components/Calculator/renderProposal.d.ts +0 -2
  1419. package/dist/components/Calculator/renderProposal.js +0 -11
  1420. package/dist/components/Calculator/renderProposal.js.map +0 -1
  1421. package/dist/ui-kit/LinkButton/LinkButton.d.ts +0 -5
  1422. package/dist/ui-kit/LinkButton/LinkButton.js.map +0 -1
  1423. package/lib/components/Calculator/renderProposal.d.ts +0 -2
  1424. package/lib/components/Calculator/renderProposal.js +0 -8
  1425. package/lib/components/Calculator/renderProposal.js.map +0 -1
  1426. package/lib/ui-kit/LinkButton/LinkButton.d.ts +0 -5
  1427. package/lib/ui-kit/LinkButton/LinkButton.fixture.d.ts +0 -6
  1428. package/lib/ui-kit/LinkButton/LinkButton.fixture.mobile.d.ts +0 -6
  1429. package/lib/ui-kit/LinkButton/LinkButton.js.map +0 -1
  1430. package/mobile/bundle/components/Calculator/renderProposal.d.ts +0 -2
  1431. package/mobile/bundle/ui-kit/LinkButton/LinkButton.d.ts +0 -5
  1432. package/mobile/dist/components/Calculator/renderProposal.d.ts +0 -2
  1433. package/mobile/dist/components/Calculator/renderProposal.js +0 -11
  1434. package/mobile/dist/components/Calculator/renderProposal.js.map +0 -1
  1435. package/mobile/dist/ui-kit/LinkButton/LinkButton.d.ts +0 -5
  1436. package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +0 -1
  1437. package/mobile/lib/components/Calculator/renderProposal.d.ts +0 -2
  1438. package/mobile/lib/components/Calculator/renderProposal.js +0 -8
  1439. package/mobile/lib/components/Calculator/renderProposal.js.map +0 -1
  1440. package/mobile/lib/ui-kit/LinkButton/LinkButton.d.ts +0 -5
  1441. package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +0 -1
  1442. package/mobile/src/components/Calculator/renderProposal.tsx +0 -17
  1443. package/mobile/src/components/CarouselLinks/CarouselLinks.json +0 -8
  1444. package/src/components/Calculator/renderProposal.tsx +0 -17
  1445. package/src/components/CarouselLinks/CarouselLinks.json +0 -8
  1446. package/src/ui-kit/LinkButton/LinkButton.fixture.mobile.tsx +0 -11
  1447. 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,14 +1294,14 @@
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-default", ...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-grow w-full sm:w-[49%] border border-gray p-m", children: [_?.title ? (jsx("div", { children: jsx(Text, { size: "text-h4", children: _.title }) })) : null, _?.description ? (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
1305
1305
  ? renderBonusItemContent(_.bonusItemContent)
1306
1306
  : null] })] }, String(i))))
1307
1307
  : null })] }) })));
@@ -1326,7 +1326,7 @@
1326
1326
 
1327
1327
  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
1328
 
1329
- const renderBonusBenefits = (bonusBenefits, columnsCount, cardTextAlign) => (jsx("div", { className: `grid gap-1 ${AlignText[cardTextAlign]} ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) }));
1329
+ const renderBonusBenefits = (bonusBenefits, columnsCount, cardTextAlign) => (jsx("div", { className: `grid gap-2xs ${AlignText[cardTextAlign]} ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) }));
1330
1330
  const getElementsColsValue = (colValue) => {
1331
1331
  switch (colValue) {
1332
1332
  case '3':
@@ -1340,7 +1340,7 @@
1340
1340
  }
1341
1341
  };
1342
1342
 
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
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-m sm:mb-3xl", isEmbedded: true, title: title, description: subtitle, headlineVersion: "M" }), bonusBenefits?.length
1344
1344
  ? renderBonusBenefits(bonusBenefits, columnsCount, cardTextAlign)
1345
1345
  : null] })));
1346
1346
 
@@ -1350,10 +1350,10 @@
1350
1350
  });
1351
1351
  const renderItem = (item, key) => {
1352
1352
  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));
1353
+ 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
1354
  };
1355
1355
 
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 })] })));
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-lg", children: cards?.length ? cards.map((_, i) => jsx(BusinessCard, { ..._ }, String(i))) : null })] })));
1357
1357
 
1358
1358
  const ButtonsBlock = JSX(({ buttons, className, ...rest }) => (jsx(BlockWrapper, { className: style('!bg-transparent', className), defaultPadding: "p-0", ...rest, children: renderButtonsSection(buttons) })));
1359
1359
 
@@ -1390,7 +1390,7 @@
1390
1390
  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
1391
  }
1392
1392
 
1393
- const calculatorValueBlockStyle = 'flex justify-between md:mb-7 md:flex-col';
1393
+ const calculatorValueBlockStyle = 'flex justify-between md:flex-col';
1394
1394
  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
1395
 
1396
1396
  const DEFAULT_MIN_SUM$1 = 10000;
@@ -1484,7 +1484,7 @@
1484
1484
  const BUSINESS_DEPOSIT_CALC_DEFAULT_DIR = 'business-calculator-data';
1485
1485
  const REFINANCING_CALC_DEFAULT_DIR = 'refinancing-calculator-data';
1486
1486
 
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] })] })));
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-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
1488
 
1489
1489
  const renderFootnote = (text) => text ? (jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: text })) : null;
1490
1490
 
@@ -1533,7 +1533,7 @@
1533
1533
  restExpenseValue: DEFAULT_REST_MIN_SUM,
1534
1534
  });
1535
1535
  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({
1536
+ 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
1537
  title: 'Сумма покупок в категории путешествия, ₽',
1538
1538
  min: minSumTravel,
1539
1539
  max: maxSumTravel,
@@ -1542,13 +1542,12 @@
1542
1542
  ...field('travelExpenseValue'),
1543
1543
  }), renderWantedSumInput({
1544
1544
  title: 'Сумма покупок в остальных категориях, ₽',
1545
- className: 'mt-7',
1546
1545
  min: minSumOther,
1547
1546
  max: maxSumOther,
1548
1547
  step: 500,
1549
1548
  isShowItems: false,
1550
1549
  ...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)] })] }));
1550
+ })] }), 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
1551
  });
1553
1552
 
1554
1553
  const defaultDiscriminator = (_) => _;
@@ -1646,12 +1645,12 @@
1646
1645
  const daysText = (days) => `${days} ${Number(days) % 10 === 1 ? 'дня' : 'дней'}`;
1647
1646
 
1648
1647
  const orientationStyleMap = {
1649
- horizontal: 'gap-10',
1650
- vertical: 'flex-col gap-3',
1648
+ horizontal: 'gap-5xl',
1649
+ vertical: 'flex-col gap-s',
1651
1650
  };
1652
1651
  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
1652
 
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) })] }));
1653
+ 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
1654
 
1656
1655
  const renderInterestPayment = (props) => renderBinaryRadioButtonGroup({
1657
1656
  ...props,
@@ -1683,29 +1682,29 @@
1683
1682
  });
1684
1683
  const calculatorParams = useBusinessDepositCalculatorParams(userInputParams, sourceBookDir);
1685
1684
  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) })] }));
1685
+ 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({
1686
+ title: 'Сумма, ₽',
1687
+ min: calculatorParams.minSum,
1688
+ max: calculatorParams.maxSum,
1689
+ ...field('moneyValue'),
1690
+ value: calculatorParams.moneyValue,
1691
+ }), renderDaysInput({
1692
+ title: 'Срок, дней',
1693
+ min: calculatorParams.minDays,
1694
+ max: calculatorParams.maxDays,
1695
+ ...field('daysValue'),
1696
+ value: calculatorParams.daysValue,
1697
+ }), renderBusinessDepositParamsForm(calculatorParams, field), renderInterestPayment({
1698
+ title: 'Выплата процентов',
1699
+ orientation: 'vertical',
1700
+ ...field('isMonthlyInterestPayment'),
1701
+ radioGroupClassName: 'sm:flex-col',
1702
+ })] }), jsx("div", { className: "border-b border-main-divider md:hidden" }), renderRate({
1703
+ rate,
1704
+ depositeName,
1705
+ isShowDepositeName,
1706
+ isShowUnknownRate,
1707
+ }), jsxs("div", { className: "flex flex-col gap-2xl sm:w-96", children: [renderDepositResults(finalSum, income), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote)] })] }));
1709
1708
  });
1710
1709
  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
1710
  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 +1836,7 @@
1837
1836
  orientation: 'vertical',
1838
1837
  ...field('isAnnuity'),
1839
1838
  });
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({
1839
+ 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
1840
  title: 'Сумма кредита, ₽',
1842
1841
  step: 500,
1843
1842
  min: calculatorParams.minSum,
@@ -1850,11 +1849,11 @@
1850
1849
  max: calculatorParams.maxMonths,
1851
1850
  ...field('monthsValue'),
1852
1851
  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({
1852
+ }), renderCreditParamsForm$1({ ...calculatorParams, ...paramsViewSettings }, field), jsx("div", { className: "sm:hidden", children: paymentTypeElement })] }), jsx("div", { className: "border-b border-main-divider md:hidden" }), renderRate({
1854
1853
  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)] })] }));
1854
+ }), 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
1855
  });
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] }));
1856
+ 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
1857
 
1859
1858
  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
1859
 
@@ -1931,7 +1930,7 @@
1931
1930
  useEffect(() => {
1932
1931
  setMonthsValue && setMonthsValue(defaultMonth);
1933
1932
  }, [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({
1933
+ 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
1934
  title: 'Сумма, ₽',
1936
1935
  min: calculatorParams.minSum,
1937
1936
  max: calculatorParams.maxSum,
@@ -1944,9 +1943,9 @@
1944
1943
  availableMonths: calculatorParams.availableMonths,
1945
1944
  ...field('monthsValue'),
1946
1945
  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({
1946
+ }), renderDepositParamsForm({ ...calculatorParams, ...paramsViewSettings }, field)] }), jsx("div", { className: "border-b border-main-divider md:hidden" }), renderRate({
1948
1947
  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)] })] }));
1948
+ }), 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
1949
  });
1951
1950
  const renderDepositParamsForm = (params, field) => (jsxs("div", { className: "flex flex-col gap-y-2xl", children: [params.isShowMonthlyInterestPayment
1952
1951
  ? renderInterestPayment({
@@ -2056,7 +2055,7 @@
2056
2055
  moneyExtra: REFINANCING_OLD_DEFAULT_SUM,
2057
2056
  });
2058
2057
  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({
2058
+ 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
2059
  title: 'Остаток долга в других банках, ₽ ',
2061
2060
  step: 500,
2062
2061
  min: calculatorParams.minSum,
@@ -2077,8 +2076,7 @@
2077
2076
  max: calculatorParams.maxMonths,
2078
2077
  ...field('monthsValue'),
2079
2078
  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
2079
+ }), renderCreditParamsForm({ ...calculatorParams, ...paramsViewSettings }, field), calculatorParams.isExtraMoney
2082
2080
  ? renderWantedSumInput({
2083
2081
  title: 'Дополнительная сумма, ₽ ',
2084
2082
  step: 500,
@@ -2087,9 +2085,9 @@
2087
2085
  ...field('moneyExtra'),
2088
2086
  value: calculatorParams.moneyExtra,
2089
2087
  })
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)] })] }));
2088
+ : 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
2089
  });
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] }));
2090
+ 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
2091
 
2094
2092
  const EmbeddableCalcBlocks = {
2095
2093
  CreditCalculatorForm,
@@ -2105,7 +2103,7 @@
2105
2103
  return null;
2106
2104
  }
2107
2105
  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)));
2106
+ 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
2107
  };
2110
2108
 
2111
2109
  const Calculator = JSX(({ className = '', calculatorTabs = [], ...rest }) => {
@@ -2123,13 +2121,13 @@
2123
2121
  : null, renderArrows({
2124
2122
  ...controls,
2125
2123
  btnClass: ['left-3', 'right-3'],
2126
- className: 'top-8',
2124
+ className: 'top-10',
2127
2125
  })] }), jsx("div", { className: "flex", style: { transform: `translateX(-${slideIndexShift}00%)` }, role: "list", children: calculatorBlocks?.length ? calculatorBlocks.map(renderCalculatorBlock) : null })] }));
2128
2126
  });
2129
2127
  function renderNavButton$3({ tab, i, isActive, onClick }) {
2130
2128
  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`;
2129
+ ? 'w-96 p-m border-none bg-primary-main text-white'
2130
+ : `w-96 p-s ease-in duration-300 bg-white text-primary-text`;
2133
2131
  const btnTitleClassName = isActive ? 'text-xl mb-xs' : `text-l mb-2xs`;
2134
2132
  const btnDescClassName = isActive
2135
2133
  ? 'text-l font-light text-white'
@@ -2137,7 +2135,7 @@
2137
2135
  const iconClassName = isActive ? '' : `text-primary-main`;
2138
2136
  const iconVersion = tab?.icon?.iconVersion;
2139
2137
  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: {
2138
+ 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
2139
  ...tab?.icon,
2142
2140
  iconVersion: iconVersion ?? activeIconStyle,
2143
2141
  }, 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)));
@@ -2182,7 +2180,7 @@
2182
2180
  ? getDisabledButtonClasses({ version: button?.version })
2183
2181
  : getRegularButtonClasses({ className: 'text-white', version: button?.version });
2184
2182
  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] })] }));
2183
+ 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, 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-m mt-lg', buttonStyle), disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
2186
2184
  });
2187
2185
 
2188
2186
  const defaultBlockDecorator = ({ blockClassName, block, render }) => render({ blockClassName, block });
@@ -2297,7 +2295,7 @@
2297
2295
  .map(([, i]) => i);
2298
2296
 
2299
2297
  const containerStyles = {
2300
- 'horizontal-list': 'mx-auto mt-5 w-fit',
2298
+ 'horizontal-list': 'mx-auto mt-lg w-fit',
2301
2299
  'vertical-list': 'absolute flex-col justify-center h-full top-0 left-4',
2302
2300
  };
2303
2301
  const activeDotStyles = {
@@ -2315,7 +2313,7 @@
2315
2313
  });
2316
2314
  }
2317
2315
  };
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;
2316
+ 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
2317
  });
2320
2318
 
2321
2319
  const areArraysEqual = (as, bs) => as === bs || Boolean(as && bs && as?.length === bs?.length && as.every((_, i) => _ === bs[i]));
@@ -2446,7 +2444,7 @@
2446
2444
  'CarouselEventCard',
2447
2445
  ];
2448
2446
 
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 }) })) }) })));
2447
+ 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
2448
  const getBackColor = (blockIndex) => ['bg-primary-main', 'bg-green-light', 'bg-yellow-light'][blockIndex % 3];
2451
2449
  const getTextColor = (blockIndex) => [
2452
2450
  'gradient-color-text-on-green',
@@ -2458,7 +2456,7 @@
2458
2456
 
2459
2457
  const layerBaseStyle = 'z-10 border border-solid w-full h-full';
2460
2458
  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], {
2459
+ 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-5xl bg-white border-green-light'), children: [jsx(Headline, { title: title, description: description, headlineVersion: titleSize, align: "text-left", isEmbedded: true }), renderButtonsSection([button], {
2462
2460
  className: 'mt-6xl sm:justify-center',
2463
2461
  isVertical: true,
2464
2462
  })] })] }) })));
@@ -2467,7 +2465,7 @@
2467
2465
  black: 'bg-black',
2468
2466
  white: 'bg-white',
2469
2467
  };
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' })] })));
2468
+ 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
2469
  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
2470
 
2473
2471
  const LinkWrapper = JSX(({ className = '', href, target, isRemote = false, children }) => {
@@ -2489,34 +2487,29 @@
2489
2487
  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
2488
  const renderImageContainer = (image, { className, imageAlign }) => image ? (jsx("div", { className: style('flex-shrink-0', imageAlign && imageAlignmentMap[imageAlign], className), children: image })) : null;
2491
2489
 
2492
- const getItemListFontSize = (colValue) => (colValue === 1 ? 'text-h6' : 'text-l');
2493
2490
  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))));
2491
+ 1: 'grid-cols-1',
2492
+ 2: 'grid-cols-2',
2502
2493
  };
2494
+ 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] }) })));
2495
+ 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
2496
 
2504
2497
  const LINK_CLASS_NAME = `absolute border border-primary-main px-xl py-lg
2505
2498
  text-l font-light bg-white text-primary-text flex
2506
2499
  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 = '' }) => {
2500
+ const LINK_BORDER_CLASS_NAME = 'bg-transparent border-white border h-[70px] absolute w-80 top-0';
2501
+ const CarouselLinkButton = JSX(({ text, href = '', target = '', className = '' }) => {
2509
2502
  const link = useLink();
2510
2503
  const adjustedProps = link({ href, target });
2511
2504
  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
2505
  });
2513
2506
 
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] })));
2507
+ 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
2508
  const renderLinks = (links, maxLinksCount) => {
2516
2509
  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
2510
+ return (jsx(Carousel, { className: "@container-normal 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
2518
2511
  .slice(groupIndex * maxLinksCount, (groupIndex + 1) * maxLinksCount)
2519
- .map((link, index) => (jsx(LinkButton, { className: "sm:m-2xs", ...link }, String(index)))) }, String(groupIndex)))) }));
2512
+ .map((link, index) => (jsx(CarouselLinkButton, { className: "sm:m-2xs", ...link }, String(index)))) }, String(groupIndex)))) }));
2520
2513
  };
2521
2514
 
2522
2515
  const DOT_SIZE_MAP = {
@@ -2592,11 +2585,11 @@
2592
2585
  const BenefitsList = JSX(({ isTabularBenefits, ...rest }) => isTabularBenefits ? jsx(TabularBenefitsList, { ...rest }) : jsx(DefaultBenefitsList, { ...rest }));
2593
2586
 
2594
2587
  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)));
2588
+ 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
2589
 
2597
2590
  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
2591
  const img = image?.src ? jsx(Img, { image: image }) : null;
2599
- const headline = (jsx(Headline, { title: title, description: description, headlineVersion: headlineVersion, align: align, isPadding: false }));
2592
+ const headline = (jsx(Headline, { title: title, description: description, headlineVersion: headlineVersion, align: align, isEmbedded: true }));
2600
2593
  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
2594
  });
2602
2595
  const leftOrRightImage = (img, directionRight) => directionRight ? { rightImage: img } : { leftImage: img };
@@ -2614,7 +2607,7 @@
2614
2607
 
2615
2608
  const buttonStylesWithText = (text, buttonSize) => text
2616
2609
  ? ''
2617
- : style('group/media flex items-center justify-center box-border', buttonSizeStyles[buttonSize]);
2610
+ : style('py-m group/media flex items-center justify-center box-border', buttonSizeStyles[buttonSize]);
2618
2611
 
2619
2612
  const ICONS_MAP = [
2620
2613
  {
@@ -2662,7 +2655,7 @@
2662
2655
  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
2656
 
2664
2657
  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 }) }) }));
2658
+ 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
2659
  });
2667
2660
 
2668
2661
  const CarouselRichTextCard = JSX(({ className = '', __html, richVersion = 'striped', ...rest }) => (jsx(BlockWrapper, { className: className, ...rest, children: jsx(RichText, { __html: __html, richVersion: richVersion }) })));
@@ -2689,11 +2682,11 @@
2689
2682
  return (jsx("div", { ref: containerRef, className: `transition-max-h duration-300 overflow-hidden ${containerRef.current || !isUnfolded ? 'max-h-0' : ''} ${className}`, children: children }));
2690
2683
  });
2691
2684
 
2692
- const getPaddingStyle = (isHighlighting = false) => isHighlighting ? 'p-8 mt-8 pt-20' : 'p-8 mt-20';
2685
+ const getPaddingStyle = (isHighlighting = false) => isHighlighting ? 'p-3xl mt-3xl pt-20' : 'p-3xl mt-20';
2693
2686
 
2694
2687
  const renderCardInfo = (cell, i) => {
2695
2688
  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)));
2689
+ 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
2690
  };
2698
2691
 
2699
2692
  const VISIBLE_CELLS_COUNT = 1;
@@ -2704,38 +2697,38 @@
2704
2697
  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] }));
2705
2698
  });
2706
2699
  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" })] }));
2700
+ 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" })] }));
2701
+ const renderHitIcon = () => (jsxs("div", { className: "absolute -top-6 -right-4 h-14 w-14 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: "24", height: "24" }), jsx(Paragraph, { size: "text-s", font: "font-normal", align: "text-center", color: "text-primary-text", children: "\u0425\u0418\u0422" })] }));
2709
2702
 
2710
2703
  const GRADIENT = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
2711
2704
  const BORDER_CLASSES = 'border-gray border-solid border';
2712
2705
  const DIVIDER_CLASSES$1 = 'border-main-divider border border-t-0 border-x-0';
2713
- const FIRST_CELL_CLASSES$1 = 'w-[200px] mr-6';
2706
+ const FIRST_CELL_CLASSES$1 = 'w-52';
2714
2707
  const COLS_LENGTH_FOR_SCROLL$1 = 3;
2715
2708
  const COLUMN_WIDTH$2 = 4 * 80 + 4 * 4; // w-80 + gap-4 = 336px
2716
2709
 
2717
2710
  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
2711
 
2719
2712
  const carouselContainerClassesMap = {
2720
- comparison: 'flex gap-4 duration-1000',
2713
+ comparison: 'flex gap-m duration-1000',
2721
2714
  tariff: 'flex flex-grow duration-1000',
2722
2715
  };
2723
2716
  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
2717
 
2725
- const TableRowContainer = JSX(({ children }) => (jsx("div", { className: "self-start flex flex-col", role: "row", children: jsx("div", { className: "flex", children: children }) })));
2718
+ const TableRowContainer = JSX(({ children }) => (jsx("div", { className: "self-start flex flex-col", role: "row", children: jsx("div", { className: "flex gap-xl", children: children }) })));
2726
2719
 
2727
2720
  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
2721
 
2729
2722
  const TableCell = JSX(({ cell, isFirstRow, isLastRow, isFillGradient }) => {
2730
2723
  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'}`;
2724
+ const cellClasses = `mx-2xl h-full ${DIVIDER_CLASSES$1} ${isFillGradient && isFirstRow ? 'border-t' : ''} ${!isLastRow ? 'border-solid' : 'border-b-0'}`;
2732
2725
  return (jsx("div", { className: cellWrapperClasses, role: "cell", children: jsx("div", { className: cellClasses, children: cell.map((item, i) => renderCellInner$1(item, i, isFillGradient)) }) }));
2733
2726
  });
2734
2727
  const labelStyle = (isFillGradient = false) => `text-xl m-0 ${isFillGradient ? 'text-white' : ''}`;
2735
2728
  const descriptionStyle = (isFillGradient = false) => `text-s opacity-80 ${isFillGradient ? 'text-white' : 'text-secondary-text'}`;
2736
2729
  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
2730
 
2738
- const titleStyle = (isLastRow = false) => `text-s py-7 ${DIVIDER_CLASSES$1} ${FIRST_CELL_CLASSES$1} ${isLastRow ? 'border-b-0' : 'border-solid'}`;
2731
+ const titleStyle = (isLastRow = false) => `text-s py-2xl ${DIVIDER_CLASSES$1} ${FIRST_CELL_CLASSES$1} ${isLastRow ? 'border-b-0' : 'border-solid'}`;
2739
2732
  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
2733
 
2741
2734
  const ComparisonTableRows = JSX(({ rowData, isColoredFirstColumn, activeIndex, controls }) => {
@@ -2770,15 +2763,15 @@
2770
2763
  const ComparisonTable = JSX(({ className = '', title, rowHeaders, columns, visibleRowLength = 0, isColoredFirstColumn = false, ...rest }) => {
2771
2764
  const [isShowAllRow, setIsShowAllRow] = useState(!visibleRowLength);
2772
2765
  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
2766
+ 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
2767
  ? renderShowMoreToggleButton({ isShowAllRow, onClick: handleToggle })
2775
2768
  : null] }));
2776
2769
  });
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 ? 'Показать все параметры' : 'Скрыть' }) })] }) }));
2770
+ 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
2771
 
2779
2772
  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;
2773
+ const renderBlocks = (info) => (jsx("div", { className: "flex gap-5xl grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index })) }));
2774
+ 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
2775
 
2783
2776
  const isEmpty = (v) => v === null ||
2784
2777
  v === undefined ||
@@ -2802,10 +2795,8 @@
2802
2795
  if (typeof subPattern === 'number') {
2803
2796
  return isNumberFieldMatch(key, pattern);
2804
2797
  }
2805
- if (typeof subPattern === 'object') {
2806
- if ('min' in subPattern && 'max' in subPattern) {
2807
- return isValueInRange(key, pattern);
2808
- }
2798
+ if (typeof subPattern === 'object' && 'min' in subPattern && 'max' in subPattern) {
2799
+ return isValueInRange(key, pattern);
2809
2800
  }
2810
2801
  return Array.isArray(subPattern)
2811
2802
  ? isMultipleFieldMatch(key, pattern)
@@ -2815,9 +2806,9 @@
2815
2806
  const naturalNumber = (n) => Number(n || 0);
2816
2807
 
2817
2808
  const DefaultFoldButton = JSX(({ className = '', label, icon, dataTheme = '', disabled = false, onClick }) => {
2818
- return (jsxs("button", { className: style('flex justify-center w-full px-0 py-4 border border-transparent outline-none focus:border-primary-text', disabled
2809
+ return (jsxs("button", { className: style('flex justify-center w-full py-4 border border-transparent outline-none focus:border-primary-text', disabled
2819
2810
  ? 'bg-main-divider text-main-disabled hover:bg-main-divider'
2820
- : '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: {
2811
+ : '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: {
2821
2812
  icon,
2822
2813
  iconVersion: 'white',
2823
2814
  }, className: "flex-shrink-0 my-auto", width: "20", height: "20" })) : null] }));
@@ -2829,7 +2820,7 @@
2829
2820
  };
2830
2821
 
2831
2822
  const ICONS = ['ArrowDownIcon', 'ArrowUpIcon'];
2832
- const resultsGridStyle = 'grid grid-cols-12 gap-1 border-box';
2823
+ const resultsGridStyle = 'grid grid-cols-12 gap-2xs border-box';
2833
2824
  const BaseFiltrationInner = JSX(({ label = '', filtrationState = {}, topItemsCount = 0, block, notFound, ...rest }) => {
2834
2825
  const blocksToRender = block?.blocks?.filter((b) => checkShouldRenderBlock(filtrationState, b.content || {})) || [];
2835
2826
  const [visibleBlocks, hiddenBlocks] = topItemsCount > 0
@@ -2893,7 +2884,7 @@
2893
2884
  parse: (min) => ({ min, max: maxValue }),
2894
2885
  format: ({ min }) => min,
2895
2886
  }) })] }));
2896
- 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 })] }));
2887
+ 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 })] }));
2897
2888
  });
2898
2889
  DepositFiltration.childrenTypes = ['ProductTile'];
2899
2890
  DepositFiltration.childSchema = (content) => content?.filtrationSchema || {};
@@ -2907,8 +2898,8 @@
2907
2898
  }
2908
2899
  return null;
2909
2900
  };
2910
- const getErrorBlockStyle = (text) => (text ? 'py-20 pt-3 pb-1' : 'mb-16 pb-2 mt-24 pt-3');
2911
- 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] })));
2901
+ const getErrorBlockStyle = (text) => (text ? 'py-20' : 'mb-16 mt-24');
2902
+ 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] })));
2912
2903
 
2913
2904
  var Currencies;
2914
2905
  (function (Currencies) {
@@ -2929,7 +2920,7 @@
2929
2920
  RUB: 'RoundRubleIcon',
2930
2921
  };
2931
2922
  const renderCurrencyRow$1 = ({ title, buyPrice, buyDifference, sellPrice, sellDifference, buyOfficeName, sellOfficeName, }) => {
2932
- 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));
2923
+ 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));
2933
2924
  };
2934
2925
  const formatCurrency$1 = (value) => (value ? currencyNumberFormat$1.format(value) : '');
2935
2926
  const renderCurrency = (price, difference) => {
@@ -2975,7 +2966,7 @@
2975
2966
  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) })] })));
2976
2967
  const renderCurrencyRow = (exchangeCurrencyItem) => {
2977
2968
  const currency = exchangeCurrencyItem?.currency?.currency;
2978
- 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));
2969
+ 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));
2979
2970
  };
2980
2971
 
2981
2972
  const icon = { icon: 'GpsIcon' };
@@ -3016,7 +3007,7 @@
3016
3007
  text: _?.currency?.currency ?? '',
3017
3008
  }));
3018
3009
  const selectedValue = { key: selected, text: selected };
3019
- 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] }));
3010
+ 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] }));
3020
3011
  }
3021
3012
 
3022
3013
  const ExchangeCurrencyCalculator = JSX(({ className = '', currencyRatesBuy, currencyRatesSell, button }) => {
@@ -3041,7 +3032,7 @@
3041
3032
  setSelected: handleSelectBuy(calcState, handleSetCalcState, currencyRatesBuy),
3042
3033
  value: calcState.inputBuy,
3043
3034
  setValue: (value) => handleInputBuy(handleSetCalcState, currencyRatesBuy)(value, calcState.selectBuy, calcState.selectSell),
3044
- }), button?.text ? (jsx(Button, { className: "py-4", version: button?.version, ...button, children: button.text })) : null] }));
3035
+ }), button?.text ? (jsx(Button, { className: "py-4 px-9", version: button?.version, ...button, children: button.text })) : null] }));
3045
3036
  });
3046
3037
  const handleSelectSell = (calcState, setCalcState, currencyRatesSell) => (value) => {
3047
3038
  setCalcState({ selectSell: value });
@@ -3155,13 +3146,13 @@
3155
3146
 
3156
3147
  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] })));
3157
3148
 
3158
- 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" }) })));
3149
+ 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" }) })));
3159
3150
 
3160
3151
  const SearchInput = JSX(({ className, value, autoFocus, onChange, onFocus }) => {
3161
3152
  const handleChange = useCallback((ev) => {
3162
3153
  onChange && onChange(ev.target?.value || '');
3163
3154
  }, [onChange]);
3164
- 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 })] }));
3155
+ 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 })] }));
3165
3156
  });
3166
3157
 
3167
3158
  const useDebouncedEffect = (effect, deps, delay = 300) => useEffect(() => {
@@ -3329,7 +3320,7 @@
3329
3320
  });
3330
3321
  const renderColumn = (menuItem, index) => {
3331
3322
  const { text, items, href, target, onClick } = menuItem;
3332
- 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)));
3323
+ 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)));
3333
3324
  };
3334
3325
  const ColumnItem = JSX(({ text, index, basePath, ...rest }) => {
3335
3326
  const isAnotherPortal = projectSettings.BASE_PATH && basePath ? !projectSettings.BASE_PATH.startsWith(basePath) : false;
@@ -3430,7 +3421,7 @@
3430
3421
  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 })] }));
3431
3422
  });
3432
3423
 
3433
- 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] })));
3424
+ 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] })));
3434
3425
  const renderCalendar = (calendar) => {
3435
3426
  const colCount = calendar.reduce((accumulator, currentValue) => currentValue?.month?.length ? accumulator + currentValue.month.length : accumulator, 0) || 1;
3436
3427
  const colSize = 100 / colCount;
@@ -3441,10 +3432,10 @@
3441
3432
  // Condition lower is always true, TS does not understand this, notice filter above
3442
3433
  flexBasis: `${_?.month?.length ? _.month.length * colSize : ''}%`,
3443
3434
  }));
3444
- 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}`))) })] }));
3435
+ 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}`))) })] }));
3445
3436
  };
3446
3437
  const renderMonthNames = (item, colSize) => item.month?.map((_, i) => (jsx("div", { style: { flexBasis: `${colSize}%` }, children: _.text }, `monthName-${i}`)));
3447
- 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);
3438
+ 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);
3448
3439
 
3449
3440
  const TopItem = JSX(({ className = '', active, flat, children, ...rest }) => {
3450
3441
  const link = useLink({ isRemote: true });
@@ -3453,7 +3444,7 @@
3453
3444
  });
3454
3445
  const getLinkStyle = (active = false, flat = false) => style('inline-block border border-solid bg-transparent text-center no-underline', active
3455
3446
  ? 'rounded-md border-primary-main group-data-transparent:border-white'
3456
- : 'border-transparent', flat ? '' : 'px-4 py-2');
3447
+ : 'border-transparent', flat ? '' : 'px-m py-xs');
3457
3448
  const getTextStyle$1 = (active = false, flat = false) => style('font-sans text-s font-light', active
3458
3449
  ? 'text-primary-main'
3459
3450
  : style(flat ? 'text-primary-text' : 'text-secondary-text', 'hover:text-primary-main'), 'group-data-transparent:text-white group-data-transparent:hover:text-primary-hover');
@@ -3516,11 +3507,11 @@
3516
3507
  return result;
3517
3508
  };
3518
3509
 
3519
- 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;
3510
+ 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;
3520
3511
  const ForeignOffice = JSX(({ icon, ...rest }) => {
3521
3512
  const link = useLink();
3522
3513
  const { text, target, href, onClick } = link(rest);
3523
- 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] }));
3514
+ 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] }));
3524
3515
  });
3525
3516
 
3526
3517
  const renderRegion = (onChangeLocation) => (region) => (jsx("div", { className: "mb-2xs", children: jsx("button", { className: "cursor-pointer hover:text-primary-hover", onClick: () => {
@@ -3530,7 +3521,7 @@
3530
3521
  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));
3531
3522
 
3532
3523
  const SearchBar = JSX(({ className, searchTerm, onSearch }) => {
3533
- 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
3524
+ 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
3534
3525
  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" })] }));
3535
3526
  });
3536
3527
 
@@ -3568,7 +3559,7 @@
3568
3559
  default: 'w-6 h-6',
3569
3560
  large: 'w-12 h-12',
3570
3561
  };
3571
- 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
3562
+ 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
3572
3563
  ? 'w-8 h-8 text-secondary-light hover:text-secondary-hove'
3573
3564
  : `${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" }) })));
3574
3565
 
@@ -3579,7 +3570,7 @@
3579
3570
  const openSearchDialog = useCallback(() => searchDialog.open(), []);
3580
3571
  const locationDialog = useLocationDialog();
3581
3572
  const openLocationDialog = useCallback(() => locationDialog.open(), []);
3582
- 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 })] }));
3573
+ 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 })] }));
3583
3574
  });
3584
3575
 
3585
3576
  const isHrefActive = (router) => ({ href }) => withoutQuery(isURL(href) ? router.href : router.pathname).startsWith(withoutQuery(href));
@@ -3599,9 +3590,9 @@
3599
3590
  const ref = useOutsideClick(handleClickOutside);
3600
3591
  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)
3601
3592
  .fill(null)
3602
- .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) => {
3593
+ .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) => {
3603
3594
  const { text, ...linkProps } = item;
3604
- 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)));
3595
+ 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)));
3605
3596
  }) })] }));
3606
3597
  });
3607
3598
 
@@ -3681,10 +3672,10 @@
3681
3672
  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 }));
3682
3673
 
3683
3674
  const BUTTON_STYLE = {
3684
- default: 'px-5 bg-main-divider rounded hover:text-primary-main',
3675
+ default: 'px-lg bg-main-divider rounded hover:text-primary-main',
3685
3676
  transparent: 'text-white hover:text-primary-hover',
3686
3677
  };
3687
- 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);
3678
+ 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);
3688
3679
 
3689
3680
  const HeaderSubMenu = JSX(({ subItems = [], version, internetBankUrl }) => {
3690
3681
  const iconVersion = version === 'transparent' ? 'white' : 'black';
@@ -3699,7 +3690,7 @@
3699
3690
  ? handleIntersectionActivation(index)
3700
3691
  : handleIntersectionDeactivation(index));
3701
3692
  }), [subItems]);
3702
- 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 })] }));
3693
+ 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 })] }));
3703
3694
  });
3704
3695
  const handleIntersectionActivation = (index) => (prev) => Math.max(prev, index + 1);
3705
3696
  const handleIntersectionDeactivation = (index) => (prev) => Math.min(prev, index);
@@ -3758,13 +3749,13 @@
3758
3749
  : null, renderArrows({
3759
3750
  ...controls,
3760
3751
  btnClass: ['left-12', 'right-12'],
3761
- className: 'top-[62px]',
3762
- }), 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 })] }));
3752
+ className: 'top-16',
3753
+ }), 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 })] }));
3763
3754
  });
3764
3755
  function renderGallery({ activeIndex, cards, selectedCardIndex, onClick }) {
3765
3756
  const tabsShiftWidth = activeIndex * 460;
3766
3757
  const cardsAlignStyle = cards.length > 2 ? 'justify-start' : 'justify-center';
3767
- 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({
3758
+ 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({
3768
3759
  slide,
3769
3760
  i,
3770
3761
  isActive: Boolean(i === selectedCardIndex),
@@ -3775,10 +3766,10 @@
3775
3766
  const btnClassName = isActive
3776
3767
  ? 'shadow-dark-blue border-primary-main'
3777
3768
  : `ease-in duration-300 border-gray`;
3778
- 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)));
3769
+ 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)));
3779
3770
  }
3780
3771
  function renderValueBlock$1(title, sum) {
3781
- 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 })] }));
3772
+ 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 })] }));
3782
3773
  }
3783
3774
  function renderDoneIcon(isActive) {
3784
3775
  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;
@@ -3805,7 +3796,7 @@
3805
3796
  };
3806
3797
  function renderNavButton$1({ title, i, isActive, onClick }) {
3807
3798
  const btnClassName = isActive ? 'bg-primary-main text-white rounded-md' : `text-secondary-text`;
3808
- 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)));
3799
+ 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)));
3809
3800
  }
3810
3801
 
3811
3802
  const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
@@ -3829,12 +3820,12 @@
3829
3820
  if (investmentZeroColumn) {
3830
3821
  columns.unshift(investmentZeroColumn);
3831
3822
  }
3832
- 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] }) }));
3823
+ 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] }) }));
3833
3824
  });
3834
3825
  const renderInvestmentColumn = (column, i, arr) => {
3835
3826
  const isSecondColumn = i === 1;
3836
3827
  const isLastColumn = i === arr.length - 1;
3837
- 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}`));
3828
+ 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}`));
3838
3829
  };
3839
3830
  const getColumnClasses = (isSecondColumn, isLastColumn, cells = []) => [
3840
3831
  cells.length ? 'flex-1' : 'flex-0',
@@ -3860,7 +3851,7 @@
3860
3851
  return `${parseFloat((bytes / Math.pow(KILO, i)).toFixed(decimals))} ${KILO_SIZES[i]}`;
3861
3852
  };
3862
3853
 
3863
- 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] })));
3854
+ 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] })));
3864
3855
  const formatSuffix = (ext, fileSize) => {
3865
3856
  const prefix = ext || fileSize ? ',' : '';
3866
3857
  const extension = ext ? ` ${ext}` : '';
@@ -3883,7 +3874,7 @@
3883
3874
  };
3884
3875
  const LinkDocs = JSX(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => {
3885
3876
  const router = useRouter();
3886
- 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] }));
3877
+ 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] }));
3887
3878
  });
3888
3879
  const renderLinkDocItem = (router, columnsMode, icon) => (docBlockDef, i) => {
3889
3880
  const href = docBlockDef?.docType === 'Attachment'
@@ -3892,13 +3883,13 @@
3892
3883
  const fileSize = docBlockDef?.docType === 'Attachment'
3893
3884
  ? formatBytes(docBlockDef?.attachment?.fileSize || 0)
3894
3885
  : docBlockDef?.fileSize;
3895
- 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)));
3886
+ 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)));
3896
3887
  };
3897
3888
 
3898
3889
  const renderDescription$1 = (description) => description ? (jsx("div", { className: "mb-lg pt-3xs", children: jsx(Text, { size: "text-xl", "font-weight": "light", children: description }) })) : null;
3899
3890
 
3900
3891
  const renderList$1 = (items) => {
3901
- 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" }));
3892
+ 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" }));
3902
3893
  };
3903
3894
 
3904
3895
  const MobileAppTile = JSX(({ className, padding, alignTitle = 'left', buttons = [], description, headingType = 'h4', image, items, qr, title = 'Мобильное приложение', version = 'primary', ...rest }) => {
@@ -3927,14 +3918,27 @@
3927
3918
  underlined: 'bg-white',
3928
3919
  rounded: 'bg-primary-main',
3929
3920
  };
3930
- const TabItem = JSX(({ item = {}, isActive, onClick, type = 'default' }) => {
3921
+ const TabItemInner = JSX(({ tag = 'div', item = {}, isActive, type = 'default', onClick }) => {
3922
+ const Tag = tag;
3923
+ const { text, ...link } = item;
3924
+ return (jsx(Tag, { className: style('h-12', 'block flex-1', 'cursor-pointer', tabPaddingStyleMap[type], isActive ? activeTabBgStyleMap[type] : tabBgStyleMap[type]), role: "tab", "aria-selected": isActive, onClick: onClick, ...link, children: jsx("div", { className: style('h-full', 'flex justify-center items-center', 'text-center whitespace-nowrap', isActive ? activeTabTextStyleMap[type] : tabTextStyle), children: jsx(Text, { size: "text-m", children: text }) }) }));
3925
+ });
3926
+
3927
+ const TabItem = JSX((props) => props?.item?.href ? jsx(LinkTabItem, { ...props }) : jsx(ButtonTabItem, { ...props }));
3928
+ const LinkTabItem = JSX((props) => {
3931
3929
  const link = useLink();
3932
- const handleClick = () => {
3930
+ const handleClick = useCallback(() => {
3931
+ props.onClick && props.onClick(props.item || {});
3932
+ }, [props.onClick, props.item]);
3933
+ const { onClick, ...item } = link({ ...props.item, onClick: handleClick });
3934
+ return jsx(TabItemInner, { ...props, tag: "a", item: item, onClick: onClick });
3935
+ });
3936
+ // TODO: Update handlerDecorator (support buttons?)
3937
+ const ButtonTabItem = JSX(({ item = {}, onClick, ...rest }) => {
3938
+ const handleClick = useCallback(() => {
3933
3939
  onClick && onClick(item);
3934
- };
3935
- const { text, ...linkProps } = link({ ...item, onClick: handleClick });
3936
- const Tag = item.href ? 'a' : 'div';
3937
- return (jsx(Tag, { className: style('h-12', 'block flex-1', 'cursor-pointer', tabPaddingStyleMap[type], isActive ? activeTabBgStyleMap[type] : tabBgStyleMap[type]), role: "tab", "aria-selected": isActive, ...linkProps, children: jsx("div", { className: style('h-full', 'flex justify-center items-center', 'text-center whitespace-nowrap', isActive ? activeTabTextStyleMap[type] : tabTextStyle), children: jsx(Text, { size: "text-m", children: text }) }) }));
3940
+ }, [onClick, item]);
3941
+ return jsx(TabItemInner, { item: item, onClick: handleClick, ...rest });
3938
3942
  });
3939
3943
 
3940
3944
  const renderTab = (activeTab, onClick, type) => (tab, i) => (jsx(TabItem, { isActive: tab === activeTab, onClick: onClick, type: type, item: tab }, String(i)));
@@ -3962,19 +3966,19 @@
3962
3966
  };
3963
3967
  const MortgageFiltration = JSX(({ className, hotFilters = [], filtrationSchema = {}, resetButton, ...rest }) => {
3964
3968
  const [filtrationState, { field, reset, update: replaceFiltrationState }] = useForm(initialFiltrationState);
3965
- const normalizedHotFilters = useMemo(() => hotFilters.map(({ text }) => ({
3969
+ const tabsControlItems = useMemo(() => hotFilters.map(({ text }) => ({
3966
3970
  text,
3967
3971
  })), [hotFilters]);
3968
3972
  const [hotFilterIndex, setHotFilterIndex] = useState(0);
3969
3973
  const handleHotFilterSelect = useCallback((_) => {
3970
- setHotFilterIndex(normalizedHotFilters.indexOf(_));
3971
- replaceFiltrationState(hotFilters[normalizedHotFilters.indexOf(_)].filter || initialFiltrationState);
3972
- }, [normalizedHotFilters]);
3974
+ setHotFilterIndex(tabsControlItems.indexOf(_));
3975
+ replaceFiltrationState(hotFilters[tabsControlItems.indexOf(_)].filter || initialFiltrationState);
3976
+ }, [hotFilters, tabsControlItems]);
3973
3977
  useEffect(() => {
3974
3978
  const suggestedHotFilterIndex = hotFilters.findIndex((_) => hotFilterRecordCmp(_.filter, filtrationState));
3975
3979
  setHotFilterIndex(suggestedHotFilterIndex !== -1 ? suggestedHotFilterIndex : 0);
3976
3980
  }, [hotFilters, filtrationState]);
3977
- return (jsxs(BlockWrapper, { className: style(className), defaultPadding: "p-0", version: "transparent", ...rest, children: [jsx(TabsControl, { className: "mb-2xs", items: normalizedHotFilters, value: normalizedHotFilters[hotFilterIndex], onChange: handleHotFilterSelect }), renderFiltrationForm({ field, reset, filtrationSchema, resetButton }), jsx(BaseFiltrationInner, { filtrationState: filtrationState, ...rest })] }));
3981
+ 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 })] }));
3978
3982
  });
3979
3983
  MortgageFiltration.childrenTypes = ['ProductTile'];
3980
3984
  MortgageFiltration.childSchema = (content) => content?.filtrationSchema || {};
@@ -4049,7 +4053,7 @@
4049
4053
  const getYandexMapUrl = () => {
4050
4054
  return `https://yandex.ru/maps/?ll=${[pointsCenter[1], pointsCenter[0]]}&z=10&l=map`;
4051
4055
  };
4052
- 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" }));
4056
+ 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" }));
4053
4057
  };
4054
4058
 
4055
4059
  const styles$2 = {
@@ -4100,7 +4104,7 @@
4100
4104
  map.geoObjects.add(result.geoObjects);
4101
4105
  });
4102
4106
  };
4103
- 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" }) }));
4107
+ 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" }) }));
4104
4108
  };
4105
4109
 
4106
4110
  const YMAPS_NAMESPACE = 'ymaps';
@@ -4289,13 +4293,13 @@
4289
4293
  const renderCurrentDaySchedule = ({ lunchHour, status, workTime }) => {
4290
4294
  const hasTime = /\d+/gi.test(lunchHour);
4291
4295
  const lunchHourText = hasTime ? `Перерыв ${lunchHour}` : lunchHour;
4292
- 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" }) }));
4296
+ 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" }) }));
4293
4297
  };
4294
- 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}`));
4295
- 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}`));
4298
+ 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}`));
4299
+ 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}`));
4296
4300
  const renderLunchHour = (lunchHour) => {
4297
4301
  const hasTime = /\d+/gi.test(lunchHour);
4298
- 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 }) }));
4302
+ 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 }) }));
4299
4303
  };
4300
4304
 
4301
4305
  const OfficeMap = JSX(({ className = '' }) => {
@@ -4329,7 +4333,7 @@
4329
4333
  ];
4330
4334
  const currentWeekDayInd = new Date().getDay();
4331
4335
  const currentWeekDay = currentWeekDayInd > 0 ? workScheduleWeek[currentWeekDayInd - 1] : workScheduleWeek[6];
4332
- 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) })] })] }));
4336
+ 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) })] })] }));
4333
4337
  });
4334
4338
 
4335
4339
  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] })));
@@ -4343,7 +4347,7 @@
4343
4347
  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)) }) })));
4344
4348
 
4345
4349
  const GOLDEN_RATIO = 1.618;
4346
- 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() })] })));
4350
+ 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() })] })));
4347
4351
  const renderShimmer = (size = 3) => goldenSequence(100, size)
4348
4352
  .map((_) => Math.floor(_))
4349
4353
  .map(renderShimmerItem);
@@ -4353,7 +4357,7 @@
4353
4357
  function renderBackwardButton({ text, href, target, icon }, version) {
4354
4358
  const iconVersion = version === 'primary' ? 'white' : 'black';
4355
4359
  const commonProps = { text, href, target, ariaLabel: text };
4356
- 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: {
4360
+ 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: {
4357
4361
  ...icon,
4358
4362
  icon: icon?.icon || 'ArrowLeftIcon',
4359
4363
  iconVersion: icon?.iconVersion || iconVersion,
@@ -4372,19 +4376,19 @@
4372
4376
  const isActive = i === activeSlideIndex;
4373
4377
  const btnClassName = isActive
4374
4378
  ? 'min-w-[350px] bg-white shadow-dark-blue border-none p-6'
4375
- : 'min-w-[290px] ease-in duration-300 bg-white/10 px-6 py-5 hover:py-6 backdrop-blur';
4379
+ : 'min-w-72 ease-in duration-300 bg-white/10 px-xl py-lg hover:py-xl backdrop-blur';
4376
4380
  const btnTitleClassName = isActive
4377
- ? 'text-primary-text text-h6 py-2'
4378
- : 'text-l pb-1 text-secondary-text group-data-secondary:text-white';
4381
+ ? 'text-primary-text text-h6 py-xs'
4382
+ : 'text-l pb-2xs text-secondary-text group-data-secondary:text-white';
4379
4383
  const btnDescClassName = isActive
4380
4384
  ? 'text-secondary-text text-l font-light'
4381
4385
  : 'text-secondary-text text-m font-light group-data-secondary:text-white/80';
4382
- 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)));
4386
+ 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)));
4383
4387
  };
4384
4388
 
4385
4389
  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 }) })));
4386
4390
 
4387
- 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 })] }) })));
4391
+ 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 })] }) })));
4388
4392
  function formatDate(date) {
4389
4393
  const dateObj = new Date(date);
4390
4394
  const dateFormat = {
@@ -4397,7 +4401,7 @@
4397
4401
 
4398
4402
  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] })] })));
4399
4403
  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 }));
4400
- const renderDescriptionBlock = (__html) => (jsx("div", { className: "border-b border-main-divider pb-5", children: jsx(RichText, { __html: __html }) }));
4404
+ const renderDescriptionBlock = (__html) => (jsx("div", { className: "border-b border-main-divider", children: jsx(RichText, { __html: __html }) }));
4401
4405
  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] })] }));
4402
4406
 
4403
4407
  const RichTextBlock = JSX((props) => {
@@ -4405,7 +4409,7 @@
4405
4409
  return (jsx(BlockWrapper, { defaultPadding: "p-0", ...rest, children: jsx(RichText, { __html: __html, richVersion: richVersion }) }));
4406
4410
  });
4407
4411
 
4408
- const foldableSectionStyles = 'grid grid-cols-12 [&>*]:pb-4';
4412
+ const foldableSectionStyles = 'grid grid-cols-12 [&>*]:pb-m';
4409
4413
 
4410
4414
  const getIconName = (isUnfolded) => (isUnfolded ? 'MinusIcon' : 'PlusIcon');
4411
4415
 
@@ -4417,7 +4421,7 @@
4417
4421
  const rollupItemStyles = 'border-0 border-b border-solid border-main-divider last:border-b-0';
4418
4422
 
4419
4423
  const RollupItem = JSX(({ className = '', label = 'Развернуть', labelIcon, labelIconBgVersion, isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => {
4420
- 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({
4424
+ 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({
4421
4425
  ...rest,
4422
4426
  extraProps: { className: 'w-full', padding: 'p-0' },
4423
4427
  }) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({
@@ -4456,9 +4460,9 @@
4456
4460
 
4457
4461
  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" }) })] })));
4458
4462
 
4459
- 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] }) })));
4463
+ 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] }) })));
4460
4464
 
4461
- const RadioButtons = JSX(({ className }) => {
4465
+ const RadioButtons = JSX(({ className = '' }) => {
4462
4466
  const [selectedOption, setSelectedOption] = useState('option2');
4463
4467
  const onChange = useCallback((_) => setSelectedOption(_), []);
4464
4468
  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 })] }));
@@ -4470,11 +4474,11 @@
4470
4474
  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 })] })));
4471
4475
 
4472
4476
  const SafeBoxCases = JSX(({ caseVolumes = [], selectedCaseVolume, onSelectedCaseVolume, safeBoxCases = [], selectedBoxSize, onSelectedBoxSize, }) => {
4473
- 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" }) })] }));
4477
+ 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" }) })] }));
4474
4478
  });
4475
4479
 
4476
4480
  const SafeDepositRentalFields = JSX(({ regions, selectedRegion, branches, selectedBranch, days, selectedCaseVolume, selectedBoxSize, safeBoxCases, caseVolumes, onChange, onClick, }) => {
4477
- 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" })] })] }));
4481
+ 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" })] })] }));
4478
4482
  });
4479
4483
  const onSelectedBranch = (onChange) => (value) => {
4480
4484
  onChange({ selectedBranch: value, selectedCaseVolume: '', selectedBoxSize: '' });
@@ -4486,10 +4490,10 @@
4486
4490
  const SafeDepositRentalTotal = JSX(({ days, tariffs = [] }) => {
4487
4491
  const price = calculatePrice(days, tariffs);
4488
4492
  const imageDescription = 'На рисунке изображена пачка листов\nформата А4';
4489
- 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 })] })] }));
4493
+ 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-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 })] })] }));
4490
4494
  });
4491
4495
  const renderTotal = (label, total) => {
4492
- 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 })] }));
4496
+ 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 })] }));
4493
4497
  };
4494
4498
  const calculatePrice = (days, tariffs) => {
4495
4499
  const tariffType = getTariffType(days);
@@ -4536,7 +4540,7 @@
4536
4540
  const caseVolumes = getCaseVolumes(branch?.safeBoxCaseVolumes);
4537
4541
  const safeBoxCases = getCaseVolume(branch?.safeBoxCaseVolumes, data.selectedCaseVolume)?.safeBoxCases;
4538
4542
  const tariffs = getTariffs(safeBoxCases, data.selectedBoxSize);
4539
- 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 })] }));
4543
+ 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 })] }));
4540
4544
  });
4541
4545
  const getCaseVolumes = (safeBoxCaseVolumes) => safeBoxCaseVolumes?.length ? safeBoxCaseVolumes?.filter((_) => _?.safeBoxCases?.length) : [];
4542
4546
  const getCaseVolume = (caseVolumes, selectedCaseVolume) => caseVolumes?.find((_) => _.volume === selectedCaseVolume);
@@ -4569,10 +4573,18 @@
4569
4573
  const branches = useSafeBoxes(selectedRegion);
4570
4574
  const handleChangeSafeDepositState = useCallback((state) => setStateDepositState((oldState) => ({ ...oldState, ...state })), [setStateDepositState]);
4571
4575
  const points = getCoordinates(getBranch(branches, safeDepositState.selectedBranch) || branches);
4572
- 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] }));
4576
+ 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] }));
4573
4577
  });
4574
4578
  const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
4575
4579
 
4580
+ const STEPS_BLOCK_STYLE = {
4581
+ description: 'text-white/80 text-l font-light group-data-primary:text-secondary-text group-data-gray:text-secondary-text',
4582
+ iconText: 'text-white group-data-primary:text-secondary-text group-data-gray:text-secondary-text',
4583
+ iconBackground: 'bg-white/30 group-data-primary:bg-main-divider',
4584
+ iconConnector: 'bg-white group-data-primary:bg-secondary-light',
4585
+ dot: 'bg-white/80 group-data-primary:bg-secondary-text',
4586
+ };
4587
+
4576
4588
  const checkCanRenderIcon = (icon) => Boolean(icon?.icon || icon?.src);
4577
4589
 
4578
4590
  // TODO: Create universal function for this case
@@ -4594,25 +4606,17 @@
4594
4606
  const { label, description, button, items, isDotted } = step;
4595
4607
  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)));
4596
4608
  };
4597
- const getContainerWidth = (length) => (length < 5 ? 'w-[276px]' : 'w-[200px]');
4598
-
4599
- const STEPS_BLOCK_STYLE = {
4600
- description: 'text-white/80 text-l font-light group-data-primary:text-secondary-text group-data-gray:text-secondary-text',
4601
- iconText: 'text-white group-data-primary:text-secondary-text group-data-gray:text-secondary-text',
4602
- iconBackground: 'bg-white/30 group-data-primary:bg-main-divider',
4603
- iconConnector: 'bg-white group-data-primary:bg-secondary-light',
4604
- dot: 'bg-white/80 group-data-primary:bg-secondary-text',
4605
- };
4609
+ const getContainerWidth = (length) => (length < 5 ? 'w-72' : 'w-52');
4606
4610
 
4607
4611
  const getLineOpacity = (showLines) => (showLines ? '' : 'opacity-0');
4608
4612
  const getPaddingX = (steps) => (steps < 5 ? 'px-24' : 'px-16');
4609
- const StepsBlock = JSX(({ className = '', showLines = true, steps = [], buttons, size = 'normal', version = 'primary', stepVersion = 'gray', title, ...rest }) => {
4613
+ const StepsBlock = JSX(({ className = '', showLines = true, steps = [], buttons, size = 'normal', version = 'primary', stepVersion = 'gray', title, description, ...rest }) => {
4610
4614
  const shortGaps = steps.length > 3;
4611
4615
  const styleMap = STEPS_BLOCK_STYLE;
4612
4616
  const lineOpacity = getLineOpacity(showLines);
4613
4617
  const paddingX = getPaddingX(steps.length);
4614
4618
  const isMainButton = Boolean(buttons?.every((b) => b?.text));
4615
- 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)] }));
4619
+ 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)] }));
4616
4620
  });
4617
4621
  const renderStepIcon = (styleMap, size, stepVersion) => ({ icon }, i) => {
4618
4622
  const iconVersion = stepVersion === 'secondary' ? 'white' : 'color';
@@ -4665,7 +4669,7 @@
4665
4669
  };
4666
4670
 
4667
4671
  const Tabs = JSX(({ className = '', isSticky, tabs = [], tabsMode, ...rest }) => {
4668
- const normalizedTabs = useMemo(() => tabs.map(normalizeTab), [tabs]);
4672
+ const tabsControlItems = useMemo(() => tabs.map(normalizeTab), [tabs]);
4669
4673
  const [activeTabIndex, setActiveTabIndex] = useState(0);
4670
4674
  useEffect(() => {
4671
4675
  if (!tabs || !tabs[0]) {
@@ -4680,15 +4684,15 @@
4680
4684
  }
4681
4685
  }, [tabs, activeTabIndex]);
4682
4686
  const handleChange = useCallback((_) => {
4683
- const index = normalizedTabs.indexOf(_);
4687
+ const index = tabsControlItems.indexOf(_);
4684
4688
  setActiveTabIndex(index);
4685
4689
  fireTabEvent(tabs[index]);
4686
- }, []);
4690
+ }, [tabs, tabsControlItems]);
4687
4691
  return (jsx(BlockWrapper, { className: style(isSticky ? 'sticky top-1 z-20' : '', className), defaultPadding: "p-0", ...rest, children: renderTabs({
4688
- items: normalizedTabs,
4689
- onChange: handleChange,
4690
- value: normalizedTabs[activeTabIndex],
4692
+ items: tabsControlItems,
4693
+ value: tabsControlItems[activeTabIndex],
4691
4694
  tabsMode,
4695
+ onChange: handleChange,
4692
4696
  }) }));
4693
4697
  });
4694
4698
  const fireTabEvent = (tab) => {
@@ -4702,19 +4706,16 @@
4702
4706
  const normalizeTab = (_) => (_?.type === 'group' ? { text: _.title } : _);
4703
4707
 
4704
4708
  const DIVIDER_CLASSES = 'border-main-divider border border-t-0 border-x-0';
4705
- const FIRST_CELL_CLASSES = 'w-[354px] flex-shrink-0';
4709
+ const FIRST_CELL_CLASSES = 'w-80 flex-shrink-0';
4706
4710
  const COLS_LENGTH_FOR_SCROLL = 2;
4707
4711
  const COLUMN_WIDTH$1 = 4 * 80 + 40; // w-80 + pl-10 = 360px
4708
4712
 
4709
4713
  const TableInnerButton = JSX(({ isOpen, onClick }) => {
4710
- 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" })] }));
4714
+ 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" })] }));
4711
4715
  });
4712
4716
 
4713
4717
  const renderButtonsCellData = ({ buttons }) => renderButtonsSection(buttons);
4714
- const renderLabelDescriptionCellData = ({ label, description }) => {
4715
- const labelClassName = `text-h6 m-0 ${description ? 'mb-1' : ''}`;
4716
- 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] }));
4717
- };
4718
+ 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] }));
4718
4719
  const renderImgCellData = ({ image }) => (image?.src ? jsx(Img, { image: image }) : null);
4719
4720
  const renderListCellData = ({ isDotted, ...rest }) => (jsx(List, { className: "flex flex-col justify-between items-start text-h6", isDotted: isDotted ?? true, ...rest }));
4720
4721
  const renderTableCellData = JSX(({ isVisible, displayTable, dataUrl, pdfUrl, isOpen }) => isVisible ? (jsx(TableInnerButton, { isOpen: isOpen, onClick: () => {
@@ -4764,7 +4765,7 @@
4764
4765
  };
4765
4766
 
4766
4767
  const TariffsTableCell = JSX(({ cells, rowIdx, cellIdx, setTableInner, tableInner, openTableInnerIdx, setOpenTableInnerIdx, }) => {
4767
- 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
4768
+ 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
4768
4769
  ? cells.map(renderCellInner({
4769
4770
  rowIdx,
4770
4771
  cellIdx,
@@ -4800,18 +4801,18 @@
4800
4801
  'flex duration-1000 text-center',
4801
4802
  rowIdx !== 0 ? 'font-normal' : 'font-light',
4802
4803
  ].join(' ');
4803
- 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: {
4804
+ 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: {
4804
4805
  transform: `translateX(-${transform}px)`,
4805
4806
  }, 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)));
4806
4807
  };
4807
- 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;
4808
+ 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;
4808
4809
 
4809
4810
  const InnerTableBody = JSX(({ activeTabIndex, items }) => {
4810
4811
  const [hiddenTables, setHiddenTables] = useState({});
4811
4812
  const toggleTables = useCallback((key) => setHiddenTables((oldState) => ({ ...oldState, [key]: !oldState[key] })), []);
4812
4813
  return (jsx("div", { children: items.map((_, tableIdx) => {
4813
4814
  const key = `activeTabIdx:${activeTabIndex}-tableIdx:${tableIdx}`;
4814
- 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));
4815
+ 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));
4815
4816
  }) }));
4816
4817
  });
4817
4818
 
@@ -4836,7 +4837,7 @@
4836
4837
  const handleActiveTabIndex = useCallback((_) => setActiveTabIndex(_), []);
4837
4838
  const items = tableData?.[activeTabIndex]?.items ?? [];
4838
4839
  const currencies = tableData?.map((item) => item.currency ?? '');
4839
- 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 })] }));
4840
+ 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 })] }));
4840
4841
  });
4841
4842
 
4842
4843
  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] })));
@@ -4863,7 +4864,7 @@
4863
4864
  });
4864
4865
  const rows = (rowData || []).map((row, i) => (jsx(TariffsTableRow, { row: row, activeIndex: activeIndex, rowIdx: i, ...rest }, String(i))));
4865
4866
  const [visibleRows, hiddenRows] = hiddenRowsNum > 0 ? [rows.slice(0, -hiddenRowsNum), rows.slice(-hiddenRowsNum)] : [rows, []];
4866
- 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 }))] }));
4867
+ 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 }))] }));
4867
4868
  });
4868
4869
  const Wrapper = JSX(({ children, controls }) => {
4869
4870
  const { isScrollAvailable } = controls;
@@ -4874,12 +4875,12 @@
4874
4875
  })] }), isScrollAvailable ? (jsx("div", { className: "absolute top-0 right-0 bottom-0 w-20 bg-opacity-to-white" })) : null] }));
4875
4876
  });
4876
4877
 
4877
- 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] })] })));
4878
+ 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] })] })));
4878
4879
  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" }));
4879
4880
  const renderImage = (image) => image?.src ? jsx(Img, { className: "h-fit flex-shrink-0", image: image }) : null;
4880
4881
  const renderDescription = (description) => (jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text group-data-secondary:text-white", children: description }));
4881
4882
  const renderList = (items, bullets) => {
4882
- const listStyle = bullets ? 'list-disc pl-6' : '';
4883
+ const listStyle = bullets ? 'list-disc pl-xl' : '';
4883
4884
  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}`))) }));
4884
4885
  };
4885
4886
 
@@ -4898,7 +4899,7 @@
4898
4899
  };
4899
4900
 
4900
4901
  const MIN_COL_SPAN = 10;
4901
- const getPaddings = (className) => getColSpan(className) < MIN_COL_SPAN ? 'py-6 px-11' : 'py-12 px-32';
4902
+ const getPaddings = (className) => getColSpan(className) < MIN_COL_SPAN ? 'py-xl px-6xl' : 'py-6xl px-32';
4902
4903
 
4903
4904
  const Video = JSX(({ className, title, url, previewImg, ...rest }) => {
4904
4905
  const router = useRouter();
@@ -5036,7 +5037,7 @@
5036
5037
  }, []);
5037
5038
  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;
5038
5039
  });
5039
- const linkWrapperStyle = (href) => style('inline mx-1', href ? 'text-green-dark' : '');
5040
+ const linkWrapperStyle = (href) => style('inline mx-2xs', href ? 'text-green-dark' : '');
5040
5041
 
5041
5042
  function useList(initialList = []) {
5042
5043
  const [list, setList] = useState(initialList);
@@ -5141,7 +5142,7 @@
5141
5142
  const LikeControl = JSX(({ className = '' }) => {
5142
5143
  const router = useRouter();
5143
5144
  const likeService = useLikeService(router.pathname);
5144
- 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 })] }));
5145
+ 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 })] }));
5145
5146
  });
5146
5147
 
5147
5148
  const ContentPage = JSX(({ className, blocksRegistry, blockDecorator, data = {} }) => {
@@ -5154,7 +5155,7 @@
5154
5155
  parent: data,
5155
5156
  };
5156
5157
  useBlockRouterProvider();
5157
- 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' } })] }));
5158
+ 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' } })] }));
5158
5159
  });
5159
5160
  ContentPage.childrenTypes = [];
5160
5161
  ContentPage.slots = () => ['header', 'footer'];
@@ -5162,7 +5163,7 @@
5162
5163
  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" }) }));
5163
5164
  }
5164
5165
 
5165
- const packageVersion = "0.13.1";
5166
+ const packageVersion = "0.13.3";
5166
5167
 
5167
5168
  exports.Blocks = Blocks;
5168
5169
  exports.ContentPage = ContentPage;