@redneckz/wildless-cms-uni-blocks 0.10.1 → 0.10.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 (782) hide show
  1. package/bin/migration-scripts/0.10.2.js +31 -0
  2. package/bin/migration-scripts/0.10.3.js +19 -0
  3. package/bundle/blocks.schema.json +1 -1
  4. package/bundle/bundle.umd.js +178 -160
  5. package/bundle/bundle.umd.min.js +1 -1
  6. package/bundle/components/Calculator/constants.d.ts +2 -2
  7. package/bundle/components/Calculator/rangeHelpers.d.ts +3 -0
  8. package/bundle/components/Calculator/useBusinessDepositCalculatorParams.d.ts +1 -1
  9. package/bundle/components/Calculator/useCreditCalculatorParams.d.ts +10 -3
  10. package/bundle/components/Calculator/useDepositCalculatorParams.d.ts +1 -1
  11. package/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
  12. package/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +2 -0
  13. package/bundle/components/Header/HeaderSubMenu.d.ts +3 -0
  14. package/bundle/components/Header/InternetBankButton.d.ts +7 -0
  15. package/bundle/components/LinkDocs/LinkDocsContent.d.ts +0 -4
  16. package/bundle/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
  17. package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +1 -1
  18. package/bundle/components/StepsBlock/StepsBlock.d.ts +1 -1
  19. package/bundle/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
  20. package/bundle/services/sitemap/SitemapData.d.ts +1 -0
  21. package/bundle/ui-kit/Button/ButtonProps.d.ts +0 -2
  22. package/bundle/ui-kit/Icon/IconProps.d.ts +0 -2
  23. package/bundle/ui-kit/YandexMap/renderSearchField.d.ts +1 -1
  24. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  25. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  26. package/dist/components/BusinessBlock/BusinessCard.js +2 -2
  27. package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  28. package/dist/components/Calculator/Calculator.js +1 -1
  29. package/dist/components/Calculator/Calculator.js.map +1 -1
  30. package/dist/components/Calculator/CreditCalculatorForm.js +5 -0
  31. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  32. package/dist/components/Calculator/UnknownRate.js +2 -2
  33. package/dist/components/Calculator/UnknownRate.js.map +1 -1
  34. package/dist/components/Calculator/constants.d.ts +2 -2
  35. package/dist/components/Calculator/constants.js.map +1 -1
  36. package/dist/components/Calculator/rangeHelpers.d.ts +3 -0
  37. package/dist/components/Calculator/rangeHelpers.js +10 -3
  38. package/dist/components/Calculator/rangeHelpers.js.map +1 -1
  39. package/dist/components/Calculator/useBusinessDepositCalculatorParams.d.ts +1 -1
  40. package/dist/components/Calculator/useBusinessDepositCalculatorParams.js +2 -2
  41. package/dist/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -1
  42. package/dist/components/Calculator/useCreditCalculatorParams.d.ts +10 -3
  43. package/dist/components/Calculator/useCreditCalculatorParams.js +39 -33
  44. package/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  45. package/dist/components/Calculator/useDepositCalculatorParams.d.ts +1 -1
  46. package/dist/components/Calculator/useDepositCalculatorParams.js +4 -4
  47. package/dist/components/Calculator/useDepositCalculatorParams.js.map +1 -1
  48. package/dist/components/CarouselEventCard/CarouselEventCard.js +1 -2
  49. package/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  50. package/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  51. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  52. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  53. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  54. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -2
  55. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  56. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +8 -5
  57. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  58. package/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
  59. package/dist/components/ComparisonTable/HeaderCell.js +1 -2
  60. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  61. package/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
  62. package/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  63. package/dist/components/Footer/Footer.mobile.js +1 -2
  64. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  65. package/dist/components/Footer/MediaButton.js +1 -3
  66. package/dist/components/Footer/MediaButton.js.map +1 -1
  67. package/dist/components/Header/DropdownMenu.js +2 -2
  68. package/dist/components/Header/DropdownMenu.js.map +1 -1
  69. package/dist/components/Header/Header.js +2 -2
  70. package/dist/components/Header/Header.js.map +1 -1
  71. package/dist/components/Header/HeaderBurger.js +2 -2
  72. package/dist/components/Header/HeaderBurger.js.map +1 -1
  73. package/dist/components/Header/HeaderChatBotButton.js +1 -1
  74. package/dist/components/Header/HeaderChatBotButton.js.map +1 -1
  75. package/dist/components/Header/HeaderSecondaryMenu.js +1 -3
  76. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  77. package/dist/components/Header/HeaderSecondaryMenuButton.d.ts +2 -0
  78. package/dist/components/Header/HeaderSecondaryMenuButton.js +6 -2
  79. package/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  80. package/dist/components/Header/HeaderSubMenu.d.ts +3 -0
  81. package/dist/components/Header/HeaderSubMenu.js +6 -2
  82. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  83. package/dist/components/Header/HeaderSubMenuItem.js +2 -2
  84. package/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  85. package/dist/components/Header/HeaderTop.js +1 -1
  86. package/dist/components/Header/HeaderTop.js.map +1 -1
  87. package/dist/components/Header/InternetBankButton.d.ts +7 -0
  88. package/dist/components/Header/InternetBankButton.js +12 -0
  89. package/dist/components/Header/InternetBankButton.js.map +1 -0
  90. package/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
  91. package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  92. package/dist/components/LinkDocs/LinkDocs.js +5 -4
  93. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  94. package/dist/components/LinkDocs/LinkDocs.mobile.js +3 -3
  95. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  96. package/dist/components/LinkDocs/LinkDocsContent.d.ts +0 -4
  97. package/dist/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
  98. package/dist/components/LinkDocs/LinkDocsListItem.js +18 -2
  99. package/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  100. package/dist/components/OfficeMap/OfficeMap.js +1 -1
  101. package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  102. package/dist/components/OfficeMap/renderFunctions.js +1 -1
  103. package/dist/components/OfficeMap/renderFunctions.js.map +1 -1
  104. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -2
  105. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  106. package/dist/components/ProductBlock/renderBackwardButton.js +1 -1
  107. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  108. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +1 -1
  109. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +3 -4
  110. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  111. package/dist/components/RollupItem/RollupItem.js +2 -3
  112. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  113. package/dist/components/RollupItem/RollupItem.mobile.js +1 -2
  114. package/dist/components/RollupItem/RollupItem.mobile.js.map +1 -1
  115. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  116. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  117. package/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
  118. package/dist/components/StepsBlock/StepsBlock.js +5 -5
  119. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  120. package/dist/components/StepsBlock/StepsBlock.mobile.js +2 -2
  121. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  122. package/dist/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
  123. package/dist/components/StepsBlock/checkCanRenderIcon.js.map +1 -1
  124. package/dist/components/TariffsTable/TariffsTableRow.js +1 -2
  125. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  126. package/dist/components/VerticalLayout/VerticalLayout.js +1 -1
  127. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  128. package/dist/content-page-repository/transformImg.js +11 -3
  129. package/dist/content-page-repository/transformImg.js.map +1 -1
  130. package/dist/services/sitemap/SitemapData.d.ts +1 -0
  131. package/dist/ui-kit/BenefitItem/BenefitItem.js +1 -3
  132. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  133. package/dist/ui-kit/Button/ArrowButton.js +1 -1
  134. package/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  135. package/dist/ui-kit/Button/ButtonInner.js +4 -3
  136. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  137. package/dist/ui-kit/Button/ButtonProps.d.ts +0 -2
  138. package/dist/ui-kit/Button/renderButtonsSection.js +3 -2
  139. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  140. package/dist/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  141. package/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  142. package/dist/ui-kit/Icon/Icon.js +2 -2
  143. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  144. package/dist/ui-kit/Icon/IconProps.d.ts +0 -2
  145. package/dist/ui-kit/Img/ImgInner.js +1 -1
  146. package/dist/ui-kit/Img/ImgInner.js.map +1 -1
  147. package/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  148. package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  149. package/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  150. package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  151. package/dist/ui-kit/LinkButton/LinkButton.js +2 -2
  152. package/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
  153. package/dist/ui-kit/Logo/renderImage.js +2 -2
  154. package/dist/ui-kit/Logo/renderImage.js.map +1 -1
  155. package/dist/ui-kit/YandexMap/renderSearchField.d.ts +1 -1
  156. package/dist/ui-kit/YandexMap/renderSearchField.js +1 -1
  157. package/dist/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  158. package/lib/common.css +1 -1
  159. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  160. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  161. package/lib/components/BusinessBlock/BusinessCard.js +2 -2
  162. package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  163. package/lib/components/Calculator/Calculator.js +1 -1
  164. package/lib/components/Calculator/Calculator.js.map +1 -1
  165. package/lib/components/Calculator/CreditCalculatorForm.js +6 -1
  166. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  167. package/lib/components/Calculator/UnknownRate.js +2 -2
  168. package/lib/components/Calculator/UnknownRate.js.map +1 -1
  169. package/lib/components/Calculator/constants.d.ts +2 -2
  170. package/lib/components/Calculator/constants.js.map +1 -1
  171. package/lib/components/Calculator/rangeHelpers.d.ts +3 -0
  172. package/lib/components/Calculator/rangeHelpers.js +8 -2
  173. package/lib/components/Calculator/rangeHelpers.js.map +1 -1
  174. package/lib/components/Calculator/useBusinessDepositCalculatorParams.d.ts +1 -1
  175. package/lib/components/Calculator/useBusinessDepositCalculatorParams.js +2 -2
  176. package/lib/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -1
  177. package/lib/components/Calculator/useCreditCalculatorParams.d.ts +10 -3
  178. package/lib/components/Calculator/useCreditCalculatorParams.js +40 -34
  179. package/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  180. package/lib/components/Calculator/useDepositCalculatorParams.d.ts +1 -1
  181. package/lib/components/Calculator/useDepositCalculatorParams.js +4 -4
  182. package/lib/components/Calculator/useDepositCalculatorParams.js.map +1 -1
  183. package/lib/components/CarouselEventCard/CarouselEventCard.js +1 -2
  184. package/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  185. package/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  186. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  187. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  188. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  189. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -2
  190. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  191. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +8 -5
  192. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  193. package/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
  194. package/lib/components/ComparisonTable/HeaderCell.js +1 -2
  195. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  196. package/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  197. package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  198. package/lib/components/Footer/Footer.mobile.js +1 -2
  199. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  200. package/lib/components/Footer/MediaButton.js +1 -3
  201. package/lib/components/Footer/MediaButton.js.map +1 -1
  202. package/lib/components/Header/DropdownMenu.js +2 -2
  203. package/lib/components/Header/DropdownMenu.js.map +1 -1
  204. package/lib/components/Header/Header.js +2 -2
  205. package/lib/components/Header/Header.js.map +1 -1
  206. package/lib/components/Header/HeaderBurger.js +2 -2
  207. package/lib/components/Header/HeaderBurger.js.map +1 -1
  208. package/lib/components/Header/HeaderChatBotButton.js +1 -1
  209. package/lib/components/Header/HeaderChatBotButton.js.map +1 -1
  210. package/lib/components/Header/HeaderSecondaryMenu.js +1 -3
  211. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  212. package/lib/components/Header/HeaderSecondaryMenuButton.d.ts +2 -0
  213. package/lib/components/Header/HeaderSecondaryMenuButton.js +6 -2
  214. package/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  215. package/lib/components/Header/HeaderSubMenu.d.ts +3 -0
  216. package/lib/components/Header/HeaderSubMenu.js +6 -2
  217. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  218. package/lib/components/Header/HeaderSubMenuItem.js +2 -2
  219. package/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  220. package/lib/components/Header/HeaderTop.js +1 -1
  221. package/lib/components/Header/HeaderTop.js.map +1 -1
  222. package/lib/components/Header/InternetBankButton.d.ts +7 -0
  223. package/lib/components/Header/InternetBankButton.js +10 -0
  224. package/lib/components/Header/InternetBankButton.js.map +1 -0
  225. package/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
  226. package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  227. package/lib/components/LinkDocs/LinkDocs.fixture.mobile.d.ts +1 -3
  228. package/lib/components/LinkDocs/LinkDocs.js +5 -4
  229. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  230. package/lib/components/LinkDocs/LinkDocs.mobile.js +3 -3
  231. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  232. package/lib/components/LinkDocs/LinkDocsContent.d.ts +0 -4
  233. package/lib/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
  234. package/lib/components/LinkDocs/LinkDocsListItem.js +19 -3
  235. package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  236. package/lib/components/OfficeMap/OfficeMap.js +1 -1
  237. package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  238. package/lib/components/OfficeMap/renderFunctions.js +1 -1
  239. package/lib/components/OfficeMap/renderFunctions.js.map +1 -1
  240. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -2
  241. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  242. package/lib/components/ProductBlock/renderBackwardButton.js +1 -1
  243. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  244. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +1 -1
  245. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +3 -4
  246. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  247. package/lib/components/RollupItem/RollupItem.js +2 -3
  248. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  249. package/lib/components/RollupItem/RollupItem.mobile.js +1 -2
  250. package/lib/components/RollupItem/RollupItem.mobile.js.map +1 -1
  251. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  252. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  253. package/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
  254. package/lib/components/StepsBlock/StepsBlock.js +5 -5
  255. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  256. package/lib/components/StepsBlock/StepsBlock.mobile.js +2 -2
  257. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  258. package/lib/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
  259. package/lib/components/StepsBlock/checkCanRenderIcon.js.map +1 -1
  260. package/lib/components/TariffsTable/TariffsTableRow.js +1 -2
  261. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  262. package/lib/components/VerticalLayout/VerticalLayout.js +1 -1
  263. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  264. package/lib/content-page-repository/transformImg.js +11 -3
  265. package/lib/content-page-repository/transformImg.js.map +1 -1
  266. package/lib/services/sitemap/SitemapData.d.ts +1 -0
  267. package/lib/ui-kit/BenefitItem/BenefitItem.js +1 -3
  268. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  269. package/lib/ui-kit/Button/ArrowButton.js +1 -1
  270. package/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  271. package/lib/ui-kit/Button/ButtonInner.js +4 -3
  272. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  273. package/lib/ui-kit/Button/ButtonProps.d.ts +0 -2
  274. package/lib/ui-kit/Button/renderButtonsSection.js +3 -2
  275. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  276. package/lib/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  277. package/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  278. package/lib/ui-kit/Icon/Icon.js +2 -2
  279. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  280. package/lib/ui-kit/Icon/IconProps.d.ts +0 -2
  281. package/lib/ui-kit/Img/ImgInner.js +1 -1
  282. package/lib/ui-kit/Img/ImgInner.js.map +1 -1
  283. package/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  284. package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  285. package/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  286. package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  287. package/lib/ui-kit/LinkButton/LinkButton.js +2 -2
  288. package/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
  289. package/lib/ui-kit/Logo/renderImage.js +2 -2
  290. package/lib/ui-kit/Logo/renderImage.js.map +1 -1
  291. package/lib/ui-kit/YandexMap/renderSearchField.d.ts +1 -1
  292. package/lib/ui-kit/YandexMap/renderSearchField.js +1 -1
  293. package/lib/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  294. package/mobile/bundle/bundle.umd.js +26 -43
  295. package/mobile/bundle/bundle.umd.min.js +1 -1
  296. package/mobile/bundle/components/Calculator/constants.d.ts +2 -2
  297. package/mobile/bundle/components/Calculator/rangeHelpers.d.ts +3 -0
  298. package/mobile/bundle/components/Calculator/useBusinessDepositCalculatorParams.d.ts +1 -1
  299. package/mobile/bundle/components/Calculator/useCreditCalculatorParams.d.ts +10 -3
  300. package/mobile/bundle/components/Calculator/useDepositCalculatorParams.d.ts +1 -1
  301. package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
  302. package/mobile/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +2 -0
  303. package/mobile/bundle/components/Header/HeaderSubMenu.d.ts +3 -0
  304. package/mobile/bundle/components/Header/InternetBankButton.d.ts +7 -0
  305. package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +0 -4
  306. package/mobile/bundle/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
  307. package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +1 -1
  308. package/mobile/bundle/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
  309. package/mobile/bundle/services/sitemap/SitemapData.d.ts +1 -0
  310. package/mobile/bundle/ui-kit/Button/ButtonProps.d.ts +0 -2
  311. package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +0 -2
  312. package/mobile/bundle/ui-kit/YandexMap/renderSearchField.d.ts +1 -1
  313. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  314. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  315. package/mobile/dist/components/BusinessBlock/BusinessCard.js +2 -2
  316. package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  317. package/mobile/dist/components/Calculator/Calculator.js +1 -1
  318. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  319. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +5 -0
  320. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  321. package/mobile/dist/components/Calculator/UnknownRate.js +2 -2
  322. package/mobile/dist/components/Calculator/UnknownRate.js.map +1 -1
  323. package/mobile/dist/components/Calculator/constants.d.ts +2 -2
  324. package/mobile/dist/components/Calculator/constants.js.map +1 -1
  325. package/mobile/dist/components/Calculator/rangeHelpers.d.ts +3 -0
  326. package/mobile/dist/components/Calculator/rangeHelpers.js +10 -3
  327. package/mobile/dist/components/Calculator/rangeHelpers.js.map +1 -1
  328. package/mobile/dist/components/Calculator/useBusinessDepositCalculatorParams.d.ts +1 -1
  329. package/mobile/dist/components/Calculator/useBusinessDepositCalculatorParams.js +2 -2
  330. package/mobile/dist/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -1
  331. package/mobile/dist/components/Calculator/useCreditCalculatorParams.d.ts +10 -3
  332. package/mobile/dist/components/Calculator/useCreditCalculatorParams.js +39 -33
  333. package/mobile/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  334. package/mobile/dist/components/Calculator/useDepositCalculatorParams.d.ts +1 -1
  335. package/mobile/dist/components/Calculator/useDepositCalculatorParams.js +4 -4
  336. package/mobile/dist/components/Calculator/useDepositCalculatorParams.js.map +1 -1
  337. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js +1 -2
  338. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  339. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  340. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  341. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  342. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  343. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -2
  344. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  345. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +8 -5
  346. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  347. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
  348. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
  349. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  350. package/mobile/dist/components/Footer/Footer.js +1 -2
  351. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  352. package/mobile/dist/components/Footer/MediaButton.js +1 -3
  353. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  354. package/mobile/dist/components/Header/DropdownMenu.js +2 -2
  355. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  356. package/mobile/dist/components/Header/HeaderBurger.js +2 -2
  357. package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
  358. package/mobile/dist/components/Header/HeaderChatBotButton.js +1 -1
  359. package/mobile/dist/components/Header/HeaderChatBotButton.js.map +1 -1
  360. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +1 -3
  361. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  362. package/mobile/dist/components/Header/HeaderSecondaryMenuButton.d.ts +2 -0
  363. package/mobile/dist/components/Header/HeaderSecondaryMenuButton.js +6 -2
  364. package/mobile/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  365. package/mobile/dist/components/Header/HeaderSubMenu.d.ts +3 -0
  366. package/mobile/dist/components/Header/HeaderSubMenu.js +6 -2
  367. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  368. package/mobile/dist/components/Header/HeaderSubMenuItem.js +2 -2
  369. package/mobile/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  370. package/mobile/dist/components/Header/HeaderTop.js +1 -1
  371. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  372. package/mobile/dist/components/Header/InternetBankButton.d.ts +7 -0
  373. package/mobile/dist/components/Header/InternetBankButton.js +12 -0
  374. package/mobile/dist/components/Header/InternetBankButton.js.map +1 -0
  375. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
  376. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  377. package/mobile/dist/components/LinkDocs/LinkDocs.js +3 -3
  378. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  379. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +0 -4
  380. package/mobile/dist/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
  381. package/mobile/dist/components/LinkDocs/LinkDocsListItem.js +18 -2
  382. package/mobile/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  383. package/mobile/dist/components/OfficeMap/OfficeMap.js +1 -1
  384. package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  385. package/mobile/dist/components/OfficeMap/renderFunctions.js +1 -1
  386. package/mobile/dist/components/OfficeMap/renderFunctions.js.map +1 -1
  387. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -2
  388. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  389. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +1 -1
  390. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  391. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +1 -1
  392. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +3 -4
  393. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  394. package/mobile/dist/components/RollupItem/RollupItem.js +1 -2
  395. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  396. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  397. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  398. package/mobile/dist/components/StepsBlock/StepsBlock.js +2 -2
  399. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  400. package/mobile/dist/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
  401. package/mobile/dist/components/StepsBlock/checkCanRenderIcon.js.map +1 -1
  402. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +1 -2
  403. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  404. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +1 -1
  405. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  406. package/mobile/dist/content-page-repository/transformImg.js +11 -3
  407. package/mobile/dist/content-page-repository/transformImg.js.map +1 -1
  408. package/mobile/dist/services/sitemap/SitemapData.d.ts +1 -0
  409. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +1 -3
  410. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  411. package/mobile/dist/ui-kit/Button/ArrowButton.js +1 -1
  412. package/mobile/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  413. package/mobile/dist/ui-kit/Button/ButtonInner.js +4 -3
  414. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  415. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +0 -2
  416. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +3 -2
  417. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  418. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  419. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  420. package/mobile/dist/ui-kit/Icon/Icon.js +2 -2
  421. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  422. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +0 -2
  423. package/mobile/dist/ui-kit/Img/ImgInner.js +1 -1
  424. package/mobile/dist/ui-kit/Img/ImgInner.js.map +1 -1
  425. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  426. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  427. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  428. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  429. package/mobile/dist/ui-kit/LinkButton/LinkButton.js +2 -2
  430. package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
  431. package/mobile/dist/ui-kit/Logo/renderImage.js +2 -2
  432. package/mobile/dist/ui-kit/Logo/renderImage.js.map +1 -1
  433. package/mobile/dist/ui-kit/YandexMap/renderSearchField.d.ts +1 -1
  434. package/mobile/dist/ui-kit/YandexMap/renderSearchField.js +1 -1
  435. package/mobile/dist/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  436. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  437. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  438. package/mobile/lib/components/BusinessBlock/BusinessCard.js +2 -2
  439. package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  440. package/mobile/lib/components/Calculator/Calculator.js +1 -1
  441. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  442. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +6 -1
  443. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  444. package/mobile/lib/components/Calculator/UnknownRate.js +2 -2
  445. package/mobile/lib/components/Calculator/UnknownRate.js.map +1 -1
  446. package/mobile/lib/components/Calculator/constants.d.ts +2 -2
  447. package/mobile/lib/components/Calculator/constants.js.map +1 -1
  448. package/mobile/lib/components/Calculator/rangeHelpers.d.ts +3 -0
  449. package/mobile/lib/components/Calculator/rangeHelpers.js +8 -2
  450. package/mobile/lib/components/Calculator/rangeHelpers.js.map +1 -1
  451. package/mobile/lib/components/Calculator/useBusinessDepositCalculatorParams.d.ts +1 -1
  452. package/mobile/lib/components/Calculator/useBusinessDepositCalculatorParams.js +2 -2
  453. package/mobile/lib/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -1
  454. package/mobile/lib/components/Calculator/useCreditCalculatorParams.d.ts +10 -3
  455. package/mobile/lib/components/Calculator/useCreditCalculatorParams.js +40 -34
  456. package/mobile/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  457. package/mobile/lib/components/Calculator/useDepositCalculatorParams.d.ts +1 -1
  458. package/mobile/lib/components/Calculator/useDepositCalculatorParams.js +4 -4
  459. package/mobile/lib/components/Calculator/useDepositCalculatorParams.js.map +1 -1
  460. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js +1 -2
  461. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  462. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  463. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  464. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  465. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  466. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -2
  467. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  468. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +8 -5
  469. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  470. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
  471. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
  472. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
  473. package/mobile/lib/components/Footer/Footer.js +1 -2
  474. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  475. package/mobile/lib/components/Footer/MediaButton.js +1 -3
  476. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  477. package/mobile/lib/components/Header/DropdownMenu.js +2 -2
  478. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  479. package/mobile/lib/components/Header/HeaderBurger.js +2 -2
  480. package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
  481. package/mobile/lib/components/Header/HeaderChatBotButton.js +1 -1
  482. package/mobile/lib/components/Header/HeaderChatBotButton.js.map +1 -1
  483. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +1 -3
  484. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  485. package/mobile/lib/components/Header/HeaderSecondaryMenuButton.d.ts +2 -0
  486. package/mobile/lib/components/Header/HeaderSecondaryMenuButton.js +6 -2
  487. package/mobile/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  488. package/mobile/lib/components/Header/HeaderSubMenu.d.ts +3 -0
  489. package/mobile/lib/components/Header/HeaderSubMenu.js +6 -2
  490. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  491. package/mobile/lib/components/Header/HeaderSubMenuItem.js +2 -2
  492. package/mobile/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  493. package/mobile/lib/components/Header/HeaderTop.js +1 -1
  494. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  495. package/mobile/lib/components/Header/InternetBankButton.d.ts +7 -0
  496. package/mobile/lib/components/Header/InternetBankButton.js +10 -0
  497. package/mobile/lib/components/Header/InternetBankButton.js.map +1 -0
  498. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
  499. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  500. package/mobile/lib/components/LinkDocs/LinkDocs.js +3 -3
  501. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  502. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +0 -4
  503. package/mobile/lib/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
  504. package/mobile/lib/components/LinkDocs/LinkDocsListItem.js +19 -3
  505. package/mobile/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  506. package/mobile/lib/components/OfficeMap/OfficeMap.js +1 -1
  507. package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  508. package/mobile/lib/components/OfficeMap/renderFunctions.js +1 -1
  509. package/mobile/lib/components/OfficeMap/renderFunctions.js.map +1 -1
  510. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -2
  511. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  512. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +1 -1
  513. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  514. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +1 -1
  515. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +3 -4
  516. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  517. package/mobile/lib/components/RollupItem/RollupItem.js +1 -2
  518. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  519. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  520. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  521. package/mobile/lib/components/StepsBlock/StepsBlock.js +2 -2
  522. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  523. package/mobile/lib/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
  524. package/mobile/lib/components/StepsBlock/checkCanRenderIcon.js.map +1 -1
  525. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -2
  526. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  527. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +1 -1
  528. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  529. package/mobile/lib/content-page-repository/transformImg.js +11 -3
  530. package/mobile/lib/content-page-repository/transformImg.js.map +1 -1
  531. package/mobile/lib/services/sitemap/SitemapData.d.ts +1 -0
  532. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +1 -3
  533. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  534. package/mobile/lib/ui-kit/Button/ArrowButton.js +1 -1
  535. package/mobile/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  536. package/mobile/lib/ui-kit/Button/ButtonInner.js +4 -3
  537. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  538. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +0 -2
  539. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +3 -2
  540. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  541. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  542. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  543. package/mobile/lib/ui-kit/Icon/Icon.js +2 -2
  544. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  545. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +0 -2
  546. package/mobile/lib/ui-kit/Img/ImgInner.js +1 -1
  547. package/mobile/lib/ui-kit/Img/ImgInner.js.map +1 -1
  548. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  549. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  550. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  551. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  552. package/mobile/lib/ui-kit/LinkButton/LinkButton.js +2 -2
  553. package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
  554. package/mobile/lib/ui-kit/Logo/renderImage.js +2 -2
  555. package/mobile/lib/ui-kit/Logo/renderImage.js.map +1 -1
  556. package/mobile/lib/ui-kit/YandexMap/renderSearchField.d.ts +1 -1
  557. package/mobile/lib/ui-kit/YandexMap/renderSearchField.js +1 -1
  558. package/mobile/lib/ui-kit/YandexMap/renderSearchField.js.map +1 -1
  559. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +0 -1
  560. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +2 -2
  561. package/mobile/src/components/Calculator/Calculator.tsx +0 -1
  562. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +7 -1
  563. package/mobile/src/components/Calculator/UnknownRate.tsx +2 -2
  564. package/mobile/src/components/Calculator/constants.ts +2 -2
  565. package/mobile/src/components/Calculator/rangeHelpers.ts +18 -2
  566. package/mobile/src/components/Calculator/useBusinessDepositCalculatorParams.ts +3 -3
  567. package/mobile/src/components/Calculator/useCreditCalculatorParams.ts +83 -46
  568. package/mobile/src/components/Calculator/useDepositCalculatorParams.ts +5 -5
  569. package/mobile/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -2
  570. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -1
  571. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -2
  572. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -2
  573. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +10 -2
  574. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +24 -16
  575. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.ui.json +18 -1
  576. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +10 -2
  577. package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
  578. package/mobile/src/components/Footer/Footer.tsx +1 -4
  579. package/mobile/src/components/Footer/MediaButton.tsx +2 -6
  580. package/mobile/src/components/Header/DropdownMenu.tsx +6 -3
  581. package/mobile/src/components/Header/HeaderBurger.tsx +2 -5
  582. package/mobile/src/components/Header/HeaderChatBotButton.tsx +2 -0
  583. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +0 -5
  584. package/mobile/src/components/Header/HeaderSecondaryMenuButton.tsx +22 -5
  585. package/mobile/src/components/Header/HeaderSubMenu.tsx +62 -43
  586. package/mobile/src/components/Header/HeaderSubMenuItem.tsx +2 -2
  587. package/mobile/src/components/Header/HeaderTop.tsx +0 -1
  588. package/mobile/src/components/Header/InternetBankButton.tsx +28 -0
  589. package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +7 -1
  590. package/mobile/src/components/LinkDocs/LinkDocs.example.json +0 -2
  591. package/mobile/src/components/LinkDocs/LinkDocs.tsx +26 -12
  592. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +0 -5
  593. package/mobile/src/components/LinkDocs/LinkDocsListItem.tsx +48 -11
  594. package/mobile/src/components/OfficeMap/OfficeMap.tsx +1 -1
  595. package/mobile/src/components/OfficeMap/renderFunctions.tsx +1 -1
  596. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -8
  597. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +0 -1
  598. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +6 -7
  599. package/mobile/src/components/RollupItem/RollupItem.tsx +2 -15
  600. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
  601. package/mobile/src/components/StepsBlock/StepsBlock.tsx +3 -3
  602. package/mobile/src/components/StepsBlock/checkCanRenderIcon.ts +2 -1
  603. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -8
  604. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +1 -0
  605. package/mobile/src/content-page-repository/transformImg.ts +14 -4
  606. package/mobile/src/services/sitemap/SitemapData.ts +1 -0
  607. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +4 -3
  608. package/mobile/src/ui-kit/Button/ArrowButton.tsx +0 -1
  609. package/mobile/src/ui-kit/Button/ButtonInner.tsx +4 -3
  610. package/mobile/src/ui-kit/Button/ButtonProps.ts +0 -2
  611. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +2 -2
  612. package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +0 -1
  613. package/mobile/src/ui-kit/Icon/Icon.tsx +2 -2
  614. package/mobile/src/ui-kit/Icon/IconProps.ts +0 -2
  615. package/mobile/src/ui-kit/Img/ImgInner.tsx +1 -1
  616. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +0 -1
  617. package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +0 -1
  618. package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +1 -2
  619. package/mobile/src/ui-kit/Logo/renderImage.tsx +0 -2
  620. package/mobile/src/ui-kit/YandexMap/renderSearchField.tsx +1 -2
  621. package/package.json +1 -1
  622. package/src/components/BenefitsBlock/BenefitsBlock.tsx +0 -1
  623. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.tsx +8 -8
  624. package/src/components/BusinessBlock/BusinessCard.tsx +2 -2
  625. package/src/components/Calculator/Calculator.tsx +0 -1
  626. package/src/components/Calculator/CreditCalculatorForm.tsx +7 -1
  627. package/src/components/Calculator/UnknownRate.tsx +2 -2
  628. package/src/components/Calculator/constants.ts +2 -2
  629. package/src/components/Calculator/rangeHelpers.ts +18 -2
  630. package/src/components/Calculator/useBusinessDepositCalculatorParams.ts +3 -3
  631. package/src/components/Calculator/useCreditCalculatorParams.ts +83 -46
  632. package/src/components/Calculator/useDepositCalculatorParams.ts +5 -5
  633. package/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -2
  634. package/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -1
  635. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -2
  636. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -2
  637. package/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +10 -2
  638. package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +9 -1
  639. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +24 -16
  640. package/src/components/CarouselTariffsCard/CarouselTariffsCard.ui.json +18 -1
  641. package/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +10 -2
  642. package/src/components/ComparisonTable/HeaderCell.tsx +1 -3
  643. package/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
  644. package/src/components/Footer/Footer.mobile.tsx +1 -4
  645. package/src/components/Footer/MediaButton.tsx +2 -6
  646. package/src/components/Header/DropdownMenu.tsx +6 -3
  647. package/src/components/Header/Header.tsx +6 -2
  648. package/src/components/Header/HeaderBurger.tsx +2 -5
  649. package/src/components/Header/HeaderChatBotButton.tsx +2 -0
  650. package/src/components/Header/HeaderSecondaryMenu.tsx +0 -5
  651. package/src/components/Header/HeaderSecondaryMenuButton.tsx +22 -5
  652. package/src/components/Header/HeaderSubMenu.tsx +62 -43
  653. package/src/components/Header/HeaderSubMenuItem.tsx +2 -2
  654. package/src/components/Header/HeaderTop.tsx +0 -1
  655. package/src/components/Header/InternetBankButton.tsx +28 -0
  656. package/src/components/HorizontalLayout/HorizontalLayout.tsx +7 -1
  657. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +4 -3
  658. package/src/components/LinkDocs/LinkDocs.example.json +0 -2
  659. package/src/components/LinkDocs/LinkDocs.fixture.mobile.tsx +1 -11
  660. package/src/components/LinkDocs/LinkDocs.mobile.tsx +26 -12
  661. package/src/components/LinkDocs/LinkDocs.tsx +24 -9
  662. package/src/components/LinkDocs/LinkDocsContent.ts +0 -5
  663. package/src/components/LinkDocs/LinkDocsListItem.tsx +48 -13
  664. package/src/components/OfficeMap/OfficeMap.tsx +1 -1
  665. package/src/components/OfficeMap/renderFunctions.tsx +1 -1
  666. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -8
  667. package/src/components/ProductBlock/renderBackwardButton.tsx +0 -1
  668. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +6 -7
  669. package/src/components/RollupItem/RollupItem.mobile.tsx +2 -15
  670. package/src/components/RollupItem/RollupItem.tsx +2 -3
  671. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
  672. package/src/components/StepsBlock/StepsBlock.mobile.tsx +3 -3
  673. package/src/components/StepsBlock/StepsBlock.tsx +13 -8
  674. package/src/components/StepsBlock/checkCanRenderIcon.ts +2 -1
  675. package/src/components/TariffsTable/TariffsTableRow.tsx +1 -8
  676. package/src/components/VerticalLayout/VerticalLayout.tsx +1 -0
  677. package/src/content-page-repository/transformImg.ts +14 -4
  678. package/src/services/sitemap/SitemapData.ts +1 -0
  679. package/src/ui-kit/BenefitItem/BenefitItem.tsx +4 -3
  680. package/src/ui-kit/Button/ArrowButton.tsx +0 -1
  681. package/src/ui-kit/Button/Button.fixture.tsx +5 -5
  682. package/src/ui-kit/Button/ButtonInner.tsx +4 -3
  683. package/src/ui-kit/Button/ButtonProps.ts +0 -2
  684. package/src/ui-kit/Button/renderButtonsSection.tsx +2 -2
  685. package/src/ui-kit/Foldable/DefaultFoldButton.tsx +0 -1
  686. package/src/ui-kit/Icon/Icon.fixture.tsx +3 -3
  687. package/src/ui-kit/Icon/Icon.tsx +2 -2
  688. package/src/ui-kit/Icon/IconProps.ts +0 -2
  689. package/src/ui-kit/Img/ImgInner.tsx +1 -1
  690. package/src/ui-kit/InnerTable/InnerTableButton.tsx +0 -1
  691. package/src/ui-kit/InnerTable/InnerTableHeader.tsx +0 -1
  692. package/src/ui-kit/LinkButton/LinkButton.tsx +1 -2
  693. package/src/ui-kit/Logo/renderImage.tsx +0 -2
  694. package/src/ui-kit/YandexMap/renderSearchField.tsx +1 -2
  695. package/bundle/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
  696. package/bundle/components/LinkDocs/LinkDocsList.d.ts +0 -9
  697. package/bundle/components/LinkDocs/LinkDocsListItem.mobile.d.ts +0 -2
  698. package/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
  699. package/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
  700. package/bundle/utils/getIconWithVersion.d.ts +0 -3
  701. package/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
  702. package/dist/components/LinkDocs/LinkDocsHorizontalList.js +0 -10
  703. package/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +0 -1
  704. package/dist/components/LinkDocs/LinkDocsList.d.ts +0 -9
  705. package/dist/components/LinkDocs/LinkDocsList.js +0 -9
  706. package/dist/components/LinkDocs/LinkDocsList.js.map +0 -1
  707. package/dist/components/LinkDocs/LinkDocsListItem.mobile.d.ts +0 -2
  708. package/dist/components/LinkDocs/LinkDocsListItem.mobile.js +0 -7
  709. package/dist/components/LinkDocs/LinkDocsListItem.mobile.js.map +0 -1
  710. package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
  711. package/dist/components/LinkDocs/LinkDocsListItemBase.js +0 -24
  712. package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +0 -1
  713. package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
  714. package/dist/components/LinkDocs/LinkDocsVerticalList.js +0 -11
  715. package/dist/components/LinkDocs/LinkDocsVerticalList.js.map +0 -1
  716. package/dist/utils/getIconWithVersion.d.ts +0 -3
  717. package/dist/utils/getIconWithVersion.js +0 -8
  718. package/dist/utils/getIconWithVersion.js.map +0 -1
  719. package/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
  720. package/lib/components/LinkDocs/LinkDocsHorizontalList.js +0 -8
  721. package/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +0 -1
  722. package/lib/components/LinkDocs/LinkDocsList.d.ts +0 -9
  723. package/lib/components/LinkDocs/LinkDocsList.js +0 -7
  724. package/lib/components/LinkDocs/LinkDocsList.js.map +0 -1
  725. package/lib/components/LinkDocs/LinkDocsListItem.mobile.d.ts +0 -2
  726. package/lib/components/LinkDocs/LinkDocsListItem.mobile.js +0 -5
  727. package/lib/components/LinkDocs/LinkDocsListItem.mobile.js.map +0 -1
  728. package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
  729. package/lib/components/LinkDocs/LinkDocsListItemBase.js +0 -22
  730. package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +0 -1
  731. package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
  732. package/lib/components/LinkDocs/LinkDocsVerticalList.js +0 -9
  733. package/lib/components/LinkDocs/LinkDocsVerticalList.js.map +0 -1
  734. package/lib/utils/getIconWithVersion.d.ts +0 -3
  735. package/lib/utils/getIconWithVersion.js +0 -5
  736. package/lib/utils/getIconWithVersion.js.map +0 -1
  737. package/mobile/bundle/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
  738. package/mobile/bundle/components/LinkDocs/LinkDocsList.d.ts +0 -9
  739. package/mobile/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
  740. package/mobile/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
  741. package/mobile/bundle/utils/getIconWithVersion.d.ts +0 -3
  742. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
  743. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js +0 -10
  744. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +0 -1
  745. package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +0 -9
  746. package/mobile/dist/components/LinkDocs/LinkDocsList.js +0 -9
  747. package/mobile/dist/components/LinkDocs/LinkDocsList.js.map +0 -1
  748. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
  749. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js +0 -24
  750. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +0 -1
  751. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
  752. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js +0 -11
  753. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js.map +0 -1
  754. package/mobile/dist/utils/getIconWithVersion.d.ts +0 -3
  755. package/mobile/dist/utils/getIconWithVersion.js +0 -8
  756. package/mobile/dist/utils/getIconWithVersion.js.map +0 -1
  757. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
  758. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js +0 -8
  759. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +0 -1
  760. package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +0 -9
  761. package/mobile/lib/components/LinkDocs/LinkDocsList.js +0 -7
  762. package/mobile/lib/components/LinkDocs/LinkDocsList.js.map +0 -1
  763. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
  764. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js +0 -22
  765. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +0 -1
  766. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
  767. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js +0 -9
  768. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js.map +0 -1
  769. package/mobile/lib/utils/getIconWithVersion.d.ts +0 -3
  770. package/mobile/lib/utils/getIconWithVersion.js +0 -5
  771. package/mobile/lib/utils/getIconWithVersion.js.map +0 -1
  772. package/mobile/src/components/LinkDocs/LinkDocsHorizontalList.tsx +0 -21
  773. package/mobile/src/components/LinkDocs/LinkDocsList.tsx +0 -33
  774. package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +0 -63
  775. package/mobile/src/components/LinkDocs/LinkDocsVerticalList.tsx +0 -33
  776. package/mobile/src/utils/getIconWithVersion.ts +0 -7
  777. package/src/components/LinkDocs/LinkDocsHorizontalList.tsx +0 -21
  778. package/src/components/LinkDocs/LinkDocsList.tsx +0 -33
  779. package/src/components/LinkDocs/LinkDocsListItem.mobile.tsx +0 -12
  780. package/src/components/LinkDocs/LinkDocsListItemBase.tsx +0 -63
  781. package/src/components/LinkDocs/LinkDocsVerticalList.tsx +0 -33
  782. package/src/utils/getIconWithVersion.ts +0 -7
