@redneckz/wildless-cms-uni-blocks 0.10.9 → 0.11.0

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 (1541) hide show
  1. package/bin/migration-scripts/0.10.10.js +44 -0
  2. package/bin/migration-scripts/0.11.0.js +29 -0
  3. package/bundle/blocks.schema.json +1 -1
  4. package/bundle/bundle.umd.js +372 -329
  5. package/bundle/bundle.umd.min.js +1 -1
  6. package/bundle/components/BaseTile/BaseTile.d.ts +12 -2
  7. package/bundle/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  8. package/bundle/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  9. package/bundle/components/Footer/buttonStylesWithText.d.ts +2 -0
  10. package/bundle/components/Footer/buttonStylesWithText.mobile.d.ts +2 -0
  11. package/bundle/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  12. package/bundle/components/Footer/horizontalNavigationLinkStyles.mobile.d.ts +1 -0
  13. package/bundle/components/Footer/textInformationTextSize.d.ts +1 -0
  14. package/bundle/components/Footer/textInformationTextSize.mobile.d.ts +1 -0
  15. package/bundle/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  16. package/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  17. package/bundle/components/OfficeMap/useOfficeMap.d.ts +2 -0
  18. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  19. package/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  20. package/bundle/components/ProductBlock/renderBenefit.d.ts +2 -2
  21. package/bundle/components/RollupItem/RollupItemContent.d.ts +2 -0
  22. package/bundle/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  23. package/bundle/components/RollupItem/foldableSectionStyles.mobile.d.ts +1 -0
  24. package/bundle/components/RollupItem/getIconName.d.ts +1 -0
  25. package/bundle/components/RollupItem/getIconName.mobile.d.ts +1 -0
  26. package/bundle/components/RollupItem/labelSize.d.ts +1 -0
  27. package/bundle/components/RollupItem/labelSize.mobile.d.ts +1 -0
  28. package/bundle/components/RollupItem/rollupIconVersion.d.ts +1 -0
  29. package/bundle/components/RollupItem/rollupIconVersion.mobile.d.ts +1 -0
  30. package/bundle/components/RollupItem/rollupItemStyles.d.ts +1 -0
  31. package/bundle/components/RollupItem/rollupItemStyles.mobile.d.ts +1 -0
  32. package/bundle/content-page-repository/transformDocumentLink.d.ts +3 -0
  33. package/bundle/hooks/useForm.d.ts +8 -4
  34. package/bundle/hooks/useNormalizedInput.d.ts +11 -0
  35. package/bundle/icons/IconName.d.ts +12 -2
  36. package/bundle/services/sitemap/SitemapData.d.ts +1 -1
  37. package/{dist/components/Filtration/FiltrationContent.d.ts → bundle/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +36 -22
  38. package/bundle/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  39. package/bundle/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  40. package/bundle/ui-kit/ControlProps.d.ts +1 -1
  41. package/bundle/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
  42. package/bundle/ui-kit/Icon/IconProps.d.ts +4 -0
  43. package/bundle/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  44. package/bundle/ui-kit/Input/Input.d.ts +1 -1
  45. package/bundle/ui-kit/Input/InputProps.d.ts +4 -5
  46. package/bundle/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
  47. package/bundle/ui-kit/LinkList/LinkList.d.ts +2 -0
  48. package/bundle/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  49. package/bundle/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  50. package/bundle/ui-kit/LinkList/linkListStyles.mobile.d.ts +1 -0
  51. package/bundle/ui-kit/List/ListProps.d.ts +0 -2
  52. package/bundle/ui-kit/NumberInput/NumberInput.d.ts +8 -0
  53. package/bundle/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
  54. package/bundle/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  55. package/bundle/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  56. package/bundle/utils/identity.d.ts +1 -0
  57. package/bundle/utils/isEmpty.d.ts +1 -0
  58. package/bundle/utils/joinList.d.ts +1 -1
  59. package/bundle/utils/toLocalNumberFormat.d.ts +1 -0
  60. package/cosmos-static/icons/ArrowDownSolidIcon.svg +1 -0
  61. package/cosmos-static/icons/ArrowUpSolidIcon.svg +1 -0
  62. package/cosmos-static/icons/BagIcon.svg +1 -0
  63. package/cosmos-static/icons/BriefcaseIcon.svg +1 -0
  64. package/cosmos-static/icons/ClientIcon.svg +1 -0
  65. package/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  66. package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  67. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  68. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  69. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  70. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  71. package/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  72. package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  73. package/dist/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  74. package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  75. package/dist/components/BaseTile/BaseTile.d.ts +12 -2
  76. package/dist/components/BaseTile/BaseTile.js +2 -1
  77. package/dist/components/BaseTile/BaseTile.js.map +1 -1
  78. package/dist/components/Blocks.js +6 -4
  79. package/dist/components/Blocks.js.map +1 -1
  80. package/dist/components/Blocks.mobile.js +0 -2
  81. package/dist/components/Blocks.mobile.js.map +1 -1
  82. package/dist/components/Calculator/CalculatorValueBlock.js +2 -2
  83. package/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
  84. package/dist/components/Calculator/renderInitialFeeInput.js +3 -3
  85. package/dist/components/Calculator/renderInitialFeeInput.js.map +1 -1
  86. package/dist/components/Calculator/renderProposal.js +2 -2
  87. package/dist/components/Calculator/renderProposal.js.map +1 -1
  88. package/dist/components/Calculator/renderRealEstateValue.js +2 -2
  89. package/dist/components/Calculator/renderRealEstateValue.js.map +1 -1
  90. package/dist/components/Calculator/renderWantedSumInput.js +3 -3
  91. package/dist/components/Calculator/renderWantedSumInput.js.map +1 -1
  92. package/dist/components/CardTransfer/CardTransfer.js +10 -8
  93. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  94. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
  95. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  96. package/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  97. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  98. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  99. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  100. package/dist/components/ContentPage/ContentPage.page.json +0 -1
  101. package/dist/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  102. package/dist/components/DepositFiltration/DepositFiltration.js +34 -0
  103. package/dist/components/DepositFiltration/DepositFiltration.js.map +1 -0
  104. package/dist/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  105. package/dist/{ui-kit/CurrencyInput/CurrencyInputProps.js → components/DepositFiltration/DepositFiltrationContent.js} +1 -1
  106. package/dist/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
  107. package/dist/components/Footer/Footer.mobile.js +3 -9
  108. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  109. package/dist/components/Footer/HorizontalNavigation.mobile.js +2 -1
  110. package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  111. package/dist/components/Footer/HorizontalNavigationLink.js +3 -1
  112. package/dist/components/Footer/HorizontalNavigationLink.js.map +1 -1
  113. package/dist/components/Footer/MediaButton.js +2 -8
  114. package/dist/components/Footer/MediaButton.js.map +1 -1
  115. package/dist/components/Footer/TextInformation.js +3 -1
  116. package/dist/components/Footer/TextInformation.js.map +1 -1
  117. package/dist/components/Footer/buttonStylesWithText.d.ts +2 -0
  118. package/dist/components/Footer/buttonStylesWithText.js +12 -0
  119. package/dist/components/Footer/buttonStylesWithText.js.map +1 -0
  120. package/dist/components/Footer/buttonStylesWithText.mobile.d.ts +2 -0
  121. package/dist/components/Footer/buttonStylesWithText.mobile.js +12 -0
  122. package/dist/components/Footer/buttonStylesWithText.mobile.js.map +1 -0
  123. package/dist/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  124. package/dist/components/Footer/horizontalNavigationLinkStyles.js +4 -0
  125. package/dist/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
  126. package/dist/components/Footer/horizontalNavigationLinkStyles.mobile.d.ts +1 -0
  127. package/dist/components/Footer/horizontalNavigationLinkStyles.mobile.js +4 -0
  128. package/dist/components/Footer/horizontalNavigationLinkStyles.mobile.js.map +1 -0
  129. package/dist/components/Footer/textInformationTextSize.d.ts +1 -0
  130. package/dist/components/Footer/textInformationTextSize.js +4 -0
  131. package/dist/components/Footer/textInformationTextSize.js.map +1 -0
  132. package/dist/components/Footer/textInformationTextSize.mobile.d.ts +1 -0
  133. package/dist/components/Footer/textInformationTextSize.mobile.js +4 -0
  134. package/dist/components/Footer/textInformationTextSize.mobile.js.map +1 -0
  135. package/dist/components/Header/Header.mobile.js +2 -2
  136. package/dist/components/Header/Header.mobile.js.map +1 -1
  137. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  138. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  139. package/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  140. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  141. package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  142. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  143. package/dist/components/MobileAppTile/MobileAppTile.mobile.js +2 -1
  144. package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
  145. package/dist/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  146. package/dist/components/MortgageFiltration/MortgageFiltration.js +17 -0
  147. package/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
  148. package/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  149. package/dist/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
  150. package/dist/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
  151. package/dist/components/OfficeMap/OfficeMap.js +2 -2
  152. package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  153. package/dist/components/OfficeMap/useOfficeMap.d.ts +2 -0
  154. package/dist/components/OfficeMap/useOfficeMap.js +1 -2
  155. package/dist/components/OfficeMap/useOfficeMap.js.map +1 -1
  156. package/dist/components/PictureText/PictureText.js +2 -2
  157. package/dist/components/PictureText/PictureText.js.map +1 -1
  158. package/dist/components/ProductBlock/ProductBlock.js +3 -8
  159. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  160. package/dist/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  161. package/dist/components/ProductBlock/ProductBlockInner.js +4 -8
  162. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  163. package/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  164. package/dist/components/ProductBlock/renderBackwardButton.js +7 -5
  165. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  166. package/dist/components/ProductBlock/renderBenefit.d.ts +2 -2
  167. package/dist/components/ProductBlock/renderBenefit.js +1 -1
  168. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  169. package/dist/components/ProductGallery/ProductGallery.js +9 -18
  170. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  171. package/dist/components/RollupItem/RollupItem.js +19 -4
  172. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  173. package/dist/components/RollupItem/RollupItemContent.d.ts +2 -0
  174. package/dist/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  175. package/dist/components/RollupItem/foldableSectionStyles.js +4 -0
  176. package/dist/components/RollupItem/foldableSectionStyles.js.map +1 -0
  177. package/dist/components/RollupItem/foldableSectionStyles.mobile.d.ts +1 -0
  178. package/dist/components/RollupItem/foldableSectionStyles.mobile.js +4 -0
  179. package/dist/components/RollupItem/foldableSectionStyles.mobile.js.map +1 -0
  180. package/dist/components/RollupItem/getIconName.d.ts +1 -0
  181. package/dist/components/RollupItem/getIconName.js +5 -0
  182. package/dist/components/RollupItem/getIconName.js.map +1 -0
  183. package/dist/components/RollupItem/getIconName.mobile.d.ts +1 -0
  184. package/dist/components/RollupItem/getIconName.mobile.js +5 -0
  185. package/dist/components/RollupItem/getIconName.mobile.js.map +1 -0
  186. package/dist/components/RollupItem/labelSize.d.ts +1 -0
  187. package/dist/components/RollupItem/labelSize.js +4 -0
  188. package/dist/components/RollupItem/labelSize.js.map +1 -0
  189. package/dist/components/RollupItem/labelSize.mobile.d.ts +1 -0
  190. package/dist/components/RollupItem/labelSize.mobile.js +4 -0
  191. package/dist/components/RollupItem/labelSize.mobile.js.map +1 -0
  192. package/dist/components/RollupItem/rollupIconVersion.d.ts +1 -0
  193. package/dist/components/RollupItem/rollupIconVersion.js +4 -0
  194. package/dist/components/RollupItem/rollupIconVersion.js.map +1 -0
  195. package/dist/components/RollupItem/rollupIconVersion.mobile.d.ts +1 -0
  196. package/dist/components/RollupItem/rollupIconVersion.mobile.js +4 -0
  197. package/dist/components/RollupItem/rollupIconVersion.mobile.js.map +1 -0
  198. package/dist/components/RollupItem/rollupItemStyles.d.ts +1 -0
  199. package/dist/components/RollupItem/rollupItemStyles.js +4 -0
  200. package/dist/components/RollupItem/rollupItemStyles.js.map +1 -0
  201. package/dist/components/RollupItem/rollupItemStyles.mobile.d.ts +1 -0
  202. package/dist/components/RollupItem/rollupItemStyles.mobile.js +4 -0
  203. package/dist/components/RollupItem/rollupItemStyles.mobile.js.map +1 -0
  204. package/dist/components/Tile/Tile.js +2 -2
  205. package/dist/components/Tile/Tile.js.map +1 -1
  206. package/dist/content-page-repository/transformContentPage.js +12 -4
  207. package/dist/content-page-repository/transformContentPage.js.map +1 -1
  208. package/dist/content-page-repository/transformDocumentLink.d.ts +3 -0
  209. package/dist/content-page-repository/transformDocumentLink.js +32 -0
  210. package/dist/content-page-repository/transformDocumentLink.js.map +1 -0
  211. package/dist/hooks/useForm.d.ts +8 -4
  212. package/dist/hooks/useForm.js +5 -3
  213. package/dist/hooks/useForm.js.map +1 -1
  214. package/dist/hooks/useNormalizedInput.d.ts +11 -0
  215. package/dist/hooks/useNormalizedInput.js +23 -0
  216. package/dist/hooks/useNormalizedInput.js.map +1 -0
  217. package/dist/hooks/useSWRResource.js +2 -1
  218. package/dist/hooks/useSWRResource.js.map +1 -1
  219. package/dist/icons/IconName.d.ts +12 -2
  220. package/dist/icons/IconName.js +11 -1
  221. package/dist/icons/IconName.js.map +1 -1
  222. package/dist/services/search/useSearch.js +3 -2
  223. package/dist/services/search/useSearch.js.map +1 -1
  224. package/dist/services/sitemap/SitemapData.d.ts +1 -1
  225. package/{lib/components/Filtration/FiltrationContent.d.ts → dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +36 -22
  226. package/dist/{components/Filtration/FiltrationContent.js → ui-kit/BaseFiltration/BaseFiltrationContent.js} +1 -1
  227. package/dist/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
  228. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  229. package/{mobile/dist/components/Filtration/FiltrationInner.js → dist/ui-kit/BaseFiltration/BaseFiltrationInner.js} +9 -9
  230. package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
  231. package/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js +32 -0
  232. package/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
  233. package/dist/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  234. package/dist/{components/Filtration/renderFormItem.js → ui-kit/BaseFiltration/renderFiltrationForm.js} +8 -7
  235. package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
  236. package/dist/ui-kit/BenefitItem/BenefitItem.js +4 -5
  237. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  238. package/dist/ui-kit/BlockWrapper.js +1 -1
  239. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  240. package/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  241. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  242. package/dist/ui-kit/ControlProps.d.ts +1 -1
  243. package/dist/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
  244. package/dist/ui-kit/CurrencyInput/CurrencyInput.js +3 -16
  245. package/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  246. package/dist/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  247. package/dist/ui-kit/Icon/IconProps.d.ts +4 -0
  248. package/dist/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  249. package/dist/ui-kit/Icon/RoundedIcon.js +13 -0
  250. package/dist/ui-kit/Icon/RoundedIcon.js.map +1 -0
  251. package/dist/ui-kit/Input/Input.d.ts +1 -1
  252. package/dist/ui-kit/Input/Input.js +3 -2
  253. package/dist/ui-kit/Input/Input.js.map +1 -1
  254. package/dist/ui-kit/Input/InputProps.d.ts +4 -5
  255. package/dist/ui-kit/InputRange/InputRange.js +9 -11
  256. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  257. package/dist/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
  258. package/dist/ui-kit/LinkList/LinkList.d.ts +2 -0
  259. package/dist/ui-kit/LinkList/LinkList.js +12 -0
  260. package/dist/ui-kit/LinkList/LinkList.js.map +1 -0
  261. package/dist/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  262. package/dist/{components/BaseTile/BaseTileProps.js → ui-kit/LinkList/LinkListProps.js} +1 -1
  263. package/dist/ui-kit/LinkList/LinkListProps.js.map +1 -0
  264. package/dist/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  265. package/dist/ui-kit/LinkList/linkListStyles.js +4 -0
  266. package/dist/ui-kit/LinkList/linkListStyles.js.map +1 -0
  267. package/dist/ui-kit/LinkList/linkListStyles.mobile.d.ts +1 -0
  268. package/dist/ui-kit/LinkList/linkListStyles.mobile.js +4 -0
  269. package/dist/ui-kit/LinkList/linkListStyles.mobile.js.map +1 -0
  270. package/dist/ui-kit/List/List.js +2 -1
  271. package/dist/ui-kit/List/List.js.map +1 -1
  272. package/dist/ui-kit/List/ListItem.js +5 -4
  273. package/dist/ui-kit/List/ListItem.js.map +1 -1
  274. package/dist/ui-kit/List/ListProps.d.ts +0 -2
  275. package/dist/ui-kit/NumberInput/NumberInput.d.ts +8 -0
  276. package/dist/ui-kit/NumberInput/NumberInput.js +22 -0
  277. package/dist/ui-kit/NumberInput/NumberInput.js.map +1 -0
  278. package/dist/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
  279. package/dist/ui-kit/PhoneInput/PhoneInput.js +2 -2
  280. package/dist/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
  281. package/dist/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  282. package/dist/ui-kit/SearchBar/SearchBar.js +21 -2
  283. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  284. package/dist/ui-kit/SearchDialog/SearchDialog.js +1 -1
  285. package/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  286. package/dist/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  287. package/dist/ui-kit/SearchDialog/SearchInput.js +2 -2
  288. package/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  289. package/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js +5 -3
  290. package/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
  291. package/dist/utils/identity.d.ts +1 -0
  292. package/dist/utils/identity.js +5 -0
  293. package/dist/utils/identity.js.map +1 -0
  294. package/dist/utils/isEmpty.d.ts +1 -0
  295. package/dist/utils/isEmpty.js +9 -0
  296. package/dist/utils/isEmpty.js.map +1 -0
  297. package/dist/utils/joinList.d.ts +1 -1
  298. package/dist/utils/joinList.js +1 -3
  299. package/dist/utils/joinList.js.map +1 -1
  300. package/dist/utils/toLocalNumberFormat.d.ts +1 -0
  301. package/dist/utils/toLocalNumberFormat.js +8 -0
  302. package/dist/utils/toLocalNumberFormat.js.map +1 -0
  303. package/lib/common.css +1 -1
  304. package/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  305. package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  306. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  307. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  308. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  309. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  310. package/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  311. package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  312. package/lib/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  313. package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  314. package/lib/components/BaseTile/BaseTile.d.ts +12 -2
  315. package/lib/components/BaseTile/BaseTile.js +2 -1
  316. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  317. package/lib/components/Blocks.js +6 -4
  318. package/lib/components/Blocks.js.map +1 -1
  319. package/lib/components/Blocks.mobile.js +0 -2
  320. package/lib/components/Blocks.mobile.js.map +1 -1
  321. package/lib/components/Calculator/CalculatorValueBlock.js +2 -2
  322. package/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
  323. package/lib/components/Calculator/renderInitialFeeInput.js +3 -3
  324. package/lib/components/Calculator/renderInitialFeeInput.js.map +1 -1
  325. package/lib/components/Calculator/renderProposal.js +2 -2
  326. package/lib/components/Calculator/renderProposal.js.map +1 -1
  327. package/lib/components/Calculator/renderRealEstateValue.js +2 -2
  328. package/lib/components/Calculator/renderRealEstateValue.js.map +1 -1
  329. package/lib/components/Calculator/renderWantedSumInput.js +3 -3
  330. package/lib/components/Calculator/renderWantedSumInput.js.map +1 -1
  331. package/lib/components/CardTransfer/CardTransfer.js +10 -8
  332. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  333. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.d.ts +1 -0
  334. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.fixture.d.ts +1 -0
  335. package/lib/components/CarouselEventCard/CarouselEventCard.fixture.d.ts +1 -0
  336. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
  337. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  338. package/lib/components/CarouselLinks/CarouselLinks.fixture.d.ts +1 -0
  339. package/lib/components/CarouselProductCard/CarouselProductCard.fixture.d.ts +1 -0
  340. package/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  341. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  342. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.fixture.d.ts +1 -0
  343. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  344. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  345. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.fixture.d.ts +1 -0
  346. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.fixture.d.ts +1 -0
  347. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.d.ts +1 -0
  348. package/lib/components/ContentPage/ContentPage.page.json +0 -1
  349. package/lib/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  350. package/lib/components/DepositFiltration/DepositFiltration.js +32 -0
  351. package/lib/components/DepositFiltration/DepositFiltration.js.map +1 -0
  352. package/lib/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  353. package/lib/components/DepositFiltration/DepositFiltrationContent.js +2 -0
  354. package/lib/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
  355. package/lib/components/Footer/Footer.mobile.js +3 -9
  356. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  357. package/lib/components/Footer/HorizontalNavigation.mobile.js +2 -1
  358. package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  359. package/lib/components/Footer/HorizontalNavigationLink.js +3 -1
  360. package/lib/components/Footer/HorizontalNavigationLink.js.map +1 -1
  361. package/lib/components/Footer/MediaButton.js +1 -7
  362. package/lib/components/Footer/MediaButton.js.map +1 -1
  363. package/lib/components/Footer/TextInformation.js +3 -1
  364. package/lib/components/Footer/TextInformation.js.map +1 -1
  365. package/lib/components/Footer/buttonStylesWithText.d.ts +2 -0
  366. package/lib/components/Footer/buttonStylesWithText.js +9 -0
  367. package/lib/components/Footer/buttonStylesWithText.js.map +1 -0
  368. package/lib/components/Footer/buttonStylesWithText.mobile.d.ts +2 -0
  369. package/lib/components/Footer/buttonStylesWithText.mobile.js +9 -0
  370. package/lib/components/Footer/buttonStylesWithText.mobile.js.map +1 -0
  371. package/lib/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  372. package/lib/components/Footer/horizontalNavigationLinkStyles.js +2 -0
  373. package/lib/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
  374. package/lib/components/Footer/horizontalNavigationLinkStyles.mobile.d.ts +1 -0
  375. package/lib/components/Footer/horizontalNavigationLinkStyles.mobile.js +2 -0
  376. package/lib/components/Footer/horizontalNavigationLinkStyles.mobile.js.map +1 -0
  377. package/lib/components/Footer/textInformationTextSize.d.ts +1 -0
  378. package/lib/components/Footer/textInformationTextSize.js +2 -0
  379. package/lib/components/Footer/textInformationTextSize.js.map +1 -0
  380. package/lib/components/Footer/textInformationTextSize.mobile.d.ts +1 -0
  381. package/lib/components/Footer/textInformationTextSize.mobile.js +2 -0
  382. package/lib/components/Footer/textInformationTextSize.mobile.js.map +1 -0
  383. package/lib/components/Header/Header.mobile.js +2 -2
  384. package/lib/components/Header/Header.mobile.js.map +1 -1
  385. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  386. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  387. package/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  388. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  389. package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  390. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  391. package/lib/components/MobileAppTile/MobileAppTile.mobile.js +2 -1
  392. package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
  393. package/lib/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  394. package/lib/components/{Filtration/Filtration.fixture.d.ts → MortgageFiltration/MortgageFiltration.fixture.d.ts} +1 -0
  395. package/lib/components/MortgageFiltration/MortgageFiltration.js +15 -0
  396. package/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
  397. package/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  398. package/lib/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
  399. package/lib/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
  400. package/lib/components/OfficeMap/OfficeMap.js +2 -2
  401. package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  402. package/lib/components/OfficeMap/useOfficeMap.d.ts +2 -0
  403. package/lib/components/OfficeMap/useOfficeMap.js +1 -2
  404. package/lib/components/OfficeMap/useOfficeMap.js.map +1 -1
  405. package/lib/components/PictureText/PictureText.js +2 -2
  406. package/lib/components/PictureText/PictureText.js.map +1 -1
  407. package/lib/components/ProductBlock/ProductBlock.js +3 -8
  408. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  409. package/lib/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  410. package/lib/components/ProductBlock/ProductBlockInner.js +4 -8
  411. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  412. package/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  413. package/lib/components/ProductBlock/renderBackwardButton.js +7 -5
  414. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  415. package/lib/components/ProductBlock/renderBenefit.d.ts +2 -2
  416. package/lib/components/ProductBlock/renderBenefit.js +1 -1
  417. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  418. package/lib/components/ProductGallery/ProductGallery.js +10 -19
  419. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  420. package/lib/components/RollupItem/RollupItem.fixture.d.ts +1 -0
  421. package/lib/components/RollupItem/RollupItem.fixture.mobile.d.ts +2 -0
  422. package/lib/components/RollupItem/RollupItem.js +19 -4
  423. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  424. package/lib/components/RollupItem/RollupItemContent.d.ts +2 -0
  425. package/lib/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  426. package/lib/components/RollupItem/foldableSectionStyles.js +2 -0
  427. package/lib/components/RollupItem/foldableSectionStyles.js.map +1 -0
  428. package/lib/components/RollupItem/foldableSectionStyles.mobile.d.ts +1 -0
  429. package/lib/components/RollupItem/foldableSectionStyles.mobile.js +2 -0
  430. package/lib/components/RollupItem/foldableSectionStyles.mobile.js.map +1 -0
  431. package/lib/components/RollupItem/getIconName.d.ts +1 -0
  432. package/lib/components/RollupItem/getIconName.js +2 -0
  433. package/lib/components/RollupItem/getIconName.js.map +1 -0
  434. package/lib/components/RollupItem/getIconName.mobile.d.ts +1 -0
  435. package/lib/components/RollupItem/getIconName.mobile.js +2 -0
  436. package/lib/components/RollupItem/getIconName.mobile.js.map +1 -0
  437. package/lib/components/RollupItem/labelSize.d.ts +1 -0
  438. package/lib/components/RollupItem/labelSize.js +2 -0
  439. package/lib/components/RollupItem/labelSize.js.map +1 -0
  440. package/lib/components/RollupItem/labelSize.mobile.d.ts +1 -0
  441. package/lib/components/RollupItem/labelSize.mobile.js +2 -0
  442. package/lib/components/RollupItem/labelSize.mobile.js.map +1 -0
  443. package/lib/components/RollupItem/rollupIconVersion.d.ts +1 -0
  444. package/lib/components/RollupItem/rollupIconVersion.js +2 -0
  445. package/lib/components/RollupItem/rollupIconVersion.js.map +1 -0
  446. package/lib/components/RollupItem/rollupIconVersion.mobile.d.ts +1 -0
  447. package/lib/components/RollupItem/rollupIconVersion.mobile.js +2 -0
  448. package/lib/components/RollupItem/rollupIconVersion.mobile.js.map +1 -0
  449. package/lib/components/RollupItem/rollupItemStyles.d.ts +1 -0
  450. package/lib/components/RollupItem/rollupItemStyles.js +2 -0
  451. package/lib/components/RollupItem/rollupItemStyles.js.map +1 -0
  452. package/lib/components/RollupItem/rollupItemStyles.mobile.d.ts +1 -0
  453. package/lib/components/RollupItem/rollupItemStyles.mobile.js +2 -0
  454. package/lib/components/RollupItem/rollupItemStyles.mobile.js.map +1 -0
  455. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.fixture.d.ts +1 -0
  456. package/lib/components/Tile/Tile.js +2 -2
  457. package/lib/components/Tile/Tile.js.map +1 -1
  458. package/lib/components/VerticalLayout/VerticalLayout.fixture.d.ts +0 -2
  459. package/lib/components/VerticalLayout/VerticalLayout.fixture.mobile.d.ts +1 -0
  460. package/lib/components/Video/Video.fixture.d.ts +1 -0
  461. package/lib/content-page-repository/transformContentPage.js +12 -4
  462. package/lib/content-page-repository/transformContentPage.js.map +1 -1
  463. package/lib/content-page-repository/transformDocumentLink.d.ts +3 -0
  464. package/lib/content-page-repository/transformDocumentLink.js +26 -0
  465. package/lib/content-page-repository/transformDocumentLink.js.map +1 -0
  466. package/lib/hooks/useForm.d.ts +8 -4
  467. package/lib/hooks/useForm.js +5 -3
  468. package/lib/hooks/useForm.js.map +1 -1
  469. package/lib/hooks/useNormalizedInput.d.ts +11 -0
  470. package/lib/hooks/useNormalizedInput.js +20 -0
  471. package/lib/hooks/useNormalizedInput.js.map +1 -0
  472. package/lib/hooks/useSWRResource.js +2 -1
  473. package/lib/hooks/useSWRResource.js.map +1 -1
  474. package/lib/icons/IconName.d.ts +12 -2
  475. package/lib/icons/IconName.js +11 -1
  476. package/lib/icons/IconName.js.map +1 -1
  477. package/lib/services/search/useSearch.js +3 -2
  478. package/lib/services/search/useSearch.js.map +1 -1
  479. package/lib/services/sitemap/SitemapData.d.ts +1 -1
  480. package/{bundle/components/Filtration/FiltrationContent.d.ts → lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +36 -22
  481. package/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js +2 -0
  482. package/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
  483. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  484. package/lib/{components/Filtration/FiltrationInner.js → ui-kit/BaseFiltration/BaseFiltrationInner.js} +8 -8
  485. package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
  486. package/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js +29 -0
  487. package/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
  488. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  489. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +20 -0
  490. package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
  491. package/lib/ui-kit/BenefitItem/BenefitItem.js +4 -5
  492. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  493. package/lib/ui-kit/BlockWrapper.js +1 -1
  494. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  495. package/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  496. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  497. package/lib/ui-kit/ControlProps.d.ts +1 -1
  498. package/lib/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
  499. package/lib/ui-kit/CurrencyInput/CurrencyInput.js +3 -16
  500. package/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  501. package/lib/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  502. package/lib/ui-kit/Heading/Heading.fixture.d.ts +1 -0
  503. package/lib/ui-kit/Heading/Heading.fixture.mobile.d.ts +1 -0
  504. package/lib/ui-kit/Icon/IconProps.d.ts +4 -0
  505. package/lib/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  506. package/lib/ui-kit/Icon/RoundedIcon.js +11 -0
  507. package/lib/ui-kit/Icon/RoundedIcon.js.map +1 -0
  508. package/lib/ui-kit/Input/Input.d.ts +1 -1
  509. package/lib/ui-kit/Input/Input.js +3 -2
  510. package/lib/ui-kit/Input/Input.js.map +1 -1
  511. package/lib/ui-kit/Input/InputProps.d.ts +4 -5
  512. package/lib/ui-kit/InputRange/InputRange.js +10 -12
  513. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  514. package/lib/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
  515. package/lib/ui-kit/LinkButton/LinkButton.fixture.d.ts +1 -0
  516. package/lib/ui-kit/LinkList/LinkList.d.ts +2 -0
  517. package/lib/ui-kit/LinkList/LinkList.fixture.d.ts +8 -0
  518. package/lib/ui-kit/LinkList/LinkList.js +10 -0
  519. package/lib/ui-kit/LinkList/LinkList.js.map +1 -0
  520. package/lib/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  521. package/lib/ui-kit/LinkList/LinkListProps.js +2 -0
  522. package/lib/ui-kit/LinkList/LinkListProps.js.map +1 -0
  523. package/lib/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  524. package/lib/ui-kit/LinkList/linkListStyles.js +2 -0
  525. package/lib/ui-kit/LinkList/linkListStyles.js.map +1 -0
  526. package/lib/ui-kit/LinkList/linkListStyles.mobile.d.ts +1 -0
  527. package/lib/ui-kit/LinkList/linkListStyles.mobile.js +2 -0
  528. package/lib/ui-kit/LinkList/linkListStyles.mobile.js.map +1 -0
  529. package/lib/ui-kit/List/List.js +2 -1
  530. package/lib/ui-kit/List/List.js.map +1 -1
  531. package/lib/ui-kit/List/ListItem.js +5 -4
  532. package/lib/ui-kit/List/ListItem.js.map +1 -1
  533. package/lib/ui-kit/List/ListProps.d.ts +0 -2
  534. package/lib/ui-kit/NumberInput/NumberInput.d.ts +8 -0
  535. package/lib/ui-kit/NumberInput/NumberInput.fixture.d.ts +7 -0
  536. package/lib/ui-kit/NumberInput/NumberInput.js +20 -0
  537. package/lib/ui-kit/NumberInput/NumberInput.js.map +1 -0
  538. package/lib/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
  539. package/lib/ui-kit/PhoneInput/PhoneInput.js +2 -2
  540. package/lib/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
  541. package/lib/ui-kit/RichText/RichText.fixture.d.ts +1 -0
  542. package/lib/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  543. package/lib/ui-kit/SearchBar/SearchBar.js +22 -3
  544. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  545. package/lib/ui-kit/SearchDialog/SearchDialog.js +1 -1
  546. package/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  547. package/lib/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  548. package/lib/ui-kit/SearchDialog/SearchInput.js +2 -2
  549. package/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  550. package/lib/ui-kit/Select/Select.fixture.d.ts +1 -0
  551. package/lib/ui-kit/SlideCheckbox/SlideCheckbox.fixture.d.ts +1 -0
  552. package/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js +5 -3
  553. package/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
  554. package/lib/ui-kit/Tags/Tags.fixture.d.ts +1 -0
  555. package/lib/utils/identity.d.ts +1 -0
  556. package/lib/utils/identity.js +2 -0
  557. package/lib/utils/identity.js.map +1 -0
  558. package/lib/utils/isEmpty.d.ts +1 -0
  559. package/lib/utils/isEmpty.js +6 -0
  560. package/lib/utils/isEmpty.js.map +1 -0
  561. package/lib/utils/joinList.d.ts +1 -1
  562. package/lib/utils/joinList.js +1 -3
  563. package/lib/utils/joinList.js.map +1 -1
  564. package/lib/utils/toLocalNumberFormat.d.ts +1 -0
  565. package/lib/utils/toLocalNumberFormat.js +5 -0
  566. package/lib/utils/toLocalNumberFormat.js.map +1 -0
  567. package/mobile/bundle/bundle.umd.js +267 -242
  568. package/mobile/bundle/bundle.umd.min.js +1 -1
  569. package/mobile/bundle/components/BaseTile/BaseTile.d.ts +12 -2
  570. package/mobile/bundle/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  571. package/mobile/bundle/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  572. package/mobile/bundle/components/Footer/buttonStylesWithText.d.ts +2 -0
  573. package/mobile/bundle/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  574. package/mobile/bundle/components/Footer/textInformationTextSize.d.ts +1 -0
  575. package/mobile/bundle/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  576. package/mobile/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  577. package/mobile/bundle/components/OfficeMap/useOfficeMap.d.ts +2 -0
  578. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  579. package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  580. package/mobile/bundle/components/ProductBlock/renderBenefit.d.ts +2 -2
  581. package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +2 -0
  582. package/mobile/bundle/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  583. package/mobile/bundle/components/RollupItem/getIconName.d.ts +1 -0
  584. package/mobile/bundle/components/RollupItem/labelSize.d.ts +1 -0
  585. package/mobile/bundle/components/RollupItem/rollupIconVersion.d.ts +1 -0
  586. package/mobile/bundle/components/RollupItem/rollupItemStyles.d.ts +1 -0
  587. package/mobile/bundle/content-page-repository/transformDocumentLink.d.ts +3 -0
  588. package/mobile/bundle/hooks/useForm.d.ts +8 -4
  589. package/mobile/bundle/hooks/useNormalizedInput.d.ts +11 -0
  590. package/mobile/bundle/icons/IconName.d.ts +12 -2
  591. package/mobile/bundle/services/sitemap/SitemapData.d.ts +1 -1
  592. package/mobile/bundle/{components/Filtration/FiltrationContent.d.ts → ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +36 -22
  593. package/mobile/bundle/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  594. package/mobile/bundle/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  595. package/mobile/bundle/ui-kit/ControlProps.d.ts +1 -1
  596. package/mobile/bundle/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
  597. package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +4 -0
  598. package/mobile/bundle/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  599. package/mobile/bundle/ui-kit/Input/Input.d.ts +1 -1
  600. package/mobile/bundle/ui-kit/Input/InputProps.d.ts +4 -5
  601. package/mobile/bundle/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
  602. package/mobile/bundle/ui-kit/LinkList/LinkList.d.ts +2 -0
  603. package/mobile/bundle/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  604. package/mobile/bundle/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  605. package/mobile/bundle/ui-kit/List/ListProps.d.ts +0 -2
  606. package/mobile/bundle/ui-kit/NumberInput/NumberInput.d.ts +8 -0
  607. package/mobile/bundle/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
  608. package/mobile/bundle/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  609. package/mobile/bundle/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  610. package/mobile/bundle/utils/identity.d.ts +1 -0
  611. package/mobile/bundle/utils/isEmpty.d.ts +1 -0
  612. package/mobile/bundle/utils/joinList.d.ts +1 -1
  613. package/mobile/bundle/utils/toLocalNumberFormat.d.ts +1 -0
  614. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  615. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  616. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  617. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  618. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  619. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  620. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  621. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  622. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  623. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  624. package/mobile/dist/components/BaseTile/BaseTile.d.ts +12 -2
  625. package/mobile/dist/components/BaseTile/BaseTile.js +2 -1
  626. package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
  627. package/mobile/dist/components/Blocks.js +0 -2
  628. package/mobile/dist/components/Blocks.js.map +1 -1
  629. package/mobile/dist/components/Calculator/CalculatorValueBlock.js +2 -2
  630. package/mobile/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
  631. package/mobile/dist/components/Calculator/renderInitialFeeInput.js +3 -3
  632. package/mobile/dist/components/Calculator/renderInitialFeeInput.js.map +1 -1
  633. package/mobile/dist/components/Calculator/renderProposal.js +2 -2
  634. package/mobile/dist/components/Calculator/renderProposal.js.map +1 -1
  635. package/mobile/dist/components/Calculator/renderRealEstateValue.js +2 -2
  636. package/mobile/dist/components/Calculator/renderRealEstateValue.js.map +1 -1
  637. package/mobile/dist/components/Calculator/renderWantedSumInput.js +3 -3
  638. package/mobile/dist/components/Calculator/renderWantedSumInput.js.map +1 -1
  639. package/mobile/dist/components/CardTransfer/CardTransfer.js +10 -8
  640. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  641. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
  642. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  643. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  644. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  645. package/mobile/dist/components/ContentPage/ContentPage.page.json +0 -1
  646. package/mobile/dist/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  647. package/mobile/dist/components/DepositFiltration/DepositFiltration.js +34 -0
  648. package/mobile/dist/components/DepositFiltration/DepositFiltration.js.map +1 -0
  649. package/mobile/dist/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  650. package/mobile/dist/components/DepositFiltration/DepositFiltrationContent.js +2 -0
  651. package/mobile/dist/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
  652. package/mobile/dist/components/Footer/Footer.js +3 -9
  653. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  654. package/mobile/dist/components/Footer/HorizontalNavigation.js +2 -1
  655. package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  656. package/mobile/dist/components/Footer/HorizontalNavigationLink.js +3 -1
  657. package/mobile/dist/components/Footer/HorizontalNavigationLink.js.map +1 -1
  658. package/mobile/dist/components/Footer/MediaButton.js +2 -8
  659. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  660. package/mobile/dist/components/Footer/TextInformation.js +3 -3
  661. package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
  662. package/mobile/dist/components/Footer/buttonStylesWithText.d.ts +2 -0
  663. package/mobile/dist/components/Footer/buttonStylesWithText.js +12 -0
  664. package/mobile/dist/components/Footer/buttonStylesWithText.js.map +1 -0
  665. package/mobile/dist/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  666. package/mobile/dist/components/Footer/horizontalNavigationLinkStyles.js +4 -0
  667. package/mobile/dist/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
  668. package/mobile/dist/components/Footer/textInformationTextSize.d.ts +1 -0
  669. package/mobile/dist/components/Footer/textInformationTextSize.js +4 -0
  670. package/mobile/dist/components/Footer/textInformationTextSize.js.map +1 -0
  671. package/mobile/dist/components/Header/Header.js +2 -2
  672. package/mobile/dist/components/Header/Header.js.map +1 -1
  673. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  674. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  675. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  676. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  677. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +2 -1
  678. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  679. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  680. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js +17 -0
  681. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
  682. package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  683. package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
  684. package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
  685. package/mobile/dist/components/OfficeMap/OfficeMap.js +2 -2
  686. package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  687. package/mobile/dist/components/OfficeMap/useOfficeMap.d.ts +2 -0
  688. package/mobile/dist/components/OfficeMap/useOfficeMap.js +1 -2
  689. package/mobile/dist/components/OfficeMap/useOfficeMap.js.map +1 -1
  690. package/mobile/dist/components/PictureText/PictureText.js +2 -2
  691. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  692. package/mobile/dist/components/ProductBlock/ProductBlock.js +5 -4
  693. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  694. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  695. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +6 -7
  696. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  697. package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  698. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +7 -5
  699. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  700. package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +2 -2
  701. package/mobile/dist/components/ProductBlock/renderBenefit.js +1 -1
  702. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  703. package/mobile/dist/components/ProductGallery/ProductGallery.js +9 -18
  704. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  705. package/mobile/dist/components/RollupItem/RollupItem.js +18 -8
  706. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  707. package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +2 -0
  708. package/mobile/dist/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  709. package/mobile/dist/components/RollupItem/foldableSectionStyles.js +4 -0
  710. package/mobile/dist/components/RollupItem/foldableSectionStyles.js.map +1 -0
  711. package/mobile/dist/components/RollupItem/getIconName.d.ts +1 -0
  712. package/mobile/dist/components/RollupItem/getIconName.js +5 -0
  713. package/mobile/dist/components/RollupItem/getIconName.js.map +1 -0
  714. package/mobile/dist/components/RollupItem/labelSize.d.ts +1 -0
  715. package/mobile/dist/components/RollupItem/labelSize.js +4 -0
  716. package/mobile/dist/components/RollupItem/labelSize.js.map +1 -0
  717. package/mobile/dist/components/RollupItem/rollupIconVersion.d.ts +1 -0
  718. package/mobile/dist/components/RollupItem/rollupIconVersion.js +4 -0
  719. package/mobile/dist/components/RollupItem/rollupIconVersion.js.map +1 -0
  720. package/mobile/dist/components/RollupItem/rollupItemStyles.d.ts +1 -0
  721. package/mobile/dist/components/RollupItem/rollupItemStyles.js +4 -0
  722. package/mobile/dist/components/RollupItem/rollupItemStyles.js.map +1 -0
  723. package/mobile/dist/components/Tile/Tile.js +2 -2
  724. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  725. package/mobile/dist/content-page-repository/transformContentPage.js +12 -4
  726. package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
  727. package/mobile/dist/content-page-repository/transformDocumentLink.d.ts +3 -0
  728. package/mobile/dist/content-page-repository/transformDocumentLink.js +32 -0
  729. package/mobile/dist/content-page-repository/transformDocumentLink.js.map +1 -0
  730. package/mobile/dist/hooks/useForm.d.ts +8 -4
  731. package/mobile/dist/hooks/useForm.js +5 -3
  732. package/mobile/dist/hooks/useForm.js.map +1 -1
  733. package/mobile/dist/hooks/useNormalizedInput.d.ts +11 -0
  734. package/mobile/dist/hooks/useNormalizedInput.js +23 -0
  735. package/mobile/dist/hooks/useNormalizedInput.js.map +1 -0
  736. package/mobile/dist/hooks/useSWRResource.js +2 -1
  737. package/mobile/dist/hooks/useSWRResource.js.map +1 -1
  738. package/mobile/dist/icons/IconName.d.ts +12 -2
  739. package/mobile/dist/icons/IconName.js +11 -1
  740. package/mobile/dist/icons/IconName.js.map +1 -1
  741. package/mobile/dist/services/search/useSearch.js +3 -2
  742. package/mobile/dist/services/search/useSearch.js.map +1 -1
  743. package/mobile/dist/services/sitemap/SitemapData.d.ts +1 -1
  744. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +102 -0
  745. package/{dist/components/LinkList/LinkListContent.js → mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.js} +1 -1
  746. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
  747. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  748. package/{dist/components/Filtration/FiltrationInner.js → mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js} +9 -9
  749. package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
  750. package/mobile/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js +32 -0
  751. package/mobile/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
  752. package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  753. package/mobile/dist/{components/Filtration/renderFormItem.js → ui-kit/BaseFiltration/renderFiltrationForm.js} +8 -7
  754. package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
  755. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +4 -5
  756. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  757. package/mobile/dist/ui-kit/BlockWrapper.js +1 -1
  758. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  759. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  760. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  761. package/mobile/dist/ui-kit/ControlProps.d.ts +1 -1
  762. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
  763. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js +3 -16
  764. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  765. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  766. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +4 -0
  767. package/mobile/dist/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  768. package/mobile/dist/ui-kit/Icon/RoundedIcon.js +13 -0
  769. package/mobile/dist/ui-kit/Icon/RoundedIcon.js.map +1 -0
  770. package/mobile/dist/ui-kit/Input/Input.d.ts +1 -1
  771. package/mobile/dist/ui-kit/Input/Input.js +3 -2
  772. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  773. package/mobile/dist/ui-kit/Input/InputProps.d.ts +4 -5
  774. package/mobile/dist/ui-kit/InputRange/InputRange.js +9 -11
  775. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  776. package/mobile/dist/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
  777. package/mobile/dist/ui-kit/LinkList/LinkList.d.ts +2 -0
  778. package/mobile/dist/ui-kit/LinkList/LinkList.js +12 -0
  779. package/mobile/dist/ui-kit/LinkList/LinkList.js.map +1 -0
  780. package/mobile/dist/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  781. package/mobile/dist/{components/BaseTile/BaseTileProps.js → ui-kit/LinkList/LinkListProps.js} +1 -1
  782. package/mobile/dist/ui-kit/LinkList/LinkListProps.js.map +1 -0
  783. package/mobile/dist/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  784. package/mobile/dist/ui-kit/LinkList/linkListStyles.js +4 -0
  785. package/mobile/dist/ui-kit/LinkList/linkListStyles.js.map +1 -0
  786. package/mobile/dist/ui-kit/List/List.js +2 -1
  787. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  788. package/mobile/dist/ui-kit/List/ListItem.js +5 -4
  789. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  790. package/mobile/dist/ui-kit/List/ListProps.d.ts +0 -2
  791. package/mobile/dist/ui-kit/NumberInput/NumberInput.d.ts +8 -0
  792. package/mobile/dist/ui-kit/NumberInput/NumberInput.js +22 -0
  793. package/mobile/dist/ui-kit/NumberInput/NumberInput.js.map +1 -0
  794. package/mobile/dist/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
  795. package/mobile/dist/ui-kit/PhoneInput/PhoneInput.js +2 -2
  796. package/mobile/dist/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
  797. package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  798. package/mobile/dist/ui-kit/SearchBar/SearchBar.js +21 -2
  799. package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  800. package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js +1 -1
  801. package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  802. package/mobile/dist/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  803. package/mobile/dist/ui-kit/SearchDialog/SearchInput.js +2 -2
  804. package/mobile/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  805. package/mobile/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js +5 -3
  806. package/mobile/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
  807. package/mobile/dist/utils/identity.d.ts +1 -0
  808. package/mobile/dist/utils/identity.js +5 -0
  809. package/mobile/dist/utils/identity.js.map +1 -0
  810. package/mobile/dist/utils/isEmpty.d.ts +1 -0
  811. package/mobile/dist/utils/isEmpty.js +9 -0
  812. package/mobile/dist/utils/isEmpty.js.map +1 -0
  813. package/mobile/dist/utils/joinList.d.ts +1 -1
  814. package/mobile/dist/utils/joinList.js +1 -3
  815. package/mobile/dist/utils/joinList.js.map +1 -1
  816. package/mobile/dist/utils/toLocalNumberFormat.d.ts +1 -0
  817. package/mobile/dist/utils/toLocalNumberFormat.js +8 -0
  818. package/mobile/dist/utils/toLocalNumberFormat.js.map +1 -0
  819. package/mobile/lib/common.css +1 -1
  820. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
  821. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  822. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
  823. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
  824. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
  825. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
  826. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
  827. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
  828. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js +1 -1
  829. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
  830. package/mobile/lib/components/BaseTile/BaseTile.d.ts +12 -2
  831. package/mobile/lib/components/BaseTile/BaseTile.js +2 -1
  832. package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
  833. package/mobile/lib/components/Blocks.js +0 -2
  834. package/mobile/lib/components/Blocks.js.map +1 -1
  835. package/mobile/lib/components/Calculator/CalculatorValueBlock.js +2 -2
  836. package/mobile/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
  837. package/mobile/lib/components/Calculator/renderInitialFeeInput.js +3 -3
  838. package/mobile/lib/components/Calculator/renderInitialFeeInput.js.map +1 -1
  839. package/mobile/lib/components/Calculator/renderProposal.js +2 -2
  840. package/mobile/lib/components/Calculator/renderProposal.js.map +1 -1
  841. package/mobile/lib/components/Calculator/renderRealEstateValue.js +2 -2
  842. package/mobile/lib/components/Calculator/renderRealEstateValue.js.map +1 -1
  843. package/mobile/lib/components/Calculator/renderWantedSumInput.js +3 -3
  844. package/mobile/lib/components/Calculator/renderWantedSumInput.js.map +1 -1
  845. package/mobile/lib/components/CardTransfer/CardTransfer.js +10 -8
  846. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  847. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
  848. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  849. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  850. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  851. package/mobile/lib/components/ContentPage/ContentPage.page.json +0 -1
  852. package/mobile/lib/components/DepositFiltration/DepositFiltration.d.ts +6 -0
  853. package/mobile/lib/components/DepositFiltration/DepositFiltration.js +32 -0
  854. package/mobile/lib/components/DepositFiltration/DepositFiltration.js.map +1 -0
  855. package/mobile/lib/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
  856. package/mobile/lib/components/DepositFiltration/DepositFiltrationContent.js +2 -0
  857. package/mobile/lib/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
  858. package/mobile/lib/components/Footer/Footer.js +3 -9
  859. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  860. package/mobile/lib/components/Footer/HorizontalNavigation.js +2 -1
  861. package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  862. package/mobile/lib/components/Footer/HorizontalNavigationLink.js +3 -1
  863. package/mobile/lib/components/Footer/HorizontalNavigationLink.js.map +1 -1
  864. package/mobile/lib/components/Footer/MediaButton.js +1 -7
  865. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  866. package/mobile/lib/components/Footer/TextInformation.js +3 -3
  867. package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
  868. package/mobile/lib/components/Footer/buttonStylesWithText.d.ts +2 -0
  869. package/mobile/lib/components/Footer/buttonStylesWithText.js +9 -0
  870. package/mobile/lib/components/Footer/buttonStylesWithText.js.map +1 -0
  871. package/mobile/lib/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
  872. package/mobile/lib/components/Footer/horizontalNavigationLinkStyles.js +2 -0
  873. package/mobile/lib/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
  874. package/mobile/lib/components/Footer/textInformationTextSize.d.ts +1 -0
  875. package/mobile/lib/components/Footer/textInformationTextSize.js +2 -0
  876. package/mobile/lib/components/Footer/textInformationTextSize.js.map +1 -0
  877. package/mobile/lib/components/Header/Header.js +2 -2
  878. package/mobile/lib/components/Header/Header.js.map +1 -1
  879. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  880. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  881. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  882. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  883. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +2 -1
  884. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  885. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
  886. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js +15 -0
  887. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
  888. package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
  889. package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
  890. package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
  891. package/mobile/lib/components/OfficeMap/OfficeMap.js +2 -2
  892. package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  893. package/mobile/lib/components/OfficeMap/useOfficeMap.d.ts +2 -0
  894. package/mobile/lib/components/OfficeMap/useOfficeMap.js +1 -2
  895. package/mobile/lib/components/OfficeMap/useOfficeMap.js.map +1 -1
  896. package/mobile/lib/components/PictureText/PictureText.js +2 -2
  897. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  898. package/mobile/lib/components/ProductBlock/ProductBlock.js +6 -5
  899. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  900. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +0 -13
  901. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +6 -7
  902. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  903. package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  904. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +7 -5
  905. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  906. package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +2 -2
  907. package/mobile/lib/components/ProductBlock/renderBenefit.js +1 -1
  908. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  909. package/mobile/lib/components/ProductGallery/ProductGallery.js +10 -19
  910. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  911. package/mobile/lib/components/RollupItem/RollupItem.js +18 -8
  912. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  913. package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +2 -0
  914. package/mobile/lib/components/RollupItem/foldableSectionStyles.d.ts +1 -0
  915. package/mobile/lib/components/RollupItem/foldableSectionStyles.js +2 -0
  916. package/mobile/lib/components/RollupItem/foldableSectionStyles.js.map +1 -0
  917. package/mobile/lib/components/RollupItem/getIconName.d.ts +1 -0
  918. package/mobile/lib/components/RollupItem/getIconName.js +2 -0
  919. package/mobile/lib/components/RollupItem/getIconName.js.map +1 -0
  920. package/mobile/lib/components/RollupItem/labelSize.d.ts +1 -0
  921. package/mobile/lib/components/RollupItem/labelSize.js +2 -0
  922. package/mobile/lib/components/RollupItem/labelSize.js.map +1 -0
  923. package/mobile/lib/components/RollupItem/rollupIconVersion.d.ts +1 -0
  924. package/mobile/lib/components/RollupItem/rollupIconVersion.js +2 -0
  925. package/mobile/lib/components/RollupItem/rollupIconVersion.js.map +1 -0
  926. package/mobile/lib/components/RollupItem/rollupItemStyles.d.ts +1 -0
  927. package/mobile/lib/components/RollupItem/rollupItemStyles.js +2 -0
  928. package/mobile/lib/components/RollupItem/rollupItemStyles.js.map +1 -0
  929. package/mobile/lib/components/Tile/Tile.js +2 -2
  930. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  931. package/mobile/lib/content-page-repository/transformContentPage.js +12 -4
  932. package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
  933. package/mobile/lib/content-page-repository/transformDocumentLink.d.ts +3 -0
  934. package/mobile/lib/content-page-repository/transformDocumentLink.js +26 -0
  935. package/mobile/lib/content-page-repository/transformDocumentLink.js.map +1 -0
  936. package/mobile/lib/hooks/useForm.d.ts +8 -4
  937. package/mobile/lib/hooks/useForm.js +5 -3
  938. package/mobile/lib/hooks/useForm.js.map +1 -1
  939. package/mobile/lib/hooks/useNormalizedInput.d.ts +11 -0
  940. package/mobile/lib/hooks/useNormalizedInput.js +20 -0
  941. package/mobile/lib/hooks/useNormalizedInput.js.map +1 -0
  942. package/mobile/lib/hooks/useSWRResource.js +2 -1
  943. package/mobile/lib/hooks/useSWRResource.js.map +1 -1
  944. package/mobile/lib/icons/IconName.d.ts +12 -2
  945. package/mobile/lib/icons/IconName.js +11 -1
  946. package/mobile/lib/icons/IconName.js.map +1 -1
  947. package/mobile/lib/services/search/useSearch.js +3 -2
  948. package/mobile/lib/services/search/useSearch.js.map +1 -1
  949. package/mobile/lib/services/sitemap/SitemapData.d.ts +1 -1
  950. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +102 -0
  951. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js +2 -0
  952. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
  953. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
  954. package/mobile/lib/{components/Filtration/FiltrationInner.js → ui-kit/BaseFiltration/BaseFiltrationInner.js} +8 -8
  955. package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
  956. package/mobile/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js +29 -0
  957. package/mobile/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
  958. package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
  959. package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +20 -0
  960. package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
  961. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +4 -5
  962. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  963. package/mobile/lib/ui-kit/BlockWrapper.js +1 -1
  964. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  965. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  966. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  967. package/mobile/lib/ui-kit/ControlProps.d.ts +1 -1
  968. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
  969. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js +3 -16
  970. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  971. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  972. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +4 -0
  973. package/mobile/lib/ui-kit/Icon/RoundedIcon.d.ts +2 -0
  974. package/mobile/lib/ui-kit/Icon/RoundedIcon.js +11 -0
  975. package/mobile/lib/ui-kit/Icon/RoundedIcon.js.map +1 -0
  976. package/mobile/lib/ui-kit/Input/Input.d.ts +1 -1
  977. package/mobile/lib/ui-kit/Input/Input.js +3 -2
  978. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  979. package/mobile/lib/ui-kit/Input/InputProps.d.ts +4 -5
  980. package/mobile/lib/ui-kit/InputRange/InputRange.js +10 -12
  981. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  982. package/mobile/lib/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
  983. package/mobile/lib/ui-kit/LinkList/LinkList.d.ts +2 -0
  984. package/mobile/lib/ui-kit/LinkList/LinkList.js +10 -0
  985. package/mobile/lib/ui-kit/LinkList/LinkList.js.map +1 -0
  986. package/mobile/lib/ui-kit/LinkList/LinkListProps.d.ts +5 -0
  987. package/mobile/lib/ui-kit/LinkList/LinkListProps.js +2 -0
  988. package/mobile/lib/ui-kit/LinkList/LinkListProps.js.map +1 -0
  989. package/mobile/lib/ui-kit/LinkList/linkListStyles.d.ts +1 -0
  990. package/mobile/lib/ui-kit/LinkList/linkListStyles.js +2 -0
  991. package/mobile/lib/ui-kit/LinkList/linkListStyles.js.map +1 -0
  992. package/mobile/lib/ui-kit/List/List.js +2 -1
  993. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  994. package/mobile/lib/ui-kit/List/ListItem.js +5 -4
  995. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  996. package/mobile/lib/ui-kit/List/ListProps.d.ts +0 -2
  997. package/mobile/lib/ui-kit/NumberInput/NumberInput.d.ts +8 -0
  998. package/mobile/lib/ui-kit/NumberInput/NumberInput.js +20 -0
  999. package/mobile/lib/ui-kit/NumberInput/NumberInput.js.map +1 -0
  1000. package/mobile/lib/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
  1001. package/mobile/lib/ui-kit/PhoneInput/PhoneInput.js +2 -2
  1002. package/mobile/lib/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
  1003. package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +5 -2
  1004. package/mobile/lib/ui-kit/SearchBar/SearchBar.js +22 -3
  1005. package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  1006. package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js +1 -1
  1007. package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
  1008. package/mobile/lib/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
  1009. package/mobile/lib/ui-kit/SearchDialog/SearchInput.js +2 -2
  1010. package/mobile/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
  1011. package/mobile/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js +5 -3
  1012. package/mobile/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
  1013. package/mobile/lib/utils/identity.d.ts +1 -0
  1014. package/mobile/lib/utils/identity.js +2 -0
  1015. package/mobile/lib/utils/identity.js.map +1 -0
  1016. package/mobile/lib/utils/isEmpty.d.ts +1 -0
  1017. package/mobile/lib/utils/isEmpty.js +6 -0
  1018. package/mobile/lib/utils/isEmpty.js.map +1 -0
  1019. package/mobile/lib/utils/joinList.d.ts +1 -1
  1020. package/mobile/lib/utils/joinList.js +1 -3
  1021. package/mobile/lib/utils/joinList.js.map +1 -1
  1022. package/mobile/lib/utils/toLocalNumberFormat.d.ts +1 -0
  1023. package/mobile/lib/utils/toLocalNumberFormat.js +5 -0
  1024. package/mobile/lib/utils/toLocalNumberFormat.js.map +1 -0
  1025. package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +2 -2
  1026. package/mobile/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +4 -4
  1027. package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +4 -4
  1028. package/mobile/src/components/ApplicationForm/renderCreditDataOrganization.tsx +6 -10
  1029. package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +4 -4
  1030. package/mobile/src/components/BaseTile/BaseTile.tsx +32 -9
  1031. package/mobile/src/components/Blocks.ts +0 -2
  1032. package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +2 -2
  1033. package/mobile/src/components/Calculator/renderInitialFeeInput.tsx +3 -3
  1034. package/mobile/src/components/Calculator/renderProposal.tsx +2 -2
  1035. package/mobile/src/components/Calculator/renderRealEstateValue.tsx +2 -2
  1036. package/mobile/src/components/Calculator/renderWantedSumInput.tsx +3 -3
  1037. package/mobile/src/components/CardTransfer/CardTransfer.tsx +16 -12
  1038. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +39 -40
  1039. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +4 -2
  1040. package/mobile/src/components/ContentPage/ContentPage.page.json +0 -1
  1041. package/mobile/src/components/DepositFiltration/DepositFiltration.example.json +61 -0
  1042. package/mobile/src/components/DepositFiltration/DepositFiltration.tsx +66 -0
  1043. package/mobile/src/components/DepositFiltration/DepositFiltrationContent.ts +39 -0
  1044. package/mobile/src/components/Footer/Footer.tsx +21 -30
  1045. package/mobile/src/components/Footer/HorizontalNavigation.tsx +4 -3
  1046. package/mobile/src/components/Footer/HorizontalNavigationLink.tsx +3 -1
  1047. package/mobile/src/components/Footer/MediaButton.tsx +1 -10
  1048. package/mobile/src/components/Footer/TextInformation.tsx +17 -17
  1049. package/mobile/src/components/Footer/buttonStylesWithText.ts +15 -0
  1050. package/mobile/src/components/Footer/horizontalNavigationLinkStyles.ts +1 -0
  1051. package/mobile/src/components/Footer/textInformationTextSize.ts +1 -0
  1052. package/mobile/src/components/Header/Header.tsx +2 -2
  1053. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
  1054. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -6
  1055. package/mobile/src/components/LinkDocs/LinkDocs.ui.json +9 -1
  1056. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +5 -1
  1057. package/mobile/src/components/MortgageFiltration/MortgageFiltration.tsx +29 -0
  1058. package/mobile/src/components/MortgageFiltration/MortgageFiltrationContent.ts +23 -0
  1059. package/mobile/src/components/OfficeMap/OfficeMap.tsx +2 -2
  1060. package/mobile/src/components/OfficeMap/useOfficeMap.ts +1 -3
  1061. package/mobile/src/components/PictureText/PictureText.tsx +2 -2
  1062. package/mobile/src/components/ProductBlock/ProductBlock.tsx +16 -9
  1063. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +0 -13
  1064. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +43 -45
  1065. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +11 -14
  1066. package/mobile/src/components/ProductBlock/renderBenefit.tsx +3 -12
  1067. package/mobile/src/components/ProductGallery/ProductGallery.tsx +50 -73
  1068. package/mobile/src/components/RollupItem/RollupItem.tsx +52 -38
  1069. package/mobile/src/components/RollupItem/RollupItemContent.ts +2 -0
  1070. package/mobile/src/components/RollupItem/foldableSectionStyles.ts +1 -0
  1071. package/mobile/src/components/RollupItem/getIconName.tsx +2 -0
  1072. package/mobile/src/components/RollupItem/labelSize.tsx +1 -0
  1073. package/mobile/src/components/RollupItem/rollupIconVersion.tsx +1 -0
  1074. package/mobile/src/components/RollupItem/rollupItemStyles.ts +1 -0
  1075. package/mobile/src/components/Tile/Tile.tsx +2 -8
  1076. package/mobile/src/content-page-repository/transformContentPage.ts +19 -7
  1077. package/mobile/src/content-page-repository/transformDocumentLink.ts +37 -0
  1078. package/mobile/src/hooks/useForm.ts +16 -8
  1079. package/mobile/src/hooks/useNormalizedInput.ts +33 -0
  1080. package/mobile/src/hooks/useSWRResource.ts +3 -1
  1081. package/mobile/src/icons/ArrowDownSolidIcon.svg +1 -0
  1082. package/mobile/src/icons/ArrowUpSolidIcon.svg +1 -0
  1083. package/mobile/src/icons/BagIcon.svg +1 -0
  1084. package/mobile/src/icons/BriefcaseIcon.svg +7 -0
  1085. package/mobile/src/icons/ClientIcon.svg +1 -0
  1086. package/mobile/src/icons/IconName.ts +5 -5
  1087. package/mobile/src/services/search/useSearch.ts +3 -2
  1088. package/mobile/src/services/sitemap/SitemapData.ts +1 -1
  1089. package/mobile/src/{components/Filtration/FiltrationContent.ts → ui-kit/BaseFiltration/BaseFiltrationContent.ts} +38 -24
  1090. package/mobile/src/{components/Filtration/FiltrationInner.tsx → ui-kit/BaseFiltration/BaseFiltrationInner.tsx} +9 -9
  1091. package/mobile/src/ui-kit/BaseFiltration/checkShouldRenderBlock.ts +49 -0
  1092. package/mobile/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +75 -0
  1093. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +17 -19
  1094. package/mobile/src/ui-kit/BlockWrapper.tsx +1 -9
  1095. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
  1096. package/mobile/src/ui-kit/ControlProps.ts +1 -1
  1097. package/mobile/src/ui-kit/CurrencyInput/CurrencyInput.tsx +12 -38
  1098. package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +1 -1
  1099. package/mobile/src/ui-kit/Icon/IconProps.ts +5 -0
  1100. package/mobile/src/ui-kit/Icon/RoundedIcon.tsx +16 -0
  1101. package/mobile/src/ui-kit/Input/Input.tsx +33 -16
  1102. package/mobile/src/ui-kit/Input/InputProps.ts +4 -5
  1103. package/mobile/src/ui-kit/InputRange/InputRange.tsx +43 -49
  1104. package/mobile/src/ui-kit/InputRange/InputRangeProps.ts +2 -4
  1105. package/mobile/src/ui-kit/LinkList/LinkList.tsx +25 -0
  1106. package/mobile/src/ui-kit/LinkList/LinkListProps.tsx +6 -0
  1107. package/mobile/src/ui-kit/LinkList/linkListStyles.ts +1 -0
  1108. package/mobile/src/ui-kit/List/List.tsx +10 -11
  1109. package/mobile/src/ui-kit/List/ListItem.tsx +11 -7
  1110. package/mobile/src/ui-kit/List/ListProps.ts +0 -2
  1111. package/mobile/src/ui-kit/NumberInput/NumberInput.tsx +35 -0
  1112. package/mobile/src/ui-kit/PhoneInput/PhoneInput.tsx +2 -3
  1113. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +36 -4
  1114. package/mobile/src/ui-kit/SearchDialog/SearchDialog.tsx +1 -1
  1115. package/mobile/src/ui-kit/SearchDialog/SearchInput.tsx +1 -3
  1116. package/mobile/src/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.tsx +9 -5
  1117. package/mobile/src/utils/identity.ts +1 -0
  1118. package/mobile/src/utils/isEmpty.ts +6 -0
  1119. package/mobile/src/utils/joinList.ts +4 -4
  1120. package/mobile/src/utils/toLocalNumberFormat.ts +7 -0
  1121. package/package.json +3 -3
  1122. package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +1 -0
  1123. package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +2 -2
  1124. package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +4 -4
  1125. package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +4 -4
  1126. package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +6 -10
  1127. package/src/components/ApplicationForm/renderWedDataOrganization.tsx +4 -4
  1128. package/src/components/BaseTile/BaseTile.tsx +32 -9
  1129. package/src/components/Blocks.mobile.ts +0 -2
  1130. package/src/components/Blocks.ts +6 -4
  1131. package/src/components/Bonus/Bonus.fixture.tsx +2 -1
  1132. package/src/components/BusinessBlock/BusinessBlock.fixture.tsx +1 -0
  1133. package/src/components/ButtonBlock/ButtonBlock.fixture.tsx +1 -0
  1134. package/src/components/Calculator/Calculator.fixture.tsx +1 -1
  1135. package/src/components/Calculator/CalculatorValueBlock.tsx +2 -2
  1136. package/src/components/Calculator/renderInitialFeeInput.tsx +3 -3
  1137. package/src/components/Calculator/renderProposal.tsx +2 -2
  1138. package/src/components/Calculator/renderRealEstateValue.tsx +2 -2
  1139. package/src/components/Calculator/renderWantedSumInput.tsx +3 -3
  1140. package/src/components/CardTransfer/CardTransfer.fixture.tsx +1 -0
  1141. package/src/components/CardTransfer/CardTransfer.tsx +16 -12
  1142. package/src/components/Carousel/Carousel.fixture.mobile.tsx +2 -1
  1143. package/src/components/Carousel/Carousel.fixture.tsx +2 -1
  1144. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.tsx +2 -0
  1145. package/src/components/CarouselCard/CarouselCard.fixture.tsx +1 -0
  1146. package/src/components/CarouselCatalogCard/CarouselCatalogCard.fixture.tsx +2 -0
  1147. package/src/components/CarouselEventCard/CarouselEventCard.fixture.tsx +3 -1
  1148. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.fixture.tsx +2 -1
  1149. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +39 -40
  1150. package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +2 -0
  1151. package/src/components/CarouselProductCard/CarouselProductCard.fixture.tsx +2 -0
  1152. package/src/components/CarouselProductCard/CarouselProductCard.tsx +4 -2
  1153. package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.tsx +2 -0
  1154. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.tsx +2 -1
  1155. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +2 -1
  1156. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -3
  1157. package/src/components/CarouselRichTextCard/CarouselRichTextCard.fixture.tsx +2 -0
  1158. package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.tsx +2 -0
  1159. package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +2 -0
  1160. package/src/components/ComparisonTable/ComparisonTable.fixture.mobile.tsx +2 -1
  1161. package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +2 -1
  1162. package/src/components/ContactsBlock/ContactsBlock.fixture.tsx +2 -7
  1163. package/src/components/ContentPage/ContentPage.page.json +0 -1
  1164. package/src/components/DepositFiltration/DepositFiltration.example.json +61 -0
  1165. package/src/components/DepositFiltration/DepositFiltration.fixture.tsx +190 -0
  1166. package/src/components/DepositFiltration/DepositFiltration.tsx +66 -0
  1167. package/src/components/DepositFiltration/DepositFiltrationContent.ts +39 -0
  1168. package/src/components/ErrorBlock/ErrorBlock.fixture.tsx +2 -1
  1169. package/src/components/ExchangeRateOffice/ExchangeRateOffice.fixture.tsx +1 -0
  1170. package/src/components/Footer/Footer.fixture.mobile.tsx +1 -0
  1171. package/src/components/Footer/Footer.fixture.tsx +1 -0
  1172. package/src/components/Footer/Footer.mobile.tsx +21 -30
  1173. package/src/components/Footer/HorizontalNavigation.mobile.tsx +4 -3
  1174. package/src/components/Footer/HorizontalNavigationLink.tsx +3 -1
  1175. package/src/components/Footer/MediaButton.tsx +1 -10
  1176. package/src/components/Footer/TextInformation.tsx +5 -3
  1177. package/src/components/Footer/buttonStylesWithText.mobile.ts +15 -0
  1178. package/src/components/Footer/buttonStylesWithText.ts +15 -0
  1179. package/src/components/Footer/horizontalNavigationLinkStyles.mobile.ts +1 -0
  1180. package/src/components/Footer/horizontalNavigationLinkStyles.ts +1 -0
  1181. package/src/components/Footer/textInformationTextSize.mobile.ts +1 -0
  1182. package/src/components/Footer/textInformationTextSize.ts +1 -0
  1183. package/src/components/Header/Header.fixture.mobile.tsx +1 -0
  1184. package/src/components/Header/Header.fixture.tsx +1 -0
  1185. package/src/components/Header/Header.mobile.tsx +2 -2
  1186. package/src/components/Headline/Headline.fixture.mobile.tsx +2 -1
  1187. package/src/components/Headline/Headline.fixture.tsx +2 -1
  1188. package/src/components/HorizontalLayout/HorizontalLayout.fixture.tsx +2 -1
  1189. package/src/components/ImgBlock/ImgBlock.fixture.mobile.tsx +2 -1
  1190. package/src/components/ImgBlock/ImgBlock.fixture.tsx +2 -1
  1191. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +1 -0
  1192. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
  1193. package/src/components/InvestmentInfo/InvestmentInfo.fixture.tsx +1 -0
  1194. package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -6
  1195. package/src/components/LinkDocs/LinkDocs.fixture.mobile.tsx +1 -0
  1196. package/src/components/LinkDocs/LinkDocs.fixture.tsx +1 -0
  1197. package/src/components/LinkDocs/LinkDocs.ui.json +9 -1
  1198. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +2 -1
  1199. package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +5 -1
  1200. package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  1201. package/src/components/{Filtration/Filtration.fixture.tsx → MortgageFiltration/MortgageFiltration.fixture.tsx} +7 -5
  1202. package/src/components/MortgageFiltration/MortgageFiltration.tsx +29 -0
  1203. package/src/components/MortgageFiltration/MortgageFiltrationContent.ts +23 -0
  1204. package/src/components/OfficeMap/OfficeMap.fixture.tsx +1 -0
  1205. package/src/components/OfficeMap/OfficeMap.tsx +2 -2
  1206. package/src/components/OfficeMap/useOfficeMap.ts +1 -3
  1207. package/src/components/OfficeServicesBlock/OfficeServicesBlock.fixture.tsx +1 -0
  1208. package/src/components/ParagraphBlock/ParagraphBlock.fixture.tsx +1 -0
  1209. package/src/components/PictureText/PictureText.fixture.tsx +2 -1
  1210. package/src/components/PictureText/PictureText.tsx +2 -2
  1211. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +2 -1
  1212. package/src/components/ProductBlock/ProductBlock.fixture.tsx +3 -3
  1213. package/src/components/ProductBlock/ProductBlock.tsx +14 -31
  1214. package/src/components/ProductBlock/ProductBlockContent.ts +0 -13
  1215. package/src/components/ProductBlock/ProductBlockInner.tsx +29 -46
  1216. package/src/components/ProductBlock/renderBackwardButton.tsx +11 -14
  1217. package/src/components/ProductBlock/renderBenefit.tsx +3 -12
  1218. package/src/components/ProductGallery/ProductGallery.fixture.tsx +2 -1
  1219. package/src/components/ProductGallery/ProductGallery.tsx +50 -73
  1220. package/src/components/ProductTile/ProductTile.fixture.tsx +2 -1
  1221. package/src/components/PromoTile/PromoTile.fixture.tsx +1 -0
  1222. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +1 -0
  1223. package/src/components/RichTextBlock/RichTextBlock.fixture.mobile.tsx +1 -0
  1224. package/src/components/RichTextBlock/RichTextBlock.fixture.tsx +1 -0
  1225. package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +24 -3
  1226. package/src/components/RollupItem/RollupItem.fixture.tsx +2 -0
  1227. package/src/components/RollupItem/RollupItem.tsx +73 -34
  1228. package/src/components/RollupItem/RollupItemContent.ts +2 -0
  1229. package/src/components/RollupItem/foldableSectionStyles.mobile.ts +1 -0
  1230. package/src/components/RollupItem/foldableSectionStyles.ts +1 -0
  1231. package/src/components/RollupItem/getIconName.mobile.tsx +2 -0
  1232. package/src/components/RollupItem/getIconName.tsx +1 -0
  1233. package/src/components/RollupItem/labelSize.mobile.tsx +1 -0
  1234. package/src/components/RollupItem/labelSize.tsx +1 -0
  1235. package/src/components/RollupItem/rollupIconVersion.mobile.tsx +1 -0
  1236. package/src/components/RollupItem/rollupIconVersion.tsx +1 -0
  1237. package/src/components/RollupItem/rollupItemStyles.mobile.ts +1 -0
  1238. package/src/components/RollupItem/rollupItemStyles.ts +2 -0
  1239. package/src/components/SafeDepositRental/SafeDepositRental.fixture.tsx +1 -0
  1240. package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +1 -0
  1241. package/src/components/StepsBlock/StepsBlock.fixture.tsx +1 -0
  1242. package/src/components/SwipeListControlBlock/SwipeListControlBlock.fixture.tsx +2 -0
  1243. package/src/components/Tabs/Tabs.fixture.tsx +1 -0
  1244. package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +1 -0
  1245. package/src/components/TariffsTable/TariffsTable.fixture.tsx +1 -0
  1246. package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +2 -1
  1247. package/src/components/TextBlock/TextBlock.fixture.tsx +2 -1
  1248. package/src/components/Tile/Tile.fixture.tsx +2 -1
  1249. package/src/components/Tile/Tile.tsx +2 -8
  1250. package/src/components/VerticalLayout/VerticalLayout.fixture.mobile.tsx +71 -2
  1251. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +3 -2
  1252. package/src/components/Video/Video.fixture.tsx +2 -0
  1253. package/src/content-page-repository/transformContentPage.ts +19 -7
  1254. package/src/content-page-repository/transformDocumentLink.ts +37 -0
  1255. package/src/hooks/useForm.ts +16 -8
  1256. package/src/hooks/useNormalizedInput.ts +33 -0
  1257. package/src/hooks/useSWRResource.ts +3 -1
  1258. package/src/icons/ArrowDownSolidIcon.svg +1 -0
  1259. package/src/icons/ArrowUpSolidIcon.svg +1 -0
  1260. package/src/icons/BagIcon.svg +1 -0
  1261. package/src/icons/BriefcaseIcon.svg +7 -0
  1262. package/src/icons/ClientIcon.svg +1 -0
  1263. package/src/icons/IconName.ts +19 -1
  1264. package/src/services/search/useSearch.ts +3 -2
  1265. package/src/services/sitemap/SitemapData.ts +1 -1
  1266. package/src/{components/Filtration/FiltrationContent.ts → ui-kit/BaseFiltration/BaseFiltrationContent.ts} +38 -24
  1267. package/src/{components/Filtration/FiltrationInner.tsx → ui-kit/BaseFiltration/BaseFiltrationInner.tsx} +9 -9
  1268. package/src/ui-kit/BaseFiltration/checkShouldRenderBlock.ts +49 -0
  1269. package/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +75 -0
  1270. package/src/ui-kit/BenefitItem/BenefitItem.tsx +17 -19
  1271. package/src/ui-kit/BlockWrapper.tsx +1 -9
  1272. package/src/ui-kit/Button/Button.fixture.tsx +1 -0
  1273. package/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
  1274. package/src/ui-kit/ControlProps.ts +1 -1
  1275. package/src/ui-kit/CurrencyInput/CurrencyInput.tsx +12 -38
  1276. package/src/ui-kit/Foldable/DefaultFoldButton.tsx +1 -1
  1277. package/src/ui-kit/Heading/Heading.fixture.mobile.tsx +2 -0
  1278. package/src/ui-kit/Heading/Heading.fixture.tsx +2 -0
  1279. package/src/ui-kit/Icon/Icon.fixture.tsx +2 -1
  1280. package/src/ui-kit/Icon/IconProps.ts +5 -0
  1281. package/src/ui-kit/Icon/RoundedIcon.tsx +16 -0
  1282. package/src/ui-kit/Input/Input.tsx +33 -16
  1283. package/src/ui-kit/Input/InputProps.ts +4 -5
  1284. package/src/ui-kit/InputRange/InputRange.tsx +43 -49
  1285. package/src/ui-kit/InputRange/InputRangeProps.ts +2 -4
  1286. package/src/ui-kit/LinkButton/LinkButton.fixture.tsx +2 -0
  1287. package/{mobile/src/components/LinkList/linkListContentExample.ts → src/ui-kit/LinkList/LinkList.fixture.tsx} +13 -3
  1288. package/src/ui-kit/LinkList/LinkList.tsx +25 -0
  1289. package/src/ui-kit/LinkList/LinkListProps.tsx +6 -0
  1290. package/src/ui-kit/LinkList/linkListStyles.mobile.ts +1 -0
  1291. package/src/ui-kit/LinkList/linkListStyles.ts +1 -0
  1292. package/src/ui-kit/List/List.fixture.tsx +1 -0
  1293. package/src/ui-kit/List/List.tsx +10 -11
  1294. package/src/ui-kit/List/ListItem.tsx +11 -7
  1295. package/src/ui-kit/List/ListProps.ts +0 -2
  1296. package/src/ui-kit/LocationDialog/LocationDialog.fixture.tsx +2 -1
  1297. package/src/ui-kit/NumberInput/NumberInput.fixture.tsx +31 -0
  1298. package/src/ui-kit/NumberInput/NumberInput.tsx +35 -0
  1299. package/src/ui-kit/PhoneInput/PhoneInput.tsx +2 -3
  1300. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.tsx +1 -0
  1301. package/src/ui-kit/RichText/RichText.fixture.tsx +2 -0
  1302. package/src/ui-kit/SearchBar/SearchBar.tsx +36 -2
  1303. package/src/ui-kit/SearchDialog/SearchDialog.tsx +1 -1
  1304. package/src/ui-kit/SearchDialog/SearchInput.tsx +1 -3
  1305. package/src/ui-kit/Select/Select.fixture.tsx +2 -0
  1306. package/src/ui-kit/SlideCheckbox/SlideCheckbox.fixture.tsx +2 -0
  1307. package/src/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.tsx +9 -5
  1308. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +2 -1
  1309. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.tsx +2 -1
  1310. package/src/ui-kit/Tags/Tags.fixture.tsx +2 -0
  1311. package/src/utils/identity.ts +1 -0
  1312. package/src/utils/isEmpty.ts +6 -0
  1313. package/src/utils/joinList.ts +4 -4
  1314. package/src/utils/toLocalNumberFormat.ts +7 -0
  1315. package/tailwind.config.cjs +10 -5
  1316. package/bundle/components/BaseTile/BaseTileProps.d.ts +0 -14
  1317. package/bundle/components/Filtration/Filtration.d.ts +0 -6
  1318. package/bundle/components/Filtration/FiltrationInner.d.ts +0 -7
  1319. package/bundle/components/Filtration/renderFormItem.d.ts +0 -4
  1320. package/bundle/components/Footer/TextInformation.mobile.d.ts +0 -2
  1321. package/bundle/components/LinkList/LinkList.d.ts +0 -5
  1322. package/bundle/components/LinkList/LinkListContent.d.ts +0 -9
  1323. package/bundle/components/LinkList/linkListContentExample.d.ts +0 -2
  1324. package/bundle/components/ProductBlock/ProductBlock.mobile.d.ts +0 -5
  1325. package/bundle/components/ProductBlock/ProductBlockInner.mobile.d.ts +0 -4
  1326. package/bundle/components/RollupItem/RollupItem.mobile.d.ts +0 -5
  1327. package/bundle/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
  1328. package/bundle/ui-kit/SearchBar/SearchBar.mobile.d.ts +0 -2
  1329. package/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  1330. package/bundle/utils/addSpacesBetweenNumbers.d.ts +0 -1
  1331. package/dist/components/BaseTile/BaseTileProps.d.ts +0 -14
  1332. package/dist/components/BaseTile/BaseTileProps.js.map +0 -1
  1333. package/dist/components/Filtration/Filtration.d.ts +0 -6
  1334. package/dist/components/Filtration/Filtration.js +0 -18
  1335. package/dist/components/Filtration/Filtration.js.map +0 -1
  1336. package/dist/components/Filtration/FiltrationContent.js.map +0 -1
  1337. package/dist/components/Filtration/FiltrationInner.d.ts +0 -7
  1338. package/dist/components/Filtration/FiltrationInner.js.map +0 -1
  1339. package/dist/components/Filtration/checkShouldRenderBlock.js +0 -11
  1340. package/dist/components/Filtration/checkShouldRenderBlock.js.map +0 -1
  1341. package/dist/components/Filtration/renderFormItem.d.ts +0 -4
  1342. package/dist/components/Filtration/renderFormItem.js.map +0 -1
  1343. package/dist/components/Footer/TextInformation.mobile.d.ts +0 -2
  1344. package/dist/components/Footer/TextInformation.mobile.js +0 -9
  1345. package/dist/components/Footer/TextInformation.mobile.js.map +0 -1
  1346. package/dist/components/LinkList/LinkList.d.ts +0 -5
  1347. package/dist/components/LinkList/LinkList.js +0 -13
  1348. package/dist/components/LinkList/LinkList.js.map +0 -1
  1349. package/dist/components/LinkList/LinkListContent.d.ts +0 -9
  1350. package/dist/components/LinkList/LinkListContent.js.map +0 -1
  1351. package/dist/components/LinkList/linkListContentExample.d.ts +0 -2
  1352. package/dist/components/LinkList/linkListContentExample.js +0 -23
  1353. package/dist/components/LinkList/linkListContentExample.js.map +0 -1
  1354. package/dist/components/ProductBlock/ProductBlock.mobile.d.ts +0 -5
  1355. package/dist/components/ProductBlock/ProductBlock.mobile.js +0 -11
  1356. package/dist/components/ProductBlock/ProductBlock.mobile.js.map +0 -1
  1357. package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +0 -4
  1358. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +0 -18
  1359. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +0 -1
  1360. package/dist/components/RollupItem/RollupItem.mobile.d.ts +0 -5
  1361. package/dist/components/RollupItem/RollupItem.mobile.js +0 -30
  1362. package/dist/components/RollupItem/RollupItem.mobile.js.map +0 -1
  1363. package/dist/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
  1364. package/dist/ui-kit/CurrencyInput/CurrencyInputProps.js.map +0 -1
  1365. package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +0 -2
  1366. package/dist/ui-kit/SearchBar/SearchBar.mobile.js +0 -7
  1367. package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +0 -1
  1368. package/dist/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  1369. package/dist/ui-kit/SearchBar/SearchBarInner.js +0 -26
  1370. package/dist/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
  1371. package/dist/utils/addSpacesBetweenNumbers.d.ts +0 -1
  1372. package/dist/utils/addSpacesBetweenNumbers.js +0 -5
  1373. package/dist/utils/addSpacesBetweenNumbers.js.map +0 -1
  1374. package/lib/components/BaseTile/BaseTileProps.d.ts +0 -14
  1375. package/lib/components/BaseTile/BaseTileProps.js +0 -2
  1376. package/lib/components/BaseTile/BaseTileProps.js.map +0 -1
  1377. package/lib/components/Filtration/Filtration.d.ts +0 -6
  1378. package/lib/components/Filtration/Filtration.js +0 -16
  1379. package/lib/components/Filtration/Filtration.js.map +0 -1
  1380. package/lib/components/Filtration/FiltrationContent.js +0 -2
  1381. package/lib/components/Filtration/FiltrationContent.js.map +0 -1
  1382. package/lib/components/Filtration/FiltrationInner.d.ts +0 -7
  1383. package/lib/components/Filtration/FiltrationInner.js.map +0 -1
  1384. package/lib/components/Filtration/checkShouldRenderBlock.js +0 -8
  1385. package/lib/components/Filtration/checkShouldRenderBlock.js.map +0 -1
  1386. package/lib/components/Filtration/renderFormItem.d.ts +0 -4
  1387. package/lib/components/Filtration/renderFormItem.js +0 -19
  1388. package/lib/components/Filtration/renderFormItem.js.map +0 -1
  1389. package/lib/components/Footer/TextInformation.mobile.d.ts +0 -2
  1390. package/lib/components/Footer/TextInformation.mobile.js +0 -7
  1391. package/lib/components/Footer/TextInformation.mobile.js.map +0 -1
  1392. package/lib/components/LinkList/LinkList.d.ts +0 -5
  1393. package/lib/components/LinkList/LinkList.js +0 -11
  1394. package/lib/components/LinkList/LinkList.js.map +0 -1
  1395. package/lib/components/LinkList/LinkListContent.d.ts +0 -9
  1396. package/lib/components/LinkList/LinkListContent.js +0 -2
  1397. package/lib/components/LinkList/LinkListContent.js.map +0 -1
  1398. package/lib/components/LinkList/linkListContentExample.d.ts +0 -2
  1399. package/lib/components/LinkList/linkListContentExample.js +0 -21
  1400. package/lib/components/LinkList/linkListContentExample.js.map +0 -1
  1401. package/lib/components/ProductBlock/ProductBlock.mobile.d.ts +0 -5
  1402. package/lib/components/ProductBlock/ProductBlock.mobile.js +0 -9
  1403. package/lib/components/ProductBlock/ProductBlock.mobile.js.map +0 -1
  1404. package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +0 -4
  1405. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +0 -16
  1406. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +0 -1
  1407. package/lib/components/RollupItem/RollupItem.mobile.d.ts +0 -5
  1408. package/lib/components/RollupItem/RollupItem.mobile.js +0 -28
  1409. package/lib/components/RollupItem/RollupItem.mobile.js.map +0 -1
  1410. package/lib/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
  1411. package/lib/ui-kit/CurrencyInput/CurrencyInputProps.js +0 -2
  1412. package/lib/ui-kit/CurrencyInput/CurrencyInputProps.js.map +0 -1
  1413. package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +0 -2
  1414. package/lib/ui-kit/SearchBar/SearchBar.mobile.js +0 -5
  1415. package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +0 -1
  1416. package/lib/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  1417. package/lib/ui-kit/SearchBar/SearchBarInner.js +0 -24
  1418. package/lib/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
  1419. package/lib/utils/addSpacesBetweenNumbers.d.ts +0 -1
  1420. package/lib/utils/addSpacesBetweenNumbers.js +0 -2
  1421. package/lib/utils/addSpacesBetweenNumbers.js.map +0 -1
  1422. package/mobile/bundle/components/BaseTile/BaseTileProps.d.ts +0 -14
  1423. package/mobile/bundle/components/Filtration/Filtration.d.ts +0 -6
  1424. package/mobile/bundle/components/Filtration/FiltrationInner.d.ts +0 -7
  1425. package/mobile/bundle/components/Filtration/renderFormItem.d.ts +0 -4
  1426. package/mobile/bundle/components/LinkList/LinkList.d.ts +0 -5
  1427. package/mobile/bundle/components/LinkList/LinkListContent.d.ts +0 -9
  1428. package/mobile/bundle/components/LinkList/linkListContentExample.d.ts +0 -2
  1429. package/mobile/bundle/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
  1430. package/mobile/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  1431. package/mobile/bundle/utils/addSpacesBetweenNumbers.d.ts +0 -1
  1432. package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +0 -14
  1433. package/mobile/dist/components/BaseTile/BaseTileProps.js.map +0 -1
  1434. package/mobile/dist/components/Filtration/Filtration.d.ts +0 -6
  1435. package/mobile/dist/components/Filtration/Filtration.js +0 -18
  1436. package/mobile/dist/components/Filtration/Filtration.js.map +0 -1
  1437. package/mobile/dist/components/Filtration/FiltrationContent.d.ts +0 -88
  1438. package/mobile/dist/components/Filtration/FiltrationContent.js +0 -2
  1439. package/mobile/dist/components/Filtration/FiltrationContent.js.map +0 -1
  1440. package/mobile/dist/components/Filtration/FiltrationInner.d.ts +0 -7
  1441. package/mobile/dist/components/Filtration/FiltrationInner.js.map +0 -1
  1442. package/mobile/dist/components/Filtration/checkShouldRenderBlock.js +0 -11
  1443. package/mobile/dist/components/Filtration/checkShouldRenderBlock.js.map +0 -1
  1444. package/mobile/dist/components/Filtration/renderFormItem.d.ts +0 -4
  1445. package/mobile/dist/components/Filtration/renderFormItem.js.map +0 -1
  1446. package/mobile/dist/components/LinkList/LinkList.d.ts +0 -5
  1447. package/mobile/dist/components/LinkList/LinkList.js +0 -13
  1448. package/mobile/dist/components/LinkList/LinkList.js.map +0 -1
  1449. package/mobile/dist/components/LinkList/LinkListContent.d.ts +0 -9
  1450. package/mobile/dist/components/LinkList/LinkListContent.js +0 -2
  1451. package/mobile/dist/components/LinkList/LinkListContent.js.map +0 -1
  1452. package/mobile/dist/components/LinkList/linkListContentExample.d.ts +0 -2
  1453. package/mobile/dist/components/LinkList/linkListContentExample.js +0 -23
  1454. package/mobile/dist/components/LinkList/linkListContentExample.js.map +0 -1
  1455. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
  1456. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInputProps.js +0 -2
  1457. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInputProps.js.map +0 -1
  1458. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  1459. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +0 -26
  1460. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
  1461. package/mobile/dist/utils/addSpacesBetweenNumbers.d.ts +0 -1
  1462. package/mobile/dist/utils/addSpacesBetweenNumbers.js +0 -5
  1463. package/mobile/dist/utils/addSpacesBetweenNumbers.js.map +0 -1
  1464. package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +0 -14
  1465. package/mobile/lib/components/BaseTile/BaseTileProps.js +0 -2
  1466. package/mobile/lib/components/BaseTile/BaseTileProps.js.map +0 -1
  1467. package/mobile/lib/components/Filtration/Filtration.d.ts +0 -6
  1468. package/mobile/lib/components/Filtration/Filtration.js +0 -16
  1469. package/mobile/lib/components/Filtration/Filtration.js.map +0 -1
  1470. package/mobile/lib/components/Filtration/FiltrationContent.d.ts +0 -88
  1471. package/mobile/lib/components/Filtration/FiltrationContent.js +0 -2
  1472. package/mobile/lib/components/Filtration/FiltrationContent.js.map +0 -1
  1473. package/mobile/lib/components/Filtration/FiltrationInner.d.ts +0 -7
  1474. package/mobile/lib/components/Filtration/FiltrationInner.js.map +0 -1
  1475. package/mobile/lib/components/Filtration/checkShouldRenderBlock.js +0 -8
  1476. package/mobile/lib/components/Filtration/checkShouldRenderBlock.js.map +0 -1
  1477. package/mobile/lib/components/Filtration/renderFormItem.d.ts +0 -4
  1478. package/mobile/lib/components/Filtration/renderFormItem.js +0 -19
  1479. package/mobile/lib/components/Filtration/renderFormItem.js.map +0 -1
  1480. package/mobile/lib/components/LinkList/LinkList.d.ts +0 -5
  1481. package/mobile/lib/components/LinkList/LinkList.js +0 -11
  1482. package/mobile/lib/components/LinkList/LinkList.js.map +0 -1
  1483. package/mobile/lib/components/LinkList/LinkListContent.d.ts +0 -9
  1484. package/mobile/lib/components/LinkList/LinkListContent.js +0 -2
  1485. package/mobile/lib/components/LinkList/LinkListContent.js.map +0 -1
  1486. package/mobile/lib/components/LinkList/linkListContentExample.d.ts +0 -2
  1487. package/mobile/lib/components/LinkList/linkListContentExample.js +0 -21
  1488. package/mobile/lib/components/LinkList/linkListContentExample.js.map +0 -1
  1489. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
  1490. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInputProps.js +0 -2
  1491. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInputProps.js.map +0 -1
  1492. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
  1493. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +0 -24
  1494. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
  1495. package/mobile/lib/utils/addSpacesBetweenNumbers.d.ts +0 -1
  1496. package/mobile/lib/utils/addSpacesBetweenNumbers.js +0 -2
  1497. package/mobile/lib/utils/addSpacesBetweenNumbers.js.map +0 -1
  1498. package/mobile/src/components/BaseTile/BaseTileProps.ts +0 -15
  1499. package/mobile/src/components/Filtration/Filtration.tsx +0 -38
  1500. package/mobile/src/components/Filtration/checkShouldRenderBlock.ts +0 -18
  1501. package/mobile/src/components/Filtration/renderFormItem.tsx +0 -36
  1502. package/mobile/src/components/LinkList/LinkList.example.json +0 -23
  1503. package/mobile/src/components/LinkList/LinkList.tsx +0 -29
  1504. package/mobile/src/components/LinkList/LinkListContent.ts +0 -10
  1505. package/mobile/src/ui-kit/CurrencyInput/CurrencyInputProps.ts +0 -6
  1506. package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +0 -41
  1507. package/mobile/src/utils/addSpacesBetweenNumbers.ts +0 -2
  1508. package/src/components/BaseTile/BaseTileProps.ts +0 -15
  1509. package/src/components/Filtration/Filtration.tsx +0 -38
  1510. package/src/components/Filtration/Filtration.ui.json +0 -1
  1511. package/src/components/Filtration/checkShouldRenderBlock.ts +0 -18
  1512. package/src/components/Filtration/renderFormItem.tsx +0 -36
  1513. package/src/components/Footer/TextInformation.mobile.tsx +0 -22
  1514. package/src/components/Gallery/Gallery.ui.json +0 -1
  1515. package/src/components/LinkList/LinkList.example.json +0 -23
  1516. package/src/components/LinkList/LinkList.fixture.tsx +0 -11
  1517. package/src/components/LinkList/LinkList.tsx +0 -29
  1518. package/src/components/LinkList/LinkList.ui.json +0 -1
  1519. package/src/components/LinkList/LinkListContent.ts +0 -10
  1520. package/src/components/LinkList/linkListContentExample.ts +0 -22
  1521. package/src/components/MiniGallery/MiniGallery.ui.json +0 -1
  1522. package/src/components/ProductBlock/ProductBlock.mobile.tsx +0 -17
  1523. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +0 -65
  1524. package/src/components/RollupItem/RollupItem.mobile.tsx +0 -122
  1525. package/src/ui-kit/CurrencyInput/CurrencyInputProps.ts +0 -6
  1526. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +0 -6
  1527. package/src/ui-kit/SearchBar/SearchBarInner.tsx +0 -41
  1528. package/src/utils/addSpacesBetweenNumbers.ts +0 -2
  1529. /package/bundle/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1530. /package/dist/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1531. /package/lib/components/{LinkList/LinkList.fixture.d.ts → DepositFiltration/DepositFiltration.fixture.d.ts} +0 -0
  1532. /package/lib/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1533. /package/mobile/bundle/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1534. /package/mobile/dist/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1535. /package/mobile/lib/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
  1536. /package/mobile/src/components/{Filtration/Filtration.ui.json → DepositFiltration/DepositFiltration.ui.json} +0 -0
  1537. /package/mobile/src/components/{Filtration/Filtration.example.json → MortgageFiltration/MortgageFiltration.example.json} +0 -0
  1538. /package/mobile/src/components/{Gallery/Gallery.ui.json → MortgageFiltration/MortgageFiltration.ui.json} +0 -0
  1539. /package/{mobile/src/components/LinkList/LinkList.ui.json → src/components/DepositFiltration/DepositFiltration.ui.json} +0 -0
  1540. /package/src/components/{Filtration/Filtration.example.json → MortgageFiltration/MortgageFiltration.example.json} +0 -0
  1541. /package/{mobile/src/components/MiniGallery/MiniGallery.ui.json → src/components/MortgageFiltration/MortgageFiltration.ui.json} +0 -0
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UniMobileBlocks={})}(this,(function(e){"use strict";let t;const n=e=>(...n)=>t[e](...n),i=n("useState"),r=n("useEffect"),l=n("useCallback"),a=n("useMemo"),s=n("useRef");const o=e=>e&&!e.endsWith("/")?`${e}/`:e,c={PROD_BRANCH:"master"},d=new class{_=c;setup(e){this._=e}get TEST_BRANCH(){return this._.TEST_BRANCH}get RC_BRANCH(){return this._.RC_BRANCH}get PROD_BRANCH(){return this._.PROD_BRANCH||c.PROD_BRANCH}get FORCED_DRAFT_FLOW(){return this._.FORCED_DRAFT_FLOW}get ASSIST_PROJECT_ID(){return this._.ASSIST_PROJECT_ID}get SITEMAP(){return this._.SITEMAP}get FOOTER(){return this._.FOOTER}get CHAT_BOT(){return this._.CHAT_BOT}get CDN(){return o(this._.CDN)}get BASE_PATH(){return o(this._.BASE_PATH)}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},m="likesToken";function h(){async function e(){try{const e=JSON.parse(globalThis.localStorage?.getItem(m)||"");if(e?.token)return e}catch(e){}try{const e=await fetch("/assist/v1/public/auth",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:t,name:n}=await e.json();return globalThis.localStorage?.setItem(m,JSON.stringify({token:t,name:n})),{token:t,name:n}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...t){if(!t.length)return[];const{token:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n},body:JSON.stringify({node_ids:t})}),{likes:i}=await e.json();return i||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:n,name:i}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:t,user_name:i})}),{likes:r}=await e.json();return r||0}catch(e){return console.error(e),0}},dislike:async function(t){if(!t)return 0;const{token:n,name:i}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:t,user_name:i})}),{likes:r}=await e.json();return r||0}catch(e){return console.error(e),0}}}}const u=(...e)=>globalThis._uni._jsx(...e),p=(...e)=>globalThis._uni._jsxs(...e),g=e=>{const t=e;return t._tmpl||(t._tmpl=globalThis.__UNI_REACT__?e:b(e)),t._tmpl},b=e=>{function t(t,n){const{children:i,...r}=t||{},l=n?.slots?.default,a=i||l&&l();return e(Object.assign(r,a&&{children:a}),n)}return t.inheritAttrs=!1,t},x=(...e)=>e.flatMap((e=>e)).filter(Boolean).join(" "),f=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),y=[];function v(e,t,{className:n,...i}={}){const{key:r,blockDecorator:l=f,blocksRegistry:a={},ancestors:s=y}=t,{type:o}=e;o&&o in a||console.warn(`No block with "${o}" is registered`);const c=o&&a[o];return l({blockClassName:x("scroll-mt-12",n,e.style||"col-span-12"),block:e,ancestors:s,render:({block:n,blockClassName:l})=>{const{content:a}=n;return c?u(c,{className:l,block:e,options:t,...a,...i},r):null}},r)}const N=[],w=(e,{key:t,ancestors:n=N,slotName:i=null,renderProps:r=v,...l})=>(e||[]).map(((e,a)=>r(e,{...l,key:`${t||e.type}-${a}`,ancestors:l.parent?[...n||N,[l.parent,i]]:n})));function k({children:e,block:t,options:n,renderProps:i}){return e||(t&&n?w(t.blocks,{...n,parent:t,renderProps:i}):null)}class C{subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]=(this.subscribers[e]||[]).concat(t);const n=this.subjectsStateMap[e];return n&&t(n),()=>{this.unsubscribe(e,t)}}unsubscribe(e,t){this.subscribers[e]=this.subscribers[e]?.filter((e=>e!==t))}fire(e,t){e in this.subjectsStateMap&&(this.subjectsStateMap[e]=t),this.subscribers[e]?.forEach((e=>e(t)))}subject(e,t){this.subjectsStateMap[e]=t}}const T=new C;function S(e,{sensitivity:t,rootRef:n}={}){const i=s(null),l=a((()=>({threshold:_(t),root:n?.current})),[t,n?.current]);return r((()=>{if(!i.current)return;const t=new IntersectionObserver(e,l);return t.observe(i.current),()=>{t.disconnect()}}),[e,l]),i}function _(e=0){const t=Math.round(10*e);return new Array(t).fill(0).map(((e,n)=>Math.min(n/t)),1).concat(1)}const I=new C;const $={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white",gray:"bg-main-divider text-primary-text",transparent:"bg-transparent text-primary-text","":""},R=g((({className:e="",version:t="primary",isTheme:n=!0,block:a,tag:s="section",role:o,children:c})=>{const d=s,m=function(e){return S(l((t=>{if(!e||!t?.length)return;const n=t[t.length-1];I.fire("intersection",{block:e,intersection:n})}),[e]),{sensitivity:1})}(a),[h,p]=i(!1);return r((()=>T.subscribe("tab",(e=>{p(Boolean(e.label&&a?.labels?.length&&!a.labels.includes(e.label)))}))),[a]),u(d,{className:x(A(Boolean(t&&n)),$[t],h?"hidden":"",e),...t&&n?{"data-ver":t}:{},...a?.anchor?{id:a.anchor,ref:m}:{},role:o,children:c})})),A=e=>e?"group":"",M=e=>({height:"calc(100vh - 242px)",minHeight:`${e||866}px`}),j=g((({className:e="",style:t,idx:n,activeIndex:i,observerOptions:r,children:a,onIntersection:s})=>{const o=S(l((e=>{e.length&&s&&s(n||0,e[e.length-1])}),[s,n]),r);return u("div",{className:`inline-block snap-always box-border ${e}`,style:t,"aria-current":Boolean(n===i),ref:o,children:a})})),L=["min-w-[100%]","min-w-[50%]","min-w-[33.33%]","min-w-[25%]"],P=g((({className:e="",containerRef:t,activeIndex:n,visibleItemCount:i=0,gap:r=0,padding:a=0,listType:o="horizontal-list",snapAlign:c="snap-center",minHeight:d,children:m,onVisibleItemsChange:h,onVisibleIndicesChange:p})=>{const g={sensitivity:1,rootRef:t},b=s([]),f=l(((e,t)=>{const n=[...b.current||[]];n[e]=t,b.current=n,h&&h(n),p&&p(B(n))}),[h,p]),y=i>0?r*Number(i)-1:0,v="vertical-list"===o,N="horizontal-list"===o,w={...N?O(a,y):{},...v?M(d):{},gap:`${r}px`};return u("div",{className:x("box-border overflow-auto no-scrollbar",o,e),style:w,ref:t,children:(k=(e,t)=>u(j,{className:x(c,i?L[i-1]:"",v?"h-full":""),style:N?O(a/4):{},activeIndex:n,idx:t,observerOptions:g,onIntersection:f,children:e},String(t)),e=>null==e?e:Array.isArray(e)?e.map(k):k(e,0))(m)});var k})),O=(e,t=0)=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e+t}px`}),B=e=>e.map(((e,t)=>[e,t])).filter((([e])=>e&&e.intersectionRatio>=.9)).map((([,e])=>e)),D={"horizontal-list":"mx-auto mt-5 w-fit","vertical-list":"absolute flex-col justify-center h-full top-0 left-4"},z={"horizontal-list":"w-6","vertical-list":"h-6"},V=g((({containerRef:e,activeIndex:t,dotCount:n=0,listType:i="horizontal-list",version:r})=>n?u("div",{className:x("flex gap-2",D[i],r?"group":""),...r?{"data-ver":r}:{},children:new Array(n).fill(null).map(((n,r)=>u("div",{className:`cursor-pointer rounded-full transition-width duration-300 bg-primary-main group-data-secondary:bg-white group-data-transparent:bg-white ${r===t?z[i]:"w-2 h-2 opacity-30"}`,role:"button","aria-hidden":!0,onClick:()=>(n=>{n!==t&&e?.current&&e.current.children[n]?.scrollIntoView({behavior:"smooth",block:"nearest"})})(r)},String(r))))}):null)),E=e=>e,H=(e=E)=>t=>t.reduceRight(((t,n)=>e(t)>e(n)?t:n)),F=H(),U=(e=E)=>H((t=>-e(t))),J=e=>t=>e.scrollWidth/t,X=e=>(t,n)=>{e.scrollBy({left:n*J(e)(t),behavior:"smooth"})},W=({itemCount:e,isCyclic:t,onVisibleIndicesChange:n})=>{const r=s(null),[a,o]=i([]),c=l((e=>{o((t=>{return(n=t)===(i=e)||Boolean(n&&i&&n?.length===i?.length&&n.every(((e,t)=>e===i[t])))?t:e;var n,i})),n&&n(e)}),[e]),[d,m]=a.length?[U()(a),H()(a)]:[-1,-1],h=d>0,u=m<e-1,p=l((()=>{var n;r.current&&(t&&!h?(n=r.current).scrollTo({left:n.scrollWidth,behavior:"smooth"}):X(r.current)(e,-1))}),[t,e,h]),g=l((()=>{r.current&&(t&&!u?r.current.scrollTo({left:0,behavior:"smooth"}):X(r.current)(e,1))}),[e,t,u]);return[r,{scrollLeft:p,scrollRight:g,canScrollLeft:t||h,canScrollRight:t||u,visibleIndicesRange:[d,m],handleVisibleIndicesChange:c}]};function G(){return G._impl()}G._impl=()=>({href:globalThis.location?.href||"/",pathname:globalThis.location?.pathname||"/",query:{},push:()=>{},replace:()=>{}}),G.setup=e=>{G._impl=e};const Y=e=>Boolean(e?.includes(":")),K=(e,t)=>Boolean(e&&!Y(e)&&(!t||"_self"===t)),Q=e=>(e||"").replace(/\?.*/,"").replace(/\/$/,""),q=(...e)=>e.filter(Boolean).join("/").replace(/\/+/g,"/");var Z=Object.freeze({__proto__:null,isURL:Y,isLocalURL:K,isHash:e=>Boolean(e?.startsWith("#")),withoutQuery:Q,joinPath:q});const ee=e=>(t,n=d.BASE_PATH)=>{if(!t||Y(t)||te(t,d.CDN))return t;const i=t.startsWith("/");return q(te(t,n)?"":n,i?"/":e.pathname?.split("/").slice(0,-1).join("/"),t)},te=(e,t)=>t&&e&&e.startsWith(t),ne={normal:"",color:"text-primary-main",black:"text-black",white:"text-black"},ie=g((({className:e="",imageClassName:t="",name:n="",alt:i=`Иконка ${n}`,title:r=i,iconVersion:l="color",...a})=>{const s=G(),o=ee(s)(q(d.CDN,"/icons",`${n}.svg`));return"normal"!==l?u(le,{className:e,children:p("svg",{className:x(re(a.width),ne[l],"white"===l?"invert":"",t),...a,"aria-hidden":"true",children:[r?u("title",{children:r}):null,i?u("desc",{children:i}):null,u("use",{href:`${o}#icon`,xlinkHref:`${o}#icon`})]})}):(e.includes("h-")||(a.style={height:`${a.height}px`}),u("img",{className:e,src:o,alt:i,title:r,"aria-hidden":"true",...a}))})),re=e=>e?"":"w-full h-full",le=g((({className:e,children:t})=>e?u("div",{className:e,children:t}):t)),ae=(e,t)=>e?.media&&t?.media?e.media-t.media:0,se=g((({className:e="",image:t,imageClassName:n="",isMobile:i=!1,pathPrefix:r})=>{const l=G();return p("picture",{className:`${i?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.filter((e=>e?.src)).sort(ae).map((({src:e,format:n,media:i},a)=>u("source",{srcSet:ce(l,r)(e),type:de(n),media:i?`(max-width: ${i}px)`:"",...t.size},`${a}_${e}`))):null,t?.src?oe({...t,src:ce(l,r)(t.src)},n,i):null]})})),oe=(e,t="",n=!1)=>{const i={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"100%"},r=e.title||"",l=e.alt||e.title,a=n?"m-auto":"m-0";return u("img",{src:e.src,className:`${a} ${t}`,alt:l,title:r,style:i,...e.size})},ce=(e,t)=>n=>n&&!Y(n)?ee(e)(q(t,n)):n,de=e=>e?`image/${String(e)}`:void 0,me=g((({className:e="",image:t,imageClassName:n="",isMobile:i,pathPrefix:r,...l})=>t?.src||t?.icon?t.icon?u(ie,{className:e,imageClassName:n,iconVersion:t?.iconVersion,name:t.icon,...l}):u(se,{className:e,imageClassName:n,image:t,isMobile:i,pathPrefix:r}):null)),he=g((e=>u(me,{...e,isMobile:!0}))),ue=(e="")=>({open:t=>T.fire("dialog",{type:"open",id:e,message:t}),close:()=>T.fire("dialog",{type:"close"})}),pe=(e,t)=>pe._impl(e,t);function ge(e={}){const{isRemote:t,basePath:n}=e,i=G(),{close:r}=ue();return e=>({...e,href:t&&!n?e.href:ee(i)(e.href,n),"aria-label":e.text,onClick:pe(l(e),e)});function l({href:e,target:n,onClick:l}){return a=>{l&&l(a),e&&!t&&K(e,n)&&(r(),a?.preventDefault(),i.push(e))}}}pe._impl=e=>e,pe.setup=e=>{pe._impl=e};const be={primary:"text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active",secondary:"text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active",white:"text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main",link:"",transparent:"",gray:"text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active","":""},xe="bg-main-divider text-main-disabled",fe={primary:xe,secondary:xe,white:xe,link:"",transparent:"",gray:xe,"":""},ye="text-center font-sans select-none",ve={primary:"group-hover/btn:brightness-0 group-hover/btn:invert",secondary:"group-hover/btn:brightness-0 group-hover/btn:invert",white:"group-hover/btn:brightness-0 group-hover/btn:invert",link:"",transparent:"",gray:"group-hover/btn:brightness-0 group-hover/btn:invert","":""},Ne=g((e=>{const{text:t,aboveText:n,appendLeft:i,appendRight:r,version:l="primary"}=e;return p("div",{className:x(we(e),"flex gap-2"),children:[i?u("div",{className:ve[l],children:i}):null,ke(e)?p("div",{children:[n?u("div",{className:"text-xs-light text-left",children:n}):null,u("div",{className:"text-left "+(n?"text-s -mt-0.5":"text-l"),children:t})]}):null,r?u("div",{className:ve[l],children:r}):null]})})),we=e=>{const{version:t,aboveText:n,rounded:i}=e;if("link"===t)return"";const r=""+(n?"py-2.5 px-7":"py-4 px-4");return["group/btn items-center justify-center",ke(e)?r:"h-12 w-12",i?"rounded-full":""].join(" ")},ke=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),Ce=({className:e,rounded:t,version:n})=>["inline-block",ye,n?fe[n]:"",t?"rounded-full":"rounded-md",e].join(" "),Te=({className:e,rounded:t,version:n})=>[ye,"border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border h-fit",n?be[n]:"",t?"rounded-full":"rounded-md",e].join(" "),Se=g((({disabled:e,children:t,...n})=>{const i=ge()(n),r=t??u(Ne,{...i});return u(e?Ie:_e,{...i,children:r})})),_e=g((({className:e="",href:t,rel:n,target:i,ariaLabel:r,version:l,rounded:a,onClick:s,children:o})=>u("a",{className:Te({className:e,version:l,rounded:a}),href:t,rel:n,target:i,"aria-label":r,role:t?"link":"button",onClick:s,children:o}))),Ie=g((({className:e,ariaLabel:t,version:n,rounded:i,children:r})=>u("div",{role:"button","aria-disabled":"true","aria-label":t,tabIndex:-1,className:Ce({className:e,rounded:i,version:n}),children:r}))),$e=g((({className:e,disabled:t,...n})=>u(Se,{rounded:!0,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 ${t?"bg-secondary-light text-secondary-text":"bg-white text-primary-text hover:text-primary-main"} ${e||""}`,disabled:t,...n,children:u(he,{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"})}))),Re=g((e=>u($e,{...e,ariaLabel:"Пролистать влево","data-block-control":"scroll-left"}))),Ae=g((e=>u($e,{...e,className:`${e.className||""} rotate-180`,ariaLabel:"Пролистать вправо","data-block-control":"scroll-right"}))),Me="absolute top-[calc(50%-24px)] z-40",je="absolute top-0 bottom-0 z-40 w-[84px] pointer-events-none",Le=g((({scroll:e,arrowsPadded:t,isBlur:n,onScrollLeft:i,onScrollRight:r,hasEdgeBlocks:a,activeIndex:s,itemCount:o})=>{const{canScrollLeft:c,canScrollRight:d,scrollLeft:m,scrollRight:h}=e,g=a?s>0:c,b=a?s<o-1:d,f=l((()=>{a?(c&&s!==o-1&&m(),i()):m()}),[m,i,a,c,s,o]),y=l((()=>{a?(d&&0!==s&&h(),r()):h()}),[h,r,a,c,s,o]);return p("div",{children:[Pe(n,e),g?u(Re,{className:x(Me,t?"left-8":"left-0"),onClick:f}):null,b?u(Ae,{className:x(Me,t?"right-8":"right-0"),onClick:y}):null]})})),Pe=(e,t)=>e?p("div",{children:[t.canScrollLeft?u("div",{className:x(je,"left-0 bg-opacity-from-white")}):null,t.canScrollRight?u("div",{className:x(je,"right-0 bg-opacity-to-white")}):null]}):null,Oe=g((({className:e="",itemCount:t,visibleItemCount:n,isBlur:r=!0,isCyclic:a=!1,arrowsPadded:s=!0,isPadding:o=!0,showDots:c=!1,isAlignCenter:d=!1,...m})=>{const{blocks:h=[]}=m.block||{},g=t||h?.length,[b,f]=i(Math.floor((n||0)/2)),y=l((()=>f((e=>e+1))),[]),N=l((()=>f((e=>e-1))),[]),[w,C]=W({itemCount:g,isCyclic:a}),[T]=C.visibleIndicesRange,S=h&&"CarouselBankHistoryCard"===h[0]?.type;return u(R,{className:x(Be(o),"group-data-secondary:bg-primary-main group-data-secondary:text-white",e),...m,children:p("div",{className:x(De(d),"relative max-w-full"),children:[u(P,{containerRef:w,visibleItemCount:n,snapAlign:"snap-start",gap:16,onVisibleIndicesChange:C.handleVisibleIndicesChange,children:k({...m,renderProps:S?(e,t)=>v(e,t,{blocksLength:h?.length,activeIndex:b}):v})}),u(Le,{scroll:C,isBlur:r,arrowsPadded:s,onScrollLeft:N,onScrollRight:y,hasEdgeBlocks:S,activeIndex:b,itemCount:g}),c?ze(w,T,g):null]})})}));Oe.childrenTypes=["CarouselCard","CarouselBankHistoryCard","CarouselCatalogCard","CarouselInvestmentCard","CarouselProductCard","CarouselProgramsCard","CarouselRecommendationCard","CarouselTariffsCard","CarouselRichTextCard","CarouselInvestmentCard","CarouselEventCard"];const Be=e=>e?"p-default":"",De=e=>e?"flex justify-center":"",ze=(e,t,n)=>u(V,{containerRef:e,activeIndex:t,dotCount:n,listType:"horizontal-list"}),Ve=g((({className:e="",href:t,target:n,isRemote:i=!1,children:r})=>{const l=ge({isRemote:i})({href:t,target:n});return u(t?"a":"div",{className:x("block",e),...t?l:{},children:r})})),Ee={L:"w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-4",M:"w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-3",S:"w-1 h-1 min-w-1 min-h-1 mr-2"},He=g((({className:e="",isDotted:t=!0,children:n,size:i="M"})=>p("div",{className:`font-sans flex items-baseline ${e}`,role:"listitem",children:[t?u("div",{children:u("div",{className:`rounded-full align-middle inline-block bg-primary-text group-data-secondary:bg-white ${Ee[i]}`})}):null,u("span",{children:n})]}))),Fe={S:"text-l-light",M:"text-h6",L:"text-h5"},Ue={S:"ml-2",M:"ml-3",L:"ml-4"},Je=g((({className:e="",hasIndent:t,isDotted:n,itemClassName:i="",items:r,listItemSize:l="M"})=>r?.length?u("section",{className:`text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text ${Fe[l]} ${t?Ue[l]:""} ${e}`,role:"list",children:r.map(((e,t)=>u(He,{className:i,isDotted:n,size:l,children:e},String(t))))}):null)),Xe=[{origins:["t.me","telegram.org"],iconMapped:{icon:"TelegramIcon"},label:"Телеграм"},{origins:["vk.com"],iconMapped:{icon:"VKIcon"},label:"ВКонтакте"},{origins:["ok.ru"],iconMapped:{icon:"OkIcon"},label:"Одноклассники"},{origins:["apps.apple.com"],iconMapped:{icon:"AppleIcon"},label:"App Store"},{origins:["play.google.com"],iconMapped:{icon:"PlayMarketIcon"},label:"Google Play"},{origins:["youtube.com"],iconMapped:{icon:"YoutubeIcon"},label:"Youtube"}],We={default:"w-14 h-14",small:"w-12 h-12"},Ge=(e,t)=>e?"":`group/media flex items-center justify-center box-border ${We[t]}`,Ye=g((({buttonSize:e="default",rounded:t=!1,icon:n,...i})=>{const{href:r,version:l,text:a=""}=i,{iconMapped:s,label:o}=Xe.find((({origins:e})=>e.some((e=>r?.includes(e)))))||{},c=Ke(n)??s;return u(Se,{className:x(t?"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",Ge(a,e)),"aria-label":o,rel:"noopener noreferrer",target:"_blank",text:a,version:l,...i,children:c&&!a?u(he,{image:c,imageClassName:"group-hover/media:text-white",width:"24",height:"24"}):null})})),Ke=e=>e?.src||e?.icon?e:void 0,Qe=g((({className:e="",media:t})=>u("div",{className:`flex gap-2 items-start justify-start ${e}`,children:t?.map(((e,t)=>u(Ye,{...e},String(t))))}))),qe={h0:"text-m-title",h1:"text-m-title",h2:"text-m-title",h3:"text-h6",h4:"text-m-title-xs",h5:"text-m-title-xs",h6:"text-m-title-xs"},Ze=g((e=>{const{className:t,headingType:n="h3",title:i,as:r="h3"}=e;return u(r,{className:`font-sans font-medium m-0 ${qe[n]} ${t||""}`,children:i})})),et=g((({children:e,...t})=>u("p",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),tt={XXL:{title:{headingType:"h0",as:"h1"},descriptionSize:"text-h5",descriptionStyle:"mt-5"},XL:{title:{headingType:"h1",as:"h1"},descriptionSize:"text-xl-light",descriptionStyle:"mt-4"},L:{title:{headingType:"h2",as:"h2"},descriptionSize:"text-xl-light",descriptionStyle:"mt-4"},M:{title:{headingType:"h3",as:"h3"},descriptionSize:"text-xl-light",descriptionStyle:"mt-3"},S:{title:{headingType:"h4",as:"h4"},descriptionSize:"text-xl-light",descriptionStyle:"mt-2"},XS:{title:{headingType:"h5",as:"h5"},descriptionSize:"text-l-light",descriptionStyle:"mt-2"}},nt=g((({className:e,title:t,description:n,headlineVersion:i="XL",align:r="text-center",as:l,isPadding:a=!0,isTheme:s=!1,version:o="",...c})=>{const d=tt[i],m=a?"p-default":"",h={marginTop:d.descriptionStyle};return p(R,{className:x(m,e),version:o,isTheme:s,...c,children:[t?u(Ze,{className:x("whitespace-pre-wrap",r),...d?.title,as:l||d?.title.as,title:t}):null,n?u(et,{size:d.descriptionSize,align:r,...h,children:n}):null]})})),it=g((({className:e="",description:t,href:n,icon:i,items:r=[],socialMedia:l=[],target:a,title:s,align:o="text-left",...c})=>u(R,{className:x("relative box-border p-default group-data-gray:bg-main-divider/50","border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider",e),...c,children:p(Ve,{href:n,target:a,children:[u(nt,{className:"mb-2",title:s,description:t,headlineVersion:"S",isPadding:!1,align:o}),r.length?u(Je,{className:"flex flex-col gap-2",items:r,listItemSize:"S"}):null,rt(i),l.length?u(Qe,{className:"mt-5",media:l}):null]})}))),rt=e=>e?.src||e?.icon?u("div",{children:u(he,{image:e})}):null,lt=g((({className:e="",isFoldButtonOnTop:t=!1,unfoldedByDefault:n=!1,renderFoldableSection:r,renderFoldButton:a})=>{const[s,o]=i(n),c=l((()=>{o((e=>!e))}),[]),d=r({isUnfolded:s,onToggle:c}),m=a?a({isUnfolded:s,onToggle:c}):null;return p("div",t?{className:e,children:[m,d]}:{className:e,children:[d,m]})})),at=g((({className:e="",isUnfolded:t,children:n})=>{const i=s(null);return r((()=>{i.current&&(i.current.style.maxHeight=t?`${i.current.scrollHeight}px`:"")}),[t,n?.length]),u("div",{ref:i,className:`transition-max-h duration-300 overflow-hidden ${i.current||!t?"max-h-0":""} ${e}`,children:n})})),st=(e=!1)=>e?"p-default mt-6":"mt-6 p-default",ot=(e,{className:t="",buttonClassName:n,isVertical:i}={})=>e?.length&&e.some((e=>e?.text||e?.icon?.icon))?u("div",{className:x("flex",i?"flex-col gap-2":"gap-4",t),children:e.map(ct(n))}):null,ct=(e="")=>(t,n)=>{const{text:i,icon:r,iconRight:l,version:a,...s}=t||{},o="secondary"===a?"color":"white",c=r?.iconVersion?r?.iconVersion:o;return i||r?.icon?u(Se,{className:e,appendLeft:dt({...r,iconVersion:c}),appendRight:dt({...l,iconVersion:c}),version:a,text:i,...s},n?String(n):""):null},dt=e=>e?.icon||e?.src?u(he,{image:e,width:String(e?.size?.width||24),height:String(24)}):null,mt=g((({children:e,...t})=>u("span",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),ht=(e,t)=>{const{title:n,description:i,buttons:r}=e;return p("div",{className:"py-5 border-b border-main-divider",children:[n?u("div",{className:"opacity-80",children:u(mt,{size:"text-m",color:"text-secondary-text",children:n})}):null,i?u("div",{className:"mt-1",children:u(mt,{size:"text-l",color:"text-primary-text",children:i})}):null,r?.length?u("div",{className:"text-primary-main",children:ot(r)}):null]},String(t))},ut=g((({className:e="",title:t,icon:n,isHighlighting:i=!1,button:r,cardCells:l=[],...a})=>{const s=l.map(ht),o=s.slice(0,1),c=s.slice(1);return p(R,{className:x("relative border border-gray flex flex-col",st(i),e),...a,children:[i?bt():null,pt(n),t?u(Ze,{className:"text-center pt-2",headingType:"h5",title:t}):null,r?u(Se,{className:"w-full mt-4",...r}):null,l.length?u(lt,{renderFoldableSection:({isUnfolded:e})=>p("div",{children:[o,u(at,{isUnfolded:e,children:c})]}),renderFoldButton:l.length>1?gt:null}):null]})})),pt=e=>u("div",{className:"w-[267px] min-w-[267px] self-center",children:e?.src||e?.icon?u(he,{image:e}):null}),gt=({isUnfolded:e,onToggle:t})=>p("button",{className:"w-full cursor-pointer text-primary-main pt-5 flex justify-between items-center",onClick:t,children:[u("div",{children:e?"Скрыть":"Подробнее о тарифе"}),u(ie,{className:"text-primary-text",name:e?"ArrowUpIcon":"ArrowDownIcon",width:"16",height:"16"})]}),bt=()=>p("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:[u(ie,{iconVersion:"black",name:"HeartIcon",width:"23",height:"22"}),u(et,{size:"text-s",font:"font-normal",align:"text-center",color:"text-primary-text",children:"ХИТ"})]}),xt=g((({className:e="",gap:t=14,padding:n=16,showDots:i=!0,minHeight:r,children:l,onVisibleIndicesChange:a,listType:s="horizontal-list",version:o})=>{const c=Array.isArray(l)?l.length:0,[d,m]=W({itemCount:c,onVisibleIndicesChange:a}),[h]=m.visibleIndicesRange;return p("div",{className:x(e,"vertical-list"===s?"relative h-full":""),children:[u(P,{containerRef:d,activeIndex:h,visibleItemCount:1,gap:t,padding:n,onVisibleIndicesChange:m.handleVisibleIndicesChange,listType:s,minHeight:r,children:l}),i?u(V,{containerRef:d,activeIndex:h,dotCount:c,listType:s,version:o}):null]})})),ft=(e=!1)=>e?"text-white":"",yt=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),vt=g((({icon:e,image:t,title:n,subtitle:i,isFillGradient:r})=>p("div",{role:"columnheader",children:[e?u(he,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}):null,t?.src&&u("div",{className:"mb-3.5",children:u(he,{image:t})}),n?u(Ze,{headingType:"h4",className:ft(r),title:n}):null,i?u("div",{className:yt(r),children:i}):null]}))),Nt=g((({cell:e,rowHeader:t,isFillGradient:n=!1})=>u("div",{className:"box-border flex flex-col",role:"cell",children:u("div",{className:"h-full border-main-divider border border-t-0 border-x-0",children:e.map(wt(n,t))})}))),wt=(e,t)=>({label:n,description:i},r)=>p("div",{className:"flex justify-between text-s py-3.5",children:[u("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),p("div",{className:"basis-1/2",children:[n?u("div",{className:"text-right "+(e?"text-white":""),children:n}):null,i?u("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:i}):null]})]},String(r)),kt=g((({header:e,columnData:t,visibleRowLength:n=0,isFillGradient:i,showRow:r,onToggleColumn:l})=>{const a=t?.slice(0,r?t.length:n),s=i?"secondary":"primary";return p("div",{className:`border border-gray rounded-md p-4 mb-3.5 ${i?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[u(vt,{...e,isFillGradient:i}),a?.length?a.map((({rowHeader:e,cell:t},n)=>u(Nt,{cell:t,rowHeader:e,isFillGradient:i},String(n)))):null,r&&e?.link?u(Se,{href:e.link.href,target:e.link.target,version:s,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}):null,Ct({onToggleColumn:l,isFillGradient:i,showRow:r})]})})),Ct=({onToggleColumn:e,isFillGradient:t,showRow:n})=>u("div",{className:"mt-5",role:"cell",children:u("a",{role:"link",onClick:e,className:"text-s font-medium cursor-pointer "+(t?"text-white/80":"text-primary-main"),children:n?"Скрыть":"Показать описание"})}),Tt=g((e=>{const{className:t,title:n}=e;return p("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${t||""}`,children:[n?u(Ze,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:n}):null,u("div",{role:"table",children:u(St,{...e})})]})})),St=g((({columns:e=[],rowHeaders:t,isColoredFirstColumn:n,visibleRowLength:r,orientation:a,...s})=>{const[o,c]=i(new Array(e.length).fill(!r)),d=l((e=>{const t=(t,n)=>n===e?!t:t;c((e=>e.map(t)))}),[]),m=l((()=>c((e=>new Array(e.length).fill(!1)))),[]),h=e?.map((({data:e,header:i},l)=>{return u(kt,{visibleRowLength:r,showRow:o[l],header:i,columnData:(a=e,a?.map(((e,n)=>({cell:e,rowHeader:t?.[n]?.title})))),isFillGradient:0===l&&n,onToggleColumn:()=>d(l),...s},String(l));var a}));return"horizontal"===a?u(xt,{onVisibleIndicesChange:m,children:h}):h})),_t=new Map;function It(e,t,{fallback:n}={}){const l=a((()=>$t(e)),[e]),[s,o]=i(),[c,d]=i(),m=e=>{o(e),d(void 0)},h=e=>{o(void 0),d(e)};r((()=>{if(!l.every((e=>null===e)))try{const e=t(...l);"then"in e?(e=>{e.then((e=>_t.get(l)||e)).then(m).catch(h)})(e):m(e)}catch(e){h(e)}}),[t,...l]);const u=l[0],p=n&&"string"==typeof u&&n[u];return{data:!s&&p?p:s,error:c,mutate:()=>Promise.resolve(void 0),isValidating:!1}}function $t(e){return e?Array.isArray(e)?e:e instanceof Function?$t(e()):[e]:[e]}async function Rt(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await n.json()}function At(e,t={}){const{data:n}=It(`/wcms-resources/${e}.json`,Rt,{fallback:t});return n||{}}const Mt=g((({className:e,onClick:t})=>u("button",{className:x("flex justify-center items-center w-12 h-12 p-1 bg-transparent border-none",e),onClick:t,title:"Закрыть",children:u(he,{image:{icon:"CloseIcon"},width:"24",height:"24"})})));function jt(e){throw new Error(e)}function Lt({onOpen:e,onClose:t}={}){r((()=>T.subscribe("dialog",(n=>{switch(n.type){case"open":e&&e(n);break;case"close":t&&t();break;default:jt(n)}}))),[e,t])}function Pt(e,...t){return e.map(((e,n)=>[e,...t.map((e=>e[n]))]))}const Ot=e=>t=>{if(e===t)return 1;if(!e||!t)return 0;const{m:n,s1Matches:i,s2Matches:r}=function(e,t){const n=Math.max(0,Math.floor(Math.max(e.length,t.length)/2)-1),i=new Array(e.length),r=new Array(t.length);let l=0;for(let a=0;a<e.length;a++){const s=Math.max(0,a-n),o=Math.min(a+n,t.length-1);for(let n=s;n<=o;n++)i[a]||r[n]||e[a]!==t[n]||(l++,i[a]=!0,r[n]=!0)}return{m:l,s1Matches:i,s2Matches:r}}(e,t);if(0===n)return 0;const l=function(e,t,{s1Matches:n,s2Matches:i}){let r=0;for(let l=0,a=0;l<e.length;l++){if(!n[l])continue;let s=a;for(;s<t.length;s++)if(i[s]){a=s+1;break}e[l]!==t[s]&&r++}return r}(e,t,{s1Matches:i,s2Matches:r}),a=(n/e.length+n/t.length+(n-l/2)/n)/3,s=a>.7?.1*function(e,t){let n=0;for(;e[n]===t[n]&&n<4;)n++;return n}(e,t):0;return a+s*(1-a)};const Bt=(e,t)=>(n,i)=>{for(const[r,l]of i)n.set(r,e(n.get(r)||t,l));return n},Dt=e=>e.toLowerCase().split(/[^0-9a-zа-я-]+/).filter((e=>e.length>=3&&!/[0-9a-z]/.test(e))),zt=e=>t=>e.map((([e,n])=>[Ot(t)(e),n])).filter((([e])=>e>=.8)).map((([e,t])=>Et(t,e))).reduce(Bt(Math.max,0),new Map),Vt=e=>t=>{return Pt(t,t.map((({title:e})=>e)).map((e=>t=>{const n=Dt(t||"");return n.length?((e=[])=>e.reduce(((e,t)=>e+t),0))(e.map((e=>F(n.map(Ot(e)))))):0})(e))).sort((i=([,e])=>e,n=(e,t)=>i(e)-i(t),(e,t)=>-n(e,t))).map((([e])=>e));var n,i},Et=(e,t)=>new Map(e.map((e=>[e,t]))),Ht=({basePathList:e=["/"],initialQuery:t="",wasOpened:n})=>{const[l,s]=i(t||"");r((()=>{null!=t&&s(t)}),[t]);const o=a((()=>e.map((e=>n?e:null))),[n,...e]),{data:c}=It(o,Ft),[d,m]=i(null);return((e,t,n=300)=>{r((()=>{const t=setTimeout(e,n);return()=>{clearTimeout(t)}}),t)})((()=>{c&&m(c.map((e=>t=>{const{corpus:n,dictionary:i}=t||{};if(!(e&&n?.length&&i&&Object.keys(i).length))return[];const r=Dt(e);if(!r.length)return[];const l=Object.entries(i),a=[...r.map(zt(l)).reduce(Bt(((e,t)=>e+t),0),new Map).entries()].filter((([,e])=>e>=.799*r.length)).map((([e])=>n[e]));return Vt(r)(a)})(l)))}),[c,l]),[d,{value:l,onChange:s}]},Ft=async(...e)=>(await Promise.allSettled(e.map((e=>async function(e,t){try{return e?await Rt(e,t):null}catch(e){console.error(e)}return null}(q(e,"/","search.index.json")))))).map((e=>"fulfilled"===e.status?e.value:{})),Ut=g((({className:e,isOpened:t,head:n,children:i,onClose:l})=>(r((()=>{const e=({key:e})=>{"Escape"===e&&l&&l()};return globalThis.document?.addEventListener("keydown",e),()=>{globalThis.document?.removeEventListener("keydown",e)}}),[l]),t?u("div",{className:x("fixed inset-0 bg-white text-l-light z-50 overflow-x-hidden overflow-y-scroll no-scrollbar",e),role:"dialog",children:p("div",{className:"relative container pb-12 min-h-full",children:[p("div",{className:"sticky bg-white pt-6 top-0",children:[u(Mt,{className:"absolute top-10 -right-12",onClick:l}),n]}),i]})}):null)));function Jt(e=!1){const[t,n]=i(e),r=l((()=>n(!0)),[]),a=l((()=>n(!1)),[]),s=l((()=>n((e=>!e))),[]);return[t,{setValue:n,setTrue:r,setFalse:a,toggle:s}]}function Xt(e,t=!1){const[n,{setTrue:r,setFalse:a}]=Jt(t),[o,c]=i({id:e}),d=s(n);d.current||=n;Lt({onOpen:l((t=>{t.id===e?(c(t),r()):a()}),[e]),onClose:a});const m=l((()=>{a(),T.fire("dialog",{type:"close"})}),[]);return{...o,isOpened:n,wasOpened:d.current,onClose:m}}const Wt=g((({className:e,topItems:t})=>{const n=ge({isRemote:!0});return u("div",{className:x("flex items-start justify-between",e),children:t?.map(n).map(Gt)})})),Gt=(e,t)=>{const{text:n,items:i,href:r,target:l,onClick:a}=e;return p("div",{className:"flex flex-col gap-3.5 w-1/4",children:[u("a",{className:"leading-5 text-l text-primary-text hover:text-primary-main no-underline",href:r,target:l||"_self",onClick:a,children:n||`Раздел ${t}`}),i?.map(((e,t)=>u(Yt,{...e,basePath:o(r),index:t},String(t))))]},String(t))},Yt=g((({text:e,index:t,basePath:n,...i})=>{const r=ge({isRemote:!(!d.BASE_PATH||!n)&&!d.BASE_PATH.startsWith(n),basePath:n}),{href:l,target:a,onClick:s}=r(i);return u("a",{className:x("text-l-light text-secondary-text hover:text-primary-main no-underline","overflow-x-hidden overflow-ellipsis whitespace-nowrap"),href:l,target:a||"_self",onClick:s,children:e||`Раздел ${t}`})})),Kt=g((({className:e,isMobile:t,value:n,autoFocus:i,onChange:r,onFocus:a})=>{const s=l((e=>{r&&r(e.target?.value||"")}),[r]);return p("div",{className:x("font-sans relative",e),role:"form",children:[u("div",{className:"absolute h-full flex items-center pl-4 pointer-events-none",children:u(he,{image:{icon:"LoupeIcon"},width:"24",height:"24"})}),u("input",{className:x("h-12 pl-12 w-full text-l text-black outline-none box-border","border border-solid rounded-md border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text",t?"":"h-full"),value:n,type:"text",name:"search-bar-input",placeholder:"Поиск по сайту",autoFocus:i,onChange:s,onFocus:a})]})})),Qt="search";g((({topItems:e})=>{const t=Xt(Qt),n=e?.map((e=>e.href||"/")),[i,l]=Ht({basePathList:n,initialQuery:t.message,wasOpened:t.wasOpened}),s=a((()=>qt(e)(i)),[e,i]);return r((()=>function(e){for(const t of e.filter((({items:e})=>e?.length)))console.group(t.text),console.table(t.items,["text","href"]),console.groupEnd()}(s)),[s]),u(Ut,{...t,head:u(Kt,{className:"my-5",autoFocus:!0,...l}),children:u(Wt,{topItems:s})})}));const qt=e=>t=>e?.length&&t?.length?Pt(e,t).map((([e,t])=>({...e,items:t?.map((({title:e,uri:t})=>({text:e,href:q("/",t)})))}))):[];const Zt=g((({className:e,isMobile:t})=>{const[n,r]=i(""),a=l((()=>r("")),[]);Lt({onClose:a});const{open:s}=ue(Qt),o=l((e=>{r(e),en(e)&&s(e)}),[]);return p("div",{className:e,children:[u(Kt,{isMobile:t,value:n,onChange:o}),t?u(Mt,{className:"absolute top-2 right-3",onClick:a}):null]})})),en=e=>e&&e.length>=3,tn=g((e=>u(Zt,{...e,isMobile:!0}))),nn=g((({className:e="",documents:t,...n})=>u(R,{className:`mt-2.5 ${e}`,...n,children:u("ul",{className:"flex flex-col text-s text-secondary-text p-0",children:t?.length?rn(t):null})}))),rn=e=>e.map(((e,t)=>{const{text:n,...i}=e;return u("li",{className:"mb-4 list-none",children:u("a",{className:"hover:text-primary-main",role:"link",...i,children:n||null})},`list_item_${String(t)}`)})),ln={"bg-white":"color",transparent:"white"},an={"bg-white":"text-primary-main",transparent:"text-white"},sn=(e,t,n)=>u(he,t?.src?{image:t,className:an[e],width:n?.width,height:n?.height,pathPrefix:"/wcms-resources/"}:{image:{icon:t?.icon||"LogoIcon",iconVersion:ln[e]},className:an[e],width:n?.width,height:n?.height}),on={"bg-white":"text-primary-text",transparent:"text-white"},cn=(e,t,n)=>u("span",{className:`${on[t]} ml-2.5 font-medium ${n||""}`,children:e||"Россельхозбанк"}),dn=g((({bgColor:e="bg-white",children:t,className:n="",href:i,logo:r,showTitle:l=!0,targetBlank:a})=>p("a",{className:`inline-flex items-center font-sans no-underline ${n}`,href:i||"https://rshb.ru/",target:a?"_blank":"_self","aria-label":r?.title||"Россельхозбанк",children:[sn(e,r?.image,{width:"34",height:"34"}),l?cn(t||r?.title,e,"text-s"):null]}))),mn=g((({className:e="",title:t="Мобильное приложение",description:n,href:i="#"})=>u("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light font-sans ${e}`,children:i?p("div",{className:"flex",children:[u("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-12 h-12",children:u(dn,{className:"w-8",bgColor:"transparent",showTitle:!0})}),p("a",{href:i,target:"_blank",className:"flex flex-col justify-center pl-3",children:[u("div",{className:"text-s font-medium mb-[3px]",children:t}),u("div",{className:"text-s text-secondary-text",children:n})]})]}):null}))),hn=g((({className:e="",label:t,icon:n,dataTheme:i="",disabled:r=!1,onClick:l})=>p("button",{className:x("flex justify-center w-full px-0 py-5 border border-transparent outline-none focus:border-primary-text",r?"bg-main-divider text-main-disabled hover:bg-main-divider":"bg-primary-main text-white hover:bg-primary-hove",e),onClick:l,disabled:r,"data-theme":i,children:[u("span",{className:"text-h4 pr-3",children:t}),n?u(he,{image:{icon:n,iconVersion:"white"},className:"flex-shrink-0 my-auto",width:"20",height:"20"}):null]}))),un=g((({className:e="",label:t="Развернуть",isExpanded:n,isFoldButtonOnTop:i=!0,version:r="primary",...l})=>u(R,{className:x("border-b border-solid border-main-divider w-full",e),tag:"div",version:"transparent",...l,children:u(lt,{isFoldButtonOnTop:i,unfoldedByDefault:n,renderFoldableSection:({isUnfolded:e})=>u(at,{className:"flex flex-wrap group-last:last:pb-0 gap-5 [&>*]:p-0",isUnfolded:e,children:k(l)}),renderFoldButton:({isUnfolded:e,onToggle:n})=>pn({version:r,label:t,isUnfolded:e,onToggle:n})})})));un.childrenTypes={exclude:["RollupItem"]};const pn=({version:e,label:t,isUnfolded:n,onToggle:i,className:r="",primaryIcon:l})=>{const a=t||(n?"Скрыть":"Развернуть");return"primary"===e?gn({label:a,icon:n?"MinusIcon":"PlusIcon",onToggle:i,className:r,primaryIcon:l}):u(hn,{label:a,icon:n?"ArrowUpIcon":"ArrowDownIcon",onClick:i})},gn=({label:e,icon:t,primaryIcon:n,onToggle:i})=>p("button",{className:"border-none bg-transparent flex justify-between text-left w-full text-primary-text group cursor-pointer py-3.5 px-0",onClick:i,children:[p("div",{className:"flex group-hover:text-primary-main",children:[n?u(he,{image:n,className:"mr-3 flex-shrink-0",width:"24",height:"24"}):null,u(mt,{size:"text-m-title-xs",font:"font-medium",children:e})]}),u(he,{className:"flex-shrink-0",image:{icon:t},width:"24",height:"24"})]}),bn=g((({className:e="",items:t,hasButton:n})=>p("div",{className:e,children:[t?.length?t.map(xn):null,n?u(Se,{version:"primary",className:"mb-6 w-full",href:"https://www.rshb.ru/feedback/question/",target:"_blank",ariaLabel:"Обратная связь",text:"Обратная связь"}):null]}))),xn=(e,t)=>{const{type:n,text:i,description:r}=e;return p("div",{className:"mb-4",children:[u("div",{children:fn(n,i)}),u("div",{className:"mt-1 text-s-light text-secondary-text",children:r})]},String(t))},fn=(e,t="")=>{switch(e){case"tel":return u("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${yn(t)}`,children:t});case"email":return u("a",{className:"text-xl-light text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return u("span",{children:t})}},yn=e=>e.replaceAll(/\D/g,""),vn=g((({className:e="",index:t,text:n,...i})=>{const r=ge(),{href:l,target:a,onClick:s}=r(i);return u("a",{className:`text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:l,target:a,onClick:s,children:n||`Документ ${t}`})})),Nn=g((({title:e,links:t,className:n=""})=>p("div",{className:n,children:[u("span",{className:"text-primary-text text-s font-medium",children:e}),t?.length?u("div",{className:"flex flex-col gap-2 pt-3",children:t.map(((e,t)=>u(vn,{index:t,className:"text-s",...e},String(t))))}):null]}))),wn=g((({className:e="",index:t,...n})=>{const i=ge({isRemote:!0}),{href:r,target:l,text:a,onClick:s}=i(n);return u("a",{className:`text-xs-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${e}`,href:r,target:l,onClick:s,children:a||`Документ ${t}`})})),kn=g((({className:e="",links:t})=>p("div",{className:e,children:[u("div",{className:"py-6",children:u("span",{className:"text-xs-light text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?u("div",{className:"flex flex-col justify-start items-start gap-2",children:t.map(((e,t)=>u(wn,{index:t,...e},String(t))))}):null]}))),Cn=g((({className:e="",...t})=>{const n=t.options?.page?.fallback,i=At(d.SITEMAP||"sitemap",n),{documents:r,relatedEnterprises:l,contacts:a,socialMedia:s,horizontalNavigationTitle:o}=At(d.FOOTER||"footer",n);return p(R,{tag:"footer",className:`px-4 py-[26px] ${e}`,...t,children:[u(bn,{className:"overflow-hidden",items:a,hasButton:!0}),u("div",{className:"m-0 p-0",children:i.topItems?.map(((e,t)=>u(un,{label:e?.text,children:u(nn,{documents:e.items})},String(t))))}),u("div",{className:"mt-4",children:i?.dispositions?.map(Tn)}),u(mn,{title:"Мобильное приложение",description:"Загрузить для IOS и Android",...t}),u(tn,{className:"grow"}),u(Qe,{className:"pt-6 pb-6",media:s}),u(Nn,{title:o,links:l}),u(kn,{links:r})]})})),Tn=(e,t)=>{const{icon:n,href:i,text:r}=e;return p(Se,{version:"link",href:i,className:"flex text-s mb-4 w-6",children:[n?u(he,{className:"pr-1",image:n,width:"24",height:"24"}):null,u("span",{className:"pl-2.5 font-medium text-primary-text",children:r})]},`footer-${t}`)},Sn=e=>({href:t})=>Q(Y(t)?e.href:e.pathname).startsWith(Q(t)),_n=g((({className:e="",active:t,dataItemName:n,children:i,...r})=>{const l=ge(),{href:a,target:s,text:o,onClick:c}=l(r);return p("a",{className:x("relative inline-block bg-transparent text-center no-underline",e),href:a,target:s,"data-item-name":n,onClick:c,children:[u("span",{className:In(t),children:o||i}),t?u("div",{className:"absolute left-0 -bottom-3 w-full h-0.5 bg-primary-main group-data-transparent:bg-transparent"}):null]})})),In=(e=!1)=>x("font-sans text-s",e?"text-primary-main":"text-secondary-text hover:text-primary-main","group-data-transparent:text-white group-data-transparent:hover:text-primary-hover"),$n=864e5;function Rn(e,t,n=globalThis?.localStorage){const i=l((async(...i)=>{const r=`async:${e}`,l=function(e){const{data:t=null,timestamp:n=null}=e?JSON.parse(e):{};return t&&Date.now()-n<$n?t:void 0}(n.getItem(r));if(l)return l;const a=await t(...i);return n.setItem(r,JSON.stringify({data:a,timestamp:Date.now()})),a}),[e,t]);return It(e,i)}const An=()=>{const e=globalThis.localStorage?.getItem("location");try{return e?JSON.parse(e):null}catch(e){return null}},Mn=g((({burgerSubMenu:e,onClick:t,defaultLocation:n="",children:a})=>{const[s]=function(e="Москва"){const t=An(),[n,a]=i(t?.region??{name:e}),{data:s}=Rn("/api/v1/region",Rt);return r((()=>{a(t?.region&&t?.manual?t.region:s||{name:e})}),[s]),[n,l((e=>{globalThis.localStorage?.setItem("location",JSON.stringify({manual:!0,region:e})),a(e)}),[])]}(n);return p("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20",children:[u("button",{className:"absolute top-4 right-4 border-none bg-transparent cursor-pointer",onClick:t,children:u(he,{image:{icon:"CloseIcon"},width:"24",height:"24"})}),p("button",{className:"flex items-center text-s p-0 mb-4 bg-transparent cursor-pointer",children:[u(he,{image:{icon:"GeolocationIcon"},width:"20",height:"20",className:"text-primary-main box-border mr-2"}),u(mt,{color:"text-secondary-text",children:s.name})]}),a,u("div",{className:"mb-7",children:e?.map(jn)}),u(tn,{className:"grow"})]})})),jn=(e,t)=>{const{icon:n,href:i,text:r}=e;return p("a",{href:i,className:"flex text-s mb-4 hover:text-primary-main",children:[n?u(he,{className:"text-primary-main pr-1",image:n,width:"24",height:"24"}):null,u("span",{className:"font-medium pl-0.5",children:r})]},`headerSubMenu-${t}`)},Ln=g((({onClick:e,bgColor:t,logo:n})=>p("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-12",children:[p("div",{className:"flex items-center",children:[u("button",{className:"pl-0 pr-4 border-0 bg-transparent cursor-pointer",onClick:e,"aria-label":"Открыть меню",children:u(he,{image:{icon:"BurgerIcon",iconVersion:"bg-white"===t?"black":"white"},className:"text-primary-text w-6 h-6",width:"24",height:"24"})}),u(dn,{className:"mr-8",bgColor:t,logo:n})]}),u("button",{className:"text-primary-main group-data-transparent:text-white group-data-transparent:hover:text-primary-hover text-s border-0 bg-transparent",children:"Войти"})]}))),Pn={"bg-white":"primary",transparent:"transparent"},On=g((({bgColor:e="bg-white",version:t=Pn[e],...n})=>{const r=G(),a=n.options?.page?.fallback,{topItems:s,dispositions:o,defaultLocation:c,logo:m}=At(d.SITEMAP||"sitemap",a),h=s?.find((e=>Sn(d.BASE_PATH?{pathname:d.BASE_PATH}:e))(r)),g=h?.items,b=(e=>(t=[])=>{const n=t?.filter(Sn(e));return n?.length?H((e=>e.href?.length||0))(n):void 0})(r)(g),[x,f]=i(!1),y=l((()=>f((e=>!e))),[]);return p(R,{tag:"header",version:t,...n,children:[p("div",{className:"container px-4 py-0 box-border",children:[u(Ln,{onClick:y,bgColor:e,logo:m}),u("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-12",children:u("div",{className:"flex no-scrollbar horizontal-list h-full items-center",children:g?.map(((e,t)=>u(_n,{className:"mr-8 whitespace-nowrap text-s",active:e===b,...e},String(t))))})})]}),x?u(Mn,{onClick:y,burgerSubMenu:o,defaultLocation:c,children:u("div",{className:"list-none m-0 p-0",children:s?.map(((e,t)=>u(un,{label:e.text,children:u(nn,{documents:e.items})},String(t))))})}):null]})})),Bn=g((e=>{const{className:t,image:n,...i}=e;return u(R,{className:t,...i,children:u(he,{image:n})})})),Dn=g((({doc:e,icon:t})=>{const{text:n,fileSize:i,...r}=e;return p("a",{className:"flex box-border gap-3 group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main",role:"link",...r,children:[t,n?p(mt,{size:"text-l",font:"font-light",children:[n,u(mt,{color:"text-secondary-text",children:r?.href&&zn(Vn(r.href),i)})]}):null]})})),zn=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),Vn=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},En=g((({className:e="",title:t,description:n,icon:i={icon:"DocDownloadIcon",iconVersion:"black"},documents:r,align:l,...a})=>p(R,{className:x("p-default",e),...a,children:[u(nt,{isPadding:!1,title:t,description:n,align:l,headlineVersion:"M",as:"h2"}),r?.length?u("div",{className:"mt-5 flex flex-col gap-6",role:"list",children:r.map(((e,t)=>u("div",{role:"listitem",children:u(Dn,{doc:e,icon:i?u(he,{className:"min-w-11 min-h-11 h-fit p-2.5 bg-main-divider rounded-md",image:i,width:"24",height:"24"}):null})},String(t))))}):null]}))),Hn=e=>{const t="col-span-",n=e?.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function Fn(e=""){const t=Hn(e);return t<=4?"S":t<=8?"M":"L"}function Un(e=""){const t=Hn(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function Jn(e=""){const t=Hn(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const Xn=g((({className:e,title:t,description:n="Блок в разработке...",...i})=>p(R,{className:x("p-9 box-border",e,Jn(e),Un(e)),...i,children:[u(nt,{className:"!p-0 max-w-[600px]",title:t,description:n,headlineVersion:Fn(e)}),u("figure",{className:"m-0 min-w-[80%]",children:Wn()})]}))),Wn=(e=3)=>Yn(100,e).map((e=>Math.floor(e))).map(Gn),Gn=(e,t)=>u("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),Yn=(e,t)=>[e].concat(t>0?Yn(e/1.618,t-1):[]),Kn=g((({className:e="",title:t="",buttons:n,image:i,children:r})=>p("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,children:[t,p("div",{className:"flex grow w-full justify-between",children:[p("div",{className:"flex flex-col justify-between w-full",children:[u("div",{className:"h-full",children:r}),n?u("div",{className:"mt-auto pt-8",children:n}):null]}),i]})]}))),Qn=g((e=>{const{className:t="",icon:n,label:i,description:r,version:l="primary",benefitsVersion:a="normal"}=e;return p("div",{className:`flex gap-5 ${r?"items-start":"items-center"} ${t}`,children:[n?u("div",{className:qn(l,a),children:u(he,{className:"w-6 h-6",image:{...n,iconVersion:n.iconVersion||a}})}):null,p("div",{className:"gap-0.5",children:[i?u("div",{className:"text-h6 text-primary-text group-data-secondary:text-white",children:i}):null,r?u("div",{className:"text-m-light text-secondary-text group-data-secondary:text-white",children:r}):null]})]})}));function qn(e,t){let n="bg-primary-main text-black";return"secondary"===e?n="bg-white/30 text-black":"normal"===t&&(n="bg-secondary-light text-primary-main"),`w-12 h-12 min-w-12 rounded-full p-2.5 box-border flex items-center justify-center ${n}`}const Zn=(e="primary",t="normal")=>({icon:n,label:i,description:r},l)=>u(Qn,{icon:n,label:i,description:r,version:e,benefitsVersion:t},String(l)),ei=g((({className:e="",headlineVersion:t="L",benefits:n,benefitsVersion:i="normal",buttons:r,image:l,items:a,isDotted:s=!0,label:o,title:c,description:d,...m})=>p(R,{className:`w-full ${e}`,...m,children:[p("div",{children:[o?ni(o):null,u(nt,{className:"!p-0 max-w-[600px]",title:c,description:d,headlineVersion:t,align:"text-left"}),p(Kn,{buttons:ot(r,{className:"mt-5",isVertical:!0}),children:[n?.filter((e=>e.label))?.length?u("div",{className:"mt-3",children:n.map(Zn("primary",i))}):null,a?.length?u(Je,{className:"mt-3 text-m",items:a,isDotted:s}):null]})]}),ti(l)]})));function ti(e){return e?.src?u(he,{imageClassName:"mt-5 mx-auto block",image:{className:"block",...e}}):null}const ni=e=>u("div",{className:"w-fit px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid border-secondary-hover",children:u(mt,{color:"text-primary-main group-data-secondary:text-white/80",children:e})}),ii=g((e=>{const{className:t="",...n}=e;return u(R,{className:`px-4 py-6 ${t}`,...n,children:u(ei,{...e})})})),ri=g((e=>{const{__html:t="",richVersion:n=""}=e;return u("div",{className:x(n,"md-container"),dangerouslySetInnerHTML:{__html:t}})})),li=g((e=>{const{__html:t,richVersion:n,...i}=e;return u(R,{...i,children:u(ri,{__html:t,richVersion:n})})})),ai={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-12 w-12 min-w-12 min-h-12"},si={normal:"min-h-[70px]",small:"min-h-12"},oi={description:"text-white/80 text-l-light group-data-primary:text-secondary-text group-data-gray:text-secondary-text",iconText:"text-white group-data-primary:text-secondary-text group-data-gray:text-secondary-text",iconBackground:"bg-white/30 group-data-primary:bg-main-divider",iconConnector:"bg-white group-data-primary:bg-secondary-light",dot:"bg-white/80 group-data-primary:bg-secondary-text"},ci=g((({className:e="",title:t,description:n,showLines:i=!0,steps:r,size:l="normal",version:a="primary",...s})=>p(R,{className:`box-border px-4 py-6 flex flex-col ${e}`,version:a,...s,children:[t?u(Ze,{headingType:"h3",className:"text-center",title:t}):null,n?u("p",{className:`text-m-light text-center ${oi.description} ${t?"mt-2":""}`,children:n}):null,r?.length?u("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:u("div",{className:"flex flex-col justify-between gap-x-[101px]",children:r.map(di(l,a,i))})}):null]}))),di=(e,t,n)=>(i,r,l)=>{const{type:a}=i;if("default"!==a&&"rte"!==a)return null;switch(a){case"default":return mi(e,t,n)(i,r,l);case"rte":return u(ri,{__html:i.__html});default:jt(i)}},mi=(e,t,n)=>(i,r,l)=>{const a=l.length-1===r,s="normal"===e?"ml-[34px]":"ml-6";return u("div",{children:p("div",{className:"flex flex-row text-center relative",children:[p("div",{className:"overflow-hidden flex-shrink-0",children:[hi(e,t)(i,r),a?null:u("div",{className:`min-h-8 h-full w-0.5 ${n?oi.iconConnector:""} ${s}`})]}),p("div",{className:`flex flex-col justify-center h-fit ${si[e]}`,children:[i.label?u("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:i.label}):null,i.description?u("div",{className:`text-s ${oi.description} text-left`,children:i.description}):null]})]})},String(r))},hi=(e,t)=>(n,i)=>{const r="normal"===e?"38":"27",l="secondary"===t?"white":"color";return u("div",{className:`${ai[e]} ${oi.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:u("span",{className:`font-medium flex self-center ${"normal"===e?"text-m-title":"text-m-title-xs"}`,children:(a=n?.icon,Boolean(a?.icon||a?.src)?u(he,{image:{...n.icon,iconVersion:n.icon?.iconVersion||l},width:r,height:r}):u("span",{children:i+1}))})});var a},ui={Buttons:({buttons:e})=>ot(e,{className:"mt-3",buttonClassName:"w-12 h-12"}),Img:({image:e})=>e?.src?u(he,{image:{...e,className:"m-0"}}):null,List:({isDotted:e,...t})=>u(Je,{className:"flex flex-col justify-between items-start text-m",isDotted:e??!0,...t}),LabelDescription:({label:e,description:t})=>p("div",{children:[e?u("div",{className:"text-xl font-medium m-0 "+(t?"mb-1":""),children:e}):null,t?u("div",{className:"text-s text-secondary-text",children:t}):null]})},pi=g((({title:e,icon:t})=>p("div",{className:"flex gap-2.5 mb-2",children:[e?u(Ze,{headingType:"h3",className:"font-medium",title:e}):null,t?u(he,{className:"ml-auto min-w-6",image:t,width:"24",height:"24"}):null]}))),gi=g((({tile:e,...t})=>p("div",{className:"rounded-md border-gray h-full box-border border p-4",children:[u(pi,{...e?.header}),e?.data?.length?e.data.map(((e,n)=>p("div",{children:[n>0?u("div",{className:"h-5"}):null,bi(e,t)]},String(n)))):null]})));function bi(e,t){if(!e||!e.tableCellType||!(e.tableCellType in ui))return null;const n=ui[e.tableCellType];return u(n,{displayTable:()=>null,isVisible:!0,...e,...t})}const xi=g((({tiles:e,...t})=>e?.length?u(xt,{...t,children:e.map(((e,n)=>u(gi,{tile:e,...t},String(n))))}):null)),fi=g((({tiles:e,...t})=>e?.length?u("div",{className:"flex flex-col gap-3.5",children:e.map(((e,n)=>u(gi,{tile:e,...t},String(n))))}):null)),yi=g((({className:e,title:t,description:n,tariffsColumns:i,rowHeaders:r,orientation:l="vertical",...a})=>{const s=vi(i),o=Ni(r,s);return p("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[t?u(Ze,{headingType:"h2",className:`text-center ${n?"mb-2":"mb-5"}`,title:t}):null,n?u("div",{className:"mb-5 text-center text-m",children:n}):null,u("vertical"===l?fi:xi,{tiles:o,...a})]})})),vi=e=>e?.[0]?.data?e[0].data:[],Ni=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),wi=g((({className:e="",title:t,description:n,iconVersion:i,image:r,__html:l,items:a=[],...s})=>p(R,{className:x("px-9 py-4 flex gap-3 bg-white group-data-secondary:bg-primary-main/10",e),...s,children:["small"===i?u("div",{className:"mt-1",children:ki()}):null,"big"===i?Ci(r):null,p("div",{className:"flex flex-col w-fit gap-3",children:[t?u(mt,{size:"text-l",font:"font-medium",color:"text-primary-text group-data-secondary:text-white",children:t}):null,n?Ti(n):null,a?.length?Si(a,!0):null,l?u(ri,{__html:l}):null]})]}))),ki=()=>u("div",{className:"rounded-full h-4 w-4 text-center text-xs-light bg-primary-main text-white group-data-secondary:bg-white group-data-secondary:text-primary-main",children:"i"}),Ci=e=>e?.src?u(he,{className:"h-fit",image:e}):null,Ti=e=>u(et,{size:"text-s",color:"text-secondary-text group-data-secondary:text-white",children:e}),Si=(e,t)=>u("ul",{className:x("text-secondary-text group-data-secondary:text-white/80",t?"list-disc pl-6":""),children:e.map(((e,t)=>u("li",{children:u(mt,{size:"text-s",font:"font-light",children:e})},`listItem-${t}`)))}),_i={XXL:"gap-12",XL:"gap-10",L:"gap-8",M:"gap-4",S:"gap-2",XS:"gap-1","":""},Ii={stretch:"items-stretch",left:"items-start",center:"items-center",right:"items-end"},$i=g((({className:e="",gap:t="",align:n="stretch",isPadding:i=!1,isInnerPadding:r=!0,version:l="transparent",isTheme:a=!1,...s})=>{const o=r?"":"!p-0";return u(R,{className:x("relative","flex flex-col [&>*]:max-w-full",i?"p-default":"",_i[t],n&&Ii[n],e),version:l,isTheme:a,...s,children:k({...s,renderProps:(e,t)=>v(e,t,{className:o})})})}));$i.childrenTypes=[];const Ri={Carousel:Oe,CarouselTariffsCard:ut,ComparisonTable:Tt,Footer:Cn,Header:On,Headline:nt,ImgBlock:Bn,LinkDocs:En,LinkList:nn,MobileAppTile:mn,Placeholder:Xn,ProductBlock:ii,StepsBlock:ci,TariffsTable:yi,TextBlock:wi,RichTextBlock:li,RollupItem:un,VerticalLayout:$i,CarouselRecommendationCard:it};const Ai=["Header","Footer"],Mi=([,{target:e}])=>Math.abs(e.getBoundingClientRect().top);function ji(e=globalThis){const t=s(new Map);r((()=>I.subscribe("intersection",(({block:e,intersection:n})=>{t.current&&t.current.set(e,n)}))),[]),r((()=>{const n=((e,t=600)=>{let n;const i=(...r)=>{i.dispose(),n=setTimeout((()=>{e(...r)}),t)};return i.dispose=()=>{n&&clearTimeout(n)},i})((()=>{!function(e){const t=`#${n=e?.anchor,n?.replace("#","")||""}`;var n;globalThis.location?.hash!==t&&globalThis.history?.replaceState(globalThis.history?.state,"",t)}(globalThis.scrollY>3*globalThis.innerHeight/4?function(e){const t=e.filter((([e])=>!Ai.includes(e.type||""))).filter((([,{intersectionRatio:e}])=>e>.01)),[n]=t.length>0?U(Mi)(t):[];return n}([...t.current||[]]):void 0)}),100);return e.addEventListener("scroll",n),()=>{n.dispose(),e.removeEventListener("scroll",n)}}),[e])}const Li="cookieClose",Pi=g((({termLink:e,personalDataPolicyLink:t})=>{const{isOpened:n,onClose:i}=Xt("cookie",!globalThis.localStorage?.getItem(Li)),r=l((()=>{globalThis.localStorage?.setItem(Li,"true"),i&&i()}),[i]);return n?u("div",{className:"container z-40 fixed bottom-0 left-0 right-0 pointer-events-none",children:p("div",{className:"bg-white m-6 p-6 rounded-md flex items-center pointer-events-auto shadow-[0_4px_25px_rgba(0,0,0,0.07)]",children:[u("div",{className:"flex-1",children:p(et,{size:"text-s-light",color:"text-primary-text",children:["АО «Россельхозбанк» использует",u(Ve,{isRemote:!0,className:x(Oi(e?.href)),...e,children:"cookie"}),"(файлы с данными о прошлых посещениях сайта) для персонализации сервисов и удобства пользователей. Вы можете запретить сохранение cookie в настройках своего браузера.",u(Ve,{isRemote:!0,className:x(Oi(t?.href)),...t,children:"Обработка Ваших персональных данных"}),"производится в соответствии с требованиями Федерального закона от 27.07.2006 № 152-Ф3 «О персональных данных»."]})}),u("div",{className:"w-24 flex justify-end",children:u(Mt,{className:"bg-main-gray rounded-md",onClick:r})})]})}):null})),Oi=e=>["inline mx-1",e?"text-green-dark":""],Bi=h();const Di=g((({className:e,onClick:t,ariaLabel:n})=>u("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":n,children:zi()}))),zi=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[u("path",{...e,strokeMiterlimit:"10",d:"M21.48 11.95c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1 6.1M7.48 18.35l3.1 2.4c.4.4 1.3.6 1.9.6h3.8c1.2 0 2.5-.9 2.8-2.1l1.24-3.77"}),u("path",{...e,d:"M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z"})]})},Vi=g((({className:e=""})=>{const t=function(e){const[t,n]=i(0);return r((()=>{(async()=>{const[t]=await Bi.getLikeCount(e);n(t?.value||0)})()}),[e]),{likeCount:t,like:l((async()=>{n(await Bi.like(e))}),[e]),dislike:l((async()=>{n(await Bi.dislike(e))}),[e])}}(G().pathname);return p("div",{className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e}`,children:[u(Di,{onClick:pe(t.like),ariaLabel:"Поставить отметку «лайк»"}),u(Di,{onClick:pe(t.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),u("span",{className:"select-none",children:t.likeCount})]})})),Ei=g((e=>{const{className:t="",blocksRegistry:n,blockDecorator:i,data:r={}}=e,{style:l,blocks:a,slots:s,likeControl:o,colorPalette:c="pc"}=r,d={key:"",page:r,blocksRegistry:n,blockDecorator:i,parent:r};ji();const[m,{setTrue:h,setFalse:g}]=Jt();return Lt({onOpen:h,onClose:g}),p("section",{className:x("relative",l,t,m?"overflow-hidden h-screen":""),"data-theme":c,children:[s?.header?u("div",{className:"mb-5 shadow-[0_8px_32px_0px_#00000014]",children:w(s?.header,{...d,slotName:"header"})}):null,p("div",{className:"container grid grid-cols-12 gap-1",children:[w(a,d),s?.footer?w(s?.footer,{...d,slotName:"footer"}):null]}),o?u("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:u(Vi,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto"})}):null,u(Pi,{termLink:{href:"/pd-policy#cookie",target:"_blank"},personalDataPolicyLink:{href:"/pd-policy",target:"_blank"}})]})}));Ei.childrenTypes=[],Ei.slots=()=>["header","footer"];e.Blocks=Ri,e.ContentPage=Ei,e.DaDataAPI=function(e=""){return{getFetcherAddress:async function(){if(!("geolocation"in navigator))return null;try{const t=await(async()=>new Promise((e=>navigator.geolocation.getCurrentPosition((({coords:t})=>e(t))))))(),n=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await n.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.LikeAPI=h,e.handlerDecorator=pe,e.joinList=function(e){return t=>t.reduce(((t,n,i)=>t.length?t.concat({...e,key:i},n):[n]),[])},e.packageVersion="0.10.9",e.projectSettings=d,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=Z,e.useRouter=G,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UniMobileBlocks={})}(this,(function(e){"use strict";let t;const n=e=>(...n)=>t[e](...n),i=n("useState"),r=n("useEffect"),l=n("useCallback"),a=n("useMemo"),s=n("useRef");const o=e=>e&&!e.endsWith("/")?`${e}/`:e,c={PROD_BRANCH:"master"},d=new class{_=c;setup(e){this._=e}get TEST_BRANCH(){return this._.TEST_BRANCH}get RC_BRANCH(){return this._.RC_BRANCH}get PROD_BRANCH(){return this._.PROD_BRANCH||c.PROD_BRANCH}get FORCED_DRAFT_FLOW(){return this._.FORCED_DRAFT_FLOW}get ASSIST_PROJECT_ID(){return this._.ASSIST_PROJECT_ID}get SITEMAP(){return this._.SITEMAP}get FOOTER(){return this._.FOOTER}get CHAT_BOT(){return this._.CHAT_BOT}get CDN(){return o(this._.CDN)}get BASE_PATH(){return o(this._.BASE_PATH)}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},m="likesToken";function h(){async function e(){try{const e=JSON.parse(globalThis.localStorage?.getItem(m)||"");if(e?.token)return e}catch(e){}try{const e=await fetch("/assist/v1/public/auth",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:t,name:n}=await e.json();return globalThis.localStorage?.setItem(m,JSON.stringify({token:t,name:n})),{token:t,name:n}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...t){if(!t.length)return[];const{token:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n},body:JSON.stringify({node_ids:t})}),{likes:i}=await e.json();return i||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:n,name:i}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:t,user_name:i})}),{likes:r}=await e.json();return r||0}catch(e){return console.error(e),0}},dislike:async function(t){if(!t)return 0;const{token:n,name:i}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:t,user_name:i})}),{likes:r}=await e.json();return r||0}catch(e){return console.error(e),0}}}}const u=(...e)=>globalThis._uni._jsx(...e),p=(...e)=>globalThis._uni._jsxs(...e),g=e=>{const t=e;return t._tmpl||(t._tmpl=globalThis.__UNI_REACT__?e:b(e)),t._tmpl},b=e=>{function t(t,n){const{children:i,...r}=t||{},l=n?.slots?.default,a=i||l&&l();return e(Object.assign(r,a&&{children:a}),n)}return t.inheritAttrs=!1,t},f=(...e)=>e.flatMap((e=>e)).filter(Boolean).join(" "),x=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),y=[];function v(e,t,{className:n,...i}={}){const{key:r,blockDecorator:l=x,blocksRegistry:a={},ancestors:s=y}=t,{type:o}=e;o&&o in a||console.warn(`No block with "${o}" is registered`);const c=o&&a[o];return l({blockClassName:f("scroll-mt-12",n,e.style||"col-span-12"),block:e,ancestors:s,render:({block:n,blockClassName:l})=>{const{content:a}=n;return c?u(c,{className:l,block:e,options:t,...a,...i},r):null}},r)}const N=[],w=(e,{key:t,ancestors:n=N,slotName:i=null,renderProps:r=v,...l})=>(e||[]).map(((e,a)=>r(e,{...l,key:`${t||e.type}-${a}`,ancestors:l.parent?[...n||N,[l.parent,i]]:n})));function k({children:e,block:t,options:n,renderProps:i}){return e||(t&&n?w(t.blocks,{...n,parent:t,renderProps:i}):null)}class C{subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]=(this.subscribers[e]||[]).concat(t);const n=this.subjectsStateMap[e];return n&&t(n),()=>{this.unsubscribe(e,t)}}unsubscribe(e,t){this.subscribers[e]=this.subscribers[e]?.filter((e=>e!==t))}fire(e,t){e in this.subjectsStateMap&&(this.subjectsStateMap[e]=t),this.subscribers[e]?.forEach((e=>e(t)))}subject(e,t){this.subjectsStateMap[e]=t}}const T=new C;function S(e,{sensitivity:t,rootRef:n}={}){const i=s(null),l=a((()=>({threshold:_(t),root:n?.current})),[t,n?.current]);return r((()=>{if(!i.current)return;const t=new IntersectionObserver(e,l);return t.observe(i.current),()=>{t.disconnect()}}),[e,l]),i}function _(e=0){const t=Math.round(10*e);return new Array(t).fill(0).map(((e,n)=>Math.min(n/t)),1).concat(1)}const I=new C;const R={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white",gray:"bg-main-divider text-primary-text",transparent:"bg-transparent text-primary-text","":""},A=g((({className:e,version:t="primary",isTheme:n=!0,block:a,tag:s="section",role:o,children:c})=>{const d=s,m=function(e){return S(l((t=>{if(!e||!t?.length)return;const n=t[t.length-1];I.fire("intersection",{block:e,intersection:n})}),[e]),{sensitivity:1})}(a),[h,p]=i(!1);return r((()=>T.subscribe("tab",(e=>{p(Boolean(e.label&&a?.labels?.length&&!a.labels.includes(e.label)))}))),[a]),u(d,{className:f($(Boolean(t&&n)),R[t],h?"hidden":"",e),...t&&n?{"data-ver":t}:{},...a?.anchor?{id:a.anchor,ref:m}:{},role:o,children:c})})),$=e=>e?"group":"",P=e=>({height:"calc(100vh - 242px)",minHeight:`${e||866}px`}),M=g((({className:e="",style:t,idx:n,activeIndex:i,observerOptions:r,children:a,onIntersection:s})=>{const o=S(l((e=>{e.length&&s&&s(n||0,e[e.length-1])}),[s,n]),r);return u("div",{className:`inline-block snap-always box-border ${e}`,style:t,"aria-current":Boolean(n===i),ref:o,children:a})})),j=["min-w-[100%]","min-w-[50%]","min-w-[33.33%]","min-w-[25%]"],L=g((({className:e="",containerRef:t,activeIndex:n,visibleItemCount:i=0,gap:r=0,padding:a=0,listType:o="horizontal-list",snapAlign:c="snap-center",minHeight:d,children:m,onVisibleItemsChange:h,onVisibleIndicesChange:p})=>{const g={sensitivity:1,rootRef:t},b=s([]),x=l(((e,t)=>{const n=[...b.current||[]];n[e]=t,b.current=n,h&&h(n),p&&p(O(n))}),[h,p]),y=i>0?r*Number(i)-1:0,v="vertical-list"===o,N="horizontal-list"===o,w={...N?B(a,y):{},...v?P(d):{},gap:`${r}px`};return u("div",{className:f("box-border overflow-auto no-scrollbar",o,e),style:w,ref:t,children:(k=(e,t)=>u(M,{className:f(c,i?j[i-1]:"",v?"h-full":""),style:N?B(a/4):{},activeIndex:n,idx:t,observerOptions:g,onIntersection:x,children:e},String(t)),e=>null==e?e:Array.isArray(e)?e.map(k):k(e,0))(m)});var k})),B=(e,t=0)=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e+t}px`}),O=e=>e.map(((e,t)=>[e,t])).filter((([e])=>e&&e.intersectionRatio>=.9)).map((([,e])=>e)),z={"horizontal-list":"mx-auto mt-5 w-fit","vertical-list":"absolute flex-col justify-center h-full top-0 left-4"},D={"horizontal-list":"w-6","vertical-list":"h-6"},V=g((({containerRef:e,activeIndex:t,dotCount:n=0,listType:i="horizontal-list",version:r})=>n?u("div",{className:f("flex gap-2",z[i],r?"group":""),...r?{"data-ver":r}:{},children:new Array(n).fill(null).map(((n,r)=>u("div",{className:`cursor-pointer rounded-full transition-width duration-300 bg-primary-main group-data-secondary:bg-white group-data-transparent:bg-white ${r===t?D[i]:"w-2 h-2 opacity-30"}`,role:"button","aria-hidden":!0,onClick:()=>(n=>{n!==t&&e?.current&&e.current.children[n]?.scrollIntoView({behavior:"smooth",block:"nearest"})})(r)},String(r))))}):null)),E=e=>e,H=(e=E)=>t=>t.reduceRight(((t,n)=>e(t)>e(n)?t:n)),F=H(),U=(e=E)=>H((t=>-e(t))),J=e=>t=>e.scrollWidth/t,X=e=>(t,n)=>{e.scrollBy({left:n*J(e)(t),behavior:"smooth"})},W=({itemCount:e,isCyclic:t,onVisibleIndicesChange:n})=>{const r=s(null),[a,o]=i([]),c=l((e=>{o((t=>{return(n=t)===(i=e)||Boolean(n&&i&&n?.length===i?.length&&n.every(((e,t)=>e===i[t])))?t:e;var n,i})),n&&n(e)}),[e]),[d,m]=a.length?[U()(a),H()(a)]:[-1,-1],h=d>0,u=m<e-1,p=l((()=>{var n;r.current&&(t&&!h?(n=r.current).scrollTo({left:n.scrollWidth,behavior:"smooth"}):X(r.current)(e,-1))}),[t,e,h]),g=l((()=>{r.current&&(t&&!u?r.current.scrollTo({left:0,behavior:"smooth"}):X(r.current)(e,1))}),[e,t,u]);return[r,{scrollLeft:p,scrollRight:g,canScrollLeft:t||h,canScrollRight:t||u,visibleIndicesRange:[d,m],handleVisibleIndicesChange:c}]};function G(){return G._impl()}G._impl=()=>({href:globalThis.location?.href||"/",pathname:globalThis.location?.pathname||"/",query:{},push:()=>{},replace:()=>{}}),G.setup=e=>{G._impl=e};const Y=e=>Boolean(e?.includes(":")),K=(e,t)=>Boolean(e&&!Y(e)&&(!t||"_self"===t)),Q=e=>(e||"").replace(/\?.*/,"").replace(/\/$/,""),q=(...e)=>e.filter(Boolean).join("/").replace(/\/+/g,"/");var Z=Object.freeze({__proto__:null,isURL:Y,isLocalURL:K,isHash:e=>Boolean(e?.startsWith("#")),withoutQuery:Q,joinPath:q});const ee=e=>(t,n=d.BASE_PATH)=>{if(!t||Y(t)||te(t,d.CDN))return t;const i=t.startsWith("/");return q(te(t,n)?"":n,i?"/":e.pathname?.split("/").slice(0,-1).join("/"),t)},te=(e,t)=>t&&e&&e.startsWith(t),ne={normal:"",color:"text-primary-main",black:"text-black",white:"text-black"},ie=g((({className:e="",imageClassName:t="",name:n="",alt:i=`Иконка ${n}`,title:r=i,iconVersion:l="color",...a})=>{const s=G(),o=ee(s)(q(d.CDN,"/icons",`${n}.svg`));return"normal"!==l?u(le,{className:e,children:p("svg",{className:f(re(a.width),ne[l],"white"===l?"invert":"",t),...a,"aria-hidden":"true",children:[r?u("title",{children:r}):null,i?u("desc",{children:i}):null,u("use",{href:`${o}#icon`,xlinkHref:`${o}#icon`})]})}):(e.includes("h-")||(a.style={height:`${a.height}px`}),u("img",{className:e,src:o,alt:i,title:r,"aria-hidden":"true",...a}))})),re=e=>e?"":"w-full h-full",le=g((({className:e,children:t})=>e?u("div",{className:e,children:t}):t)),ae=(e,t)=>e?.media&&t?.media?e.media-t.media:0,se=g((({className:e="",image:t,imageClassName:n="",isMobile:i=!1,pathPrefix:r})=>{const l=G();return p("picture",{className:`${i?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.filter((e=>e?.src)).sort(ae).map((({src:e,format:n,media:i},a)=>u("source",{srcSet:ce(l,r)(e),type:de(n),media:i?`(max-width: ${i}px)`:"",...t.size},`${a}_${e}`))):null,t?.src?oe({...t,src:ce(l,r)(t.src)},n,i):null]})})),oe=(e,t="",n=!1)=>{const i={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"100%"},r=e.title||"",l=e.alt||e.title,a=n?"m-auto":"m-0";return u("img",{src:e.src,className:`${a} ${t}`,alt:l,title:r,style:i,...e.size})},ce=(e,t)=>n=>n&&!Y(n)?ee(e)(q(t,n)):n,de=e=>e?`image/${String(e)}`:void 0,me=g((({className:e="",image:t,imageClassName:n="",isMobile:i,pathPrefix:r,...l})=>t?.src||t?.icon?t.icon?u(ie,{className:e,imageClassName:n,iconVersion:t?.iconVersion,name:t.icon,...l}):u(se,{className:e,imageClassName:n,image:t,isMobile:i,pathPrefix:r}):null)),he=g((e=>u(me,{...e,isMobile:!0}))),ue=(e="")=>({open:t=>T.fire("dialog",{type:"open",id:e,message:t}),close:()=>T.fire("dialog",{type:"close"})}),pe=(e,t)=>pe._impl(e,t);function ge(e={}){const{isRemote:t,basePath:n}=e,i=G(),{close:r}=ue();return e=>({...e,href:t&&!n?e.href:ee(i)(e.href,n),"aria-label":e.text,onClick:pe(l(e),e)});function l({href:e,target:n,onClick:l}){return a=>{l&&l(a),e&&!t&&K(e,n)&&(r(),a?.preventDefault(),i.push(e))}}}pe._impl=e=>e,pe.setup=e=>{pe._impl=e};const be={primary:"text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active",secondary:"text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active",white:"text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main",link:"",transparent:"",gray:"text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active","":""},fe="bg-main-divider text-main-disabled",xe={primary:fe,secondary:fe,white:fe,link:"",transparent:"",gray:fe,"":""},ye="text-center font-sans select-none",ve={primary:"group-hover/btn:brightness-0 group-hover/btn:invert",secondary:"group-hover/btn:brightness-0 group-hover/btn:invert",white:"group-hover/btn:brightness-0 group-hover/btn:invert",link:"",transparent:"",gray:"group-hover/btn:brightness-0 group-hover/btn:invert","":""},Ne=g((e=>{const{text:t,aboveText:n,appendLeft:i,appendRight:r,version:l="primary"}=e;return p("div",{className:f(we(e),"flex gap-2"),children:[i?u("div",{className:ve[l],children:i}):null,ke(e)?p("div",{children:[n?u("div",{className:"text-xs-light text-left",children:n}):null,u("div",{className:"text-left "+(n?"text-s -mt-0.5":"text-l"),children:t})]}):null,r?u("div",{className:ve[l],children:r}):null]})})),we=e=>{const{version:t,aboveText:n,rounded:i}=e;if("link"===t)return"";const r=""+(n?"py-2.5 px-7":"py-4 px-4");return["group/btn items-center justify-center",ke(e)?r:"h-12 w-12",i?"rounded-full":""].join(" ")},ke=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),Ce=({className:e,rounded:t,version:n})=>["inline-block",ye,n?xe[n]:"",t?"rounded-full":"rounded-md",e].join(" "),Te=({className:e,rounded:t,version:n})=>[ye,"border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border h-fit",n?be[n]:"",t?"rounded-full":"rounded-md",e].join(" "),Se=g((({disabled:e,children:t,...n})=>{const i=ge()(n),r=t??u(Ne,{...i});return u(e?Ie:_e,{...i,children:r})})),_e=g((({className:e="",href:t,rel:n,target:i,ariaLabel:r,version:l,rounded:a,onClick:s,children:o})=>u("a",{className:Te({className:e,version:l,rounded:a}),href:t,rel:n,target:i,"aria-label":r,role:t?"link":"button",onClick:s,children:o}))),Ie=g((({className:e,ariaLabel:t,version:n,rounded:i,children:r})=>u("div",{role:"button","aria-disabled":"true","aria-label":t,tabIndex:-1,className:Ce({className:e,rounded:i,version:n}),children:r}))),Re=g((({className:e,disabled:t,...n})=>u(Se,{rounded:!0,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 ${t?"bg-secondary-light text-secondary-text":"bg-white text-primary-text hover:text-primary-main"} ${e||""}`,disabled:t,...n,children:u(he,{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"})}))),Ae=g((e=>u(Re,{...e,ariaLabel:"Пролистать влево","data-block-control":"scroll-left"}))),$e=g((e=>u(Re,{...e,className:`${e.className||""} rotate-180`,ariaLabel:"Пролистать вправо","data-block-control":"scroll-right"}))),Pe="absolute top-[calc(50%-24px)] z-40",Me="absolute top-0 bottom-0 z-40 w-[84px] pointer-events-none",je=g((({scroll:e,arrowsPadded:t,isBlur:n,onScrollLeft:i,onScrollRight:r,hasEdgeBlocks:a,activeIndex:s,itemCount:o})=>{const{canScrollLeft:c,canScrollRight:d,scrollLeft:m,scrollRight:h}=e,g=a?s>0:c,b=a?s<o-1:d,x=l((()=>{a?(c&&s!==o-1&&m(),i()):m()}),[m,i,a,c,s,o]),y=l((()=>{a?(d&&0!==s&&h(),r()):h()}),[h,r,a,c,s,o]);return p("div",{children:[Le(n,e),g?u(Ae,{className:f(Pe,t?"left-8":"left-0"),onClick:x}):null,b?u($e,{className:f(Pe,t?"right-8":"right-0"),onClick:y}):null]})})),Le=(e,t)=>e?p("div",{children:[t.canScrollLeft?u("div",{className:f(Me,"left-0 bg-opacity-from-white")}):null,t.canScrollRight?u("div",{className:f(Me,"right-0 bg-opacity-to-white")}):null]}):null,Be=g((({className:e="",itemCount:t,visibleItemCount:n,isBlur:r=!0,isCyclic:a=!1,arrowsPadded:s=!0,isPadding:o=!0,showDots:c=!1,isAlignCenter:d=!1,...m})=>{const{blocks:h=[]}=m.block||{},g=t||h?.length,[b,x]=i(Math.floor((n||0)/2)),y=l((()=>x((e=>e+1))),[]),N=l((()=>x((e=>e-1))),[]),[w,C]=W({itemCount:g,isCyclic:a}),[T]=C.visibleIndicesRange,S=h&&"CarouselBankHistoryCard"===h[0]?.type;return u(A,{className:f(Oe(o),"group-data-secondary:bg-primary-main group-data-secondary:text-white",e),...m,children:p("div",{className:f(ze(d),"relative max-w-full"),children:[u(L,{containerRef:w,visibleItemCount:n,snapAlign:"snap-start",gap:16,onVisibleIndicesChange:C.handleVisibleIndicesChange,children:k({...m,renderProps:S?(e,t)=>v(e,t,{blocksLength:h?.length,activeIndex:b}):v})}),u(je,{scroll:C,isBlur:r,arrowsPadded:s,onScrollLeft:N,onScrollRight:y,hasEdgeBlocks:S,activeIndex:b,itemCount:g}),c?De(w,T,g):null]})})}));Be.childrenTypes=["CarouselCard","CarouselBankHistoryCard","CarouselCatalogCard","CarouselInvestmentCard","CarouselProductCard","CarouselProgramsCard","CarouselRecommendationCard","CarouselTariffsCard","CarouselRichTextCard","CarouselInvestmentCard","CarouselEventCard"];const Oe=e=>e?"p-default":"",ze=e=>e?"flex justify-center":"",De=(e,t,n)=>u(V,{containerRef:e,activeIndex:t,dotCount:n,listType:"horizontal-list"}),Ve=g((({className:e="",href:t,target:n,isRemote:i=!1,children:r})=>{const l=ge({isRemote:i})({href:t,target:n});return u(t?"a":"div",{className:f("block",e),...t?l:{},children:r})})),Ee={L:"w-1.5 h-1.5 mr-4",M:"w-1.5 h-1.5 mr-3",S:"w-1 h-1 mr-2"},He=g((({className:e,isDotted:t=!0,children:n,size:i="M"})=>p("div",{className:f("font-sans flex",e),role:"listitem",children:[t?u("div",{className:"shrink-0",children:u("div",{className:f("align-middle inline-block rounded-full bg-primary-text group-data-secondary:bg-white",Ee[i])})}):null,u("span",{children:n})]}))),Fe={S:"text-l-light",M:"text-h6",L:"text-h5"},Ue={S:"ml-2",M:"ml-3",L:"ml-4"},Je=g((({className:e,hasIndent:t,isDotted:n,items:i,listItemSize:r="M"})=>i?.length?u("section",{className:f("flex flex-col gap-2 text-left text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text",Fe[r],t?Ue[r]:"",e),role:"list",children:i.map(((e,t)=>u(He,{isDotted:n,size:r,children:e},String(t))))}):null)),Xe={default:"w-24 h-14",small:"w-12 h-12"},We=(e,t)=>e?"":f("group/media flex items-center justify-center box-border",Xe[t]),Ge=[{origins:["t.me","telegram.org"],iconMapped:{icon:"TelegramIcon"},label:"Телеграм"},{origins:["vk.com"],iconMapped:{icon:"VKIcon"},label:"ВКонтакте"},{origins:["ok.ru"],iconMapped:{icon:"OkIcon"},label:"Одноклассники"},{origins:["apps.apple.com"],iconMapped:{icon:"AppleIcon"},label:"App Store"},{origins:["play.google.com"],iconMapped:{icon:"PlayMarketIcon"},label:"Google Play"},{origins:["youtube.com"],iconMapped:{icon:"YoutubeIcon"},label:"Youtube"}],Ye=g((({buttonSize:e="default",rounded:t=!1,icon:n,...i})=>{const{href:r,version:l,text:a=""}=i,{iconMapped:s,label:o}=Ge.find((({origins:e})=>e.some((e=>r?.includes(e)))))||{},c=Ke(n)??s;return u(Se,{className:f(t?"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",We(a,e)),"aria-label":o,rel:"noopener noreferrer",target:"_blank",text:a,version:l,...i,children:c&&!a?u(he,{image:c,imageClassName:"group-hover/media:text-white",width:"24",height:"24"}):null})})),Ke=e=>e?.src||e?.icon?e:void 0,Qe=g((({className:e="",media:t})=>u("div",{className:`flex gap-2 items-start justify-start ${e}`,children:t?.map(((e,t)=>u(Ye,{...e},String(t))))}))),qe={h0:"text-m-title",h1:"text-m-title",h2:"text-m-title",h3:"text-h6",h4:"text-m-title-xs",h5:"text-m-title-xs",h6:"text-m-title-xs"},Ze=g((e=>{const{className:t,headingType:n="h3",title:i,as:r="h3"}=e;return u(r,{className:`font-sans font-medium m-0 ${qe[n]} ${t||""}`,children:i})})),et=g((({children:e,...t})=>u("p",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),tt={XXL:{title:{headingType:"h0",as:"h1"},descriptionSize:"text-h5",descriptionStyle:"mt-5"},XL:{title:{headingType:"h1",as:"h1"},descriptionSize:"text-xl-light",descriptionStyle:"mt-4"},L:{title:{headingType:"h2",as:"h2"},descriptionSize:"text-xl-light",descriptionStyle:"mt-4"},M:{title:{headingType:"h3",as:"h3"},descriptionSize:"text-xl-light",descriptionStyle:"mt-3"},S:{title:{headingType:"h4",as:"h4"},descriptionSize:"text-xl-light",descriptionStyle:"mt-2"},XS:{title:{headingType:"h5",as:"h5"},descriptionSize:"text-l-light",descriptionStyle:"mt-2"}},nt=g((({className:e,title:t,description:n,headlineVersion:i="XL",align:r="text-center",as:l,isPadding:a=!0,isTheme:s=!1,version:o="",...c})=>{const d=tt[i],m=a?"p-default":"",h={marginTop:d.descriptionStyle};return p(A,{className:f(m,e),version:o,isTheme:s,...c,children:[t?u(Ze,{className:f("whitespace-pre-wrap",r),...d?.title,as:l||d?.title.as,title:t}):null,n?u(et,{size:d.descriptionSize,align:r,...h,children:n}):null]})})),it=g((({className:e="",description:t,href:n,icon:i,items:r=[],socialMedia:l=[],target:a,title:s,align:o="text-left",...c})=>u(A,{className:f("relative box-border p-default group-data-gray:bg-main-divider/50","border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider",e),...c,children:p(Ve,{href:n,target:a,children:[u(nt,{className:"mb-2",title:s,description:t,headlineVersion:"S",isPadding:!1,align:o}),r.length?u(Je,{className:"flex flex-col gap-2",items:r,listItemSize:"S"}):null,rt(i),l.length?u(Qe,{className:"mt-5",media:l}):null]})}))),rt=e=>e?.src||e?.icon?u("div",{children:u(he,{image:e})}):null,lt=g((({className:e="",isFoldButtonOnTop:t=!1,unfoldedByDefault:n=!1,renderFoldableSection:r,renderFoldButton:a})=>{const[s,o]=i(n),c=l((()=>{o((e=>!e))}),[]),d=r({isUnfolded:s,onToggle:c}),m=a?a({isUnfolded:s,onToggle:c}):null;return p("div",t?{className:e,children:[m,d]}:{className:e,children:[d,m]})})),at=g((({className:e="",isUnfolded:t,children:n})=>{const i=s(null);return r((()=>{i.current&&(i.current.style.maxHeight=t?`${i.current.scrollHeight}px`:"")}),[t,n?.length]),u("div",{ref:i,className:`transition-max-h duration-300 overflow-hidden ${i.current||!t?"max-h-0":""} ${e}`,children:n})})),st=(e=!1)=>e?"p-default mt-6":"mt-6 p-default",ot=(e,{className:t="",buttonClassName:n,isVertical:i}={})=>e?.length&&e.some((e=>e?.text||e?.icon?.icon))?u("div",{className:f("flex",i?"flex-col gap-2":"flex-wrap gap-4",t),children:e.map(ct(n))}):null,ct=(e="")=>(t,n)=>{const{text:i,icon:r,iconRight:l,version:a,...s}=t||{},o="secondary"===a?"color":"white",c=r?.iconVersion?r?.iconVersion:o;return i||r?.icon?u(Se,{className:e,appendLeft:dt({...r,iconVersion:c}),appendRight:dt({...l,iconVersion:c}),version:a,text:i,...s},n?String(n):""):null},dt=e=>e?.icon||e?.src?u(he,{image:e,width:String(e?.size?.width||24),height:String(24)}):null,mt=g((({children:e,...t})=>u("span",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),ht=(e,t)=>{const{title:n,description:i,buttons:r}=e;return p("div",{className:"py-5 border-b border-main-divider",children:[n?u("div",{className:"opacity-80",children:u(mt,{size:"text-m",color:"text-secondary-text",children:n})}):null,i?u("div",{className:"mt-1",children:u(mt,{size:"text-l",color:"text-primary-text",children:i})}):null,r?.length?u("div",{className:"text-primary-main",children:ot(r)}):null]},String(t))},ut=g((({className:e="",title:t,icon:n,isHighlighting:i=!1,button:r,cardCells:l=[],...a})=>{const s=l.map(ht),o=s.slice(0,1),c=s.slice(1);return p(A,{className:f("relative border border-gray flex flex-col",st(i),e),...a,children:[i?bt():null,pt(n),t?u(Ze,{className:"text-center pt-2",headingType:"h5",title:t}):null,r?u(Se,{className:"w-full mt-4",...r}):null,l.length?u(lt,{renderFoldableSection:({isUnfolded:e})=>p("div",{children:[o,u(at,{isUnfolded:e,children:c})]}),renderFoldButton:l.length>1?gt:null}):null]})})),pt=e=>u("div",{className:"w-[267px] min-w-[267px] self-center",children:e?.src||e?.icon?u(he,{image:e}):null}),gt=({isUnfolded:e,onToggle:t})=>p("button",{className:"w-full cursor-pointer text-primary-main pt-5 flex justify-between items-center",onClick:t,children:[u("div",{children:e?"Скрыть":"Подробнее о тарифе"}),u(ie,{className:"text-primary-text",name:e?"ArrowUpIcon":"ArrowDownIcon",width:"16",height:"16"})]}),bt=()=>p("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:[u(ie,{iconVersion:"black",name:"HeartIcon",width:"23",height:"22"}),u(et,{size:"text-s",font:"font-normal",align:"text-center",color:"text-primary-text",children:"ХИТ"})]}),ft=g((({className:e="",gap:t=14,padding:n=16,showDots:i=!0,minHeight:r,children:l,onVisibleIndicesChange:a,listType:s="horizontal-list",version:o})=>{const c=Array.isArray(l)?l.length:0,[d,m]=W({itemCount:c,onVisibleIndicesChange:a}),[h]=m.visibleIndicesRange;return p("div",{className:f(e,"vertical-list"===s?"relative h-full":""),children:[u(L,{containerRef:d,activeIndex:h,visibleItemCount:1,gap:t,padding:n,onVisibleIndicesChange:m.handleVisibleIndicesChange,listType:s,minHeight:r,children:l}),i?u(V,{containerRef:d,activeIndex:h,dotCount:c,listType:s,version:o}):null]})})),xt=(e=!1)=>e?"text-white":"",yt=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),vt=g((({icon:e,image:t,title:n,subtitle:i,isFillGradient:r})=>p("div",{role:"columnheader",children:[e?u(he,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}):null,t?.src&&u("div",{className:"mb-3.5",children:u(he,{image:t})}),n?u(Ze,{headingType:"h4",className:xt(r),title:n}):null,i?u("div",{className:yt(r),children:i}):null]}))),Nt=g((({cell:e,rowHeader:t,isFillGradient:n=!1})=>u("div",{className:"box-border flex flex-col",role:"cell",children:u("div",{className:"h-full border-main-divider border border-t-0 border-x-0",children:e.map(wt(n,t))})}))),wt=(e,t)=>({label:n,description:i},r)=>p("div",{className:"flex justify-between text-s py-3.5",children:[u("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),p("div",{className:"basis-1/2",children:[n?u("div",{className:"text-right "+(e?"text-white":""),children:n}):null,i?u("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:i}):null]})]},String(r)),kt=g((({header:e,columnData:t,visibleRowLength:n=0,isFillGradient:i,showRow:r,onToggleColumn:l})=>{const a=t?.slice(0,r?t.length:n),s=i?"secondary":"primary";return p("div",{className:`border border-gray rounded-md p-4 mb-3.5 ${i?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[u(vt,{...e,isFillGradient:i}),a?.length?a.map((({rowHeader:e,cell:t},n)=>u(Nt,{cell:t,rowHeader:e,isFillGradient:i},String(n)))):null,r&&e?.link?u(Se,{href:e.link.href,target:e.link.target,version:s,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}):null,Ct({onToggleColumn:l,isFillGradient:i,showRow:r})]})})),Ct=({onToggleColumn:e,isFillGradient:t,showRow:n})=>u("div",{className:"mt-5",role:"cell",children:u("a",{role:"link",onClick:e,className:"text-s font-medium cursor-pointer "+(t?"text-white/80":"text-primary-main"),children:n?"Скрыть":"Показать описание"})}),Tt=g((e=>{const{className:t,title:n}=e;return p("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${t||""}`,children:[n?u(Ze,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:n}):null,u("div",{role:"table",children:u(St,{...e})})]})})),St=g((({columns:e=[],rowHeaders:t,isColoredFirstColumn:n,visibleRowLength:r,orientation:a,...s})=>{const[o,c]=i(new Array(e.length).fill(!r)),d=l((e=>{const t=(t,n)=>n===e?!t:t;c((e=>e.map(t)))}),[]),m=l((()=>c((e=>new Array(e.length).fill(!1)))),[]),h=e?.map((({data:e,header:i},l)=>{return u(kt,{visibleRowLength:r,showRow:o[l],header:i,columnData:(a=e,a?.map(((e,n)=>({cell:e,rowHeader:t?.[n]?.title})))),isFillGradient:0===l&&n,onToggleColumn:()=>d(l),...s},String(l));var a}));return"horizontal"===a?u(ft,{onVisibleIndicesChange:m,children:h}):h})),_t=e=>null!=e,It=new Map;function Rt(e,t,{fallback:n,cache:l}={}){const s=a((()=>At(e)),[e]),[o]=(e=>Boolean(e&&Array.isArray(e)&&1===e.length&&"string"==typeof e[0]))(s)?s:[],[c,d]=i(void 0),[m,h]=i(void 0);r((()=>{!s.some(_t)||(async()=>{try{const e=await(o?((e,t=It)=>n=>{const i=t.get(n);if(_t(i))return i;const r=e(n);return _t(r)?t.set(n,Promise.resolve(r)):t.delete(n),r})(t,l)(o):t(...s));d(e),h(void 0)}catch(e){d(void 0),h(e)}})()}),[t,l,s]);const u=n&&o&&n[o];return{data:!c&&u?u:c,error:m,mutate:()=>Promise.resolve(void 0),isValidating:!1}}function At(e){return Array.isArray(e)?e:e instanceof Function?At(e()):[e]}async function $t(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await n.json()}const Pt={};function Mt(e,t={}){const{data:n}=Rt(`/wcms-resources/${e}.json`,$t,{fallback:t});return n||Pt}const jt=g((({className:e="",items:t})=>t?.length?u("ul",{className:f("flex flex-col p-0","",e),children:t.map(Lt)}):null)),Lt=(e,t)=>{const{text:n,...i}=e;return u("li",{className:"list-none mb-4 sm:mb-6 sm:last:mb-0",children:u("a",{className:"hover:text-primary-main sm:font-light",role:"link",...i,children:n||null})},`list_item_${String(t)}`)},Bt=g((({className:e="",label:t,icon:n,dataTheme:i="",disabled:r=!1,onClick:l})=>p("button",{className:f("flex justify-center w-full px-0 py-4 border border-transparent outline-none focus:border-primary-text",r?"bg-main-divider text-main-disabled hover:bg-main-divider":"bg-primary-main text-white hover:bg-primary-hove",e),onClick:l,disabled:r,"data-theme":i,children:[u("span",{className:"text-h4 pr-3",children:t}),n?u(he,{image:{icon:n,iconVersion:"white"},className:"flex-shrink-0 my-auto",width:"20",height:"20"}):null]}))),Ot={primary:"bg-main-divider",secondary:"bg-white/30","secondary-light":"bg-secondary-light"},zt=g((({iconBgVersion:e="primary",...t})=>u("div",{className:f("rounded-icon p-2.5 mr-3",Ot[e]),children:u(ie,{...t})}))),Dt=e=>e?"ArrowUpSolidIcon":"ArrowDownSolidIcon",Vt=g((({className:e="",label:t="Развернуть",labelIcon:n,isExpanded:i,isFoldButtonOnTop:r=!0,version:l="primary",...a})=>u(A,{className:f("w-full","",e),tag:"div",version:"transparent",...a,children:u(lt,{isFoldButtonOnTop:r,unfoldedByDefault:i,renderFoldableSection:({isUnfolded:e})=>u(at,{className:f("gap-5 [&>*]:p-0","flex flex-wrap group-last:last:pb-0"),isUnfolded:e,children:k(a)}),renderFoldButton:({isUnfolded:e,onToggle:i})=>Et({version:l,label:t,labelIcon:n,isUnfolded:e,onToggle:i})})})));Vt.childrenTypes={exclude:["RollupItem"]};const Et=({version:e,label:t,labelIcon:n,isUnfolded:i,onToggle:r})=>{const l=t||(i?"Скрыть":"Развернуть");return"primary"===e?Ht({label:l,labelIcon:n,icon:Dt(i),onToggle:r}):u(Bt,{label:l,icon:i?"ArrowUpIcon":"ArrowDownIcon",onClick:r})},Ht=({label:e,icon:t,onToggle:n,labelIcon:i})=>{const r=String(i?.size?.width||24),l=String(i?.size?.height||24),a=i?.icon;return p("button",{className:f("border-none bg-transparent px-0 flex justify-between items-center w-full cursor-pointer group/button",a?"py-2":"py-5"),onClick:n,children:[p("div",{className:"flex items-center group-hover/button:text-primary-main",children:[a?u(zt,{name:a,width:r,height:l,iconVersion:i?.iconVersion}):null,e?u(mt,{size:"text-l",font:"font-normal",children:e}):null]}),t?u(ie,{name:t,iconVersion:"normal",width:"24",height:"24"}):null]})},Ft=g((({className:e="",items:t,hasButton:n})=>p("div",{className:e,children:[t?.length?t.map(Ut):null,n?u(Se,{version:"primary",className:"mb-6 w-full",href:"https://www.rshb.ru/feedback/question/",target:"_blank",ariaLabel:"Обратная связь",text:"Обратная связь"}):null]}))),Ut=(e,t)=>{const{type:n,text:i,description:r}=e;return p("div",{className:"mb-4",children:[u("div",{children:Jt(n,i)}),u("div",{className:"mt-1 text-s-light text-secondary-text",children:r})]},String(t))},Jt=(e,t="")=>{switch(e){case"tel":return u("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${Xt(t)}`,children:t});case"email":return u("a",{className:"text-xl-light text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return u("span",{children:t})}},Xt=e=>e.replaceAll(/\D/g,""),Wt=g((({className:e="",index:t,text:n,...i})=>{const r=ge(),{href:l,target:a,onClick:s}=r(i);return u("a",{className:f("",e),href:l,target:a,onClick:s,children:n||`Документ ${t}`})})),Gt=g((({title:e,links:t,className:n=""})=>p("div",{className:n,children:[u(mt,{size:"text-h6",children:e}),t?.length?u("div",{className:"flex flex-col gap-6 mt-7",children:t.map(((e,t)=>u(Wt,{index:t,...e},String(t))))}):null]}))),Yt=g((({className:e="",index:t,...n})=>{const i=ge({isRemote:!0}),{href:r,target:l,text:a,onClick:s}=i(n);return u("a",{className:`text-xs-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${e}`,href:r,target:l,onClick:s,children:a||`Документ ${t}`})})),Kt=g((({className:e="",links:t})=>p("div",{className:e,children:[u("div",{className:"pt-5 sm:py-4",children:u(mt,{size:"text-s",color:"text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?u("div",{className:"flex justify-start items-start gap-5 pt-2.5",children:t.map(((e,t)=>u(Yt,{index:t,...e},String(t))))}):null]}))),Qt=g((({className:e="",...t})=>{const n=t.options?.page?.fallback,i=Mt(d.SITEMAP||"sitemap",n),{documents:r,relatedEnterprises:l,contacts:a,socialMedia:s,horizontalNavigationTitle:o}=Mt(d.FOOTER||"footer",n);return p(A,{tag:"footer",className:f("px-4 py-6",e),...t,children:[u("div",{className:"mb-4 pb-5 border-b border-main-divider",children:i.topItems?.map(((e,t)=>u(Vt,{label:e?.text,labelIcon:e?.icon,children:u(jt,{items:e.items,className:"my-3"})},String(t))))}),u(Ft,{className:"overflow-hidden",items:a}),u(Qe,{className:"mb-4",media:s}),u(Se,{className:"w-full mb-4",text:"Google Play",version:"secondary",href:"/",target:"_blank"}),u(Gt,{className:"pt-4 pb-7 border-y border-main-divider",title:o,links:l}),u(Kt,{})]})})),qt=e=>({href:t})=>Q(Y(t)?e.href:e.pathname).startsWith(Q(t)),Zt=g((({className:e="",active:t,dataItemName:n,children:i,...r})=>{const l=ge(),{href:a,target:s,text:o,onClick:c}=l(r);return p("a",{className:f("relative inline-block bg-transparent text-center no-underline",e),href:a,target:s,"data-item-name":n,onClick:c,children:[u("span",{className:en(t),children:o||i}),t?u("div",{className:"absolute left-0 -bottom-3 w-full h-0.5 bg-primary-main group-data-transparent:bg-transparent"}):null]})})),en=(e=!1)=>f("font-sans text-s",e?"text-primary-main":"text-secondary-text hover:text-primary-main","group-data-transparent:text-white group-data-transparent:hover:text-primary-hover"),tn=864e5;function nn(e,t,n=globalThis?.localStorage){const i=l((async(...i)=>{const r=`async:${e}`,l=function(e){const{data:t=null,timestamp:n=null}=e?JSON.parse(e):{};return t&&Date.now()-n<tn?t:void 0}(n.getItem(r));if(l)return l;const a=await t(...i);return n.setItem(r,JSON.stringify({data:a,timestamp:Date.now()})),a}),[e,t]);return Rt(e,i)}const rn=()=>{const e=globalThis.localStorage?.getItem("location");try{return e?JSON.parse(e):null}catch(e){return null}},ln=g((({className:e,onClick:t})=>u("button",{className:f("flex justify-center items-center w-12 h-12 p-1 bg-transparent border-none",e),onClick:t,title:"Закрыть",children:u(he,{image:{icon:"CloseIcon"},width:"24",height:"24"})})));function an(e){throw new Error(e)}function sn({onOpen:e,onClose:t}={}){r((()=>T.subscribe("dialog",(n=>{switch(n.type){case"open":e&&e(n);break;case"close":t&&t();break;default:an(n)}}))),[e,t])}function on(e,...t){return e.map(((e,n)=>[e,...t.map((e=>e[n]))]))}const cn=e=>t=>{if(e===t)return 1;if(!e||!t)return 0;const{m:n,s1Matches:i,s2Matches:r}=function(e,t){const n=Math.max(0,Math.floor(Math.max(e.length,t.length)/2)-1),i=new Array(e.length),r=new Array(t.length);let l=0;for(let a=0;a<e.length;a++){const s=Math.max(0,a-n),o=Math.min(a+n,t.length-1);for(let n=s;n<=o;n++)i[a]||r[n]||e[a]!==t[n]||(l++,i[a]=!0,r[n]=!0)}return{m:l,s1Matches:i,s2Matches:r}}(e,t);if(0===n)return 0;const l=function(e,t,{s1Matches:n,s2Matches:i}){let r=0;for(let l=0,a=0;l<e.length;l++){if(!n[l])continue;let s=a;for(;s<t.length;s++)if(i[s]){a=s+1;break}e[l]!==t[s]&&r++}return r}(e,t,{s1Matches:i,s2Matches:r}),a=(n/e.length+n/t.length+(n-l/2)/n)/3,s=a>.7?.1*function(e,t){let n=0;for(;e[n]===t[n]&&n<4;)n++;return n}(e,t):0;return a+s*(1-a)};const dn=(e,t)=>(n,i)=>{for(const[r,l]of i)n.set(r,e(n.get(r)||t,l));return n},mn=e=>e.toLowerCase().split(/[^0-9a-zа-я-]+/).filter((e=>e.length>=3&&!/[0-9a-z]/.test(e))),hn=e=>t=>e.map((([e,n])=>[cn(t)(e),n])).filter((([e])=>e>=.8)).map((([e,t])=>pn(t,e))).reduce(dn(Math.max,0),new Map),un=e=>t=>{return on(t,t.map((({title:e})=>e)).map((e=>t=>{const n=mn(t||"");return n.length?((e=[])=>e.reduce(((e,t)=>e+t),0))(e.map((e=>F(n.map(cn(e)))))):0})(e))).sort((i=([,e])=>e,n=(e,t)=>i(e)-i(t),(e,t)=>-n(e,t))).map((([e])=>e));var n,i},pn=(e,t)=>new Map(e.map((e=>[e,t]))),gn=["/"],bn=({basePathList:e=gn,initialQuery:t="",wasOpened:n})=>{const[l,s]=i(t||"");r((()=>{null!=t&&s(t)}),[t]);const o=a((()=>e.map((e=>n?e:null))),[n,e]),{data:c}=Rt(o,fn),[d,m]=i(null);return((e,t,n=300)=>{r((()=>{const t=setTimeout(e,n);return()=>{clearTimeout(t)}}),t)})((()=>{c&&m(c.map((e=>t=>{const{corpus:n,dictionary:i}=t||{};if(!(e&&n?.length&&i&&Object.keys(i).length))return[];const r=mn(e);if(!r.length)return[];const l=Object.entries(i),a=[...r.map(hn(l)).reduce(dn(((e,t)=>e+t),0),new Map).entries()].filter((([,e])=>e>=.799*r.length)).map((([e])=>n[e]));return un(r)(a)})(l)))}),[c,l]),[d,{value:l,onChange:s}]},fn=async(...e)=>(await Promise.allSettled(e.map((e=>async function(e,t){try{return e?await $t(e,t):null}catch(e){console.error(e)}return null}(q(e,"/","search.index.json")))))).map((e=>"fulfilled"===e.status?e.value:{})),xn=g((({className:e,isOpened:t,head:n,children:i,onClose:l})=>(r((()=>{const e=({key:e})=>{"Escape"===e&&l&&l()};return globalThis.document?.addEventListener("keydown",e),()=>{globalThis.document?.removeEventListener("keydown",e)}}),[l]),t?u("div",{className:f("fixed inset-0 bg-white text-l-light z-50 overflow-x-hidden overflow-y-scroll no-scrollbar",e),role:"dialog",children:p("div",{className:"relative container pb-12 min-h-full",children:[p("div",{className:"sticky bg-white pt-6 top-0",children:[u(ln,{className:"absolute top-10 -right-12",onClick:l}),n]}),i]})}):null)));function yn(e=!1){const[t,n]=i(e),r=l((()=>n(!0)),[]),a=l((()=>n(!1)),[]),s=l((()=>n((e=>!e))),[]);return[t,{setValue:n,setTrue:r,setFalse:a,toggle:s}]}function vn(e,t=!1){const[n,{setTrue:r,setFalse:a}]=yn(t),[o,c]=i({id:e}),d=s(n);d.current||=n;sn({onOpen:l((t=>{t.id===e?(c(t),r()):a()}),[e]),onClose:a});const m=l((()=>{a(),T.fire("dialog",{type:"close"})}),[]);return{...o,isOpened:n,wasOpened:d.current,onClose:m}}const Nn=g((({className:e,topItems:t})=>{const n=ge({isRemote:!0});return u("div",{className:f("flex items-start justify-between",e),children:t?.map(n).map(wn)})})),wn=(e,t)=>{const{text:n,items:i,href:r,target:l,onClick:a}=e;return p("div",{className:"flex flex-col gap-3.5 w-1/4",children:[u("a",{className:"leading-5 text-l text-primary-text hover:text-primary-main no-underline",href:r,target:l||"_self",onClick:a,children:n||`Раздел ${t}`}),i?.map(((e,t)=>u(kn,{...e,basePath:o(r),index:t},String(t))))]},String(t))},kn=g((({text:e,index:t,basePath:n,...i})=>{const r=ge({isRemote:!(!d.BASE_PATH||!n)&&!d.BASE_PATH.startsWith(n),basePath:n}),{href:l,target:a,onClick:s}=r(i);return u("a",{className:f("text-l-light text-secondary-text hover:text-primary-main no-underline","overflow-x-hidden overflow-ellipsis whitespace-nowrap"),href:l,target:a||"_self",onClick:s,children:e||`Раздел ${t}`})})),Cn=g((({className:e,value:t,autoFocus:n,onChange:i,onFocus:r})=>{const a=l((e=>{i&&i(e.target?.value||"")}),[i]);return p("div",{className:f("font-sans relative",e),role:"form",children:[u("div",{className:"absolute h-full flex items-center pl-4 pointer-events-none",children:u(he,{image:{icon:"LoupeIcon"},width:"24",height:"24"})}),u("input",{className:f("h-12 pl-12 w-full text-l text-black outline-none box-border","border border-solid rounded-md border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text"),value:t,type:"text",name:"search-bar-input",placeholder:"Поиск по сайту",autoFocus:n,onChange:a,onFocus:r})]})})),Tn="search";g((({topItems:e})=>{const t=vn(Tn),n=a((()=>e?.map((e=>e.href||"/"))),[e]),[i,l]=bn({basePathList:n,initialQuery:t.message,wasOpened:t.wasOpened}),s=a((()=>Sn(e)(i)),[e,i]);return r((()=>function(e){for(const t of e.filter((({items:e})=>e?.length)))console.group(t.text),console.table(t.items,["text","href"]),console.groupEnd()}(s)),[s]),u(xn,{...t,head:u(Cn,{className:"my-5",autoFocus:!0,...l}),children:u(Nn,{topItems:s})})}));const Sn=e=>t=>e?.length&&t?.length?on(e,t).map((([e,t])=>({...e,items:t?.map((({title:e,uri:t})=>({text:e,href:q("/",t)})))}))):[];const _n=g((({className:e})=>{const[t,n]=i(""),r=l((()=>n("")),[]);sn({onClose:r});const{open:a}=ue(Tn),s=l((e=>{n(e),In(e)&&a(e)}),[]);return p("div",{className:e,children:[u(Cn,{value:t,onChange:s}),u(ln,{className:"absolute top-2 right-3 sm:hidden",onClick:r})]})})),In=e=>e&&e.length>=3,Rn=g((({burgerSubMenu:e,onClick:t,defaultLocation:n="",children:a})=>{const[s]=function(e="Москва"){const t=rn(),[n,a]=i(t?.region??{name:e}),{data:s}=nn("/api/v1/region",$t);return r((()=>{a(t?.region&&t?.manual?t.region:s||{name:e})}),[s]),[n,l((e=>{globalThis.localStorage?.setItem("location",JSON.stringify({manual:!0,region:e})),a(e)}),[])]}(n);return p("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20",children:[u("button",{className:"absolute top-4 right-4 border-none bg-transparent cursor-pointer",onClick:t,children:u(he,{image:{icon:"CloseIcon"},width:"24",height:"24"})}),p("button",{className:"flex items-center text-s p-0 mb-4 bg-transparent cursor-pointer",children:[u(he,{image:{icon:"GeolocationIcon"},width:"20",height:"20",className:"text-primary-main box-border mr-2"}),u(mt,{color:"text-secondary-text",children:s.name})]}),a,u("div",{className:"mb-7",children:e?.map(An)}),u(_n,{className:"grow"})]})})),An=(e,t)=>{const{icon:n,href:i,text:r}=e;return p("a",{href:i,className:"flex text-s mb-4 hover:text-primary-main",children:[n?u(he,{className:"text-primary-main pr-1",image:n,width:"24",height:"24"}):null,u("span",{className:"font-medium pl-0.5",children:r})]},`headerSubMenu-${t}`)},$n={"bg-white":"color",transparent:"white"},Pn={"bg-white":"text-primary-main",transparent:"text-white"},Mn=(e,t,n)=>u(he,t?.src?{image:t,className:Pn[e],width:n?.width,height:n?.height,pathPrefix:"/wcms-resources/"}:{image:{icon:t?.icon||"LogoIcon",iconVersion:$n[e]},className:Pn[e],width:n?.width,height:n?.height}),jn={"bg-white":"text-primary-text",transparent:"text-white"},Ln=(e,t,n)=>u("span",{className:`${jn[t]} ml-2.5 font-medium ${n||""}`,children:e||"Россельхозбанк"}),Bn=g((({bgColor:e="bg-white",children:t,className:n="",href:i,logo:r,showTitle:l=!0,targetBlank:a})=>p("a",{className:`inline-flex items-center font-sans no-underline ${n}`,href:i||"https://rshb.ru/",target:a?"_blank":"_self","aria-label":r?.title||"Россельхозбанк",children:[Mn(e,r?.image,{width:"34",height:"34"}),l?Ln(t||r?.title,e,"text-s"):null]}))),On=g((({onClick:e,bgColor:t,logo:n})=>p("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-12",children:[p("div",{className:"flex items-center",children:[u("button",{className:"pl-0 pr-4 border-0 bg-transparent cursor-pointer",onClick:e,"aria-label":"Открыть меню",children:u(he,{image:{icon:"BurgerIcon",iconVersion:"bg-white"===t?"black":"white"},className:"text-primary-text w-6 h-6",width:"24",height:"24"})}),u(Bn,{className:"mr-8",bgColor:t,logo:n})]}),u("button",{className:"text-primary-main group-data-transparent:text-white group-data-transparent:hover:text-primary-hover text-s border-0 bg-transparent",children:"Войти"})]}))),zn={"bg-white":"primary",transparent:"transparent"},Dn=g((({bgColor:e="bg-white",version:t=zn[e],...n})=>{const r=G(),a=n.options?.page?.fallback,{topItems:s,dispositions:o,defaultLocation:c,logo:m}=Mt(d.SITEMAP||"sitemap",a),h=s?.find((e=>qt(d.BASE_PATH?{pathname:d.BASE_PATH}:e))(r)),g=h?.items,b=(e=>(t=[])=>{const n=t?.filter(qt(e));return n?.length?H((e=>e.href?.length||0))(n):void 0})(r)(g),[f,x]=i(!1),y=l((()=>x((e=>!e))),[]);return p(A,{tag:"header",version:t,...n,children:[p("div",{className:"container px-4 py-0 box-border",children:[u(On,{onClick:y,bgColor:e,logo:m}),u("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-12",children:u("div",{className:"flex no-scrollbar horizontal-list h-full items-center",children:g?.map(((e,t)=>u(Zt,{className:"mr-8 whitespace-nowrap text-s",active:e===b,...e},String(t))))})})]}),f?u(Rn,{onClick:y,burgerSubMenu:o,defaultLocation:c,children:u("div",{className:"list-none m-0 p-0",children:s?.map(((e,t)=>u(Vt,{label:e.text,children:u(jt,{className:"mt-2.5",items:e.items})},String(t))))})}):null]})})),Vn=g((e=>{const{className:t,image:n,...i}=e;return u(A,{className:t,...i,children:u(he,{image:n})})})),En=g((({doc:e,icon:t})=>{const{text:n,fileSize:i,...r}=e;return p("a",{className:"flex box-border gap-3 group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main",role:"link",...r,children:[t,n?p(mt,{size:"text-l",font:"font-light",children:[n,u(mt,{color:"text-secondary-text",children:r?.href&&Hn(Fn(r.href),i)})]}):null]})})),Hn=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),Fn=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},Un=g((({className:e="",title:t,description:n,icon:i={icon:"DocDownloadIcon",iconVersion:"black"},documents:r,align:l,...a})=>p(A,{className:f("p-default",e),...a,children:[u(nt,{isPadding:!1,title:t,description:n,align:l,headlineVersion:"M",as:"h2"}),r?.length?u("div",{className:"mt-5 flex flex-col gap-6",role:"list",children:r.map(((e,t)=>u("div",{role:"listitem",children:u(En,{doc:e,icon:i?u(he,{className:"min-w-11 min-h-11 h-fit p-2.5 bg-main-divider rounded-md",image:i,width:"24",height:"24"}):null})},String(t))))}):null]}))),Jn=g((({className:e="",title:t="Мобильное приложение",description:n,href:i="#"})=>u("div",{className:f("col-span-12 rounded-md cursor-pointer p-4 bg-secondary-light font-sans",e),children:i?p("div",{className:"flex",children:[u("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-12 h-12",children:u(Bn,{className:"w-8",bgColor:"transparent",showTitle:!0})}),p("a",{href:i,target:"_blank",className:"flex flex-col justify-center pl-3",children:[u("div",{className:"text-s font-medium mb-[3px]",children:t}),u("div",{className:"text-s text-secondary-text",children:n})]})]}):null}))),Xn=e=>{const t="col-span-",n=e?.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function Wn(e=""){const t=Xn(e);return t<=4?"S":t<=8?"M":"L"}function Gn(e=""){const t=Xn(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function Yn(e=""){const t=Xn(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const Kn=g((({className:e,title:t,description:n="Блок в разработке...",...i})=>p(A,{className:f("p-9 box-border",e,Yn(e),Gn(e)),...i,children:[u(nt,{className:"!p-0 max-w-[600px]",title:t,description:n,headlineVersion:Wn(e)}),u("figure",{className:"m-0 min-w-[80%]",children:Qn()})]}))),Qn=(e=3)=>Zn(100,e).map((e=>Math.floor(e))).map(qn),qn=(e,t)=>u("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),Zn=(e,t)=>[e].concat(t>0?Zn(e/1.618,t-1):[]),ei=g((e=>{const{__html:t="",richVersion:n=""}=e;return u("div",{className:f(n,"md-container"),dangerouslySetInnerHTML:{__html:t}})})),ti=g((({className:e,title:t="",insetTitle:n="",buttons:i,leftImage:r,rightImage:l,backImage:a,children:s})=>p("div",{className:f("relative flex flex-col font-sans",e),children:[a?u("div",{className:"absolute bottom-0 right-0 z-0",children:a}):null,t,p("div",{className:"grow relative flex flex-wrap justify-between items-stretch gap-8",children:[r,p("div",{className:f("flex flex-col gap-8",r?"":"grow"),children:[n,u("div",{className:"grow",children:s}),i]}),l?u("div",{className:"sm:-order-1 md:-order-1",children:l}):null]})]}))),ni=g((({className:e,icon:t,label:n,description:i,version:r="primary",benefitsVersion:l="normal"})=>p("div",{className:f("flex gap-5",i?"items-start":"items-center",e),children:[t?u("div",{className:ii(r,l),children:u(he,{className:"w-6 h-6",image:{...t,iconVersion:t.iconVersion||l}})}):null,p("div",{children:[n?u(mt,{size:"text-h6",color:"text-primary-text group-data-secondary:text-white",children:n}):null,i?u(et,{size:"text-m-light",color:"text-secondary-text group-data-secondary:text-white",children:i}):null]})]})));function ii(e,t){let n="bg-primary-main text-black";return"secondary"===e?n="bg-white/30 text-black":"normal"===t&&(n="bg-secondary-light text-primary-main"),`w-12 h-12 min-w-12 rounded-full p-2.5 box-border flex items-center justify-center ${n}`}const ri=(e="primary",t="normal")=>(n,i)=>u(ni,{version:e,benefitsVersion:t,...n},String(i)),li=g((({className:e,version:t="primary",headlineVersion:n="L",title:i,description:r,benefits:l,benefitsVersion:a,items:s,isDotted:o=!0,__html:c,buttons:d,image:m,directionRight:h=!0})=>{const g=l?.filter((e=>e.label)),b=m?.src?u(he,{className:"mt-[-50px]",image:m}):null;return p(ti,{className:e,insetTitle:u(nt,{className:"max-w-[600px] xl:max-w-[800px]",title:i,description:r,headlineVersion:n,align:"text-left",isPadding:!1}),...h?{rightImage:b}:{leftImage:b},buttons:ot(d),children:[g?.length?u("div",{className:"flex flex-wrap gap-6",children:g.map(ri(t,a))}):null,c?u("div",{className:"mt-5",children:u(ei,{__html:c})}):null,s?.length?u(Je,{className:"mt-5",items:s,isDotted:o}):null]})}));function ai({text:e,href:t,target:n,icon:i},r){const l="primary"===r?"white":"black",a={text:e,href:t,target:n,ariaLabel:e};return p("div",{className:"flex items-center gap-3",children:[u(Se,{className:"w-12 h-12 min-h-12 min-w-12 flex items-center justify-center",version:r,rounded:!0,...a,children:u(he,{className:"w-4 h-4",image:{...i,icon:i?.icon||"ArrowLeftIcon",iconVersion:i?.iconVersion||l}})}),u(Se,{version:"link",...a})]})}const si=g((({className:e,backwardButton:t,...n})=>p(A,{className:f("overflow-hidden p-default flex flex-col gap-10 box-border",e),...n,children:[t?.text?ai(t,n.version&&"primary"!==n.version?"white":"primary"):null,u(li,{className:"grow",...n})]}))),oi=g((e=>{const{__html:t,richVersion:n,...i}=e;return u(A,{...i,children:u(ei,{__html:t,richVersion:n})})})),ci={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-12 w-12 min-w-12 min-h-12"},di={normal:"min-h-[70px]",small:"min-h-12"},mi={description:"text-white/80 text-l-light group-data-primary:text-secondary-text group-data-gray:text-secondary-text",iconText:"text-white group-data-primary:text-secondary-text group-data-gray:text-secondary-text",iconBackground:"bg-white/30 group-data-primary:bg-main-divider",iconConnector:"bg-white group-data-primary:bg-secondary-light",dot:"bg-white/80 group-data-primary:bg-secondary-text"},hi=g((({className:e="",title:t,description:n,showLines:i=!0,steps:r,size:l="normal",version:a="primary",...s})=>p(A,{className:`box-border px-4 py-6 flex flex-col ${e}`,version:a,...s,children:[t?u(Ze,{headingType:"h3",className:"text-center",title:t}):null,n?u("p",{className:`text-m-light text-center ${mi.description} ${t?"mt-2":""}`,children:n}):null,r?.length?u("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:u("div",{className:"flex flex-col justify-between gap-x-[101px]",children:r.map(ui(l,a,i))})}):null]}))),ui=(e,t,n)=>(i,r,l)=>{const{type:a}=i;if("default"!==a&&"rte"!==a)return null;switch(a){case"default":return pi(e,t,n)(i,r,l);case"rte":return u(ei,{__html:i.__html});default:an(i)}},pi=(e,t,n)=>(i,r,l)=>{const a=l.length-1===r,s="normal"===e?"ml-[34px]":"ml-6";return u("div",{children:p("div",{className:"flex flex-row text-center relative",children:[p("div",{className:"overflow-hidden flex-shrink-0",children:[gi(e,t)(i,r),a?null:u("div",{className:`min-h-8 h-full w-0.5 ${n?mi.iconConnector:""} ${s}`})]}),p("div",{className:`flex flex-col justify-center h-fit ${di[e]}`,children:[i.label?u("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:i.label}):null,i.description?u("div",{className:`text-s ${mi.description} text-left`,children:i.description}):null]})]})},String(r))},gi=(e,t)=>(n,i)=>{const r="normal"===e?"38":"27",l="secondary"===t?"white":"color";return u("div",{className:`${ci[e]} ${mi.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:u("span",{className:`font-medium flex self-center ${"normal"===e?"text-m-title":"text-m-title-xs"}`,children:(a=n?.icon,Boolean(a?.icon||a?.src)?u(he,{image:{...n.icon,iconVersion:n.icon?.iconVersion||l},width:r,height:r}):u("span",{children:i+1}))})});var a},bi={Buttons:({buttons:e})=>ot(e,{className:"mt-3",buttonClassName:"w-12 h-12"}),Img:({image:e})=>e?.src?u(he,{image:{...e,className:"m-0"}}):null,List:({isDotted:e,...t})=>u(Je,{className:"flex flex-col justify-between items-start text-m",isDotted:e??!0,...t}),LabelDescription:({label:e,description:t})=>p("div",{children:[e?u("div",{className:"text-xl font-medium m-0 "+(t?"mb-1":""),children:e}):null,t?u("div",{className:"text-s text-secondary-text",children:t}):null]})},fi=g((({title:e,icon:t})=>p("div",{className:"flex gap-2.5 mb-2",children:[e?u(Ze,{headingType:"h3",className:"font-medium",title:e}):null,t?u(he,{className:"ml-auto min-w-6",image:t,width:"24",height:"24"}):null]}))),xi=g((({tile:e,...t})=>p("div",{className:"rounded-md border-gray h-full box-border border p-4",children:[u(fi,{...e?.header}),e?.data?.length?e.data.map(((e,n)=>p("div",{children:[n>0?u("div",{className:"h-5"}):null,yi(e,t)]},String(n)))):null]})));function yi(e,t){if(!e||!e.tableCellType||!(e.tableCellType in bi))return null;const n=bi[e.tableCellType];return u(n,{displayTable:()=>null,isVisible:!0,...e,...t})}const vi=g((({tiles:e,...t})=>e?.length?u(ft,{...t,children:e.map(((e,n)=>u(xi,{tile:e,...t},String(n))))}):null)),Ni=g((({tiles:e,...t})=>e?.length?u("div",{className:"flex flex-col gap-3.5",children:e.map(((e,n)=>u(xi,{tile:e,...t},String(n))))}):null)),wi=g((({className:e,title:t,description:n,tariffsColumns:i,rowHeaders:r,orientation:l="vertical",...a})=>{const s=ki(i),o=Ci(r,s);return p("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[t?u(Ze,{headingType:"h2",className:`text-center ${n?"mb-2":"mb-5"}`,title:t}):null,n?u("div",{className:"mb-5 text-center text-m",children:n}):null,u("vertical"===l?Ni:vi,{tiles:o,...a})]})})),ki=e=>e?.[0]?.data?e[0].data:[],Ci=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),Ti=g((({className:e="",title:t,description:n,iconVersion:i,image:r,__html:l,items:a=[],...s})=>p(A,{className:f("px-9 py-4 flex gap-3 bg-white group-data-secondary:bg-primary-main/10",e),...s,children:["small"===i?u("div",{className:"mt-1",children:Si()}):null,"big"===i?_i(r):null,p("div",{className:"flex flex-col w-fit gap-3",children:[t?u(mt,{size:"text-l",font:"font-medium",color:"text-primary-text group-data-secondary:text-white",children:t}):null,n?Ii(n):null,a?.length?Ri(a,!0):null,l?u(ei,{__html:l}):null]})]}))),Si=()=>u("div",{className:"rounded-full h-4 w-4 text-center text-xs-light bg-primary-main text-white group-data-secondary:bg-white group-data-secondary:text-primary-main",children:"i"}),_i=e=>e?.src?u(he,{className:"h-fit",image:e}):null,Ii=e=>u(et,{size:"text-s",color:"text-secondary-text group-data-secondary:text-white",children:e}),Ri=(e,t)=>u("ul",{className:f("text-secondary-text group-data-secondary:text-white/80",t?"list-disc pl-6":""),children:e.map(((e,t)=>u("li",{children:u(mt,{size:"text-s",font:"font-light",children:e})},`listItem-${t}`)))}),Ai={XXL:"gap-12",XL:"gap-10",L:"gap-8",M:"gap-4",S:"gap-2",XS:"gap-1","":""},$i={stretch:"items-stretch",left:"items-start",center:"items-center",right:"items-end"},Pi=g((({className:e="",gap:t="",align:n="stretch",isPadding:i=!1,isInnerPadding:r=!0,version:l="transparent",isTheme:a=!1,...s})=>{const o=r?"":"!p-0";return u(A,{className:f("relative","flex flex-col [&>*]:max-w-full",i?"p-default":"",Ai[t],n&&$i[n],e),version:l,isTheme:a,...s,children:k({...s,renderProps:(e,t)=>v(e,t,{className:o})})})}));Pi.childrenTypes=[];const Mi={Carousel:Be,CarouselTariffsCard:ut,ComparisonTable:Tt,Footer:Qt,Header:Dn,Headline:nt,ImgBlock:Vn,LinkDocs:Un,MobileAppTile:Jn,Placeholder:Kn,ProductBlock:si,StepsBlock:hi,TariffsTable:wi,TextBlock:Ti,RichTextBlock:oi,RollupItem:Vt,VerticalLayout:Pi,CarouselRecommendationCard:it};const ji=["Header","Footer"],Li=([,{target:e}])=>Math.abs(e.getBoundingClientRect().top);function Bi(e=globalThis){const t=s(new Map);r((()=>I.subscribe("intersection",(({block:e,intersection:n})=>{t.current&&t.current.set(e,n)}))),[]),r((()=>{const n=((e,t=600)=>{let n;const i=(...r)=>{i.dispose(),n=setTimeout((()=>{e(...r)}),t)};return i.dispose=()=>{n&&clearTimeout(n)},i})((()=>{!function(e){const t=`#${n=e?.anchor,n?.replace("#","")||""}`;var n;globalThis.location?.hash!==t&&globalThis.history?.replaceState(globalThis.history?.state,"",t)}(globalThis.scrollY>3*globalThis.innerHeight/4?function(e){const t=e.filter((([e])=>!ji.includes(e.type||""))).filter((([,{intersectionRatio:e}])=>e>.01)),[n]=t.length>0?U(Li)(t):[];return n}([...t.current||[]]):void 0)}),100);return e.addEventListener("scroll",n),()=>{n.dispose(),e.removeEventListener("scroll",n)}}),[e])}const Oi="cookieClose",zi=g((({termLink:e,personalDataPolicyLink:t})=>{const{isOpened:n,onClose:i}=vn("cookie",!globalThis.localStorage?.getItem(Oi)),r=l((()=>{globalThis.localStorage?.setItem(Oi,"true"),i&&i()}),[i]);return n?u("div",{className:"container z-40 fixed bottom-0 left-0 right-0 pointer-events-none",children:p("div",{className:"bg-white m-6 p-6 rounded-md flex items-center pointer-events-auto shadow-[0_4px_25px_rgba(0,0,0,0.07)]",children:[u("div",{className:"flex-1",children:p(et,{size:"text-s-light",color:"text-primary-text",children:["АО «Россельхозбанк» использует",u(Ve,{isRemote:!0,className:f(Di(e?.href)),...e,children:"cookie"}),"(файлы с данными о прошлых посещениях сайта) для персонализации сервисов и удобства пользователей. Вы можете запретить сохранение cookie в настройках своего браузера.",u(Ve,{isRemote:!0,className:f(Di(t?.href)),...t,children:"Обработка Ваших персональных данных"}),"производится в соответствии с требованиями Федерального закона от 27.07.2006 № 152-Ф3 «О персональных данных»."]})}),u("div",{className:"w-24 flex justify-end",children:u(ln,{className:"bg-main-gray rounded-md",onClick:r})})]})}):null})),Di=e=>["inline mx-1",e?"text-green-dark":""],Vi=h();const Ei=g((({className:e,onClick:t,ariaLabel:n})=>u("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":n,children:Hi()}))),Hi=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[u("path",{...e,strokeMiterlimit:"10",d:"M21.48 11.95c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1 6.1M7.48 18.35l3.1 2.4c.4.4 1.3.6 1.9.6h3.8c1.2 0 2.5-.9 2.8-2.1l1.24-3.77"}),u("path",{...e,d:"M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z"})]})},Fi=g((({className:e=""})=>{const t=function(e){const[t,n]=i(0);return r((()=>{(async()=>{const[t]=await Vi.getLikeCount(e);n(t?.value||0)})()}),[e]),{likeCount:t,like:l((async()=>{n(await Vi.like(e))}),[e]),dislike:l((async()=>{n(await Vi.dislike(e))}),[e])}}(G().pathname);return p("div",{className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e}`,children:[u(Ei,{onClick:pe(t.like),ariaLabel:"Поставить отметку «лайк»"}),u(Ei,{onClick:pe(t.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),u("span",{className:"select-none",children:t.likeCount})]})})),Ui=g((e=>{const{className:t="",blocksRegistry:n,blockDecorator:i,data:r={}}=e,{style:l,blocks:a,slots:s,likeControl:o,colorPalette:c="pc"}=r,d={key:"",page:r,blocksRegistry:n,blockDecorator:i,parent:r};Bi();const[m,{setTrue:h,setFalse:g}]=yn();return sn({onOpen:h,onClose:g}),p("section",{className:f("relative",l,t,m?"overflow-hidden h-screen":""),"data-theme":c,children:[s?.header?u("div",{className:"mb-5 shadow-[0_8px_32px_0px_#00000014]",children:w(s?.header,{...d,slotName:"header"})}):null,p("div",{className:"container grid grid-cols-12 gap-1",children:[w(a,d),s?.footer?w(s?.footer,{...d,slotName:"footer"}):null]}),o?u("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:u(Fi,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto"})}):null,u(zi,{termLink:{href:"/pd-policy#cookie",target:"_blank"},personalDataPolicyLink:{href:"/pd-policy",target:"_blank"}})]})}));Ui.childrenTypes=[],Ui.slots=()=>["header","footer"];e.Blocks=Mi,e.ContentPage=Ui,e.DaDataAPI=function(e=""){return{getFetcherAddress:async function(){if(!("geolocation"in navigator))return null;try{const t=await(async()=>new Promise((e=>navigator.geolocation.getCurrentPosition((({coords:t})=>e(t))))))(),n=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await n.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.LikeAPI=h,e.handlerDecorator=pe,e.joinList=e=>t=>t.reduce(((t,n,i)=>t.length?t.concat({...e,key:`sep-${i}`},n):[n]),[]),e.packageVersion="0.11.0",e.projectSettings=d,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=Z,e.useRouter=G,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -1,2 +1,12 @@
1
- import type { BaseTileCommonProps } from './BaseTileProps';
2
- export declare const BaseTile: import("@redneckz/uni-jsx").UNIComponent<BaseTileCommonProps, any, any>;
1
+ import type { UniBlockProps } from '../../model/JSXBlock';
2
+ import type { VNode } from '../../model/VNode';
3
+ interface BaseTileProps extends UniBlockProps {
4
+ title?: VNode;
5
+ insetTitle?: VNode;
6
+ leftImage?: VNode;
7
+ rightImage?: VNode;
8
+ backImage?: VNode;
9
+ buttons?: VNode;
10
+ }
11
+ export declare const BaseTile: import("@redneckz/uni-jsx").UNIComponent<BaseTileProps, any, any>;
12
+ export {};
@@ -0,0 +1,6 @@
1
+ import type { JSXBlock, UniBlockProps } from '../../model/JSXBlock';
2
+ import type { DepositFiltrationContent } from './DepositFiltrationContent';
3
+ interface DepositFiltrationProps extends DepositFiltrationContent, UniBlockProps {
4
+ }
5
+ export declare const DepositFiltration: JSXBlock<DepositFiltrationProps>;
6
+ export {};
@@ -0,0 +1,32 @@
1
+ import type { BaseFiltrationInnerContent, NumberRange, NumberValue, StringArray } from '../../ui-kit/BaseFiltration/BaseFiltrationContent';
2
+ export declare type DepositFiltrationSchema = {
3
+ /** @title Валюта */
4
+ currency?: StringArray;
5
+ /** @title Опции */
6
+ options?: StringArray;
7
+ /** @title Выплата процентов */
8
+ percents?: StringArray;
9
+ /** @hidden */
10
+ sum?: NumberValue;
11
+ /** @hidden */
12
+ period?: NumberRange;
13
+ };
14
+ /**
15
+ * @title Подборщик вкладов
16
+ */
17
+ export interface DepositFiltrationContent extends BaseFiltrationInnerContent {
18
+ /** @title Параметры фильтрации */
19
+ filtrationSchema?: DepositFiltrationSchema;
20
+ /** @title Поле ввода суммы */
21
+ sumInput?: {
22
+ /** @title Лейбл */
23
+ title?: string;
24
+ };
25
+ /** @title Поле ввода срока */
26
+ periodInput?: {
27
+ /** @title Лейбл */
28
+ title?: string;
29
+ min?: number;
30
+ max?: number;
31
+ };
32
+ }
@@ -0,0 +1,2 @@
1
+ import { ButtonSize } from './MediaButton';
2
+ export declare const buttonStylesWithText: (text: string, buttonSize: ButtonSize) => string;
@@ -0,0 +1 @@
1
+ export declare const horizontalNavigationLinkStyles = "";
@@ -0,0 +1 @@
1
+ export declare const textInformationTextSize = "text-s";
@@ -0,0 +1,6 @@
1
+ import type { JSXBlock, UniBlockProps } from '../../model/JSXBlock';
2
+ import type { MortgageFiltrationContent } from './MortgageFiltrationContent';
3
+ interface MortgageFiltrationProps extends MortgageFiltrationContent, UniBlockProps {
4
+ }
5
+ export declare const MortgageFiltration: JSXBlock<MortgageFiltrationProps>;
6
+ export {};
@@ -0,0 +1,18 @@
1
+ import type { BaseFiltrationInnerContent, StringArray } from '../../ui-kit/BaseFiltration/BaseFiltrationContent';
2
+ export declare type MortgageFiltrationSchema = {
3
+ /** @title Тип недвижимости */
4
+ propertyType?: StringArray;
5
+ /** @title Этап строительства */
6
+ stage?: StringArray;
7
+ /** @title Категории */
8
+ categories?: StringArray;
9
+ /** @title Дополнительно */
10
+ extraOptions?: StringArray;
11
+ };
12
+ /**
13
+ * @title Подборщик ипотек
14
+ */
15
+ export interface MortgageFiltrationContent extends BaseFiltrationInnerContent {
16
+ /** @title Параметры фильтрации */
17
+ filtrationSchema?: MortgageFiltrationSchema;
18
+ }
@@ -54,4 +54,6 @@ export declare function useOfficeMap(regionCode?: string): {
54
54
  gpsLongitude: number;
55
55
  range: null;
56
56
  safeBoxCaseVolumes: null;
57
+ } | {
58
+ data?: any;
57
59
  };
@@ -2,18 +2,12 @@ import type { BulletsProps } from '../../model/Bullets';
2
2
  import type { HeadlineProps } from '../../model/HeadlineType';
3
3
  import type { IconVersion } from '../../model/IconVersion';
4
4
  import type { UniBlockContent } from '../../model/JSXBlock';
5
- import type { LinkProps } from '../../model/LinkProps';
6
5
  import type { BenefitItemProps } from '../../ui-kit/BenefitItem/BenefitItemProps';
7
6
  import type { BackwardButtonProps, ButtonContent } from '../../ui-kit/Button/ButtonProps';
8
7
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
9
8
  import type { ListContent } from '../../ui-kit/List/ListContent';
10
9
  import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
11
10
  export declare type ProductBlockInnerContent = HeadlineProps & RichTextProps & ListContent & ButtonContent & ImageContent & BulletsProps & {
12
- /**
13
- * @title Количество преимуществ в строке
14
- * @enumNames ["2", "3"]
15
- */
16
- benefitsCountOfRow?: 2 | 3;
17
11
  /**
18
12
  * @title Список преимуществ
19
13
  * @minItems 2
@@ -23,11 +17,6 @@ export declare type ProductBlockInnerContent = HeadlineProps & RichTextProps & L
23
17
  benefitsVersion?: IconVersion;
24
18
  /** @title Лейбл (моб.) */
25
19
  label?: string;
26
- /**
27
- * @title Стиль для текстовой части
28
- * @hidden
29
- */
30
- textBlockClassName?: string;
31
20
  /** @title Картинка справа/текст слева */
32
21
  directionRight?: boolean;
33
22
  };
@@ -35,8 +24,6 @@ export declare type ProductBlockInnerContent = HeadlineProps & RichTextProps & L
35
24
  * @title Продуктовый блок
36
25
  */
37
26
  export declare type ProductBlockContent = UniBlockContent & ProductBlockInnerContent & {
38
- /** @title Хлебные крошки */
39
- breadcrumbs?: LinkProps[];
40
27
  /** @title Кнопка возврата */
41
28
  backwardButton?: BackwardButtonProps;
42
29
  };
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import type { ButtonVersion } from '../../model/ButtonVersion';
3
3
  import type { BackwardButtonProps } from '../../ui-kit/Button/ButtonProps';
4
- export declare function renderBackwardButton(button: BackwardButtonProps, version: ButtonVersion, className?: string): JSX.Element;
4
+ export declare function renderBackwardButton({ text, href, target, icon }: BackwardButtonProps, version: ButtonVersion): JSX.Element;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import type { BlockVersion } from '../../model/BlockVersion';
3
- import type { BenefitItemProps } from '../../ui-kit/BenefitItem/BenefitItemProps';
4
3
  import type { IconVersion } from '../../model/IconVersion';
5
- export declare const renderBenefit: (version?: BlockVersion, benefitsVersion?: IconVersion) => ({ icon, label, description }: BenefitItemProps, i: number) => JSX.Element;
4
+ import type { BenefitItemProps } from '../../ui-kit/BenefitItem/BenefitItemProps';
5
+ export declare const renderBenefit: (version?: BlockVersion, benefitsVersion?: IconVersion) => (props: BenefitItemProps, i: number) => JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import type { LabelProps } from '../../model/HeadlineType';
2
2
  import type { UniBlockContent } from '../../model/JSXBlock';
3
+ import type { IconProps } from '../../ui-kit/Icon/IconProps';
3
4
  /**
4
5
  * @title Сворачивающаяся секция
5
6
  */
@@ -8,4 +9,5 @@ export declare type RollupItemContent = UniBlockContent & LabelProps & {
8
9
  isExpanded?: boolean;
9
10
  /** @title Кнопка сверху */
10
11
  isFoldButtonOnTop?: boolean;
12
+ labelIcon?: IconProps;
11
13
  };
@@ -0,0 +1 @@
1
+ export declare const foldableSectionStyles = "flex flex-wrap group-last:last:pb-0";
@@ -0,0 +1 @@
1
+ export declare const getIconName: (isUnfolded?: boolean) => "ArrowDownSolidIcon" | "ArrowUpSolidIcon";
@@ -0,0 +1 @@
1
+ export declare const labelSize = "text-l";
@@ -0,0 +1 @@
1
+ export declare const rollupIconVersion = "normal";
@@ -0,0 +1 @@
1
+ export declare const rollupItemStyles = "";
@@ -0,0 +1,3 @@
1
+ import type { LinkProps } from '../model/LinkProps';
2
+ import type { TransformationOptions } from './TransformationOptions';
3
+ export declare function transformDocumentLink(link: LinkProps, pagePath: string, options: TransformationOptions): Promise<LinkProps>;
@@ -1,13 +1,17 @@
1
+ import { ControlProps } from '../ui-kit/ControlProps';
1
2
  import type { PreventableEvent } from '../ui-kit/PreventableEvent';
2
- export interface FieldProps<V> {
3
- value?: V;
3
+ export interface FieldProps<V> extends ControlProps<V> {
4
4
  isDirty?: boolean;
5
- onChange?: (value: V) => void;
6
5
  }
7
- export declare type FormFieldRegisterer<FormState> = <N extends keyof FormState>(fieldName: N) => FieldProps<FormState[N]>;
6
+ declare type Options<In, Out> = {
7
+ parse?: (_: In) => Out;
8
+ format?: (_: Out) => In;
9
+ };
10
+ export declare type FormFieldRegisterer<FormState> = <N extends keyof FormState, V = FormState[N]>(fieldName: N, options?: Options<V, FormState[N]>) => FieldProps<V extends undefined ? FormState[N] : V>;
8
11
  export declare const useForm: <FormState extends Record<string, any>>(initialState: FormState, onSubmit?: ((_: FormState) => void) | undefined) => [FormState, {
9
12
  isDirty: boolean;
10
13
  field: FormFieldRegisterer<FormState>;
11
14
  reset: () => void;
12
15
  onSubmit: (e: PreventableEvent) => void;
13
16
  }];
17
+ export {};
@@ -0,0 +1,11 @@
1
+ import { InputProps } from '../ui-kit/Input/InputProps';
2
+ interface UseNormalizedInputOptions<V, R> {
3
+ normalize: (v: V | undefined) => V;
4
+ format?: (v: V | undefined) => R;
5
+ }
6
+ export declare const useNormalizedInput: <V, P extends InputProps<V>, R = V>(props: P, { normalize, format }: UseNormalizedInputOptions<V, R>) => {
7
+ value: R;
8
+ onFocus: (e: any) => void;
9
+ onBlur: () => void;
10
+ };
11
+ export {};