@redneckz/wildless-cms-uni-blocks 0.5.14 → 0.6.15

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 (1715) hide show
  1. package/bin/migration-scripts/0.5.14.js +27 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +840 -695
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/Accordion/Accordion.d.ts +2 -2
  6. package/bundle/components/Accordion/Accordion.mobile.d.ts +2 -2
  7. package/bundle/components/Accordion/AccordionContent.d.ts +0 -26
  8. package/bundle/components/AccordionItem/AccordionItem.d.ts +3 -0
  9. package/bundle/components/AccordionItem/AccordionItem.mobile.d.ts +3 -0
  10. package/bundle/components/AccordionItem/AccordionItemContent.d.ts +14 -0
  11. package/bundle/components/AccordionItem/AccordionItemProps.d.ts +4 -0
  12. package/bundle/components/BaseTile/BaseTile.d.ts +1 -1
  13. package/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  14. package/bundle/components/Blocks.d.ts +7 -4
  15. package/bundle/components/Blocks.mobile.d.ts +2 -1
  16. package/bundle/components/Bonus/Bonus.d.ts +1 -1
  17. package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  18. package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +10 -1
  19. package/bundle/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  20. package/bundle/components/Calculator/Calculator.d.ts +1 -1
  21. package/bundle/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  22. package/bundle/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  23. package/bundle/components/Calculator/renderButtonSection.d.ts +3 -1
  24. package/bundle/components/Calculator/renderFootnote.d.ts +1 -1
  25. package/bundle/components/Calculator/renderInitialFeeInput.d.ts +1 -1
  26. package/bundle/components/Calculator/renderMonthsInput.d.ts +1 -1
  27. package/bundle/components/Calculator/renderPaymentTypeSelector.d.ts +10 -5
  28. package/bundle/components/Calculator/renderRealEstateValue.d.ts +1 -1
  29. package/bundle/components/Calculator/renderWantedSumInput.d.ts +1 -1
  30. package/bundle/components/CardTransfer/CardTransfer.d.ts +1 -1
  31. package/bundle/components/Catalog/Catalog.d.ts +1 -1
  32. package/bundle/components/Catalog/CatalogCard.d.ts +1 -1
  33. package/bundle/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  34. package/bundle/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
  35. package/bundle/components/ComparisonTable/TableColumn.d.ts +1 -1
  36. package/bundle/components/ContactsBlock/ContactsBlock.d.ts +5 -0
  37. package/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +36 -0
  38. package/bundle/components/ContentPage/ContentPage.d.ts +2 -1
  39. package/bundle/components/ContentPage/renderContentPageHead.d.ts +3 -0
  40. package/bundle/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  41. package/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  42. package/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  43. package/bundle/components/Footer/Contacts.d.ts +1 -1
  44. package/bundle/components/Footer/Footer.d.ts +1 -1
  45. package/bundle/components/Footer/Footer.mobile.d.ts +1 -1
  46. package/bundle/components/Footer/FooterLink.d.ts +1 -1
  47. package/bundle/components/Footer/HorizontalNavigation.d.ts +1 -1
  48. package/bundle/components/Footer/HorizontalNavigation.mobile.d.ts +1 -1
  49. package/bundle/components/Footer/Sitemap.d.ts +2 -2
  50. package/bundle/components/Footer/SocialMedia.d.ts +1 -1
  51. package/bundle/components/Footer/SocialMedia.mobile.d.ts +1 -1
  52. package/bundle/components/Gallery/GalleryContent.d.ts +3 -1
  53. package/bundle/components/Gallery/GalleryInner.d.ts +1 -1
  54. package/bundle/components/Gallery/GalleryProps.d.ts +1 -1
  55. package/bundle/components/GracePeriod/GracePeriod.d.ts +1 -1
  56. package/bundle/components/GracePeriod/GracePeriodContent.d.ts +3 -3
  57. package/bundle/components/Header/DropdownMenu.d.ts +1 -1
  58. package/bundle/components/Header/Header.d.ts +1 -1
  59. package/bundle/components/Header/Header.mobile.d.ts +1 -1
  60. package/bundle/components/Headline/Headline.d.ts +1 -1
  61. package/bundle/components/Headline/Headline.mobile.d.ts +1 -1
  62. package/bundle/components/Headline/constants.d.ts +0 -2
  63. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  64. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  65. package/bundle/components/InvestmentInfo/InvestmentInfo.d.ts +1 -1
  66. package/bundle/components/LikeControl/LikeControl.d.ts +1 -1
  67. package/bundle/components/LinkDocs/LinkDocs.d.ts +1 -1
  68. package/bundle/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
  69. package/bundle/components/LinkList/LinkList.d.ts +1 -1
  70. package/bundle/components/MiniGallery/MiniGallery.d.ts +1 -1
  71. package/bundle/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  72. package/bundle/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
  73. package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +6 -0
  74. package/bundle/components/OfficeMap/OfficeMap.d.ts +2 -0
  75. package/bundle/components/OfficeMap/OfficeMapContent.d.ts +34 -0
  76. package/bundle/components/OfficeMap/YandexMap.d.ts +5 -0
  77. package/bundle/components/OfficeMap/mockOfficeMap.d.ts +57 -0
  78. package/bundle/components/OfficeMap/renderFunctions.d.ts +5 -0
  79. package/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  80. package/bundle/components/OtherProducts/OtherProducts.d.ts +1 -2
  81. package/bundle/components/OtherProducts/OtherProductsContent.d.ts +4 -1
  82. package/bundle/components/OtherProductsItem/OtherProductsItem.d.ts +1 -2
  83. package/bundle/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -2
  84. package/bundle/components/PictureText/PictureText.d.ts +1 -1
  85. package/bundle/components/Placeholder/Placeholder.d.ts +1 -1
  86. package/bundle/components/ProductBlock/ProductBlock.d.ts +1 -1
  87. package/bundle/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
  88. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +1 -1
  89. package/bundle/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  90. package/bundle/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
  91. package/bundle/components/ProductGallery/ProductGallery.d.ts +1 -1
  92. package/bundle/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
  93. package/bundle/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  94. package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +2 -3
  95. package/bundle/components/ProductTile/ProductTile.d.ts +1 -1
  96. package/bundle/components/PromoTile/PromoTile.d.ts +1 -1
  97. package/bundle/components/Recommendation/Recommendation.d.ts +1 -1
  98. package/bundle/components/Recommendation/RecommendationCard.d.ts +1 -1
  99. package/bundle/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  100. package/bundle/components/StepsBlock/StepsBlock.d.ts +1 -1
  101. package/bundle/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
  102. package/bundle/components/Tabs/Tabs.d.ts +1 -1
  103. package/bundle/components/TariffsTable/TariffsTable.d.ts +1 -1
  104. package/bundle/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
  105. package/bundle/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  106. package/bundle/components/TariffsTable/TariffsTableContent.d.ts +14 -0
  107. package/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -6
  108. package/bundle/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  109. package/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  110. package/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +2 -3
  111. package/bundle/components/TariffsTable/TariffsTableVertical.d.ts +2 -6
  112. package/bundle/components/TextBlock/TextBlock.d.ts +1 -1
  113. package/bundle/components/TextBlock/TextBlock.mobile.d.ts +1 -1
  114. package/bundle/components/Tile/Tile.d.ts +1 -1
  115. package/bundle/hooks/useOfficeMap.d.ts +3 -0
  116. package/bundle/icons/IconName.d.ts +4 -2
  117. package/bundle/index.d.ts +1 -0
  118. package/bundle/model/AlignText.d.ts +2 -0
  119. package/bundle/model/BlocksRegistry.d.ts +1 -7
  120. package/bundle/model/ContentPageDef.d.ts +0 -8
  121. package/bundle/model/HeadlineType.d.ts +2 -2
  122. package/bundle/model/JSXBlock.d.ts +17 -0
  123. package/bundle/model/getParentBlockContent.d.ts +2 -0
  124. package/bundle/model/getParentBlockDef.d.ts +3 -0
  125. package/bundle/ui-kit/BlockWrapper.d.ts +1 -1
  126. package/bundle/ui-kit/Button/ButtonSection.d.ts +1 -1
  127. package/bundle/ui-kit/Img/getIconVersion.d.ts +2 -1
  128. package/bundle/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  129. package/bundle/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  130. package/bundle/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  131. package/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  132. package/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -2
  133. package/bundle/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  134. package/bundle/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
  135. package/bundle/ui-kit/SwipeListControl/SwipeListControlList.d.ts +2 -1
  136. package/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  137. package/cosmos-static/icons/MetroIcon.svg +1 -0
  138. package/dist/components/Accordion/Accordion.d.ts +2 -2
  139. package/dist/components/Accordion/Accordion.js +3 -10
  140. package/dist/components/Accordion/Accordion.js.map +1 -1
  141. package/dist/components/Accordion/Accordion.mobile.d.ts +2 -2
  142. package/dist/components/Accordion/Accordion.mobile.js +2 -5
  143. package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
  144. package/dist/components/Accordion/AccordionContent.d.ts +0 -26
  145. package/dist/components/AccordionItem/AccordionItem.d.ts +3 -0
  146. package/dist/components/AccordionItem/AccordionItem.js +12 -0
  147. package/dist/components/AccordionItem/AccordionItem.js.map +1 -0
  148. package/dist/components/AccordionItem/AccordionItem.mobile.d.ts +3 -0
  149. package/dist/components/AccordionItem/AccordionItem.mobile.js +16 -0
  150. package/dist/components/AccordionItem/AccordionItem.mobile.js.map +1 -0
  151. package/dist/components/AccordionItem/AccordionItemContent.d.ts +14 -0
  152. package/dist/components/AccordionItem/AccordionItemContent.js +2 -0
  153. package/dist/components/AccordionItem/AccordionItemContent.js.map +1 -0
  154. package/dist/components/AccordionItem/AccordionItemProps.d.ts +4 -0
  155. package/dist/components/{Accordion → AccordionItem}/AccordionItemProps.js +0 -0
  156. package/dist/components/AccordionItem/AccordionItemProps.js.map +1 -0
  157. package/dist/components/BaseTile/BaseTile.d.ts +1 -1
  158. package/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  159. package/dist/components/Blocks.d.ts +7 -4
  160. package/dist/components/Blocks.js +7 -1
  161. package/dist/components/Blocks.js.map +1 -1
  162. package/dist/components/Blocks.mobile.d.ts +2 -1
  163. package/dist/components/Blocks.mobile.js +2 -0
  164. package/dist/components/Blocks.mobile.js.map +1 -1
  165. package/dist/components/Bonus/Bonus.d.ts +1 -1
  166. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  167. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  168. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  169. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +10 -1
  170. package/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  171. package/dist/components/Calculator/Calculator.d.ts +1 -1
  172. package/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  173. package/dist/components/Calculator/CreditCalculatorForm.js +2 -1
  174. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  175. package/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  176. package/dist/components/Calculator/DepositCalculatorForm.js +2 -1
  177. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  178. package/dist/components/Calculator/renderButtonSection.d.ts +3 -1
  179. package/dist/components/Calculator/renderButtonSection.js.map +1 -1
  180. package/dist/components/Calculator/renderFootnote.d.ts +1 -1
  181. package/dist/components/Calculator/renderFootnote.js.map +1 -1
  182. package/dist/components/Calculator/renderInitialFeeInput.d.ts +1 -1
  183. package/dist/components/Calculator/renderInitialFeeInput.js +1 -1
  184. package/dist/components/Calculator/renderInitialFeeInput.js.map +1 -1
  185. package/dist/components/Calculator/renderMonthsInput.d.ts +1 -1
  186. package/dist/components/Calculator/renderMonthsInput.js.map +1 -1
  187. package/dist/components/Calculator/renderPaymentTypeSelector.d.ts +10 -5
  188. package/dist/components/Calculator/renderPaymentTypeSelector.js +2 -2
  189. package/dist/components/Calculator/renderPaymentTypeSelector.js.map +1 -1
  190. package/dist/components/Calculator/renderRealEstateValue.d.ts +1 -1
  191. package/dist/components/Calculator/renderRealEstateValue.js +1 -1
  192. package/dist/components/Calculator/renderRealEstateValue.js.map +1 -1
  193. package/dist/components/Calculator/renderWantedSumInput.d.ts +1 -1
  194. package/dist/components/Calculator/renderWantedSumInput.js.map +1 -1
  195. package/dist/components/CardTransfer/CardTransfer.d.ts +1 -1
  196. package/dist/components/CardTransfer/CardTransfer.js +3 -3
  197. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  198. package/dist/components/Catalog/Catalog.d.ts +1 -1
  199. package/dist/components/Catalog/CatalogCard.d.ts +1 -1
  200. package/dist/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  201. package/dist/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
  202. package/dist/components/ComparisonTable/TableColumn.d.ts +1 -1
  203. package/dist/components/ContactsBlock/ContactsBlock.d.ts +5 -0
  204. package/dist/components/ContactsBlock/ContactsBlock.js +19 -0
  205. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -0
  206. package/dist/components/ContactsBlock/ContactsBlockContent.d.ts +36 -0
  207. package/dist/components/ContactsBlock/ContactsBlockContent.js +2 -0
  208. package/dist/components/ContactsBlock/ContactsBlockContent.js.map +1 -0
  209. package/dist/components/ContentPage/ContentPage.d.ts +2 -1
  210. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  211. package/dist/components/ContentPage/renderBlock.js +1 -1
  212. package/dist/components/ContentPage/renderBlock.js.map +1 -1
  213. package/dist/components/ContentPage/renderContentPageHead.d.ts +3 -0
  214. package/dist/components/ContentPage/renderContentPageHead.js +30 -0
  215. package/dist/components/ContentPage/renderContentPageHead.js.map +1 -0
  216. package/dist/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  217. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  218. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  219. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  220. package/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  221. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -2
  222. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  223. package/dist/components/Footer/Contacts.d.ts +1 -1
  224. package/dist/components/Footer/Footer.d.ts +1 -1
  225. package/dist/components/Footer/Footer.mobile.d.ts +1 -1
  226. package/dist/components/Footer/Footer.mobile.js +1 -1
  227. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  228. package/dist/components/Footer/FooterLink.d.ts +1 -1
  229. package/dist/components/Footer/HorizontalNavigation.d.ts +1 -1
  230. package/dist/components/Footer/HorizontalNavigation.mobile.d.ts +1 -1
  231. package/dist/components/Footer/Sitemap.d.ts +2 -2
  232. package/dist/components/Footer/Sitemap.js +3 -3
  233. package/dist/components/Footer/Sitemap.js.map +1 -1
  234. package/dist/components/Footer/SocialMedia.d.ts +1 -1
  235. package/dist/components/Footer/SocialMedia.mobile.d.ts +1 -1
  236. package/dist/components/Gallery/Gallery.mobile.js +3 -2
  237. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  238. package/dist/components/Gallery/GalleryCardInner.js +6 -11
  239. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  240. package/dist/components/Gallery/GalleryContainer.js +2 -2
  241. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  242. package/dist/components/Gallery/GalleryContent.d.ts +3 -1
  243. package/dist/components/Gallery/GalleryInner.d.ts +1 -1
  244. package/dist/components/Gallery/GalleryInner.js +4 -3
  245. package/dist/components/Gallery/GalleryInner.js.map +1 -1
  246. package/dist/components/Gallery/GalleryProps.d.ts +1 -1
  247. package/dist/components/GracePeriod/GracePeriod.d.ts +1 -1
  248. package/dist/components/GracePeriod/GracePeriod.js +4 -3
  249. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  250. package/dist/components/GracePeriod/GracePeriodContent.d.ts +3 -3
  251. package/dist/components/Header/DropdownMenu.d.ts +1 -1
  252. package/dist/components/Header/DropdownMenu.js.map +1 -1
  253. package/dist/components/Header/Header.d.ts +1 -1
  254. package/dist/components/Header/Header.js.map +1 -1
  255. package/dist/components/Header/Header.mobile.d.ts +1 -1
  256. package/dist/components/Header/Header.mobile.js +1 -1
  257. package/dist/components/Header/Header.mobile.js.map +1 -1
  258. package/dist/components/Headline/Headline.d.ts +1 -1
  259. package/dist/components/Headline/Headline.js +2 -1
  260. package/dist/components/Headline/Headline.js.map +1 -1
  261. package/dist/components/Headline/Headline.mobile.d.ts +1 -1
  262. package/dist/components/Headline/Headline.mobile.js +2 -1
  263. package/dist/components/Headline/Headline.mobile.js.map +1 -1
  264. package/dist/components/Headline/constants.d.ts +0 -2
  265. package/dist/components/Headline/constants.js +2 -6
  266. package/dist/components/Headline/constants.js.map +1 -1
  267. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  268. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  269. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  270. package/dist/components/InvestmentInfo/InvestmentInfo.d.ts +1 -1
  271. package/dist/components/LikeControl/LikeControl.d.ts +1 -1
  272. package/dist/components/LinkDocs/LinkDocs.d.ts +1 -1
  273. package/dist/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
  274. package/dist/components/LinkList/LinkList.d.ts +1 -1
  275. package/dist/components/LinkList/LinkList.js.map +1 -1
  276. package/dist/components/MiniGallery/MiniGallery.d.ts +1 -1
  277. package/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  278. package/dist/components/MobileAppTile/MobileAppTile.js +5 -3
  279. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  280. package/dist/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
  281. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +6 -0
  282. package/dist/components/OfficeMap/OfficeMap.d.ts +2 -0
  283. package/dist/components/OfficeMap/OfficeMap.js +45 -0
  284. package/dist/components/OfficeMap/OfficeMap.js.map +1 -0
  285. package/dist/components/OfficeMap/OfficeMapContent.d.ts +34 -0
  286. package/dist/components/OfficeMap/OfficeMapContent.js +2 -0
  287. package/dist/components/OfficeMap/OfficeMapContent.js.map +1 -0
  288. package/dist/components/OfficeMap/YandexMap.d.ts +5 -0
  289. package/dist/components/OfficeMap/YandexMap.js +30 -0
  290. package/dist/components/OfficeMap/YandexMap.js.map +1 -0
  291. package/dist/components/OfficeMap/mockOfficeMap.d.ts +57 -0
  292. package/dist/components/OfficeMap/mockOfficeMap.js +82 -0
  293. package/dist/components/OfficeMap/mockOfficeMap.js.map +1 -0
  294. package/dist/components/OfficeMap/renderFunctions.d.ts +5 -0
  295. package/dist/components/OfficeMap/renderFunctions.js +19 -0
  296. package/dist/components/OfficeMap/renderFunctions.js.map +1 -0
  297. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  298. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  299. package/dist/components/OtherProducts/OtherProducts.d.ts +1 -2
  300. package/dist/components/OtherProducts/OtherProducts.js +1 -1
  301. package/dist/components/OtherProducts/OtherProducts.js.map +1 -1
  302. package/dist/components/OtherProducts/OtherProductsContent.d.ts +4 -1
  303. package/dist/components/OtherProductsItem/OtherProductsItem.d.ts +1 -2
  304. package/dist/components/OtherProductsItem/OtherProductsItem.js +5 -1
  305. package/dist/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
  306. package/dist/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -2
  307. package/dist/components/PictureText/PictureText.d.ts +1 -1
  308. package/dist/components/Placeholder/Placeholder.d.ts +1 -1
  309. package/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
  310. package/dist/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
  311. package/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -1
  312. package/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  313. package/dist/components/ProductBlock/ProductBlockInner.js +4 -1
  314. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  315. package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
  316. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  317. package/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
  318. package/dist/components/ProductGallery/ProductGallery.js +1 -1
  319. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  320. package/dist/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
  321. package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  322. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -3
  323. package/dist/components/ProductTile/ProductTile.d.ts +1 -1
  324. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  325. package/dist/components/PromoTile/PromoTile.d.ts +1 -1
  326. package/dist/components/Recommendation/Recommendation.d.ts +1 -1
  327. package/dist/components/Recommendation/Recommendation.js +2 -2
  328. package/dist/components/Recommendation/Recommendation.js.map +1 -1
  329. package/dist/components/Recommendation/RecommendationCard.d.ts +1 -1
  330. package/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  331. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  332. package/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
  333. package/dist/components/StepsBlock/StepsBlock.js +2 -2
  334. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  335. package/dist/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
  336. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  337. package/dist/components/Tabs/Tabs.d.ts +1 -1
  338. package/dist/components/Tabs/renderGroupTab.js +4 -4
  339. package/dist/components/Tabs/renderGroupTab.js.map +1 -1
  340. package/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
  341. package/dist/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
  342. package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  343. package/dist/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  344. package/dist/components/TariffsTable/TariffsTableContent.d.ts +14 -0
  345. package/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -6
  346. package/dist/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  347. package/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  348. package/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  349. package/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  350. package/dist/components/TariffsTable/TariffsTableTileCell.d.ts +2 -3
  351. package/dist/components/TariffsTable/TariffsTableTileCell.js +2 -2
  352. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  353. package/dist/components/TariffsTable/TariffsTableVertical.d.ts +2 -6
  354. package/dist/components/TariffsTable/TariffsTableVertical.js +1 -1
  355. package/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  356. package/dist/components/TextBlock/TextBlock.d.ts +1 -1
  357. package/dist/components/TextBlock/TextBlock.mobile.d.ts +1 -1
  358. package/dist/components/Tile/Tile.d.ts +1 -1
  359. package/dist/components/Tile/Tile.js +2 -2
  360. package/dist/components/Tile/Tile.js.map +1 -1
  361. package/dist/hooks/useOfficeMap.d.ts +3 -0
  362. package/dist/hooks/useOfficeMap.js +19 -0
  363. package/dist/hooks/useOfficeMap.js.map +1 -0
  364. package/dist/icons/IconName.d.ts +4 -2
  365. package/dist/icons/IconName.js +2 -0
  366. package/dist/icons/IconName.js.map +1 -1
  367. package/dist/index.d.ts +1 -0
  368. package/dist/index.js +2 -1
  369. package/dist/index.js.map +1 -1
  370. package/dist/model/AlignText.d.ts +2 -0
  371. package/dist/model/AlignText.js +8 -0
  372. package/dist/model/AlignText.js.map +1 -0
  373. package/dist/model/BlocksRegistry.d.ts +1 -7
  374. package/dist/model/ContentPageDef.d.ts +0 -8
  375. package/dist/model/HeadlineType.d.ts +2 -2
  376. package/dist/model/JSXBlock.d.ts +17 -0
  377. package/dist/{ui-kit/BlocksList/BlocksListProps.js → model/JSXBlock.js} +1 -1
  378. package/dist/model/JSXBlock.js.map +1 -0
  379. package/dist/model/getParentBlockContent.d.ts +2 -0
  380. package/dist/model/getParentBlockContent.js +9 -0
  381. package/dist/model/getParentBlockContent.js.map +1 -0
  382. package/dist/model/getParentBlockDef.d.ts +3 -0
  383. package/dist/model/getParentBlockDef.js +8 -0
  384. package/dist/model/getParentBlockDef.js.map +1 -0
  385. package/dist/ui-kit/BenefitItem/BenefitItem.js +2 -2
  386. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  387. package/dist/ui-kit/BlockWrapper.d.ts +1 -1
  388. package/dist/ui-kit/BlockWrapper.js +3 -1
  389. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  390. package/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
  391. package/dist/ui-kit/Img/getIconVersion.d.ts +2 -1
  392. package/dist/ui-kit/Img/getIconVersion.js +1 -1
  393. package/dist/ui-kit/Img/getIconVersion.js.map +1 -1
  394. package/dist/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  395. package/dist/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  396. package/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  397. package/dist/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  398. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  399. package/dist/ui-kit/List/ListItem.js +4 -4
  400. package/dist/ui-kit/List/ListItem.js.map +1 -1
  401. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  402. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -2
  403. package/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  404. package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
  405. package/dist/ui-kit/Select/Select.js +1 -1
  406. package/dist/ui-kit/Select/Select.js.map +1 -1
  407. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  408. package/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +2 -1
  409. package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  410. package/lib/common.css +1 -1
  411. package/lib/components/Accordion/Accordion.d.ts +2 -2
  412. package/lib/components/Accordion/Accordion.fixture.d.ts +1 -0
  413. package/lib/components/Accordion/Accordion.fixture.mobile.d.ts +1 -0
  414. package/lib/components/Accordion/Accordion.js +3 -10
  415. package/lib/components/Accordion/Accordion.js.map +1 -1
  416. package/lib/components/Accordion/Accordion.mobile.d.ts +2 -2
  417. package/lib/components/Accordion/Accordion.mobile.js +2 -5
  418. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  419. package/lib/components/Accordion/AccordionContent.d.ts +0 -26
  420. package/lib/components/AccordionItem/AccordionItem.d.ts +3 -0
  421. package/lib/components/AccordionItem/AccordionItem.fixture.d.ts +5 -0
  422. package/lib/components/AccordionItem/AccordionItem.fixture.mobile.d.ts +5 -0
  423. package/lib/components/AccordionItem/AccordionItem.js +10 -0
  424. package/lib/components/AccordionItem/AccordionItem.js.map +1 -0
  425. package/lib/components/AccordionItem/AccordionItem.mobile.d.ts +3 -0
  426. package/lib/components/AccordionItem/AccordionItem.mobile.js +14 -0
  427. package/lib/components/AccordionItem/AccordionItem.mobile.js.map +1 -0
  428. package/lib/components/AccordionItem/AccordionItemContent.d.ts +14 -0
  429. package/lib/components/AccordionItem/AccordionItemContent.js +2 -0
  430. package/lib/components/AccordionItem/AccordionItemContent.js.map +1 -0
  431. package/lib/components/AccordionItem/AccordionItemProps.d.ts +4 -0
  432. package/lib/components/{Accordion → AccordionItem}/AccordionItemProps.js +0 -0
  433. package/lib/components/AccordionItem/AccordionItemProps.js.map +1 -0
  434. package/lib/components/BaseTile/BaseTile.d.ts +1 -1
  435. package/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  436. package/lib/components/Blocks.d.ts +7 -4
  437. package/lib/components/Blocks.js +7 -1
  438. package/lib/components/Blocks.js.map +1 -1
  439. package/lib/components/Blocks.mobile.d.ts +2 -1
  440. package/lib/components/Blocks.mobile.js +2 -0
  441. package/lib/components/Blocks.mobile.js.map +1 -1
  442. package/lib/components/Bonus/Bonus.d.ts +1 -1
  443. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  444. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.d.ts +1 -0
  445. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  446. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  447. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +10 -1
  448. package/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  449. package/lib/components/Calculator/Calculator.d.ts +1 -1
  450. package/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  451. package/lib/components/Calculator/CreditCalculatorForm.js +2 -1
  452. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  453. package/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  454. package/lib/components/Calculator/DepositCalculatorForm.js +2 -1
  455. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  456. package/lib/components/Calculator/renderButtonSection.d.ts +3 -1
  457. package/lib/components/Calculator/renderButtonSection.js.map +1 -1
  458. package/lib/components/Calculator/renderFootnote.d.ts +1 -1
  459. package/lib/components/Calculator/renderFootnote.js.map +1 -1
  460. package/lib/components/Calculator/renderInitialFeeInput.d.ts +1 -1
  461. package/lib/components/Calculator/renderInitialFeeInput.js +1 -1
  462. package/lib/components/Calculator/renderInitialFeeInput.js.map +1 -1
  463. package/lib/components/Calculator/renderMonthsInput.d.ts +1 -1
  464. package/lib/components/Calculator/renderMonthsInput.js.map +1 -1
  465. package/lib/components/Calculator/renderPaymentTypeSelector.d.ts +10 -5
  466. package/lib/components/Calculator/renderPaymentTypeSelector.js +2 -2
  467. package/lib/components/Calculator/renderPaymentTypeSelector.js.map +1 -1
  468. package/lib/components/Calculator/renderRealEstateValue.d.ts +1 -1
  469. package/lib/components/Calculator/renderRealEstateValue.js +1 -1
  470. package/lib/components/Calculator/renderRealEstateValue.js.map +1 -1
  471. package/lib/components/Calculator/renderWantedSumInput.d.ts +1 -1
  472. package/lib/components/Calculator/renderWantedSumInput.js.map +1 -1
  473. package/lib/components/CardTransfer/CardTransfer.d.ts +1 -1
  474. package/lib/components/CardTransfer/CardTransfer.js +3 -3
  475. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  476. package/lib/components/Catalog/Catalog.d.ts +1 -1
  477. package/lib/components/Catalog/CatalogCard.d.ts +1 -1
  478. package/lib/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  479. package/lib/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
  480. package/lib/components/ComparisonTable/TableColumn.d.ts +1 -1
  481. package/lib/components/ContactsBlock/ContactsBlock.d.ts +5 -0
  482. package/lib/components/ContactsBlock/ContactsBlock.fixture.d.ts +5 -0
  483. package/lib/components/ContactsBlock/ContactsBlock.js +17 -0
  484. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -0
  485. package/lib/components/ContactsBlock/ContactsBlockContent.d.ts +36 -0
  486. package/lib/components/ContactsBlock/ContactsBlockContent.js +2 -0
  487. package/lib/components/ContactsBlock/ContactsBlockContent.js.map +1 -0
  488. package/lib/components/ContentPage/ContentPage.d.ts +2 -1
  489. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  490. package/lib/components/ContentPage/renderBlock.js +1 -1
  491. package/lib/components/ContentPage/renderBlock.js.map +1 -1
  492. package/lib/components/ContentPage/renderContentPageHead.d.ts +3 -0
  493. package/lib/components/ContentPage/renderContentPageHead.js +27 -0
  494. package/lib/components/ContentPage/renderContentPageHead.js.map +1 -0
  495. package/lib/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  496. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  497. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  498. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  499. package/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  500. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -2
  501. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  502. package/lib/components/Footer/Contacts.d.ts +1 -1
  503. package/lib/components/Footer/Footer.d.ts +1 -1
  504. package/lib/components/Footer/Footer.mobile.d.ts +1 -1
  505. package/lib/components/Footer/Footer.mobile.js +1 -1
  506. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  507. package/lib/components/Footer/FooterLink.d.ts +1 -1
  508. package/lib/components/Footer/HorizontalNavigation.d.ts +1 -1
  509. package/lib/components/Footer/HorizontalNavigation.mobile.d.ts +1 -1
  510. package/lib/components/Footer/Sitemap.d.ts +2 -2
  511. package/lib/components/Footer/Sitemap.js +3 -3
  512. package/lib/components/Footer/Sitemap.js.map +1 -1
  513. package/lib/components/Footer/SocialMedia.d.ts +1 -1
  514. package/lib/components/Footer/SocialMedia.mobile.d.ts +1 -1
  515. package/lib/components/Gallery/Gallery.mobile.js +3 -2
  516. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  517. package/lib/components/Gallery/GalleryCardInner.js +6 -11
  518. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  519. package/lib/components/Gallery/GalleryContainer.js +2 -2
  520. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  521. package/lib/components/Gallery/GalleryContent.d.ts +3 -1
  522. package/lib/components/Gallery/GalleryInner.d.ts +1 -1
  523. package/lib/components/Gallery/GalleryInner.js +4 -3
  524. package/lib/components/Gallery/GalleryInner.js.map +1 -1
  525. package/lib/components/Gallery/GalleryProps.d.ts +1 -1
  526. package/lib/components/GracePeriod/GracePeriod.d.ts +1 -1
  527. package/lib/components/GracePeriod/GracePeriod.js +4 -3
  528. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  529. package/lib/components/GracePeriod/GracePeriodContent.d.ts +3 -3
  530. package/lib/components/Header/DropdownMenu.d.ts +1 -1
  531. package/lib/components/Header/DropdownMenu.js.map +1 -1
  532. package/lib/components/Header/Header.d.ts +1 -1
  533. package/lib/components/Header/Header.js.map +1 -1
  534. package/lib/components/Header/Header.mobile.d.ts +1 -1
  535. package/lib/components/Header/Header.mobile.js +1 -1
  536. package/lib/components/Header/Header.mobile.js.map +1 -1
  537. package/lib/components/Headline/Headline.d.ts +1 -1
  538. package/lib/components/Headline/Headline.js +3 -2
  539. package/lib/components/Headline/Headline.js.map +1 -1
  540. package/lib/components/Headline/Headline.mobile.d.ts +1 -1
  541. package/lib/components/Headline/Headline.mobile.js +3 -2
  542. package/lib/components/Headline/Headline.mobile.js.map +1 -1
  543. package/lib/components/Headline/constants.d.ts +0 -2
  544. package/lib/components/Headline/constants.js +1 -5
  545. package/lib/components/Headline/constants.js.map +1 -1
  546. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  547. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  548. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  549. package/lib/components/InvestmentInfo/InvestmentInfo.d.ts +1 -1
  550. package/lib/components/LikeControl/LikeControl.d.ts +1 -1
  551. package/lib/components/LinkDocs/LinkDocs.d.ts +1 -1
  552. package/lib/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
  553. package/lib/components/LinkList/LinkList.d.ts +1 -1
  554. package/lib/components/LinkList/LinkList.js.map +1 -1
  555. package/lib/components/MiniGallery/MiniGallery.d.ts +1 -1
  556. package/lib/components/MiniGallery/MiniGallery.fixture.d.ts +2 -1
  557. package/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  558. package/lib/components/MobileAppTile/MobileAppTile.js +5 -3
  559. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  560. package/lib/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
  561. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +6 -0
  562. package/lib/components/OfficeMap/OfficeMap.d.ts +2 -0
  563. package/lib/components/OfficeMap/OfficeMap.fixture.d.ts +5 -0
  564. package/lib/components/OfficeMap/OfficeMap.js +43 -0
  565. package/lib/components/OfficeMap/OfficeMap.js.map +1 -0
  566. package/lib/components/OfficeMap/OfficeMapContent.d.ts +34 -0
  567. package/lib/components/OfficeMap/OfficeMapContent.js +2 -0
  568. package/lib/components/OfficeMap/OfficeMapContent.js.map +1 -0
  569. package/lib/components/OfficeMap/YandexMap.d.ts +5 -0
  570. package/lib/components/OfficeMap/YandexMap.js +28 -0
  571. package/lib/components/OfficeMap/YandexMap.js.map +1 -0
  572. package/lib/components/OfficeMap/mockOfficeMap.d.ts +57 -0
  573. package/lib/components/OfficeMap/mockOfficeMap.js +80 -0
  574. package/lib/components/OfficeMap/mockOfficeMap.js.map +1 -0
  575. package/lib/components/OfficeMap/renderFunctions.d.ts +5 -0
  576. package/lib/components/OfficeMap/renderFunctions.js +14 -0
  577. package/lib/components/OfficeMap/renderFunctions.js.map +1 -0
  578. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  579. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  580. package/lib/components/OtherProducts/OtherProducts.d.ts +1 -2
  581. package/lib/components/OtherProducts/OtherProducts.js +1 -1
  582. package/lib/components/OtherProducts/OtherProducts.js.map +1 -1
  583. package/lib/components/OtherProducts/OtherProductsContent.d.ts +4 -1
  584. package/lib/components/OtherProductsItem/OtherProductsItem.d.ts +1 -2
  585. package/lib/components/OtherProductsItem/OtherProductsItem.js +5 -1
  586. package/lib/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
  587. package/lib/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -2
  588. package/lib/components/PictureText/PictureText.d.ts +1 -1
  589. package/lib/components/Placeholder/Placeholder.d.ts +1 -1
  590. package/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
  591. package/lib/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
  592. package/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -1
  593. package/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  594. package/lib/components/ProductBlock/ProductBlockInner.js +4 -1
  595. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  596. package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
  597. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  598. package/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
  599. package/lib/components/ProductGallery/ProductGallery.js +1 -1
  600. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  601. package/lib/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
  602. package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  603. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -3
  604. package/lib/components/ProductTile/ProductTile.d.ts +1 -1
  605. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  606. package/lib/components/PromoTile/PromoTile.d.ts +1 -1
  607. package/lib/components/Recommendation/Recommendation.d.ts +1 -1
  608. package/lib/components/Recommendation/Recommendation.js +2 -2
  609. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  610. package/lib/components/Recommendation/RecommendationCard.d.ts +1 -1
  611. package/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  612. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  613. package/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
  614. package/lib/components/StepsBlock/StepsBlock.js +2 -2
  615. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  616. package/lib/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
  617. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  618. package/lib/components/Tabs/Tabs.d.ts +1 -1
  619. package/lib/components/Tabs/renderGroupTab.js +4 -4
  620. package/lib/components/Tabs/renderGroupTab.js.map +1 -1
  621. package/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
  622. package/lib/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
  623. package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  624. package/lib/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  625. package/lib/components/TariffsTable/TariffsTableContent.d.ts +14 -0
  626. package/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -6
  627. package/lib/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  628. package/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  629. package/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  630. package/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  631. package/lib/components/TariffsTable/TariffsTableTileCell.d.ts +2 -3
  632. package/lib/components/TariffsTable/TariffsTableTileCell.js +2 -2
  633. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  634. package/lib/components/TariffsTable/TariffsTableVertical.d.ts +2 -6
  635. package/lib/components/TariffsTable/TariffsTableVertical.js +1 -1
  636. package/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  637. package/lib/components/TextBlock/TextBlock.d.ts +1 -1
  638. package/lib/components/TextBlock/TextBlock.mobile.d.ts +1 -1
  639. package/lib/components/Tile/Tile.d.ts +1 -1
  640. package/lib/components/Tile/Tile.js +2 -2
  641. package/lib/components/Tile/Tile.js.map +1 -1
  642. package/lib/hooks/useOfficeMap.d.ts +3 -0
  643. package/lib/hooks/useOfficeMap.js +16 -0
  644. package/lib/hooks/useOfficeMap.js.map +1 -0
  645. package/lib/icons/IconName.d.ts +4 -2
  646. package/lib/icons/IconName.js +2 -0
  647. package/lib/icons/IconName.js.map +1 -1
  648. package/lib/index.d.ts +1 -0
  649. package/lib/index.js +1 -0
  650. package/lib/index.js.map +1 -1
  651. package/lib/model/AlignText.d.ts +2 -0
  652. package/lib/model/AlignText.js +6 -0
  653. package/lib/model/AlignText.js.map +1 -0
  654. package/lib/model/BlocksRegistry.d.ts +1 -7
  655. package/lib/model/ContentPageDef.d.ts +0 -8
  656. package/lib/model/HeadlineType.d.ts +2 -2
  657. package/lib/model/JSXBlock.d.ts +17 -0
  658. package/lib/model/JSXBlock.js +2 -0
  659. package/lib/model/JSXBlock.js.map +1 -0
  660. package/lib/model/getParentBlockContent.d.ts +2 -0
  661. package/lib/model/getParentBlockContent.js +6 -0
  662. package/lib/model/getParentBlockContent.js.map +1 -0
  663. package/lib/model/getParentBlockDef.d.ts +3 -0
  664. package/lib/model/getParentBlockDef.js +5 -0
  665. package/lib/model/getParentBlockDef.js.map +1 -0
  666. package/lib/ui-kit/BenefitItem/BenefitItem.js +2 -2
  667. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  668. package/lib/ui-kit/BlockWrapper.d.ts +1 -1
  669. package/lib/ui-kit/BlockWrapper.js +3 -1
  670. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  671. package/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
  672. package/lib/ui-kit/Img/getIconVersion.d.ts +2 -1
  673. package/lib/ui-kit/Img/getIconVersion.js +1 -1
  674. package/lib/ui-kit/Img/getIconVersion.js.map +1 -1
  675. package/lib/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  676. package/lib/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  677. package/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  678. package/lib/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  679. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  680. package/lib/ui-kit/List/ListItem.js +4 -4
  681. package/lib/ui-kit/List/ListItem.js.map +1 -1
  682. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  683. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -2
  684. package/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  685. package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
  686. package/lib/ui-kit/Select/Select.js +2 -2
  687. package/lib/ui-kit/Select/Select.js.map +1 -1
  688. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  689. package/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +2 -1
  690. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  691. package/mobile/bundle/bundle.umd.js +538 -545
  692. package/mobile/bundle/bundle.umd.min.js +1 -1
  693. package/mobile/bundle/components/Accordion/Accordion.d.ts +2 -2
  694. package/mobile/bundle/components/Accordion/AccordionContent.d.ts +0 -26
  695. package/mobile/bundle/components/AccordionItem/AccordionItem.d.ts +3 -0
  696. package/mobile/bundle/components/AccordionItem/AccordionItemContent.d.ts +14 -0
  697. package/mobile/bundle/components/AccordionItem/AccordionItemProps.d.ts +4 -0
  698. package/mobile/bundle/components/BaseTile/BaseTile.d.ts +1 -1
  699. package/mobile/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  700. package/mobile/bundle/components/Blocks.d.ts +2 -1
  701. package/mobile/bundle/components/Bonus/Bonus.d.ts +1 -1
  702. package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  703. package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +10 -1
  704. package/mobile/bundle/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  705. package/mobile/bundle/components/Calculator/Calculator.d.ts +1 -1
  706. package/mobile/bundle/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  707. package/mobile/bundle/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  708. package/mobile/bundle/components/Calculator/renderButtonSection.d.ts +3 -1
  709. package/mobile/bundle/components/Calculator/renderFootnote.d.ts +1 -1
  710. package/mobile/bundle/components/Calculator/renderInitialFeeInput.d.ts +1 -1
  711. package/mobile/bundle/components/Calculator/renderMonthsInput.d.ts +1 -1
  712. package/mobile/bundle/components/Calculator/renderPaymentTypeSelector.d.ts +10 -5
  713. package/mobile/bundle/components/Calculator/renderRealEstateValue.d.ts +1 -1
  714. package/mobile/bundle/components/Calculator/renderWantedSumInput.d.ts +1 -1
  715. package/mobile/bundle/components/CardTransfer/CardTransfer.d.ts +1 -1
  716. package/mobile/bundle/components/Catalog/Catalog.d.ts +1 -1
  717. package/mobile/bundle/components/Catalog/CatalogCard.d.ts +1 -1
  718. package/mobile/bundle/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  719. package/mobile/bundle/components/ComparisonTable/TableColumn.d.ts +1 -1
  720. package/mobile/bundle/components/ContactsBlock/ContactsBlock.d.ts +5 -0
  721. package/mobile/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +36 -0
  722. package/mobile/bundle/components/ContentPage/ContentPage.d.ts +2 -1
  723. package/mobile/bundle/components/ContentPage/renderContentPageHead.d.ts +3 -0
  724. package/mobile/bundle/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  725. package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  726. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  727. package/mobile/bundle/components/Footer/Contacts.d.ts +1 -1
  728. package/mobile/bundle/components/Footer/Footer.d.ts +1 -1
  729. package/mobile/bundle/components/Footer/FooterLink.d.ts +1 -1
  730. package/mobile/bundle/components/Footer/HorizontalNavigation.d.ts +1 -1
  731. package/mobile/bundle/components/Footer/Sitemap.d.ts +2 -2
  732. package/mobile/bundle/components/Footer/SocialMedia.d.ts +1 -1
  733. package/mobile/bundle/components/Gallery/GalleryContent.d.ts +3 -1
  734. package/mobile/bundle/components/Gallery/GalleryInner.d.ts +1 -1
  735. package/mobile/bundle/components/Gallery/GalleryProps.d.ts +1 -1
  736. package/mobile/bundle/components/GracePeriod/GracePeriod.d.ts +1 -1
  737. package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +3 -3
  738. package/mobile/bundle/components/Header/DropdownMenu.d.ts +1 -1
  739. package/mobile/bundle/components/Header/Header.d.ts +1 -1
  740. package/mobile/bundle/components/Headline/Headline.d.ts +1 -1
  741. package/mobile/bundle/components/Headline/constants.d.ts +0 -2
  742. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  743. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  744. package/mobile/bundle/components/InvestmentInfo/InvestmentInfo.d.ts +1 -1
  745. package/mobile/bundle/components/LikeControl/LikeControl.d.ts +1 -1
  746. package/mobile/bundle/components/LinkDocs/LinkDocs.d.ts +1 -1
  747. package/mobile/bundle/components/LinkList/LinkList.d.ts +1 -1
  748. package/mobile/bundle/components/MiniGallery/MiniGallery.d.ts +1 -1
  749. package/mobile/bundle/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  750. package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +6 -0
  751. package/mobile/bundle/components/OfficeMap/OfficeMap.d.ts +2 -0
  752. package/mobile/bundle/components/OfficeMap/OfficeMapContent.d.ts +34 -0
  753. package/mobile/bundle/components/OfficeMap/YandexMap.d.ts +5 -0
  754. package/mobile/bundle/components/OfficeMap/mockOfficeMap.d.ts +57 -0
  755. package/mobile/bundle/components/OfficeMap/renderFunctions.d.ts +5 -0
  756. package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  757. package/mobile/bundle/components/OtherProducts/OtherProducts.d.ts +1 -2
  758. package/mobile/bundle/components/OtherProducts/OtherProductsContent.d.ts +4 -1
  759. package/mobile/bundle/components/OtherProductsItem/OtherProductsItem.d.ts +1 -2
  760. package/mobile/bundle/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -2
  761. package/mobile/bundle/components/PictureText/PictureText.d.ts +1 -1
  762. package/mobile/bundle/components/Placeholder/Placeholder.d.ts +1 -1
  763. package/mobile/bundle/components/ProductBlock/ProductBlock.d.ts +1 -1
  764. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +1 -1
  765. package/mobile/bundle/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  766. package/mobile/bundle/components/ProductGallery/ProductGallery.d.ts +1 -1
  767. package/mobile/bundle/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  768. package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +2 -3
  769. package/mobile/bundle/components/ProductTile/ProductTile.d.ts +1 -1
  770. package/mobile/bundle/components/PromoTile/PromoTile.d.ts +1 -1
  771. package/mobile/bundle/components/Recommendation/Recommendation.d.ts +1 -1
  772. package/mobile/bundle/components/Recommendation/RecommendationCard.d.ts +1 -1
  773. package/mobile/bundle/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  774. package/mobile/bundle/components/StepsBlock/StepsBlock.d.ts +1 -1
  775. package/mobile/bundle/components/Tabs/Tabs.d.ts +1 -1
  776. package/mobile/bundle/components/TariffsTable/TariffsTable.d.ts +1 -1
  777. package/mobile/bundle/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  778. package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +14 -0
  779. package/mobile/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -6
  780. package/mobile/bundle/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  781. package/mobile/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  782. package/mobile/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +2 -3
  783. package/mobile/bundle/components/TariffsTable/TariffsTableVertical.d.ts +2 -6
  784. package/mobile/bundle/components/TextBlock/TextBlock.d.ts +1 -1
  785. package/mobile/bundle/components/Tile/Tile.d.ts +1 -1
  786. package/mobile/bundle/hooks/useOfficeMap.d.ts +3 -0
  787. package/mobile/bundle/icons/IconName.d.ts +4 -2
  788. package/mobile/bundle/index.d.ts +1 -0
  789. package/mobile/bundle/model/AlignText.d.ts +2 -0
  790. package/mobile/bundle/model/BlocksRegistry.d.ts +1 -7
  791. package/mobile/bundle/model/ContentPageDef.d.ts +0 -8
  792. package/mobile/bundle/model/HeadlineType.d.ts +2 -2
  793. package/mobile/bundle/model/JSXBlock.d.ts +17 -0
  794. package/mobile/bundle/model/getParentBlockContent.d.ts +2 -0
  795. package/mobile/bundle/model/getParentBlockDef.d.ts +3 -0
  796. package/mobile/bundle/ui-kit/BlockWrapper.d.ts +1 -1
  797. package/mobile/bundle/ui-kit/Button/ButtonSection.d.ts +1 -1
  798. package/mobile/bundle/ui-kit/Img/getIconVersion.d.ts +2 -1
  799. package/mobile/bundle/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  800. package/mobile/bundle/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  801. package/mobile/bundle/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  802. package/mobile/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  803. package/mobile/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -2
  804. package/mobile/bundle/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  805. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlList.d.ts +2 -1
  806. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  807. package/mobile/dist/components/Accordion/Accordion.d.ts +2 -2
  808. package/mobile/dist/components/Accordion/Accordion.js +2 -5
  809. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  810. package/mobile/dist/components/Accordion/AccordionContent.d.ts +0 -26
  811. package/mobile/dist/components/AccordionItem/AccordionItem.d.ts +3 -0
  812. package/mobile/dist/components/AccordionItem/AccordionItem.js +16 -0
  813. package/mobile/dist/components/AccordionItem/AccordionItem.js.map +1 -0
  814. package/mobile/dist/components/AccordionItem/AccordionItemContent.d.ts +14 -0
  815. package/mobile/dist/components/AccordionItem/AccordionItemContent.js +2 -0
  816. package/mobile/dist/components/AccordionItem/AccordionItemContent.js.map +1 -0
  817. package/mobile/dist/components/AccordionItem/AccordionItemProps.d.ts +4 -0
  818. package/mobile/dist/components/{Accordion → AccordionItem}/AccordionItemProps.js +0 -0
  819. package/mobile/dist/components/AccordionItem/AccordionItemProps.js.map +1 -0
  820. package/mobile/dist/components/BaseTile/BaseTile.d.ts +1 -1
  821. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  822. package/mobile/dist/components/Blocks.d.ts +2 -1
  823. package/mobile/dist/components/Blocks.js +2 -0
  824. package/mobile/dist/components/Blocks.js.map +1 -1
  825. package/mobile/dist/components/Bonus/Bonus.d.ts +1 -1
  826. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  827. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  828. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  829. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +10 -1
  830. package/mobile/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  831. package/mobile/dist/components/Calculator/Calculator.d.ts +1 -1
  832. package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  833. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +2 -1
  834. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  835. package/mobile/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  836. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +2 -1
  837. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  838. package/mobile/dist/components/Calculator/renderButtonSection.d.ts +3 -1
  839. package/mobile/dist/components/Calculator/renderButtonSection.js.map +1 -1
  840. package/mobile/dist/components/Calculator/renderFootnote.d.ts +1 -1
  841. package/mobile/dist/components/Calculator/renderFootnote.js.map +1 -1
  842. package/mobile/dist/components/Calculator/renderInitialFeeInput.d.ts +1 -1
  843. package/mobile/dist/components/Calculator/renderInitialFeeInput.js +1 -1
  844. package/mobile/dist/components/Calculator/renderInitialFeeInput.js.map +1 -1
  845. package/mobile/dist/components/Calculator/renderMonthsInput.d.ts +1 -1
  846. package/mobile/dist/components/Calculator/renderMonthsInput.js.map +1 -1
  847. package/mobile/dist/components/Calculator/renderPaymentTypeSelector.d.ts +10 -5
  848. package/mobile/dist/components/Calculator/renderPaymentTypeSelector.js +2 -2
  849. package/mobile/dist/components/Calculator/renderPaymentTypeSelector.js.map +1 -1
  850. package/mobile/dist/components/Calculator/renderRealEstateValue.d.ts +1 -1
  851. package/mobile/dist/components/Calculator/renderRealEstateValue.js +1 -1
  852. package/mobile/dist/components/Calculator/renderRealEstateValue.js.map +1 -1
  853. package/mobile/dist/components/Calculator/renderWantedSumInput.d.ts +1 -1
  854. package/mobile/dist/components/Calculator/renderWantedSumInput.js.map +1 -1
  855. package/mobile/dist/components/CardTransfer/CardTransfer.d.ts +1 -1
  856. package/mobile/dist/components/CardTransfer/CardTransfer.js +3 -3
  857. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  858. package/mobile/dist/components/Catalog/Catalog.d.ts +1 -1
  859. package/mobile/dist/components/Catalog/CatalogCard.d.ts +1 -1
  860. package/mobile/dist/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  861. package/mobile/dist/components/ComparisonTable/TableColumn.d.ts +1 -1
  862. package/mobile/dist/components/ContactsBlock/ContactsBlock.d.ts +5 -0
  863. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +19 -0
  864. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -0
  865. package/mobile/dist/components/ContactsBlock/ContactsBlockContent.d.ts +36 -0
  866. package/mobile/dist/components/ContactsBlock/ContactsBlockContent.js +2 -0
  867. package/mobile/dist/components/ContactsBlock/ContactsBlockContent.js.map +1 -0
  868. package/mobile/dist/components/ContentPage/ContentPage.d.ts +2 -1
  869. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  870. package/mobile/dist/components/ContentPage/renderBlock.js +1 -1
  871. package/mobile/dist/components/ContentPage/renderBlock.js.map +1 -1
  872. package/mobile/dist/components/ContentPage/renderContentPageHead.d.ts +3 -0
  873. package/mobile/dist/components/ContentPage/renderContentPageHead.js +30 -0
  874. package/mobile/dist/components/ContentPage/renderContentPageHead.js.map +1 -0
  875. package/mobile/dist/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  876. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  877. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  878. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  879. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  880. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -2
  881. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  882. package/mobile/dist/components/Footer/Contacts.d.ts +1 -1
  883. package/mobile/dist/components/Footer/Footer.d.ts +1 -1
  884. package/mobile/dist/components/Footer/Footer.js +1 -1
  885. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  886. package/mobile/dist/components/Footer/FooterLink.d.ts +1 -1
  887. package/mobile/dist/components/Footer/HorizontalNavigation.d.ts +1 -1
  888. package/mobile/dist/components/Footer/Sitemap.d.ts +2 -2
  889. package/mobile/dist/components/Footer/Sitemap.js +3 -3
  890. package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
  891. package/mobile/dist/components/Footer/SocialMedia.d.ts +1 -1
  892. package/mobile/dist/components/Gallery/Gallery.js +3 -2
  893. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  894. package/mobile/dist/components/Gallery/GalleryCardInner.js +6 -11
  895. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  896. package/mobile/dist/components/Gallery/GalleryContainer.js +2 -2
  897. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  898. package/mobile/dist/components/Gallery/GalleryContent.d.ts +3 -1
  899. package/mobile/dist/components/Gallery/GalleryInner.d.ts +1 -1
  900. package/mobile/dist/components/Gallery/GalleryInner.js +4 -3
  901. package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
  902. package/mobile/dist/components/Gallery/GalleryProps.d.ts +1 -1
  903. package/mobile/dist/components/GracePeriod/GracePeriod.d.ts +1 -1
  904. package/mobile/dist/components/GracePeriod/GracePeriod.js +4 -3
  905. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  906. package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +3 -3
  907. package/mobile/dist/components/Header/DropdownMenu.d.ts +1 -1
  908. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  909. package/mobile/dist/components/Header/Header.d.ts +1 -1
  910. package/mobile/dist/components/Header/Header.js +1 -1
  911. package/mobile/dist/components/Header/Header.js.map +1 -1
  912. package/mobile/dist/components/Headline/Headline.d.ts +1 -1
  913. package/mobile/dist/components/Headline/Headline.js +2 -1
  914. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  915. package/mobile/dist/components/Headline/constants.d.ts +0 -2
  916. package/mobile/dist/components/Headline/constants.js +2 -6
  917. package/mobile/dist/components/Headline/constants.js.map +1 -1
  918. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  919. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  920. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  921. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.d.ts +1 -1
  922. package/mobile/dist/components/LikeControl/LikeControl.d.ts +1 -1
  923. package/mobile/dist/components/LinkDocs/LinkDocs.d.ts +1 -1
  924. package/mobile/dist/components/LinkList/LinkList.d.ts +1 -1
  925. package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
  926. package/mobile/dist/components/MiniGallery/MiniGallery.d.ts +1 -1
  927. package/mobile/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  928. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +6 -0
  929. package/mobile/dist/components/OfficeMap/OfficeMap.d.ts +2 -0
  930. package/mobile/dist/components/OfficeMap/OfficeMap.js +45 -0
  931. package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -0
  932. package/mobile/dist/components/OfficeMap/OfficeMapContent.d.ts +34 -0
  933. package/mobile/dist/components/OfficeMap/OfficeMapContent.js +2 -0
  934. package/mobile/dist/components/OfficeMap/OfficeMapContent.js.map +1 -0
  935. package/mobile/dist/components/OfficeMap/YandexMap.d.ts +5 -0
  936. package/mobile/dist/components/OfficeMap/YandexMap.js +30 -0
  937. package/mobile/dist/components/OfficeMap/YandexMap.js.map +1 -0
  938. package/mobile/dist/components/OfficeMap/mockOfficeMap.d.ts +57 -0
  939. package/mobile/dist/components/OfficeMap/mockOfficeMap.js +82 -0
  940. package/mobile/dist/components/OfficeMap/mockOfficeMap.js.map +1 -0
  941. package/mobile/dist/components/OfficeMap/renderFunctions.d.ts +5 -0
  942. package/mobile/dist/components/OfficeMap/renderFunctions.js +19 -0
  943. package/mobile/dist/components/OfficeMap/renderFunctions.js.map +1 -0
  944. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  945. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  946. package/mobile/dist/components/OtherProducts/OtherProducts.d.ts +1 -2
  947. package/mobile/dist/components/OtherProducts/OtherProducts.js +1 -1
  948. package/mobile/dist/components/OtherProducts/OtherProducts.js.map +1 -1
  949. package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +4 -1
  950. package/mobile/dist/components/OtherProductsItem/OtherProductsItem.d.ts +1 -2
  951. package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js +5 -1
  952. package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
  953. package/mobile/dist/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -2
  954. package/mobile/dist/components/PictureText/PictureText.d.ts +1 -1
  955. package/mobile/dist/components/Placeholder/Placeholder.d.ts +1 -1
  956. package/mobile/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
  957. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -1
  958. package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  959. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  960. package/mobile/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
  961. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  962. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -3
  963. package/mobile/dist/components/ProductTile/ProductTile.d.ts +1 -1
  964. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  965. package/mobile/dist/components/PromoTile/PromoTile.d.ts +1 -1
  966. package/mobile/dist/components/Recommendation/Recommendation.d.ts +1 -1
  967. package/mobile/dist/components/Recommendation/Recommendation.js +2 -2
  968. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  969. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +1 -1
  970. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  971. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  972. package/mobile/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
  973. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  974. package/mobile/dist/components/Tabs/Tabs.d.ts +1 -1
  975. package/mobile/dist/components/Tabs/renderGroupTab.js +4 -4
  976. package/mobile/dist/components/Tabs/renderGroupTab.js.map +1 -1
  977. package/mobile/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
  978. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  979. package/mobile/dist/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  980. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +14 -0
  981. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -6
  982. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  983. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  984. package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  985. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  986. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.d.ts +2 -3
  987. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +2 -2
  988. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  989. package/mobile/dist/components/TariffsTable/TariffsTableVertical.d.ts +2 -6
  990. package/mobile/dist/components/TariffsTable/TariffsTableVertical.js +1 -1
  991. package/mobile/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  992. package/mobile/dist/components/TextBlock/TextBlock.d.ts +1 -1
  993. package/mobile/dist/components/Tile/Tile.d.ts +1 -1
  994. package/mobile/dist/components/Tile/Tile.js +2 -2
  995. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  996. package/mobile/dist/hooks/useOfficeMap.d.ts +3 -0
  997. package/mobile/dist/hooks/useOfficeMap.js +19 -0
  998. package/mobile/dist/hooks/useOfficeMap.js.map +1 -0
  999. package/mobile/dist/icons/IconName.d.ts +4 -2
  1000. package/mobile/dist/icons/IconName.js +2 -0
  1001. package/mobile/dist/icons/IconName.js.map +1 -1
  1002. package/mobile/dist/index.d.ts +1 -0
  1003. package/mobile/dist/index.js +2 -1
  1004. package/mobile/dist/index.js.map +1 -1
  1005. package/mobile/dist/model/AlignText.d.ts +2 -0
  1006. package/mobile/dist/model/AlignText.js +8 -0
  1007. package/mobile/dist/model/AlignText.js.map +1 -0
  1008. package/mobile/dist/model/BlocksRegistry.d.ts +1 -7
  1009. package/mobile/dist/model/ContentPageDef.d.ts +0 -8
  1010. package/mobile/dist/model/HeadlineType.d.ts +2 -2
  1011. package/mobile/dist/model/JSXBlock.d.ts +17 -0
  1012. package/mobile/dist/{ui-kit/BlocksList/BlocksListProps.js → model/JSXBlock.js} +1 -1
  1013. package/mobile/dist/model/JSXBlock.js.map +1 -0
  1014. package/mobile/dist/model/getParentBlockContent.d.ts +2 -0
  1015. package/mobile/dist/model/getParentBlockContent.js +9 -0
  1016. package/mobile/dist/model/getParentBlockContent.js.map +1 -0
  1017. package/mobile/dist/model/getParentBlockDef.d.ts +3 -0
  1018. package/mobile/dist/model/getParentBlockDef.js +8 -0
  1019. package/mobile/dist/model/getParentBlockDef.js.map +1 -0
  1020. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +2 -2
  1021. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  1022. package/mobile/dist/ui-kit/BlockWrapper.d.ts +1 -1
  1023. package/mobile/dist/ui-kit/BlockWrapper.js +3 -1
  1024. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  1025. package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
  1026. package/mobile/dist/ui-kit/Img/getIconVersion.d.ts +2 -1
  1027. package/mobile/dist/ui-kit/Img/getIconVersion.js +1 -1
  1028. package/mobile/dist/ui-kit/Img/getIconVersion.js.map +1 -1
  1029. package/mobile/dist/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  1030. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  1031. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  1032. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  1033. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  1034. package/mobile/dist/ui-kit/List/ListItem.js +4 -4
  1035. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  1036. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -2
  1037. package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  1038. package/mobile/dist/ui-kit/Select/Select.js +1 -1
  1039. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  1040. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  1041. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +2 -1
  1042. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  1043. package/mobile/lib/components/Accordion/Accordion.d.ts +2 -2
  1044. package/mobile/lib/components/Accordion/Accordion.js +2 -5
  1045. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  1046. package/mobile/lib/components/Accordion/AccordionContent.d.ts +0 -26
  1047. package/mobile/lib/components/AccordionItem/AccordionItem.d.ts +3 -0
  1048. package/mobile/lib/components/AccordionItem/AccordionItem.js +14 -0
  1049. package/mobile/lib/components/AccordionItem/AccordionItem.js.map +1 -0
  1050. package/mobile/lib/components/AccordionItem/AccordionItemContent.d.ts +14 -0
  1051. package/mobile/lib/components/AccordionItem/AccordionItemContent.js +2 -0
  1052. package/mobile/lib/components/AccordionItem/AccordionItemContent.js.map +1 -0
  1053. package/mobile/lib/components/AccordionItem/AccordionItemProps.d.ts +4 -0
  1054. package/mobile/lib/components/{Accordion → AccordionItem}/AccordionItemProps.js +0 -0
  1055. package/mobile/lib/components/AccordionItem/AccordionItemProps.js.map +1 -0
  1056. package/mobile/lib/components/BaseTile/BaseTile.d.ts +1 -1
  1057. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  1058. package/mobile/lib/components/Blocks.d.ts +2 -1
  1059. package/mobile/lib/components/Blocks.js +2 -0
  1060. package/mobile/lib/components/Blocks.js.map +1 -1
  1061. package/mobile/lib/components/Bonus/Bonus.d.ts +1 -1
  1062. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  1063. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  1064. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  1065. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +10 -1
  1066. package/mobile/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  1067. package/mobile/lib/components/Calculator/Calculator.d.ts +1 -1
  1068. package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  1069. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +2 -1
  1070. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  1071. package/mobile/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  1072. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +2 -1
  1073. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  1074. package/mobile/lib/components/Calculator/renderButtonSection.d.ts +3 -1
  1075. package/mobile/lib/components/Calculator/renderButtonSection.js.map +1 -1
  1076. package/mobile/lib/components/Calculator/renderFootnote.d.ts +1 -1
  1077. package/mobile/lib/components/Calculator/renderFootnote.js.map +1 -1
  1078. package/mobile/lib/components/Calculator/renderInitialFeeInput.d.ts +1 -1
  1079. package/mobile/lib/components/Calculator/renderInitialFeeInput.js +1 -1
  1080. package/mobile/lib/components/Calculator/renderInitialFeeInput.js.map +1 -1
  1081. package/mobile/lib/components/Calculator/renderMonthsInput.d.ts +1 -1
  1082. package/mobile/lib/components/Calculator/renderMonthsInput.js.map +1 -1
  1083. package/mobile/lib/components/Calculator/renderPaymentTypeSelector.d.ts +10 -5
  1084. package/mobile/lib/components/Calculator/renderPaymentTypeSelector.js +2 -2
  1085. package/mobile/lib/components/Calculator/renderPaymentTypeSelector.js.map +1 -1
  1086. package/mobile/lib/components/Calculator/renderRealEstateValue.d.ts +1 -1
  1087. package/mobile/lib/components/Calculator/renderRealEstateValue.js +1 -1
  1088. package/mobile/lib/components/Calculator/renderRealEstateValue.js.map +1 -1
  1089. package/mobile/lib/components/Calculator/renderWantedSumInput.d.ts +1 -1
  1090. package/mobile/lib/components/Calculator/renderWantedSumInput.js.map +1 -1
  1091. package/mobile/lib/components/CardTransfer/CardTransfer.d.ts +1 -1
  1092. package/mobile/lib/components/CardTransfer/CardTransfer.js +3 -3
  1093. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  1094. package/mobile/lib/components/Catalog/Catalog.d.ts +1 -1
  1095. package/mobile/lib/components/Catalog/CatalogCard.d.ts +1 -1
  1096. package/mobile/lib/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  1097. package/mobile/lib/components/ComparisonTable/TableColumn.d.ts +1 -1
  1098. package/mobile/lib/components/ContactsBlock/ContactsBlock.d.ts +5 -0
  1099. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +17 -0
  1100. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -0
  1101. package/mobile/lib/components/ContactsBlock/ContactsBlockContent.d.ts +36 -0
  1102. package/mobile/lib/components/ContactsBlock/ContactsBlockContent.js +2 -0
  1103. package/mobile/lib/components/ContactsBlock/ContactsBlockContent.js.map +1 -0
  1104. package/mobile/lib/components/ContentPage/ContentPage.d.ts +2 -1
  1105. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  1106. package/mobile/lib/components/ContentPage/renderBlock.js +1 -1
  1107. package/mobile/lib/components/ContentPage/renderBlock.js.map +1 -1
  1108. package/mobile/lib/components/ContentPage/renderContentPageHead.d.ts +3 -0
  1109. package/mobile/lib/components/ContentPage/renderContentPageHead.js +27 -0
  1110. package/mobile/lib/components/ContentPage/renderContentPageHead.js.map +1 -0
  1111. package/mobile/lib/components/ErrorBlock/ErrorBlock.d.ts +1 -1
  1112. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  1113. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  1114. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  1115. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  1116. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -2
  1117. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  1118. package/mobile/lib/components/Footer/Contacts.d.ts +1 -1
  1119. package/mobile/lib/components/Footer/Footer.d.ts +1 -1
  1120. package/mobile/lib/components/Footer/Footer.js +1 -1
  1121. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  1122. package/mobile/lib/components/Footer/FooterLink.d.ts +1 -1
  1123. package/mobile/lib/components/Footer/HorizontalNavigation.d.ts +1 -1
  1124. package/mobile/lib/components/Footer/Sitemap.d.ts +2 -2
  1125. package/mobile/lib/components/Footer/Sitemap.js +3 -3
  1126. package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
  1127. package/mobile/lib/components/Footer/SocialMedia.d.ts +1 -1
  1128. package/mobile/lib/components/Gallery/Gallery.js +3 -2
  1129. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  1130. package/mobile/lib/components/Gallery/GalleryCardInner.js +6 -11
  1131. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  1132. package/mobile/lib/components/Gallery/GalleryContainer.js +2 -2
  1133. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  1134. package/mobile/lib/components/Gallery/GalleryContent.d.ts +3 -1
  1135. package/mobile/lib/components/Gallery/GalleryInner.d.ts +1 -1
  1136. package/mobile/lib/components/Gallery/GalleryInner.js +4 -3
  1137. package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
  1138. package/mobile/lib/components/Gallery/GalleryProps.d.ts +1 -1
  1139. package/mobile/lib/components/GracePeriod/GracePeriod.d.ts +1 -1
  1140. package/mobile/lib/components/GracePeriod/GracePeriod.js +4 -3
  1141. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  1142. package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +3 -3
  1143. package/mobile/lib/components/Header/DropdownMenu.d.ts +1 -1
  1144. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  1145. package/mobile/lib/components/Header/Header.d.ts +1 -1
  1146. package/mobile/lib/components/Header/Header.js +1 -1
  1147. package/mobile/lib/components/Header/Header.js.map +1 -1
  1148. package/mobile/lib/components/Headline/Headline.d.ts +1 -1
  1149. package/mobile/lib/components/Headline/Headline.js +3 -2
  1150. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  1151. package/mobile/lib/components/Headline/constants.d.ts +0 -2
  1152. package/mobile/lib/components/Headline/constants.js +1 -5
  1153. package/mobile/lib/components/Headline/constants.js.map +1 -1
  1154. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  1155. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  1156. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  1157. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.d.ts +1 -1
  1158. package/mobile/lib/components/LikeControl/LikeControl.d.ts +1 -1
  1159. package/mobile/lib/components/LinkDocs/LinkDocs.d.ts +1 -1
  1160. package/mobile/lib/components/LinkList/LinkList.d.ts +1 -1
  1161. package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
  1162. package/mobile/lib/components/MiniGallery/MiniGallery.d.ts +1 -1
  1163. package/mobile/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  1164. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +6 -0
  1165. package/mobile/lib/components/OfficeMap/OfficeMap.d.ts +2 -0
  1166. package/mobile/lib/components/OfficeMap/OfficeMap.js +43 -0
  1167. package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -0
  1168. package/mobile/lib/components/OfficeMap/OfficeMapContent.d.ts +34 -0
  1169. package/mobile/lib/components/OfficeMap/OfficeMapContent.js +2 -0
  1170. package/mobile/lib/components/OfficeMap/OfficeMapContent.js.map +1 -0
  1171. package/mobile/lib/components/OfficeMap/YandexMap.d.ts +5 -0
  1172. package/mobile/lib/components/OfficeMap/YandexMap.js +28 -0
  1173. package/mobile/lib/components/OfficeMap/YandexMap.js.map +1 -0
  1174. package/mobile/lib/components/OfficeMap/mockOfficeMap.d.ts +57 -0
  1175. package/mobile/lib/components/OfficeMap/mockOfficeMap.js +80 -0
  1176. package/mobile/lib/components/OfficeMap/mockOfficeMap.js.map +1 -0
  1177. package/mobile/lib/components/OfficeMap/renderFunctions.d.ts +5 -0
  1178. package/mobile/lib/components/OfficeMap/renderFunctions.js +14 -0
  1179. package/mobile/lib/components/OfficeMap/renderFunctions.js.map +1 -0
  1180. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
  1181. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  1182. package/mobile/lib/components/OtherProducts/OtherProducts.d.ts +1 -2
  1183. package/mobile/lib/components/OtherProducts/OtherProducts.js +1 -1
  1184. package/mobile/lib/components/OtherProducts/OtherProducts.js.map +1 -1
  1185. package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +4 -1
  1186. package/mobile/lib/components/OtherProductsItem/OtherProductsItem.d.ts +1 -2
  1187. package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js +5 -1
  1188. package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
  1189. package/mobile/lib/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -2
  1190. package/mobile/lib/components/PictureText/PictureText.d.ts +1 -1
  1191. package/mobile/lib/components/Placeholder/Placeholder.d.ts +1 -1
  1192. package/mobile/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
  1193. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -1
  1194. package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  1195. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  1196. package/mobile/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
  1197. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  1198. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -3
  1199. package/mobile/lib/components/ProductTile/ProductTile.d.ts +1 -1
  1200. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  1201. package/mobile/lib/components/PromoTile/PromoTile.d.ts +1 -1
  1202. package/mobile/lib/components/Recommendation/Recommendation.d.ts +1 -1
  1203. package/mobile/lib/components/Recommendation/Recommendation.js +2 -2
  1204. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  1205. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +1 -1
  1206. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  1207. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  1208. package/mobile/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
  1209. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  1210. package/mobile/lib/components/Tabs/Tabs.d.ts +1 -1
  1211. package/mobile/lib/components/Tabs/renderGroupTab.js +4 -4
  1212. package/mobile/lib/components/Tabs/renderGroupTab.js.map +1 -1
  1213. package/mobile/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
  1214. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  1215. package/mobile/lib/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  1216. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +14 -0
  1217. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -6
  1218. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  1219. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  1220. package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  1221. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
  1222. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.d.ts +2 -3
  1223. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +2 -2
  1224. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  1225. package/mobile/lib/components/TariffsTable/TariffsTableVertical.d.ts +2 -6
  1226. package/mobile/lib/components/TariffsTable/TariffsTableVertical.js +1 -1
  1227. package/mobile/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  1228. package/mobile/lib/components/TextBlock/TextBlock.d.ts +1 -1
  1229. package/mobile/lib/components/Tile/Tile.d.ts +1 -1
  1230. package/mobile/lib/components/Tile/Tile.js +2 -2
  1231. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  1232. package/mobile/lib/hooks/useOfficeMap.d.ts +3 -0
  1233. package/mobile/lib/hooks/useOfficeMap.js +16 -0
  1234. package/mobile/lib/hooks/useOfficeMap.js.map +1 -0
  1235. package/mobile/lib/icons/IconName.d.ts +4 -2
  1236. package/mobile/lib/icons/IconName.js +2 -0
  1237. package/mobile/lib/icons/IconName.js.map +1 -1
  1238. package/mobile/lib/index.d.ts +1 -0
  1239. package/mobile/lib/index.js +1 -0
  1240. package/mobile/lib/index.js.map +1 -1
  1241. package/mobile/lib/model/AlignText.d.ts +2 -0
  1242. package/mobile/lib/model/AlignText.js +6 -0
  1243. package/mobile/lib/model/AlignText.js.map +1 -0
  1244. package/mobile/lib/model/BlocksRegistry.d.ts +1 -7
  1245. package/mobile/lib/model/ContentPageDef.d.ts +0 -8
  1246. package/mobile/lib/model/HeadlineType.d.ts +2 -2
  1247. package/mobile/lib/model/JSXBlock.d.ts +17 -0
  1248. package/mobile/lib/model/JSXBlock.js +2 -0
  1249. package/mobile/lib/model/JSXBlock.js.map +1 -0
  1250. package/mobile/lib/model/getParentBlockContent.d.ts +2 -0
  1251. package/mobile/lib/model/getParentBlockContent.js +6 -0
  1252. package/mobile/lib/model/getParentBlockContent.js.map +1 -0
  1253. package/mobile/lib/model/getParentBlockDef.d.ts +3 -0
  1254. package/mobile/lib/model/getParentBlockDef.js +5 -0
  1255. package/mobile/lib/model/getParentBlockDef.js.map +1 -0
  1256. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +2 -2
  1257. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  1258. package/mobile/lib/ui-kit/BlockWrapper.d.ts +1 -1
  1259. package/mobile/lib/ui-kit/BlockWrapper.js +3 -1
  1260. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  1261. package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
  1262. package/mobile/lib/ui-kit/Img/getIconVersion.d.ts +2 -1
  1263. package/mobile/lib/ui-kit/Img/getIconVersion.js +1 -1
  1264. package/mobile/lib/ui-kit/Img/getIconVersion.js.map +1 -1
  1265. package/mobile/lib/ui-kit/InnerTable/InnerTable.d.ts +1 -1
  1266. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
  1267. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
  1268. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
  1269. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  1270. package/mobile/lib/ui-kit/List/ListItem.js +4 -4
  1271. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  1272. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -2
  1273. package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  1274. package/mobile/lib/ui-kit/Select/Select.js +2 -2
  1275. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  1276. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  1277. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +2 -1
  1278. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
  1279. package/mobile/src/components/Accordion/Accordion.example.json +1 -63
  1280. package/mobile/src/components/Accordion/Accordion.tsx +15 -31
  1281. package/mobile/src/components/Accordion/Accordion.ui.json +1 -79
  1282. package/mobile/src/components/Accordion/AccordionContent.ts +2 -28
  1283. package/mobile/src/components/AccordionItem/AccordionItem.example.json +7 -0
  1284. package/mobile/src/components/AccordionItem/AccordionItem.tsx +73 -0
  1285. package/mobile/src/components/AccordionItem/AccordionItem.ui.json +7 -0
  1286. package/mobile/src/components/AccordionItem/AccordionItemContent.ts +15 -0
  1287. package/mobile/src/components/AccordionItem/AccordionItemProps.ts +4 -0
  1288. package/mobile/src/components/BaseTile/BaseTile.tsx +1 -1
  1289. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  1290. package/mobile/src/components/Blocks.ts +2 -0
  1291. package/mobile/src/components/Bonus/Bonus.tsx +1 -1
  1292. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +11 -5
  1293. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.ui.json +5 -0
  1294. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +10 -1
  1295. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
  1296. package/mobile/src/components/Calculator/Calculator.tsx +1 -1
  1297. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +3 -2
  1298. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +3 -2
  1299. package/mobile/src/components/Calculator/renderButtonSection.tsx +3 -1
  1300. package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +1 -1
  1301. package/mobile/src/components/Calculator/renderFootnote.tsx +1 -1
  1302. package/mobile/src/components/Calculator/renderInitialFeeInput.tsx +5 -1
  1303. package/mobile/src/components/Calculator/renderMonthsInput.tsx +6 -2
  1304. package/mobile/src/components/Calculator/renderPaymentTypeSelector.tsx +11 -9
  1305. package/mobile/src/components/Calculator/renderRealEstateValue.tsx +5 -1
  1306. package/mobile/src/components/Calculator/renderWantedSumInput.tsx +5 -1
  1307. package/mobile/src/components/CardTransfer/CardTransfer.tsx +5 -5
  1308. package/mobile/src/components/Catalog/Catalog.tsx +2 -2
  1309. package/mobile/src/components/Catalog/Catalog.ui.json +11 -1
  1310. package/mobile/src/components/Catalog/CatalogCard.tsx +1 -1
  1311. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
  1312. package/mobile/src/components/ComparisonTable/TableColumn.tsx +1 -1
  1313. package/mobile/src/components/ContactsBlock/ContactsBlock.example.json +51 -0
  1314. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +70 -0
  1315. package/mobile/src/components/ContactsBlock/ContactsBlock.ui.json +8 -0
  1316. package/mobile/src/components/ContactsBlock/ContactsBlockContent.ts +39 -0
  1317. package/mobile/src/components/ContentPage/ContentPage.tsx +2 -1
  1318. package/mobile/src/components/ContentPage/renderBlock.tsx +1 -0
  1319. package/mobile/src/components/ContentPage/renderContentPageHead.tsx +34 -0
  1320. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +1 -1
  1321. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +3 -3
  1322. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +2 -3
  1323. package/mobile/src/components/Footer/Contacts.tsx +1 -1
  1324. package/mobile/src/components/Footer/Footer.tsx +2 -2
  1325. package/mobile/src/components/Footer/FooterLink.ts +1 -1
  1326. package/mobile/src/components/Footer/HorizontalNavigation.tsx +1 -1
  1327. package/mobile/src/components/Footer/Sitemap.tsx +13 -5
  1328. package/mobile/src/components/Footer/SocialMedia.tsx +1 -1
  1329. package/mobile/src/components/Gallery/Gallery.example.json +2 -2
  1330. package/mobile/src/components/Gallery/Gallery.tsx +23 -15
  1331. package/mobile/src/components/Gallery/Gallery.ui.json +11 -1
  1332. package/mobile/src/components/Gallery/GalleryCardInner.tsx +17 -26
  1333. package/mobile/src/components/Gallery/GalleryContainer.tsx +1 -2
  1334. package/mobile/src/components/Gallery/GalleryContent.ts +3 -1
  1335. package/mobile/src/components/Gallery/GalleryInner.tsx +12 -5
  1336. package/mobile/src/components/Gallery/GalleryProps.ts +1 -1
  1337. package/mobile/src/components/GracePeriod/GracePeriod.example.json +7 -7
  1338. package/mobile/src/components/GracePeriod/GracePeriod.tsx +13 -9
  1339. package/mobile/src/components/GracePeriod/GracePeriodContent.ts +3 -3
  1340. package/mobile/src/components/Header/DropdownMenu.tsx +2 -2
  1341. package/mobile/src/components/Header/Header.tsx +2 -2
  1342. package/mobile/src/components/Headline/Headline.tsx +5 -4
  1343. package/mobile/src/components/Headline/constants.ts +1 -7
  1344. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +9 -2
  1345. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +6 -0
  1346. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +1 -1
  1347. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
  1348. package/mobile/src/components/LikeControl/LikeControl.tsx +1 -1
  1349. package/mobile/src/components/LinkDocs/LinkDocs.tsx +1 -1
  1350. package/mobile/src/components/LinkList/LinkList.tsx +3 -2
  1351. package/mobile/src/components/MiniGallery/MiniGallery.tsx +1 -1
  1352. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  1353. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +6 -0
  1354. package/mobile/src/components/OfficeMap/OfficeMap.tsx +80 -0
  1355. package/mobile/src/components/OfficeMap/OfficeMapContent.ts +38 -0
  1356. package/mobile/src/components/OfficeMap/YandexMap.tsx +41 -0
  1357. package/mobile/src/components/OfficeMap/mockOfficeMap.ts +79 -0
  1358. package/mobile/src/components/OfficeMap/renderFunctions.tsx +69 -0
  1359. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +2 -2
  1360. package/mobile/src/components/OtherProducts/OtherProducts.tsx +4 -5
  1361. package/mobile/src/components/OtherProducts/OtherProductsContent.ts +4 -1
  1362. package/mobile/src/components/OtherProductsItem/OtherProductsItem.example.json +2 -1
  1363. package/mobile/src/components/OtherProductsItem/OtherProductsItem.tsx +34 -26
  1364. package/mobile/src/components/OtherProductsItem/OtherProductsItemContent.ts +0 -4
  1365. package/mobile/src/components/PictureText/PictureText.tsx +1 -1
  1366. package/mobile/src/components/PictureText/PictureText.ui.json +10 -1
  1367. package/mobile/src/components/Placeholder/Placeholder.tsx +1 -1
  1368. package/mobile/src/components/ProductBlock/ProductBlock.tsx +1 -1
  1369. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +1 -1
  1370. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +3 -2
  1371. package/mobile/src/components/ProductGallery/ProductGallery.tsx +1 -1
  1372. package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +1 -1
  1373. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
  1374. package/mobile/src/components/ProductTile/ProductTile.tsx +2 -2
  1375. package/mobile/src/components/PromoTile/PromoTile.tsx +1 -1
  1376. package/mobile/src/components/Recommendation/Recommendation.tsx +6 -6
  1377. package/mobile/src/components/Recommendation/RecommendationCard.tsx +1 -1
  1378. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  1379. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
  1380. package/mobile/src/components/StepsBlock/StepsBlock.tsx +2 -2
  1381. package/mobile/src/components/Tabs/Tabs.tsx +1 -1
  1382. package/mobile/src/components/Tabs/renderGroupTab.tsx +5 -4
  1383. package/mobile/src/components/TariffsTable/TariffsTable.tsx +9 -2
  1384. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  1385. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +16 -0
  1386. package/mobile/src/components/TariffsTable/TariffsTableHorizontal.tsx +4 -7
  1387. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
  1388. package/mobile/src/components/TariffsTable/TariffsTableRowContainer.tsx +1 -1
  1389. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +5 -6
  1390. package/mobile/src/components/TariffsTable/TariffsTableVertical.tsx +4 -7
  1391. package/mobile/src/components/TextBlock/TextBlock.tsx +1 -1
  1392. package/mobile/src/components/Tile/Tile.tsx +4 -4
  1393. package/mobile/src/hooks/useOfficeMap.ts +23 -0
  1394. package/mobile/src/icons/IconName.ts +4 -4
  1395. package/mobile/src/icons/MetroIcon.svg +10 -0
  1396. package/mobile/src/index.ts +1 -0
  1397. package/mobile/src/model/AlignText.ts +7 -0
  1398. package/mobile/src/model/BlocksRegistry.ts +1 -12
  1399. package/mobile/src/model/ContentPageDef.ts +0 -9
  1400. package/mobile/src/model/HeadlineType.ts +2 -2
  1401. package/mobile/src/model/JSXBlock.ts +23 -0
  1402. package/mobile/src/model/getParentBlockContent.ts +11 -0
  1403. package/mobile/src/model/getParentBlockDef.ts +8 -0
  1404. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -3
  1405. package/mobile/src/ui-kit/BlockWrapper.tsx +6 -2
  1406. package/mobile/src/ui-kit/Button/ButtonSection.tsx +1 -1
  1407. package/mobile/src/ui-kit/Img/getIconVersion.tsx +4 -2
  1408. package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
  1409. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  1410. package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -1
  1411. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1412. package/mobile/src/ui-kit/InputRange/InputRange.tsx +2 -2
  1413. package/mobile/src/ui-kit/List/ListItem.tsx +10 -7
  1414. package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +2 -2
  1415. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +1 -1
  1416. package/mobile/src/ui-kit/Select/Select.tsx +11 -6
  1417. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -2
  1418. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +1 -1
  1419. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +1 -1
  1420. package/package.json +3 -2
  1421. package/src/components/Accordion/Accordion.example.json +1 -63
  1422. package/src/components/Accordion/Accordion.fixture.mobile.tsx +45 -41
  1423. package/src/components/Accordion/Accordion.fixture.tsx +75 -110
  1424. package/src/components/Accordion/Accordion.mobile.tsx +15 -31
  1425. package/src/components/Accordion/Accordion.tsx +27 -48
  1426. package/src/components/Accordion/Accordion.ui.json +1 -79
  1427. package/src/components/Accordion/AccordionContent.ts +2 -28
  1428. package/src/components/AccordionItem/AccordionItem.example.json +7 -0
  1429. package/src/components/AccordionItem/AccordionItem.fixture.mobile.tsx +6 -0
  1430. package/src/components/AccordionItem/AccordionItem.fixture.tsx +6 -0
  1431. package/src/components/AccordionItem/AccordionItem.mobile.tsx +73 -0
  1432. package/src/components/AccordionItem/AccordionItem.tsx +48 -0
  1433. package/src/components/AccordionItem/AccordionItem.ui.json +7 -0
  1434. package/src/components/AccordionItem/AccordionItemContent.ts +15 -0
  1435. package/src/components/AccordionItem/AccordionItemProps.ts +4 -0
  1436. package/src/components/BaseTile/BaseTile.tsx +1 -1
  1437. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  1438. package/src/components/Blocks.mobile.ts +2 -0
  1439. package/src/components/Blocks.ts +7 -1
  1440. package/src/components/Bonus/Bonus.tsx +1 -1
  1441. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.tsx +49 -34
  1442. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +11 -5
  1443. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.ui.json +5 -0
  1444. package/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +10 -1
  1445. package/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
  1446. package/src/components/Calculator/Calculator.tsx +1 -1
  1447. package/src/components/Calculator/CreditCalculatorForm.tsx +3 -2
  1448. package/src/components/Calculator/DepositCalculatorForm.tsx +3 -2
  1449. package/src/components/Calculator/renderButtonSection.tsx +3 -1
  1450. package/src/components/Calculator/renderCalculatorBlock.tsx +1 -1
  1451. package/src/components/Calculator/renderFootnote.tsx +1 -1
  1452. package/src/components/Calculator/renderInitialFeeInput.tsx +5 -1
  1453. package/src/components/Calculator/renderMonthsInput.tsx +6 -2
  1454. package/src/components/Calculator/renderPaymentTypeSelector.tsx +11 -9
  1455. package/src/components/Calculator/renderRealEstateValue.tsx +5 -1
  1456. package/src/components/Calculator/renderWantedSumInput.tsx +5 -1
  1457. package/src/components/CardTransfer/CardTransfer.tsx +5 -5
  1458. package/src/components/Catalog/Catalog.tsx +2 -2
  1459. package/src/components/Catalog/Catalog.ui.json +11 -1
  1460. package/src/components/Catalog/CatalogCard.tsx +1 -1
  1461. package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +1 -1
  1462. package/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
  1463. package/src/components/ComparisonTable/TableColumn.tsx +1 -1
  1464. package/src/components/ContactsBlock/ContactsBlock.example.json +51 -0
  1465. package/src/components/ContactsBlock/ContactsBlock.fixture.tsx +57 -0
  1466. package/src/components/ContactsBlock/ContactsBlock.tsx +70 -0
  1467. package/src/components/ContactsBlock/ContactsBlock.ui.json +8 -0
  1468. package/src/components/ContactsBlock/ContactsBlockContent.ts +39 -0
  1469. package/src/components/ContentPage/ContentPage.tsx +2 -1
  1470. package/src/components/ContentPage/renderBlock.tsx +1 -0
  1471. package/src/components/ContentPage/renderContentPageHead.tsx +34 -0
  1472. package/src/components/ErrorBlock/ErrorBlock.tsx +1 -1
  1473. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +3 -3
  1474. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +2 -3
  1475. package/src/components/Footer/Contacts.tsx +1 -1
  1476. package/src/components/Footer/Footer.mobile.tsx +2 -2
  1477. package/src/components/Footer/Footer.tsx +1 -1
  1478. package/src/components/Footer/FooterLink.ts +1 -1
  1479. package/src/components/Footer/HorizontalNavigation.mobile.tsx +1 -1
  1480. package/src/components/Footer/HorizontalNavigation.tsx +1 -1
  1481. package/src/components/Footer/Sitemap.tsx +13 -5
  1482. package/src/components/Footer/SocialMedia.mobile.tsx +1 -1
  1483. package/src/components/Footer/SocialMedia.tsx +1 -1
  1484. package/src/components/Gallery/Gallery.example.json +2 -2
  1485. package/src/components/Gallery/Gallery.fixture.mobile.tsx +3 -3
  1486. package/src/components/Gallery/Gallery.fixture.tsx +20 -24
  1487. package/src/components/Gallery/Gallery.mobile.tsx +23 -15
  1488. package/src/components/Gallery/Gallery.ui.json +11 -1
  1489. package/src/components/Gallery/GalleryCardInner.tsx +17 -26
  1490. package/src/components/Gallery/GalleryContainer.tsx +1 -2
  1491. package/src/components/Gallery/GalleryContent.ts +3 -1
  1492. package/src/components/Gallery/GalleryInner.tsx +12 -5
  1493. package/src/components/Gallery/GalleryProps.ts +1 -1
  1494. package/src/components/GracePeriod/GracePeriod.example.json +7 -7
  1495. package/src/components/GracePeriod/GracePeriod.fixture.tsx +5 -5
  1496. package/src/components/GracePeriod/GracePeriod.tsx +13 -9
  1497. package/src/components/GracePeriod/GracePeriodContent.ts +3 -3
  1498. package/src/components/Header/DropdownMenu.tsx +2 -2
  1499. package/src/components/Header/Header.mobile.tsx +2 -2
  1500. package/src/components/Header/Header.tsx +2 -2
  1501. package/src/components/Headline/Headline.mobile.tsx +5 -4
  1502. package/src/components/Headline/Headline.tsx +5 -4
  1503. package/src/components/Headline/constants.ts +1 -7
  1504. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +9 -2
  1505. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +6 -0
  1506. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +1 -1
  1507. package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
  1508. package/src/components/LikeControl/LikeControl.tsx +1 -1
  1509. package/src/components/LinkDocs/LinkDocs.mobile.tsx +1 -1
  1510. package/src/components/LinkDocs/LinkDocs.tsx +1 -1
  1511. package/src/components/LinkList/LinkList.tsx +3 -2
  1512. package/src/components/MiniGallery/MiniGallery.fixture.tsx +72 -44
  1513. package/src/components/MiniGallery/MiniGallery.tsx +1 -1
  1514. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +1 -0
  1515. package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +1 -1
  1516. package/src/components/MobileAppTile/MobileAppTile.tsx +9 -2
  1517. package/src/components/MobileAppTile/MobileAppTileContent.ts +6 -0
  1518. package/src/components/OfficeMap/OfficeMap.fixture.tsx +10 -0
  1519. package/src/components/OfficeMap/OfficeMap.tsx +80 -0
  1520. package/src/components/OfficeMap/OfficeMapContent.ts +38 -0
  1521. package/src/components/OfficeMap/YandexMap.tsx +41 -0
  1522. package/src/components/OfficeMap/mockOfficeMap.ts +79 -0
  1523. package/src/components/OfficeMap/renderFunctions.tsx +69 -0
  1524. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +2 -2
  1525. package/src/components/OtherProducts/OtherProducts.tsx +4 -5
  1526. package/src/components/OtherProducts/OtherProductsContent.ts +4 -1
  1527. package/src/components/OtherProductsItem/OtherProductsItem.example.json +2 -1
  1528. package/src/components/OtherProductsItem/OtherProductsItem.tsx +34 -26
  1529. package/src/components/OtherProductsItem/OtherProductsItemContent.ts +0 -4
  1530. package/src/components/PictureText/PictureText.tsx +1 -1
  1531. package/src/components/PictureText/PictureText.ui.json +10 -1
  1532. package/src/components/Placeholder/Placeholder.tsx +1 -1
  1533. package/src/components/ProductBlock/ProductBlock.mobile.tsx +1 -1
  1534. package/src/components/ProductBlock/ProductBlock.tsx +1 -1
  1535. package/src/components/ProductBlock/ProductBlockContent.ts +1 -1
  1536. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +3 -2
  1537. package/src/components/ProductBlock/ProductBlockInner.tsx +12 -4
  1538. package/src/components/ProductGallery/ProductGallery.mobile.tsx +1 -1
  1539. package/src/components/ProductGallery/ProductGallery.tsx +18 -5
  1540. package/src/components/ProductGallery/ProductGalleryBlock.tsx +1 -1
  1541. package/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
  1542. package/src/components/ProductTile/ProductTile.tsx +2 -2
  1543. package/src/components/PromoTile/PromoTile.tsx +1 -1
  1544. package/src/components/Recommendation/Recommendation.tsx +6 -6
  1545. package/src/components/Recommendation/RecommendationCard.tsx +1 -1
  1546. package/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  1547. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
  1548. package/src/components/StepsBlock/StepsBlock.mobile.tsx +2 -2
  1549. package/src/components/StepsBlock/StepsBlock.tsx +3 -3
  1550. package/src/components/Tabs/Tabs.tsx +1 -1
  1551. package/src/components/Tabs/renderGroupTab.tsx +5 -4
  1552. package/src/components/TariffsTable/TariffsTable.mobile.tsx +9 -2
  1553. package/src/components/TariffsTable/TariffsTable.tsx +1 -1
  1554. package/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  1555. package/src/components/TariffsTable/TariffsTableContent.ts +16 -0
  1556. package/src/components/TariffsTable/TariffsTableHorizontal.tsx +4 -7
  1557. package/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
  1558. package/src/components/TariffsTable/TariffsTableRowContainer.tsx +1 -1
  1559. package/src/components/TariffsTable/TariffsTableTileCell.tsx +5 -6
  1560. package/src/components/TariffsTable/TariffsTableVertical.tsx +4 -7
  1561. package/src/components/TextBlock/TextBlock.mobile.tsx +1 -1
  1562. package/src/components/TextBlock/TextBlock.tsx +1 -1
  1563. package/src/components/Tile/Tile.tsx +4 -4
  1564. package/src/hooks/useOfficeMap.ts +23 -0
  1565. package/src/icons/IconName.ts +4 -1
  1566. package/src/icons/MetroIcon.svg +10 -0
  1567. package/src/index.ts +1 -0
  1568. package/src/model/AlignText.ts +7 -0
  1569. package/src/model/BlocksRegistry.ts +1 -12
  1570. package/src/model/ContentPageDef.ts +0 -9
  1571. package/src/model/HeadlineType.ts +2 -2
  1572. package/src/model/JSXBlock.ts +23 -0
  1573. package/src/model/getParentBlockContent.ts +11 -0
  1574. package/src/model/getParentBlockDef.ts +8 -0
  1575. package/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -3
  1576. package/src/ui-kit/BlockWrapper.tsx +6 -2
  1577. package/src/ui-kit/Button/ButtonSection.tsx +1 -1
  1578. package/src/ui-kit/Img/getIconVersion.tsx +4 -2
  1579. package/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
  1580. package/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  1581. package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -1
  1582. package/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1583. package/src/ui-kit/InputRange/InputRange.tsx +2 -2
  1584. package/src/ui-kit/List/ListItem.tsx +10 -7
  1585. package/src/ui-kit/Logo/Logo.tsx +2 -1
  1586. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +2 -2
  1587. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +1 -1
  1588. package/src/ui-kit/SearchBar/SearchBar.tsx +1 -1
  1589. package/src/ui-kit/Select/Select.tsx +11 -6
  1590. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -2
  1591. package/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +1 -1
  1592. package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +1 -1
  1593. package/tailwind.config.cjs +3 -0
  1594. package/bundle/components/Accordion/AccordionItem.d.ts +0 -2
  1595. package/bundle/components/Accordion/AccordionItem.mobile.d.ts +0 -2
  1596. package/bundle/components/Accordion/AccordionItemProps.d.ts +0 -5
  1597. package/bundle/components/BonusBenefitsBlock/getElementsColsValue.d.ts +0 -1
  1598. package/bundle/components/ContentPage/ContentPageHead.d.ts +0 -7
  1599. package/bundle/ui-kit/BlocksList/BlocksListProps.d.ts +0 -96
  1600. package/bundle/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -12
  1601. package/bundle/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +0 -8
  1602. package/bundle/ui-kit/BlocksList/renderBlocksList.d.ts +0 -9
  1603. package/dist/components/Accordion/AccordionItem.d.ts +0 -2
  1604. package/dist/components/Accordion/AccordionItem.js +0 -11
  1605. package/dist/components/Accordion/AccordionItem.js.map +0 -1
  1606. package/dist/components/Accordion/AccordionItem.mobile.d.ts +0 -2
  1607. package/dist/components/Accordion/AccordionItem.mobile.js +0 -16
  1608. package/dist/components/Accordion/AccordionItem.mobile.js.map +0 -1
  1609. package/dist/components/Accordion/AccordionItemProps.d.ts +0 -5
  1610. package/dist/components/Accordion/AccordionItemProps.js.map +0 -1
  1611. package/dist/components/BonusBenefitsBlock/getElementsColsValue.d.ts +0 -1
  1612. package/dist/components/BonusBenefitsBlock/getElementsColsValue.js +0 -17
  1613. package/dist/components/BonusBenefitsBlock/getElementsColsValue.js.map +0 -1
  1614. package/dist/components/ContentPage/ContentPageHead.d.ts +0 -7
  1615. package/dist/components/ContentPage/ContentPageHead.js +0 -20
  1616. package/dist/components/ContentPage/ContentPageHead.js.map +0 -1
  1617. package/dist/ui-kit/BlocksList/BlocksListProps.d.ts +0 -96
  1618. package/dist/ui-kit/BlocksList/BlocksListProps.js.map +0 -1
  1619. package/dist/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -12
  1620. package/dist/ui-kit/BlocksList/EmbeddableBlocks.js +0 -25
  1621. package/dist/ui-kit/BlocksList/EmbeddableBlocks.js.map +0 -1
  1622. package/dist/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +0 -8
  1623. package/dist/ui-kit/BlocksList/EmbeddableBlocks.mobile.js +0 -17
  1624. package/dist/ui-kit/BlocksList/EmbeddableBlocks.mobile.js.map +0 -1
  1625. package/dist/ui-kit/BlocksList/renderBlocksList.d.ts +0 -9
  1626. package/dist/ui-kit/BlocksList/renderBlocksList.js +0 -20
  1627. package/dist/ui-kit/BlocksList/renderBlocksList.js.map +0 -1
  1628. package/lib/components/Accordion/AccordionItem.d.ts +0 -2
  1629. package/lib/components/Accordion/AccordionItem.js +0 -9
  1630. package/lib/components/Accordion/AccordionItem.js.map +0 -1
  1631. package/lib/components/Accordion/AccordionItem.mobile.d.ts +0 -2
  1632. package/lib/components/Accordion/AccordionItem.mobile.js +0 -14
  1633. package/lib/components/Accordion/AccordionItem.mobile.js.map +0 -1
  1634. package/lib/components/Accordion/AccordionItemProps.d.ts +0 -5
  1635. package/lib/components/Accordion/AccordionItemProps.js.map +0 -1
  1636. package/lib/components/BonusBenefitsBlock/getElementsColsValue.d.ts +0 -1
  1637. package/lib/components/BonusBenefitsBlock/getElementsColsValue.js +0 -14
  1638. package/lib/components/BonusBenefitsBlock/getElementsColsValue.js.map +0 -1
  1639. package/lib/components/ContentPage/ContentPageHead.d.ts +0 -7
  1640. package/lib/components/ContentPage/ContentPageHead.js +0 -18
  1641. package/lib/components/ContentPage/ContentPageHead.js.map +0 -1
  1642. package/lib/ui-kit/BlocksList/BlocksListProps.d.ts +0 -96
  1643. package/lib/ui-kit/BlocksList/BlocksListProps.js +0 -2
  1644. package/lib/ui-kit/BlocksList/BlocksListProps.js.map +0 -1
  1645. package/lib/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -12
  1646. package/lib/ui-kit/BlocksList/EmbeddableBlocks.js +0 -23
  1647. package/lib/ui-kit/BlocksList/EmbeddableBlocks.js.map +0 -1
  1648. package/lib/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +0 -8
  1649. package/lib/ui-kit/BlocksList/EmbeddableBlocks.mobile.js +0 -15
  1650. package/lib/ui-kit/BlocksList/EmbeddableBlocks.mobile.js.map +0 -1
  1651. package/lib/ui-kit/BlocksList/renderBlocksList.d.ts +0 -8
  1652. package/lib/ui-kit/BlocksList/renderBlocksList.js +0 -17
  1653. package/lib/ui-kit/BlocksList/renderBlocksList.js.map +0 -1
  1654. package/mobile/bundle/components/Accordion/AccordionItem.d.ts +0 -2
  1655. package/mobile/bundle/components/Accordion/AccordionItemProps.d.ts +0 -5
  1656. package/mobile/bundle/components/BonusBenefitsBlock/getElementsColsValue.d.ts +0 -1
  1657. package/mobile/bundle/components/ContentPage/ContentPageHead.d.ts +0 -7
  1658. package/mobile/bundle/ui-kit/BlocksList/BlocksListProps.d.ts +0 -96
  1659. package/mobile/bundle/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -8
  1660. package/mobile/bundle/ui-kit/BlocksList/renderBlocksList.d.ts +0 -9
  1661. package/mobile/dist/components/Accordion/AccordionItem.d.ts +0 -2
  1662. package/mobile/dist/components/Accordion/AccordionItem.js +0 -16
  1663. package/mobile/dist/components/Accordion/AccordionItem.js.map +0 -1
  1664. package/mobile/dist/components/Accordion/AccordionItemProps.d.ts +0 -5
  1665. package/mobile/dist/components/Accordion/AccordionItemProps.js.map +0 -1
  1666. package/mobile/dist/components/BonusBenefitsBlock/getElementsColsValue.d.ts +0 -1
  1667. package/mobile/dist/components/BonusBenefitsBlock/getElementsColsValue.js +0 -17
  1668. package/mobile/dist/components/BonusBenefitsBlock/getElementsColsValue.js.map +0 -1
  1669. package/mobile/dist/components/ContentPage/ContentPageHead.d.ts +0 -7
  1670. package/mobile/dist/components/ContentPage/ContentPageHead.js +0 -20
  1671. package/mobile/dist/components/ContentPage/ContentPageHead.js.map +0 -1
  1672. package/mobile/dist/ui-kit/BlocksList/BlocksListProps.d.ts +0 -96
  1673. package/mobile/dist/ui-kit/BlocksList/BlocksListProps.js.map +0 -1
  1674. package/mobile/dist/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -8
  1675. package/mobile/dist/ui-kit/BlocksList/EmbeddableBlocks.js +0 -17
  1676. package/mobile/dist/ui-kit/BlocksList/EmbeddableBlocks.js.map +0 -1
  1677. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.d.ts +0 -9
  1678. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js +0 -20
  1679. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js.map +0 -1
  1680. package/mobile/lib/components/Accordion/AccordionItem.d.ts +0 -2
  1681. package/mobile/lib/components/Accordion/AccordionItem.js +0 -14
  1682. package/mobile/lib/components/Accordion/AccordionItem.js.map +0 -1
  1683. package/mobile/lib/components/Accordion/AccordionItemProps.d.ts +0 -5
  1684. package/mobile/lib/components/Accordion/AccordionItemProps.js.map +0 -1
  1685. package/mobile/lib/components/BonusBenefitsBlock/getElementsColsValue.d.ts +0 -1
  1686. package/mobile/lib/components/BonusBenefitsBlock/getElementsColsValue.js +0 -14
  1687. package/mobile/lib/components/BonusBenefitsBlock/getElementsColsValue.js.map +0 -1
  1688. package/mobile/lib/components/ContentPage/ContentPageHead.d.ts +0 -7
  1689. package/mobile/lib/components/ContentPage/ContentPageHead.js +0 -18
  1690. package/mobile/lib/components/ContentPage/ContentPageHead.js.map +0 -1
  1691. package/mobile/lib/ui-kit/BlocksList/BlocksListProps.d.ts +0 -96
  1692. package/mobile/lib/ui-kit/BlocksList/BlocksListProps.js +0 -2
  1693. package/mobile/lib/ui-kit/BlocksList/BlocksListProps.js.map +0 -1
  1694. package/mobile/lib/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -8
  1695. package/mobile/lib/ui-kit/BlocksList/EmbeddableBlocks.js +0 -15
  1696. package/mobile/lib/ui-kit/BlocksList/EmbeddableBlocks.js.map +0 -1
  1697. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.d.ts +0 -9
  1698. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js +0 -17
  1699. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js.map +0 -1
  1700. package/mobile/src/components/Accordion/AccordionItem.tsx +0 -72
  1701. package/mobile/src/components/Accordion/AccordionItemProps.ts +0 -6
  1702. package/mobile/src/components/BonusBenefitsBlock/getElementsColsValue.ts +0 -12
  1703. package/mobile/src/components/ContentPage/ContentPageHead.tsx +0 -43
  1704. package/mobile/src/ui-kit/BlocksList/BlocksListProps.ts +0 -130
  1705. package/mobile/src/ui-kit/BlocksList/EmbeddableBlocks.tsx +0 -15
  1706. package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +0 -41
  1707. package/src/components/Accordion/AccordionItem.mobile.tsx +0 -72
  1708. package/src/components/Accordion/AccordionItem.tsx +0 -52
  1709. package/src/components/Accordion/AccordionItemProps.ts +0 -6
  1710. package/src/components/BonusBenefitsBlock/getElementsColsValue.ts +0 -12
  1711. package/src/components/ContentPage/ContentPageHead.tsx +0 -43
  1712. package/src/ui-kit/BlocksList/BlocksListProps.ts +0 -130
  1713. package/src/ui-kit/BlocksList/EmbeddableBlocks.mobile.tsx +0 -15
  1714. package/src/ui-kit/BlocksList/EmbeddableBlocks.tsx +0 -23
  1715. package/src/ui-kit/BlocksList/renderBlocksList.tsx +0 -41
@@ -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).UniBlocks={})}(this,(function(e){"use strict";let t;const n=e=>(...n)=>t[e](...n),l=n("useState"),r=n("useEffect"),a=n("useCallback"),i=n("useMemo"),s=n("useRef");function o(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}}}}const c=new class{_={PROD_BRANCH:"master",FORCED_DRAFT_FLOW:!1};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}get FORCED_DRAFT_FLOW(){return this._.FORCED_DRAFT_FLOW}get ASSIST_PROJECT_ID(){return this._.ASSIST_PROJECT_ID}get SITEMAP(){return this._.SITEMAP}get CDN(){return this._.CDN}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},d="likesToken";function m(){async function e(){try{const e=JSON.parse(globalThis.localStorage.getItem(d)||"");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(d,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/${c.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n},body:JSON.stringify({node_ids:t})}),{likes:l}=await e.json();return l||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:n,name:l}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:l},body:JSON.stringify({node_id:t,user_name:l})}),{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:l}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:l},body:JSON.stringify({node_id:t,user_name:l})}),{likes:r}=await e.json();return r||0}catch(e){return console.error(e),0}}}}const h=(...e)=>globalThis._uni._jsx(...e),u=(...e)=>globalThis._uni._jsxs(...e),x=e=>{const t=e;return t._tmpl||(t._tmpl=globalThis.__UNI_REACT__?e:p(e)),t._tmpl},p=e=>{function t(t,n){const{children:l,...r}=t||{},a=n?.slots?.default,i=l||a&&a();return e(Object.assign(r,i&&{children:i}),n)}return t.inheritAttrs=!1,t};function b(e){return e?e.filter(Boolean).join(" "):""}class g{static inst=new g;subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]||=[],this.subscribers[e]?.push(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){this.subjectsStateMap[e]=t,this.subscribers[e]?.forEach((e=>e(t)))}subject(e,t){this.subjectsStateMap[e]=t}}const f=x((e=>{const{tag:t="section",observerCallback:n,observerOptions:l,className:r="",anchor:i=null,children:o}=e,c=s(null),d=a((e=>{e&&(c.current&&c.current.disconnect(),c.current=new IntersectionObserver(n,l),c.current.observe(e))}),[n,l]);return h(t,{ref:d,className:r,id:i,children:o})})),N=100,v=x((({anchor:e,className:t,children:n,tag:a="section",labels:o})=>{const c=a,[d,m]=l(!0),u=s({}),x=i((()=>(({anchor:e,anchorClickRef:t})=>n=>{if(!n?.length)return;const[l]=n;!l.isIntersecting||l.boundingClientRect.top>150||(t?.current?.isScrolling&&t.current.label===`#${e}`?(g.inst.fire("anchorClick",{isScrolling:!1,label:void 0}),g.inst.fire("tab",{type:"link",label:e})):t?.current?.isScrolling||g.inst.fire("tab",{type:"link",label:e}))})({anchor:e,anchorClickRef:u})),[e]);return r((()=>{const e=g.inst.subscribe("anchorClick",(e=>{u.current=e})),t=g.inst.subscribe("tab",(e=>{var t;"group"===e.type?m(!o?.length||!e.label||o.includes(e.label)):((t=e.label)&&(globalThis.document.location.hash=t),m(!0))}));return()=>{e(),t()}}),[]),d?e?h(f,{tag:a,className:t,observerCallback:x,observerOptions:{threshold:new Array(18).fill(0).map(y)},anchor:e,children:n}):h(c,{className:t,children:n}):null}));function y(e,t){const n=(t+1)/N+.82;return Math.round(n*N)/N}const w=x((e=>{const{className:t="",description:n}=e;return h("div",{className:`${t}`,children:n})})),k={h0:"text-h0",h1:"text-h1",h2:"text-h2",h3:"text-h3",h4:"text-h4",h5:"text-h5",h6:"text-h6"},C=x((e=>{const{className:t="",headingType:n="h3",title:l,as:r="h3"}=e;return h(r,{className:`font-sans m-0 ${k[n]} ${t}`,children:l})})),$={left:"text-left",center:"text-center",right:"text-right"},S={transparent:{background:"bg-transparent",text:"text-primary-text",description:"text-primary-text"},primary:{background:"bg-white",text:"text-primary-text",description:"text-primary-text"},secondary:{background:"bg-primary-main",text:"text-white",description:"text-white/80"}},I={XXL:{descriptionFont:"text-h5",gap:"gap-[18px]",headingType:"h0",as:"h1"},XL:{descriptionFont:"text-xl-light",gap:"gap-4",headingType:"h1",as:"h1"},L:{descriptionFont:"text-xl-light",gap:"gap-4",headingType:"h2",as:"h2"},M:{descriptionFont:"text-xl-light",gap:"gap-3",headingType:"h3",as:"h3"},S:{descriptionFont:"text-xl-light",gap:"gap-2",headingType:"h4",as:"h4"}},T={XL_L:"text-xl-light",XL_R:"text-xl",L_L:"text-l-light",L_R:"text-l",M:"text-m-light",S:"text-s-light",XS:"text-xs-light"},B=x((({bgColorHeadline:e="transparent",align:t="center",className:n="",title:l,description:r,headlineVersion:a="XL",as:i,...s})=>{const o=S[e],c=I[a];return u(v,{className:`font-sans flex flex-col p-[50px] ${c.gap} ${o.background} ${n}`,...s,children:[l?h(C,{headingType:c?.headingType,as:i||c?.as,className:`whitespace-pre-wrap ${o.text} ${$[t]}`,title:l}):null,r?h(w,{className:`${c.descriptionFont} ${o.text} ${$[t]}`,description:r}):null]})})),D={normal:"text-primary-main",black:"text-black",white:"text-black"},R=x((({className:e="",imageClassName:t="",name:n="",alt:l=`Иконка ${n}`,title:r=l,iconVersion:a="normal",asSVG:i,...s})=>{const o=`${c.CDN||""}icons/${n}.svg`;return i?h(j,{className:e,children:u("svg",{className:[L(e,s.width),D[a],t,_(a)].join(" "),...s,"aria-hidden":"true",children:[r?h("title",{children:r}):null,l?h("desc",{children:l}):null,h("use",{href:`${o}#icon`,xlinkHref:`${o}#icon`})]})}):h("img",{className:e,src:o,alt:l,title:r,...s,"aria-hidden":"true"})})),_=e=>"white"===e?"invert":"",L=(e,t)=>t?`width: ${t}px `:"w-full h-full",j=x((({className:e,children:t})=>e?h("div",{className:e,children:t}):t));function V(e){return"string"==typeof e?"normal":e.iconVersion||"normal"}const M=(e,t)=>e.media&&t.media?e.media-t.media:0,A=x((({className:e="",image:t,imageClassName:n="",isMobile:l=!1})=>{if(!t||!t?.sources&&!t?.src)return null;return u("picture",{className:`${l?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.sort(M).map((({src:e,format:n,media:l},r)=>h("source",{srcSet:e,type:P(n),media:l?`(max-width: ${l}px)`:"",...t.size},`${r}_${e}`))):null,O(t,n,l)]})})),O=(e,t="",n=!1)=>{const l={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"100%"},r=e.title||"",a=e.alt||e.title,i=n?"m-auto":"m-0";return h("img",{src:e.src,className:`${i} ${t}`,alt:a,title:r,style:l,...e.size})};function P(e){return e?`image/${String(e)}`:void 0}const F=x((({className:e="",image:t,imageClassName:n="",isMobile:l,...r})=>{if(!t)return null;const a="string"==typeof t?t:t.icon;return a||""===a?a.length?h(R,{className:e,imageClassName:n,iconVersion:V(t),name:a,...r}):null:h(A,{className:e,imageClassName:n,image:t,isMobile:l})})),U=x((({className:e,iconClassName:t,textClassName:n,suffixClassName:l,doc:r,icon:a})=>{const{text:i,fileSize:s,...o}=r;return u("a",{className:e,role:"link",...o,children:[a?h(F,{className:t,image:a,width:"24px",height:"24px",asSVG:!0}):null,i?u("span",{className:n,children:[i,h("span",{className:l,children:o?.href&&z(E(o.href),s)})]}):null]})})),z=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),E=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},G=x((({className:e="",doc:t,icon:n})=>h(U,{className:`flex h-full box-border ${e}`,iconClassName:"mr-2.5 min-w-6 min-h-6",textClassName:"self-center text-l-light",suffixClassName:"text-secondary-text group-hover:text-primary-main",doc:t,icon:n}))),H=x((({className:e,documents:t,columnsMode:n="double",icon:l})=>t?.length?h("div",{className:e,role:"list",children:t.map(((e,t)=>h("div",{className:"double"===n?"basis-[calc(50%-20px)]":"",role:"listitem",children:h(G,{className:"group flex align-middle h-fit w-fit text-primary-text no-underline hover:text-primary-main",doc:e,icon:l})},String(t))))}):null)),X={double:"flex gap-x-5 gap-y-[26px] flex-wrap",single:"flex gap-3.5 flex-col"},J=x((({context:e,className:t="",title:n,description:l,align:r="center",documents:a,icon:i={icon:"DocIcon"},columnsMode:s="double",...o})=>u(v,{className:`font-sans text-primary-text p-[50px] bg-white ${t}`,context:e,...o,children:[h(B,{className:"!p-0",title:n,description:l,context:e,align:r,headlineVersion:"M",as:"h2"}),h(H,{className:`mt-8 ${X[s]}`,columnsMode:s,documents:a,icon:i})]}))),W={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},Y={primary:"text-primary-text",secondary:"text-white"},K={primary:"text-secondary-text",secondary:"text-white"},Z=x((e=>{const{className:t="",icon:n,label:l,description:r,version:a="primary",benefitsVersion:i="normal"}=e,s=r?"items-start":"items-center",o=q(n,"white"===i||"secondary"===a);return u("div",{className:`flex gap-5 ${s} ${t}`,children:[n?h("div",{className:Q(a,i),children:h(F,{className:"w-6 h-6",image:{...n,iconVersion:o},asSVG:!0})}):null,u("div",{className:"gap-0.5",children:[l?h("div",{className:`text-h6 ${Y[a]}`,children:l}):null,r?h("div",{className:`text-m-light ${K[a]}`,children:r}):null]})]})}));function Q(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-[50px] h-[50px] min-w-[50px] rounded-full p-2.5 box-border flex items-center justify-center ${n}`}const q=(e,t)=>e?.iconVersion||t?"white":"normal",ee=e=>new Intl.NumberFormat("ru-RU",{maximumSignificantDigits:3}).format(e),te=x((({className:e="",context:t,title:n,description:l,image:r,benefits:a,version:i="primary",sum:s,monthLimit:o,directionRight:c=!1,...d})=>u(v,{className:`relative font-sans py-12 px-24 ${W[i]} ${e}`,context:t,...d,children:[h(B,{context:t,className:"!p-0",title:n,description:l,headlineVersion:"M",bgColorHeadline:i,align:"center"}),u("div",{className:"flex justify-center gap-[122px] mt-[30px]",children:[r?.src?h(F,{className:c?"order-2":"",image:r}):null,u("div",{className:"w-[558px] m-auto",children:[a?.length?h("div",{className:"flex flex-col gap-4",children:a.map(ne(i))}):null,le(s,o)]})]})]}))),ne=e=>(t,n)=>h(Z,{icon:t.icon,label:t.label,description:t.description,version:e},String(n));function le(e,t){return e||t?u("div",{className:"bg-main-divider rounded-md flex mt-7 gap-6 px-5 py-4",children:[Number.isFinite(e)?re("Страховая сумма:",e,Boolean(t)):null,Number.isFinite(t)?re("Ежемесячный лимит:",t,Boolean(e)):null]}):null}function re(e,t=0,n=!1){return u("div",{className:`flex justify-between items-center gap-2 w-full ${n?"w-fit":"w-full"}`,children:[h("span",{className:"text-secondary-text text-l-light",children:e}),u("span",{className:"text-primary-main text-h6",children:[ee(t)," ₽"]})]})}const ae=e=>e?.includes("//"),ie=e=>(e||"").replace(/\/?\?.*/,""),se=e=>{if(!e||!ae(e))return;const t=e,n=t.indexOf("//"),l=t.indexOf("/",n+"//".length);return-1!==l?t.substring(0,l):t};var oe=Object.freeze({__proto__:null,isURL:ae,withoutQuery:ie,getOrigin:se,getHash:e=>{if(!e||!ae(e))return;const t=e.indexOf("#");return-1!==t?e.substring(t,e.length):void 0},isHash:e=>e?.startsWith("#")});const ce="/mobile",de=(e,t)=>{if(!e)return e;const n=se(t?.href);return n?e.replace(n,"")||"/":e},me=e=>e;function he({router:e,handlerDecorator:t=me},n){const l=((e,t)=>{if(!e)return e;const n=de(e,t)||"",l=t?.pathname.startsWith(ce);return l&&!ae(n)?`/mobile${n}`:n})(n.href,e);return{...n,href:l,"aria-label":n.text,onClick:t((t=>{const r=l&&!ae(l),a=!n.target||"_self"===n.target;r&&a&&(t?.preventDefault(),e.push(l))}),n)}}const ue=x((({text:e,href:t,target:n,onClick:l,className:r="",children:a})=>t?h("a",{className:`no-underline ${r}`,href:t,target:n,onClick:l,children:h("span",{className:r,children:e||a})}):h("span",{className:r,children:e||a})));function xe(e){return t=>t.reduce(((t,n,l)=>t.length?t.concat({...e,key:l},n):[n]),[])}const pe={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:""},be="bg-main-divider text-main-disabled",ge={primary:be,secondary:be,white:be,link:""},fe="text-center font-sans select-none",Ne={primary:"group-hover:brightness-0 group-hover:invert",secondary:"group-hover:brightness-0 group-hover:invert",white:"group-hover:brightness-0 group-hover:invert",link:""},ve=x((e=>{const{text:t,aboveText:n,appendLeft:l,appendRight:r,version:a="primary"}=e;return u("div",{className:ye(e),children:[l?h("div",{className:Ne[a],children:l}):null,we(e)?u("div",{children:[h("div",{className:"text-xs-light text-left",children:n}),h("div",{className:"text-left "+(n?"text-s -mt-0.5":"text-l"),children:t})]}):null,r?h("div",{className:Ne[a],children:r}):null]})})),ye=e=>{const{className:t="",version:n,aboveText:l,rounded:r}=e;if("link"===n)return"";const a="gap-2 "+(l?"py-2.5 px-7":"py-4 px-9");return["group flex items-center justify-center",we(e)?a:"h-12 w-12",r?"rounded-full":"",t].join(" ")},we=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),ke=({className:e,rounded:t,version:n})=>["inline-block",fe,n?ge[n]:"",t?"rounded-full":"rounded-md",e].join(" "),Ce=({className:e,rounded:t,version:n})=>[fe,"border border-transparent inline-block cursor-pointer no-underline focus:border-primary-focus focus:border",n?pe[n]:"",t?"rounded-full":"rounded-md",e].join(" "),$e=x((({aboveText:e,appendLeft:t,appendRight:n,ariaLabel:l,children:r,className:a,disabled:i,href:s,onClick:o,rel:c,rounded:d,target:m,text:u,version:x})=>{const p=r??h(ve,{aboveText:e,appendLeft:t,appendRight:n,rounded:d,text:u,version:x});return i?h(Ie,{ariaLabel:l,className:a,rounded:d,version:x,children:p}):h(Se,{ariaLabel:l,className:a,href:s,onClick:o,rel:c,rounded:d,target:m,version:x,children:p})})),Se=x((({className:e="",ariaLabel:t,version:n,rounded:l,href:r,target:a,children:i,onClick:s,rel:o})=>h("a",{className:Ce({className:e,version:n,rounded:l}),href:r,target:a,onClick:s,"aria-label":t,role:r?"link":"button",rel:o,children:i}))),Ie=x((({className:e,children:t,ariaLabel:n,version:l,rounded:r})=>h("div",{role:"button","aria-disabled":"true","aria-label":n,tabIndex:-1,className:ke({className:e,rounded:r,version:l}),children:t}))),Te=x((({context:e,className:t="",buttons:n})=>{const{handlerDecorator:l}=e,r=e.useRouter();return n&&n?.length?h("div",{className:t,children:n.map(((e,t)=>h(Be,{button:e,handlerDecorator:l,router:r},String(t))))}):null})),Be=x((({router:e,handlerDecorator:t,button:n})=>{const l=he({router:e,handlerDecorator:t},n);return h($e,{...n,...l})})),De={primary:"bg-primary-text",secondary:"bg-white",gray:"bg-secondary-text"},Re={L:"w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-4 mt-3",M:"w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-3 mt-3",S:"w-1 h-1 min-w-1 min-h-1 mr-2 mt-2.5"},_e=x((({className:e="",isDotted:t=!0,children:n,version:l="primary",size:r="M"})=>u("div",{className:`font-sans flex items-start ${e}`,role:"listitem",children:[t?h("div",{className:`rounded-full inline-block ${De[l]} ${Re[r]}`}):null,h("span",{children:n})]}))),Le={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text"},je={S:"text-l-light",M:"text-h6",L:"text-h5"},Ve={S:"ml-2",M:"ml-3",L:"ml-4"},Me=x((e=>{const{className:t="",hasIndent:n,isDotted:l,itemClassName:r="",items:a,listItemSize:i="M",version:s="primary"}=e;return a?.length?h("section",{className:`${Le[s]} ${je[i]} ${t} ${n?Ve[i]:""}`,role:"list",children:a.map(((e,t)=>h(_e,{className:`${r} mb-1.5`,isDotted:l,version:s,size:i,children:e},String(t))))}):null})),Ae=x((({className:e="",title:t="",children:n,buttons:l,image:r})=>u("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,children:[t,u("div",{className:"flex grow w-full justify-between",children:[u("div",{className:"flex flex-col justify-between w-full",children:[h("div",{className:"h-full",children:n}),l?h("div",{className:"mt-auto pt-8",children:l}):null]}),r]})]}))),Oe=(e="primary",t="normal")=>({icon:n,label:l,description:r},a)=>h(Z,{icon:n,label:l,description:r,version:e,benefitsVersion:t},String(a)),Pe=x((({className:e="",context:t,title:n,headlineVersion:l="L",description:r,benefits:a,benefitsVersion:i="normal",buttons:s,image:o,items:c,version:d="primary",isDotted:m=!0,textBlockClassName:x=""})=>u("div",{className:`flex grow justify-between items-stretch h-full ${e}`,children:[u("div",{className:`flex flex-col ${x}`,children:[h(B,{context:t,title:n,description:r,className:"!p-0 max-w-[600px]",bgColorHeadline:d,headlineVersion:l,align:"left"}),u(Ae,{context:t,buttons:Fe(t,s),children:[a?.filter((e=>e.label))?.length?h("div",{className:"flex gap-6 mt-6",children:a.map(Oe(d,i))}):null,c?.length?h(Me,{className:"mt-5 text-h6",items:c,itemClassName:"mb-[7px]",version:d,isDotted:m}):null]})]}),o?.src&&h(F,{className:"mt-[-50px]",image:o})]}))),Fe=(e,t)=>t?.length?h(Te,{context:e,buttons:t,className:"flex gap-4"}):null;function Ue(e,t,n){const{text:l,href:r,target:a,onClick:i}=e,s="primary"===t?"white":"black";return u("div",{className:`flex items-center cursor-pointer ${n}`,onClick:i,children:[h($e,{version:t,rounded:!0,className:"w-12 h-12 min-h-12 min-w-12 flex items-center justify-center mr-3",ariaLabel:l,href:r,target:a,children:h(F,{className:"w-4 h-4",image:{...e?.icon||{icon:"ArrowLeftIcon"},iconVersion:s},asSVG:!0})}),l?h("span",{className:"text-m",children:l}):null]})}const ze={primary:"text-secondary-text",secondary:"text-white/80"},Ee=x((e=>{const{context:t,className:n="",breadcrumbs:l,backwardButton:r,version:a="primary",...i}=e,s=t.useRouter(),{handlerDecorator:o}=t;return u(v,{context:t,className:`font-sans overflow-hidden p-[50px] flex flex-col box-border min-h-[454px] ${W[a]} ${n}`,...i,children:[r?.text?Ue(he({router:s,handlerDecorator:o},r),a,"mb-10 -mt-2.5"):null,l?.length?h("div",{className:"text-xs-light mb-6",children:xe(h("span",{className:`mx-2 ${ze[a]}`,children:"/"}))(l.map(((e,t)=>h(ue,{...he({router:s,handlerDecorator:o},{className:ze[a],...e})},String(t)))))}):null,h(Pe,{context:t,version:a,...i})]})})),Ge={primary:{background:"bg-white",icon:"bg-primary-main text-white",title:"text-primary-text",description:"text-secondary-text"},secondary:{background:"bg-primary-main",icon:"bg-white text-primary-main",title:"text-white",description:"text-white"},"secondary-light":{background:"bg-primary-main/10",icon:"bg-primary-main text-white",title:"text-primary-text",description:"text-secondary-text"}},He=x((({title:e,description:t,blockVersion:n="primary",iconVersion:l,image:r,className:a,...i})=>{const s=Ge[n];return u(v,{className:`font-sans px-9 py-4 flex ${s.background} ${a||""}`,...i,children:["small"===l?Xe(s.icon):null,"big"===l?Je(r):null,u("div",{className:"py-0.5",children:[e?h("div",{className:`text-l font-medium mb-1 ${s.title}`,children:e}):null,t?h("div",{className:`text-s ${s.description}`,children:t}):null]})]})}));function Xe(e){return h("div",{className:"pt-1.5 pl-1 pr-4",children:h("div",{className:`rounded-full h-4 w-4 text-center text-xs-light ${e}`,children:"i"})})}function Je(e){return e?.src?h(F,{className:"pt-0.5 pr-3",image:e}):null}const We=e=>{const t="col-span-",n=e.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function Ye(e=""){const t=We(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function Ke(e=""){const t=We(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const Ze=x((e=>{const{context:t,title:n,headingType:l="h3",description:r,items:a,children:i,buttons:s,image:o,isDotted:c=!0,listItemSize:d="M",className:m="",version:x="primary",...p}=e,b="primary"===x?"text-primary-text":"";return h(v,{context:t,className:`overflow-hidden font-sans p-9 pr-3 box-border ${m} ${W[x]} ${Ke(m)} ${Ye(m)} `,...p,children:u(Ae,{context:t,title:n?h(C,{headingType:l,as:"h2",title:n,className:`whitespace-pre-wrap max-w-[600px] ${b}`}):null,buttons:s?.length?h(Te,{context:t,buttons:s.map((e=>({...e,className:"w-[158px]"}))),className:"flex mt-8 gap-3"}):null,image:o?.src?h(F,{className:"mt-auto ml-7",image:o}):null,children:[r?h(w,{className:"max-w-[600px] text-xl-light mt-2.5",description:r}):null,i,Qe(a,{version:x,isDotted:c,listItemSize:d})]})})}));function Qe(e,{version:t,isDotted:n,listItemSize:l}){return e?.length?h(Me,{items:e,isDotted:n,className:"mt-2.5",listItemSize:l,itemClassName:"mb-1.5",version:t}):null}const qe=x((({context:e,className:t="",title:n,headlineVersion:l="S",description:r,additionalDescription:a,benefits:i=[],buttons:s,image:o,version:c="primary",...d})=>u(v,{context:e,className:`overflow-hidden font-sans p-9 box-border relative justify-between grid min-h-[364px]\n ${t} ${W[c]} ${Ke(t)}`,...d,children:[h(B,{context:e,className:"!p-0 !bg-transparent z-10 "+(n||r?"mb-3.5":""),as:"h2",title:n,description:r,headlineVersion:l,bgColorHeadline:c,align:"left"}),et(i,c,o),a?nt(a,o,c):null,s?.length?h(Te,{context:e,buttons:s,className:"flex self-end mt-5 gap-4 z-10 text-l"}):null,o?.src?h(F,{className:"absolute right-0 bottom-0",image:o}):null]})));function et(e,t,n){return h("div",{className:`z-10 grid grid-cols-[max-content_1fr] auto-rows-auto gap-x-6 gap-y-2.5 items-baseline\n ${n?.src?"max-w-[calc(100%-186px)]":"100%"}`,children:e.length?e.map(tt(t)):null})}function tt(e="primary"){const t={primary:"text-secondary-text",secondary:"text-white"};return function(n,l){const{label:r="",description:a=""}=n;return[h("div",{className:"text-h6",children:r},`label-${l}`),h("div",{className:`text-m-light ${t[e]}`,children:a},`desc-${l}`)]}}function nt(e,t,n="primary"){return h("div",{className:`text-m-light mt-2.5 z-10 ${t?.src?"max-w-[calc(100%-186px)]":"100%"} ${{primary:"text-secondary-text",secondary:"text-white"}[n]}`,children:e})}const lt=x((({className:e,disabled:t,...n})=>h($e,{rounded:!0,className:`group 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:h(F,{className:"w-4 h-4 min-w-4 min-h-4 rounded-full box-border",image:{icon:"ArrowLeftIcon",iconVersion:"black"},imageClassName:"group-hover:text-primary-main",width:"16",height:"16",asSVG:!0})})));function rt({handler:e,isShown:t,btnClass:n,className:l="",isDisabled:r=!1}){return u("div",{children:[t[0]||r?h(lt,{className:`absolute z-10 ${n[0]} ${l}`,onClick:e[0],ariaLabel:"Пролистать влево","data-block-control":"scroll-left",disabled:!t[0]}):null,t[1]||r?h(lt,{className:`absolute z-10 rotate-180 ${n[1]} ${l}`,onClick:e[1],ariaLabel:"Пролистать вправо","data-block-control":"scroll-right",disabled:!t[1]}):null]})}const at={normal:3,mini:4},it={normal:"min-w-[364px] w-[364px]",mini:"min-w-[260px] w-[260px]"},st={normal:380,mini:276},ot={left:"text-left",center:"text-center",right:"text-right"},ct=x((({title:e,headlineSmallVersion:t="XL_L",description:n,additionalDescription:l,image:r,items:a,button:i,version:s,isDotted:o=!0,align:c="center"})=>u("div",{className:`h-full flex flex-col justify-between ${ot[c]}`,children:[u("div",{className:"flex flex-col h-full",children:[dt(r),mt(t,e),ht(n,e),ut(l),a?.length?pt(a,o,s):null]}),i?xt(i):null]}))),dt=e=>e?.src?h("div",{className:"flex justify-center",children:h(F,{className:"mb-6",image:e})}):null,mt=(e,t)=>t?h("div",{className:T[e],children:t}):null,ht=(e,t)=>e?h("div",{className:"text-base "+(t?"mt-2":""),children:e}):null,ut=e=>e?h("div",{className:"text-m-light text-secondary-text mt-auto",children:e}):null,xt=e=>h($e,{className:"mt-6 w-full",...e}),pt=(e,t,n="primary")=>h(Me,{className:"max-w-[308px] mt-2 text-s "+("primary"===n?"!text-secondary-text":""),itemClassName:"mt-1 text-left first:mt-0",items:e.filter((e=>e?.text)).map((e=>e.text)),isDotted:t,version:n}),bt=x((({context:e,title:t,headlineVersion:n="L",description:l,cards:r=[],version:a="normal",activeCardIndex:i})=>u("div",{children:[h("div",{className:"absolute top-0 left-0 bottom-0 w-[84px] bg-gradient-to-r from-white to-transparent"}),h(B,{context:e,className:"!p-0",title:t,description:l,headlineVersion:n,align:"center"}),h("div",{className:`flex mt-8 ${r?.length<=at[a]?"justify-center":""} duration-1000`,style:{transform:`translateX(-${i*st[a]}px)`},role:"list",children:r?.map(((t,n)=>function({card:e,version:t},n){return h("section",{className:`box-border border-solid border border-main-stroke p-6 mx-2 flex flex-col justify-between\n items-stretch ${it[t]} ${W[e.version??"primary"]} w-full col-span-4`,role:"listitem",children:h(ct,{...e})},String(n))}({card:t,version:a,context:e},n)))})]})));const gt=x((({context:e,cards:t=[],className:n="",version:r="normal",...a})=>{const[i,s]=l(0),o=t?.length>at[r],c=o&&t?.length-i>at[r],d=o&&i>0;return u(v,{context:e,className:`relative font-sans text-primary-text bg-white p-[42px] overflow-hidden ${n}`,...a,children:[h(bt,{context:e,cards:t,version:r,activeCardIndex:i,...a}),rt({handler:[()=>s(i-1),()=>s(i+1)],isShown:[d,c],btnClass:["left-8","right-8"],className:"top-1/2"}),h("div",{className:"absolute top-0 left-0 bottom-0 w-[82px] bg-opacity-from-white"}),h("div",{className:"absolute top-0 right-0 bottom-0 w-[82px] bg-opacity-to-white"})]})})),ft=x((e=>h(gt,{...e,version:"normal"}))),Nt=x((e=>h(gt,{...e,version:"mini"}))),vt=x((({className:e="",documents:t,...n})=>h(v,{className:`font-sans bg-white mt-[10px] ${e}`,...n,children:h("ul",{className:"flex flex-col text-s text-secondary-text p-0",children:t?.length?yt(t):null})}))),yt=e=>e.map(((e,t)=>{const{text:n,...l}=e;return h("li",{className:"mb-4 list-none",children:h("a",{className:"hover:text-primary-main",role:"link",...l,children:n||null})},`list_item_${String(t)}`)})),wt={Headline:B,LinkDocs:J,TextBlock:He,PictureText:te,ProductBlock:Ee,Tile:Ze,ProductTile:qe,Gallery:ft,MiniGallery:Nt,LinkList:vt},kt=({blocks:e,context:t,className:n=""})=>e?.length?e.map(Ct({context:t,className:n})):[],Ct=({context:e,className:t})=>(n,l)=>{if(!n)return null;const{style:r,blockListType:a,...i}=n;if(!a||!(a in wt))return null;const s=b(r);return h(wt[a],{className:`${t} ${s}`,context:e,...i},`block_${l}`)},$t=x((({isFoldButtonOnTop:e=!1,unfoldedByDefault:t=!1,renderFoldableSection:n,renderFoldButton:r})=>{const[i,s]=l(t),o=a((()=>{s((e=>!e))}),[]),c=n({isUnfolded:i,onToggle:o}),d=r?r({isUnfolded:i,onToggle:o}):null;return u("div",e?{children:[d,c]}:{children:[c,d]})})),St=x((({className:e="",isUnfolded:t,children:n})=>{const l=s(null);return r((()=>{l.current&&(l.current.style.maxHeight=t?`${l.current.scrollHeight}px`:"")}),[t,n?.length]),h("div",{ref:l,className:`transition-max-h duration-300 overflow-hidden max-h-0 ${e}`,children:n})})),It=["PlusIcon","MinusIcon"],Tt=x((({label:e="",children:t,hasContent:n=!0})=>h("li",{className:"border-0 border-b border-solid border-main-divider last:border-b-0",children:h($t,{isFoldButtonOnTop:!0,renderFoldableSection:({isUnfolded:e})=>h(St,{className:"grid grid-cols-12",isUnfolded:e,children:t}),renderFoldButton:({isUnfolded:t,onToggle:l})=>h(Bt,{label:e,icon:It[Number(t)],hasContent:n,onClick:l})})}))),Bt=x((({label:e,icon:t,hasContent:n,onClick:l})=>u("button",{className:"border-none bg-transparent px-0 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 group cursor-pointer "+(n?"group cursor-pointer":""),onClick:l,children:[h("span",{className:"text-xl font-medium pr-2.5",children:e}),n?h(F,{image:t,className:"text-primary-main flex-shrink-0",width:"24",height:"24",asSVG:!0}):null]}))),Dt=x((({children:e})=>h("ul",{className:"list-none m-0 p-0",children:e}))),Rt={left:"text-left",center:"text-center",right:"text-right"},_t=x((({title:e,description:t,accordionItems:n,context:l,className:r="",accordionAlignTitle:a="center",...i})=>u(v,{context:l,className:`p-[50px] mb-1 last:mb-0 font-sans bg-white text-primary-text ${r}`,...i,children:[e?h(C,{headingType:"h3",as:"h2",className:`mb-2.5 ${Rt[a]}`,title:e}):null,t?h("div",{className:"mb-2.5 text-l",children:t}):null,n?.length?h(Dt,{children:n.map(((e,t)=>h(Tt,{context:l,hasContent:Boolean(e.blocks?.length),...e,children:kt({blocks:e.blocks,context:l,className:"!p-0 mb-5"})},`AccordionItem${t}`)))}):null]}))),Lt={primary:"bg-white",secondary:"bg-primary-main"},jt={primary:"",secondary:"text-white"},Vt={primary:"text-secondary-text",secondary:"text-white opacity-80"},Mt={primary:"bg-main-divider text-primary-main",secondary:"bg-white/30 text-black"},At=x((({className:e="",title:t,benefitList:n,benefitsBlockVersion:l="primary",...r})=>u(v,{className:`font-sans text-primary-text p-12 flex flex-col items-center ${e} ${Lt[l]}`,...r,children:[t?h(C,{headingType:"h3",as:"h2",className:`max-w-[47rem] text-center ${jt[l]}`,title:t}):null,n?.length?Ot(n,l):null]}))),Ot=(e,t)=>h("div",{className:"flex flex-wrap w-full justify-center gap-x-20 mt-8",children:e.map(Ft(t))}),Pt=(e,t)=>(!e.icon||e?.iconVersion||(e.iconVersion="secondary"===t?"white":"normal"),e),Ft=e=>(t,n)=>{const l=t?.description||void 0;return u("div",{className:"flex items-center basis-1/2 max-w-[500px] mb-14",children:[t?.icon?.icon?h(F,{className:`w-[50px] h-[50px] min-w-[50px] p-3 rounded-full ${Mt[e]}`,image:Pt(t.icon,e),asSVG:!0}):null,t?.icon?.src?h(F,{image:t.icon}):null,u("div",{className:"ml-5",children:[t?.label?h("h3",{className:`text-h6 m-0 ${jt[e]}`,children:t.label}):null,Ut(l,e)]})]},String(n))},Ut=(e,t)=>{const n=e?e?.benefitType:null;return n&&e?h("div",{className:`text-l-light mt-2 ${Vt[t]}`,children:"list"===n?Et(e):zt(e)}):null},zt=e=>e?e.name:null,Et=e=>{const t=e?.bullets?"list-disc pl-6":"";return e?.items&&e.items.length>0?h("ul",{className:t,children:e.items.map(((e,t)=>h("li",{children:e},`benefitListItem-${t}`)))}):null},Gt=x((e=>{const{context:t,className:n="",title:l,description:r,bonusItems:a,...i}=e;return h(v,{className:`font-sans bg-white p-[50px] pb-9 ${n}`,context:t,...i,children:u("div",{className:"container",children:[h(B,{context:t,className:"!p-0",title:l,description:r,headlineVersion:"M",align:"center"}),h("div",{className:"flex flex-wrap w-full mt-9",children:a?.length?a.map(((e,n)=>h("div",{className:"flex-grow w-[49%] border border-gray pl-9 pt-9 pr-6 pb-6 mb-3 mx-2 even:mr-0 odd:ml-0 last:odd:mx-0",children:u("div",{className:"flex justify-between w-full",children:[u("div",{className:"flex flex-col justify-between mr-4",children:[u("div",{children:[h("div",{className:"text-h4",children:e.title}),h("div",{className:"text-xl-light mt-2 max-w-[488px]",children:e.description})]}),e?.buttons?.length?h(Te,{context:t,buttons:e?.buttons}):null]}),e.bonusItemContent?.bonusType?Ht(e.bonusItemContent):null]})},String(n)))):null})]})})})),Ht=e=>h("div",{children:"count"===e.bonusType?Xt(e):Jt(e)}),Xt=e=>u("div",{className:"relative -bottom-3 h-auto flex items-end mt-14 shrink-0",children:[e.bonusCount?h("span",{className:"font-mohave -tracking-[5px] text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7",children:e.bonusCount}):null,e.bonusName?h("span",{className:"text-h2 bg-clip-text text-transparent bg-green-to-yellow",children:e.bonusName}):null]}),Jt=e=>e.image?h(F,{className:"w-[50px] h-[50px] min-w-[50px] p-3 rounded-full",image:e.image}):null;function Wt(e=""){const t=We(e);return t<=6?"grid-cols-2":t<=8?"grid-cols-3":"grid-cols-4"}const Yt=x((({context:e,className:t="",title:n,subtitle:l,bonusBenefits:r,...a})=>u(v,{className:`font-sans text-primary-text bg-white p-[50px] flex flex-col text-center ${t}`,context:e,...a,children:[h(B,{context:e,className:"!p-0",title:n,description:l,headlineVersion:"M",align:"center"}),r?.length?h("div",{className:`grid gap-1 mt-8 ${Wt(t)}`,children:r.map(Kt)}):null]}))),Kt=(e,t)=>u("div",{className:"flex flex-col items-center max-w-[292px]",children:[e?.icon?h(F,{className:"h-[160px] w-[180px] min-w-[180px] min-h-[160px]",image:e.icon,width:"180",height:"160"}):null,h("div",{children:e?.label?h("span",{className:"text-h6 m-0",children:e.label}):null})]},String(t)),Zt=x((({title:e,value:t,postfix:n="",prefix:l,className:r=""})=>u("div",{className:`mb-7 ${r}`,children:[e?h("div",{className:"text-l-light text-secondary-text",children:e}):null,t?u("div",{className:"text-h3",children:[l," ",ee(Math.round(t))," ",n]}):null]}))),Qt=6e4,qt=2e6,en=97e4,tn=Math.round(23.5),nn={minSum:Qt,maxSum:qt,minMonths:13,maxMonths:60,rateBottomRange:10,rateTopRange:7,isSalaryClient:!0,isStateEmployee:!0,isInsurance:!0,sumBorder:999999},ln={minSumTravel:6e3,maxSumTravel:2e5,minSumOther:6e3,maxSumOther:2e5,maxBonus:5e3,prefMonthsNum:2,prefTravelBonusRate:.015,prefRestBonusRate:.01,travelBonusRate:.015,restBonusRate:.01},rn=x((({rate:e,title:t="Ставка",unit:n,rateBlockClassName:l})=>u("div",{children:[h("div",{className:"text-l-light text-secondary-text",children:t}),u("div",{className:"flex justify-start",children:[h("span",{className:`block gradient-color-text font-mohave text-title-huge pr-6 -mt-4 ${l}`,children:String(e).replace(".",",")}),n?h("span",{className:"gradient-color-text text-[65px] leading-[75px]",children:n}):""]})]})));function an(e,t){return t?.length?h(Te,{context:e,buttons:t,className:"flex flex-col mt-7 gap-2"}):null}const sn=e=>e?h("p",{className:"text-s-light text-secondary-text mt-7",children:e}):null,on=(e,t,n)=>Math.max(t,Math.min(e,n)),cn=e=>e.split(/\s+/).join(""),dn=x((({className:e,title:t,items:n=[],min:l=1,max:r=100,step:a=1,value:i=l,disabled:s=!1,onChange:o})=>{const c=e=>{o&&o(on(Number(cn(e.target.value)),l,r))},d={backgroundSize:`${(100*(i-l)/(r-l)).toFixed(2)}% 100%`};return u("div",{className:e,children:[u("label",{className:"block relative",children:[t?h("span",{className:"text-m-light",children:t}):null,h("input",{className:"m-0 mt-2 font-sans text-h3 w-full h-14 border border-solid border-main-stroke rounded-md\n outline-none p-0 pl-4 box-border text-primary-text hover:border-primary-hover focus:border-primary-focus disabled:border-main-stroke disabled:bg-main-divider",value:ee(i),disabled:s,onChange:c,onBlur:c}),h("div",{className:"absolute inset-x-0 -bottom-1 px-4 leading-[18px]",children:h("input",{className:"box-border w-full m-0 cursor-pointer slider",type:"range",min:l,max:r,step:a,value:i,disabled:s,onChange:c,style:d})})]}),mn(n)]})}));function mn(e){return h("div",{className:"flex justify-between my-2",children:e.map(((e,t)=>h("span",{className:"text-s-light text-secondary-text",children:e},String(t))))})}const hn=1e3;function un(e,t,n){const{moneyValue:l,minSum:r,maxSum:a,step:i=hn,isShowItems:s=!0}=t,o=[`От ${ee(r)} ₽`,`До ${ee(a)} ₽`];return h(dn,{title:e,items:s?o:[],min:r,max:a,step:i,value:on(l,r,a),onChange:n})}const xn=new Map;function pn(e,t,{fallback:n}={}){const a=i((()=>bn(e)),[e]),[s,o]=l(),[c,d]=l(),m=e=>{o(e),d(void 0)},h=e=>{o(void 0),d(e)};r((()=>{if(!a.every((e=>null===e)))try{const e=t(...a);"then"in e?(e=>{e.then((e=>xn.get(a)||e)).then(m).catch(h)})(e):m(e)}catch(e){h(e)}}),[t,...a]);const u=a[0],x=n&&"string"==typeof u&&n[u];return{data:s||c||!x?s:x,error:c,mutate:()=>Promise.resolve(void 0),isValidating:!1}}function bn(e){return e?Array.isArray(e)?e:e instanceof Function?bn(e()):[e]:[e]}async function gn(e,t){try{return await fn(e,t)}catch(e){console.error(e)}return null}async function fn(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await n.json()}function Nn(e){const{data:t}=pn(`/wcms-resources/${e}.json`,fn);return t}const vn=(e,t)=>{const{travelExpenseValue:n,restExpenseValue:l}=e,r=Nn(t||"bonus-calculator-data")||ln,[a,i]=((e,t,n)=>{const{minSumTravel:l,minSumOther:r,maxBonus:a,prefMonthsNum:i,prefTravelBonusRate:s,prefRestBonusRate:o,travelBonusRate:c,restBonusRate:d}=e;if(t===l&&n===r)return[0,0];const m=Math.min(Math.round(s*t)+Math.round(o*n),a);return[m,m*i+Math.min(Math.round(c*t)+Math.round(d*n),a)*(12-i)]})(r,n,l);return{...r,...e,monthBonus:a,yearBonus:i}},yn=x((({context:e,className:t="",sourceBookDir:n="",buttons:r,footnote:a})=>{const[i,s]=l(6e3),[o,c]=l(6e3),d={travelExpenseValue:i,restExpenseValue:o},{minSumTravel:m,maxSumTravel:x,minSumOther:p,maxSumOther:b,monthBonus:g,yearBonus:f}=vn(d,n);return u("section",{className:t,children:[u("div",{className:"w-[468px]",children:[un("Сумма покупок в категории путешествия, ₽",{minSum:m,maxSum:x,moneyValue:i,step:500,isShowItems:!1},s),un("Сумма покупок в остальных категориях, ₽",{className:"mt-7",minSum:p,maxSum:b,moneyValue:o,step:500,isShowItems:!1},c)]}),h("div",{children:g>=0?h(rn,{title:"Баллов за месяц",rate:g,rateBlockClassName:"tracking-[-14px]"}):null}),u("div",{className:"w-full max-w-[350px]",children:[f>=0?h(Zt,{title:"Баллов за год",value:f}):null,an(e,r),sn(a)]})]})})),wn=x((({className:e,viewBox:t,fill:n="none",width:l,height:r,paths:a,...i})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",className:e,viewBox:t,fill:n,width:l,height:r,children:a.map((({d:e,fill:t,...n},l)=>h("path",{d:e,fill:t||"currentColor",...i,...n},l)))}))),kn=[{d:"M10.207.793a1 1 0 0 1 0 1.414l-6 6a1 1 0 0 1-1.414 0l-2.5-2.5a1 1 0 0 1 1.414-1.414L3.5 6.086 8.793.793a1 1 0 0 1 1.414 0Z",fillRule:"evenodd",clipRule:"evenodd",fill:"white"}],Cn=x((({className:e,text:t,checked:n,isRadio:l,onChange:r})=>h("div",{className:e,children:u("label",{className:"flex items-center relative cursor-pointer group",children:[h("input",{className:`peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover:border-checkbox-hover\n ${l?"rounded-full border-2":"rounded checked:bg-primary-main border"}\n ${n?"border-black":"border-main-stroke"}\n checked:border-primary-main m-0`,type:"checkbox",onChange:e=>{r(e.target.checked)},checked:n}),l?h("div",{className:"left-1 w-3 h-3 rounded-full bg-primary-main hidden absolute peer-checked:block"}):h(wn,{paths:kn,className:"hidden absolute left-1 ml-px peer-checked:block",width:"11",height:"9",fill:"white",viewBox:"0 0 11 9"}),t?h("span",{className:"font-sans ml-3 text-l-light",children:t}):null]})})));function $n(e,t,n){const{minMonths:l,maxMonths:r,monthsValue:a}=t,i=e=>`${e} ${Number(e)%10==1?"месяца":"месяцев"}`;return h(dn,{className:"mt-7",title:e,items:[`От ${i(l)}`,`До ${i(r)}`],min:l,max:r,step:1,value:on(a,l,r),onChange:n})}const Sn=x((({items:e,checkedItem:t,onChangeCheckedItem:n})=>h("div",{className:"flex flex-col gap-3",children:e?.map((({id:e,text:l})=>h(Cn,{isRadio:!0,text:l,checked:t===e,onChange:()=>n(e)},e)))})));function In(e,{items:t,checkedItem:n,onChange:l}){return h(Sn,{context:e,items:t,checkedItem:n,onChangeCheckedItem:l})}const Tn=(e,t)=>{const{isInsurance:n,isSalaryClient:l,isStateEmployee:r,moneyValue:a}=e,i=Nn(t||"credit-calculator-data")?.rows?.find((e=>n===e.isInsurance&&l===e.isSalaryClient&&r===e.isStateEmployee))||nn,{rateBottomRange:s,rateTopRange:o,sumBorder:c}=i,d=a<=c?s:o,m=((e,t)=>{const{isAnnuity:n,moneyValue:l,monthsValue:r}=t;if(n){const t=e/1200;return l*(t+t/(Math.pow(1+t,r)-1))}return Math.round(l/r)+l*(e/1200)})(d,e);return{...i,...e,finalRate:d,monthlyPayment:m}},Bn="annuity",Dn="differential",Rn=[{id:Bn,text:"Аннуитетный"},{id:Dn,text:"Дифференцированный"}],_n=x((({context:e,className:t="",sourceBookDir:n,buttons:r,footnote:a})=>{const[i,s]=l(!1),[o,c]=l(!0),[d,m]=l(!1),[x,p]=l(!1),[b,g]=l(en),[f,N]=l(tn),v=Tn({isAnnuity:i,isInsurance:o,isSalaryClient:d,isStateEmployee:x,moneyValue:b,monthsValue:f},n);return u("section",{className:t,children:[u("div",{className:"w-[468px]",children:[un("Сумма кредита, ₽",{...v,step:500},g),$n("Срок кредита, месяцев",v,N),u("div",{className:"mt-7",children:[h(Cn,{text:"Получаю зарплату на счёт в Россельхозбанке",checked:d,onChange:m}),h(Cn,{className:"mt-3",text:"Работаю в бюджетной организации",checked:x,onChange:p}),h(Cn,{className:"mt-3",text:"Комплексная страховая защита",checked:o,onChange:c})]})]}),h(rn,{title:"Ставка",rate:v.finalRate,rateBlockClassName:"tracking-[-25px]",unit:"%"}),u("div",{className:"w-full max-w-[350px]",children:[h(Zt,{title:i?"Ежемесячный платеж":"Платёж в первый месяц",value:v.monthlyPayment,postfix:"₽"}),In(e,{items:Rn,checkedItem:i?Bn:Dn,onChange:e=>s(e===Bn)}),an(e,r),sn(a)]})]})})),Ln="everyMonth",jn="atEndTerm",Vn=[{id:Ln,text:"Ежемесячно"},{id:jn,text:"В конце срока"}],Mn={CreditCalculatorForm:_n,DepositCalculatorForm:x((({context:e,className:t="",rate:n,buttons:r,footnote:a})=>{const[i,s]=l(en),[o,c]=l(tn),[d,m]=l(!1);return u("section",{className:t,children:[u("div",{className:"w-[468px]",children:[un("Сумма вклада, ₽",{moneyValue:i,minSum:Qt,maxSum:qt},s),$n("Срок вклада, месяцев",{minMonths:13,maxMonths:60,monthsValue:o},c)]}),h(rn,{rate:n||1,rateBlockClassName:"tracking-[-25px]",unit:"%"}),u("div",{className:"w-full max-w-[350px]",children:[h(Zt,{title:"Доход по вкладу",value:948841,postfix:"₽",prefix:"+"}),h(Zt,{title:"Сумма в конце срока",value:1218841,postfix:"₽"}),In(e,{items:Vn,checkedItem:d?Ln:jn,onChange:e=>m(e===Ln)}),an(e,r),sn(a)]})]})})),BonusCalculatorForm:yn},An=({context:e,className:t})=>(n,l)=>{const r=n?.calcType;if(!r||!(r in Mn))return null;const a=Mn[r];return h("section",{className:`box-border relative bg-white flex shrink-0 self-start basis-full ${t}`,role:"listitem",children:u("div",{className:"box-border p-9 w-full",children:[n?.title?h(C,{className:"text-center mb-6",title:n.title}):null,h(a,{context:e,...n,className:"flex justify-between"})]})},String(l))},On=x((({className:e="",context:t,calculatorTabs:n=[],...r})=>{const a=n.map((e=>e.nav||{})),i=n.map((({calculatorBlock:e})=>e||{})),[s,o]=l(0),[c,d]=l(0),m=n?.length>3&&n?.length>c+3,x=c>0;return u(v,{context:t,className:`box-border overflow-hidden relative font-sans w-100 text-primary-text bg-white ${e}`,...r,children:[u("div",{className:"bg-white",children:[a.length>1?Pn({tabsShift:c,tabsNav:a,activeSlideIndex:s,setActiveSlideIndex:o}):null,rt({handler:[()=>d(c-1),()=>d(c+1)],isShown:[x,m],btnClass:["left-3","right-3"],className:"top-8"})]}),h("div",{className:"flex",style:{transform:`translateX(-${s}00%)`},role:"list",children:i?.length?i.map(An({context:t,className:e})):null})]})}));function Pn({tabsShift:e,tabsNav:t,activeSlideIndex:n,setActiveSlideIndex:l}){return u("div",{children:[h("div",{style:{transform:`translateX(-${388*e}px)`},className:"flex flex-col justify-end items-center h-[126px] pt-9 box-border duration-1000",children:h("div",{className:"w-full flex flex-nowrap items-end gap-2",children:t.map(((e,t)=>function({tab:e,i:t,activeSlideIndex:n,onClick:l}){const r=t===n,a=r?"h-[88px] w-[387px] min-w-[387px] p-5 border-none bg-primary-main text-white":"h-[77px] w-[328px] min-w-[328px] px-5 py-4 ease-in duration-300 bg-white text-primary-text",i=r?"text-xl mb-1.5":"text-l mb-[3px]",s=r?"text-l-light text-white":"text-m-light text-secondary-text",o=r?"":"text-primary-main";return u("button",{type:"button",onClick:l,"aria-label":e?.title,className:`box-border relative border border-main-stroke cursor-pointer text-left border-b-0 flex hover:h-[88px]\n ${a}`,children:[h(F,{className:`h-6 w-6 min-w-6 min-h-6 mr-4 ${o}`,image:{...e?.icon,iconVersion:r?"white":"normal"},width:"24",height:"24",asSVG:!0}),u("div",{className:"border-0",children:[h("div",{className:`${i}`,children:e?.title}),h("div",{className:`${s}`,children:e.description})]})]},String(t))}({tab:e,i:t,activeSlideIndex:n,onClick:()=>l(t)})))})}),h("div",{className:"w-full h-2 bg-primary-main"})]})}const Fn=e=>(e.match(/\./g)||[]).length>1?e.slice(0,e.lastIndexOf(".")):e,Un=e=>{const t=0===e.indexOf("0")&&2===e.length?e.replace("0","0."):e;return t.startsWith(".")?t.replace(".","0."):t},zn=e=>String(e.replace(",",".").replace(/[^.\d]/g,"")),En=x((({className:e="",inputClassName:t="",id:n,name:l,type:r="text",label:i,value:s="",valid:o=!0,children:c,onChange:d,onBlur:m,...x})=>{const p=a((e=>{const t=e.target.validity.valid?e.target.value:s;d(t)}),[d]),b=a((e=>{if(!m)return;const t=e.target.validity.valid?e.target.value:s;m(t)}),[m]),g=c?"pr-8":"",f=o?"border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text":"border-error";return u("div",{className:`relative ${e}`,children:[i?h("label",{className:"block text-m-light mb-2",children:i}):null,h("input",{className:`w-full border rounded-md text-primary-text outline-none p-4 ${g} ${f} ${t}`,id:n,name:l||n,type:r,value:s,onChange:p,onBlur:b,...x}),c]})})),Gn=x((({className:e="",onChange:t,minValue:n=0,maxValue:l=3e5,...r})=>{const i=a((e=>{if(!t)return;const r=Fn(Un(zn(cn(e))));const a=Hn(r,on(Number(r),n,l));t(String(a))}),[t]),s=a((e=>{var n;t&&t((n=e,new Intl.NumberFormat("ru-RU",{minimumFractionDigits:0,maximumFractionDigits:2}).format(Number(cn(n))).replace(",",".")))}),[t]);return h(En,{className:e,inputClassName:"w-full",onChange:i,onBlur:s,...r,children:h("span",{className:"text-xl-light absolute right-4 bottom-4",children:"₽"})})})),Hn=(e,t)=>Number(e)===t?e:String(t),Xn=x((({className:e="",title:t="Укажите сумму перевода",label:n="Сумма перевода",placeholder:r="1500",button:a,context:i,...s})=>{const o=i.useRouter(),{handlerDecorator:c}=i,[d,m]=l(""),x=!Number(cn(d)),p=x?ke({version:a?.version}):Ce({className:"text-white",version:a?.version});return u(v,{className:`p-[50px] flex flex-col items-center font-sans bg-white ${e}`,context:i,...s,children:[t?h(C,{className:"max-w-[684px] pb-9",headingType:"h2",title:t}):null,u("form",{className:"w-[468px]",method:"POST",action:"https://www.rshb.ru/p2p/",children:[h(Gn,{name:"amount",value:d,onChange:m,valid:""===d||!x,placeholder:r,label:n}),a?.text?h("button",{type:"submit",className:`w-full p-4 mt-6 ${p} `,disabled:x,...he({router:o,handlerDecorator:c},a),children:a.text}):null]})]})})),Jn={black:"bg-black",white:"bg-white"},Wn=x((({className:e="",title:t,description:n,image:l,price:r,button:a,colors:i})=>u("section",{className:`border border-solid box-border border-main-stroke p-[30px] min-w-[402px] flex flex-col justify-left ${e}`,role:"listitem",children:[l?.src?h(F,{className:"mb-5 flex justify-center",image:l}):null,t?h(C,{headingType:"h6",as:"h4",className:"text-left mb-1.5",title:t}):null,n?h("div",{className:"text-m-light text-left mb-4",children:n}):null,i?.length?u("div",{className:"flex mb-4 text-m-light text-secondary-text",children:[h("div",{className:"mr-1.5",children:"Доступные цвета: "}),i.map(Yn)]}):null,r?u("div",{className:"text-h3 text-left",children:[r," ₽"]}):null,a?h($e,{className:"mt-5 w-full",...a}):null]}))),Yn=(e,t)=>h("span",{className:`w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${Jn[e]}`},String(t)),Kn="absolute top-0 bottom-0 w-[84px]",Zn=x((({context:e,cards:t=[],className:n="",title:r,description:a,...i})=>{const[s,o]=l(0);return u(v,{context:e,className:`bg-white relative font-sans p-12 overflow-hidden text-center ${n}`,...i,children:[h(B,{context:e,className:"!p-0",title:r,description:a,headlineVersion:"M",align:"center"}),h("div",{className:"flex duration-1000 gap-3.5 mt-8",style:{transform:`translateX(-${430*s}px)`},role:"list",children:t?.length?t.map(Qn(e)):null}),qn({cardsCount:t.length,activeCardIndex:s,setActiveCardIndex:o}),h("div",{className:`${Kn} left-0 bg-opacity-from-white`}),h("div",{className:`${Kn} right-0 bg-opacity-to-white`})]})})),Qn=e=>(t,n)=>h(Wn,{context:e,...t},String(n)),qn=({cardsCount:e,activeCardIndex:t,setActiveCardIndex:n})=>{const l=e>3;return rt({handler:[()=>n(t-1),()=>n(t+1)],isShown:[l&&t>0,l&&e-t>3],btnClass:["left-8","right-8"],className:"top-1/2 z-10 mt-6"})},el=({columnsLength:e,colsLengthForScroll:t,activeCardIndex:n,setActiveCardIndex:l})=>{const r=e>t;return{handleNextClick:()=>l(n+1),handlePrevClick:()=>l(n-1),isScrollAvailable:r,showNextButton:r&&e-n>t,showPrevButton:Boolean(r&&n>0)}},tl="bg-gradient-to-r from-main-gradient-start to-main-gradient-end",nl="border-main-stroke border-solid border",ll="border-main-divider border border-t-0 border-x-0",rl="w-[200px] mr-6",al=x((({icon:e,image:t,title:n,link:l})=>u("div",{className:`w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-[46px] ${nl} ${tl}`,role:"columnheader",children:[e&&!t?.src&&h(F,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}),t?.src&&h(F,{className:"mb-[18px]",image:t}),n?h(C,{headingType:"h4",as:"h3",className:"text-center text-white",title:n}):null,l?.text&&h("div",{className:"mt-auto w-full",children:h($e,{href:l.href,target:l.target,className:"mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active",children:h("div",{className:"text-xs-light font-medium py-[11px]",children:l.text})})})]}))),il={comparison:"flex gap-4 duration-1000",tariff:"flex flex-grow duration-1000"},sl=x((({children:e,activeCardIndex:t,columnWidth:n,version:l="comparison"})=>h("div",{className:"flex flex-1 overflow-hidden",children:h("div",{className:il[l],style:{transform:`translateX(-${t*n}px)`},children:e})}))),ol=x((({children:e})=>h("div",{className:"self-start flex flex-col",role:"row",children:h("div",{className:"flex",children:e})}))),cl=x((({colHeaders:e,activeCardIndex:t,router:n,handlerDecorator:l})=>u(ol,{children:[h("div",{className:rl,role:"columnheader"}),h(sl,{activeCardIndex:t,columnWidth:336,children:e.map(((e,t)=>h(al,{...e,link:e.link&&he({router:n,handlerDecorator:l},e.link)},String(t))))})]}))),dl=x((({isScrollAvailable:e,handleNextClick:t,handlePrevClick:n,showNextButton:l,showPrevButton:r})=>e?h("div",{children:rt({handler:[n,t],isShown:[r,l],btnClass:["top-[108px]","top-11"],className:"right-7",isDisabled:!0})}):null)),ml=x((({cell:e,isFirstRow:t,isLastRow:n,isFillGradient:l})=>h("div",{className:`w-80 box-border flex flex-col ${nl} ${n?"border-t-0 rounded-b-md":"border-y-0"} ${l?tl:""}`,role:"cell",children:h("div",{className:`mx-7 h-full ${ll} ${l&&t?"border-t":""} ${n?"border-b-0":"border-solid"}`,children:e.map(((e,t)=>xl(e,t,l)))})}))),hl=(e=!1)=>"text-xl m-0 "+(e?"text-white":""),ul=(e=!1)=>"text-s opacity-80 "+(e?"text-white":"text-secondary-text"),xl=({label:e,description:t},n,l)=>u("div",{className:"first:pt-7 pt-6 last:pb-7",children:[e?h("h4",{className:hl(l),children:e}):null,t?h("div",{className:ul(l),children:t}):null]},String(n)),pl=(e=!1)=>`text-s py-7 ${ll} w-[200px] mr-6 ${e?"border-b-0":"border-solid"}`,bl=x((({row:{header:e,data:t},activeCardIndex:n,isColoredFirstColumn:l,isFirstRow:r,isLastRow:a})=>u(ol,{children:[e?.title?h("div",{className:pl(a),children:e.title}):null,t?.length?h(sl,{activeCardIndex:n,columnWidth:336,children:t.map(((e,t)=>h(ml,{cell:e,isFirstRow:r,isLastRow:a,isFillGradient:l&&0===t},String(t))))}):null]}))),gl=x((({rowData:e,activeCardIndex:t,isColoredFirstColumn:n,...l})=>u("div",{className:"relative",children:[e.map(((e,l,{length:r})=>h(bl,{row:e,isFirstRow:0===l,isLastRow:l+1===r,activeCardIndex:t,isColoredFirstColumn:n},String(l)))),h(dl,{...l})]}))),fl=x((({context:e,columns:t,rowHeaders:n,isShowAllRow:r,visibleRowLength:a,isColoredFirstColumn:i})=>{const s=e.useRouter(),{handlerDecorator:o}=e,c=t?.map((({header:e})=>e||{})),d=t?.map((({data:e})=>e))||[],m=n?.map(((e,t)=>({header:e,data:d.map((e=>e?.[t]||[{}]))}))).slice(0,r?n.length:a),[x,p]=l(0),b=el({columnsLength:d.length,colsLengthForScroll:2,activeCardIndex:x,setActiveCardIndex:p}),{isScrollAvailable:g}=b;return u("div",{children:[u("div",{role:"table",children:[c?.length?h(cl,{colHeaders:c,activeCardIndex:x,router:s,handlerDecorator:o}):null,m?.length?h(gl,{rowData:m,activeCardIndex:x,isColoredFirstColumn:i,...b}):null]}),g?h("div",{className:"absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white"}):null]})})),Nl=x((({className:e="",context:t,title:n,rowHeaders:r,columns:a,visibleRowLength:i=0,isColoredFirstColumn:s=!1,...o})=>{const[c,d]=l(!i);return u(v,{context:t,className:`bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${e}`,...o,children:[h(C,{headingType:"h2",className:"max-w-[47rem] text-center mb-9 mx-auto",title:n}),h(fl,{context:t,columns:a,rowHeaders:r,isShowAllRow:c,isColoredFirstColumn:s,visibleRowLength:i}),i?vl({isShowAllRow:c,onClick:()=>d(!c)}):null]})})),vl=({isShowAllRow:e,onClick:t})=>h("div",{className:"pr-[50px]",children:u("div",{className:"flex w-full",children:[h("div",{className:rl}),h("button",{onClick:t,className:"mt-5 flex-1 border-main-stroke border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main",children:h("div",{className:"font-sans text-xs-light font-medium py-3",children:e?"Скрыть":"Показать все параметры"})})]})}),yl=e=>"Image"===e?.errorContentType&&e?.image?h(F,{image:e.image}):"Code"===e?.errorContentType&&e.code?h("div",{className:"font-mohave text-title-extra gradient-color-text",children:e.code}):null,wl=x((({context:e,className:t="",title:n,subtitle:l,error:r,button:a})=>{const{useRouter:i,handlerDecorator:s}=e,o=i();return u("section",{className:`flex flex-col justify-center items-center mt-12 ${t}`,role:"listitem",children:[h("div",{className:"flex justify-center py-20",children:yl(r)}),n?h(C,{headingType:"h1",className:"text-left mb-4",title:n}):null,l?h("div",{className:"font-sans text-xl-light mb-7 max-w-[613px] text-center",children:l}):null,a?.text?h($e,{className:"py-4 px-9",version:a?.version,...he({router:o,handlerDecorator:s},a),children:a.text}):null]})})),kl=(e,t=2)=>{const n=10**t;return Math.round(parseFloat(String(e))*n)/n};function Cl(){return gn($l,{method:"POST",body:JSON.stringify(Sl)})}const $l="https://coins.rshb.ru/api/catalog/vue_storefront_magento_1_currency_rates_average/currency_rates_average/_search?size=10000",Sl={query:{bool:{must:[{term:{russian_region_code:"77"}},{term:{from_volume:"0"}},{terms:{currency_pair:["USD/RUB","EUR/RUB"]}}]}}},Il=e=>e.reduce(((e,t)=>{const n=t.currency_first?.code;return e.some((e=>e.code===n))||e.push({code:n,buy:kl(Number(t.rate_buy),3),sell:kl(Number(t.rate_sell),3)}),e}),[]);var Tl;!function(e){e.RUB="RUB",e.EUR="EUR",e.USD="USD"}(Tl||(Tl={}));const Bl=new Intl.NumberFormat("ru",{style:"currency",currency:Tl.RUB}),Dl=e=>e?Bl.format(e):"",Rl="text-left text-m-light text-secondary-text",_l={USD:"DollarIcon",EUR:"EuroIcon"},Ll=x((({className:e,exchangeCurrencyItems:t})=>u("table",{className:`h-fit w-fit ${e}`,children:[h("thead",{children:u("tr",{children:[h("th",{className:Rl,children:"Валюта"}),h("th",{className:`${Rl} pl-11`,children:"Купить"}),h("th",{className:`${Rl} pl-11`,children:"Продать"})]})}),h("tbody",{children:t.map((e=>jl(e)))})]}))),jl=e=>{const t=e?.code;return u("tr",{className:"pb-1 text-h6",children:[h("td",{className:"pt-4",children:u("div",{className:"flex items-center",children:[t?h(F,{image:{icon:_l[t]},width:"24",height:"24"}):null,h("span",{className:"ml-2",children:t})]})}),h("td",{className:"pt-4 pl-11",children:Dl(e?.sell)}),h("td",{className:"pt-4 pl-11",children:Dl(e?.buy)})]},t)},Vl=x((({className:e="",address:t,distance:n})=>u("div",{className:`flex ${e}`,children:[h(F,{image:{icon:"GpsIcon"},width:"24",height:"24",asSVG:!0}),u("div",{className:"ml-3",children:[t?h("p",{className:"text-primary-main m-0 mb-1 text-l",children:t}):null,n?u("p",{className:"text-secondary-text m-0 text-m-light",children:["Курс указан для ближайшего офиса - ",n]}):null]})]})));const Ml=x((({className:e="",isBorder:t=!0,label:n,options:a=[],value:i,onChange:o,placeholder:c=""})=>{const[d,m]=l(a[0]||{key:"",text:""}),[x,p]=l(!1),b=s(null);!function(e,t){r((()=>{function n(n){e&&e.current&&n.target instanceof HTMLElement&&!e.current.contains(n.target)&&t(!1)}return document.addEventListener("click",n),()=>{document.removeEventListener("click",n)}}),[])}(b,p);return r((()=>{m(i||{key:"",text:""})}),[i]),u("div",{className:`${e}`,ref:b,children:[n?h("span",{className:"mb-2 flex",children:n}):null,u("div",{className:"relative "+(x?"z-20":"z-10"),children:[u("div",{className:`text-l flex justify-between items-center mb-0.5 text-primary-text cursor-pointer\n ${Pl(t)}`,onClick:()=>p(!x),children:[h("p",{className:"p-4 pr-8 h-[56px] overflow-hidden text-ellipsis whitespace-nowrap",children:d?.text||c}),h(R,{name:"ArrowUpIcon",width:"16",height:"16",className:"absolute right-3 "+(x?"":"rotate-180")})]}),a?.length?h("div",{className:`h-0 ${Al(x)}`,children:h("div",{className:"bg-white text-l max-h-[256px] overflow-y-auto overflow-x-hidden rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]",children:a.map(Ol((e=>{m(e),p(!1),o(e)}),x,(e=>Boolean(e.key===d.key))))})}):null]})]})})),Al=e=>e?"":"overflow-hidden",Ol=(e,t,n)=>(l,r)=>u("div",{onClick:()=>{e(l)},className:"flex px-4 py-3 cursor-pointer hover:bg-main-divider pr-11 relative",children:[h("span",{className:"min-h-6",children:l.text}),h(R,{name:"DoneSimpleIcon",width:"16",height:"16",className:["absolute right-4 pt-0.5",n(l)&&t?"":"hidden"].join(" ")})]},String(r)),Pl=e=>e?"border border-main-stroke rounded-md hover:border-primary-hover":"";function Fl(e){const{placeholder:t,rates:n,selected:l,value:r,setValue:a,setSelected:i}=e,s=n.map((e=>({key:e.code??"",text:e.code??""}))),o={key:l,text:l};return u("div",{className:"relative flex",children:[h(En,{className:"shrink-0 text-l w-full appearance-none mr-[-90px]",placeholder:t,type:"text",value:r,onChange:a}),s.length?h(Ml,{isBorder:!1,onChange:e=>i(e.key),options:s,value:o}):null]})}const Ul=(e,t,n)=>{const l=Number(zl(e))*Math.pow(t,n?-1:1);return Number.isInteger(l)?l:kl(l)},zl=e=>e.replace(/[^\d.,]/g,"").replace(",","."),El=e=>{return(t=[[e=>e.value!==Tl.RUB&&e.oppositeValue!==Tl.RUB,()=>e.handleConvert(e.value,Tl.RUB)],[e=>e.value===Tl.RUB&&e.oppositeValue===Tl.RUB,()=>e.handleConvert(e.value,Tl.USD)],[()=>!0,()=>e.handleConvert(e.value)]],e=>{const[,n]=t.find((([t])=>t(e)))||[];return n})(e)?.();var t},Gl=x((({context:e,className:t="",currencyRatesBuy:n,currencyRatesSell:r,button:a})=>{const{useRouter:i,handlerDecorator:s}=e,o=i(),[c,d]=l({inputSell:"",inputBuy:"",selectSell:n?.[0]?.code||Tl.RUB,selectBuy:r?.[0]?.code||Tl.USD}),m=e=>{d((t=>({...t,...e})))};return u("div",{className:`grid gap-[18px] pt-2 ${t}`,children:[Fl({placeholder:"Хочу продать",rates:r,selected:c.selectSell,setSelected:Hl(c,m,r),value:c.inputSell,setValue:e=>Jl(m,r)(e,c.selectSell,c.selectBuy)}),Fl({placeholder:"Получу",rates:n,selected:c.selectBuy,setSelected:Xl(c,m,n),value:c.inputBuy,setValue:e=>Wl(m,n)(e,c.selectBuy,c.selectSell)}),a?.text?h($e,{className:"py-4 mr-1",version:a?.version,...he({router:o,handlerDecorator:s},a),children:a.text}):null]})})),Hl=(e,t,n)=>l=>{t({selectSell:l}),El({value:l,oppositeValue:e.selectBuy,handleConvert:(l=e.selectSell,r=e.selectBuy)=>{Jl(t,n)(e.inputSell,l,r)}})},Xl=(e,t,n)=>l=>{t({selectBuy:l}),El({value:l,oppositeValue:e.selectSell,handleConvert:(l=e.selectBuy,r=e.selectSell)=>Wl(t,n)(e.inputBuy,l,r)})},Jl=(e,t)=>(n,l,r)=>{e({inputSell:zl(n),selectBuy:r});const a=t.find((e=>e.code===r))?.buy||t.find((e=>e.code===l))?.sell;a&&e({inputBuy:String(Ul(n,a,l===Tl.RUB)||"")})},Wl=(e,t)=>(n,l,r)=>{e({inputBuy:zl(n),selectSell:r});const a=t.find((e=>e.code===r))?.sell||t.find((e=>e.code===l))?.buy;a&&e({inputSell:String(Ul(n,a,l===Tl.RUB)||"")})},Yl={address:"Москва, ул.Ленина д.28",distance:"6км"},Kl=x((({className:e="",context:t,title:n="Курсы обмена валют",button:l,...r})=>{const a=function(){const{data:e}=pn($l,Cl),t=e?.hits?.hits?.map((e=>e._source))||[];return t.length?Il(t):t}(),i=a.filter((e=>e.buy));i.unshift({code:Tl.RUB});const s=a.filter((e=>e.sell));return s.push({code:Tl.RUB}),h(v,{context:t,className:`bg-white text-primary-text font-sans p-9 box-border min-h-[320px] \n ${e}`,...r,children:h(Ae,{context:t,title:h(C,{headingType:"h4",title:n,className:"whitespace-pre-wrap text-h4 mb-5"}),children:u("div",{className:"flex",children:[u("div",{className:"mr-14 pt-4",children:[a?h(Ll,{className:"mb-[30px]",exchangeCurrencyItems:a}):null,h(Vl,{...Yl})]}),a.length&&i.length&&s.length?h(Gl,{className:"grow",context:t,currencyRatesBuy:i,currencyRatesSell:s,button:l}):null]})})})})),Zl={"bg-white":"normal",transparent:"white"},Ql={"bg-white":"text-primary-main",transparent:"text-white"},ql={"bg-white":"text-primary-text",transparent:"text-white"},er=x((({className:e="",href:t,logo:n,children:l=n?.title,targetBlank:r,bgColor:a="bg-white",showTitle:i=!0})=>u("a",{className:`inline-flex items-center font-sans no-underline ${e}`,href:t||"/",target:r?"_blank":"_self","aria-label":n?.title||"Россельхозбанк",children:[h(F,n?.image?.src?{image:n.image,className:Ql[a],width:"40",height:"45",asSVG:!0}:{image:{icon:"LogoIcon",iconVersion:Zl[a]},className:`${Ql[a]} w-10`,width:"40",height:"45",asSVG:!0}),i?tr(l,a,n?.title):null]}))),tr=(e,t,n)=>h("span",{className:`${ql[t]} font-medium ml-2.5`,children:e||n||"Россельхозбанк"}),nr=x((({className:e,isMobile:t=!1})=>{const{term:n,setTerm:r}=(()=>{const[e,t]=l("");return{term:e,setTerm:e=>t(e)}})(),a=t?"text-s":"text-l-light",i=t?" placeholder-transparent":"h-full",s=t?"some search":void 0;return u("form",{className:`font-sans relative ${e}`,children:[u("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[h("div",{className:t?"w-5 h-5":"w-6 h-6",children:h(F,{image:"LoupeIcon",width:"24",height:"24"})}),n?null:h("label",{htmlFor:"search-bar-input",className:`text-secondary-text ${a}`,children:"Поиск по сайту"})]}),h("input",{id:"search-bar-input",className:`h-12 pl-12 w-full peer text-l text-black border border-solid rounded-md box-border\n outline-none pr-[6%] border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text ${i}`,value:n,onChange:e=>r(e.target.value),type:"text",name:"search-bar-input",placeholder:s}),t?h("button",{className:"visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none",onClick:e=>{e.preventDefault(),r("")},children:h(F,{image:"CloseIcon",width:"24",height:"24"})}):h($e,{version:"primary",text:"Найти",className:"invisible peer-focus:visible absolute top-[3px] right-1",onClick:e=>{e?.preventDefault(),console.log("click")},children:h("div",{className:"text-s px-9 py-2.5",children:"Найти"})})]})})),lr=x((({className:e=""})=>h(nr,{className:e}))),rr=x((({className:e="",items:t,hasButton:n,context:l})=>{const r=l.useRouter(),{handlerDecorator:a}=l;return u("div",{className:e,children:[t?.length?t.map(ar):null,n?h($e,{version:"primary",className:"mb-6 w-full",...he({router:r,handlerDecorator:a},{text:"Обратная связь",href:"/",target:"_blank"}),ariaLabel:"Обратная связь"}):null]})})),ar=(e,t)=>{const{type:n,text:l,description:r}=e;return u("div",{className:"mb-4",children:[h("div",{children:ir(n,l)}),h("div",{className:"mt-1 text-s-light text-secondary-text",children:r})]},String(t))},ir=(e,t="")=>{switch(e){case"tel":return h("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${sr(t)}`,children:t});case"email":return h("a",{className:"text-xl-light text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return h("span",{children:t})}},sr=e=>e.replaceAll(/\D/g,""),or=x((({className:e="",index:t,text:n,href:l,target:r,onClick:a})=>h("a",{className:`text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:l,target:r,onClick:a,children:n||`Документ ${t}`}))),cr=x((({links:e,className:t="",context:n})=>{const l=n.useRouter(),{handlerDecorator:r}=n;return h("div",{className:t,children:e?.length?h("div",{className:"flex justify-between items-center gap-5 py-5 border-solid border-x-0 border-y border-y-main-divider",children:e.map(((e,t)=>h(or,{index:t,className:"text-l-light max-w-[292px]",...he({router:l,handlerDecorator:r},e)},String(t))))}):null})})),dr=e=>t=>e?.href===t?.href,mr=(e,t)=>{return(l=e,r=t,(l||[]).map((e=>r?.find(dr(e))||e))).concat((n=e,(t||[]).filter((e=>!n?.find(dr(e))))));var n,l,r};function hr(e={}){const{data:t}=pn(`/wcms-resources/${c.SITEMAP||"sitemap"}.json`,fn,{fallback:e});return t||{}}const ur=x((({className:e="",items:t,fallback:n,context:l})=>{const r=hr(n),a=mr(r.topItems,t),i={router:l.useRouter(),handlerDecorator:l.handlerDecorator};return h("div",{className:`flex flex-grow items-start justify-between gap-[54px] xl:gap-5 ${e}`,children:a?.map(((e,t)=>xr(e,t,i)))})})),xr=(e,t,{router:n,handlerDecorator:l})=>{const{text:r,href:a,items:i,target:s}=e;return u("div",{className:"flex flex-col w-1/5 last:w-1/4 gap-3.5",children:[h("a",{className:"block leading-5 text-l text-primary-text hover:text-primary-main no-underline",href:a,target:s||"_self",children:r||`Раздел ${t}`}),i?.map(((e,t)=>h(pr,{...he({router:n,handlerDecorator:l},e),index:t},String(t))))]},String(t))},pr=x((({text:e,href:t,target:n,index:l})=>h("a",{className:"block text-l-light text-secondary-text hover:text-primary-main no-underline",href:t,target:n||"_self",children:e||`Раздел ${l}`}))),br=[{origins:["t.me","telegram.org"],icon:{icon:"TelegramIcon"},label:"Телеграм"},{origins:["vk.com"],icon:{icon:"VKIcon"},label:"ВКонтакте"},{origins:["ok.ru"],icon:{icon:"OkIcon"},label:"Одноклассники"},{origins:["apps.apple.com"],icon:{icon:"AppleIcon"},label:"App Store"},{origins:["play.google.com"],icon:{icon:"PlayMarketIcon"},label:"Google Play"}],gr=x((({href:e,version:t="primary"})=>{const{icon:n,label:l}=br.find((({origins:t})=>t.some((t=>e?.includes(t)))))||{};if(!n)return null;return h("a",{className:`flex items-center justify-center rounded-md w-14 h-14 group box-border ${"secondary"===t?"bg-white hover:bg-secondary-hover":"border-solid border-[1px] border-main-divider hover:border-transparent hover:bg-primary-main"} ${"primary"===t?"hover:text-black":""}`,href:e,"aria-label":l,target:"_blank",rel:"noopener noreferrer",children:n?h(F,{image:n,imageClassName:"group-hover:text-white",width:"24",height:"24",asSVG:!0}):null})})),fr=x((({className:e="",media:t,version:n,context:l,children:r})=>{const a=l.useRouter(),{handlerDecorator:i}=l;return u("div",{className:"font-sans",children:[h("div",{className:`flex gap-2.5 ${e}`,children:t?.map(((e,t)=>h(gr,{version:n,...he({router:a,handlerDecorator:i},e)},String(t))))}),h("span",{className:"text-s-light text-secondary-text",children:r})]})})),Nr=x((({className:e="",index:t,text:n,href:l,target:r,onClick:a})=>h("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:l,target:r,onClick:a,children:n||`Документ ${t}`}))),vr=x((({className:e,links:t,context:n})=>{const l=n.useRouter(),{handlerDecorator:r}=n;return u("div",{className:`${e||""}`,children:[h("div",{className:"pt-5",children:h("span",{className:"text-xs-light text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?h("div",{className:"flex justify-start items-start gap-5 pt-2.5",children:t.map(((e,t)=>h(Nr,{index:t,...he({router:l,handlerDecorator:r},e)},String(t))))}):null]})})),yr="w-[204px]",wr=x((({className:e,documents:t,relatedEnterprises:n,contacts:l,socialMedia:r,mobileApps:a,topItems:i,context:s,page:o,...c})=>{const d=o?.fallback;return u(v,{tag:"footer",context:s,className:`p-9 bg-white font-sans ${e||""}`,...c,children:[u("div",{className:"flex items-stretch gap-[54px] pb-[30px] xl:gap-8",children:[h(er,{className:yr}),h(lr,{context:s,className:"grow"})]}),u("div",{className:"flex items-stretch gap-[54px] xl:gap-8",children:[u("div",{className:"w-[204px] flex flex-col shrink-0 overflow-hidden",children:[h(rr,{items:l,context:s,hasButton:!0}),h(fr,{media:r,context:s,children:"Соцсети"}),h(fr,{className:"mt-6",media:a,context:s,children:"Мобильное приложение"})]}),h(ur,{className:"pt-[3px]",context:s,items:i,fallback:d})]}),h(cr,{className:"mt-[98px]",links:n,context:s}),h(vr,{links:t,context:s})]})})),kr=x((({context:e,className:t="",title:n,description:l,calendar:r,...a})=>u(v,{className:`font-sans bg-white p-[50px] ${t}`,context:e,...a,children:[h(B,{context:e,className:"!p-0",title:n,description:l,headlineVersion:"M",align:"center"}),r?Cr(r):null]}))),Cr=e=>{const t=100/(e.reduce(((e,t)=>t?.month?.length?e+t.month.length:e),0)||1),n=e.filter((e=>e?.month?.length)).map((e=>({...e,flexBasis:e.month.length*t+"%"})));return u("div",{className:"w-full flex flex-col justify-center mt-13",children:[h("div",{className:"flex w-full mb-3 text-h6 text-center",children:n.map((e=>$r(e,t)))}),h("div",{className:"flex w-full",children:n.map(((e,t)=>u("div",{className:"pr-[11px] mr-3 border-r border-main-divider last:border-r-0 last:pr-0 last:mr-0",style:{flexBasis:e.flexBasis},children:[h("div",{className:"flex",children:Sr(e)}),u("div",{className:"text-s-light text-primary-text mt-3",children:[h("span",{children:e.text})," ",h("span",{className:"text-primary-main",children:e.greenText})]})]},`monthItem-${t}`)))})]})},$r=(e,t)=>e.month?.map(((e,n)=>h("div",{style:{flexBasis:`${t}%`},children:e.name},`monthName-${n}`))),Sr=e=>e.month?.map((e=>e.image?.src?h("div",{className:"h-[207px] border-r-[1px] pr-3 mr-3 border-main-divider last:border-r-0 last:pr-0 last:mr-0",children:h(F,{image:e.image,className:"flex"})},`monthImage-${e.image.src}`):null)),Ir=(e,t,n=((e,t)=>t.startsWith(e)))=>n(ie(e),(e=>(e||"").replace(ce,""))(ie(ae(e)?t.href:t.pathname))),Tr=e=>t=>Ir(t.href,e),Br=e=>t=>t.items?.some(Tr(e))||Ir(t.href,e)||((e,t)=>se(e)===se(t.href))(t.href,e),Dr="font-sans text-s-light",Rr=x((({className:e="",text:t,href:n,target:l,active:r,flat:a,onClick:i,children:s,ariaLabel:o,bgColor:c="bg-white"})=>h("a",{className:`${_r(c,r,a)} ${e}`,href:n,target:l,onClick:i,rel:"noopener noreferrer","aria-label":o,children:h("span",{className:Lr(c,r,a),children:t||s})}))),_r=(e,t=!1,n=!1)=>{let l="border-transparent";return t&&(l="rounded-md "+("bg-white"===e?"border-primary-main":"border-white")),`${l} inline-block border border-solid bg-transparent text-center no-underline ${n?"":"px-4 py-2"}`},Lr=(e,t=!1,n=!1)=>{if("transparent"===e)return`text-white hover:text-primary-hover ${Dr}`;return`${t?"text-primary-main":(n?"text-primary-text":"text-secondary-text")+" hover:text-primary-main"} ${Dr}`},jr=o("https://10.80.4.9");const Vr=x((({className:e="",children:t,ariaLabel:n})=>h("button",{type:"button",className:`border-0 p-0 w-[24px] h-[24px] flex items-center bg-inherit cursor-pointer ${e}`,disabled:!0,"aria-label":n,children:t}))),Mr={"bg-white":"text-primary-text hover:text-primary-main",transparent:"text-white"},Ar={"bg-white":"text-secondary-light hover:text-secondary-hover",transparent:"text-white"},Or={"bg-white":"black",transparent:"white"},Pr=x((({className:e,defaultLocation:t="",bgColor:n="bg-white"})=>{const[i,s]=function(e){const[t,n]=l(e);return r((()=>{n(globalThis?.localStorage.getItem("location")||e)}),[e]),[t,a((()=>{jr.getFetcherAddress().then((t=>{const l=t||e;globalThis?.localStorage.setItem("location",l),n(l)}))}),[e])]}(t);return u("div",{className:`flex items-center ${e||""}`,children:[h(Rr,{className:"mr-5",flat:!0,href:"#",text:i,ariaLabel:"Местоположение",onClick:s,bgColor:n}),h(Rr,{className:"mr-7",flat:!0,href:"#",text:"Офисы и банкоматы",ariaLabel:"Список всех доступных офисов и банкоматов",bgColor:n}),h(Vr,{className:`mr-5 group ${Mr[n]}`,ariaLabel:"Поиск по сайту",children:h(F,{image:{icon:"LoupeIcon",iconVersion:Or[n]},className:"h-full pointer-events-none",imageClassName:"group-hover:text-primary-hover group-hover:invert-0 pointer-events-none",asSVG:!0})}),h(Vr,{className:`${Ar[n]} group min-w-[32px] min-h-[32px]`,ariaLabel:"Дополнительные ссылки",children:h(F,{image:{icon:"GridIcon",iconVersion:Or[n]},className:"h-full bg-main-divider/20 rounded-full pointer-events-none",imageClassName:"group-hover:text-primary-hover group-hover:invert-0",asSVG:!0})})]})})),Fr="absolute left-0 -bottom-3 w-full h-[2px]",Ur=x((({className:e="",text:t,href:n,target:l,active:r,onClick:a,children:i,bgColor:s="bg-white",dataItemName:o})=>u("a",{className:`relative inline-block bg-transparent text-center no-underline ${e}`,href:n,target:l,onClick:a,"data-item-name":o,children:[h("span",{className:zr(s,r),children:t||i}),r?h("div",{className:Er(s,r)}):null]}))),zr=(e,t=!1)=>{let n="text-white";return"bg-white"===e&&(n=t?"text-primary-main":"text-primary-text hover:text-primary-main"),`${n} font-sans text-l-light`},Er=(e,t=!1)=>t?`${"bg-white"===e?"bg-primary-main":e} ${Fr}`:Fr,Gr={"bg-white":"bg-primary-text",transparent:"bg-white"},Hr=x((e=>{const{menuVisible:t,toggleMenu:n,menuItems:l,bgColor:r,context:a,activeSubItem:i}=e,{useRouter:s,handlerDecorator:o}=a,c=s();return u("div",{className:"absolute w-52 -top-4 right-0 pt-4 z-40 "+(t?"bg-white rounded-md shadow-blue-gray/24":""),children:[h("button",{className:"flex justify-between items-center cursor-pointer h-6 ml-6",onClick:n,"aria-label":""+(t?"Скрыть другие разделы":"Показать другие разделы"),children:Array(3).fill(r).map(Jr)}),h("div",{className:"flex flex-col rounded-md bg-white p-6 pb-2 "+(t?"":"hidden"),"aria-hidden":!t,children:Xr({menuItems:l,router:c,handlerDecorator:o,activeSubItem:i})})]})})),Xr=({menuItems:e,router:t,handlerDecorator:n,activeSubItem:l})=>e?.map((e=>{return h("a",{...he({router:t,handlerDecorator:n},e),className:"text-l-light pb-4 hover:text-primary-main "+(r=e,r===l?"text-primary-main":""),children:e.text},e.href);var r})),Jr=(e,t)=>h("div",{className:`w-[3px] h-[3px] rounded mr-1 ${Gr[e]}`},String(t)),Wr=x((({context:e,subItems:t=[],bgColor:n})=>{const[r,a]=l(!1),i=e.useRouter(),{handlerDecorator:s}=e,[o,c]=l(t.length),d=t.slice(o),m=(e=>(t=[])=>{const n=t?.filter(Tr(e));return n?.length?(l=e=>e.href?.length||0,e=>e.reduceRight(((e,t)=>l(e)>l(t)?e:t)))(n):void 0;var l})(i)(t);return u("nav",{className:"relative mt-6",children:[h("div",{className:"overflow-hidden whitespace-nowrap mr-52 pb-3",children:t.map(((e,t)=>{return h(f,{tag:"span",observerCallback:(l=t,e=>{e.length&&(e[0].intersectionRatio<1?c((e=>Math.min(e,l))):c((e=>Math.max(e,l+1))))}),observerOptions:{threshold:1},children:h(Ur,{className:"mr-8 "+(o-1<t?"invisible":""),active:e===m,...he({router:i,handlerDecorator:s},e),bgColor:n})},String(t));var l}))}),d.length?h(Hr,{context:e,activeSubItem:m,menuVisible:r,toggleMenu:()=>a(!r),menuItems:d,bgColor:n}):null]})})),Yr={"bg-white":"bg-main-divider",transparent:"bg-main-divider opacity-30"},Kr=x((({className:e="",defaultLocation:t="Москва",showSubMenu:n=!0,bgColor:l="bg-white",context:r,topItems:a,logo:i,page:s,...o})=>{const c=r.useRouter(),d=s?.fallback,m=hr(d),{handlerDecorator:x}=r,p=mr(m.topItems,a),[b]=p,g=n?p.find(Br(c))||b:null,f=p.map(((e,t)=>h(Rr,{active:e===g,...he({router:c,handlerDecorator:x},e),"aria-label":e.text,bgColor:l},String(t))));return h(v,{tag:"header",context:r,className:`pt-6 px-20 ${l} ${e} ${n&&g?.items?.length?"pb-4":"pb-5"}`,...o,children:u("div",{className:"container",children:[u("div",{className:"flex items-center",children:[h(er,{className:"mr-8",bgColor:l,logo:i}),f,h(Pr,{className:"ml-auto",defaultLocation:t,bgColor:l})]}),h("div",{className:`mt-6 h-[1px] ${Yr[l]}`}),n&&g?.items?.length?h(Wr,{context:r,subItems:g.items,bgColor:l}):null]})})})),Zr=x((({className:e="",cards:t=[],button:n})=>{const[r,a]=l(0),[i,s]=l(0),o=t?.length??0,c=t?.length>2&&o>i+2,d=o===i+2,m=i>0,x=t[r]?.href;return u("section",{role:"listitem",className:`min-w-full text-center ${e}`,children:[u("div",{className:"relative overflow-hidden",children:[o?Qr({tabsShift:i,cards:t,activeSlideIndex:r,isLastShift:d,setActiveSlideIndex:a}):null,rt({handler:[()=>s(i-1),()=>s(i+1)],isShown:[m,c],btnClass:["left-[50px]","right-[50px]"],className:"top-[62px]"}),m?h("div",{className:"absolute top-0 left-0 h-full w-[136px] bg-opacity-from-white"}):null,c?h("div",{className:"absolute top-0 right-0 h-full w-[136px] bg-opacity-to-white"}):null]}),h($e,{className:"w-[240px] text-center",version:"primary",...n,href:x})]})}));function Qr({tabsShift:e,cards:t,activeSlideIndex:n,isLastShift:l,setActiveSlideIndex:r}){const a=l?460*e-240:460*e,i=t.length>2?"justify-start":"justify-center";return h("div",{style:{transform:`translateX(-${a}px)`},className:"duration-1000 px-[50px]",children:h("div",{className:`w-full flex flex-nowrap gap-3.5 pb-12 ${i}`,children:t.map(((e,t)=>function({slide:e,i:t,activeSlideIndex:n,onClick:l}){const r=t===n;return u("button",{type:"button",onClick:l,className:"p-[30px] min-w-[460px] flex items-center bg-white border-solid border relative "+(r?"shadow-dark-blue/42 border-primary-main":"ease-in duration-300 border-main-stroke"),children:[e?.icon?h(F,{className:"p-5 rounded-full bg-secondary-light mr-[30px]",image:e.icon,width:"108",height:"108"}):null,u("div",{className:"flex gap-3.5",children:[e?.sum?qr("страховая сумма",e.sum):null,e?.fee?qr("страховой взнос",e.fee):null]}),ea(r)]},String(t))}({slide:e,i:t,activeSlideIndex:n,onClick:()=>r(t)})))})})}function qr(e,t){return u("div",{className:"flex flex-col text-left whitespace-pre",children:[u("span",{className:"text-h6",children:[ee(t)," ₽"]}),h("span",{className:"text-secondary-text text-l mt-1",children:e})]})}function ea(e){return e?h(F,{className:"h-6 w-6 min-w-6 min-h-6 absolute right-4 top-4",image:"DoneIcon",width:"24",height:"24"}):null}const ta=x((({className:e="",context:t,title:n,insuranceTabs:r=[],button:a,...i})=>{const[s,o]=l(0);return u(v,{context:t,className:`box-border py-[50px] overflow-hidden relative font-sans w-100 bg-white ${e}`,...i,children:[n?h(C,{className:"text-center mb-8",title:n,headingType:"h3"}):null,r?.length>1?h("div",{className:"p-1.5 bg-secondary-light w-fit mx-auto mb-7 rounded-md",children:r.map(((e,t)=>function({title:e,i:t,activeSlideIndex:n,onClick:l}){return h("button",{type:"button",onClick:l,"aria-label":e,className:"box-border px-4 py-3 text-m-light "+(t===n?"bg-primary-main text-white rounded-md":"text-secondary-text"),children:e},String(t))}({title:e?.title,i:t,activeSlideIndex:s,onClick:()=>o(t)})))}):null,h("div",{className:"flex",style:{transform:`translateX(-${s}00%)`},role:"list",children:na({context:t,className:e,insuranceTabs:r,button:a})})]})})),na=({insuranceTabs:e,button:t,context:n,className:l=""})=>{const r=e?.map((e=>e.cards));return r?.length?r.map(((e,r)=>h(Zr,{context:n,className:l,button:t,cards:e},String(r)))):null};const la={yellow:"bg-yellow",green:"bg-green","green-light":"bg-green-light","green-dark":"bg-green-dark"},ra={XS:"h-[40px]",S:"h-[68px]",M:"h-[102px]",L:"h-[136px]",XL:"h-[204px]"},aa=x((e=>{const{context:t,className:n="",items:l,isDotted:r,investmentZeroColumn:a,investmentColumns:i,...s}=e,o=i?[...i]:[];return a&&o.unshift(a),h(v,{className:`font-sans bg-white p-9 pb-9 ${n}`,context:t,...s,children:u("div",{className:"container text-m-light",children:[o?.length?u("div",{children:[u("div",{className:"flex items-end px-9 text-white",children:[xe(h("div",{className:"w-px h-4 bg-main-stroke"}))(o.map(ia)),h("div",{className:"w-px h-4 bg-main-stroke"})]}),h("div",{className:"border-t border-main-stroke -mt-2 mx-9"}),h("div",{className:"flex justify-between mt-3 -mx-10",children:o.map(ca)})]}):null,l?.length?h(Me,{className:"mt-9 text-h6",items:l,itemClassName:"mb-[7px]",isDotted:r}):null]})})})),ia=(e,t,n)=>{const l=1===t,r=t===n.length-1;return h("div",{className:`${sa(l,r,e.cells)}`,children:e.cells?.length?h("div",{className:"w-full "+(r?"border-4 border-green-more-dark p-1":""),children:e.cells.map(oa)}):null},`column_${t}`)},sa=(e,t,n=[])=>[n.length?"flex-1":"flex-0",!n.length||e||t?"":"pl-2.5",n.length&&!t?"pr-2.5 pb-8":"pb-6"].join(" "),oa=(e,t)=>{const n=e.cellSize||"XS",l=e.cellColor||"green";return e.text?h("div",{className:`flex-1 flex items-center justify-center relative py-2 ${ra[n]} ${la[l]} ${"XS"===n?"px-3":"px-11"}`,children:h("div",{className:"text-center",children:e.text})},`cell_${t}`):null},ca=(e,t,n)=>{const l=0===t,r=t===n.length-1;return h("div",{className:`flex-1 max-w-[180px] text-center px-2 ${l?"pl-9":""} ${r?"pr-9":" "}`,children:e.title},`title_${t}`)},da=x((({className:e="",context:t,title:n="Мобильное приложение",qr:l,buttons:r,version:a="primary",items:i,image:s,headingType:o="h4",...c})=>{const d="primary"===a?"text-primary-text":"",m="secondary"===a?"p-3.5 min-w-[120px]":"min-w-[92px]",x=r?.map((e=>({...e,className:"min-w-[168px]"})));return u(v,{context:t,className:`flex justify-between font-sans p-9 box-border relative min-h-[320px]\n ${Ye(e)}\n ${W[a]}\n ${e}`,...c,children:[h(Ae,{context:t,className:"z-10",title:n?h(C,{headingType:o,as:"h3",title:n,className:`whitespace-pre-wrap max-w-[509px] mb-6\n ${d}`}):null,buttons:r?.length?h(Te,{context:t,buttons:x,className:"flex gap-4"}):null,children:u("div",{className:"flex flex-1 items-center",children:[l?.src?h("div",{className:`flex justify-center mr-5 bg-white rounded-md ${m}`,children:h(F,{className:"w-fit",image:l,alt:"QR-код"})}):null,ma(a,i)]})}),s?.src?h("div",{className:"absolute right-0 bottom-0",children:h(F,{image:s})}):null]})})),ma=(e,t)=>t?.length?h(Me,{items:t,itemClassName:"text-l-light mb-2 last:mb-0",version:e}):h("span",{className:"text-m-light text-secondary-text",children:"Наведите камеру телефона на QR-код и скачайте приложение"}),ha=x((({className:e="",context:t,title:n,servicesList:l,anchor:r="",...a})=>u(v,{context:t,id:r,className:`font-sans bg-white p-8 flex flex-col ${e}`,...a,children:[n?h(C,{headingType:"h5",className:"mb-5",title:n}):null,l?.length?l.map(ua):null]}))),ua=(e,t)=>u("li",{className:"flex mb-5 last:mb-0 list-none",children:[e.icon?h(F,{className:"mr-3 min-w-6 min-h-6 w-6 h-6",width:"24",height:"24",asSVG:!0,image:e.icon}):null,e.label?h("span",{className:"text-l-light",children:e.label}):null]},`list_item_${String(t)}`),xa=x((({context:e,className:t="",children:n,...l})=>h(v,{context:e,className:`font-sans text-primary-text ${t}`,...l,children:n?h("div",{className:"box-border1",children:n}):null})));xa.childrenTypes=["OtherProductsItem"];const pa=x((({className:e,label:t,icon:n,dataTheme:l="",onClick:r})=>u("button",{className:`border-none bg-primary-main hover:bg-primary-hover px-0 py-5 mb-[1px] w-full font-sans text-white flex justify-center cursor-pointer ${e||""}`,"data-theme":l,onClick:r,children:[h("span",{className:"text-h4 pr-3",children:t}),n?h(F,{image:{icon:n,iconVersion:"white"},className:"flex-shrink-0 my-auto",width:"20",height:"20",asSVG:!0}):null]}))),ba=({isUnfolded:e,onToggle:t})=>h(pa,{icon:["ArrowDownIcon","ArrowUpIcon"][Number(e)],label:["Развернуть","Скрыть"][Number(e)],onClick:t}),ga=["ArrowDownIcon","ArrowUpIcon"],fa=x((({className:e,label:t="",colorPalette:n,isUnfolded:l,children:r})=>h("div",{className:`border-0 border-b border-solid border-main-divider ${e}`,children:h($t,{unfoldedByDefault:l,renderFoldableSection:({isUnfolded:e})=>h("div",{className:"box-border",children:h(St,{className:"grid grid-cols-12 gap-1 border-box",isUnfolded:e,children:r})}),renderFoldButton:({isUnfolded:e,onToggle:l})=>h(pa,{label:t,icon:ga[Number(e)],dataTheme:n,onClick:l})})})));function Na(e=""){const t=We(e);return t<=4?"S":t<=8?"M":"L"}fa.childrenTypes=[];const va=x((({className:e,context:t,title:n,description:l="Блок в разработке...",...r})=>u(v,{context:t,className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${Ke(e)} ${Ye(e)} `,...r,children:[h(B,{context:t,className:"!p-0 max-w-[600px]",title:n,description:l,headlineVersion:Na(e)}),h("figure",{className:"m-0 min-w-[80%]",children:ya()})]}))),ya=(e=3)=>ka(100,e).map((e=>Math.floor(e))).map(wa),wa=(e,t)=>h("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),ka=(e,t)=>[e].concat(t>0?ka(e/1.618,t-1):[]),Ca={primary:{title:"text-secondary-text",text:"text-secondary-text"},secondary:{title:"text-white",text:"text-white/80"}},$a=x((({className:e="",context:t,slides:n=[],version:r="primary",...a})=>{const i=n.map((e=>e.nav)),s=n.map((e=>e.productBlock)),[o,c]=l(0);return u(v,{context:t,className:`box-border pt-[50px] overflow-hidden relative font-sans w-100 mb-6 ${e}\n ${W[r]}`,...a,children:[h("div",{className:"flex duration-1000 pb-14",style:{transform:`translateX(-${o}00%)`},role:"list",children:s.map(((e,n)=>function(e,t,n){const{version:l}=e,r=l?Ca[l].title:"";return h("section",{className:"box-border relative flex grow-0 shrink-0 basis-full",role:"listitem",children:h("div",{className:"flex grow",children:h(Pe,{className:`pl-[50px] z-10 ${r}`,context:n,textBlockClassName:"mb-[154px]",...e,headlineVersion:"XXL"})})},String(t))}({...e,version:r},n,t)))}),h("div",{className:"flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border h-28",children:i.map(((e,t)=>function({slide:e,i:t,activeSlideIndex:n,onClick:l,version:r}){const a=t===n,i=a?"bg-white shadow-dark-blue/42 min-w-[350px] border-none p-6":`min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur\n ${W[r]}`,s=a?"text-primary-text !text-h6 p-2":`text-l pb-1 ${Ca[r].title}`,o=a?"text-secondary-text text-l-light":`text-m-light ${Ca[r].text}`,c="secondary"===r?"border-white/50":"border-black/50";return h("button",{type:"button",onClick:l,"aria-label":e?.title,className:`box-border relative overflow-hidden border border-white/50 cursor-pointer text-left mx-1 grow basis-0\n ${i} ${c}\n `,children:u("div",{className:"border-0 px-6",children:[h("div",{className:`last:pb-0 ${s}`,children:e?.title}),h("div",{className:`text-secondary-text ${o}`,children:e.description})]})},String(t))}({slide:e,i:t,activeSlideIndex:o,onClick:()=>c(t),version:r})))})]})}));const Sa=x((({className:e="",context:t,title:n="Акции и спецпредложения",date:l,description:r,buttons:a=[],version:i="primary",...s})=>h(v,{context:t,className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${W[i]} ${Ke(e)} ${Ye(e)} `,...s,children:h(Ae,{context:t,title:n?h(B,{context:t,title:n,className:"!p-0 max-w-[600px]",headlineVersion:Na(e),bgColorHeadline:i,align:"left",as:"h2"}):null,buttons:a?.length?h(Te,{context:t,buttons:a,className:"flex gap-3"}):null,children:u("div",{className:"mt-1.5",children:[l?h("div",{className:"text-s mb-2",children:Ia(l)}):null,h("div",{className:"text-l",children:r})]})})})));function Ia(e){return new Date(e).toLocaleString("ru-RU",{day:"numeric",month:"long",year:"numeric"}).replace("г.","")}const Ta=x((({context:e,className:t="",title:n,description:l,items:r,image:a,version:i,socialMedia:s})=>{const o=n?h(C,{headingType:"h5",as:"h3",className:"mb-3.5 z-10",title:n}):null,c=a?.src?h(F,{className:"absolute bottom-0 right-0 m-0",image:a}):null;return h("section",{className:`relative overflow-hidden text-left border border-solid box-border p-7 min-w-[524px] min-h-[218px] ${t}`,role:"listitem",children:h(Ae,{context:e,className:"flex justify-between",title:o,image:c,children:u("div",{className:"h-full flex flex-col justify-between",children:[l?h(w,{className:"mb-2",description:l}):null,r?.length?h(Me,{className:"text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]",items:r,version:i}):null,s?h(fr,{className:"pt-10 pb-0",media:s,version:i,context:e}):null]})})})})),Ba="absolute top-0 bottom-0 w-[84px]",Da=x((({context:e,recommendations:t=[],className:n="",title:r,version:a,...i})=>{const[s,o]=l(0),c="secondary"===a?"border-white/50":"border-main-stroke";return u(v,{context:e,className:`relative font-sans p-9 overflow-hidden text-center ${"secondary"===a?"bg-primary-main text-white":"bg-white text-primary-text"} ${n}`,...i,children:[r?h(C,{headingType:"h3",className:"mb-6",title:r}):null,u("div",{children:[h("div",{className:"flex duration-1000 gap-3.5",style:{transform:`translateX(-${525*s}px)`},role:"list",children:t?.length?t.map(Ra({context:e,version:a,className:c})):null}),_a({cardsCount:t.length,activeCardIndex:s,setActiveCardIndex:o})]}),h("div",{className:`${Ba} left-0 ${"secondary"===a?"bg-opacity-from-main":"bg-opacity-from-white"}`}),h("div",{className:`${Ba} right-0 ${"secondary"===a?"bg-opacity-to-main":"bg-opacity-to-white"}`})]})})),Ra=({context:e,version:t,className:n})=>(l,r)=>h(Ta,{context:e,...l,version:t,className:n},String(r)),_a=({cardsCount:e,activeCardIndex:t,setActiveCardIndex:n})=>{const l=e>2;return h("div",{children:rt({handler:[()=>n(t-1),()=>n(t+1)],isShown:[l&&t>0,l&&e-t>2],btnClass:["left-8","right-8"],className:"top-1/2 mt-3"})})},La=[];const ja=async e=>await gn(e,{method:"GET"})||La,Va=x((({data:e,fieldLabel:t,fieldValue:n,selected:l,placeholder:r="",setSelected:a,label:i})=>{const s=e.filter(Boolean).map((e=>({key:e?.[n||t],text:e?.[t]}))),o=s.find((e=>e.key===l));return h(Ml,{options:s,label:i,placeholder:r||l,onChange:e=>a(e.key),value:o})})),Ma=x((({regions:e=[],selectedRegion:t,onSelectedRegion:n,branches:l=[],selectedBranch:r,onSelectedBranch:a})=>u("div",{className:"flex justify-between gap-4 mb-6",children:[h("div",{className:"max-w-[396px] w-1/2",children:h(Va,{data:e,fieldValue:"code",fieldLabel:"name",selected:t,setSelected:n,label:"Регион"})}),h("div",{className:"max-w-[396px] w-1/2",children:h(Va,{data:l,fieldValue:"branchCode",fieldLabel:"address",selected:r,setSelected:a,label:"Отделение",placeholder:"Выберите отделение"})})]}))),Aa=x((({name:e,text:t,value:n,checked:l,onChange:r,className:a})=>h("div",{className:a,children:u("label",{className:"flex items-center relative cursor-pointer",children:[h("input",{className:"appearance-none flex justify-center items-center shrink-0 w-5 h-5 border border-gray hover:border-checkbox-hover\n checked:border-2 checked:!border-primary-main focus:checked:border-primary-main focus:border-primary-text active:border-primary-text\n after:block after:w-2.5 after:h-2.5 after:rounded-full checked:after:bg-primary-main outline-none rounded-full cursor-pointer",type:"radio",value:n,name:e,checked:l,onChange:r}),t?h("span",{className:"font-sans ml-3 cursor-pointer",children:t}):null]})}))),Oa=x((()=>{const[e,t]=l("option2"),n=e=>t(e.target.value);return u("div",{children:[h(Aa,{className:"mb-2",name:"contractType",text:"Простое хранение",value:"option1",checked:"option1"===e,onChange:n}),h(Aa,{name:"contractType",text:"Сделка с недвижимостью",value:"option2",checked:"option2"===e,onChange:n})]})})),Pa=["От 1 дня","До 365 дней"],Fa=x((({days:e,setDays:t})=>u("div",{className:"mb-6",children:[h("span",{className:"block text-m-light mb-[3px]",children:"Срок аренды"}),h(dn,{min:1,max:365,value:e,items:Pa,onChange:t})]}))),Ua=x((({caseVolumes:e=[],selectedCaseVolume:t,onSelectedCaseVolume:n,safeBoxCases:l=[],selectedBoxSize:r,onSelectedBoxSize:a})=>u("div",{className:"flex justify-between mb-6",children:[h("div",{className:"mr-4 w-full",children:h(Va,{data:e,fieldLabel:"volume",selected:t,setSelected:n,label:"Размер",placeholder:"Выберите размер"})}),h("div",{className:"w-full",children:h(Va,{data:l,fieldLabel:"safeBoxCasesSize",selected:r,setSelected:a,label:"Параметры ячейки, мм (ВхШхД)",placeholder:"Выберите параметр ячейки"})})]}))),za=x((({regions:e,selectedRegion:t,branches:n,selectedBranch:l,days:r,selectedCaseVolume:a,selectedBoxSize:i,safeBoxCases:s,caseVolumes:o,onChange:c,onShowMapToggle:d})=>u("div",{className:"flex-1 mr-9",children:[h(Ma,{regions:e,selectedRegion:t,onSelectedRegion:e=>c({selectedRegion:e}),branches:n,selectedBranch:l,onSelectedBranch:Ea(c)}),h(Fa,{days:r,setDays:e=>c({days:e})}),h(Ua,{caseVolumes:o,selectedCaseVolume:a,onSelectedCaseVolume:Ga(c),safeBoxCases:s,selectedBoxSize:i,onSelectedBoxSize:e=>c({selectedBoxSize:e})}),h("span",{className:"text-secondary-text text-l-light",children:"Тип договора"}),u("div",{className:"flex justify-between items-center mt-5",children:[h(Oa,{}),h($e,{text:"Офисы на карте",version:"primary",onClick:d})]})]}))),Ea=e=>t=>{e({selectedBranch:t,selectedCaseVolume:"",selectedBoxSize:""})},Ga=e=>t=>{e({selectedCaseVolume:t,selectedBoxSize:""})},Ha=x((({days:e,tariffs:t=[]})=>{const n=Ja(e,t);return u("div",{className:"flex flex-col justify-between",children:[u("div",{className:"flex",children:[Xa("Аренда за",e,"mr-11"),Xa("Цена",n+" ₽")]}),u("div",{className:"bg-primary-main px-10 pt-10 pb-4 text-center",children:[h(F,{image:{icon:"PackA4Icon"},width:"290",height:"257",asSVG:!0}),u("span",{className:"text-s-light text-white opacity-80 mt-2 inline-block",children:["На рисунки изображена пачка",h("br",{})," листов формата А4"]})]})]})})),Xa=(e,t,n="")=>u("div",{className:n,children:[h("div",{className:"text-m-light text-secondary-text mb-1",children:e}),h("span",{className:"text-h3 text-primary-text",children:t})]}),Ja=(e,t)=>{const n=Wa(e);return e*(t?.find((e=>e.tariffType===String(n)))?.tariffValue||0)},Wa=e=>{let t=1;switch(!0){case e>30&&e<=90:t=2;break;case e>90&&e<=180:t=3;break;case e>180&&e<=365:t=4}return t},Ya=(e,t)=>e.find((e=>e.branchCode===t)),Ka=x((e=>{const{regions:t,data:n,branches:l,onChange:a,onShowMapToggle:i}=e;r((()=>{a({selectedBranch:"",selectedCaseVolume:"",selectedBoxSize:""})}),[n.selectedRegion,a]);const s=Ya(l,n.selectedBranch),o=Za(s?.safeBoxCaseVolumes),c=Qa(s?.safeBoxCaseVolumes,n.selectedCaseVolume)?.safeBoxCases,d=qa(c,n.selectedBoxSize);return u("div",{className:"flex justify-between align-top mb-6",children:[h(za,{...n,regions:t,onShowMapToggle:i,branches:l,caseVolumes:o,safeBoxCases:c,onChange:a}),h(Ha,{days:n.days,tariffs:d})]})})),Za=e=>e?.length?e?.filter((e=>e?.safeBoxCases?.length)):[],Qa=(e,t)=>e?.find((e=>e.volume===t)),qa=(e,t)=>e?.find((e=>e.safeBoxCasesSize===t))?.tariffs;function ei(e,t,n){t.geoObjects.removeAll();const l=e.templateLayoutFactory.createClass('<div style="margin-top: -3px;">{{properties.geoObjects.length}}</div>'),r=new e.Clusterer({clusterIcons:[{href:"icons/MapMarkerClusterIcon.svg",size:[78,84],offset:[-35,-50]}],clusterIconContentLayout:l,clusterHideIconOnBalloonOpen:!1,geoObjectHideIconOnBalloonOpen:!1}),a=n.map((t=>new e.Placemark(t,{},{iconLayout:"default#image",iconImageHref:"icons/MapMarkerSingleIcon.svg",iconImageSize:[78,84],iconImageOffset:[-35,-50]})));r.add(a),t.geoObjects.add(r),t.setBounds(e.util.bounds.fromPoints(n)).then((()=>{t.getZoom()>10&&t.setZoom(10)}))}const ti=e=>globalThis[e];const ni=()=>{const e=function(e,t){const[n,i]=l(),s=a((()=>i(ti(e))),[e]);return r((()=>{const n=document.getElementById(t);if(!n){const e=document.createElement("script");return e.src=t,e.async=!0,e.id=t,e.addEventListener("load",s),document.head.appendChild(e),()=>{document.head.removeChild(e),i(void 0)}}if(!ti(e))return n.addEventListener("load",s),()=>{n.removeEventListener("load",s)};s()}),[e,t]),n}("ymaps",`https://api-maps.yandex.ru/2.1/?apikey=${c.YANDEX_MAP_API_KEY}&lang=ru_RU`);return e},li=x((({points:e})=>{const t=s(null),n=ni();return r((()=>{n?.ready((()=>{t.current=new n.Map("map",{center:e[0],zoom:10}),ei(n,t.current,e)}))}),[n]),r((()=>{t.current&&e&&n&&ei(n,t.current,e)}),[t,e,n]),n?u("div",{className:"pt-12 mt-1 bg-white",children:[h(C,{title:"Офисы на карте",headingType:"h3",className:"mb-8 text-center"}),h("div",{id:"map",className:"h-[640px]"})]}):null})),ri=x((({title:e,footnote:t,context:n,className:r="",...i})=>{const[s,o]=l(!1),[c,d]=l({selectedRegion:"",selectedBranch:"",selectedCaseVolume:"",selectedBoxSize:"",days:26}),m=function(){const{data:e}=pn("/api/v1/regions",fn);return e||[]}(),x=ai(c.selectedRegion,m),p=function(e){const{data:t}=pn(e?`/api/v1/safeboxes?regionCode=${e}`:null,ja);return t||La}(x),b=a((e=>d((t=>({...t,...e})))),[d]),g=(f=Ya(p,c.selectedBranch)||p,Array.isArray(f)?f.map((e=>e.gpsLatitude&&e.gpsLongitude?[e.gpsLatitude,e.gpsLongitude]:[])):f?.gpsLatitude&&f?.gpsLongitude?[[f.gpsLatitude,f.gpsLongitude]]:[]);var f;return u(v,{context:n,className:r,...i,children:[u("div",{className:"font-sans bg-white px-8 py-12",children:[e?h(C,{title:e,headingType:"h3",as:"h2",className:"mb-2.5 text-center"}):null,h(Ka,{regions:m,branches:p,data:{...c,selectedRegion:x},onShowMapToggle:()=>{o(!s)},onChange:b}),t?h("p",{className:"text-s-light text-secondary-text",children:t}):null]}),g.length&&s?h(li,{points:g}):null]})})),ai=(e,t)=>!e&&t?.length&&t[0]?.code?t[0].code:e,ii=e=>Boolean(e?.icon||e?.src),si={primary:{background:"bg-white",title:"text-primary-text",description:"!text-secondary-text text-l-light",iconText:"text-secondary-text",iconBackground:"bg-main-divider",iconConnector:"bg-secondary-light",dot:"bg-secondary-text"},secondary:{background:"bg-primary-main",title:"text-white",description:"!text-white/80 text-l-light",iconText:"text-white",iconBackground:"bg-white/30",iconConnector:"bg-white",dot:"bg-white/80"}},oi=({items:e,isDotted:t=!0,version:n="primary",className:l=""})=>e?h(Me,{className:`mt-4 ${l}`,version:"primary"===n?"gray":n,items:e,listItemSize:"S",isDotted:t}):null,ci=({styleMap:e,isMainButton:t,version:n,router:l,handlerDecorator:r})=>(a,i,{length:s})=>{const{label:o,description:c,button:d,items:m,isDotted:x}=a,p=`${d?.text?"mb-8":""} ${a?.label?"mt-2":"mt-4"}`;return u("div",{className:`flex flex-col items-center text-center relative\n whitespace-pre-line overflow-hidden ${s<5?"w-[276px]":"w-[210px]"}`,children:[di(o),mi({description:c,className:`${e.description} ${p}`}),oi({items:m,isDotted:x,version:n,className:e.description}),d?.text&&!t?h($e,{className:"box-border py-3 h-12 w-full max-w-[240px] mt-auto",...he({router:l,handlerDecorator:r},d),version:n,children:d.text}):null]},String(i))},di=e=>e?h("div",{className:"text-x6 m-0 mt-4",children:e}):null,mi=({description:e,className:t=""})=>e?h("div",{className:t,children:e}):null,hi=x((({className:e="",showLines:t=!0,steps:n=[],button:l,version:r="primary",context:a,...i})=>{const s=a.useRouter(),{handlerDecorator:o}=a,{title:c}=i,d=si[r],m=n.length>3,x=(e=>e?"":"opacity-0")(t),p=c?"mt-9":"",b=(e=>e<5?"px-[88px]":"px-[55px]")(n.length);return u(v,{className:["box-border font-sans text-primary-text bg-white",m?"px-20":"px-[70px]","py-[50px] flex flex-col items-center",d.background,d.title,e].join(" "),context:a,...i,children:[c?h(C,{headingType:"h3",className:"max-w-[752px] text-center",title:c}):null,n?.length?u("div",{className:`box-border ${p}`,children:[h("div",{className:`flex items-center ${b}`,children:xe(h("div",{className:`h-0.5 w-full bg-secondary-light ${x}`}))(n.map(ui(d)))}),h("div",{className:"flex justify-between "+(m?"gap-x-3":"gap-x-[101px]"),children:n.map(ci({styleMap:d,isMainButton:Boolean(l?.text),version:r,router:s,handlerDecorator:o}))})]}):null,l?.text?h($e,{className:"mt-8 w-full max-w-[240px]",version:"primary",...he({router:s,handlerDecorator:o},l)}):null]})})),ui=e=>({icon:t},n)=>h("div",{className:"flex flex-col items-center text-center",children:h("div",{className:`h-[100px] w-[100px] min-w-[100px] min-h-[100px] rounded-full p-[26px] box-border z-10 flex justify-center items-center\n ${e.iconBackground} ${e.title}`,children:ii(t)?h(F,{image:t,width:"48",height:"48",asSVG:!0}):h("span",{className:`text-h4 ${e.iconText}`,children:n+1})})},String(n));const xi="h-12 flex-1 flex items-center justify-center cursor-pointer",pi="bg-primary-main",bi="group bg-white",gi="font-sans text-m",fi="text-white",Ni="text-secondary-text group-hover:text-primary-main",vi=(e,t)=>h("h3",{className:`${gi} ${t?fi:Ni}`,children:e}),yi=(e,t)=>h("div",{className:"min-w-[22px] w-[22px] h-[22px] rounded-full text-xs ml-2 flex justify-center items-center "+(t?"bg-white/30 text-white":"bg-main-divider text-secondary-text group-hover:text-primary-main"),children:e}),wi=({onClick:e,currentTab:t,showCounter:n,page:l,context:r})=>(a,i)=>{const{useRouter:s,handlerDecorator:o}=r,c=s(),d=a.type;if("group"!==d&&"link"!==d)return null;switch(d){case"group":return(({onClick:e,currentTab:t,showCounter:n,page:l})=>(r,a)=>{const i=t===r,s=r.ref?l?.blocks?.filter((e=>e?.labels?.includes(r.ref))).length:l?.blocks?.length;return h("div",{className:`${xi} ${i?pi:bi}`,role:"tab","aria-selected":i,onClick:()=>e(r),children:u("div",{className:"flex flex-1 items-center justify-center",children:[r?.title?vi(r.title,i):null,n&&s?yi(s,i):null]})},String(a))})({onClick:e,currentTab:t,showCounter:n,page:l,context:r})(a,i);case"link":{const n=he({router:c,handlerDecorator:o},a),l=n.onClick;return(({text:e,currentTab:t,onClick:n,href:l,target:r="_self",i:a})=>{const i="link"===t?.type&&t.href===l;return h("a",{className:`${xi} ${i?pi:bi}`,target:r,href:l,onClick:n,children:h("span",{className:`${gi} ${i?fi:Ni}`,children:e})},String(a))})({...n,onClick:t=>{l(t),e(a),g.inst.fire("anchorClick",{isScrolling:!0,label:a.href})},currentTab:t,i:i})}default:!function(e){throw new Error(e)}(d)}},ki=x((e=>{const{context:t,className:n="",tabs:a,page:i,showCounter:s,isSticky:o}=e,[c,d]=l(a?a[0]:void 0);r((()=>g.inst.subscribe("tab",(e=>{if(!a)return;const t=a.find(Ci(e));"link"===e.type&&t&&d(t)}))),[a]),r((()=>{if("group"===c?.type)return g.inst.subject("tab",{label:c.ref})}),[c]);return h(v,{context:t,className:`${o?"sticky top-1 z-20 ":""}box-border flex gap-x-1 ${n}`,role:"tablist",children:a?.map(wi({onClick:e=>{"group"===e?.type&&g.inst.fire("tab",{type:e.type,label:e.ref}),d(e)},currentTab:c,page:i,showCounter:s,context:t}))})})),Ci=e=>t=>"link"===t.type&&t.href===`#${e.label}`,$i=x((({isOpen:e,dataUrl:t,pdfUrl:n,rowIdx:l,cellIdx:r,fieldIdx:a})=>u($e,{version:"primary",onClick:()=>{g.inst.fire("tariffInnerTable",{dataUrl:t,pdfUrl:n,rowIdx:l,cellIdx:r,fieldIdx:a})},className:"w-full flex items-center justify-center rounded-none py-5",children:[h("div",{className:"text-h4",children:e?"Скрыть":"Показать ставки по вкладу"}),h(R,{name:e?"ArrowUpIcon":"ArrowDownIcon",className:"ml-3",iconVersion:"white",width:"20",height:"20",asSVG:!0})]}))),Si={Buttons:({buttons:e})=>e&&e?.length?h("div",{children:e.map((({rounded:e,...t},n)=>h($e,{className:(n>0&&e?"ml-3":"")+" w-12 h-12",rounded:e,...t},String(n))))}):null,Img:({image:e})=>e?.src?h(F,{image:e}):null,List:({isDotted:e,...t})=>h(Me,{className:"flex flex-col justify-between items-start text-h6",version:"primary",isDotted:e??!0,...t}),LabelDescription:({label:e,description:t})=>u("div",{children:[e?h("div",{className:"text-h6 m-0 "+(t?"mb-1":""),children:e}):null,t?h("div",{className:"text-secondary-text text-l-light",children:t}):null]}),Table:x((e=>{const[t,n]=l(!0);console.log(e);const a=t=>{const l=["rowIdx","cellIdx","fieldIdx"].every((n=>e[n]===t[n]));n(!l)};return r((()=>g.inst.subscribe("tariffInnerTable",a)),[]),t?h($i,{...e}):null}))},Ii=x((({context:e,cells:t,isLastRow:n,rowIdx:l,cellIdx:r})=>h("div",{className:"first:pl-0 w-80 flex-grow flex flex-col border-solid border-main-divider border border-t-0 border-x-0 "+(n?"border-t-0 rounded-b-md":""),role:"cell",children:t.map(Ti(l,e,r))}))),Ti=(e,t,n)=>(l,r)=>u("div",{className:"Table"===l?.tableCellType?"ml-10":"first:pt-5 last:pb-5 pl-10",children:[r>0?h("div",{className:"h-5"}):null,Bi(l,t,{rowIdx:e,cellIdx:n,fieldIdx:r})]},String(r)),Bi=(e,t,n)=>{if(!e)return null;const{tableCellType:l,...r}=e;if(!l||!(l in Si))return null;return h(Si[l],{context:t,...r,...n})};async function Di(e){const t=await fetch(e);return await t.json()}const Ri=x((({rows:e})=>{const[t,n]=l(0),r=e?.[0]?.length??0,a=r>3&&r>t+4,i=t>0;return u("div",{children:[e?.map(_i(t)),rt({handler:[()=>n(t-1),()=>n(t+1)],isShown:[i,a],btnClass:["right-3 top-24","right-3 top-2"],className:""})]})})),_i=e=>(t,n)=>{if(!t?.length)return null;const[l,...r]=t,a=[...Array(e).keys()].reduce(((e,t)=>140*(r?.[t]?.cols?.length??1)+e),0),i=["flex duration-1000 text-center",0!==n?"font-normal":"font-light"].join(" ");return u("div",{className:"flex border-main-divider border border-t-0 border-x-0 border-solid",children:[l?.data?h("div",{className:"text-xl-light w-[214px] pb-5 "+(0===n?"pt-8":"pt-6"),children:l.data}):null,h("div",{className:"flex flex-grow overflow-hidden",children:h("div",{className:i,style:{transform:`translateX(-${a}px)`},children:r?.map(((t,n)=>u("div",{className:"flex flex-col flex-grow justify-center pt-6 pb-5 odd:bg-main-divider",children:[t?.data?h("div",{className:"text-xl-light mb-3",children:t.data}):null,t?.cols?Li(t.cols,e):null]},`row${n}`)))})})]},String(n))},Li=(e,t)=>e?.length>0?h("div",{className:`flex ${t} ${0===t?"text-secondary-text":""} last:mr-3`,children:e.map(((e,t)=>h("div",{className:"w-[76px] text-h6 mr-5 first:ml-8",children:e},String(t))))}):null,ji=x((({context:e,activeTabIndex:t,items:n})=>{const[r,a]=l({});return h("div",{children:n.map(((n,l)=>{const i=`activeTabIdx:${t}-tableIdx:${l}`;return u("div",{className:"w-full",children:[u("div",{className:"flex p-4 bg-main-stroke text-xl-light text-center justify-center cursor-pointer relative",onClick:()=>(e=>{a((t=>({...t,[e]:!t[e]})))})(i),children:[n.title,h(F,{image:r[i]?"PlusIcon":"MinusIcon",className:"absolute right-[22px]",width:"24",height:"24"})]}),h("div",{className:"w-full pl-2 overflow-hidden transition-height duration-500 ease-in-out "+(r[i]?"h-0":""),children:h("div",{className:"relative",children:h(Ri,{context:e,rows:n.rowsData})})})]},i)}))})})),Vi=x((({currencies:e,linkToPDF:t,activeTabIndex:n,setActiveTabIndex:l})=>u("div",{className:"flex justify-between w-full pt-2.5 pb-3",children:[e&&e.length>1?h("div",{className:"flex bg-secondary-light p-1.5 rounded-md",children:e.map(((e,t)=>h("div",{className:"rounded-md text-xl-light px-4 py-3 cursor-pointer "+(t===n?"bg-primary-main text-white":"text-secondary-text"),onClick:()=>l(t),children:e||t+1},e)))}):null,t?u($e,{href:t,version:"secondary",className:"flex justify-center items-center text-l-light text-primary-main px-8 max-h-14",target:"_blank",children:[h(F,{image:"DocDownloadIcon",className:"mr-2.5",width:"20",height:"20",asSVG:!0}),h("span",{children:"Скачать в PDF"})]}):null]}))),Mi=x((({context:e,dataUrl:t,pdfUrl:n})=>{const{tableData:r}=function(e){const{data:t}=pn(function(e){return`/wcms-resources/${e||"tariffs-inner-table-data"}.json`}(e),Di);return t||{}}(t),[a,i]=l(0),s=r?.[a]?.items??[],o=r?.map((e=>e.currency??""));return r?u("div",{className:"bg-white z-10",children:[h(Vi,{currencies:o,activeTabIndex:a,setActiveTabIndex:i,linkToPDF:n}),h(ji,{context:e,activeTabIndex:a,items:s}),h($i,{context:e,isOpen:!0})]}):null})),Ai=x((({context:e,children:t,rowIdx:n})=>{const[a,i]=l(void 0);return r((()=>g.inst.subscribe("tariffInnerTable",(e=>{i(n===e.rowIdx?{dataUrl:e.dataUrl,pdfUrl:e.pdfUrl}:void 0)}))),[n]),u("div",{className:"self-start flex flex-col",role:"row",children:[h("div",{className:"flex",children:t}),a?h("div",{className:"origin-top animate-expansion",children:h(Mi,{context:e,...a})}):null]})})),Oi=x((({row:{header:e,data:t},activeCardIndex:n,isLastRow:l,context:r,rowIdx:a})=>u(Ai,{context:r,rowIdx:a,children:[h("div",{className:"text-s py-5 w-[354px] flex-shrink-0 border-main-divider border border-t-0 border-x-0 "+(l?"":"border-solid"),children:u("div",{className:"flex items-center text-primary-text",role:"cell",children:[e?.icon?h(F,{className:"mr-[14px] max-w-6 max-h-6",image:e.icon,width:"24px",height:"24px",asSVG:!0}):null,e?.title?h("div",{className:"text-m-light",children:e?.title}):null]})}),t?.length?h(sl,{activeCardIndex:n,columnWidth:360,version:"tariff",children:t.map(((e,t)=>h(Ii,{cells:e,isLastRow:l,rowIdx:a,cellIdx:t,context:r},String(t))))}):null]}))),Pi=x((({className:e="",context:t,title:n,description:r,rowHeaders:a,tariffsColumns:i,hiddenRowsNum:s=0,...o})=>{const[c,d]=l(0),m=i?.map((({data:e})=>e))||[],x=a?.map(((e,t)=>({header:e,data:m.map((e=>e?.[t]||[]))}))),p=m.length,b=el({columnsLength:p,colsLengthForScroll:2,activeCardIndex:c,setActiveCardIndex:d}),g=(x||[]).map(((e,n,{length:l})=>h(Oi,{context:t,row:e,isLastRow:n+1===l,activeCardIndex:c,rowIdx:n},String(n)))),[f,N]=s>0?[g.slice(0,-s),g.slice(-s)]:[g,[]];return u(v,{className:`bg-white font-sans p-[50px] overflow-hidden text-primary-text relative ${p>1?"pr-0":""} ${e}`,context:t,...o,children:[Fi({title:n,description:r}),Ui(r),s>0?h($t,{renderFoldableSection:({isUnfolded:e})=>u(zi,{tableArrowScrollControlProps:b,children:[f,h(St,{isUnfolded:e,children:N})]}),renderFoldButton:ba}):h(zi,{tableArrowScrollControlProps:b,children:g})]})}));function Fi({title:e,description:t}){return e?h(C,{headingType:"h3",className:"text-center "+(t?"mb-2.5":"mb-8"),title:e}):null}function Ui(e){return e?h("div",{className:"mb-9 text-center text-l",children:e}):null}const zi=x((({children:e,tableArrowScrollControlProps:t})=>{const{isScrollAvailable:n}=t;return u("div",{role:"table",children:[u("div",{className:"relative",children:[e,h(dl,{...t})]}),n?h("div",{className:"absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white"}):null]})})),Ei={Accordion:_t,BenefitsBlock:At,Bonus:Gt,CardTransfer:Xn,ComparisonTable:Nl,Calculator:On,Catalog:Zn,ExchangeRateTile:Kl,Footer:wr,Gallery:ft,GracePeriod:kr,Header:Kr,Headline:B,InsuranceAmountBlock:ta,InvestmentInfo:aa,LinkDocs:J,MiniGallery:Nt,MobileAppTile:da,PictureText:te,ProductBlock:Ee,ProductGallery:$a,ProductTile:qe,PromoTile:Sa,OtherProducts:xa,OtherProductsItem:fa,Recommendation:Da,StepsBlock:hi,TariffsTable:Pi,TextBlock:He,Tile:Ze,Placeholder:va,BonusBenefitsBlock:Yt,SafeDepositRental:ri,Tabs:ki,ErrorBlock:wl,OfficeServicesBlock:ha},Gi=m();const Hi=x((({className:e,onClick:t,ariaLabel:n})=>h("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":n,children:Xi()}))),Xi=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[h("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"}),h("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"})]})},Ji=x((({className:e,context:t,...n})=>{const{useRouter:i,handlerDecorator:s=me}=t,o=function(e){const[t,n]=l(0);return r((()=>{(async()=>{const[t]=await Gi.getLikeCount(e);n(t?.value||0)})()}),[e]),{likeCount:t,like:a((async()=>{n(await Gi.like(e))}),[e]),dislike:a((async()=>{n(await Gi.dislike(e))}),[e])}}(i().pathname);return u(v,{tag:"div",context:t,className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e||""}`,...n,children:[h(Hi,{onClick:s(o.like),ariaLabel:"Поставить отметку «лайк»"}),h(Hi,{onClick:s(o.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),h("span",{className:"select-none",children:o.likeCount})]})})),Wi=[null],Yi=e=>e;function Ki(e,t,n=Wi){const{key:l,page:r,blockDecorator:a,blocksRegistry:i,context:s}=t,{type:o,blocks:c}=e;o&&o in i||console.warn(`No block with "${o}" is registered`);const d=o&&i[o],{renderChild:m=Yi}=d||{},u=c?.length?c.map(((l,r)=>m(Ki(l,{...t,key:`${t.key}-${r}`},[...n,e]),r))):null;return a({blockClassName:`scroll-mt-12 ${b(e.style)}`,block:e,ancestors:n,render:({block:e,blockClassName:t})=>{const{version:n,anchor:a,labels:i,content:o}=e;return d?h(d,{className:t,context:s,page:r,version:n,anchor:a,labels:i,...o,children:u},l):null}},l)}const Zi=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),Qi=x((e=>{const{className:t="",context:n,data:l={}}=e,{style:r,blocks:a,slots:i,likeControl:s,colorPalette:o="pc"}=l,c=function({blocksRegistry:e,data:t,blockDecorator:n,context:l}){return(r,a)=>r.map(((r,i)=>Ki(r,{key:`${r.type||"#"}-${i}`,blocksRegistry:e,page:t||{},blockDecorator:n||Zi,context:l},a)))}(e);return u("section",{className:`relative ${b(r)} ${t}`,"data-theme":o,children:[i?.header?.blocks?.length?h("div",{className:`${b(i.header.style)}`,children:c(i.header.blocks,["header"])}):null,a?.length?h("div",{className:"container grid grid-cols-12 gap-1",children:c(a)}):null,s?qi(n):null]})}));function qi(e){return h("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:h(Ji,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto",context:e},"LikeControl")})}e.Blocks=Ei,e.ContentPage=Qi,e.DaDataAPI=o,e.LikeAPI=m,e.joinList=xe,e.projectSettings=c,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=oe,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).UniBlocks={})}(this,(function(e){"use strict";let t;const n=e=>(...n)=>t[e](...n),l=n("useState"),r=n("useEffect"),a=n("useCallback"),i=n("useMemo"),s=n("useRef");function o(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}}}}const c=new class{_={PROD_BRANCH:"master",FORCED_DRAFT_FLOW:!1};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}get FORCED_DRAFT_FLOW(){return this._.FORCED_DRAFT_FLOW}get ASSIST_PROJECT_ID(){return this._.ASSIST_PROJECT_ID}get SITEMAP(){return this._.SITEMAP}get CDN(){return this._.CDN}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},d="likesToken";function m(){async function e(){try{const e=JSON.parse(globalThis.localStorage.getItem(d)||"");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(d,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/${c.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n},body:JSON.stringify({node_ids:t})}),{likes:l}=await e.json();return l||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:n,name:l}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:l},body:JSON.stringify({node_id:t,user_name:l})}),{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:l}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:l},body:JSON.stringify({node_id:t,user_name:l})}),{likes:r}=await e.json();return r||0}catch(e){return console.error(e),0}}}}const h=(...e)=>globalThis._uni._jsx(...e),u=(...e)=>globalThis._uni._jsxs(...e),x=e=>{const t=e;return t._tmpl||(t._tmpl=globalThis.__UNI_REACT__?e:p(e)),t._tmpl},p=e=>{function t(t,n){const{children:l,...r}=t||{},a=n?.slots?.default,i=l||a&&a();return e(Object.assign(r,i&&{children:i}),n)}return t.inheritAttrs=!1,t},g={left:"text-left",center:"text-center",right:"text-right"};class b{static inst=new b;subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]||=[],this.subscribers[e]?.push(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){this.subjectsStateMap[e]=t,this.subscribers[e]?.forEach((e=>e(t)))}subject(e,t){this.subjectsStateMap[e]=t}}const f=x((e=>{const{tag:t="section",observerCallback:n,observerOptions:l,className:r="",anchor:i=null,children:o}=e,c=s(null),d=a((e=>{e&&(c.current&&c.current.disconnect(),c.current=new IntersectionObserver(n,l),c.current.observe(e))}),[n,l]);return h(t,{ref:d,className:r,id:i,children:o})})),v=100,N=x((({anchor:e,className:t,children:n,tag:a="section",labels:o})=>{const c=a,[d,m]=l(!0),u=s({}),x=i((()=>(({anchor:e,anchorClickRef:t})=>n=>{if(!n?.length)return;const[l]=n;!l.isIntersecting||l.boundingClientRect.top>150||(t?.current?.isScrolling&&t.current.label===`#${e}`?(b.inst.fire("anchorClick",{isScrolling:!1,label:void 0}),b.inst.fire("tab",{type:"link",label:e})):t?.current?.isScrolling||b.inst.fire("tab",{type:"link",label:e}))})({anchor:e,anchorClickRef:u})),[e]);return r((()=>{const t=b.inst.subscribe("anchorClick",(e=>{m(!0),u.current=e})),n=b.inst.subscribe("tab",(t=>{if("group"===t.type){const n=o?.length||e;m(!t.label||(!n||Boolean(o?.includes(t.label))))}else(n=t.label)&&(globalThis.document.location.hash=n),m(!0);var n}));return()=>{t(),n()}}),[]),d?e?h(f,{tag:a,className:t,observerCallback:x,observerOptions:{threshold:new Array(18).fill(0).map(y)},anchor:e,children:n}):h(c,{className:t,children:n}):null}));function y(e,t){const n=(t+1)/v+.82;return Math.round(n*v)/v}const w={h0:"text-h0",h1:"text-h1",h2:"text-h2",h3:"text-h3",h4:"text-h4",h5:"text-h5",h6:"text-h6"},k=x((e=>{const{className:t="",headingType:n="h3",title:l,as:r="h3"}=e;return h(r,{className:`font-sans m-0 ${w[n]} ${t}`,children:l})})),C=x((({children:e})=>h("ul",{className:"list-none m-0 p-0",children:e}))),$=x((({className:e="",context:t,title:n,accordionAlignTitle:l="center",description:r,children:a,...i})=>u(N,{context:t,className:`p-[50px] mb-1 last:mb-0 font-sans bg-white text-primary-text ${e}`,...i,children:[n?h(k,{headingType:"h3",as:"h2",className:`mb-2.5 ${g[l]}`,title:n}):null,r?h("div",{className:"mb-2.5 text-l",children:r}):null,h(C,{children:a})]})));$.childrenTypes=["AccordionItem"];const S=x((({isFoldButtonOnTop:e=!1,unfoldedByDefault:t=!1,renderFoldableSection:n,renderFoldButton:r})=>{const[i,s]=l(t),o=a((()=>{s((e=>!e))}),[]),c=n({isUnfolded:i,onToggle:o}),d=r?r({isUnfolded:i,onToggle:o}):null;return u("div",e?{children:[d,c]}:{children:[c,d]})})),I=x((({className:e="",isUnfolded:t,children:n})=>{const l=s(null);return r((()=>{l.current&&(l.current.style.maxHeight=t?`${l.current.scrollHeight}px`:"")}),[t,n?.length]),h("div",{ref:l,className:`transition-max-h duration-300 overflow-hidden max-h-0 ${e}`,children:n})})),T={normal:"text-primary-main",black:"text-black",white:"text-black"},B=x((({className:e="",imageClassName:t="",name:n="",alt:l=`Иконка ${n}`,title:r=l,iconVersion:a="normal",asSVG:i,...s})=>{const o=`${c.CDN||""}icons/${n}.svg`;return i?h(_,{className:e,children:u("svg",{className:[R(e,s.width),T[a],t,D(a)].join(" "),...s,"aria-hidden":"true",children:[r?h("title",{children:r}):null,l?h("desc",{children:l}):null,h("use",{href:`${o}#icon`,xlinkHref:`${o}#icon`})]})}):h("img",{className:e,src:o,alt:l,title:r,...s,"aria-hidden":"true"})})),D=e=>"white"===e?"invert":"",R=(e,t)=>t?`width: ${t}px `:"w-full h-full",_=x((({className:e,children:t})=>e?h("div",{className:e,children:t}):t));function j(e){return"string"==typeof e?"normal":e?.iconVersion||"normal"}const L=(e,t)=>e.media&&t.media?e.media-t.media:0,V=x((({className:e="",image:t,imageClassName:n="",isMobile:l=!1})=>{if(!t||!t?.sources&&!t?.src)return null;return u("picture",{className:`${l?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.sort(L).map((({src:e,format:n,media:l},r)=>h("source",{srcSet:e,type:A(n),media:l?`(max-width: ${l}px)`:"",...t.size},`${r}_${e}`))):null,M(t,n,l)]})})),M=(e,t="",n=!1)=>{const l={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"100%"},r=e.title||"",a=e.alt||e.title,i=n?"m-auto":"m-0";return h("img",{src:e.src,className:`${i} ${t}`,alt:a,title:r,style:l,...e.size})};function A(e){return e?`image/${String(e)}`:void 0}const O=x((({className:e="",image:t,imageClassName:n="",isMobile:l,...r})=>{if(!t)return null;const a="string"==typeof t?t:t.icon;return a||""===a?a.length?h(B,{className:e,imageClassName:n,iconVersion:j(t),name:a,...r}):null:h(V,{className:e,imageClassName:n,image:t,isMobile:l})})),F=["PlusIcon","MinusIcon"],U=x((({className:e="",label:t="",isExpanded:n,children:l})=>h("li",{className:`border-0 border-b border-solid border-main-divider last:border-b-0 ${e}`,children:h(S,{isFoldButtonOnTop:!0,unfoldedByDefault:n,renderFoldableSection:({isUnfolded:e})=>h(I,{className:"grid grid-cols-12 gap-5 [&>*]:p-0",isUnfolded:e,children:l}),renderFoldButton:({isUnfolded:e,onToggle:n})=>h(P,{label:t,icon:F[Number(e)],onClick:n})})})));U.childrenTypes=[];const P=x((({label:e,icon:t,onClick:n})=>u("button",{className:"border-none bg-transparent px-0 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 group cursor-pointer",onClick:n,children:[h("span",{className:"text-xl font-medium pr-2.5",children:e}),h(O,{image:t,className:"text-primary-main flex-shrink-0",width:"24",height:"24",asSVG:!0})]}))),E={primary:"bg-white",secondary:"bg-primary-main"},z={primary:"",secondary:"text-white"},X={primary:"text-secondary-text",secondary:"text-white opacity-80"},H={primary:"bg-main-divider text-primary-main",secondary:"bg-white/30 text-black"},G=x((({className:e="",title:t,benefitList:n,benefitsBlockVersion:l="primary",...r})=>u(N,{className:`font-sans text-primary-text p-12 flex flex-col items-center ${e} ${E[l]}`,...r,children:[t?h(k,{headingType:"h3",as:"h2",className:`max-w-[47rem] text-center ${z[l]}`,title:t}):null,n?.length?W(n,l):null]}))),W=(e,t)=>h("div",{className:"flex flex-wrap w-full justify-center gap-x-20 mt-8",children:e.map(Y(t))}),J=(e,t)=>(!e.icon||e?.iconVersion||(e.iconVersion="secondary"===t?"white":"normal"),e),Y=e=>(t,n)=>{const l=t?.description||void 0;return u("div",{className:"flex items-center basis-1/2 max-w-[500px] mb-14",children:[t?.icon?.icon?h(O,{className:`w-[50px] h-[50px] min-w-[50px] p-3 rounded-full ${H[e]}`,image:J(t.icon,e),asSVG:!0}):null,t?.icon?.src?h(O,{image:t.icon}):null,u("div",{className:"ml-5",children:[t?.label?h("h3",{className:`text-h6 m-0 ${z[e]}`,children:t.label}):null,K(l,e)]})]},String(n))},K=(e,t)=>{const n=e?e?.benefitType:null;return n&&e?h("div",{className:`text-l-light mt-2 ${X[t]}`,children:"list"===n?Q(e):Z(e)}):null},Z=e=>e?e.name:null,Q=e=>{const t=e?.bullets?"list-disc pl-6":"";return e?.items&&e.items.length>0?h("ul",{className:t,children:e.items.map(((e,t)=>h("li",{children:e},`benefitListItem-${t}`)))}):null},q=e=>e?.includes("//"),ee=e=>(e||"").replace(/\/?\?.*/,""),te=e=>{if(!e||!q(e))return;const t=e,n=t.indexOf("//"),l=t.indexOf("/",n+"//".length);return-1!==l?t.substring(0,l):t};var ne=Object.freeze({__proto__:null,isURL:q,withoutQuery:ee,getOrigin:te,getHash:e=>{if(!e||!q(e))return;const t=e.indexOf("#");return-1!==t?e.substring(t,e.length):void 0},isHash:e=>e?.startsWith("#")});const le="/mobile",re=(e,t)=>{if(!e)return e;const n=te(t?.href);return n?e.replace(n,"")||"/":e},ae=e=>e;function ie({router:e,handlerDecorator:t=ae},n){const l=((e,t)=>{if(!e)return e;const n=re(e,t)||"",l=t?.pathname.startsWith(le);return l&&!q(n)?`/mobile${n}`:n})(n.href,e);return{...n,href:l,"aria-label":n.text,onClick:t((t=>{const r=l&&!q(l),a=!n.target||"_self"===n.target;r&&a&&(t?.preventDefault(),e.push(l))}),n)}}const se={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:""},oe="bg-main-divider text-main-disabled",ce={primary:oe,secondary:oe,white:oe,link:""},de="text-center font-sans select-none",me={primary:"group-hover:brightness-0 group-hover:invert",secondary:"group-hover:brightness-0 group-hover:invert",white:"group-hover:brightness-0 group-hover:invert",link:""},he=x((e=>{const{text:t,aboveText:n,appendLeft:l,appendRight:r,version:a="primary"}=e;return u("div",{className:ue(e),children:[l?h("div",{className:me[a],children:l}):null,xe(e)?u("div",{children:[h("div",{className:"text-xs-light text-left",children:n}),h("div",{className:"text-left "+(n?"text-s -mt-0.5":"text-l"),children:t})]}):null,r?h("div",{className:me[a],children:r}):null]})})),ue=e=>{const{className:t="",version:n,aboveText:l,rounded:r}=e;if("link"===n)return"";const a="gap-2 "+(l?"py-2.5 px-7":"py-4 px-9");return["group flex items-center justify-center",xe(e)?a:"h-12 w-12",r?"rounded-full":"",t].join(" ")},xe=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),pe=({className:e,rounded:t,version:n})=>["inline-block",de,n?ce[n]:"",t?"rounded-full":"rounded-md",e].join(" "),ge=({className:e,rounded:t,version:n})=>[de,"border border-transparent inline-block cursor-pointer no-underline focus:border-primary-focus focus:border",n?se[n]:"",t?"rounded-full":"rounded-md",e].join(" "),be=x((({aboveText:e,appendLeft:t,appendRight:n,ariaLabel:l,children:r,className:a,disabled:i,href:s,onClick:o,rel:c,rounded:d,target:m,text:u,version:x})=>{const p=r??h(he,{aboveText:e,appendLeft:t,appendRight:n,rounded:d,text:u,version:x});return i?h(ve,{ariaLabel:l,className:a,rounded:d,version:x,children:p}):h(fe,{ariaLabel:l,className:a,href:s,onClick:o,rel:c,rounded:d,target:m,version:x,children:p})})),fe=x((({className:e="",ariaLabel:t,version:n,rounded:l,href:r,target:a,children:i,onClick:s,rel:o})=>h("a",{className:ge({className:e,version:n,rounded:l}),href:r,target:a,onClick:s,"aria-label":t,role:r?"link":"button",rel:o,children:i}))),ve=x((({className:e,children:t,ariaLabel:n,version:l,rounded:r})=>h("div",{role:"button","aria-disabled":"true","aria-label":n,tabIndex:-1,className:pe({className:e,rounded:r,version:l}),children:t}))),Ne=x((({context:e,className:t="",buttons:n})=>{const{handlerDecorator:l}=e,r=e.useRouter();return n&&n?.length?h("div",{className:t,children:n.map(((e,t)=>h(ye,{button:e,handlerDecorator:l,router:r},String(t))))}):null})),ye=x((({router:e,handlerDecorator:t,button:n})=>{const l=ie({router:e,handlerDecorator:t},n);return h(be,{...n,...l})})),we=x((e=>{const{className:t="",description:n}=e;return h("div",{className:`${t}`,children:n})})),ke={transparent:{background:"bg-transparent",text:"text-primary-text",description:"text-primary-text"},primary:{background:"bg-white",text:"text-primary-text",description:"text-primary-text"},secondary:{background:"bg-primary-main",text:"text-white",description:"text-white/80"}},Ce={XXL:{descriptionFont:"text-h5",gap:"gap-[18px]",headingType:"h0",as:"h1"},XL:{descriptionFont:"text-xl-light",gap:"gap-4",headingType:"h1",as:"h1"},L:{descriptionFont:"text-xl-light",gap:"gap-4",headingType:"h2",as:"h2"},M:{descriptionFont:"text-xl-light",gap:"gap-3",headingType:"h3",as:"h3"},S:{descriptionFont:"text-xl-light",gap:"gap-2",headingType:"h4",as:"h4"}},$e={H6:"text-h6",XL_L:"text-xl-light",XL_R:"text-xl",L_L:"text-l-light",L_R:"text-l",M:"text-m-light",S:"text-s-light",XS:"text-xs-light"},Se=x((({bgColorHeadline:e="transparent",align:t="center",className:n="",title:l,description:r,headlineVersion:a="XL",as:i,...s})=>{const o=ke[e],c=Ce[a];return u(N,{className:`font-sans flex flex-col p-[50px] ${c.gap} ${o.background} ${n}`,...s,children:[l?h(k,{headingType:c?.headingType,as:i||c?.as,className:`whitespace-pre-wrap ${o.text} ${g[t]}`,title:l}):null,r?h(we,{className:`${c.descriptionFont} ${o.text} ${g[t]}`,description:r}):null]})})),Ie=x((e=>{const{context:t,className:n="",title:l,description:r,bonusItems:a,...i}=e;return h(N,{className:`font-sans bg-white p-[50px] pb-9 ${n}`,context:t,...i,children:u("div",{className:"container",children:[h(Se,{context:t,className:"!p-0",title:l,description:r,headlineVersion:"M",align:"center"}),h("div",{className:"flex flex-wrap w-full mt-9",children:a?.length?a.map(((e,n)=>h("div",{className:"flex-grow w-[49%] border border-gray pl-9 pt-9 pr-6 pb-6 mb-3 mx-2 even:mr-0 odd:ml-0 last:odd:mx-0",children:u("div",{className:"flex justify-between w-full",children:[u("div",{className:"flex flex-col justify-between mr-4",children:[u("div",{children:[h("div",{className:"text-h4",children:e.title}),h("div",{className:"text-xl-light mt-2 max-w-[488px]",children:e.description})]}),e?.buttons?.length?h(Ne,{context:t,buttons:e?.buttons}):null]}),e.bonusItemContent?.bonusType?Te(e.bonusItemContent):null]})},String(n)))):null})]})})})),Te=e=>h("div",{children:"count"===e.bonusType?Be(e):De(e)}),Be=e=>u("div",{className:"relative -bottom-3 h-auto flex items-end mt-14 shrink-0",children:[e.bonusCount?h("span",{className:"font-mohave -tracking-[5px] text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7",children:e.bonusCount}):null,e.bonusName?h("span",{className:"text-h2 bg-clip-text text-transparent bg-green-to-yellow",children:e.bonusName}):null]}),De=e=>e.image?h(O,{className:"w-[50px] h-[50px] min-w-[50px] p-3 rounded-full",image:e.image}):null,Re=x((({context:e,className:t="",title:n,subtitle:l,bonusBenefits:r,columnsCount:a="4",...i})=>u(N,{className:`font-sans text-primary-text bg-white p-[50px] flex flex-col text-center ${t}`,context:e,...i,children:[h(Se,{context:e,className:"!p-0",title:n,description:l,headlineVersion:"M",align:"center"}),r?.length?h("div",{className:`grid gap-1 mt-8 ${je(a)}`,children:r.map(_e)}):null]}))),_e=(e,t)=>u("div",{className:"flex flex-col items-center max-w-[292px]",children:[e?.icon?h(O,{className:"h-[160px] w-[180px] min-w-[180px] min-h-[160px]",image:e.icon,width:"180",height:"160"}):null,h("div",{children:e?.label?h("span",{className:"text-h6 m-0",children:e.label}):null})]},String(t)),je=e=>"4"===e?"grid-cols-4":"grid-cols-5",Le=x((({className:e,disabled:t,...n})=>h(be,{rounded:!0,className:`group 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:h(O,{className:"w-4 h-4 min-w-4 min-h-4 rounded-full box-border",image:{icon:"ArrowLeftIcon",iconVersion:"black"},imageClassName:"group-hover:text-primary-main",width:"16",height:"16",asSVG:!0})})));function Ve({handler:e,isShown:t,btnClass:n,className:l="",isDisabled:r=!1}){return u("div",{children:[t[0]||r?h(Le,{className:`absolute z-10 ${n[0]} ${l}`,onClick:e[0],ariaLabel:"Пролистать влево","data-block-control":"scroll-left",disabled:!t[0]}):null,t[1]||r?h(Le,{className:`absolute z-10 rotate-180 ${n[1]} ${l}`,onClick:e[1],ariaLabel:"Пролистать вправо","data-block-control":"scroll-right",disabled:!t[1]}):null]})}const Me=e=>new Intl.NumberFormat("ru-RU",{maximumSignificantDigits:3}).format(e),Ae=x((({title:e,value:t,postfix:n="",prefix:l,className:r=""})=>u("div",{className:`mb-7 ${r}`,children:[e?h("div",{className:"text-l-light text-secondary-text",children:e}):null,t?u("div",{className:"text-h3",children:[l," ",Me(Math.round(t))," ",n]}):null]}))),Oe=6e4,Fe=2e6,Ue=97e4,Pe=Math.round(23.5),Ee={minSum:Oe,maxSum:Fe,minMonths:13,maxMonths:60,rateBottomRange:10,rateTopRange:7,isSalaryClient:!0,isStateEmployee:!0,isInsurance:!0,sumBorder:999999},ze={minSumTravel:6e3,maxSumTravel:2e5,minSumOther:6e3,maxSumOther:2e5,maxBonus:5e3,prefMonthsNum:2,prefTravelBonusRate:.015,prefRestBonusRate:.01,travelBonusRate:.015,restBonusRate:.01},Xe=x((({rate:e,title:t="Ставка",unit:n,rateBlockClassName:l})=>u("div",{children:[h("div",{className:"text-l-light text-secondary-text",children:t}),u("div",{className:"flex justify-start",children:[h("span",{className:`block gradient-color-text font-mohave text-title-huge pr-6 -mt-4 ${l}`,children:String(e).replace(".",",")}),n?h("span",{className:"gradient-color-text text-[65px] leading-[75px]",children:n}):""]})]})));function He(e,t){return t?.length?h(Ne,{context:e,buttons:t,className:"flex flex-col mt-7 gap-2"}):null}const Ge=e=>e?h("p",{className:"text-s-light text-secondary-text mt-7",children:e}):null,We=(e,t,n)=>Math.max(t,Math.min(e,n)),Je=e=>e.split(/\s+/).join(""),Ye=x((({className:e,title:t,items:n=[],min:l=1,max:r=100,step:a=1,value:i=l,disabled:s=!1,onChange:o})=>{const c=e=>{o&&o(We(Number(Je(e.target.value)),l,r))},d={backgroundSize:`${(100*(i-l)/(r-l)).toFixed(2)}% 100%`};return u("div",{className:e,children:[u("label",{className:"block relative",children:[t?h("span",{className:"text-m-light",children:t}):null,h("input",{className:"m-0 mt-2 font-sans text-h3 w-full h-14 border border-solid border-main-stroke rounded-md\n outline-none p-0 pl-4 box-border text-primary-text hover:border-primary-hover focus:border-primary-focus disabled:border-main-stroke disabled:bg-main-divider",value:Me(i),disabled:s,onChange:c,onBlur:c}),h("div",{className:"absolute inset-x-0 -bottom-1 px-4 leading-[18px]",children:h("input",{className:"box-border w-full m-0 cursor-pointer slider",type:"range",min:l,max:r,step:a,value:i,disabled:s,onChange:c,style:d})})]}),Ke(n)]})}));function Ke(e){return h("div",{className:"flex justify-between my-2",children:e.map(((e,t)=>h("span",{className:"text-s-light text-secondary-text",children:e},String(t))))})}const Ze=1e3;function Qe(e,t,n){const{moneyValue:l,minSum:r,maxSum:a,step:i=Ze,isShowItems:s=!0}=t,o=[`От ${Me(r)} ₽`,`До ${Me(a)} ₽`];return h(Ye,{title:e,items:s?o:[],min:r,max:a,step:i,value:We(l,r,a),onChange:n})}const qe=new Map;function et(e,t,{fallback:n}={}){const a=i((()=>tt(e)),[e]),[s,o]=l(),[c,d]=l(),m=e=>{o(e),d(void 0)},h=e=>{o(void 0),d(e)};r((()=>{if(!a.every((e=>null===e)))try{const e=t(...a);"then"in e?(e=>{e.then((e=>qe.get(a)||e)).then(m).catch(h)})(e):m(e)}catch(e){h(e)}}),[t,...a]);const u=a[0],x=n&&"string"==typeof u&&n[u];return{data:s||c||!x?s:x,error:c,mutate:()=>Promise.resolve(void 0),isValidating:!1}}function tt(e){return e?Array.isArray(e)?e:e instanceof Function?tt(e()):[e]:[e]}async function nt(e,t){try{return await lt(e,t)}catch(e){console.error(e)}return null}async function lt(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await n.json()}function rt(e){const{data:t}=et(`/wcms-resources/${e}.json`,lt);return t}const at=(e,t)=>{const{travelExpenseValue:n,restExpenseValue:l}=e,r=rt(t||"bonus-calculator-data")||ze,[a,i]=((e,t,n)=>{const{minSumTravel:l,minSumOther:r,maxBonus:a,prefMonthsNum:i,prefTravelBonusRate:s,prefRestBonusRate:o,travelBonusRate:c,restBonusRate:d}=e;if(t===l&&n===r)return[0,0];const m=Math.min(Math.round(s*t)+Math.round(o*n),a);return[m,m*i+Math.min(Math.round(c*t)+Math.round(d*n),a)*(12-i)]})(r,n,l);return{...r,...e,monthBonus:a,yearBonus:i}},it=x((({context:e,className:t="",sourceBookDir:n="",buttons:r,footnote:a})=>{const[i,s]=l(6e3),[o,c]=l(6e3),d={travelExpenseValue:i,restExpenseValue:o},{minSumTravel:m,maxSumTravel:x,minSumOther:p,maxSumOther:g,monthBonus:b,yearBonus:f}=at(d,n);return u("section",{className:t,children:[u("div",{className:"w-[468px]",children:[Qe("Сумма покупок в категории путешествия, ₽",{minSum:m,maxSum:x,moneyValue:i,step:500,isShowItems:!1},s),Qe("Сумма покупок в остальных категориях, ₽",{className:"mt-7",minSum:p,maxSum:g,moneyValue:o,step:500,isShowItems:!1},c)]}),h("div",{children:b>=0?h(Xe,{title:"Баллов за месяц",rate:b,rateBlockClassName:"tracking-[-14px]"}):null}),u("div",{className:"w-full max-w-[350px]",children:[f>=0?h(Ae,{title:"Баллов за год",value:f}):null,He(e,r),Ge(a)]})]})})),st=x((({className:e,viewBox:t,fill:n="none",width:l,height:r,paths:a,...i})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",className:e,viewBox:t,fill:n,width:l,height:r,children:a.map((({d:e,fill:t,...n},l)=>h("path",{d:e,fill:t||"currentColor",...i,...n},l)))}))),ot=[{d:"M10.207.793a1 1 0 0 1 0 1.414l-6 6a1 1 0 0 1-1.414 0l-2.5-2.5a1 1 0 0 1 1.414-1.414L3.5 6.086 8.793.793a1 1 0 0 1 1.414 0Z",fillRule:"evenodd",clipRule:"evenodd",fill:"white"}],ct=x((({className:e,text:t,checked:n,isRadio:l,onChange:r})=>h("div",{className:e,children:u("label",{className:"flex items-center relative cursor-pointer group",children:[h("input",{className:`peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover:border-checkbox-hover\n ${l?"rounded-full border-2":"rounded checked:bg-primary-main border"}\n ${n?"border-black":"border-main-stroke"}\n checked:border-primary-main m-0`,type:"checkbox",onChange:e=>{r(e.target.checked)},checked:n}),l?h("div",{className:"left-1 w-3 h-3 rounded-full bg-primary-main hidden absolute peer-checked:block"}):h(st,{paths:ot,className:"hidden absolute left-1 ml-px peer-checked:block",width:"11",height:"9",fill:"white",viewBox:"0 0 11 9"}),t?h("span",{className:"font-sans ml-3 text-l-light",children:t}):null]})})));function dt(e,t,n){const{minMonths:l,maxMonths:r,monthsValue:a}=t,i=e=>`${e} ${Number(e)%10==1?"месяца":"месяцев"}`;return h(Ye,{className:"mt-7",title:e,items:[`От ${i(l)}`,`До ${i(r)}`],min:l,max:r,step:1,value:We(a,l,r),onChange:n})}const mt=x((({items:e,checkedItem:t,onChangeCheckedItem:n})=>h("div",{className:"flex flex-col gap-3",children:e?.map((({id:e,text:l})=>h(ct,{isRadio:!0,text:l,checked:t===e,onChange:()=>n(e)},e)))})));function ht({onChange:e,...t}){return h(mt,{onChangeCheckedItem:e,...t})}const ut=(e,t)=>{const{isInsurance:n,isSalaryClient:l,isStateEmployee:r,moneyValue:a}=e,i=rt(t||"credit-calculator-data")?.rows?.find((e=>n===e.isInsurance&&l===e.isSalaryClient&&r===e.isStateEmployee))||Ee,{rateBottomRange:s,rateTopRange:o,sumBorder:c}=i,d=a<=c?s:o,m=((e,t)=>{const{isAnnuity:n,moneyValue:l,monthsValue:r}=t;if(n){const t=e/1200;return l*(t+t/(Math.pow(1+t,r)-1))}return Math.round(l/r)+l*(e/1200)})(d,e);return{...i,...e,finalRate:d,monthlyPayment:m}},xt="annuity",pt="differential",gt=[{id:xt,text:"Аннуитетный"},{id:pt,text:"Дифференцированный"}],bt=x((({context:e,className:t="",sourceBookDir:n,buttons:r,footnote:a})=>{const[i,s]=l(!1),[o,c]=l(!0),[d,m]=l(!1),[x,p]=l(!1),[g,b]=l(Ue),[f,v]=l(Pe),N=ut({isAnnuity:i,isInsurance:o,isSalaryClient:d,isStateEmployee:x,moneyValue:g,monthsValue:f},n);return u("section",{className:t,children:[u("div",{className:"w-[468px]",children:[Qe("Сумма кредита, ₽",{...N,step:500},b),dt("Срок кредита, месяцев",N,v),u("div",{className:"mt-7",children:[h(ct,{text:"Получаю зарплату на счёт в Россельхозбанке",checked:d,onChange:m}),h(ct,{className:"mt-3",text:"Работаю в бюджетной организации",checked:x,onChange:p}),h(ct,{className:"mt-3",text:"Комплексная страховая защита",checked:o,onChange:c})]})]}),h(Xe,{title:"Ставка",rate:N.finalRate,rateBlockClassName:"tracking-[-25px]",unit:"%"}),u("div",{className:"w-full max-w-[350px]",children:[h(Ae,{title:i?"Ежемесячный платеж":"Платёж в первый месяц",value:N.monthlyPayment,postfix:"₽"}),ht({context:e,items:gt,checkedItem:i?xt:pt,onChange:e=>s(e===xt)}),He(e,r),Ge(a)]})]})})),ft="everyMonth",vt="atEndTerm",Nt=[{id:ft,text:"Ежемесячно"},{id:vt,text:"В конце срока"}],yt={CreditCalculatorForm:bt,DepositCalculatorForm:x((({context:e,className:t="",rate:n,buttons:r,footnote:a})=>{const[i,s]=l(Ue),[o,c]=l(Pe),[d,m]=l(!1);return u("section",{className:t,children:[u("div",{className:"w-[468px]",children:[Qe("Сумма вклада, ₽",{moneyValue:i,minSum:Oe,maxSum:Fe},s),dt("Срок вклада, месяцев",{minMonths:13,maxMonths:60,monthsValue:o},c)]}),h(Xe,{rate:n||1,rateBlockClassName:"tracking-[-25px]",unit:"%"}),u("div",{className:"w-full max-w-[350px]",children:[h(Ae,{title:"Доход по вкладу",value:948841,postfix:"₽",prefix:"+"}),h(Ae,{title:"Сумма в конце срока",value:1218841,postfix:"₽"}),ht({context:e,items:Nt,checkedItem:d?ft:vt,onChange:e=>m(e===ft)}),He(e,r),Ge(a)]})]})})),BonusCalculatorForm:it},wt=({context:e,className:t})=>(n,l)=>{const r=n?.calcType;if(!r||!(r in yt))return null;const a=yt[r];return h("section",{className:`box-border relative bg-white flex shrink-0 self-start basis-full ${t}`,role:"listitem",children:u("div",{className:"box-border p-9 w-full",children:[n?.title?h(k,{className:"text-center mb-6",title:n.title}):null,h(a,{context:e,...n,className:"flex justify-between"})]})},String(l))},kt=x((({className:e="",context:t,calculatorTabs:n=[],...r})=>{const a=n.map((e=>e.nav||{})),i=n.map((({calculatorBlock:e})=>e||{})),[s,o]=l(0),[c,d]=l(0),m=n?.length>3&&n?.length>c+3,x=c>0;return u(N,{context:t,className:`box-border overflow-hidden relative font-sans w-100 text-primary-text bg-white ${e}`,...r,children:[u("div",{className:"bg-white",children:[a.length>1?Ct({tabsShift:c,tabsNav:a,activeSlideIndex:s,setActiveSlideIndex:o}):null,Ve({handler:[()=>d(c-1),()=>d(c+1)],isShown:[x,m],btnClass:["left-3","right-3"],className:"top-8"})]}),h("div",{className:"flex",style:{transform:`translateX(-${s}00%)`},role:"list",children:i?.length?i.map(wt({context:t,className:e})):null})]})}));function Ct({tabsShift:e,tabsNav:t,activeSlideIndex:n,setActiveSlideIndex:l}){return u("div",{children:[h("div",{style:{transform:`translateX(-${388*e}px)`},className:"flex flex-col justify-end items-center h-[126px] pt-9 box-border duration-1000",children:h("div",{className:"w-full flex flex-nowrap items-end gap-2",children:t.map(((e,t)=>function({tab:e,i:t,activeSlideIndex:n,onClick:l}){const r=t===n,a=r?"h-[88px] w-[387px] min-w-[387px] p-5 border-none bg-primary-main text-white":"h-[77px] w-[328px] min-w-[328px] px-5 py-4 ease-in duration-300 bg-white text-primary-text",i=r?"text-xl mb-1.5":"text-l mb-[3px]",s=r?"text-l-light text-white":"text-m-light text-secondary-text",o=r?"":"text-primary-main";return u("button",{type:"button",onClick:l,"aria-label":e?.title,className:`box-border relative border border-main-stroke cursor-pointer text-left border-b-0 flex hover:h-[88px]\n ${a}`,children:[h(O,{className:`h-6 w-6 min-w-6 min-h-6 mr-4 ${o}`,image:{...e?.icon,iconVersion:r?"white":"normal"},width:"24",height:"24",asSVG:!0}),u("div",{className:"border-0",children:[h("div",{className:`${i}`,children:e?.title}),h("div",{className:`${s}`,children:e.description})]})]},String(t))}({tab:e,i:t,activeSlideIndex:n,onClick:()=>l(t)})))})}),h("div",{className:"w-full h-2 bg-primary-main"})]})}const $t=e=>(e.match(/\./g)||[]).length>1?e.slice(0,e.lastIndexOf(".")):e,St=e=>{const t=0===e.indexOf("0")&&2===e.length?e.replace("0","0."):e;return t.startsWith(".")?t.replace(".","0."):t},It=e=>String(e.replace(",",".").replace(/[^.\d]/g,"")),Tt=x((({className:e="",inputClassName:t="",id:n,name:l,type:r="text",label:i,value:s="",valid:o=!0,children:c,onChange:d,onBlur:m,...x})=>{const p=a((e=>{const t=e.target.validity.valid?e.target.value:s;d(t)}),[d]),g=a((e=>{if(!m)return;const t=e.target.validity.valid?e.target.value:s;m(t)}),[m]),b=c?"pr-8":"",f=o?"border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text":"border-error";return u("div",{className:`relative ${e}`,children:[i?h("label",{className:"block text-m-light mb-2",children:i}):null,h("input",{className:`w-full border rounded-md text-primary-text outline-none p-4 ${b} ${f} ${t}`,id:n,name:l||n,type:r,value:s,onChange:p,onBlur:g,...x}),c]})})),Bt=x((({className:e="",onChange:t,minValue:n=0,maxValue:l=3e5,...r})=>{const i=a((e=>{if(!t)return;const r=$t(St(It(Je(e))));const a=Dt(r,We(Number(r),n,l));t(String(a))}),[t]),s=a((e=>{var n;t&&t((n=e,new Intl.NumberFormat("ru-RU",{minimumFractionDigits:0,maximumFractionDigits:2}).format(Number(Je(n))).replace(",",".")))}),[t]);return h(Tt,{className:e,inputClassName:"w-full",onChange:i,onBlur:s,...r,children:h("span",{className:"text-xl-light absolute right-4 bottom-4",children:"₽"})})})),Dt=(e,t)=>Number(e)===t?e:String(t),Rt=x((({className:e="",title:t="Укажите сумму перевода",label:n="Сумма перевода",placeholder:r="1500",button:a,context:i,...s})=>{const o=i.useRouter(),{handlerDecorator:c}=i,[d,m]=l(""),x=!Number(Je(d)),p=x?pe({version:a?.version}):ge({className:"text-white",version:a?.version});return u(N,{className:`p-[50px] flex flex-col items-center font-sans bg-white ${e}`,context:i,...s,children:[t?h(k,{className:"max-w-[684px] pb-9",headingType:"h2",title:t}):null,u("form",{className:"w-[468px]",method:"POST",action:"https://www.rshb.ru/p2p/",children:[h(Bt,{name:"amount",value:d,onChange:m,valid:""===d||!x,placeholder:r,label:n}),a?.text?h("button",{type:"submit",className:`w-full p-4 mt-6 ${p} `,disabled:x,...ie({router:o,handlerDecorator:c},a),children:a.text}):null]})]})})),_t={black:"bg-black",white:"bg-white"},jt=x((({className:e="",title:t,description:n,image:l,price:r,button:a,colors:i})=>u("section",{className:`border border-solid box-border border-main-stroke p-[30px] min-w-[402px] flex flex-col justify-left ${e}`,role:"listitem",children:[l?.src?h(O,{className:"mb-5 flex justify-center",image:l}):null,t?h(k,{headingType:"h6",as:"h4",className:"text-left mb-1.5",title:t}):null,n?h("div",{className:"text-m-light text-left mb-4",children:n}):null,i?.length?u("div",{className:"flex mb-4 text-m-light text-secondary-text",children:[h("div",{className:"mr-1.5",children:"Доступные цвета: "}),i.map(Lt)]}):null,r?u("div",{className:"text-h3 text-left",children:[r," ₽"]}):null,a?h(be,{className:"mt-5 w-full",...a}):null]}))),Lt=(e,t)=>h("span",{className:`w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${_t[e]}`},String(t)),Vt="absolute top-0 bottom-0 w-[84px]",Mt=x((({context:e,cards:t=[],className:n="",title:r,description:a,...i})=>{const[s,o]=l(0);return u(N,{context:e,className:`bg-white relative font-sans p-12 overflow-hidden text-center ${n}`,...i,children:[h(Se,{context:e,className:"!p-0",title:r,description:a,headlineVersion:"M",align:"center"}),h("div",{className:"flex duration-1000 gap-3.5 mt-8",style:{transform:`translateX(-${430*s}px)`},role:"list",children:t?.length?t.map(At(e)):null}),Ot({cardsCount:t.length,activeCardIndex:s,setActiveCardIndex:o}),h("div",{className:`${Vt} left-0 bg-opacity-from-white`}),h("div",{className:`${Vt} right-0 bg-opacity-to-white`})]})})),At=e=>(t,n)=>h(jt,{context:e,...t},String(n)),Ot=({cardsCount:e,activeCardIndex:t,setActiveCardIndex:n})=>{const l=e>3;return Ve({handler:[()=>n(t-1),()=>n(t+1)],isShown:[l&&t>0,l&&e-t>3],btnClass:["left-8","right-8"],className:"top-1/2 z-10 mt-6"})},Ft=({columnsLength:e,colsLengthForScroll:t,activeCardIndex:n,setActiveCardIndex:l})=>{const r=e>t;return{handleNextClick:()=>l(n+1),handlePrevClick:()=>l(n-1),isScrollAvailable:r,showNextButton:r&&e-n>t,showPrevButton:Boolean(r&&n>0)}},Ut="bg-gradient-to-r from-main-gradient-start to-main-gradient-end",Pt="border-main-stroke border-solid border",Et="border-main-divider border border-t-0 border-x-0",zt="w-[200px] mr-6",Xt=x((({icon:e,image:t,title:n,link:l})=>u("div",{className:`w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-[46px] ${Pt} ${Ut}`,role:"columnheader",children:[e&&!t?.src&&h(O,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}),t?.src&&h(O,{className:"mb-[18px]",image:t}),n?h(k,{headingType:"h4",as:"h3",className:"text-center text-white",title:n}):null,l?.text&&h("div",{className:"mt-auto w-full",children:h(be,{href:l.href,target:l.target,className:"mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active",children:h("div",{className:"text-xs-light font-medium py-[11px]",children:l.text})})})]}))),Ht={comparison:"flex gap-4 duration-1000",tariff:"flex flex-grow duration-1000"},Gt=x((({children:e,activeCardIndex:t,columnWidth:n,version:l="comparison"})=>h("div",{className:"flex flex-1 overflow-hidden",children:h("div",{className:Ht[l],style:{transform:`translateX(-${t*n}px)`},children:e})}))),Wt=x((({children:e})=>h("div",{className:"self-start flex flex-col",role:"row",children:h("div",{className:"flex",children:e})}))),Jt=x((({colHeaders:e,activeCardIndex:t,router:n,handlerDecorator:l})=>u(Wt,{children:[h("div",{className:zt,role:"columnheader"}),h(Gt,{activeCardIndex:t,columnWidth:336,children:e.map(((e,t)=>h(Xt,{...e,link:e.link&&ie({router:n,handlerDecorator:l},e.link)},String(t))))})]}))),Yt=x((({isScrollAvailable:e,handleNextClick:t,handlePrevClick:n,showNextButton:l,showPrevButton:r})=>e?h("div",{children:Ve({handler:[n,t],isShown:[r,l],btnClass:["top-[108px]","top-11"],className:"right-7",isDisabled:!0})}):null)),Kt=x((({cell:e,isFirstRow:t,isLastRow:n,isFillGradient:l})=>h("div",{className:`w-80 box-border flex flex-col ${Pt} ${n?"border-t-0 rounded-b-md":"border-y-0"} ${l?Ut:""}`,role:"cell",children:h("div",{className:`mx-7 h-full ${Et} ${l&&t?"border-t":""} ${n?"border-b-0":"border-solid"}`,children:e.map(((e,t)=>qt(e,t,l)))})}))),Zt=(e=!1)=>"text-xl m-0 "+(e?"text-white":""),Qt=(e=!1)=>"text-s opacity-80 "+(e?"text-white":"text-secondary-text"),qt=({label:e,description:t},n,l)=>u("div",{className:"first:pt-7 pt-6 last:pb-7",children:[e?h("h4",{className:Zt(l),children:e}):null,t?h("div",{className:Qt(l),children:t}):null]},String(n)),en=(e=!1)=>`text-s py-7 ${Et} w-[200px] mr-6 ${e?"border-b-0":"border-solid"}`,tn=x((({row:{header:e,data:t},activeCardIndex:n,isColoredFirstColumn:l,isFirstRow:r,isLastRow:a})=>u(Wt,{children:[e?.title?h("div",{className:en(a),children:e.title}):null,t?.length?h(Gt,{activeCardIndex:n,columnWidth:336,children:t.map(((e,t)=>h(Kt,{cell:e,isFirstRow:r,isLastRow:a,isFillGradient:l&&0===t},String(t))))}):null]}))),nn=x((({rowData:e,activeCardIndex:t,isColoredFirstColumn:n,...l})=>u("div",{className:"relative",children:[e.map(((e,l,{length:r})=>h(tn,{row:e,isFirstRow:0===l,isLastRow:l+1===r,activeCardIndex:t,isColoredFirstColumn:n},String(l)))),h(Yt,{...l})]}))),ln=x((({context:e,columns:t,rowHeaders:n,isShowAllRow:r,visibleRowLength:a,isColoredFirstColumn:i})=>{const s=e.useRouter(),{handlerDecorator:o}=e,c=t?.map((({header:e})=>e||{})),d=t?.map((({data:e})=>e))||[],m=n?.map(((e,t)=>({header:e,data:d.map((e=>e?.[t]||[{}]))}))).slice(0,r?n.length:a),[x,p]=l(0),g=Ft({columnsLength:d.length,colsLengthForScroll:2,activeCardIndex:x,setActiveCardIndex:p}),{isScrollAvailable:b}=g;return u("div",{children:[u("div",{role:"table",children:[c?.length?h(Jt,{colHeaders:c,activeCardIndex:x,router:s,handlerDecorator:o}):null,m?.length?h(nn,{rowData:m,activeCardIndex:x,isColoredFirstColumn:i,...g}):null]}),b?h("div",{className:"absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white"}):null]})})),rn=x((({className:e="",context:t,title:n,rowHeaders:r,columns:a,visibleRowLength:i=0,isColoredFirstColumn:s=!1,...o})=>{const[c,d]=l(!i);return u(N,{context:t,className:`bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${e}`,...o,children:[h(k,{headingType:"h2",className:"max-w-[47rem] text-center mb-9 mx-auto",title:n}),h(ln,{context:t,columns:a,rowHeaders:r,isShowAllRow:c,isColoredFirstColumn:s,visibleRowLength:i}),i?an({isShowAllRow:c,onClick:()=>d(!c)}):null]})})),an=({isShowAllRow:e,onClick:t})=>h("div",{className:"pr-[50px]",children:u("div",{className:"flex w-full",children:[h("div",{className:zt}),h("button",{onClick:t,className:"mt-5 flex-1 border-main-stroke border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main",children:h("div",{className:"font-sans text-xs-light font-medium py-3",children:e?"Скрыть":"Показать все параметры"})})]})}),sn={primary:"bg-white",secondary:"bg-primary-main text-white"},on=x((({className:e="",contacts:t,context:n,info:l,contactsBlockVersion:r="secondary",...a})=>u(N,{context:n,className:`${sn[r]} flex p-12 ${e}`,...a,children:[l?cn(l):null,t?dn(t):null]}))),cn=e=>h("div",{className:"flex grow basis-0 pr-11",children:e.map((({title:e,description:t,button:n},l)=>u("div",{className:"grow basis-0 pr-11 last:pr-0",children:[h(k,{as:"h5",headingType:"h5",title:e,className:"pb-2.5"}),h(we,{className:"text-l-light pb-6",description:t}),n?h(be,{...n}):null]},String(l))))}),dn=e=>h("div",{className:"flex grow basis-0",children:e.map(((e,t)=>mn({contactsColumn:e,index:t})))}),mn=({contactsColumn:e,index:t})=>e?h("div",{className:"flex flex-col grow basis-0 pr-11",children:e.map((({title:e,description:t,additionalDescription:n},l)=>u("div",{className:"pr-11 last:pr-0 last:mt-5",children:[h(k,{as:"h5",headingType:"h5",title:e}),h(we,{className:"text-l-light mt-2.5",description:t}),n?h(we,{className:"text-m-light mt-1.5 opacity-80",description:n}):null]},String(l))))},String(t)):null,hn=e=>"Image"===e?.errorContentType&&e?.image?h(O,{image:e.image}):"Code"===e?.errorContentType&&e.code?h("div",{className:"font-mohave text-title-extra gradient-color-text",children:e.code}):null,un=x((({context:e,className:t="",title:n,subtitle:l,error:r,button:a})=>{const{useRouter:i,handlerDecorator:s}=e,o=i();return u("section",{className:`flex flex-col justify-center items-center mt-12 ${t}`,role:"listitem",children:[h("div",{className:"flex justify-center py-20",children:hn(r)}),n?h(k,{headingType:"h1",className:"text-left mb-4",title:n}):null,l?h("div",{className:"font-sans text-xl-light mb-7 max-w-[613px] text-center",children:l}):null,a?.text?h(be,{className:"py-4 px-9",version:a?.version,...ie({router:o,handlerDecorator:s},a),children:a.text}):null]})})),xn=(e,t=2)=>{const n=10**t;return Math.round(parseFloat(String(e))*n)/n};function pn(){return nt(gn,{method:"POST",body:JSON.stringify(bn)})}const gn="https://coins.rshb.ru/api/catalog/vue_storefront_magento_1_currency_rates_average/currency_rates_average/_search?size=10000",bn={query:{bool:{must:[{term:{russian_region_code:"77"}},{term:{from_volume:"0"}},{terms:{currency_pair:["USD/RUB","EUR/RUB"]}}]}}},fn=e=>e.reduce(((e,t)=>{const n=t.currency_first?.code;return e.some((e=>e.code===n))||e.push({code:n,buy:xn(Number(t.rate_buy),3),sell:xn(Number(t.rate_sell),3)}),e}),[]),vn=x((({className:e="",title:t="",children:n,buttons:l,image:r})=>u("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,children:[t,u("div",{className:"flex grow w-full justify-between",children:[u("div",{className:"flex flex-col justify-between w-full",children:[h("div",{className:"h-full",children:n}),l?h("div",{className:"mt-auto pt-8",children:l}):null]}),r]})]})));var Nn;!function(e){e.RUB="RUB",e.EUR="EUR",e.USD="USD"}(Nn||(Nn={}));const yn=new Intl.NumberFormat("ru",{style:"currency",currency:Nn.RUB}),wn=e=>e?yn.format(e):"",kn="text-left text-m-light text-secondary-text",Cn={USD:"DollarIcon",EUR:"EuroIcon"},$n=x((({className:e,exchangeCurrencyItems:t})=>u("table",{className:`h-fit w-fit ${e}`,children:[h("thead",{children:u("tr",{children:[h("th",{className:kn,children:"Валюта"}),h("th",{className:`${kn} pl-11`,children:"Купить"}),h("th",{className:`${kn} pl-11`,children:"Продать"})]})}),h("tbody",{children:t.map((e=>Sn(e)))})]}))),Sn=e=>{const t=e?.code;return u("tr",{className:"pb-1 text-h6",children:[h("td",{className:"pt-4",children:u("div",{className:"flex items-center",children:[t?h(O,{image:{icon:Cn[t]},width:"24",height:"24"}):null,h("span",{className:"ml-2",children:t})]})}),h("td",{className:"pt-4 pl-11",children:wn(e?.sell)}),h("td",{className:"pt-4 pl-11",children:wn(e?.buy)})]},t)},In=x((({className:e="",address:t,distance:n})=>u("div",{className:`flex ${e}`,children:[h(O,{image:{icon:"GpsIcon"},width:"24",height:"24",asSVG:!0}),u("div",{className:"ml-3",children:[t?h("p",{className:"text-primary-main m-0 mb-1 text-l",children:t}):null,n?u("p",{className:"text-secondary-text m-0 text-m-light",children:["Курс указан для ближайшего офиса - ",n]}):null]})]}))),Tn=(e,t,n)=>{const l=Number(Bn(e))*Math.pow(t,n?-1:1);return Number.isInteger(l)?l:xn(l)},Bn=e=>e.replace(/[^\d.,]/g,"").replace(",","."),Dn=e=>{return(t=[[e=>e.value!==Nn.RUB&&e.oppositeValue!==Nn.RUB,()=>e.handleConvert(e.value,Nn.RUB)],[e=>e.value===Nn.RUB&&e.oppositeValue===Nn.RUB,()=>e.handleConvert(e.value,Nn.USD)],[()=>!0,()=>e.handleConvert(e.value)]],e=>{const[,n]=t.find((([t])=>t(e)))||[];return n})(e)?.();var t};const Rn=x((({className:e="",isBorder:t=!0,label:n,options:a=[],value:i,onChange:o,placeholder:c=""})=>{const[d,m]=l(a[0]||{key:"",text:""}),[x,p]=l(!1),g=s(null);!function(e,t){r((()=>{function n(n){e&&e.current&&n.target instanceof HTMLElement&&!e.current.contains(n.target)&&t(!1)}return document.addEventListener("click",n),()=>{document.removeEventListener("click",n)}}),[])}(g,p);return r((()=>{m(i||{key:"",text:""})}),[i]),u("div",{className:`${e}`,ref:g,children:[n?h("span",{className:"mb-2 flex",children:n}):null,u("div",{className:"relative "+(x?"z-20":"z-10"),children:[u("div",{className:`text-l flex justify-between items-center mb-0.5 text-primary-text cursor-pointer\n ${Ln(t)}`,onClick:()=>p(!x),children:[h("p",{className:"p-4 pr-8 h-[56px] overflow-hidden text-ellipsis whitespace-nowrap",children:d?.text||c}),h(B,{name:"ArrowUpIcon",width:"16",height:"16",className:"absolute right-3 "+(x?"":"rotate-180")})]}),a?.length?h("div",{className:`h-0 ${_n(x)}`,children:h("div",{className:"bg-white text-l max-h-[256px] overflow-y-auto overflow-x-hidden rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]",children:a.map(jn((e=>{m(e),p(!1),o(e)}),x,(e=>Boolean(e.key===d.key))))})}):null]})]})})),_n=e=>e?"":"overflow-hidden",jn=(e,t,n)=>(l,r)=>u("div",{onClick:()=>{e(l)},className:"flex px-4 py-3 cursor-pointer hover:bg-main-divider pr-11 relative",children:[h("span",{className:"min-h-6",children:l.text}),h(B,{name:"DoneSimpleIcon",width:"16",height:"16",className:["absolute right-4 pt-0.5",n(l)&&t?"":"hidden"].join(" ")})]},String(r)),Ln=e=>e?"border border-main-stroke rounded-md hover:border-primary-hover":"";function Vn(e){const{placeholder:t,rates:n,selected:l,value:r,setValue:a,setSelected:i}=e,s=n.map((e=>({key:e.code??"",text:e.code??""}))),o={key:l,text:l};return u("div",{className:"relative flex",children:[h(Tt,{className:"shrink-0 text-l w-full appearance-none mr-[-90px]",placeholder:t,type:"text",value:r,onChange:a}),s.length?h(Rn,{isBorder:!1,onChange:e=>i(e.key),options:s,value:o}):null]})}const Mn=x((({context:e,className:t="",currencyRatesBuy:n,currencyRatesSell:r,button:a})=>{const{useRouter:i,handlerDecorator:s}=e,o=i(),[c,d]=l({inputSell:"",inputBuy:"",selectSell:n?.[0]?.code||Nn.RUB,selectBuy:r?.[0]?.code||Nn.USD}),m=e=>{d((t=>({...t,...e})))};return u("div",{className:`grid gap-[18px] pt-2 ${t}`,children:[Vn({placeholder:"Хочу продать",rates:r,selected:c.selectSell,setSelected:An(c,m,r),value:c.inputSell,setValue:e=>Fn(m,r)(e,c.selectSell,c.selectBuy)}),Vn({placeholder:"Получу",rates:n,selected:c.selectBuy,setSelected:On(c,m,n),value:c.inputBuy,setValue:e=>Un(m,n)(e,c.selectBuy,c.selectSell)}),a?.text?h(be,{className:"py-4 mr-1",version:a?.version,...ie({router:o,handlerDecorator:s},a),children:a.text}):null]})})),An=(e,t,n)=>l=>{t({selectSell:l}),Dn({value:l,oppositeValue:e.selectBuy,handleConvert:(l=e.selectSell,r=e.selectBuy)=>{Fn(t,n)(e.inputSell,l,r)}})},On=(e,t,n)=>l=>{t({selectBuy:l}),Dn({value:l,oppositeValue:e.selectSell,handleConvert:(l=e.selectBuy,r=e.selectSell)=>Un(t,n)(e.inputBuy,l,r)})},Fn=(e,t)=>(n,l,r)=>{e({inputSell:Bn(n),selectBuy:r});const a=t.find((e=>e.code===r))?.buy||t.find((e=>e.code===l))?.sell;a&&e({inputBuy:String(Tn(n,a,l===Nn.RUB)||"")})},Un=(e,t)=>(n,l,r)=>{e({inputBuy:Bn(n),selectSell:r});const a=t.find((e=>e.code===r))?.sell||t.find((e=>e.code===l))?.buy;a&&e({inputSell:String(Tn(n,a,l===Nn.RUB)||"")})},Pn={address:"Москва, ул.Ленина д.28",distance:"6км"},En=x((({className:e="",context:t,title:n="Курсы обмена валют",button:l,...r})=>{const a=function(){const{data:e}=et(gn,pn),t=e?.hits?.hits?.map((e=>e._source))||[];return t.length?fn(t):t}(),i=a.filter((e=>e.buy));i.unshift({code:Nn.RUB});const s=a.filter((e=>e.sell));return s.push({code:Nn.RUB}),h(N,{context:t,className:`bg-white text-primary-text font-sans p-9 box-border min-h-[320px] ${e}`,...r,children:h(vn,{context:t,title:h(k,{headingType:"h4",title:n,className:"whitespace-pre-wrap text-h4 mb-5"}),children:u("div",{className:"flex",children:[u("div",{className:"mr-14 pt-4",children:[a?h($n,{className:"mb-[30px]",exchangeCurrencyItems:a}):null,h(In,{...Pn})]}),a.length&&i.length&&s.length?h(Mn,{className:"grow",context:t,currencyRatesBuy:i,currencyRatesSell:s,button:l}):null]})})})})),zn={"bg-white":"normal",transparent:"white"},Xn={"bg-white":"text-primary-main",transparent:"text-white"},Hn={"bg-white":"text-primary-text",transparent:"text-white"},Gn=x((({className:e="",href:t,logo:n,children:l=n?.title,targetBlank:r,bgColor:a="bg-white",showTitle:i=!0})=>u("a",{className:`inline-flex items-center font-sans no-underline ${e}`,href:t||"/",target:r?"_blank":"_self","aria-label":n?.title||"Россельхозбанк",children:[h(O,n?.image?.src?{image:n.image,className:Xn[a],width:"40",height:"45",asSVG:!0}:{image:{icon:"LogoIcon",iconVersion:zn[a]},className:`${Xn[a]} w-10`,width:"40",height:"45",asSVG:!0}),i?Wn(l,a,n?.title):null]}))),Wn=(e,t,n)=>h("span",{className:`${Hn[t]} font-medium ml-2.5`,children:e||n||"Россельхозбанк"}),Jn=x((({className:e,isMobile:t=!1})=>{const{term:n,setTerm:r}=(()=>{const[e,t]=l("");return{term:e,setTerm:e=>t(e)}})(),a=t?"text-s":"text-l-light",i=t?" placeholder-transparent":"h-full",s=t?"some search":void 0;return u("form",{className:`font-sans relative ${e}`,children:[u("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[h("div",{className:t?"w-5 h-5":"w-6 h-6",children:h(O,{image:"LoupeIcon",width:"24",height:"24"})}),n?null:h("label",{htmlFor:"search-bar-input",className:`text-secondary-text ${a}`,children:"Поиск по сайту"})]}),h("input",{id:"search-bar-input",className:`h-12 pl-12 w-full peer text-l text-black border border-solid rounded-md box-border\n outline-none pr-[6%] border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text ${i}`,value:n,onChange:e=>r(e.target.value),type:"text",name:"search-bar-input",placeholder:s}),t?h("button",{className:"visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none",onClick:e=>{e.preventDefault(),r("")},children:h(O,{image:"CloseIcon",width:"24",height:"24"})}):h(be,{version:"primary",text:"Найти",className:"invisible peer-focus:visible absolute top-[3px] right-1",onClick:e=>{e?.preventDefault(),console.log("click")},children:h("div",{className:"text-s px-9 py-2.5",children:"Найти"})})]})})),Yn=x((({className:e=""})=>h(Jn,{className:e}))),Kn=x((({className:e="",items:t,hasButton:n,context:l})=>{const r=l.useRouter(),{handlerDecorator:a}=l;return u("div",{className:e,children:[t?.length?t.map(Zn):null,n?h(be,{version:"primary",className:"mb-6 w-full",...ie({router:r,handlerDecorator:a},{text:"Обратная связь",href:"/",target:"_blank"}),ariaLabel:"Обратная связь"}):null]})})),Zn=(e,t)=>{const{type:n,text:l,description:r}=e;return u("div",{className:"mb-4",children:[h("div",{children:Qn(n,l)}),h("div",{className:"mt-1 text-s-light text-secondary-text",children:r})]},String(t))},Qn=(e,t="")=>{switch(e){case"tel":return h("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${qn(t)}`,children:t});case"email":return h("a",{className:"text-xl-light text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return h("span",{children:t})}},qn=e=>e.replaceAll(/\D/g,""),el=x((({className:e="",index:t,text:n,href:l,target:r,onClick:a})=>h("a",{className:`text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:l,target:r,onClick:a,children:n||`Документ ${t}`}))),tl=x((({links:e,className:t="",context:n})=>{const l=n.useRouter(),{handlerDecorator:r}=n;return h("div",{className:t,children:e?.length?h("div",{className:"flex justify-between items-center gap-5 py-5 border-solid border-x-0 border-y border-y-main-divider",children:e.map(((e,t)=>h(el,{index:t,className:"text-l-light max-w-[292px]",...ie({router:l,handlerDecorator:r},e)},String(t))))}):null})})),nl=e=>t=>e?.href===t?.href,ll=(e,t)=>{return(l=e,r=t,(l||[]).map((e=>r?.find(nl(e))||e))).concat((n=e,(t||[]).filter((e=>!n?.find(nl(e))))));var n,l,r};function rl(e={}){const{data:t}=et(`/wcms-resources/${c.SITEMAP||"sitemap"}.json`,lt,{fallback:e});return t||{}}const al=x((({className:e="",items:t,fallback:n,context:l})=>{const r=rl(n),a=ll(r.topItems,t),i={router:l.useRouter(),handlerDecorator:l.handlerDecorator};return h("div",{className:`flex flex-grow items-start justify-between gap-[54px] xl:gap-5 ${e}`,children:a?.map(((e,t)=>il({menuItem:e,index:t,...i})))})})),il=({menuItem:e,index:t,router:n,handlerDecorator:l})=>{const{text:r,href:a,items:i,target:s}=e;return u("div",{className:"flex flex-col w-1/5 last:w-1/4 gap-3.5",children:[h("a",{className:"block leading-5 text-l text-primary-text hover:text-primary-main no-underline",href:a,target:s||"_self",children:r||`Раздел ${t}`}),i?.map(((e,t)=>h(sl,{...ie({router:n,handlerDecorator:l},e),index:t},String(t))))]},String(t))},sl=x((({text:e,href:t,target:n,index:l})=>h("a",{className:"block text-l-light text-secondary-text hover:text-primary-main no-underline",href:t,target:n||"_self",children:e||`Раздел ${l}`}))),ol=[{origins:["t.me","telegram.org"],icon:{icon:"TelegramIcon"},label:"Телеграм"},{origins:["vk.com"],icon:{icon:"VKIcon"},label:"ВКонтакте"},{origins:["ok.ru"],icon:{icon:"OkIcon"},label:"Одноклассники"},{origins:["apps.apple.com"],icon:{icon:"AppleIcon"},label:"App Store"},{origins:["play.google.com"],icon:{icon:"PlayMarketIcon"},label:"Google Play"}],cl=x((({href:e,version:t="primary"})=>{const{icon:n,label:l}=ol.find((({origins:t})=>t.some((t=>e?.includes(t)))))||{};if(!n)return null;return h("a",{className:`flex items-center justify-center rounded-md w-14 h-14 group box-border ${"secondary"===t?"bg-white hover:bg-secondary-hover":"border-solid border-[1px] border-main-divider hover:border-transparent hover:bg-primary-main"} ${"primary"===t?"hover:text-black":""}`,href:e,"aria-label":l,target:"_blank",rel:"noopener noreferrer",children:n?h(O,{image:n,imageClassName:"group-hover:text-white",width:"24",height:"24",asSVG:!0}):null})})),dl=x((({className:e="",media:t,version:n,context:l,children:r})=>{const a=l.useRouter(),{handlerDecorator:i}=l;return u("div",{className:"font-sans",children:[h("div",{className:`flex gap-2.5 ${e}`,children:t?.map(((e,t)=>h(cl,{version:n,...ie({router:a,handlerDecorator:i},e)},String(t))))}),h("span",{className:"text-s-light text-secondary-text",children:r})]})})),ml=x((({className:e="",index:t,text:n,href:l,target:r,onClick:a})=>h("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:l,target:r,onClick:a,children:n||`Документ ${t}`}))),hl=x((({className:e,links:t,context:n})=>{const l=n.useRouter(),{handlerDecorator:r}=n;return u("div",{className:`${e||""}`,children:[h("div",{className:"pt-5",children:h("span",{className:"text-xs-light text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?h("div",{className:"flex justify-start items-start gap-5 pt-2.5",children:t.map(((e,t)=>h(ml,{index:t,...ie({router:l,handlerDecorator:r},e)},String(t))))}):null]})})),ul="w-[204px]",xl=x((({className:e,documents:t,relatedEnterprises:n,contacts:l,socialMedia:r,mobileApps:a,topItems:i,context:s,page:o,...c})=>{const d=o?.fallback;return u(N,{tag:"footer",context:s,className:`p-9 bg-white font-sans ${e||""}`,...c,children:[u("div",{className:"flex items-stretch gap-[54px] pb-[30px] xl:gap-8",children:[h(Gn,{className:ul}),h(Yn,{context:s,className:"grow"})]}),u("div",{className:"flex items-stretch gap-[54px] xl:gap-8",children:[u("div",{className:"w-[204px] flex flex-col shrink-0 overflow-hidden",children:[h(Kn,{items:l,context:s,hasButton:!0}),h(dl,{media:r,context:s,children:"Соцсети"}),h(dl,{className:"mt-6",media:a,context:s,children:"Мобильное приложение"})]}),h(al,{className:"pt-[3px]",context:s,items:i,fallback:d})]}),h(tl,{className:"mt-[98px]",links:n,context:s}),h(hl,{links:t,context:s})]})})),pl={normal:3,mini:4},gl={normal:"min-w-[364px] w-[364px]",mini:"min-w-[260px] w-[260px]"},bl={normal:380,mini:276},fl={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},vl={primary:"bg-primary-text",secondary:"bg-white",gray:"bg-secondary-text"},Nl={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"},yl=x((({className:e="",isDotted:t=!0,children:n,version:l="primary",size:r="M"})=>u("div",{className:`font-sans flex items-baseline ${e}`,role:"listitem",children:[t?h("div",{children:h("div",{className:`rounded-full align-middle inline-block ${vl[l]} ${Nl[r]}`})}):null,h("span",{children:n})]}))),wl={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text"},kl={S:"text-l-light",M:"text-h6",L:"text-h5"},Cl={S:"ml-2",M:"ml-3",L:"ml-4"},$l=x((e=>{const{className:t="",hasIndent:n,isDotted:l,itemClassName:r="",items:a,listItemSize:i="M",version:s="primary"}=e;return a?.length?h("section",{className:`${wl[s]} ${kl[i]} ${t} ${n?Cl[i]:""}`,role:"list",children:a.map(((e,t)=>h(yl,{className:`${r} mb-1.5`,isDotted:l,version:s,size:i,children:e},String(t))))}):null})),Sl=x((({title:e,headlineSmallVersion:t="H6",description:n,additionalDescription:l,icon:r,items:a,button:i,version:s,isDotted:o=!0,align:c="center"})=>u("div",{className:`h-full flex flex-col justify-between ${g[c]}`,children:[u("div",{className:"flex flex-col h-full",children:[Il(r),Tl(t,e),Bl(n,e),a?.length?Rl(a,o,s):null,Dl(l)]}),i?.text?h(be,{className:"mt-6",...i}):null]}))),Il=e=>u("div",{className:"flex justify-center",children:[e?.src?h(O,{className:"mb-5",image:e}):null,e?.icon?h(O,{className:"w-[32px] h-[32px] min-w-[32px] mb-5 rounded-full",image:e,asSVG:!0}):null]}),Tl=(e,t)=>t?h("div",{className:$e[e],children:t}):null,Bl=(e,t)=>e?h("div",{className:"text-l "+(t?"mt-2":""),children:e}):null,Dl=e=>e?h("div",{className:"text-m-light text-secondary-text mt-auto",children:e}):null,Rl=(e,t,n="primary")=>h($l,{className:"max-w-[308px] mt-2 text-s "+("primary"===n?"!text-secondary-text":""),itemClassName:"text-left",items:e.filter((e=>e?.text)).map((e=>e.text)),isDotted:t,version:n}),_l=x((({context:e,title:t,headlineVersion:n="M",description:l,cards:r=[],version:a="normal",activeCardIndex:i})=>u("div",{children:[h(Se,{context:e,className:"!p-0",title:t,description:l,headlineVersion:n,align:"center"}),h("div",{className:`flex mt-8 ${r?.length<=pl[a]?"justify-center":""} duration-1000`,style:{transform:`translateX(-${i*bl[a]}px)`},role:"list",children:r?.map(((t,n)=>function({card:e,version:t},n){return h("section",{className:`box-border border-solid border border-main-stroke p-6 mx-2 flex flex-col justify-between\n items-stretch ${gl[t]} ${fl[e.version??"primary"]} w-full col-span-4`,role:"listitem",children:h(Sl,{...e})},String(n))}({card:t,version:a,context:e},n)))})]})));const jl=x((({context:e,cards:t=[],className:n="",version:r="normal",button:a,...i})=>{const[s,o]=l(0),c=t?.length>pl[r],d=c&&t?.length-s>pl[r],m=c&&s>0;return u(N,{context:e,className:`relative font-sans text-primary-text bg-white p-[42px] overflow-hidden flex flex-col ${n}`,...i,children:[h(_l,{context:e,cards:t,version:r,activeCardIndex:s,...i}),Ve({handler:[()=>o(s-1),()=>o(s+1)],isShown:[m,d],btnClass:["left-8","right-8"],className:"top-1/2"}),c?u("div",{children:[h("div",{className:"absolute top-0 left-0 bottom-0 w-[82px] bg-opacity-from-white"}),h("div",{className:"absolute top-0 right-0 bottom-0 w-[82px] bg-opacity-to-white"})]}):null,a?h(be,{className:"mt-8 mx-auto",...a}):null]})})),Ll=x((e=>h(jl,{...e,version:"normal"}))),Vl=x((({context:e,className:t="",title:n,description:l,calendar:r,...a})=>u(N,{className:`font-sans bg-white p-[50px] ${t}`,context:e,...a,children:[h(Se,{context:e,className:"!p-0 mb-4",title:n,description:l,headlineVersion:"M",align:"center"}),r?Ml(r):null]}))),Ml=e=>{const t=100/(e.reduce(((e,t)=>t?.month?.length?e+t.month.length:e),0)||1),n=e.filter((e=>e?.month?.length)).map((e=>({...e,flexBasis:`${e?.month?.length?e.month.length*t:""}%`})));return u("div",{className:"w-full flex flex-col justify-center mt-13",children:[h("div",{className:"flex w-full mb-3 text-h6 text-center",children:n.map((e=>Al(e,t)))}),h("div",{className:"flex w-full",children:n.map(((e,t)=>u("div",{className:"pr-[11px] mr-3 border-r border-main-divider last:border-r-0 last:pr-0 last:mr-0",style:{flexBasis:e.flexBasis},children:[h("div",{className:"flex",children:Ol(e)}),u("div",{className:"text-s-light text-primary-text mt-3",children:[h("span",{children:e.text})," ",h("span",{className:"text-primary-main",children:e.greenText})]})]},`monthItem-${t}`)))})]})},Al=(e,t)=>e.month?.map(((e,n)=>h("div",{style:{flexBasis:`${t}%`},children:e.text},`monthName-${n}`))),Ol=e=>e.month?.map((e=>e.image?.src?h("div",{className:"h-[207px] border-r-[1px] pr-3 mr-3 border-main-divider last:border-r-0 last:pr-0 last:mr-0",children:h(O,{image:e.image,className:"flex"})},`monthImage-${e.image.src}`):null)),Fl=(e,t,n=((e,t)=>t.startsWith(e)))=>n(ee(e),(e=>(e||"").replace(le,""))(ee(q(e)?t.href:t.pathname))),Ul=e=>t=>Fl(t.href,e),Pl=e=>t=>t.items?.some(Ul(e))||Fl(t.href,e)||((e,t)=>te(e)===te(t.href))(t.href,e),El="font-sans text-s-light",zl=x((({className:e="",text:t,href:n,target:l,active:r,flat:a,onClick:i,children:s,ariaLabel:o,bgColor:c="bg-white"})=>h("a",{className:`${Xl(c,r,a)} ${e}`,href:n,target:l,onClick:i,rel:"noopener noreferrer","aria-label":o,children:h("span",{className:Hl(c,r,a),children:t||s})}))),Xl=(e,t=!1,n=!1)=>{let l="border-transparent";return t&&(l="rounded-md "+("bg-white"===e?"border-primary-main":"border-white")),`${l} inline-block border border-solid bg-transparent text-center no-underline ${n?"":"px-4 py-2"}`},Hl=(e,t=!1,n=!1)=>{if("transparent"===e)return`text-white hover:text-primary-hover ${El}`;return`${t?"text-primary-main":(n?"text-primary-text":"text-secondary-text")+" hover:text-primary-main"} ${El}`},Gl=o("https://10.80.4.9");const Wl=x((({className:e="",children:t,ariaLabel:n})=>h("button",{type:"button",className:`border-0 p-0 w-[24px] h-[24px] flex items-center bg-inherit cursor-pointer ${e}`,disabled:!0,"aria-label":n,children:t}))),Jl={"bg-white":"text-primary-text hover:text-primary-main",transparent:"text-white"},Yl={"bg-white":"text-secondary-light hover:text-secondary-hover",transparent:"text-white"},Kl={"bg-white":"black",transparent:"white"},Zl=x((({className:e,defaultLocation:t="",bgColor:n="bg-white"})=>{const[i,s]=function(e){const[t,n]=l(e);return r((()=>{n(globalThis?.localStorage.getItem("location")||e)}),[e]),[t,a((()=>{Gl.getFetcherAddress().then((t=>{const l=t||e;globalThis?.localStorage.setItem("location",l),n(l)}))}),[e])]}(t);return u("div",{className:`flex items-center ${e||""}`,children:[h(zl,{className:"mr-5",flat:!0,href:"#",text:i,ariaLabel:"Местоположение",onClick:s,bgColor:n}),h(zl,{className:"mr-7",flat:!0,href:"#",text:"Офисы и банкоматы",ariaLabel:"Список всех доступных офисов и банкоматов",bgColor:n}),h(Wl,{className:`mr-5 group ${Jl[n]}`,ariaLabel:"Поиск по сайту",children:h(O,{image:{icon:"LoupeIcon",iconVersion:Kl[n]},className:"h-full pointer-events-none",imageClassName:"group-hover:text-primary-hover group-hover:invert-0 pointer-events-none",asSVG:!0})}),h(Wl,{className:`${Yl[n]} group min-w-[32px] min-h-[32px]`,ariaLabel:"Дополнительные ссылки",children:h(O,{image:{icon:"GridIcon",iconVersion:Kl[n]},className:"h-full bg-main-divider/20 rounded-full pointer-events-none",imageClassName:"group-hover:text-primary-hover group-hover:invert-0",asSVG:!0})})]})})),Ql="absolute left-0 -bottom-3 w-full h-[2px]",ql=x((({className:e="",text:t,href:n,target:l,active:r,onClick:a,children:i,bgColor:s="bg-white",dataItemName:o})=>u("a",{className:`relative inline-block bg-transparent text-center no-underline ${e}`,href:n,target:l,onClick:a,"data-item-name":o,children:[h("span",{className:er(s,r),children:t||i}),r?h("div",{className:tr(s,r)}):null]}))),er=(e,t=!1)=>{let n="text-white";return"bg-white"===e&&(n=t?"text-primary-main":"text-primary-text hover:text-primary-main"),`${n} font-sans text-l-light`},tr=(e,t=!1)=>t?`${"bg-white"===e?"bg-primary-main":e} ${Ql}`:Ql,nr={"bg-white":"bg-primary-text",transparent:"bg-white"},lr=x((e=>{const{menuVisible:t,toggleMenu:n,menuItems:l,bgColor:r,context:a,activeSubItem:i}=e,{useRouter:s,handlerDecorator:o}=a,c=s();return u("div",{className:"absolute w-52 -top-4 right-0 pt-4 z-40 "+(t?"bg-white rounded-md shadow-blue-gray/24":""),children:[h("button",{className:"flex justify-between items-center cursor-pointer h-6 ml-6",onClick:n,"aria-label":""+(t?"Скрыть другие разделы":"Показать другие разделы"),children:Array(3).fill(r).map(ar)}),h("div",{className:"flex flex-col rounded-md bg-white p-6 pb-2 "+(t?"":"hidden"),"aria-hidden":!t,children:rr({menuItems:l,router:c,handlerDecorator:o,activeSubItem:i})})]})})),rr=({menuItems:e,router:t,handlerDecorator:n,activeSubItem:l})=>e?.map((e=>{return h("a",{...ie({router:t,handlerDecorator:n},e),className:"text-l-light pb-4 hover:text-primary-main "+(r=e,r===l?"text-primary-main":""),children:e.text},e.href);var r})),ar=(e,t)=>h("div",{className:`w-[3px] h-[3px] rounded mr-1 ${nr[e]}`},String(t)),ir=x((({context:e,subItems:t=[],bgColor:n})=>{const[r,a]=l(!1),i=e.useRouter(),{handlerDecorator:s}=e,[o,c]=l(t.length),d=t.slice(o),m=(e=>(t=[])=>{const n=t?.filter(Ul(e));return n?.length?(l=e=>e.href?.length||0,e=>e.reduceRight(((e,t)=>l(e)>l(t)?e:t)))(n):void 0;var l})(i)(t);return u("nav",{className:"relative mt-6",children:[h("div",{className:"overflow-hidden whitespace-nowrap mr-52 pb-3",children:t.map(((e,t)=>{return h(f,{tag:"span",observerCallback:(l=t,e=>{e.length&&(e[0].intersectionRatio<1?c((e=>Math.min(e,l))):c((e=>Math.max(e,l+1))))}),observerOptions:{threshold:1},children:h(ql,{className:"mr-8 "+(o-1<t?"invisible":""),active:e===m,...ie({router:i,handlerDecorator:s},e),bgColor:n})},String(t));var l}))}),d.length?h(lr,{context:e,activeSubItem:m,menuVisible:r,toggleMenu:()=>a(!r),menuItems:d,bgColor:n}):null]})})),sr={"bg-white":"bg-main-divider",transparent:"bg-main-divider opacity-30"},or=x((({className:e="",defaultLocation:t="Москва",showSubMenu:n=!0,bgColor:l="bg-white",context:r,topItems:a,logo:i,page:s,...o})=>{const c=r.useRouter(),d=s?.fallback,m=rl(d),{handlerDecorator:x}=r,p=ll(m.topItems,a),[g]=p,b=n?p.find(Pl(c))||g:null,f=p.map(((e,t)=>h(zl,{active:e===b,...ie({router:c,handlerDecorator:x},e),"aria-label":e.text,bgColor:l},String(t))));return h(N,{tag:"header",context:r,className:`pt-6 px-20 ${l} ${e} ${n&&b?.items?.length?"pb-4":"pb-5"}`,...o,children:u("div",{className:"container",children:[u("div",{className:"flex items-center",children:[h(Gn,{className:"mr-8",bgColor:l,logo:i}),f,h(Zl,{className:"ml-auto",defaultLocation:t,bgColor:l})]}),h("div",{className:`mt-6 h-[1px] ${sr[l]}`}),n&&b?.items?.length?h(ir,{context:r,subItems:b.items,bgColor:l}):null]})})})),cr=x((({className:e="",cards:t=[],button:n})=>{const[r,a]=l(0),[i,s]=l(0),o=t?.length??0,c=t?.length>2&&o>i+2,d=o===i+2,m=i>0,x=t[r]?.href;return u("section",{role:"listitem",className:`min-w-full text-center ${e}`,children:[u("div",{className:"relative overflow-hidden",children:[o?dr({tabsShift:i,cards:t,activeSlideIndex:r,isLastShift:d,setActiveSlideIndex:a}):null,Ve({handler:[()=>s(i-1),()=>s(i+1)],isShown:[m,c],btnClass:["left-[50px]","right-[50px]"],className:"top-[62px]"}),m?h("div",{className:"absolute top-0 left-0 h-full w-[136px] bg-opacity-from-white"}):null,c?h("div",{className:"absolute top-0 right-0 h-full w-[136px] bg-opacity-to-white"}):null]}),h(be,{className:"w-[240px] text-center",version:"primary",...n,href:x})]})}));function dr({tabsShift:e,cards:t,activeSlideIndex:n,isLastShift:l,setActiveSlideIndex:r}){const a=l?460*e-240:460*e,i=t.length>2?"justify-start":"justify-center";return h("div",{style:{transform:`translateX(-${a}px)`},className:"duration-1000 px-[50px]",children:h("div",{className:`w-full flex flex-nowrap gap-3.5 pb-12 ${i}`,children:t.map(((e,t)=>function({slide:e,i:t,activeSlideIndex:n,onClick:l}){const r=t===n;return u("button",{type:"button",onClick:l,className:"p-[30px] min-w-[460px] flex items-center bg-white border-solid border relative "+(r?"shadow-dark-blue/42 border-primary-main":"ease-in duration-300 border-main-stroke"),children:[e?.icon?h(O,{className:"p-5 rounded-full bg-secondary-light mr-[30px]",image:e.icon,width:"108",height:"108"}):null,u("div",{className:"flex gap-3.5",children:[e?.sum?mr("страховая сумма",e.sum):null,e?.fee?mr("страховой взнос",e.fee):null]}),hr(r)]},String(t))}({slide:e,i:t,activeSlideIndex:n,onClick:()=>r(t)})))})})}function mr(e,t){return u("div",{className:"flex flex-col text-left whitespace-pre",children:[u("span",{className:"text-h6",children:[Me(t)," ₽"]}),h("span",{className:"text-secondary-text text-l mt-1",children:e})]})}function hr(e){return e?h(O,{className:"h-6 w-6 min-w-6 min-h-6 absolute right-4 top-4",image:"DoneIcon",width:"24",height:"24"}):null}const ur=x((({className:e="",context:t,title:n,insuranceTabs:r=[],button:a,...i})=>{const[s,o]=l(0);return u(N,{context:t,className:`box-border py-[50px] overflow-hidden relative font-sans w-100 bg-white ${e}`,...i,children:[n?h(k,{className:"text-center mb-8",title:n,headingType:"h3"}):null,r?.length>1?h("div",{className:"p-1.5 bg-secondary-light w-fit mx-auto mb-7 rounded-md",children:r.map(((e,t)=>function({title:e,i:t,activeSlideIndex:n,onClick:l}){return h("button",{type:"button",onClick:l,"aria-label":e,className:"box-border px-4 py-3 text-m-light "+(t===n?"bg-primary-main text-white rounded-md":"text-secondary-text"),children:e},String(t))}({title:e?.title,i:t,activeSlideIndex:s,onClick:()=>o(t)})))}):null,h("div",{className:"flex",style:{transform:`translateX(-${s}00%)`},role:"list",children:xr({context:t,className:e,insuranceTabs:r,button:a})})]})})),xr=({insuranceTabs:e,button:t,context:n,className:l=""})=>{const r=e?.map((e=>e.cards));return r?.length?r.map(((e,r)=>h(cr,{context:n,className:l,button:t,cards:e},String(r)))):null};function pr(e){return t=>t.reduce(((t,n,l)=>t.length?t.concat({...e,key:l},n):[n]),[])}const gr={yellow:"bg-yellow",green:"bg-green","green-light":"bg-green-light","green-dark":"bg-green-dark"},br={XS:"h-[40px]",S:"h-[68px]",M:"h-[102px]",L:"h-[136px]",XL:"h-[204px]"},fr=x((e=>{const{context:t,className:n="",items:l,isDotted:r,investmentZeroColumn:a,investmentColumns:i,...s}=e,o=i?[...i]:[];return a&&o.unshift(a),h(N,{className:`font-sans bg-white p-9 pb-9 ${n}`,context:t,...s,children:u("div",{className:"container text-m-light",children:[o?.length?u("div",{children:[u("div",{className:"flex items-end px-9 text-white",children:[pr(h("div",{className:"w-px h-4 bg-main-stroke"}))(o.map(vr)),h("div",{className:"w-px h-4 bg-main-stroke"})]}),h("div",{className:"border-t border-main-stroke -mt-2 mx-9"}),h("div",{className:"flex justify-between mt-3 -mx-10",children:o.map(wr)})]}):null,l?.length?h($l,{className:"mt-9 text-h6",items:l,itemClassName:"mb-[7px]",isDotted:r}):null]})})})),vr=(e,t,n)=>{const l=1===t,r=t===n.length-1;return h("div",{className:`${Nr(l,r,e.cells)}`,children:e.cells?.length?h("div",{className:"w-full "+(r?"border-4 border-green-more-dark p-1":""),children:e.cells.map(yr)}):null},`column_${t}`)},Nr=(e,t,n=[])=>[n.length?"flex-1":"flex-0",!n.length||e||t?"":"pl-2.5",n.length&&!t?"pr-2.5 pb-8":"pb-6"].join(" "),yr=(e,t)=>{const n=e.cellSize||"XS",l=e.cellColor||"green";return e.text?h("div",{className:`flex-1 flex items-center justify-center relative py-2 ${br[n]} ${gr[l]} ${"XS"===n?"px-3":"px-11"}`,children:h("div",{className:"text-center",children:e.text})},`cell_${t}`):null},wr=(e,t,n)=>{const l=0===t,r=t===n.length-1;return h("div",{className:`flex-1 max-w-[180px] text-center px-2 ${l?"pl-9":""} ${r?"pr-9":" "}`,children:e.title},`title_${t}`)},kr=x((({className:e,iconClassName:t,textClassName:n,suffixClassName:l,doc:r,icon:a})=>{const{text:i,fileSize:s,...o}=r;return u("a",{className:e,role:"link",...o,children:[a?h(O,{className:t,image:a,width:"24px",height:"24px",asSVG:!0}):null,i?u("span",{className:n,children:[i,h("span",{className:l,children:o?.href&&Cr($r(o.href),s)})]}):null]})})),Cr=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),$r=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},Sr=x((({className:e="",doc:t,icon:n})=>h(kr,{className:`flex h-full box-border ${e}`,iconClassName:"mr-2.5 min-w-6 min-h-6",textClassName:"self-center text-l-light",suffixClassName:"text-secondary-text group-hover:text-primary-main",doc:t,icon:n}))),Ir=x((({className:e,documents:t,columnsMode:n="double",icon:l})=>t?.length?h("div",{className:e,role:"list",children:t.map(((e,t)=>h("div",{className:"double"===n?"basis-[calc(50%-20px)]":"",role:"listitem",children:h(Sr,{className:"group flex align-middle h-fit w-fit text-primary-text no-underline hover:text-primary-main",doc:e,icon:l})},String(t))))}):null)),Tr={double:"flex gap-x-5 gap-y-[26px] flex-wrap",single:"flex gap-3.5 flex-col"},Br=x((({context:e,className:t="",title:n,description:l,align:r="center",documents:a,icon:i={icon:"DocIcon"},columnsMode:s="double",...o})=>u(N,{className:`font-sans text-primary-text p-[50px] bg-white ${t}`,context:e,...o,children:[h(Se,{className:"!p-0",title:n,description:l,context:e,align:r,headlineVersion:"M",as:"h2"}),h(Ir,{className:`mt-8 ${Tr[s]}`,columnsMode:s,documents:a,icon:i})]}))),Dr=x((e=>h(jl,{...e,version:"mini"}))),Rr=e=>{const t="col-span-",n=e.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function _r(e=""){const t=Rr(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}const jr=x((({className:e="",context:t,title:n="Мобильное приложение",qr:l,buttons:r,version:a="primary",items:i,image:s,headingType:o="h4",alignTitle:c="left",description:d,...m})=>{const x="primary"===a?"text-primary-text":"",p="secondary"===a?"p-3.5 min-w-[120px]":"min-w-[92px]",b=r?.map((e=>({...e,className:"min-w-[168px]"})));return u(N,{context:t,className:`flex justify-between font-sans p-9 box-border relative min-h-[320px]\n ${_r(e)}\n ${fl[a]}\n ${e}`,...m,children:[u(vn,{context:t,className:"z-10",title:n?h(k,{headingType:o,as:"h3",title:n,className:`whitespace-pre-wrap max-w-[509px] mb-6\n ${x} ${g[c]}`}):null,buttons:r?.length?h(Ne,{context:t,buttons:b,className:"flex gap-4"}):null,children:[Vr(d),u("div",{className:"flex flex-1 items-center",children:[l?.src?h("div",{className:`flex justify-center mr-5 bg-white rounded-md ${p}`,children:h(O,{className:"w-fit",image:l,alt:"QR-код"})}):null,Lr(a,i)]})]}),s?.src?h("div",{className:"absolute right-0 bottom-0",children:h(O,{image:s})}):null]})})),Lr=(e,t)=>t?.length?h($l,{items:t,itemClassName:"text-l-light mb-2 last:mb-0",version:e}):h("span",{className:"text-m-light text-secondary-text",children:"Наведите камеру телефона на QR-код и скачайте приложение"}),Vr=e=>e?h("p",{className:"text-xl-light mb-5",children:e}):null;const Mr=e=>e?nt(e,{method:"GET"}):{},Ar={id:123,branchType:{id:7,code:"21",name:"Отделение на балансе филиала"},shortName:"Ейский ДО",name:"ДО №3349/3/05",address:"353682, Краснодарский край, г.Ейск, ул.Гоголя, 349/ ул.Баррикадная, 42/1",lawAddress:"353682, Краснодарский край, г.Ейск, ул.Гоголя, 349/ ул.Баррикадная, 42/1",openDate:"2000-12-05",closeDate:null,bik:"040349536",corAcc:"30101810700000000536",registrationNumber:"3349/3/05",phone:"+7(XXX)XXX-XX-XX",fax:"+7(XXX)XXX-XX-XY",okpo:"55105921",ogrn:"1027700342890",kpp:"231002002",inn:"7725114488",branchCode:"0305",upperBranchCode:"0300",timeZone:"+03:00",exchangeRate:{currencies:[{buyExchangeRate:0,saleExchangeRate:0,currency:{id:3,code:"156",currency:"CNY",name:"Китайский юань"}},{buyExchangeRate:59.15,saleExchangeRate:69.25,currency:{id:2,code:"978",currency:"EUR",name:"Евро"}},{buyExchangeRate:58.4,saleExchangeRate:70.05,currency:{id:1,code:"840",currency:"USD",name:"Американский доллар"}}],lastUpdate:"2022-11-11 03:56:17"},workSchedule:{id:413,workTime:"09.00–16.30",lunchHour:"без перерыва",workTimeSaturday:"09.00–15.00",lunchHourSaturday:"без перерыва",workingMonday:!1,workingTuesday:!1,workingWednesday:!0,workingThursday:!0,workingFriday:!0,workingSaturday:!0,workingSunday:!1},gpsLatitude:46.709744,gpsLongitude:38.260703,range:null,safeBoxCaseVolumes:null},Or=({lunchHour:e,status:t,workTime:n})=>{const l=/\d+/gi.test(e)?`Перерыв ${e}`:e;return t?u("div",{className:"flex",children:[h("div",{className:"p-3 border rounded-md text-m flex items-center cursor-pointer text-primary-main border-green-light mr-4",children:n||null}),h("div",{className:"p-3 border rounded-md text-m flex items-center cursor-pointer text-golden border-golden",children:e?l:null})]}):h("div",{className:"flex",children:h("div",{className:"p-3 border rounded-md text-m flex items-center cursor-pointer text-error border-error",children:"Выходной"})})},Fr=({icon:e,title:t,distance:n,time:l},r)=>u("div",{className:"flex mr-4",children:[h(B,{name:e,width:"16",height:"16",asSVG:!0,className:"mr-1"}),t?u("span",{className:"text-m",children:[t," "]}):null,u("span",{className:"text-m-light",children:[n?` (${n})`:null,l?`, ${l}`:null]})]},`nearbyOffice${r}`),Ur=({title:e,status:t,workTime:n,lunchHour:l,description:r},a)=>u("div",{className:"flex flex-col pb-3 border-b border-solid border-main-divider mb-3 last:border-0",children:[u("div",{className:"flex justify-between items-center w-full pb-1 text-l text-primary-text",children:[h("div",{children:e}),t?null:h("div",{className:"text-m-light text-error",children:"Выходной"}),t&&n?h("div",{children:n}):null]}),t&&l?Pr(l):null,r?h("div",{className:"pb-1 text-s-light text-secondary-text",children:r}):null]},`day${a}`),Pr=e=>/\d+/gi.test(e)?u("div",{className:"flex justify-between items-center w-full pb-1 text-m-light text-error",children:[h("div",{children:"Перерыв"}),h("div",{children:e})]}):h("div",{className:"flex justify-between items-center w-full pb-1 text-m-light text-primary-main",children:h("div",{children:e})});function Er(e,t,n){t.geoObjects.removeAll();const l=e.templateLayoutFactory.createClass('<div style="margin-top: -3px;">{{properties.geoObjects.length}}</div>'),r=new e.Clusterer({clusterIcons:[{href:"icons/MapMarkerClusterIcon.svg",size:[78,84],offset:[-35,-50]}],clusterIconContentLayout:l,clusterHideIconOnBalloonOpen:!1,geoObjectHideIconOnBalloonOpen:!1}),a=n.map((t=>new e.Placemark(t,{},{iconLayout:"default#image",iconImageHref:"icons/MapMarkerSingleIcon.svg",iconImageSize:[78,84],iconImageOffset:[-35,-50]})));r.add(a),t.geoObjects.add(r),t.setBounds(e.util.bounds.fromPoints(n)).then((()=>{t.getZoom()>10&&t.setZoom(10)}))}const zr=e=>globalThis[e];const Xr=()=>{const e=function(e,t){const[n,i]=l(),s=a((()=>i(zr(e))),[e]);return r((()=>{const n=document.getElementById(t);if(!n){const e=document.createElement("script");return e.src=t,e.async=!0,e.id=t,e.addEventListener("load",s),document.head.appendChild(e),()=>{document.head.removeChild(e),i(void 0)}}if(!zr(e))return n.addEventListener("load",s),()=>{n.removeEventListener("load",s)};s()}),[e,t]),n}("ymaps",`https://api-maps.yandex.ru/2.1/?apikey=${c.YANDEX_MAP_API_KEY}&lang=ru_RU`);return e},Hr=x((({point:e})=>{const t=s(null),n=Xr();return r((()=>{n?.ready((()=>{t.current=new n.Map("map",{center:e,zoom:10}),Er(n,t.current,[e])}))}),[t,e,n]),r((()=>{t.current&&e&&n&&Er(n,t.current,[e])}),[t,e,n]),n?h("div",{className:"bg-white",children:h("div",{id:"map",className:"h-[560px]"})}):null})),Gr=x((({className:e=""})=>{const t=function(e){const{data:t}=et(e?`/api/v1/branches?regionCode=${e}`:void 0,Mr);return t}("063")||Ar,{name:n,address:l,gpsLatitude:r,gpsLongitude:a,workSchedule:i}=t,{workTime:s,lunchHour:o,workTimeSaturday:c,lunchHourSaturday:d,workingMonday:m,workingTuesday:x,workingWednesday:p,workingThursday:g,workingFriday:b,workingSaturday:f,workingSunday:v}=i,N=r&&a?[r,a]:null,y=[{title:"Понедельник",status:m,workTime:s,lunchHour:o},{title:"Вторник",status:x,workTime:s,lunchHour:o},{title:"Среда",status:p,workTime:s,lunchHour:o},{title:"Четверг",status:g,workTime:s,lunchHour:"13:00 - 14:00",description:"Не работает прием денег с 17:00 до 19:00"},{title:"Пятница",status:b,workTime:s,lunchHour:o},{title:"Суббота",status:f,workTime:c,lunchHour:d},{title:"Воскресенье",status:v}],w=(new Date).getDay(),k=w>0?y[w-1]:y[6];return u("div",{className:`flex flex-col font-sans bg-white w-full ${e}`,children:[u("div",{className:"flex flex-col px-12 pt-12",children:[u("div",{className:"flex justify-between",children:[h("div",{className:"text-h2",children:n}),Or(k)]}),u("div",{className:"flex text-l-light pt-4",children:[h(B,{name:"GeolocationIcon",width:"24",height:"24",asSVG:!0,className:"pr-1"}),l]}),h("div",{className:"flex pt-4",children:[{title:"Деловой центр",time:"1 мин",distance:"~30 м.",icon:"MetroIcon"},{title:"Выставочная",time:"5 мин",distance:"~120 м.",icon:"MetroIcon"},{title:"Деловой центр",time:"8 мин",distance:"~350 м.",icon:"MetroIcon"}].map(Fr)})]}),u("div",{className:"flex justify-between pt-8",children:[h("div",{className:"flex-grow h-full bg-gray",children:N?h(Hr,{point:N}):null}),h("div",{className:"w-[434px] pl-9 pr-12 pb-14",children:h("div",{className:"flex flex-col",children:y.map(Ur)})})]})]})})),Wr=x((({className:e="",context:t,title:n,servicesList:l,anchor:r="",...a})=>u(N,{context:t,id:r,className:`font-sans bg-white p-8 flex flex-col ${e}`,...a,children:[n?h(k,{headingType:"h5",className:"mb-5",title:n}):null,l?.length?l.map(Jr):null]}))),Jr=(e,t)=>u("li",{className:"flex mb-5 last:mb-0 list-none",children:[e.icon?h(O,{className:"mr-3 min-w-6 min-h-6 w-6 h-6",width:"24",height:"24",asSVG:!0,image:e.icon}):null,e.label?h("span",{className:"text-l-light",children:e.label}):null]},`list_item_${String(t)}`),Yr=x((({context:e,className:t="",children:n,...l})=>h(N,{context:e,className:`font-sans text-primary-text ${t}`,...l,children:n})));Yr.childrenTypes=["OtherProductsItem"];const Kr=x((({className:e,label:t,icon:n,dataTheme:l="",onClick:r})=>u("button",{className:`border-none bg-primary-main hover:bg-primary-hover px-0 py-5 mb-[1px] w-full font-sans text-white flex justify-center cursor-pointer ${e||""}`,"data-theme":l,onClick:r,children:[h("span",{className:"text-h4 pr-3",children:t}),n?h(O,{image:{icon:n,iconVersion:"white"},className:"flex-shrink-0 my-auto",width:"20",height:"20",asSVG:!0}):null]}))),Zr=({isUnfolded:e,onToggle:t})=>h(Kr,{icon:["ArrowDownIcon","ArrowUpIcon"][Number(e)],label:["Развернуть","Скрыть"][Number(e)],onClick:t}),Qr=["ArrowDownIcon","ArrowUpIcon"],qr=x((({className:e,page:t,ancestors:n,label:l="",isUnfolded:r,children:a})=>{const{colorPalette:i}=function(e,t){const{content:n}=function(e,t){const[,...n]=e||[];return n.reverse().find((e=>!t||t===e?.type))||{}}(e);return n||t}(n,{});return h("div",{className:`border-0 border-b border-solid border-main-divider ${e}`,children:h(S,{unfoldedByDefault:r,renderFoldableSection:({isUnfolded:e})=>h("div",{className:"box-border",children:h(I,{className:"grid grid-cols-12 gap-1 border-box",isUnfolded:e,children:a})}),renderFoldButton:({isUnfolded:e,onToggle:n})=>h(Kr,{label:l,icon:Qr[Number(e)],dataTheme:t?.colorPalette||i,onClick:n})})})}));qr.childrenTypes=[];const ea={primary:"text-primary-text",secondary:"text-white"},ta={primary:"text-secondary-text",secondary:"text-white"},na=x((e=>{const{className:t="",icon:n,label:l,description:r,version:a="primary",benefitsVersion:i="normal"}=e,s=r?"items-start":"items-center",o=ra("white"===i||"secondary"===a,n);return u("div",{className:`flex gap-5 ${s} ${t}`,children:[n?h("div",{className:la(a,i),children:h(O,{className:"w-6 h-6",image:{...n,iconVersion:o},asSVG:!0})}):null,u("div",{className:"gap-0.5",children:[l?h("div",{className:`text-h6 ${ea[a]}`,children:l}):null,r?h("div",{className:`text-m-light ${ta[a]}`,children:r}):null]})]})}));function la(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-[50px] h-[50px] min-w-[50px] rounded-full p-2.5 box-border flex items-center justify-center ${n}`}const ra=(e,t)=>t?.iconVersion||e?"white":"normal",aa=x((({className:e="",context:t,title:n,description:l,image:r,benefits:a,version:i="primary",sum:s,monthLimit:o,directionRight:c=!1,...d})=>u(N,{className:`relative font-sans py-12 px-24 ${fl[i]} ${e}`,context:t,...d,children:[h(Se,{context:t,className:"!p-0",title:n,description:l,headlineVersion:"M",bgColorHeadline:i,align:"center"}),u("div",{className:"flex justify-center gap-[122px] mt-[30px]",children:[r?.src?h(O,{className:c?"order-2":"",image:r}):null,u("div",{className:"w-[558px] m-auto",children:[a?.length?h("div",{className:"flex flex-col gap-4",children:a.map(ia(i))}):null,sa(s,o)]})]})]}))),ia=e=>(t,n)=>h(na,{icon:t.icon,label:t.label,description:t.description,version:e},String(n));function sa(e,t){return e||t?u("div",{className:"bg-main-divider rounded-md flex mt-7 gap-6 px-5 py-4",children:[Number.isFinite(e)?oa("Страховая сумма:",e,Boolean(t)):null,Number.isFinite(t)?oa("Ежемесячный лимит:",t,Boolean(e)):null]}):null}function oa(e,t=0,n=!1){return u("div",{className:`flex justify-between items-center gap-2 w-full ${n?"w-fit":"w-full"}`,children:[h("span",{className:"text-secondary-text text-l-light",children:e}),u("span",{className:"text-primary-main text-h6",children:[Me(t)," ₽"]})]})}function ca(e=""){const t=Rr(e);return t<=4?"S":t<=8?"M":"L"}function da(e=""){const t=Rr(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const ma=x((({className:e,context:t,title:n,description:l="Блок в разработке...",...r})=>u(N,{context:t,className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${da(e)} ${_r(e)} `,...r,children:[h(Se,{context:t,className:"!p-0 max-w-[600px]",title:n,description:l,headlineVersion:ca(e)}),h("figure",{className:"m-0 min-w-[80%]",children:ha()})]}))),ha=(e=3)=>xa(100,e).map((e=>Math.floor(e))).map(ua),ua=(e,t)=>h("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),xa=(e,t)=>[e].concat(t>0?xa(e/1.618,t-1):[]),pa=x((({text:e,href:t,target:n,onClick:l,className:r="",children:a})=>t?h("a",{className:`no-underline ${r}`,href:t,target:n,onClick:l,children:h("span",{className:r,children:e||a})}):h("span",{className:r,children:e||a}))),ga=(e="primary",t="normal")=>({icon:n,label:l,description:r},a)=>h(na,{icon:n,label:l,description:r,version:e,benefitsVersion:t},String(a)),ba=x((({className:e="",context:t,title:n,headlineVersion:l="L",description:r,benefits:a,benefitsVersion:i="normal",buttons:s,image:o,items:c,version:d="primary",isDotted:m=!0,textBlockClassName:x=""})=>{const p=a?.filter((e=>e.label))?.length,g=va(p);return u("div",{className:`flex grow justify-between items-stretch h-full ${e}`,children:[u("div",{className:`flex flex-col ${x}`,children:[h(Se,{context:t,title:n,description:r,className:"!p-0 max-w-[600px]",bgColorHeadline:d,headlineVersion:l,align:"left"}),u(vn,{context:t,buttons:fa(t,s),children:[p?h("div",{className:g,children:a.map(ga(d,i))}):null,c?.length?h($l,{className:"mt-5 text-h6",items:c,itemClassName:"mb-[7px]",version:d,isDotted:m}):null]})]}),o?.src&&h(O,{className:"mt-[-50px]",image:o})]})})),fa=(e,t)=>t?.length?h(Ne,{context:e,buttons:t,className:"flex gap-4"}):null,va=(e=0)=>"gap-6 mt-6 "+(e>3?"inline-grid grid-cols-[auto_auto]":"flex");function Na(e,t,n){const{text:l,href:r,target:a,onClick:i}=e,s="primary"===t?"white":"black";return u("div",{className:`flex items-center cursor-pointer ${n}`,onClick:i,children:[h(be,{version:t,rounded:!0,className:"w-12 h-12 min-h-12 min-w-12 flex items-center justify-center mr-3",ariaLabel:l,href:r,target:a,children:h(O,{className:"w-4 h-4",image:{...e?.icon||{icon:"ArrowLeftIcon"},iconVersion:s},asSVG:!0})}),l?h("span",{className:"text-m",children:l}):null]})}const ya={primary:"text-secondary-text",secondary:"text-white/80"},wa=x((e=>{const{context:t,className:n="",breadcrumbs:l,backwardButton:r,version:a="primary",...i}=e,s=t.useRouter(),{handlerDecorator:o}=t;return u(N,{context:t,className:`font-sans overflow-hidden p-[50px] flex flex-col box-border min-h-[454px] ${fl[a]} ${n}`,...i,children:[r?.text?Na(ie({router:s,handlerDecorator:o},r),a,"mb-10 -mt-2.5"):null,l?.length?h("div",{className:"text-xs-light mb-6",children:pr(h("span",{className:`mx-2 ${ya[a]}`,children:"/"}))(l.map(((e,t)=>h(pa,{...ie({router:s,handlerDecorator:o},{className:ya[a],...e})},String(t)))))}):null,h(ba,{context:t,version:a,...i})]})})),ka={primary:{title:"text-secondary-text",text:"text-secondary-text"},secondary:{title:"text-white",text:"text-white/80"}},Ca=x((({className:e="",context:t,slides:n=[],version:r="primary",...a})=>{const i=n.map((e=>e.nav)),s=n.map((e=>e.productBlock)),[o,c]=l(0);return u(N,{context:t,className:`box-border pt-[50px] overflow-hidden relative font-sans w-100 mb-6 ${e}\n ${fl[r]}`,...a,children:[h("div",{className:"flex duration-1000 pb-14",style:{transform:`translateX(-${o}00%)`},role:"list",children:s.map(((e,n)=>function(e,t,n){const{version:l}=e,r=l?ka[l].title:"";return h("section",{className:"box-border relative flex grow-0 shrink-0 basis-full",role:"listitem",children:h("div",{className:"flex grow",children:h(ba,{className:`pl-[50px] z-10 ${r}`,context:n,textBlockClassName:"mb-[154px]",...e,headlineVersion:"XXL"})})},String(t))}({...e,version:r},n,t)))}),h("div",{className:"flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border h-28",children:i.map(((e,t)=>function({slide:e,i:t,activeSlideIndex:n,onClick:l,version:r}){const a=t===n,i=a?"bg-white shadow-dark-blue/42 min-w-[350px] border-none p-6":`min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur\n ${fl[r]}`,s=a?"text-primary-text !text-h6 p-2":`text-l pb-1 ${ka[r].title}`,o=a?"text-secondary-text text-l-light":`text-m-light ${ka[r].text}`,c="secondary"===r?"border-white/50":"border-black/50";return h("button",{type:"button",onClick:l,"aria-label":e?.title,className:`box-border relative overflow-hidden border border-white/50 cursor-pointer text-left mx-1 grow basis-0\n ${i} ${c}\n `,children:u("div",{className:"border-0 px-6",children:[h("div",{className:`last:pb-0 ${s}`,children:e?.title}),h("div",{className:`text-secondary-text ${o}`,children:e?.description})]})},String(t))}({slide:e,i:t,activeSlideIndex:o,onClick:()=>c(t),version:r})))})]})}));const $a=x((({context:e,className:t="",title:n,headlineVersion:l="S",description:r,additionalDescription:a,benefits:i=[],buttons:s,image:o,version:c="primary",...d})=>u(N,{context:e,className:`overflow-hidden font-sans p-9 box-border relative justify-between grid min-h-[364px]\n ${t} ${fl[c]} ${da(t)}`,...d,children:[h(Se,{context:e,className:"!p-0 !bg-transparent z-10 "+(n||r?"mb-3.5":""),as:"h2",title:n,description:r,headlineVersion:l,bgColorHeadline:c,align:"left"}),Sa(i,c,o),a?Ta(a,o,c):null,s?.length?h(Ne,{context:e,buttons:s,className:"flex self-end mt-5 gap-4 z-10 text-l"}):null,o?.src?h(O,{className:"absolute right-0 bottom-0",image:o}):null]})));function Sa(e,t,n){return h("div",{className:`z-10 grid grid-cols-[max-content_1fr] auto-rows-auto gap-x-6 gap-y-2.5 items-baseline\n ${n?.src?"max-w-[calc(100%-186px)]":"100%"}`,children:e.length?e.map(Ia(t)):null})}function Ia(e="primary"){const t={primary:"text-secondary-text",secondary:"text-white"};return function(n,l){const{label:r="",description:a=""}=n;return[h("div",{className:"text-h6",children:r},`label-${l}`),h("div",{className:`text-m-light ${t[e]}`,children:a},`desc-${l}`)]}}function Ta(e,t,n="primary"){return h("div",{className:`text-m-light mt-2.5 z-10 ${t?.src?"max-w-[calc(100%-186px)]":"100%"} ${{primary:"text-secondary-text",secondary:"text-white"}[n]}`,children:e})}const Ba=x((({className:e="",context:t,title:n="Акции и спецпредложения",date:l,description:r,buttons:a=[],version:i="primary",...s})=>h(N,{context:t,className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${fl[i]} ${da(e)} ${_r(e)} `,...s,children:h(vn,{context:t,title:n?h(Se,{context:t,title:n,className:"!p-0 max-w-[600px]",headlineVersion:ca(e),bgColorHeadline:i,align:"left",as:"h2"}):null,buttons:a?.length?h(Ne,{context:t,buttons:a,className:"flex gap-3"}):null,children:u("div",{className:"mt-1.5",children:[l?h("div",{className:"text-s mb-2",children:Da(l)}):null,h("div",{className:"text-l",children:r})]})})})));function Da(e){return new Date(e).toLocaleString("ru-RU",{day:"numeric",month:"long",year:"numeric"}).replace("г.","")}const Ra=x((({context:e,className:t="",title:n,description:l,items:r,image:a,version:i,socialMedia:s})=>{const o=n?h(k,{headingType:"h5",as:"h3",className:"mb-3.5 z-10",title:n}):null,c=a?.src?h(O,{className:"absolute bottom-0 right-0 m-0",image:a}):null;return h("section",{className:`relative overflow-hidden text-left border border-solid box-border p-7 min-w-[524px] min-h-[218px] ${t}`,role:"listitem",children:h(vn,{context:e,className:"flex justify-between",title:o,image:c,children:u("div",{className:"h-full flex flex-col justify-between",children:[l?h(we,{className:"mb-2",description:l}):null,r?.length?h($l,{className:"text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]",items:r,version:i}):null,s?h(dl,{className:"pt-10 pb-0",media:s,version:i,context:e}):null]})})})})),_a="absolute top-0 bottom-0 w-[84px]",ja=x((({context:e,recommendations:t=[],className:n="",title:r,version:a,...i})=>{const[s,o]=l(0),c="secondary"===a?"border-white/50":"border-main-stroke";return u(N,{context:e,className:`relative font-sans p-9 overflow-hidden text-center ${"secondary"===a?"bg-primary-main text-white":"bg-white text-primary-text"} ${n}`,...i,children:[r?h(k,{headingType:"h3",className:"mb-6",title:r}):null,u("div",{children:[h("div",{className:"flex duration-1000 gap-3.5",style:{transform:`translateX(-${525*s}px)`},role:"list",children:t?.length?t.map(La(e,c,a)):null}),Va({cardsCount:t.length,activeCardIndex:s,setActiveCardIndex:o})]}),h("div",{className:`${_a} left-0 ${"secondary"===a?"bg-opacity-from-main":"bg-opacity-from-white"}`}),h("div",{className:`${_a} right-0 ${"secondary"===a?"bg-opacity-to-main":"bg-opacity-to-white"}`})]})})),La=(e,t,n)=>(l,r)=>h(Ra,{context:e,...l,version:n,className:t},String(r)),Va=({cardsCount:e,activeCardIndex:t,setActiveCardIndex:n})=>{const l=e>2;return h("div",{children:Ve({handler:[()=>n(t-1),()=>n(t+1)],isShown:[l&&t>0,l&&e-t>2],btnClass:["left-8","right-8"],className:"top-1/2 mt-3"})})},Ma=[];const Aa=async e=>await nt(e,{method:"GET"})||Ma,Oa=x((({data:e,fieldLabel:t,fieldValue:n,selected:l,placeholder:r="",setSelected:a,label:i})=>{const s=e.filter(Boolean).map((e=>({key:e?.[n||t],text:e?.[t]}))),o=s.find((e=>e.key===l));return h(Rn,{options:s,label:i,placeholder:r||l,onChange:e=>a(e.key),value:o})})),Fa=x((({regions:e=[],selectedRegion:t,onSelectedRegion:n,branches:l=[],selectedBranch:r,onSelectedBranch:a})=>u("div",{className:"flex justify-between gap-4 mb-6",children:[h("div",{className:"max-w-[396px] w-1/2",children:h(Oa,{data:e,fieldValue:"code",fieldLabel:"name",selected:t,setSelected:n,label:"Регион"})}),h("div",{className:"max-w-[396px] w-1/2",children:h(Oa,{data:l,fieldValue:"branchCode",fieldLabel:"address",selected:r,setSelected:a,label:"Отделение",placeholder:"Выберите отделение"})})]}))),Ua=x((({name:e,text:t,value:n,checked:l,onChange:r,className:a})=>h("div",{className:a,children:u("label",{className:"flex items-center relative cursor-pointer",children:[h("input",{className:"appearance-none flex justify-center items-center shrink-0 w-5 h-5 border border-gray hover:border-checkbox-hover\n checked:border-2 checked:!border-primary-main focus:checked:border-primary-main focus:border-primary-text active:border-primary-text\n after:block after:w-2.5 after:h-2.5 after:rounded-full checked:after:bg-primary-main outline-none rounded-full cursor-pointer",type:"radio",value:n,name:e,checked:l,onChange:r}),t?h("span",{className:"font-sans ml-3 cursor-pointer",children:t}):null]})}))),Pa=x((()=>{const[e,t]=l("option2"),n=e=>t(e.target.value);return u("div",{children:[h(Ua,{className:"mb-2",name:"contractType",text:"Простое хранение",value:"option1",checked:"option1"===e,onChange:n}),h(Ua,{name:"contractType",text:"Сделка с недвижимостью",value:"option2",checked:"option2"===e,onChange:n})]})})),Ea=["От 1 дня","До 365 дней"],za=x((({days:e,setDays:t})=>u("div",{className:"mb-6",children:[h("span",{className:"block text-m-light mb-[3px]",children:"Срок аренды"}),h(Ye,{min:1,max:365,value:e,items:Ea,onChange:t})]}))),Xa=x((({caseVolumes:e=[],selectedCaseVolume:t,onSelectedCaseVolume:n,safeBoxCases:l=[],selectedBoxSize:r,onSelectedBoxSize:a})=>u("div",{className:"flex justify-between mb-6",children:[h("div",{className:"mr-4 w-full",children:h(Oa,{data:e,fieldLabel:"volume",selected:t,setSelected:n,label:"Размер",placeholder:"Выберите размер"})}),h("div",{className:"w-full",children:h(Oa,{data:l,fieldLabel:"safeBoxCasesSize",selected:r,setSelected:a,label:"Параметры ячейки, мм (ВхШхД)",placeholder:"Выберите параметр ячейки"})})]}))),Ha=x((({regions:e,selectedRegion:t,branches:n,selectedBranch:l,days:r,selectedCaseVolume:a,selectedBoxSize:i,safeBoxCases:s,caseVolumes:o,onChange:c,onShowMapToggle:d})=>u("div",{className:"flex-1 mr-9",children:[h(Fa,{regions:e,selectedRegion:t,onSelectedRegion:e=>c({selectedRegion:e}),branches:n,selectedBranch:l,onSelectedBranch:Ga(c)}),h(za,{days:r,setDays:e=>c({days:e})}),h(Xa,{caseVolumes:o,selectedCaseVolume:a,onSelectedCaseVolume:Wa(c),safeBoxCases:s,selectedBoxSize:i,onSelectedBoxSize:e=>c({selectedBoxSize:e})}),h("span",{className:"text-secondary-text text-l-light",children:"Тип договора"}),u("div",{className:"flex justify-between items-center mt-5",children:[h(Pa,{}),h(be,{text:"Офисы на карте",version:"primary",onClick:d})]})]}))),Ga=e=>t=>{e({selectedBranch:t,selectedCaseVolume:"",selectedBoxSize:""})},Wa=e=>t=>{e({selectedCaseVolume:t,selectedBoxSize:""})},Ja=x((({days:e,tariffs:t=[]})=>{const n=Ka(e,t);return u("div",{className:"flex flex-col justify-between",children:[u("div",{className:"flex",children:[Ya("Аренда за",e,"mr-11"),Ya("Цена",n+" ₽")]}),u("div",{className:"bg-primary-main px-10 pt-10 pb-4 text-center",children:[h(O,{image:{icon:"PackA4Icon"},width:"290",height:"257",asSVG:!0}),u("span",{className:"text-s-light text-white opacity-80 mt-2 inline-block",children:["На рисунки изображена пачка",h("br",{})," листов формата А4"]})]})]})})),Ya=(e,t,n="")=>u("div",{className:n,children:[h("div",{className:"text-m-light text-secondary-text mb-1",children:e}),h("span",{className:"text-h3 text-primary-text",children:t})]}),Ka=(e,t)=>{const n=Za(e);return e*(t?.find((e=>e.tariffType===String(n)))?.tariffValue||0)},Za=e=>{let t=1;switch(!0){case e>30&&e<=90:t=2;break;case e>90&&e<=180:t=3;break;case e>180&&e<=365:t=4}return t},Qa=(e,t)=>e.find((e=>e.branchCode===t)),qa=x((e=>{const{regions:t,data:n,branches:l,onChange:a,onShowMapToggle:i}=e;r((()=>{a({selectedBranch:"",selectedCaseVolume:"",selectedBoxSize:""})}),[n.selectedRegion,a]);const s=Qa(l,n.selectedBranch),o=ei(s?.safeBoxCaseVolumes),c=ti(s?.safeBoxCaseVolumes,n.selectedCaseVolume)?.safeBoxCases,d=ni(c,n.selectedBoxSize);return u("div",{className:"flex justify-between align-top mb-6",children:[h(Ha,{...n,regions:t,onShowMapToggle:i,branches:l,caseVolumes:o,safeBoxCases:c,onChange:a}),h(Ja,{days:n.days,tariffs:d})]})})),ei=e=>e?.length?e?.filter((e=>e?.safeBoxCases?.length)):[],ti=(e,t)=>e?.find((e=>e.volume===t)),ni=(e,t)=>e?.find((e=>e.safeBoxCasesSize===t))?.tariffs;const li=x((({points:e})=>{const t=s(null),n=Xr();return r((()=>{n?.ready((()=>{t.current=new n.Map("map",{center:e[0],zoom:10}),Er(n,t.current,e)}))}),[n]),r((()=>{t.current&&e&&n&&Er(n,t.current,e)}),[t,e,n]),n?u("div",{className:"pt-12 mt-1 bg-white",children:[h(k,{title:"Офисы на карте",headingType:"h3",className:"mb-8 text-center"}),h("div",{id:"map",className:"h-[640px]"})]}):null})),ri=x((({title:e,footnote:t,context:n,className:r="",...i})=>{const[s,o]=l(!1),[c,d]=l({selectedRegion:"",selectedBranch:"",selectedCaseVolume:"",selectedBoxSize:"",days:26}),m=function(){const{data:e}=et("/api/v1/regions",lt);return e||[]}(),x=ai(c.selectedRegion,m),p=function(e){const{data:t}=et(e?`/api/v1/safeboxes?regionCode=${e}`:null,Aa);return t||Ma}(x),g=a((e=>d((t=>({...t,...e})))),[d]),b=(f=Qa(p,c.selectedBranch)||p,Array.isArray(f)?f.map((e=>e.gpsLatitude&&e.gpsLongitude?[e.gpsLatitude,e.gpsLongitude]:[])):f?.gpsLatitude&&f?.gpsLongitude?[[f.gpsLatitude,f.gpsLongitude]]:[]);var f;return u(N,{context:n,className:r,...i,children:[u("div",{className:"font-sans bg-white px-8 py-12",children:[e?h(k,{title:e,headingType:"h3",as:"h2",className:"mb-2.5 text-center"}):null,h(qa,{regions:m,branches:p,data:{...c,selectedRegion:x},onShowMapToggle:()=>{o(!s)},onChange:g}),t?h("p",{className:"text-s-light text-secondary-text",children:t}):null]}),b.length&&s?h(li,{points:b}):null]})})),ai=(e,t)=>!e&&t?.length&&t[0]?.code?t[0].code:e,ii=e=>Boolean(e?.icon||e?.src),si=({items:e,isDotted:t=!0,version:n="primary",className:l=""})=>e?h($l,{className:`mt-4 ${l}`,version:"primary"===n?"gray":n,items:e,listItemSize:"S",isDotted:t}):null,oi=({styleMap:e,isMainButton:t,version:n,router:l,handlerDecorator:r})=>(a,i,{length:s})=>{const{label:o,description:c,button:d,items:m,isDotted:x}=a,p=`${d?.text?"mb-8":""} ${a?.label?"mt-2":"mt-4"}`;return u("div",{className:`flex flex-col items-center text-center relative\n whitespace-pre-line overflow-hidden ${s<5?"w-[276px]":"w-[210px]"}`,children:[ci(o),di({description:c,className:`${e.description} ${p}`}),si({items:m,isDotted:x,version:n,className:e.description}),d?.text&&!t?h(be,{className:"box-border py-3 h-12 w-full max-w-[240px] mt-auto",...ie({router:l,handlerDecorator:r},d),version:n,children:d.text}):null]},String(i))},ci=e=>e?h("div",{className:"text-x6 m-0 mt-4",children:e}):null,di=({description:e,className:t=""})=>e?h("div",{className:t,children:e}):null,mi={primary:{background:"bg-white",title:"text-primary-text",description:"!text-secondary-text text-l-light",iconText:"text-secondary-text",iconBackground:"bg-main-divider",iconConnector:"bg-secondary-light",dot:"bg-secondary-text"},secondary:{background:"bg-primary-main",title:"text-white",description:"!text-white/80 text-l-light",iconText:"text-white",iconBackground:"bg-white/30",iconConnector:"bg-white",dot:"bg-white/80"}},hi=x((({className:e="",showLines:t=!0,steps:n=[],button:l,version:r="primary",context:a,...i})=>{const s=a.useRouter(),{handlerDecorator:o}=a,{title:c}=i,d=mi[r],m=n.length>3,x=(e=>e?"":"opacity-0")(t),p=c?"mt-9":"",g=(e=>e<5?"px-[88px]":"px-[55px]")(n.length);return u(N,{className:["box-border font-sans text-primary-text bg-white",m?"px-20":"px-[70px]","py-[50px] flex flex-col items-center",d.background,d.title,e].join(" "),context:a,...i,children:[c?h(k,{headingType:"h3",className:"max-w-[752px] text-center",title:c}):null,n?.length?u("div",{className:`box-border ${p}`,children:[h("div",{className:`flex items-center ${g}`,children:pr(h("div",{className:`h-0.5 w-full bg-secondary-light ${x}`}))(n.map(ui(d)))}),h("div",{className:"flex justify-between "+(m?"gap-x-3":"gap-x-[101px]"),children:n.map(oi({styleMap:d,isMainButton:Boolean(l?.text),version:r,router:s,handlerDecorator:o}))})]}):null,l?.text?h(be,{className:"mt-8 min-w-[240px]",version:"primary",...ie({router:s,handlerDecorator:o},l)}):null]})})),ui=e=>({icon:t},n)=>h("div",{className:"flex flex-col items-center text-center",children:h("div",{className:`h-[100px] w-[100px] min-w-[100px] min-h-[100px] rounded-full p-[26px] box-border z-10 flex justify-center items-center\n ${e.iconBackground} ${e.title}`,children:ii(t)?h(O,{image:t,width:"48",height:"48",asSVG:!0}):h("span",{className:`text-h4 ${e.iconText}`,children:n+1})})},String(n));const xi="h-12 flex-1 flex items-center justify-center cursor-pointer",pi="bg-primary-main",gi="group bg-white",bi="font-sans text-m",fi="text-white",vi="text-secondary-text group-hover:text-primary-main",Ni=(e,t)=>h("h3",{className:`${bi} ${t?fi:vi}`,children:e}),yi=(e,t)=>h("div",{className:"min-w-[22px] h-[22px] rounded-full text-xs ml-2 flex justify-center items-center "+(t?"bg-white/30 text-white":"bg-main-divider text-secondary-text group-hover:text-primary-main"),children:e}),wi=({onClick:e,currentTab:t,showCounter:n,page:l,context:r})=>(a,i)=>{const{useRouter:s,handlerDecorator:o}=r,c=s(),d=a.type;if("group"!==d&&"link"!==d)return null;switch(d){case"group":return(({onClick:e,currentTab:t,showCounter:n,page:l})=>(r,a)=>{const i=t===r,s=r.ref&&l?.blocks?l.blocks.filter((e=>e?.labels?.includes(r.ref))).length:0;return h("div",{className:`${xi} ${i?pi:gi}`,role:"tab","aria-selected":i,onClick:()=>e(r),children:u("div",{className:"flex flex-1 items-center justify-center",children:[r?.title?Ni(r.title,i):null,n&&s?yi(s,i):null]})},String(a))})({onClick:e,currentTab:t,showCounter:n,page:l,context:r})(a,i);case"link":{const n=ie({router:c,handlerDecorator:o},a),l=n.onClick;return(({text:e,currentTab:t,onClick:n,href:l,target:r="_self",i:a})=>{const i="link"===t?.type&&t.href===l;return h("a",{className:`${xi} ${i?pi:gi}`,target:r,href:l,onClick:n,children:h("span",{className:`${bi} ${i?fi:vi}`,children:e})},String(a))})({...n,onClick:t=>{l(t),e(a),b.inst.fire("anchorClick",{isScrolling:!0,label:a.href})},currentTab:t,i:i})}default:!function(e){throw new Error(e)}(d)}},ki=x((e=>{const{context:t,className:n="",tabs:a,page:i,showCounter:s,isSticky:o}=e,[c,d]=l(a?a[0]:void 0);r((()=>b.inst.subscribe("tab",(e=>{if(!a)return;const t=a.find(Ci(e));"link"===e.type&&t&&d(t)}))),[a]),r((()=>{if("group"===c?.type)return b.inst.subject("tab",{label:c.ref})}),[c]);return h(N,{context:t,className:`${o?"sticky top-1 z-20 ":""}box-border flex gap-x-1 ${n}`,role:"tablist",children:a?.map(wi({onClick:e=>{"group"===e?.type&&b.inst.fire("tab",{type:e.type,label:e.ref}),d(e)},currentTab:c,page:i,showCounter:s,context:t}))})})),Ci=e=>t=>"link"===t.type&&t.href===`#${e.label}`,$i=x((({isOpen:e,dataUrl:t,pdfUrl:n,rowIdx:l,cellIdx:r,fieldIdx:a})=>u(be,{version:"primary",onClick:()=>{b.inst.fire("tariffInnerTable",{dataUrl:t,pdfUrl:n,rowIdx:l,cellIdx:r,fieldIdx:a})},className:"w-full flex items-center justify-center rounded-none py-5",children:[h("div",{className:"text-h4",children:e?"Скрыть":"Показать ставки по вкладу"}),h(B,{name:e?"ArrowUpIcon":"ArrowDownIcon",className:"ml-3",iconVersion:"white",width:"20",height:"20",asSVG:!0})]}))),Si={Buttons:({buttons:e})=>e&&e?.length?h("div",{children:e.map((({rounded:e,...t},n)=>h(be,{className:(n>0&&e?"ml-3":"")+" w-12 h-12",rounded:e,...t},String(n))))}):null,Img:({image:e})=>e?.src?h(O,{image:e}):null,List:({isDotted:e,...t})=>h($l,{className:"flex flex-col justify-between items-start text-h6",version:"primary",isDotted:e??!0,...t}),LabelDescription:({label:e,description:t})=>u("div",{children:[e?h("div",{className:"text-h6 m-0 "+(t?"mb-1":""),children:e}):null,t?h("div",{className:"text-secondary-text text-l-light",children:t}):null]}),Table:x((e=>{const[t,n]=l(!0);console.log(e);const a=t=>{const l=["rowIdx","cellIdx","fieldIdx"].every((n=>e[n]===t[n]));n(!l)};return r((()=>b.inst.subscribe("tariffInnerTable",a)),[]),t?h($i,{...e}):null}))},Ii=x((({context:e,cells:t,isLastRow:n,rowIdx:l,cellIdx:r})=>h("div",{className:"first:pl-0 w-80 flex-grow flex flex-col border-solid border-main-divider border border-t-0 border-x-0 "+(n?"border-t-0 rounded-b-md":""),role:"cell",children:t.map(Ti(l,e,r))}))),Ti=(e,t,n)=>(l,r)=>u("div",{className:"Table"===l?.tableCellType?"ml-10":"first:pt-5 last:pb-5 pl-10",children:[r>0?h("div",{className:"h-5"}):null,Bi(l,t,{rowIdx:e,cellIdx:n,fieldIdx:r})]},String(r)),Bi=(e,t,n)=>{if(!e)return null;const{tableCellType:l,...r}=e;if(!l||!(l in Si))return null;return h(Si[l],{context:t,...r,...n})};async function Di(e){const t=await fetch(e);return await t.json()}const Ri=x((({rows:e})=>{const[t,n]=l(0),r=e?.[0]?.length??0,a=r>3&&r>t+4,i=t>0;return u("div",{children:[e?.map(_i(t)),Ve({handler:[()=>n(t-1),()=>n(t+1)],isShown:[i,a],btnClass:["right-3 top-24","right-3 top-2"],className:""})]})})),_i=e=>(t,n)=>{if(!t?.length)return null;const[l,...r]=t,a=[...Array(e).keys()].reduce(((e,t)=>140*(r?.[t]?.cols?.length??1)+e),0),i=["flex duration-1000 text-center",0!==n?"font-normal":"font-light"].join(" ");return u("div",{className:"flex border-main-divider border border-t-0 border-x-0 border-solid",children:[l?.data?h("div",{className:"text-xl-light w-[214px] pb-5 "+(0===n?"pt-8":"pt-6"),children:l.data}):null,h("div",{className:"flex flex-grow overflow-hidden",children:h("div",{className:i,style:{transform:`translateX(-${a}px)`},children:r?.map(((t,n)=>u("div",{className:"flex flex-col flex-grow justify-center pt-6 pb-5 odd:bg-main-divider",children:[t?.data?h("div",{className:"text-xl-light mb-3",children:t.data}):null,t?.cols?ji(t.cols,e):null]},`row${n}`)))})})]},String(n))},ji=(e,t)=>e?.length>0?h("div",{className:`flex ${t} ${0===t?"text-secondary-text":""} last:mr-3`,children:e.map(((e,t)=>h("div",{className:"w-[76px] text-h6 mr-5 first:ml-8",children:e},String(t))))}):null,Li=x((({context:e,activeTabIndex:t,items:n})=>{const[r,a]=l({});return h("div",{children:n.map(((n,l)=>{const i=`activeTabIdx:${t}-tableIdx:${l}`;return u("div",{className:"w-full",children:[u("div",{className:"flex p-4 bg-main-stroke text-xl-light text-center justify-center cursor-pointer relative",onClick:()=>(e=>{a((t=>({...t,[e]:!t[e]})))})(i),children:[n.title,h(O,{image:r[i]?"PlusIcon":"MinusIcon",className:"absolute right-[22px]",width:"24",height:"24"})]}),h("div",{className:"w-full pl-2 overflow-hidden transition-height duration-500 ease-in-out "+(r[i]?"h-0":""),children:h("div",{className:"relative",children:h(Ri,{context:e,rows:n.rowsData})})})]},i)}))})})),Vi=x((({currencies:e,linkToPDF:t,activeTabIndex:n,setActiveTabIndex:l})=>u("div",{className:"flex justify-between w-full pt-2.5 pb-3",children:[e&&e.length>1?h("div",{className:"flex bg-secondary-light p-1.5 rounded-md",children:e.map(((e,t)=>h("div",{className:"rounded-md text-xl-light px-4 py-3 cursor-pointer "+(t===n?"bg-primary-main text-white":"text-secondary-text"),onClick:()=>l(t),children:e||t+1},e)))}):null,t?u(be,{href:t,version:"secondary",className:"flex justify-center items-center text-l-light text-primary-main px-8 max-h-14",target:"_blank",children:[h(O,{image:"DocDownloadIcon",className:"mr-2.5",width:"20",height:"20",asSVG:!0}),h("span",{children:"Скачать в PDF"})]}):null]}))),Mi=x((({context:e,dataUrl:t,pdfUrl:n})=>{const{tableData:r}=function(e){const{data:t}=et(function(e){return`/wcms-resources/${e||"tariffs-inner-table-data"}.json`}(e),Di);return t||{}}(t),[a,i]=l(0),s=r?.[a]?.items??[],o=r?.map((e=>e.currency??""));return r?u("div",{className:"bg-white z-10",children:[h(Vi,{currencies:o,activeTabIndex:a,setActiveTabIndex:i,linkToPDF:n}),h(Li,{context:e,activeTabIndex:a,items:s}),h($i,{context:e,isOpen:!0})]}):null})),Ai=x((({context:e,children:t,rowIdx:n})=>{const[a,i]=l(void 0);return r((()=>b.inst.subscribe("tariffInnerTable",(e=>{i(n===e.rowIdx?{dataUrl:e.dataUrl,pdfUrl:e.pdfUrl}:void 0)}))),[n]),u("div",{className:"self-start flex flex-col",role:"row",children:[h("div",{className:"flex",children:t}),a?h("div",{className:"origin-top animate-expansion",children:h(Mi,{context:e,...a})}):null]})})),Oi=x((({row:{header:e,data:t},activeCardIndex:n,isLastRow:l,context:r,rowIdx:a})=>u(Ai,{context:r,rowIdx:a,children:[h("div",{className:"text-s py-5 w-[354px] flex-shrink-0 border-main-divider border border-t-0 border-x-0 "+(l?"":"border-solid"),children:u("div",{className:"flex items-center text-primary-text",role:"cell",children:[e?.icon?h(O,{className:"mr-[14px] max-w-6 max-h-6",image:e.icon,width:"24px",height:"24px",asSVG:!0}):null,e?.title?h("div",{className:"text-m-light",children:e?.title}):null]})}),t?.length?h(Gt,{activeCardIndex:n,columnWidth:360,version:"tariff",children:t.map(((e,t)=>h(Ii,{cells:e,isLastRow:l,rowIdx:a,cellIdx:t,context:r},String(t))))}):null]}))),Fi=x((({className:e="",context:t,title:n,description:r,rowHeaders:a,tariffsColumns:i,hiddenRowsNum:s=0,...o})=>{const[c,d]=l(0),m=i?.map((({data:e})=>e))||[],x=a?.map(((e,t)=>({header:e,data:m.map((e=>e?.[t]||[]))}))),p=m.length,g=Ft({columnsLength:p,colsLengthForScroll:2,activeCardIndex:c,setActiveCardIndex:d}),b=(x||[]).map(((e,n,{length:l})=>h(Oi,{context:t,row:e,isLastRow:n+1===l,activeCardIndex:c,rowIdx:n},String(n)))),[f,v]=s>0?[b.slice(0,-s),b.slice(-s)]:[b,[]];return u(N,{className:`bg-white font-sans p-[50px] overflow-hidden text-primary-text relative ${p>1?"pr-0":""} ${e}`,context:t,...o,children:[Ui({title:n,description:r}),Pi(r),s>0?h(S,{renderFoldableSection:({isUnfolded:e})=>u(Ei,{tableArrowScrollControlProps:g,children:[f,h(I,{isUnfolded:e,children:v})]}),renderFoldButton:Zr}):h(Ei,{tableArrowScrollControlProps:g,children:b})]})}));function Ui({title:e,description:t}){return e?h(k,{headingType:"h3",className:"text-center "+(t?"mb-2.5":"mb-8"),title:e}):null}function Pi(e){return e?h("div",{className:"mb-9 text-center text-l",children:e}):null}const Ei=x((({children:e,tableArrowScrollControlProps:t})=>{const{isScrollAvailable:n}=t;return u("div",{role:"table",children:[u("div",{className:"relative",children:[e,h(Yt,{...t})]}),n?h("div",{className:"absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white"}):null]})})),zi={primary:{background:"bg-white",icon:"bg-primary-main text-white",title:"text-primary-text",description:"text-secondary-text"},secondary:{background:"bg-primary-main",icon:"bg-white text-primary-main",title:"text-white",description:"text-white"},"secondary-light":{background:"bg-primary-main/10",icon:"bg-primary-main text-white",title:"text-primary-text",description:"text-secondary-text"}},Xi=x((({title:e,description:t,blockVersion:n="primary",iconVersion:l,image:r,className:a,...i})=>{const s=zi[n];return u(N,{className:`font-sans px-9 py-4 flex ${s.background} ${a||""}`,...i,children:["small"===l?Hi(s.icon):null,"big"===l?Gi(r):null,u("div",{className:"py-0.5",children:[e?h("div",{className:`text-l font-medium mb-1 ${s.title}`,children:e}):null,t?h("div",{className:`text-s ${s.description}`,children:t}):null]})]})}));function Hi(e){return h("div",{className:"pt-1.5 pl-1 pr-4",children:h("div",{className:`rounded-full h-4 w-4 text-center text-xs-light ${e}`,children:"i"})})}function Gi(e){return e?.src?h(O,{className:"pt-0.5 pr-3",image:e}):null}const Wi=x((e=>{const{context:t,title:n,headingType:l="h3",description:r,items:a,children:i,buttons:s,image:o,isDotted:c=!0,listItemSize:d="M",className:m="",version:x="primary",...p}=e,g="primary"===x?"text-primary-text":"";return h(N,{context:t,className:`overflow-hidden font-sans p-9 pr-3 box-border ${m} ${fl[x]} ${da(m)} ${_r(m)} `,...p,children:u(vn,{context:t,title:n?h(k,{headingType:l,as:"h2",title:n,className:`whitespace-pre-wrap max-w-[600px] ${g}`}):null,buttons:s?.length?h(Ne,{context:t,buttons:s.map((e=>({...e,className:"min-w-[158px]"}))),className:"flex mt-8 gap-3"}):null,image:o?.src?h(O,{className:"mt-auto ml-7",image:o}):null,children:[r?h(we,{className:"max-w-[600px] text-xl-light mt-2.5",description:r}):null,i,Ji({version:x,isDotted:c,listItemSize:d},a)]})})}));function Ji({version:e,isDotted:t,listItemSize:n},l){return l?.length?h($l,{items:l,isDotted:t,className:"mt-2.5",listItemSize:n,itemClassName:"mb-1.5",version:e}):null}const Yi={Accordion:$,AccordionItem:U,BenefitsBlock:G,Bonus:Ie,CardTransfer:Rt,ComparisonTable:rn,Calculator:kt,Catalog:Mt,ContactsBlock:on,ExchangeRateTile:En,Footer:xl,Gallery:Ll,GracePeriod:Vl,Header:or,Headline:Se,InsuranceAmountBlock:ur,InvestmentInfo:fr,LinkDocs:Br,MiniGallery:Dr,MobileAppTile:jr,PictureText:aa,ProductBlock:wa,ProductGallery:Ca,ProductTile:$a,PromoTile:Ba,OfficeMap:Gr,OfficeServicesBlock:Wr,OtherProducts:Yr,OtherProductsItem:qr,Recommendation:ja,StepsBlock:hi,TariffsTable:Fi,TextBlock:Xi,Tile:Wi,Placeholder:ma,BonusBenefitsBlock:Re,SafeDepositRental:ri,Tabs:ki,ErrorBlock:un};function Ki(e){return e?e.filter(Boolean).join(" "):""}const Zi=m();const Qi=x((({className:e,onClick:t,ariaLabel:n})=>h("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":n,children:qi()}))),qi=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[h("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"}),h("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"})]})},es=x((({className:e,context:t,...n})=>{const{useRouter:i,handlerDecorator:s=ae}=t,o=function(e){const[t,n]=l(0);return r((()=>{(async()=>{const[t]=await Zi.getLikeCount(e);n(t?.value||0)})()}),[e]),{likeCount:t,like:a((async()=>{n(await Zi.like(e))}),[e]),dislike:a((async()=>{n(await Zi.dislike(e))}),[e])}}(i().pathname);return u(N,{tag:"div",context:t,className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e||""}`,...n,children:[h(Qi,{onClick:s(o.like),ariaLabel:"Поставить отметку «лайк»"}),h(Qi,{onClick:s(o.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),h("span",{className:"select-none",children:o.likeCount})]})})),ts=[null],ns=e=>e;function ls(e,t,n=ts){const{key:l,page:r,blockDecorator:a,blocksRegistry:i,context:s}=t,{type:o,blocks:c}=e;o&&o in i||console.warn(`No block with "${o}" is registered`);const d=o&&i[o],{renderChild:m=ns}=d||{},u=c?.length?c.map(((l,r)=>m(ls(l,{...t,key:`${t.key}-${r}`},[...n,e]),r))):null;return a({blockClassName:`scroll-mt-12 ${Ki(e.style)}`,block:e,ancestors:n,render:({block:e,blockClassName:t})=>{const{version:a,anchor:i,labels:o,content:c}=e;return d?h(d,{className:t,context:s,page:r,ancestors:n,version:a,anchor:i,labels:o,...c,children:u},l):null}},l)}const rs=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),as=x((e=>{const{className:t="",context:n,data:l={}}=e,{style:r,blocks:a,slots:i,likeControl:s,colorPalette:o="pc"}=l,c=function({blocksRegistry:e,data:t,blockDecorator:n,context:l}){return(r,a)=>r.map(((r,i)=>ls(r,{key:`${r.type||"#"}-${i}`,blocksRegistry:e,page:t||{},blockDecorator:n||rs,context:l},a)))}(e);return u("section",{className:`relative ${Ki(r)} ${t}`,"data-theme":o,children:[i?.header?.blocks?.length?h("div",{className:`${Ki(i.header.style)}`,children:c(i.header.blocks,["header"])}):null,a?.length?h("div",{className:"container grid grid-cols-12 gap-1",children:c(a)}):null,s?is(n):null]})}));function is(e){return h("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:h(es,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto",context:e},"LikeControl")})}e.Blocks=Yi,e.ContentPage=as,e.DaDataAPI=o,e.LikeAPI=m,e.joinList=pr,e.packageVersion="0.6.15",e.projectSettings=c,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=ne,Object.defineProperty(e,"__esModule",{value:!0})}));