@@ -559,16 +559,16 @@
559
559
 
560
560
  const ButtonInner = JSX((props) => {
561
561
  const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
562
- return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? jsx("div", { className: iconStyleMap[version], children: appendLeft }) : null, isWithText(props) ? (jsxs("div", { children: [aboveText ? jsx("div", { className: "text-xs-light text-left", children: aboveText }) : null, jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-0.5' : 'text-l'}`, children: text })] })) : null, appendRight ? jsx("div", { className: iconStyleMap[version], children: appendRight }) : null] }));
562
+ 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-light text-left", children: aboveText }) : null, jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-0.5' : 'text-l'}`, children: text })] })) : null, appendRight ? jsx("div", { className: iconStyleMap[version], children: appendRight }) : null] }));
563
563
  });
564
564
  const getButtonStyle = (props) => {
565
565
  const { version, aboveText, rounded } = props;
566
566
  if (version === 'link') {
567
567
  return '';
568
568
  }
569
- const withTextStyle = `gap-2 ${aboveText ? 'py-2.5 px-7' : 'py-4 px-4'}`;
569
+ const withTextStyle = `${aboveText ? 'py-2.5 px-7' : 'py-4 px-4'}`;
570
570
  return [
571
- 'group/btn flex items-center justify-center',
571
+ 'group/btn items-center justify-center',
572
572
  isWithText(props) ? withTextStyle : 'h-12 w-12',
573
573
  rounded ? 'rounded-full' : '',
574
574
  ].join(' ');
@@ -693,10 +693,10 @@
693
693
  black: 'text-black',
694
694
  white: 'text-black',
695
695
  };
696
- const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${name}`, title = alt, iconVersion = 'color', asSVG, ...imgProps }) => {
696
+ const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${name}`, title = alt, iconVersion = 'color', ...imgProps }) => {
697
697
  const router = useRouter();
698
698
  const href = adjustHref(router)(joinPath(projectSettings.CDN, '/icons', `${name}.svg`));
699
- if (asSVG && iconVersion !== 'normal') {
699
+ if (iconVersion !== 'normal') {
700
700
  return (jsx(Background, { className: className, children: jsxs("svg", { className: style(getSvgSize(imgProps.width), svgUseStyleMap[iconVersion], iconVersion === 'white' ? 'invert' : '', imageClassName), ...imgProps, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }) }));
701
701
  }
702
702
  if (!className.includes('h-')) {
@@ -1085,7 +1085,7 @@
1085
1085
  if (!image?.src && !image?.icon) {
1086
1086
  return null;
1087
1087
  }
1088
- return image.icon ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: image?.iconVersion || 'normal', name: image.icon, ...iconProps })) : (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image, isMobile: isMobile, pathPrefix: pathPrefix }));
1088
+ return image.icon ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: image?.iconVersion, name: image.icon, ...iconProps })) : (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image, isMobile: isMobile, pathPrefix: pathPrefix }));
1089
1089
  });
1090
1090
 
1091
1091
  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(ImgInner, { 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(ImgInner, { image: { icon: 'MailIcon' }, width: "24", height: "24", className: "mr-3" }), jsx("span", { children: "ved@rshb.ru" })] })] }));
@@ -1193,7 +1193,7 @@
1193
1193
  const BenefitsBlock = JSX(({ className = '', title, benefitList, ...rest }) => (jsxs(BlockWrapper, { className: `p-12 flex flex-col items-center ${className}`, ...rest, children: [title ? (jsx(Heading, { headingType: "h3", as: "h2", className: "max-w-[47rem] text-center", title: title })) : null, benefitList?.length ? (jsx("div", { className: "flex flex-wrap w-full justify-center gap-x-20 mt-8", children: benefitList.map(renderStep$1) })) : null] })));
1194
1194
  const renderStep$1 = (benefit, i) => {
1195
1195
  const description = benefit.description;
1196
- return (jsxs("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? (jsx(ImgInner, { className: "w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider text-primary-main group-data-secondary:bg-white/30 group-data-secondary:text-black", image: benefit.icon, asSVG: true })) : null, benefit?.icon?.src ? jsx(ImgInner, { image: benefit.icon }) : null, jsxs("div", { className: "ml-5 h-full", children: [benefit?.label ? jsx(Heading, { headingType: "h6", children: benefit.label }) : null, renderDescription$4(description)] })] }, String(i)));
1196
+ return (jsxs("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? (jsx(ImgInner, { className: "w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider text-primary-main group-data-secondary:bg-white/30 group-data-secondary:text-black", image: benefit.icon })) : null, benefit?.icon?.src ? jsx(ImgInner, { image: benefit.icon }) : null, jsxs("div", { className: "ml-5 h-full", children: [benefit?.label ? jsx(Heading, { headingType: "h6", children: benefit.label }) : null, renderDescription$4(description)] })] }, String(i)));
1197
1197
  };
1198
1198
  const renderDescription$4 = (description) => {
1199
1199
  const benefitType = description?.benefitType || null;
@@ -1210,11 +1210,12 @@
1210
1210
  const renderButtonsSection = (buttons, { className = '', buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (jsx("div", { className: style('flex', isVertical ? 'flex-col gap-2' : 'gap-4', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
1211
1211
  const renderButton = (buttonClassName = '') => (button, index) => {
1212
1212
  const { text, icon, iconRight, version, ...rest } = button || {};
1213
- const iconVersion = version === 'secondary' ? 'color' : 'white';
1213
+ const iconVersionDefault = version === 'secondary' ? 'color' : 'white';
1214
+ const iconVersion = icon?.iconVersion ? icon?.iconVersion : iconVersionDefault;
1214
1215
  return text || icon?.icon ? (jsx(Button, { className: buttonClassName, appendLeft: renderButtonIcon({ ...icon, iconVersion }), appendRight: renderButtonIcon({ ...iconRight, iconVersion }), version: version, text: text, ...rest }, index ? String(index) : '')) : null;
1215
1216
  };
1216
1217
  const DEFAULT_ICON_W = 24;
1217
- const renderButtonIcon = (icon) => icon?.icon || icon?.src ? (jsx(ImgInner, { image: icon, width: String(icon?.size?.width || DEFAULT_ICON_W), height: String(DEFAULT_ICON_W), asSVG: true })) : null;
1218
+ const renderButtonIcon = (icon) => icon?.icon || icon?.src ? (jsx(ImgInner, { image: icon, width: String(icon?.size?.width || DEFAULT_ICON_W), height: String(DEFAULT_ICON_W) })) : null;
1218
1219
 
1219
1220
  const headlineVersionStyles = {
1220
1221
  XXL: {
@@ -1305,11 +1306,11 @@
1305
1306
 
1306
1307
  const BusinessCard = JSX((props) => {
1307
1308
  const { title, image, cardItems, button } = props;
1308
- return (jsxs("div", { className: "border-gray border p-9 w-1/2", children: [image ? (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? jsx(ImgInner, { image: image, asSVG: true }) : null] })) : null, title ? jsx(Heading, { headingType: "h4", title: title, className: "mb-6" }) : null, cardItems?.length ? jsx("ul", { children: cardItems.map((_, i) => renderItem(_, String(i))) }) : null, renderButtonsSection([button], { buttonClassName: 'mt-6' })] }));
1309
+ return (jsxs("div", { className: "border-gray border p-9 w-1/2", children: [image ? (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? jsx(ImgInner, { image: image }) : null] })) : null, title ? jsx(Heading, { headingType: "h4", title: title, className: "mb-6" }) : null, cardItems?.length ? jsx("ul", { children: cardItems.map((_, i) => renderItem(_, String(i))) }) : null, renderButtonsSection([button], { buttonClassName: 'mt-6' })] }));
1309
1310
  });
1310
1311
  const renderItem = (item, key) => {
1311
1312
  const { icon, text } = item;
1312
- return (jsxs("li", { className: "flex items-center gap-3.5 mb-3 last:mb-0", children: [icon?.icon ? (jsx(ImgInner, { image: icon, className: "w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider", asSVG: true })) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null, jsx("span", { className: "text-xl-light", children: text })] }, key));
1313
+ return (jsxs("li", { className: "flex items-center gap-3.5 mb-3 last:mb-0", children: [icon?.icon ? (jsx(ImgInner, { image: icon, className: "w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider" })) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null, jsx("span", { className: "text-xl-light", children: text })] }, key));
1313
1314
  };
1314
1315
 
1315
1316
  const BusinessBlock = JSX(({ className = '', title, cards, ...rest }) => (jsxs(BlockWrapper, { className: `p-12 pb-9 ${className}`, ...rest, children: [jsx(Heading, { headingType: "h3", title: title, className: "text-center mb-8" }), jsx("div", { className: "flex gap-5", children: cards?.length ? cards.map((_, i) => jsx(BusinessCard, { ..._ }, String(i))) : null })] })));
@@ -1341,7 +1342,7 @@
1341
1342
 
1342
1343
  const ArrowButton = JSX(({ className, disabled, ...rest }) => (jsx(Button, { rounded: true, className: `group/btn shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${disabled
1343
1344
  ? 'bg-secondary-light text-secondary-text'
1344
- : 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: jsx(ImgInner, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, imageClassName: "group-hover/btn:text-primary-main", width: "16", height: "16", asSVG: true }) })));
1345
+ : 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: jsx(ImgInner, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, imageClassName: "group-hover/btn:text-primary-main", width: "16", height: "16" }) })));
1345
1346
  const ScrollLeftButton = JSX((props) => (jsx(ArrowButton, { ...props, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E", "data-block-control": "scroll-left" })));
1346
1347
  const ScrollRightButton = JSX((props) => (jsx(ArrowButton, { ...props, className: `${props.className || ''} rotate-180`, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E", "data-block-control": "scroll-right" })));
1347
1348
 
@@ -1521,7 +1522,7 @@
1521
1522
  return (jsxs("div", { children: [title ? (jsx("div", { className: "mb-3", children: jsx(Text, { color: "text-secondary-text", font: "font-light", children: title }) })) : null, jsx("div", { children: jsx(RadioButtonGroup, { orientation: orientation, items: depositTypeItems, checkedItem: isMonthlyInterestPayment ? EVERY_MONTH : AT_END_TERM, onChange: (text) => callback && callback(text === EVERY_MONTH) }) })] }));
1522
1523
  }
1523
1524
 
1524
- const UnknownRate = JSX(({ title = 'Ставка' }) => (jsxs("div", { children: [jsx(Text, { size: "text-l-light", color: "text-secondary-text", children: title }), jsx("div", { className: "mt-1 pt-1 pl-5 pb-1.5", children: jsx(ImgInner, { image: { icon: 'PercentIcon' }, width: "90", height: "85", asSVG: true }) }), jsx("div", { className: "w-[250px] mt-3.5", children: jsxs(Paragraph, { size: "text-xl-light", color: "text-primary-text", children: ["\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u043D\u0430\u044F \u0441\u0442\u0430\u0432\u043A\u0430 \u0434\u043B\u044F \u0441\u0440\u043E\u043A\u0430 ", jsx("strong", { children: "1-30 \u0434\u043D\u0435\u0439" }), " \u0443\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u043F\u0440\u0438 \u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u0438 \u0432 \u0411\u0430\u043D\u043A"] }) })] })));
1525
+ const UnknownRate = JSX(({ title = 'Ставка' }) => (jsxs("div", { children: [jsx(Text, { size: "text-l-light", color: "text-secondary-text", children: title }), jsx("div", { className: "mt-1 pt-1 pl-5 pb-1.5", children: jsx(Icon, { name: "PercentIcon", width: "90", height: "85" }) }), jsx("div", { className: "w-[250px] mt-3.5", children: jsxs(Paragraph, { size: "text-xl-light", color: "text-primary-text", children: ["\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u043D\u0430\u044F \u0441\u0442\u0430\u0432\u043A\u0430 \u0434\u043B\u044F \u0441\u0440\u043E\u043A\u0430 ", jsx("strong", { children: "1-30 \u0434\u043D\u0435\u0439" }), " \u0443\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u043F\u0440\u0438 \u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u0438 \u0432 \u0411\u0430\u043D\u043A"] }) })] })));
1525
1526
 
1526
1527
  const defaultDiscriminator = (_) => _;
1527
1528
  const maxBy = (discriminator = defaultDiscriminator) => (list) => list.reduceRight((a, b) => (discriminator(a) > discriminator(b) ? a : b));
@@ -1546,9 +1547,15 @@
1546
1547
 
1547
1548
  const minBy = (discriminator = defaultDiscriminator) => maxBy((_) => -discriminator(_));
1548
1549
 
1550
+ const getLimitRangeByKeys = ([minKey, maxKey], limitParams, rateRows = []) => limitParams && limitParams[minKey] && limitParams[maxKey]
1551
+ ? {
1552
+ [minKey]: limitParams[minKey],
1553
+ [maxKey]: limitParams[maxKey],
1554
+ }
1555
+ : getRangeByKeys([minKey, maxKey], rateRows);
1549
1556
  const getRangeByKeys = ([minKey, maxKey], rows = []) => ({
1550
- [minKey]: rows.length ? minBy()(rows.map((row) => row[minKey])) : 0,
1551
- [maxKey]: rows.length ? maxBy()(rows.map((row) => row[maxKey])) : 0,
1557
+ [minKey]: rows.length ? minBy()(rows.filter((row) => row[minKey]).map((row) => row[minKey])) : 0,
1558
+ [maxKey]: rows.length ? maxBy()(rows.filter((row) => row[maxKey]).map((row) => row[maxKey])) : 0,
1552
1559
  });
1553
1560
  const checkRangeByKeys = (value, [minKey, maxKey], sourceBookRow) => value >= sourceBookRow[minKey] && value <= sourceBookRow[maxKey];
1554
1561
 
@@ -1565,7 +1572,7 @@
1565
1572
  isShowUnknownRate: true,
1566
1573
  };
1567
1574
  }
1568
- const businessDepositCalculatorSourceBookParams = data?.rows?.find((_) => {
1575
+ const businessDepositCalculatorSourceBookParams = data?.rateRows?.find((_) => {
1569
1576
  return (isMonthlyInterestPayment === _.isMonthlyInterestPayment &&
1570
1577
  isSmallBusiness === _.isSmallBusiness &&
1571
1578
  checkIsOperatingDeposit(isOperatingDeposit, _) &&
@@ -1575,7 +1582,7 @@
1575
1582
  const { rate } = businessDepositCalculatorSourceBookParams;
1576
1583
  const income = getDepositIncome$1(rate, userInputParams);
1577
1584
  const finalSum = moneyValue + income;
1578
- const sourceBookRows = data?.rows || [DEFAULT_BUSINESS_DEPOSIT_CALCULATOR_PARAMS];
1585
+ const sourceBookRows = data?.rateRows || [DEFAULT_BUSINESS_DEPOSIT_CALCULATOR_PARAMS];
1579
1586
  return {
1580
1587
  ...businessDepositCalculatorSourceBookParams,
1581
1588
  ...getRangeByKeys(['minSum', 'maxSum'], sourceBookRows),
@@ -1720,48 +1727,53 @@
1720
1727
  const useCreditCalculatorParams = (userInputParams, sourceBookDir, paramsViewSettings) => {
1721
1728
  const { moneyValue, monthsValue } = userInputParams;
1722
1729
  const data = useCalculatorParams(sourceBookDir || CREDIT_CALC_DEFAULT_DIR);
1723
- const isExcludeSalaryClient = !paramsViewSettings?.isShowSalaryClient;
1724
- const isExcludeStateEmployee = !paramsViewSettings?.isShowStateEmployee;
1725
- const isExcludePensionClient = !paramsViewSettings?.isShowPensionClient;
1726
- const isExcludeInsurance = !paramsViewSettings?.isShowInsurance;
1727
- const creditCalculatorSourceBookParams = data?.rows?.find((row) => checkRowByParam$1({
1730
+ const creditCalculatorSourceBookLimitParams = data?.limitRows?.find((row) => checkRowCommonParams({
1731
+ row,
1732
+ userInputParams,
1733
+ paramsViewSettings,
1734
+ }));
1735
+ const creditCalculatorSourceBookRateParams = data?.rateRows?.find((row) => checkRowCommonParams({
1728
1736
  row,
1729
1737
  userInputParams,
1730
- paramKey: 'isSalaryClient',
1731
- isExclude: isExcludeSalaryClient,
1738
+ paramsViewSettings,
1732
1739
  }) &&
1733
- checkRowByParam$1({
1734
- row,
1735
- userInputParams,
1736
- paramKey: 'isStateEmployee',
1737
- isExclude: isExcludeStateEmployee,
1738
- }) &&
1739
- checkRowByParam$1({
1740
- row,
1741
- userInputParams,
1742
- paramKey: 'isPensionClient',
1743
- isExclude: isExcludePensionClient,
1744
- }) &&
1745
- checkRowByParam$1({
1746
- row,
1747
- userInputParams,
1748
- paramKey: 'isInsurance',
1749
- isExclude: isExcludeInsurance,
1750
- }) &&
1751
1740
  checkRangeByKeys(moneyValue, ['minSum', 'maxSum'], row) &&
1752
1741
  checkRangeByKeys(monthsValue, ['minMonths', 'maxMonths'], row)) || DEFAULT_CREDIT_CALCULATOR_PARAMS;
1753
- const { rate } = creditCalculatorSourceBookParams;
1742
+ const { rate } = creditCalculatorSourceBookRateParams;
1754
1743
  const monthlyPayment = getMonthlyPayment(rate, userInputParams);
1755
- const sourceBookRows = data?.rows || [DEFAULT_CREDIT_CALCULATOR_PARAMS];
1756
- return {
1757
- ...creditCalculatorSourceBookParams,
1758
- ...getRangeByKeys(['minSum', 'maxSum'], sourceBookRows),
1759
- ...getRangeByKeys(['minMonths', 'maxMonths'], sourceBookRows),
1744
+ const rateRows = data?.rateRows || [DEFAULT_CREDIT_CALCULATOR_PARAMS];
1745
+ return useMemo(() => ({
1746
+ ...creditCalculatorSourceBookRateParams,
1747
+ ...getLimitRangeByKeys(['minSum', 'maxSum'], creditCalculatorSourceBookLimitParams, rateRows),
1748
+ ...getLimitRangeByKeys(['minMonths', 'maxMonths'], creditCalculatorSourceBookLimitParams, rateRows),
1760
1749
  ...userInputParams,
1761
1750
  monthlyPayment,
1762
- };
1751
+ }), [userInputParams]);
1752
+ };
1753
+ const checkRowCommonParams = (props) => checkRowParam({
1754
+ ...props,
1755
+ fieldKey: 'isSalaryClient',
1756
+ viewSettingFieldKey: 'isShowSalaryClient',
1757
+ }) &&
1758
+ checkRowParam({
1759
+ ...props,
1760
+ fieldKey: 'isStateEmployee',
1761
+ viewSettingFieldKey: 'isShowStateEmployee',
1762
+ }) &&
1763
+ checkRowParam({
1764
+ ...props,
1765
+ fieldKey: 'isPensionClient',
1766
+ viewSettingFieldKey: 'isShowPensionClient',
1767
+ }) &&
1768
+ checkRowParam({
1769
+ ...props,
1770
+ fieldKey: 'isInsurance',
1771
+ viewSettingFieldKey: 'isShowInsurance',
1772
+ });
1773
+ const checkRowParam = ({ row, userInputParams, paramsViewSettings, fieldKey, viewSettingFieldKey, }) => {
1774
+ const isExclude = paramsViewSettings ? !paramsViewSettings[viewSettingFieldKey] : false;
1775
+ return isExclude || userInputParams[fieldKey] === row[fieldKey];
1763
1776
  };
1764
- const checkRowByParam$1 = ({ row, userInputParams, paramKey, isExclude }) => isExclude || userInputParams[paramKey] === row[paramKey];
1765
1777
 
1766
1778
  const CreditCalculatorForm = JSX(({ className = '', sourceBookDir, buttons, footnote, paramsViewSettings }) => {
1767
1779
  const [isAnnuity, toggleIsAnnuity] = useState(false);
@@ -1787,6 +1799,10 @@
1787
1799
  monthsValue,
1788
1800
  };
1789
1801
  const calculatorParams = useCreditCalculatorParams(userInputParams, sourceBookDir, paramsViewSettings);
1802
+ useEffect(() => {
1803
+ setMoneyValue(clamp(moneyValue, calculatorParams.minSum, calculatorParams.maxSum));
1804
+ setMonthsValue(clamp(monthsValue, calculatorParams.minMonths, calculatorParams.maxMonths));
1805
+ }, [calculatorParams]);
1790
1806
  return (jsxs("section", { className: style('flex justify-between', className), children: [jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, handleMoneyValue), renderMonthsInput('Срок кредита, месяцев', calculatorParams, handleMonthsValue), jsx("div", { className: "mt-7", children: renderCreditParamsForm({
1791
1807
  ...calculatorParams,
1792
1808
  ...paramsViewSettings,
@@ -1824,12 +1840,12 @@
1824
1840
  const useDepositCalculatorParams = (userInputParams, sourceBookDir, paramsViewSettings) => {
1825
1841
  const { moneyValue, monthsValue } = userInputParams;
1826
1842
  const data = useCalculatorParams(sourceBookDir || DEPOSIT_CALC_DEFAULT_DIR);
1827
- const defaultMonth = data?.rows[0]
1828
- ? getMiddleMonth(data.rows[0].minMonths, data.rows[0].maxMonths)
1843
+ const defaultMonth = data?.rateRows[0]
1844
+ ? getMiddleMonth(data.rateRows[0].minMonths, data.rateRows[0].maxMonths)
1829
1845
  : 1;
1830
1846
  const isExcludeMonthlyInterestPayment = !paramsViewSettings?.isShowMonthlyInterestPayment;
1831
1847
  const isExcludeRemoteRegistration = !paramsViewSettings?.isShowRemoteRegistration;
1832
- const depositCalculatorSourceBookParams = data?.rows?.find((row) => checkRowByParam({
1848
+ const depositCalculatorSourceBookParams = data?.rateRows?.find((row) => checkRowByParam({
1833
1849
  row,
1834
1850
  userInputParams,
1835
1851
  paramKey: 'isMonthlyInterestPayment',
@@ -1846,7 +1862,7 @@
1846
1862
  const { rate } = depositCalculatorSourceBookParams;
1847
1863
  const income = getDepositIncome(rate, userInputParams);
1848
1864
  const finalSum = moneyValue + income;
1849
- const sourceBookRows = data?.rows || [DEFAULT_DEPOSIT_CALCULATOR_PARAMS];
1865
+ const sourceBookRows = data?.rateRows || [DEFAULT_DEPOSIT_CALCULATOR_PARAMS];
1850
1866
  return {
1851
1867
  ...depositCalculatorSourceBookParams,
1852
1868
  ...getRangeByKeys(['minSum', 'maxSum'], sourceBookRows),
@@ -1967,7 +1983,7 @@
1967
1983
  ${btnClassName}`, children: [jsx(ImgInner, { className: `h-6 w-6 min-w-6 min-h-6 mr-4 ${iconClassName}`, image: {
1968
1984
  ...tab?.icon,
1969
1985
  iconVersion: iconVersion ?? activeIconStyle,
1970
- }, width: "24", height: "24", asSVG: true }), jsxs("div", { className: "border-0", children: [jsx("div", { className: `${btnTitleClassName}`, children: tab?.title }), jsx("div", { className: `${btnDescClassName}`, children: tab.description })] })] }, String(i)));
1986
+ }, 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)));
1971
1987
  }
1972
1988
  function renderTabs({ activeIndex, tabsNav, slideIndexShift, onClick }) {
1973
1989
  const CARD_SHIFT = 388;
@@ -2353,13 +2369,8 @@
2353
2369
  return (jsx(Tag, { className: style('block', className), ...(href ? linkProps : {}), children: children }));
2354
2370
  });
2355
2371
 
2356
- const getIconWithVersion = (icon, version = 'primary') => ({
2357
- ...icon,
2358
- iconVersion: icon?.iconVersion ?? (version === 'secondary' ? 'white' : 'color'),
2359
- });
2360
-
2361
2372
  const CarouselEventCard = JSX(({ className = '', icon, title, description, href, target, ...rest }) => {
2362
- return (jsx(BlockWrapper, { className: style('w-[365px]', className), ...rest, children: jsxs(LinkWrapper, { className: "flex flex-col", href: href, target: target, children: [icon?.icon ? jsx(ImgInner, { image: getIconWithVersion(icon), asSVG: true }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left pt-3 mb-2", title: title })) : null, description ? (jsx("div", { className: "mb-4", children: jsx(Text, { font: "font-light", size: "text-m", color: "text-secondary-text", children: description }) })) : null] }) }));
2373
+ return (jsx(BlockWrapper, { className: style('w-[365px]', className), ...rest, children: jsxs(LinkWrapper, { className: "flex flex-col", href: href, target: target, children: [icon?.icon ? jsx(ImgInner, { image: icon }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left pt-3 mb-2", title: title })) : null, description ? (jsx("div", { className: "mb-4", children: jsx(Text, { font: "font-light", size: "text-m", color: "text-secondary-text", children: description }) })) : null] }) }));
2363
2374
  });
2364
2375
 
2365
2376
  const BaseTile = JSX(({ className = '', title = '', buttons, image, children }) => (jsxs("div", { className: `font-sans flex flex-col grow h-full items-start ${className}`, children: [title, jsxs("div", { className: "flex grow w-full justify-between", children: [jsxs("div", { className: "flex flex-col justify-between w-full", children: [jsx("div", { className: "h-full", children: children }), buttons ? jsx("div", { className: "mt-auto pt-8", children: buttons }) : null] }), image] })] })));
@@ -2391,7 +2402,7 @@
2391
2402
  const LinkButton = JSX(({ text, href = '', target = '', className = '' }) => {
2392
2403
  const link = useLink();
2393
2404
  const adjustedProps = link({ href, target });
2394
- return text ? (jsxs("div", { className: `relative group/link cursor-pointer w-[328px] h-[82px] ${className}`, children: [jsxs("a", { className: LINK_CLASS_NAME, role: "link", ...adjustedProps, children: [jsx("div", { className: "p-0.5", children: text }), jsx("div", { className: "w-6 h-6", children: jsx(ImgInner, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border brightness-0 group-hover/link:brightness-100", image: { icon: 'ArrowRightIcon', iconVersion: 'black' }, imageClassName: "group-hover/link:text-primary-main", width: "24", height: "24", asSVG: true }) })] }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mx-1.5 mt-1.5` }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mt-3 mr-3` })] })) : null;
2405
+ return text ? (jsxs("div", { className: `relative group/link cursor-pointer w-[328px] h-[82px] ${className}`, children: [jsxs("a", { className: LINK_CLASS_NAME, role: "link", ...adjustedProps, children: [jsx("div", { className: "p-0.5", children: text }), jsx("div", { className: "w-6 h-6", children: jsx(ImgInner, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border brightness-0 group-hover/link:brightness-100", image: { icon: 'ArrowRightIcon', iconVersion: 'black' }, imageClassName: "group-hover/link:text-primary-main", width: "24", height: "24" }) })] }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mx-1.5 mt-1.5` }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mt-3 mr-3` })] })) : null;
2395
2406
  });
2396
2407
 
2397
2408
  const MAX_LINKS_COUNT = 10;
@@ -2430,14 +2441,14 @@
2430
2441
  isVertical: isFullWidth ? true : false,
2431
2442
  })] }));
2432
2443
  });
2433
- const renderImage$3 = (image) => (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? (jsx(ImgInner, { className: `w-[32px] h-[32px] min-w-[32px] mb-5 rounded-full`, image: image, asSVG: true })) : null] }));
2444
+ const renderImage$3 = (image) => (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? (jsx(ImgInner, { className: `w-[32px] h-[32px] min-w-[32px] mb-5 rounded-full`, image: image })) : null] }));
2434
2445
  const renderCardTitle = (headlineSmallVersion, title) => title ? (jsx("div", { children: jsx(Text, { size: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) })) : null;
2435
2446
  const renderDescription$3 = (description, title) => description ? (jsx("div", { className: title ? 'mt-2' : '', children: jsx(Paragraph, { size: "text-l", children: description }) })) : null;
2436
2447
  const renderAdditionalDescription$1 = (additionalDescription) => additionalDescription ? (jsx("div", { className: "mt-auto", children: jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text group-data-secondary:text-white/80", children: additionalDescription }) })) : null;
2437
2448
  const renderItems = (items, isDotted, version = 'primary') => items?.length ? (jsx(List, { className: `max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted })) : null;
2438
2449
 
2439
2450
  const CarouselProgramsCard = JSX(({ className = '', title, icon, list = [], href, target, ...rest }) => {
2440
- return (jsx(BlockWrapper, { className: style('border border-gray', className), ...rest, children: jsxs(LinkWrapper, { className: "flex", href: href, target: target, children: [jsxs("div", { className: "w-[200px] min-w-[200px] self-center", children: [icon?.icon ? jsx(ImgInner, { image: getIconWithVersion(icon), asSVG: true }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null] }), jsxs("div", { className: "p-8 pl-3 w-full", children: [title ? jsx(Heading, { className: "mb-3.5", headingType: "h5", title: title }) : null, list.length ? (jsx("div", { className: "flex flex-col gap-3", children: list?.map(renderList$1) })) : null] })] }) }));
2451
+ return (jsx(BlockWrapper, { className: style('border border-gray', className), ...rest, children: jsxs(LinkWrapper, { className: "flex", href: href, target: target, children: [jsxs("div", { className: "w-[200px] min-w-[200px] self-center", children: [icon?.icon ? jsx(ImgInner, { image: icon }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null] }), jsxs("div", { className: "p-8 pl-3 w-full", children: [title ? jsx(Heading, { className: "mb-3.5", headingType: "h5", title: title }) : null, list.length ? (jsx("div", { className: "flex flex-col gap-3", children: list?.map(renderList$1) })) : null] })] }) }));
2441
2452
  });
2442
2453
  const renderList$1 = (_, i) => (jsxs("div", { className: "break-words", children: [_.title ? jsx("div", { className: "text-h6", children: _.title }) : null, _.description ? jsx("span", { className: "text-l-light mt-1", children: _.description }) : null] }, String(i)));
2443
2454
 
@@ -2484,8 +2495,7 @@
2484
2495
  const { href, version, text = '' } = rest;
2485
2496
  const { iconMapped, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
2486
2497
  const iconCustom = getFilteredIcon(icon) ?? iconMapped;
2487
- const iconWithVersion = iconCustom ? getIconWithVersion(iconCustom) : undefined;
2488
- return (jsx(Button, { className: style(rounded ? 'rounded-full' : 'rounded-md', 'border border-solid hover:border-transparent', 'group-data-primary:border-main-divider', 'hover:bg-primary-main hover:text-black', 'group-data-secondary:bg-white border-main-divider group-data-secondary:hover:bg-secondary-hover', 'group-data-gray:border-green', buttonStylesWithText(text, buttonSize)), "aria-label": label, rel: "noopener noreferrer", target: "_blank", text: text, version: version, ...rest, children: iconWithVersion && !text ? (jsx(ImgInner, { image: iconWithVersion, imageClassName: "group-hover/media:text-white", width: "24", height: "24", asSVG: true })) : null }));
2498
+ return (jsx(Button, { className: style(rounded ? 'rounded-full' : 'rounded-md', 'border border-solid hover:border-transparent', 'group-data-primary:border-main-divider', 'hover:bg-primary-main hover:text-black', 'group-data-secondary:bg-white border-main-divider group-data-secondary:hover:bg-secondary-hover', 'group-data-gray:border-green', buttonStylesWithText(text, buttonSize)), "aria-label": label, rel: "noopener noreferrer", target: "_blank", text: text, version: version, ...rest, children: iconCustom && !text ? (jsx(ImgInner, { image: iconCustom, imageClassName: "group-hover/media:text-white", width: "24", height: "24" })) : null }));
2489
2499
  });
2490
2500
  const getFilteredIcon = (icon) => (icon?.src || icon?.icon ? icon : undefined);
2491
2501
 
@@ -2495,7 +2505,7 @@
2495
2505
  const CarouselRecommendationCard = JSX(({ className = '', description, href, icon, items = [], socialMedia = [], target, title, align = 'text-left', version = 'primary', ...rest }) => {
2496
2506
  return (jsx(BlockWrapper, { className: style('relative p-7 min-w-[524px] min-h-[218px] h-full box-border group-data-gray:bg-main-divider/50', BORDER_STYLE, className), version: version, ...rest, children: jsxs(LinkWrapper, { href: href, target: target, children: [jsx(Headline, { className: "mb-4", title: title, description: description, headlineVersion: "S", isPadding: false, align: align }), jsxs("div", { className: "w-1/2 h-full flex flex-col flex-1 justify-end", children: [items.length ? (jsx(List, { className: "flex flex-col gap-2", itemClassName: "text-l-light", items: items })) : null, socialMedia.length ? jsx(SocialMedia, { className: "pt-10", media: socialMedia }) : null] }), renderIconBlock$2(icon)] }) }));
2497
2507
  });
2498
- const renderIconBlock$2 = (icon) => (jsxs("div", { className: "absolute bottom-0 right-0", children: [icon?.icon ? jsx(ImgInner, { image: getIconWithVersion(icon), asSVG: true }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null] }));
2508
+ const renderIconBlock$2 = (icon) => (jsxs("div", { className: "absolute bottom-0 right-0", children: [icon?.icon ? jsx(ImgInner, { image: icon }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null] }));
2499
2509
 
2500
2510
  const RichText = JSX((props) => {
2501
2511
  const { __html = '', richVersion = '' } = props;
@@ -2533,11 +2543,14 @@
2533
2543
  const hiddenCells = cellsNode.slice(VISIBLE_CELLS_COUNT);
2534
2544
  return (jsxs(BlockWrapper, { className: style('relative border border-gray p-8 flex flex-col', getHitStyle(isHighlighting), className), ...rest, children: [isHighlighting ? renderHitIcon() : null, renderIconBlock$1(icon), title ? jsx(Heading, { className: "text-center pt-2", headingType: "h5", title: title }) : null, button ? jsx(Button, { className: "w-full mt-4", ...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] }));
2535
2545
  });
2536
- const renderIconBlock$1 = (icon) => (jsxs("div", { className: "w-[267px] min-w-[267px] self-center", children: [icon?.src ? jsx(ImgInner, { image: icon }) : null, icon?.icon ? jsx(ImgInner, { image: getIconWithVersion(icon), asSVG: true }) : null] }));
2546
+ const renderIconBlock$1 = (icon) => (jsxs("div", { className: "w-[267px] min-w-[267px] self-center", children: [icon?.src ? jsx(ImgInner, { image: icon }) : null, icon?.icon ? jsx(ImgInner, { image: icon }) : null] }));
2537
2547
  const getHitStyle = (isHighlighting) => isHighlighting ? 'mt-8 pt-20' : 'mt-20 pt-8';
2538
- 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", asSVG: true })] }));
2539
- const renderCardInfo = (cell, i) => (jsxs("div", { className: "py-5 border-b border-main-divider", children: [cell?.title ? (jsx("div", { className: "text-secondary-text text-m-light opacity-80", children: cell.title })) : null, cell?.description ? (jsx("div", { className: "text-primary-text text-h6 mt-1", children: cell.description })) : null] }, String(i)));
2540
- 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", asSVG: true }), jsx(Paragraph, { size: "text-s", font: "font-normal", align: "text-center", color: "text-primary-text", children: "\u0425\u0418\u0422" })] }));
2548
+ 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" })] }));
2549
+ const renderCardInfo = (cell, i) => {
2550
+ const { title, description, buttons } = cell;
2551
+ return (jsxs("div", { className: "py-5 border-b border-main-divider", children: [title ? (jsx("div", { className: "text-secondary-text text-m-light opacity-80", children: cell.title })) : null, description ? (jsx("div", { className: "text-primary-text text-h6 mt-1", children: cell.description })) : null, buttons?.length ? (jsx("div", { className: "text-primary-main", children: renderButtonsSection(buttons) })) : null] }, String(i)));
2552
+ };
2553
+ 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" })] }));
2541
2554
 
2542
2555
  const GRADIENT = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
2543
2556
  const BORDER_CLASSES = 'border-gray border-solid border';
@@ -2546,7 +2559,7 @@
2546
2559
  const COLS_LENGTH_FOR_SCROLL$1 = 3;
2547
2560
  const COLUMN_WIDTH$2 = 4 * 80 + 4 * 4; // w-80 + gap-4 = 336px
2548
2561
 
2549
- const HeaderCell = JSX(({ icon, image, title, link }) => (jsxs("div", { className: `w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-[46px] ${BORDER_CLASSES} ${GRADIENT}`, role: "columnheader", children: [icon && !image?.src && (jsx(ImgInner, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", image: getIconWithVersion(icon), width: "63", height: "63", asSVG: true })), image?.src && jsx(ImgInner, { className: "mb-[18px]", 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: "mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active", children: jsx("div", { className: "text-xs-light font-medium py-[11px]", children: link.text }) }) }))] })));
2562
+ const HeaderCell = JSX(({ icon, image, title, link }) => (jsxs("div", { className: `w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-[46px] ${BORDER_CLASSES} ${GRADIENT}`, role: "columnheader", children: [icon && !image?.src && (jsx(ImgInner, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", image: icon, width: "63", height: "63" })), image?.src && jsx(ImgInner, { className: "mb-[18px]", 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: "mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active", children: jsx("div", { className: "text-xs-light font-medium py-[11px]", children: link.text }) }) }))] })));
2550
2563
 
2551
2564
  const carouselContainerClassesMap = {
2552
2565
  comparison: 'flex gap-4 duration-1000',
@@ -2692,7 +2705,7 @@
2692
2705
  return (jsxs("tr", { className: "pb-1 text-h6", children: [jsx("td", { className: "pt-4", children: jsxs("div", { className: "flex items-center", children: [currency ? (jsx(ImgInner, { image: { icon: CURRENCY_ICONS_MAP[currency] }, width: "24", height: "24" })) : null, jsx("span", { className: "ml-2", children: currency })] }) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.saleExchangeRate) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.buyExchangeRate) })] }, currency));
2693
2706
  };
2694
2707
 
2695
- const CurrentLocation$1 = JSX(({ className = '', address }) => (jsxs("div", { className: `flex ${className}`, children: [jsx(ImgInner, { image: { icon: 'GpsIcon' }, width: "24", height: "24", asSVG: true }), jsxs("div", { className: "ml-3", children: [address ? jsx("p", { className: "text-primary-main m-0 mb-1 text-l", children: address }) : null, jsx("p", { className: "text-secondary-text m-0 text-m", children: "\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u043D\u043D\u043E\u0433\u043E \u043E\u0444\u0438\u0441\u0430" })] })] })));
2708
+ const CurrentLocation$1 = JSX(({ className = '', address }) => (jsxs("div", { className: `flex ${className}`, children: [jsx(ImgInner, { image: { icon: 'GpsIcon' }, width: "24", height: "24" }), jsxs("div", { className: "ml-3", children: [address ? jsx("p", { className: "text-primary-main m-0 mb-1 text-l", children: address }) : null, jsx("p", { className: "text-secondary-text m-0 text-m", children: "\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u043D\u043D\u043E\u0433\u043E \u043E\u0444\u0438\u0441\u0430" })] })] })));
2696
2709
 
2697
2710
  const roundTo = (value, precision = 2) => {
2698
2711
  const factor = 10 ** precision;
@@ -2864,7 +2877,7 @@
2864
2877
  : '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(ImgInner, { image: {
2865
2878
  icon,
2866
2879
  iconVersion: 'white',
2867
- }, className: "flex-shrink-0 my-auto", width: "20", height: "20", asSVG: true })) : null] }));
2880
+ }, className: "flex-shrink-0 my-auto", width: "20", height: "20" })) : null] }));
2868
2881
  });
2869
2882
  const renderDefaultFoldButton = ({ isUnfolded, onToggle }) => {
2870
2883
  const labels = ['Развернуть', 'Скрыть'];
@@ -2948,10 +2961,10 @@
2948
2961
  transparent: 'text-white',
2949
2962
  };
2950
2963
  const renderImage$2 = (bgColor, image, size) => {
2951
- return image?.src ? (jsx(ImgInner, { image: image, className: SVG_COLOR[bgColor], width: size?.width, height: size?.height, pathPrefix: "/wcms-resources/", asSVG: true })) : (jsx(ImgInner, { image: {
2964
+ return image?.src ? (jsx(ImgInner, { image: image, className: SVG_COLOR[bgColor], width: size?.width, height: size?.height, pathPrefix: "/wcms-resources/" })) : (jsx(ImgInner, { image: {
2952
2965
  icon: image?.icon || 'LogoIcon',
2953
2966
  iconVersion: ICON_VERSION_MAP[bgColor],
2954
- }, className: SVG_COLOR[bgColor], width: size?.width, height: size?.height, asSVG: true }));
2967
+ }, className: SVG_COLOR[bgColor], width: size?.width, height: size?.height }));
2955
2968
  };
2956
2969
 
2957
2970
  const TEXT_COLOR = {
@@ -3435,9 +3448,63 @@
3435
3448
  ? 'text-primary-main'
3436
3449
  : style(flat ? 'text-primary-text' : 'text-secondary-text', 'hover:text-primary-main'), 'group-data-transparent:text-white group-data-transparent:hover:text-primary-hover');
3437
3450
 
3438
- const HeaderSecondaryMenuButton = JSX(({ className, isRounded, disabled, ariaLabel, image, onClick }) => (jsx("button", { className: style('group/btn border-0 p-0 flex items-center bg-inherit', isRounded
3451
+ const BUTTON_SIZE_STYLE = {
3452
+ default: 'w-6 h-6',
3453
+ large: 'w-12 h-12',
3454
+ };
3455
+ 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
3439
3456
  ? 'w-8 h-8 text-secondary-light hover:text-secondary-hove'
3440
- : 'w-6 h-6 text-primary-text hover:text-primary-main', 'group-data-transparent:text-white', className), type: "button", disabled: disabled, "aria-label": ariaLabel, onClick: onClick, children: jsx(ImgInner, { 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", asSVG: true }) })));
3457
+ : `${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(ImgInner, { 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" }) })));
3458
+
3459
+ const HeaderSecondaryMenu = JSX(({ className, version, locationName: location, officesLink }) => {
3460
+ const iconVersion = version === 'transparent' ? 'white' : 'black';
3461
+ const { open: openLocationModal } = useDialog(LOCATION_DIALOG_ID);
3462
+ const handleOpenLocationModal = useCallback(() => openLocationModal(), []);
3463
+ const { open: openSearchModal } = useDialog(SEARCH_DIALOG_ID);
3464
+ const handleOpenSearchModal = useCallback(() => openSearchModal(), []);
3465
+ return (jsxs("div", { className: style('flex items-center gap-5', className), children: [jsx(TopItem, { flat: true, href: "#", text: location, onClick: handleOpenLocationModal }), 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: handleOpenSearchModal })] }));
3466
+ });
3467
+
3468
+ const findActiveSubItem = (router) => (items = []) => {
3469
+ const possibleActiveSubItems = items?.filter(isHrefActive(router));
3470
+ return possibleActiveSubItems?.length
3471
+ ? maxBy((_) => _.href?.length || 0)(possibleActiveSubItems) // More specific item with max length
3472
+ : undefined;
3473
+ };
3474
+
3475
+ const DropdownMenu = JSX(({ className = '', items, activeItem }) => {
3476
+ const link = useLink();
3477
+ const [visible, setVisible] = useState(false);
3478
+ const handleToggle = useCallback(() => setVisible((_) => !_), []);
3479
+ const handleClickOutside = useCallback(() => setVisible(false), []);
3480
+ const ref = useOutsideClick(handleClickOutside);
3481
+ 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)
3482
+ .fill(null)
3483
+ .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) => {
3484
+ const { text, ...linkProps } = item;
3485
+ return (jsx("a", { className: style('text-l-light pb-4 hover:text-primary-main', item === activeItem ? 'text-primary-main' : ''), ...link(linkProps), children: text }, item.href || String(i)));
3486
+ }) })] }));
3487
+ });
3488
+
3489
+ const HeaderItem = JSX(({ className = '', active, dataItemName, children, ...rest }) => {
3490
+ const link = useLink();
3491
+ const { href, target, text, onClick } = link(rest);
3492
+ return (jsxs("a", { className: style('relative inline-block bg-transparent text-center no-underline', className), href: href, target: target, "data-item-name": dataItemName, onClick: onClick, children: [jsx("span", { className: getTextStyle(active), children: text || children }), active ? (jsx("div", { className: "absolute left-0 right-0 -bottom-3 h-0.5 bg-primary-main group-data-transparent:bg-transparent" })) : null] }));
3493
+ });
3494
+ const getTextStyle = (active = false) => style('font-sans text-l-light', active ? 'text-primary-main' : 'text-primary-text hover:text-primary-main', 'group-data-transparent:text-white group-data-transparent:hover:text-primary-hover');
3495
+
3496
+ const HeaderSubMenuItem = JSX(({ observerOptions, onVisibilityChange, children, className, ...rest }) => {
3497
+ const observerCallback = useCallback((entries) => {
3498
+ if (!entries.length || !onVisibilityChange) {
3499
+ return;
3500
+ }
3501
+ // Assumption about entries order (by time)
3502
+ const entry = entries[entries.length - 1];
3503
+ onVisibilityChange(entry.isIntersecting);
3504
+ }, [onVisibilityChange]);
3505
+ const ref = useIntersectionObserver(observerCallback, observerOptions);
3506
+ return (jsx("span", { ref: ref, className: className, children: jsx(HeaderItem, { ...rest, children: children }) }));
3507
+ });
3441
3508
 
3442
3509
  const getNS = (_) => globalThis[_];
3443
3510
  function useExternalNS(namespaceName, url) {
@@ -3492,59 +3559,16 @@
3492
3559
  useChatBot(chat);
3493
3560
  return renderChatBotButton(rest);
3494
3561
  });
3495
- const renderChatBotButton = ({ className, iconVersion, onClick }) => (jsx(HeaderSecondaryMenuButton, { className: style(CHAT_BUTTON_EXTERNAL_NAME, className), image: { icon: 'HeadphonesIcon', iconVersion }, ariaLabel: "\u0427\u0430\u0442", onClick: onClick }));
3496
-
3497
- const HeaderSecondaryMenu = JSX(({ className, version, locationName: location, officesLink }) => {
3498
- const iconVersion = version === 'transparent' ? 'white' : 'black';
3499
- const { open: openLocationModal } = useDialog(LOCATION_DIALOG_ID);
3500
- const handleOpenLocationModal = useCallback(() => openLocationModal(), []);
3501
- const { open: openSearchModal } = useDialog(SEARCH_DIALOG_ID);
3502
- const handleOpenSearchModal = useCallback(() => openSearchModal(), []);
3503
- return (jsxs("div", { className: style('flex items-center gap-5', className), children: [jsx(TopItem, { flat: true, href: "#", text: location, onClick: handleOpenLocationModal }), 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: handleOpenSearchModal }), projectSettings.CHAT_BOT ? (jsx(HeaderChatBotButton, { iconVersion: iconVersion, chat: projectSettings.CHAT_BOT })) : null] }));
3504
- });
3562
+ 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 }));
3505
3563
 
3506
- const findActiveSubItem = (router) => (items = []) => {
3507
- const possibleActiveSubItems = items?.filter(isHrefActive(router));
3508
- return possibleActiveSubItems?.length
3509
- ? maxBy((_) => _.href?.length || 0)(possibleActiveSubItems) // More specific item with max length
3510
- : undefined;
3564
+ const BUTTON_STYLE = {
3565
+ default: 'px-5 bg-main-divider rounded hover:text-primary-main',
3566
+ transparent: 'text-white hover:text-primary-hover',
3511
3567
  };
3568
+ const InternetBankButton = JSX(({ version, 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" })));
3512
3569
 
3513
- const DropdownMenu = JSX(({ className = '', items, activeItem }) => {
3514
- const link = useLink();
3515
- const [visible, setVisible] = useState(false);
3516
- const handleToggle = useCallback(() => setVisible((_) => !_), []);
3517
- const handleClickOutside = useCallback(() => setVisible(false), []);
3518
- const ref = useOutsideClick(handleClickOutside);
3519
- 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 ml-6", "aria-label": `${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`, onClick: handleToggle, children: Array(3)
3520
- .fill(null)
3521
- .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('flex flex-col rounded-md bg-white p-6 pb-2', visible ? '' : 'hidden'), "aria-hidden": !visible, children: items?.map((item, i) => {
3522
- const { text, ...linkProps } = item;
3523
- return (jsx("a", { className: style('text-l-light pb-4 hover:text-primary-main', item === activeItem ? 'text-primary-main' : ''), ...link(linkProps), children: text }, item.href || String(i)));
3524
- }) })] }));
3525
- });
3526
-
3527
- const HeaderItem = JSX(({ className = '', active, dataItemName, children, ...rest }) => {
3528
- const link = useLink();
3529
- const { href, target, text, onClick } = link(rest);
3530
- return (jsxs("a", { className: style('relative inline-block bg-transparent text-center no-underline', className), href: href, target: target, "data-item-name": dataItemName, onClick: onClick, children: [jsx("span", { className: getTextStyle(active), children: text || children }), active ? (jsx("div", { className: "absolute left-0 right-0 -bottom-3 h-0.5 bg-primary-main group-data-transparent:bg-transparent" })) : null] }));
3531
- });
3532
- const getTextStyle = (active = false) => style('font-sans text-l-light', active ? 'text-primary-main' : 'text-primary-text hover:text-primary-main', 'group-data-transparent:text-white group-data-transparent:hover:text-primary-hover');
3533
-
3534
- const HeaderSubMenuItem = JSX(({ observerOptions, onVisibilityChange, children, ...rest }) => {
3535
- const observerCallback = useCallback((entries) => {
3536
- if (!entries.length || !onVisibilityChange) {
3537
- return;
3538
- }
3539
- // Assumption about entries order (by time)
3540
- const entry = entries[entries.length - 1];
3541
- onVisibilityChange(entry.isIntersecting);
3542
- }, [onVisibilityChange]);
3543
- const ref = useIntersectionObserver(observerCallback, observerOptions);
3544
- return (jsx("span", { ref: ref, children: jsx(HeaderItem, { ...rest, children: children }) }));
3545
- });
3546
-
3547
- const HeaderSubMenu = JSX(({ subItems = [] }) => {
3570
+ const HeaderSubMenu = JSX(({ subItems = [], version, internetBankUrl }) => {
3571
+ const iconVersion = version === 'transparent' ? 'white' : 'black';
3548
3572
  const router = useRouter();
3549
3573
  const activeSubItem = findActiveSubItem(router)(subItems);
3550
3574
  const [visibleItemsCount, setVisibleItemsCount] = useState(subItems.length);
@@ -3556,7 +3580,7 @@
3556
3580
  ? handleIntersectionActivation(index)
3557
3581
  : handleIntersectionDeactivation(index));
3558
3582
  }), [subItems]);
3559
- return (jsxs("nav", { className: "relative mt-6", children: [jsx("div", { ref: subItemsListRef, className: "overflow-hidden whitespace-nowrap mr-52 pb-3", children: subItems.map((_, i) => (jsx(HeaderSubMenuItem, { className: style('mr-8', visibleItemsCount - 1 < i ? 'invisible' : ''), active: _ === activeSubItem, observerOptions: observerOptions, onVisibilityChange: subItemsVisibilityHandlers[i], ..._ }, String(i)))) }), dropDownMenuItems.length ? (jsx(DropdownMenu, { className: "absolute w-52 -top-4 right-0 pt-4 z-40", items: dropDownMenuItems, activeItem: activeSubItem })) : null] }));
3583
+ return (jsxs("nav", { className: "relative mt-3 flex items-center justify-between", children: [jsx("div", { ref: subItemsListRef, className: "overflow-hidden whitespace-nowrap pb-3 mt-2", children: subItems.map((_, i) => (jsx(HeaderSubMenuItem, { className: style('ml-8 first:ml-0', visibleItemsCount - 1 < i ? 'invisible' : ''), active: _ === activeSubItem, observerOptions: observerOptions, onVisibilityChange: subItemsVisibilityHandlers[i], ..._ }, String(i)))) }), dropDownMenuItems.length ? (jsx(DropdownMenu, { className: "relative w-auto z-40", items: dropDownMenuItems, activeItem: activeSubItem })) : null, projectSettings.CHAT_BOT ? (jsx(HeaderChatBotButton, { className: "ml-9", iconVersion: iconVersion, chat: projectSettings.CHAT_BOT })) : null, jsx(InternetBankButton, { version: version, internetBankUrl: internetBankUrl })] }));
3560
3584
  });
3561
3585
  const handleIntersectionActivation = (index) => (prev) => Math.max(prev, index + 1);
3562
3586
  const handleIntersectionDeactivation = (index) => (prev) => Math.min(prev, index);
@@ -3567,10 +3591,10 @@
3567
3591
  };
3568
3592
  const Header = JSX(({ bgColor = 'bg-white', className, showSubMenu = true, version = BG_COLOR_TO_BLOCK_VERSION[bgColor], ...rest }) => {
3569
3593
  const router = useRouter();
3570
- const { topItems, logo, defaultLocation, foreignOffices, officesLink } = useSWRResource(projectSettings.SITEMAP || 'sitemap', rest.options?.page?.fallback);
3594
+ const { topItems, logo, defaultLocation, foreignOffices, officesLink, internetBankUrl } = useSWRResource(projectSettings.SITEMAP || 'sitemap', rest.options?.page?.fallback);
3571
3595
  const activeTopItem = topItems?.find(isTopItemActive(router));
3572
3596
  const [location, onChangeLocation] = useLocation(defaultLocation);
3573
- return (jsxs(BlockWrapper, { tag: "header", className: style('pt-6 px-20', showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5', className), version: version, ...rest, children: [jsxs("div", { className: "container", children: [jsxs("div", { className: "flex items-center", children: [jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topItems?.map((_, i) => (jsx(TopItem, { active: _ === activeTopItem, ..._ }, String(i)))), jsx(HeaderSecondaryMenu, { version: version, className: "ml-auto", locationName: location.name, officesLink: officesLink })] }), jsx("div", { className: style('mt-6 h-px bg-main-divider', version === 'transparent' ? 'opacity-30' : '') }), showSubMenu && activeTopItem?.items?.length ? (jsx(HeaderSubMenu, { subItems: activeTopItem.items })) : null] }), jsx(SearchDialog, { topItems: topItems }), jsx(LocationDialog, { currentLocation: location, foreignOffices: foreignOffices, onChangeLocation: onChangeLocation })] }));
3597
+ return (jsxs(BlockWrapper, { tag: "header", className: style('pt-6 px-20', showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5', className), version: version, ...rest, children: [jsxs("div", { className: "container", children: [jsxs("div", { className: "flex items-center", children: [jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topItems?.map((_, i) => (jsx(TopItem, { active: _ === activeTopItem, ..._ }, String(i)))), jsx(HeaderSecondaryMenu, { version: version, className: "ml-auto", locationName: location.name, officesLink: officesLink })] }), jsx("div", { className: style('mt-6 h-px bg-main-divider', version === 'transparent' ? 'opacity-30' : '') }), showSubMenu && activeTopItem?.items?.length ? (jsx(HeaderSubMenu, { subItems: activeTopItem.items, version: version, internetBankUrl: internetBankUrl })) : null] }), jsx(SearchDialog, { topItems: topItems }), jsx(LocationDialog, { currentLocation: location, foreignOffices: foreignOffices, onChangeLocation: onChangeLocation })] }));
3574
3598
  });
3575
3599
 
3576
3600
  const gapStyles = {
@@ -3583,7 +3607,7 @@
3583
3607
  '': '',
3584
3608
  };
3585
3609
 
3586
- const HorizontalLayout = JSX(({ className = '', gap = 'XS', isPadding = false, version = 'transparent', isTheme = false, ...rest }) => (jsx(BlockWrapper, { className: style('grid grid-cols-12', isPadding ? 'p-12' : '', gapStyles[gap], className), version: version, isTheme: isTheme, ...rest, children: renderChildren(rest) })));
3610
+ const HorizontalLayout = JSX(({ className = '', gap = 'XS', isPadding = false, version = 'transparent', isTheme = false, ...rest }) => (jsx(BlockWrapper, { className: style('relative', 'grid grid-cols-12', isPadding ? 'p-12' : '', gapStyles[gap], className), version: version, isTheme: isTheme, ...rest, children: renderChildren(rest) })));
3587
3611
  HorizontalLayout.childrenTypes = {
3588
3612
  exclude: ['HorizontalLayout'],
3589
3613
  };
@@ -3710,9 +3734,9 @@
3710
3734
  return (jsx("div", { className: `flex-1 max-w-[180px] text-center px-2 ${isFirstColumn ? 'pl-9' : ''} ${isLastColumn ? 'mr-3.5' : ' '}`, children: column.title }, `title_${i}`));
3711
3735
  };
3712
3736
 
3713
- const LinkDocsListItemBase = JSX(({ className, iconClassName, textClassName, suffixClassName, doc, icon }) => {
3737
+ const LinkDocsListItem = JSX(({ doc, icon }) => {
3714
3738
  const { text, fileSize, ...linkProps } = doc;
3715
- return (jsxs("a", { className: className, role: "link", ...linkProps, children: [icon ? (jsx(ImgInner, { className: iconClassName, image: getIconWithVersion(icon), width: "24", height: "24", asSVG: true })) : null, text ? (jsxs("span", { className: textClassName, children: [text, jsx("span", { className: suffixClassName, children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] }));
3739
+ return (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] }));
3716
3740
  });
3717
3741
  const formatSuffix = (ext, fileSize) => {
3718
3742
  const prefix = ext || fileSize ? ',' : '';
@@ -3728,17 +3752,11 @@
3728
3752
  return index !== -1 ? href.substring(index + 1) : '';
3729
3753
  };
3730
3754
 
3731
- const LinkDocsListItem = JSX(({ className = '', doc, icon }) => (jsx(LinkDocsListItemBase, { className: `flex h-full box-border ${className}`, iconClassName: "mr-2.5 min-w-6 min-h-6", textClassName: "self-center text-l-light", suffixClassName: "text-secondary-text group-hover/item:text-primary-main", doc: doc, icon: icon })));
3732
-
3733
- const LinkDocsList = JSX(({ className, documents, columnsMode = 'double', icon }) => {
3734
- return documents?.length ? (jsx("div", { className: className, role: "list", children: documents.map((doc, i) => (jsx("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: jsx(LinkDocsListItem, { className: "group/item flex align-middle h-fit w-fit text-primary-text no-underline hover:text-primary-main", doc: doc, icon: icon }) }, String(i)))) })) : null;
3735
- });
3736
-
3737
3755
  const linkColumnsModeStyleMap = {
3738
- double: 'flex gap-x-5 gap-y-[26px] flex-wrap',
3739
- single: 'flex gap-3.5 flex-col',
3756
+ double: 'flex-wrap',
3757
+ single: 'flex-col',
3740
3758
  };
3741
- const LinkDocs = JSX(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => (jsxs(BlockWrapper, { className: style('p-12', className), ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, align: align, headlineVersion: "M", as: "h2" }), jsx(LinkDocsList, { className: `mt-8 ${linkColumnsModeStyleMap[columnsMode]}`, columnsMode: columnsMode, documents: documents, icon: icon })] })));
3759
+ const LinkDocs = JSX(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => (jsxs(BlockWrapper, { className: style('p-12', className), ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, align: align, headlineVersion: "M", as: "h2" }), documents?.length ? (jsx("div", { className: style('mt-8 flex gap-6', linkColumnsModeStyleMap[columnsMode]), role: "list", children: documents.map((doc, i) => (jsx("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: jsx(LinkDocsListItem, { doc: doc, icon: icon ? (jsx(ImgInner, { className: "min-w-6 min-h-6", image: icon, width: "24", height: "24" })) : null }) }, String(i)))) })) : null] })));
3742
3760
 
3743
3761
  const getColSpan = (className) => {
3744
3762
  const colSpanPrefix = 'col-span-';
@@ -3867,7 +3885,7 @@
3867
3885
  updatePointsToRender(null);
3868
3886
  }
3869
3887
  };
3870
- return (jsxs("div", { className: `${Object.values(styles$2).join(' ')} bg-white py-3 pl-11 pr-4 w-full`, children: [jsx(Icon, { name: "LoupeIcon", iconVersion: "black", width: "20", height: "20", asSVG: true, className: "absolute left-4" }), jsx("input", { type: "text", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 \u0438\u043B\u0438 \u043C\u0435\u0442\u0440\u043E", onChange: onChange, className: "border-0 focus:border-0 outline-0 w-full" })] }));
3888
+ return (jsxs("div", { className: `${Object.values(styles$2).join(' ')} bg-white py-3 pl-11 pr-4 w-full`, children: [jsx(Icon, { name: "LoupeIcon", iconVersion: "black", width: "20", height: "20", className: "absolute left-4" }), jsx("input", { type: "text", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 \u0438\u043B\u0438 \u043C\u0435\u0442\u0440\u043E", onChange: onChange, className: "border-0 focus:border-0 outline-0 w-full" })] }));
3871
3889
  };
3872
3890
 
3873
3891
  const styles$1 = {
@@ -4003,7 +4021,7 @@
4003
4021
  const lunchHourText = hasTime ? `Перерыв ${lunchHour}` : lunchHour;
4004
4022
  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" }) }));
4005
4023
  };
4006
- const renderNearbyOffice = ({ icon, title, distance, time }, index) => (jsxs("div", { className: "flex mr-4", children: [jsx(Icon, { name: icon, width: "16", height: "16", asSVG: true, className: "mr-1" }), title ? jsxs("span", { className: "text-m", children: [title, "\u00A0"] }) : null, jsxs("span", { className: "text-m-light", children: [distance ? ` (${distance})` : null, time ? `, ${time}` : null] })] }, `nearbyOffice${index}`));
4024
+ 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("span", { className: "text-m", children: [title, "\u00A0"] }) : null, jsxs("span", { className: "text-m-light", children: [distance ? ` (${distance})` : null, time ? `, ${time}` : null] })] }, `nearbyOffice${index}`));
4007
4025
  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-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-light text-secondary-text", children: description })) : null] }, `day${inx}`));
4008
4026
  const renderLunchHour = (lunchHour) => {
4009
4027
  const hasTime = /\d+/gi.test(lunchHour);
@@ -4136,19 +4154,18 @@
4136
4154
  ];
4137
4155
  const currentWeekDayInd = new Date().getDay();
4138
4156
  const currentWeekDay = currentWeekDayInd > 0 ? workScheduleWeek[currentWeekDayInd - 1] : workScheduleWeek[6];
4139
- return (jsxs("div", { className: `flex flex-col font-sans bg-white w-full ${className}`, children: [jsxs("div", { className: "flex flex-col px-12 pt-12", children: [jsxs("div", { className: "flex justify-between", children: [jsx("div", { className: "text-h2", children: name }), renderCurrentDaySchedule(currentWeekDay)] }), jsxs("div", { className: "flex text-l-light pt-4", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24", asSVG: true, className: "pr-1" }), address] }), jsx("div", { className: "flex pt-4", children: nearbyOffices.map(renderNearbyOffice) })] }), jsxs("div", { className: "flex justify-between pt-8", children: [jsx("div", { className: "flex-grow h-full w-full overflow-hidden", children: point ? jsx(YandexMap, { points: [point], className: "h-full" }) : null }), jsx("div", { className: "w-[434px] min-w-[434px] pl-9 pr-12 pb-14 flex flex-col", children: workScheduleWeek.map(renderDay) })] })] }));
4157
+ return (jsxs("div", { className: `flex flex-col font-sans bg-white w-full ${className}`, children: [jsxs("div", { className: "flex flex-col px-12 pt-12", children: [jsxs("div", { className: "flex justify-between", children: [jsx("div", { className: "text-h2", children: name }), renderCurrentDaySchedule(currentWeekDay)] }), jsxs("div", { className: "flex text-l-light pt-4", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24", className: "pr-1" }), address] }), jsx("div", { className: "flex pt-4", children: nearbyOffices.map(renderNearbyOffice) })] }), jsxs("div", { className: "flex justify-between pt-8", children: [jsx("div", { className: "flex-grow h-full w-full overflow-hidden", children: point ? jsx(YandexMap, { points: [point], className: "h-full" }) : null }), jsx("div", { className: "w-[434px] min-w-[434px] pl-9 pr-12 pb-14 flex flex-col", children: workScheduleWeek.map(renderDay) })] })] }));
4140
4158
  });
4141
4159
 
4142
4160
  const OfficeServicesBlock = JSX(({ className = '', title, servicesList, ...rest }) => (jsxs(BlockWrapper, { className: `p-8 flex flex-col ${className}`, ...rest, children: [title ? jsx(Heading, { headingType: "h5", className: "mb-5", title: title }) : null, servicesList?.length ? (jsx("ul", { className: "list-none m-0 p-0", children: servicesList.map(renderListItems) })) : null] })));
4143
- const renderListItems = (itemList, i) => (jsxs("li", { className: "flex mb-5 last:mb-0 list-none", children: [itemList.icon ? (jsx(ImgInner, { className: "mr-3 min-w-6 min-h-6 w-6 h-6", width: "24", height: "24", asSVG: true, image: getIconWithVersion(itemList.icon) })) : null, itemList.label ? jsx("span", { className: "text-l-light", children: itemList.label }) : null] }, `list_item_${String(i)}`));
4161
+ const renderListItems = (itemList, i) => (jsxs("li", { className: "flex mb-5 last:mb-0 list-none", children: [itemList.icon ? (jsx(ImgInner, { className: "mr-3 min-w-6 min-h-6 w-6 h-6", width: "24", height: "24", image: itemList.icon })) : null, itemList.label ? jsx("span", { className: "text-l-light", children: itemList.label }) : null] }, `list_item_${String(i)}`));
4144
4162
 
4145
4163
  const ParagraphBlock = JSX(({ text, size, align, font, children, ...rest }) => (jsx(BlockWrapper, { ...rest, children: jsx(Paragraph, { size: size, align: align, font: font, children: text || children }) })));
4146
4164
 
4147
4165
  const BenefitItem = JSX((props) => {
4148
4166
  const { className = '', icon, label, description, version = 'primary', benefitsVersion = 'normal', } = props;
4149
4167
  const listItemAlign = description ? 'items-start' : 'items-center';
4150
- const calcVersion = benefitsVersion === 'white' ? 'secondary' : 'primary';
4151
- return (jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (jsx("div", { className: getBenefitIconBgStyle(version, benefitsVersion), children: jsx(ImgInner, { className: "w-6 h-6", image: getIconWithVersion(icon, calcVersion), asSVG: true }) })) : null, jsxs("div", { className: "gap-0.5", children: [label ? (jsx("div", { className: "text-h6 text-primary-text group-data-secondary:text-white", children: label })) : null, description ? (jsx("div", { className: "text-m-light text-secondary-text group-data-secondary:text-white", children: description })) : null] })] }));
4168
+ return (jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (jsx("div", { className: getBenefitIconBgStyle(version, benefitsVersion), children: jsx(ImgInner, { className: "w-6 h-6", image: { ...icon, iconVersion: icon.iconVersion || benefitsVersion } }) })) : null, jsxs("div", { className: "gap-0.5", children: [label ? (jsx("div", { className: "text-h6 text-primary-text group-data-secondary:text-white", children: label })) : null, description ? (jsx("div", { className: "text-m-light text-secondary-text group-data-secondary:text-white", children: description })) : null] })] }));
4152
4169
  });
4153
4170
  function getBenefitIconBgStyle(version, benefitsVersion) {
4154
4171
  let bgColorStyle = 'bg-primary-main text-black';
@@ -4248,7 +4265,7 @@
4248
4265
  const { text, href, target } = button;
4249
4266
  const iconVersion = version === 'primary' ? 'white' : 'black';
4250
4267
  const backwardIcon = button?.icon || { icon: 'ArrowLeftIcon' };
4251
- return (jsxs("div", { className: style('flex items-center', className), children: [jsx(Button, { version: version, rounded: true, className: "w-12 h-12 min-h-12 min-w-12 flex items-center justify-center mr-3", ariaLabel: text, href: href, target: target, children: jsx(ImgInner, { className: "w-4 h-4", image: { ...backwardIcon, iconVersion: backwardIcon.iconVersion || iconVersion }, asSVG: true }) }), text ? (jsx(Button, { version: "link", text: text, href: href, target: target, ariaLabel: text })) : null] }));
4268
+ return (jsxs("div", { className: style('flex items-center', className), children: [jsx(Button, { version: version, rounded: true, className: "w-12 h-12 min-h-12 min-w-12 flex items-center justify-center mr-3", ariaLabel: text, href: href, target: target, children: jsx(ImgInner, { className: "w-4 h-4", image: { ...backwardIcon, iconVersion: backwardIcon.iconVersion || iconVersion } }) }), text ? (jsx(Button, { version: "link", text: text, href: href, target: target, ariaLabel: text })) : null] }));
4252
4269
  }
4253
4270
 
4254
4271
  const breadcrumbStyle = 'text-secondary-text group-data-secondary:text-white/80';
@@ -4364,7 +4381,7 @@
4364
4381
  onToggle,
4365
4382
  })) : (jsx(DefaultFoldButton, { label: label, icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: onToggle }));
4366
4383
  };
4367
- const renderPrimaryFoldButton = ({ label, icon, onToggle }) => (jsxs("button", { className: `border-none bg-transparent px-0 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 cursor-pointer`, onClick: onToggle, children: [jsx(Text, { size: "text-xl", font: "font-medium", children: label }), icon ? jsx(ImgInner, { image: getIconWithVersion({ icon }), width: "24", height: "24", asSVG: true }) : null] }));
4384
+ const renderPrimaryFoldButton = ({ label, icon, onToggle }) => (jsxs("button", { className: `border-none bg-transparent px-0 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 cursor-pointer`, onClick: onToggle, children: [jsx(Text, { size: "text-xl", font: "font-medium", children: label }), icon ? jsx(Icon, { name: icon, width: "24", height: "24" }) : null] }));
4368
4385
 
4369
4386
  const SAFEBOXES_URL = '/api/v1/safeboxes';
4370
4387
  const EMPTY_VALUE = [];
@@ -4416,7 +4433,7 @@
4416
4433
 
4417
4434
  const SafeDepositRentalTotal = JSX(({ days, tariffs = [] }) => {
4418
4435
  const price = calculatePrice(days, tariffs);
4419
- return (jsxs("div", { className: "flex flex-col justify-between", children: [jsxs("div", { className: "flex", children: [renderTotal('Аренда за', days, 'mr-11'), renderTotal('Цена', price + ' ₽')] }), jsxs("div", { className: "bg-primary-main px-10 pt-10 pb-4 text-center", children: [jsx(ImgInner, { image: { icon: 'PackA4Icon' }, width: "290", height: "257", asSVG: true }), jsxs("span", { className: "text-s-light text-white opacity-80 mt-2 inline-block", children: ["\u041D\u0430 \u0440\u0438\u0441\u0443\u043D\u043A\u0438 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0430 \u043F\u0430\u0447\u043A\u0430", jsx("br", {}), " \u043B\u0438\u0441\u0442\u043E\u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0430 \u04104"] })] })] }));
4436
+ return (jsxs("div", { className: "flex flex-col justify-between", children: [jsxs("div", { className: "flex", children: [renderTotal('Аренда за', days, 'mr-11'), renderTotal('Цена', price + ' ₽')] }), jsxs("div", { className: "bg-primary-main px-10 pt-10 pb-4 text-center", children: [jsx(ImgInner, { image: { icon: 'PackA4Icon' }, width: "290", height: "257" }), jsxs("span", { className: "text-s-light text-white opacity-80 mt-2 inline-block", children: ["\u041D\u0430 \u0440\u0438\u0441\u0443\u043D\u043A\u0438 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0430 \u043F\u0430\u0447\u043A\u0430", jsx("br", {}), " \u043B\u0438\u0441\u0442\u043E\u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0430 \u04104"] })] })] }));
4420
4437
  });
4421
4438
  const renderTotal = (label, total, className = '') => {
4422
4439
  return (jsxs("div", { className: className, children: [jsx("div", { className: "text-m-light text-secondary-text mb-1", children: label }), jsx("span", { className: "text-h3 text-primary-text", children: total })] }));
@@ -4536,7 +4553,8 @@
4536
4553
  const renderStepIcon = (styleMap, size, stepVersion) => ({ icon }, i) => {
4537
4554
  const styleStepIconSize = size === 'normal' ? 'h-[100px] w-[100px]' : 'h-[63px] w-[63px]';
4538
4555
  const stepVersionIconTextStyles = stepVersion === 'secondary' ? 'group-data-primary:text-white' : 'text-secondary-text';
4539
- return (jsx(BlockWrapper, { className: `${styleStepIconSize} flex justify-center items-center text-center rounded-full p-[26px] box-border z-10`, version: stepVersion, children: checkCanRenderIcon(icon) ? (jsx(ImgInner, { image: getIconWithVersion(icon || {}, stepVersion), width: "48", height: "48", asSVG: true })) : (jsx("span", { className: style('text-h4', stepVersion === 'transparent' ? styleMap.iconText : stepVersionIconTextStyles), children: i + 1 })) }, String(i)));
4556
+ const iconVersion = stepVersion === 'secondary' ? 'white' : 'color';
4557
+ return (jsx(BlockWrapper, { className: `${styleStepIconSize} flex justify-center items-center text-center rounded-full p-[26px] box-border z-10`, version: stepVersion, children: checkCanRenderIcon(icon) ? (jsx(ImgInner, { image: { ...icon, iconVersion: icon.iconVersion || iconVersion }, width: "48", height: "48" })) : (jsx("span", { className: style('text-h4', stepVersion === 'transparent' ? styleMap.iconText : stepVersionIconTextStyles), children: i + 1 })) }, String(i)));
4540
4558
  };
4541
4559
 
4542
4560
  const DEFAULT_GAP = 14;
@@ -4732,7 +4750,7 @@
4732
4750
  const COLUMN_WIDTH$1 = 4 * 80 + 40; // w-80 + pl-10 = 360px
4733
4751
 
4734
4752
  const TableInnerButton = JSX(({ isOpen, onClick }) => {
4735
- return (jsxs(Button, { version: "primary", onClick: onClick, className: "w-full flex items-center justify-center rounded-none py-5", children: [jsx("div", { className: "text-h4", children: isOpen ? 'Скрыть' : 'Показать ставки по вкладу' }), jsx(Icon, { name: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon', className: "ml-3", iconVersion: "white", width: "20", height: "20", asSVG: true })] }));
4753
+ return (jsxs(Button, { version: "primary", onClick: onClick, className: "w-full flex items-center justify-center rounded-none py-5", children: [jsx("div", { className: "text-h4", children: isOpen ? 'Скрыть' : 'Показать ставки по вкладу' }), jsx(Icon, { name: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon', className: "ml-3", iconVersion: "white", width: "20", height: "20" })] }));
4736
4754
  });
4737
4755
 
4738
4756
  const renderButtonsCellData = ({ buttons }) => renderButtonsSection(buttons);
@@ -4840,7 +4858,7 @@
4840
4858
  }) }));
4841
4859
  });
4842
4860
 
4843
- const InnerTableHeader = JSX(({ currencies, linkToPDF, activeTabIndex, setActiveTabIndex }) => (jsxs("div", { className: "flex justify-between w-full pt-2.5 pb-3", children: [currencies && currencies.length > 1 ? (jsx("div", { className: "flex bg-secondary-light p-1.5 rounded-md", children: currencies.map((currency, idx) => (jsx("div", { className: `rounded-md text-xl-light px-4 py-3 cursor-pointer ${idx === activeTabIndex ? 'bg-primary-main text-white' : 'text-secondary-text'}`, onClick: () => setActiveTabIndex(idx), children: currency || idx + 1 }, currency))) })) : null, linkToPDF ? (jsx(Button, { href: linkToPDF, version: "secondary", target: "_blank", appendLeft: jsx(Icon, { name: "DocDownloadIcon", iconVersion: "color", className: "mr-0.5", width: "20", height: "20", asSVG: true }), text: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432 PDF" })) : null] })));
4861
+ const InnerTableHeader = JSX(({ currencies, linkToPDF, activeTabIndex, setActiveTabIndex }) => (jsxs("div", { className: "flex justify-between w-full pt-2.5 pb-3", children: [currencies && currencies.length > 1 ? (jsx("div", { className: "flex bg-secondary-light p-1.5 rounded-md", children: currencies.map((currency, idx) => (jsx("div", { className: `rounded-md text-xl-light px-4 py-3 cursor-pointer ${idx === activeTabIndex ? 'bg-primary-main text-white' : 'text-secondary-text'}`, onClick: () => setActiveTabIndex(idx), children: currency || idx + 1 }, currency))) })) : null, linkToPDF ? (jsx(Button, { href: linkToPDF, version: "secondary", target: "_blank", appendLeft: jsx(Icon, { name: "DocDownloadIcon", iconVersion: "color", className: "mr-0.5", width: "20", height: "20" }), text: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432 PDF" })) : null] })));
4844
4862
 
4845
4863
  function useTariffsInnerTableData(directoryName) {
4846
4864
  const { data } = useAsyncData(tariffsInnerTableDataUrl(directoryName), fetchTariffsInnerTableData);
@@ -4872,7 +4890,7 @@
4872
4890
  const [openTableInnerIdx, setOpenTableInnerIdx] = useState(undefined);
4873
4891
  const handleOpenTableInnerIdx = useCallback((_) => setOpenTableInnerIdx(_), []);
4874
4892
  const onHideContentClick = () => setTableInner(undefined);
4875
- return (jsxs(TariffsTableRowContainer, { onHideContentClick: onHideContentClick, tableInner: tableInner, ...rest, children: [jsx("div", { className: `text-s py-5 ${FIRST_CELL_CLASSES} ${DIVIDER_CLASSES}`, children: jsxs("div", { className: "flex items-center text-primary-text", role: "cell", children: [header?.icon ? (jsx(ImgInner, { className: "mr-3.5 max-w-6", image: getIconWithVersion(header.icon), width: "24", height: "24", asSVG: true })) : null, header?.title ? jsx("div", { className: "text-m-light", children: header?.title }) : null] }) }), data?.length ? (jsx(TableCarouselContainer, { activeIndex: activeIndex, columnWidth: COLUMN_WIDTH$1, version: "tariff", children: data.map((cells, i) => (jsx(TariffsTableCell, { cells: cells, rowIdx: rowIdx, cellIdx: i, setTableInner: handleSetTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: handleOpenTableInnerIdx, ...rest }, String(i)))) })) : null] }));
4893
+ return (jsxs(TariffsTableRowContainer, { onHideContentClick: onHideContentClick, tableInner: tableInner, ...rest, children: [jsx("div", { className: `text-s py-5 ${FIRST_CELL_CLASSES} ${DIVIDER_CLASSES}`, children: jsxs("div", { className: "flex items-center text-primary-text", role: "cell", children: [header?.icon ? (jsx(ImgInner, { className: "mr-3.5 max-w-6", image: header.icon, width: "24", height: "24" })) : null, header?.title ? jsx("div", { className: "text-m-light", children: header?.title }) : null] }) }), data?.length ? (jsx(TableCarouselContainer, { activeIndex: activeIndex, columnWidth: COLUMN_WIDTH$1, version: "tariff", children: data.map((cells, i) => (jsx(TariffsTableCell, { cells: cells, rowIdx: rowIdx, cellIdx: i, setTableInner: handleSetTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: handleOpenTableInnerIdx, ...rest }, String(i)))) })) : null] }));
4876
4894
  });
4877
4895
 
4878
4896
  const TariffsTable = JSX(({ className = '', title, description, rowHeaders, tariffsColumns: columns, hiddenRowsNum = 0, ...rest }) => {
@@ -4932,7 +4950,7 @@
4932
4950
  };
4933
4951
  const VerticalLayout = JSX(({ className = '', gap = '', align = 'stretch', isPadding = false, isInnerPadding = true, version = 'transparent', isTheme = false, ...rest }) => {
4934
4952
  const innerPaddingStyle = isInnerPadding ? '' : '!p-0';
4935
- return (jsx(BlockWrapper, { className: style('flex flex-col [&>*]:max-w-full', isPadding ? 'p-12' : '', gapStyles[gap], align && alignStyle[align], className), version: version, isTheme: isTheme, ...rest, children: renderChildren({
4953
+ return (jsx(BlockWrapper, { className: style('relative', 'flex flex-col [&>*]:max-w-full', isPadding ? 'p-12' : '', gapStyles[gap], align && alignStyle[align], className), version: version, isTheme: isTheme, ...rest, children: renderChildren({
4936
4954
  ...rest,
4937
4955
  renderProps: (block, options) => renderBlock$1(block, options, { className: innerPaddingStyle }),
4938
4956
  }) }));
@@ -4952,9 +4970,9 @@
4952
4970
  className: 'mb-6',
4953
4971
  })
4954
4972
  : null] })] })));
4955
- const renderIconBlock = (icon) => (jsxs("div", { className: "self-end", children: [icon?.src ? jsx(ImgInner, { image: icon }) : null, icon?.icon ? jsx(ImgInner, { image: getIconWithVersion(icon), asSVG: true }) : null] }));
4973
+ const renderIconBlock = (icon) => (jsxs("div", { className: "self-end", children: [icon?.src ? jsx(ImgInner, { image: icon }) : null, icon?.icon ? jsx(ImgInner, { image: icon }) : null] }));
4956
4974
  const renderDescriptionBlock = (__html) => (jsx("div", { className: "border-b border-main-divider pb-5 my-5", children: jsx(RichText, { __html: __html }) }));
4957
- const renderBlock = (blockName, data, iconName) => (jsxs("div", { className: "flex mb-4", children: [jsx(Icon, { className: "pr-4", iconVersion: "black", name: iconName, width: "24", height: "24", asSVG: true }), jsxs("div", { className: "flex flex-col first:pb-1", children: [jsx(Text, { size: "text-m-light", children: blockName }), data ? (jsx(Text, { size: "text-h6", color: "text-green", children: data })) : null] })] }));
4975
+ const renderBlock = (blockName, data, iconName) => (jsxs("div", { className: "flex mb-4", children: [jsx(Icon, { className: "pr-4", iconVersion: "black", name: iconName, width: "24", height: "24" }), jsxs("div", { className: "flex flex-col first:pb-1", children: [jsx(Text, { size: "text-m-light", children: blockName }), data ? (jsx(Text, { size: "text-h6", color: "text-green", children: data })) : null] })] }));
4958
4976
 
4959
4977
  const Blocks = {
4960
4978
  ApplicationForm,
@@ -5144,7 +5162,7 @@
5144
5162
  return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto" }) }));
5145
5163
  }
5146
5164
 
5147
- const packageVersion = "0.10.1";
5165
+ const packageVersion = "0.10.3";
5148
5166
 
5149
5167
  exports.Blocks = Blocks;
5150
5168
  exports.ContentPage = ContentPage;