@redneckz/wildless-cms-uni-blocks 0.8.27 → 0.8.29

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 (1229) hide show
  1. package/bin/migration-scripts/0.8.24.js +24 -0
  2. package/bin/migration-scripts/0.8.29.js +41 -0
  3. package/bundle/EventBus/defaultEventBus.d.ts +1 -0
  4. package/bundle/blocks.schema.json +1 -1
  5. package/bundle/bundle.umd.js +305 -109
  6. package/bundle/bundle.umd.min.js +1 -1
  7. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +1 -5
  8. package/bundle/components/BaseTile/BaseTileProps.d.ts +2 -2
  9. package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -8
  10. package/bundle/components/Bonus/BonusContent.d.ts +0 -1
  11. package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -8
  12. package/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +2 -9
  13. package/bundle/components/ButtonBlock/ButtonBlockContent.d.ts +1 -5
  14. package/bundle/components/Calculator/CalculatorContent.d.ts +2 -4
  15. package/bundle/components/Carousel/CarouselContent.d.ts +1 -4
  16. package/bundle/components/CarouselCard/CarouselCardContent.d.ts +2 -10
  17. package/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -10
  18. package/bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +3 -21
  19. package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +4 -29
  20. package/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +2 -1
  21. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  22. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -21
  23. package/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +4 -8
  24. package/bundle/components/ComparisonTable/HeaderCell.mobile.d.ts +2 -3
  25. package/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +4 -23
  26. package/bundle/components/Footer/FooterDataProps.d.ts +2 -2
  27. package/bundle/components/GracePeriod/GracePeriodContent.d.ts +3 -14
  28. package/bundle/components/Header/HeaderSecondaryMenu.d.ts +1 -1
  29. package/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +2 -3
  30. package/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -1
  31. package/bundle/components/ImgBlock/ImgBlockContent.d.ts +2 -4
  32. package/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -3
  33. package/bundle/components/LinkDocs/LinkDocsContent.d.ts +3 -17
  34. package/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  35. package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +3 -20
  36. package/bundle/components/PictureText/PictureTextContent.d.ts +3 -21
  37. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -23
  38. package/bundle/components/ProductTile/ProductTileContent.d.ts +2 -17
  39. package/bundle/components/Recommendation/RecommendationContent.d.ts +2 -28
  40. package/bundle/components/StepsBlock/StepsBlockContent.d.ts +7 -23
  41. package/bundle/components/Tabs/TabsContent.d.ts +1 -4
  42. package/bundle/components/TariffsTable/TariffsTableContent.d.ts +6 -11
  43. package/bundle/components/TextBlock/TextBlockContent.d.ts +4 -9
  44. package/bundle/components/Tile/TileContent.d.ts +3 -22
  45. package/bundle/components/Video/VideoContent.d.ts +2 -15
  46. package/bundle/{services/sitemap → hooks}/fallbackWCMSResource.d.ts +1 -1
  47. package/bundle/hooks/useCarouselControls.d.ts +0 -2
  48. package/bundle/hooks/useLink.d.ts +1 -1
  49. package/bundle/{services/sitemap → hooks}/useSWRResource.d.ts +1 -1
  50. package/bundle/model/Bullets.d.ts +4 -0
  51. package/bundle/model/Button.d.ts +15 -0
  52. package/bundle/model/HeadlineType.d.ts +4 -0
  53. package/bundle/model/Picture.d.ts +3 -10
  54. package/bundle/services/search/jaroWinklerDistance.d.ts +1 -0
  55. package/bundle/services/search/joinMaps.d.ts +1 -0
  56. package/bundle/services/search/search.d.ts +12 -0
  57. package/bundle/services/search/textRank.d.ts +1 -0
  58. package/bundle/services/search/tokenize.d.ts +1 -0
  59. package/bundle/services/search/useSearch.d.ts +8 -0
  60. package/{lib/services/sitemap/SitemapProps.d.ts → bundle/services/sitemap/SitemapData.d.ts} +1 -1
  61. package/bundle/ui-kit/BlockWrapper.d.ts +1 -0
  62. package/bundle/ui-kit/Button/ButtonProps.d.ts +6 -7
  63. package/bundle/ui-kit/Dialog/CloseButton.d.ts +7 -0
  64. package/bundle/ui-kit/Dialog/Dialog.d.ts +7 -0
  65. package/bundle/ui-kit/InputRange/InputRangeProps.d.ts +2 -1
  66. package/bundle/ui-kit/List/ListProps.d.ts +3 -4
  67. package/bundle/ui-kit/Location/Location.d.ts +1 -18
  68. package/bundle/ui-kit/Location/LocationProps.d.ts +16 -0
  69. package/bundle/{model → ui-kit}/PreventableEvent.d.ts +0 -0
  70. package/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +2 -0
  71. package/bundle/ui-kit/SearchBar/SearchBarInput.d.ts +9 -0
  72. package/bundle/{components/Footer → ui-kit/Sitemap}/Sitemap.d.ts +2 -2
  73. package/bundle/ui-kit/TopItem/TopItem.d.ts +1 -1
  74. package/bundle/utils/Comparator.d.ts +4 -0
  75. package/bundle/utils/maxBy.d.ts +1 -0
  76. package/bundle/utils/minBy.d.ts +1 -0
  77. package/bundle/utils/sum.d.ts +1 -0
  78. package/bundle/utils/unique.d.ts +1 -0
  79. package/bundle/utils/url.d.ts +1 -1
  80. package/bundle/utils/zip.d.ts +4 -0
  81. package/dist/EventBus/defaultEventBus.d.ts +1 -0
  82. package/dist/EventBus/defaultEventBus.js.map +1 -1
  83. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  84. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +1 -5
  85. package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  86. package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  87. package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  88. package/dist/components/BaseTile/BaseTileProps.d.ts +2 -2
  89. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -8
  90. package/dist/components/Blocks.js +0 -2
  91. package/dist/components/Blocks.js.map +1 -1
  92. package/dist/components/Bonus/BonusContent.d.ts +0 -1
  93. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -8
  94. package/dist/components/BusinessBlock/BusinessBlockContent.d.ts +2 -9
  95. package/dist/components/ButtonBlock/ButtonBlockContent.d.ts +1 -5
  96. package/dist/components/Calculator/CalculatorContent.d.ts +2 -4
  97. package/dist/components/Carousel/CarouselContent.d.ts +1 -4
  98. package/dist/components/CarouselCard/CarouselCard.js +1 -1
  99. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  100. package/dist/components/CarouselCard/CarouselCardContent.d.ts +2 -10
  101. package/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -10
  102. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +3 -21
  103. package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +4 -29
  104. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +8 -1
  105. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  106. package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +2 -1
  107. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  108. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +12 -7
  109. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  110. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -21
  111. package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +4 -8
  112. package/dist/components/ComparisonTable/HeaderCell.mobile.d.ts +2 -3
  113. package/dist/components/ContentPage/ContentPage.js +7 -1
  114. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  115. package/dist/components/ErrorBlock/ErrorBlock.js +2 -1
  116. package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  117. package/dist/components/ErrorBlock/ErrorBlockContent.d.ts +4 -23
  118. package/dist/components/Footer/Footer.fallback.js +1 -1
  119. package/dist/components/Footer/Footer.fallback.js.map +1 -1
  120. package/dist/components/Footer/Footer.js +4 -3
  121. package/dist/components/Footer/Footer.js.map +1 -1
  122. package/dist/components/Footer/Footer.mobile.js +1 -1
  123. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  124. package/dist/components/Footer/FooterDataProps.d.ts +2 -2
  125. package/dist/components/Footer/MediaButton.js +5 -2
  126. package/dist/components/Footer/MediaButton.js.map +1 -1
  127. package/dist/components/Footer/SocialMedia.js +1 -1
  128. package/dist/components/Footer/SocialMedia.js.map +1 -1
  129. package/dist/components/GracePeriod/GracePeriodContent.d.ts +3 -14
  130. package/dist/components/Header/Header.fallback.js +1 -1
  131. package/dist/components/Header/Header.fallback.js.map +1 -1
  132. package/dist/components/Header/Header.js +1 -1
  133. package/dist/components/Header/Header.js.map +1 -1
  134. package/dist/components/Header/Header.mobile.js +1 -1
  135. package/dist/components/Header/Header.mobile.js.map +1 -1
  136. package/dist/components/Header/HeaderSecondaryMenu.d.ts +1 -1
  137. package/dist/components/Header/HeaderSecondaryMenu.js +3 -1
  138. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  139. package/dist/components/Header/HeaderSecondaryMenuButton.d.ts +2 -3
  140. package/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  141. package/dist/components/Headline/Headline.js +2 -2
  142. package/dist/components/Headline/Headline.js.map +1 -1
  143. package/dist/components/HorizontalLayout/HorizontalLayout.js +2 -2
  144. package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  145. package/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -1
  146. package/dist/components/ImgBlock/ImgBlockContent.d.ts +2 -4
  147. package/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -3
  148. package/dist/components/LinkDocs/LinkDocsContent.d.ts +3 -17
  149. package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  150. package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  151. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +3 -20
  152. package/dist/components/PictureText/PictureTextContent.d.ts +3 -21
  153. package/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -23
  154. package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  155. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  156. package/dist/components/ProductTile/ProductTileContent.d.ts +2 -17
  157. package/dist/components/Recommendation/RecommendationContent.d.ts +2 -28
  158. package/dist/components/StepsBlock/StepsBlockContent.d.ts +7 -23
  159. package/dist/components/Tabs/TabsContent.d.ts +1 -4
  160. package/dist/components/TariffsTable/TariffsTableContent.d.ts +6 -11
  161. package/dist/components/TextBlock/TextBlockContent.d.ts +4 -9
  162. package/dist/components/Tile/TileContent.d.ts +3 -22
  163. package/dist/components/VerticalLayout/VerticalLayout.js +5 -3
  164. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  165. package/dist/components/Video/VideoContent.d.ts +2 -15
  166. package/dist/{services/sitemap → hooks}/fallbackWCMSResource.d.ts +1 -1
  167. package/dist/{services/sitemap → hooks}/fallbackWCMSResource.js +0 -0
  168. package/dist/hooks/fallbackWCMSResource.js.map +1 -0
  169. package/dist/hooks/useCarouselControls.d.ts +0 -2
  170. package/dist/hooks/useCarouselControls.js +7 -15
  171. package/dist/hooks/useCarouselControls.js.map +1 -1
  172. package/dist/hooks/useLink.d.ts +1 -1
  173. package/dist/{services/sitemap → hooks}/useSWRResource.d.ts +1 -1
  174. package/{mobile/dist/services/sitemap → dist/hooks}/useSWRResource.js +1 -1
  175. package/dist/hooks/useSWRResource.js.map +1 -0
  176. package/dist/model/Bullets.d.ts +4 -0
  177. package/{mobile/dist/model/SitemapProps.js → dist/model/Bullets.js} +1 -1
  178. package/dist/model/Bullets.js.map +1 -0
  179. package/dist/model/Button.d.ts +15 -0
  180. package/{mobile/dist/services/sitemap/SitemapProps.js → dist/model/Button.js} +1 -1
  181. package/dist/model/Button.js.map +1 -0
  182. package/dist/model/HeadlineType.d.ts +4 -0
  183. package/dist/model/Picture.d.ts +3 -10
  184. package/dist/services/search/jaroWinklerDistance.d.ts +1 -0
  185. package/dist/services/search/jaroWinklerDistance.js +67 -0
  186. package/dist/services/search/jaroWinklerDistance.js.map +1 -0
  187. package/dist/services/search/joinMaps.d.ts +1 -0
  188. package/dist/services/search/joinMaps.js +10 -0
  189. package/dist/services/search/joinMaps.js.map +1 -0
  190. package/dist/services/search/search.d.ts +12 -0
  191. package/dist/services/search/search.js +39 -0
  192. package/dist/services/search/search.js.map +1 -0
  193. package/dist/services/search/textRank.d.ts +1 -0
  194. package/dist/services/search/textRank.js +14 -0
  195. package/dist/services/search/textRank.js.map +1 -0
  196. package/dist/services/search/tokenize.d.ts +1 -0
  197. package/dist/services/search/tokenize.js +9 -0
  198. package/dist/services/search/tokenize.js.map +1 -0
  199. package/dist/services/search/useSearch.d.ts +8 -0
  200. package/dist/services/search/useSearch.js +33 -0
  201. package/dist/services/search/useSearch.js.map +1 -0
  202. package/{bundle/services/sitemap/SitemapProps.d.ts → dist/services/sitemap/SitemapData.d.ts} +1 -1
  203. package/dist/{model/SitemapProps.js → services/sitemap/SitemapData.js} +1 -1
  204. package/dist/services/sitemap/SitemapData.js.map +1 -0
  205. package/dist/ui-kit/BlockWrapper.d.ts +1 -0
  206. package/dist/ui-kit/BlockWrapper.js +3 -2
  207. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  208. package/dist/ui-kit/Button/ButtonProps.d.ts +6 -7
  209. package/dist/ui-kit/Dialog/CloseButton.d.ts +7 -0
  210. package/dist/ui-kit/Dialog/CloseButton.js +8 -0
  211. package/dist/ui-kit/Dialog/CloseButton.js.map +1 -0
  212. package/dist/ui-kit/Dialog/Dialog.d.ts +7 -0
  213. package/dist/ui-kit/Dialog/Dialog.js +26 -0
  214. package/dist/ui-kit/Dialog/Dialog.js.map +1 -0
  215. package/dist/ui-kit/InputRange/InputRangeProps.d.ts +2 -1
  216. package/dist/ui-kit/List/ListProps.d.ts +3 -4
  217. package/dist/ui-kit/Location/Location.d.ts +1 -18
  218. package/dist/ui-kit/Location/Location.js +11 -15
  219. package/dist/ui-kit/Location/Location.js.map +1 -1
  220. package/dist/ui-kit/Location/LocationProps.d.ts +16 -0
  221. package/dist/ui-kit/Location/LocationProps.js +2 -0
  222. package/dist/ui-kit/Location/LocationProps.js.map +1 -0
  223. package/dist/ui-kit/Location/SearchBar.js +1 -1
  224. package/dist/ui-kit/Location/SearchBar.js.map +1 -1
  225. package/dist/{model → ui-kit}/PreventableEvent.d.ts +0 -0
  226. package/dist/{model → ui-kit}/PreventableEvent.js +0 -0
  227. package/dist/ui-kit/PreventableEvent.js.map +1 -0
  228. package/dist/ui-kit/SearchBar/SearchBarInner.d.ts +2 -0
  229. package/dist/ui-kit/SearchBar/SearchBarInner.js +46 -16
  230. package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  231. package/dist/ui-kit/SearchBar/SearchBarInput.d.ts +9 -0
  232. package/dist/ui-kit/SearchBar/SearchBarInput.js +14 -0
  233. package/dist/ui-kit/SearchBar/SearchBarInput.js.map +1 -0
  234. package/{lib/components/Footer → dist/ui-kit/Sitemap}/Sitemap.d.ts +2 -2
  235. package/dist/ui-kit/Sitemap/Sitemap.js +23 -0
  236. package/dist/ui-kit/Sitemap/Sitemap.js.map +1 -0
  237. package/dist/ui-kit/TopItem/TopItem.d.ts +1 -1
  238. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  239. package/dist/utils/Comparator.d.ts +4 -0
  240. package/dist/utils/Comparator.js +9 -0
  241. package/dist/utils/Comparator.js.map +1 -0
  242. package/dist/utils/fetchJSON.js +1 -1
  243. package/dist/utils/fetchJSON.js.map +1 -1
  244. package/dist/utils/groupBy.js +6 -6
  245. package/dist/utils/groupBy.js.map +1 -1
  246. package/dist/utils/maxBy.d.ts +1 -0
  247. package/dist/utils/maxBy.js +2 -1
  248. package/dist/utils/maxBy.js.map +1 -1
  249. package/dist/utils/minBy.d.ts +1 -0
  250. package/dist/utils/minBy.js +2 -1
  251. package/dist/utils/minBy.js.map +1 -1
  252. package/dist/utils/sum.d.ts +1 -0
  253. package/dist/utils/sum.js +5 -0
  254. package/dist/utils/sum.js.map +1 -0
  255. package/dist/utils/unique.d.ts +1 -0
  256. package/dist/utils/unique.js +5 -0
  257. package/dist/utils/unique.js.map +1 -0
  258. package/dist/utils/url.d.ts +1 -1
  259. package/dist/utils/url.js.map +1 -1
  260. package/dist/utils/zip.d.ts +4 -0
  261. package/dist/utils/zip.js +7 -0
  262. package/dist/utils/zip.js.map +1 -0
  263. package/lib/EventBus/defaultEventBus.d.ts +1 -0
  264. package/lib/EventBus/defaultEventBus.js.map +1 -1
  265. package/lib/common.css +1 -1
  266. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  267. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +1 -5
  268. package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  269. package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  270. package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  271. package/lib/components/BaseTile/BaseTileProps.d.ts +2 -2
  272. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -8
  273. package/lib/components/Blocks.js +0 -2
  274. package/lib/components/Blocks.js.map +1 -1
  275. package/lib/components/Bonus/BonusContent.d.ts +0 -1
  276. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -8
  277. package/lib/components/BusinessBlock/BusinessBlockContent.d.ts +2 -9
  278. package/lib/components/ButtonBlock/ButtonBlockContent.d.ts +1 -5
  279. package/lib/components/Calculator/CalculatorContent.d.ts +2 -4
  280. package/lib/components/Carousel/CarouselContent.d.ts +1 -4
  281. package/lib/components/CarouselCard/CarouselCard.js +1 -1
  282. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  283. package/lib/components/CarouselCard/CarouselCardContent.d.ts +2 -10
  284. package/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -10
  285. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +3 -21
  286. package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +4 -29
  287. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +8 -1
  288. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  289. package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +2 -1
  290. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  291. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.d.ts +4 -0
  292. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +12 -7
  293. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  294. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -21
  295. package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +4 -8
  296. package/lib/components/ComparisonTable/HeaderCell.mobile.d.ts +2 -3
  297. package/lib/components/ContentPage/ContentPage.js +7 -1
  298. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  299. package/lib/components/ErrorBlock/ErrorBlock.js +2 -1
  300. package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  301. package/lib/components/ErrorBlock/ErrorBlockContent.d.ts +4 -23
  302. package/lib/components/Footer/Footer.fallback.js +1 -1
  303. package/lib/components/Footer/Footer.fallback.js.map +1 -1
  304. package/lib/components/Footer/Footer.js +4 -3
  305. package/lib/components/Footer/Footer.js.map +1 -1
  306. package/lib/components/Footer/Footer.mobile.js +1 -1
  307. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  308. package/lib/components/Footer/FooterDataProps.d.ts +2 -2
  309. package/lib/components/Footer/MediaButton.js +5 -2
  310. package/lib/components/Footer/MediaButton.js.map +1 -1
  311. package/lib/components/Footer/SocialMedia.js +1 -1
  312. package/lib/components/Footer/SocialMedia.js.map +1 -1
  313. package/lib/components/GracePeriod/GracePeriodContent.d.ts +3 -14
  314. package/lib/components/Header/Header.fallback.js +1 -1
  315. package/lib/components/Header/Header.fallback.js.map +1 -1
  316. package/lib/components/Header/Header.js +1 -1
  317. package/lib/components/Header/Header.js.map +1 -1
  318. package/lib/components/Header/Header.mobile.js +1 -1
  319. package/lib/components/Header/Header.mobile.js.map +1 -1
  320. package/lib/components/Header/HeaderSecondaryMenu.d.ts +1 -1
  321. package/lib/components/Header/HeaderSecondaryMenu.js +3 -1
  322. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  323. package/lib/components/Header/HeaderSecondaryMenuButton.d.ts +2 -3
  324. package/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  325. package/lib/components/Headline/Headline.js +2 -2
  326. package/lib/components/Headline/Headline.js.map +1 -1
  327. package/lib/components/HorizontalLayout/HorizontalLayout.js +2 -2
  328. package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  329. package/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -1
  330. package/lib/components/ImgBlock/ImgBlockContent.d.ts +2 -4
  331. package/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -3
  332. package/lib/components/LinkDocs/LinkDocsContent.d.ts +3 -17
  333. package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  334. package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  335. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +3 -20
  336. package/lib/components/PictureText/PictureTextContent.d.ts +3 -21
  337. package/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -23
  338. package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  339. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  340. package/lib/components/ProductTile/ProductTileContent.d.ts +2 -17
  341. package/lib/components/Recommendation/RecommendationContent.d.ts +2 -28
  342. package/lib/components/StepsBlock/StepsBlockContent.d.ts +7 -23
  343. package/lib/components/Tabs/TabsContent.d.ts +1 -4
  344. package/lib/components/TariffsTable/TariffsTableContent.d.ts +6 -11
  345. package/lib/components/TextBlock/TextBlockContent.d.ts +4 -9
  346. package/lib/components/Tile/TileContent.d.ts +3 -22
  347. package/lib/components/VerticalLayout/VerticalLayout.js +5 -3
  348. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  349. package/lib/components/Video/VideoContent.d.ts +2 -15
  350. package/lib/{services/sitemap → hooks}/fallbackWCMSResource.d.ts +1 -1
  351. package/lib/{services/sitemap → hooks}/fallbackWCMSResource.js +0 -0
  352. package/lib/hooks/fallbackWCMSResource.js.map +1 -0
  353. package/lib/hooks/useCarouselControls.d.ts +0 -2
  354. package/lib/hooks/useCarouselControls.js +7 -15
  355. package/lib/hooks/useCarouselControls.js.map +1 -1
  356. package/lib/hooks/useLink.d.ts +1 -1
  357. package/lib/{services/sitemap → hooks}/useSWRResource.d.ts +1 -1
  358. package/lib/{services/sitemap → hooks}/useSWRResource.js +1 -1
  359. package/lib/hooks/useSWRResource.js.map +1 -0
  360. package/lib/model/Bullets.d.ts +4 -0
  361. package/lib/model/Bullets.js +2 -0
  362. package/lib/model/Bullets.js.map +1 -0
  363. package/lib/model/Button.d.ts +15 -0
  364. package/lib/model/Button.js +2 -0
  365. package/lib/model/Button.js.map +1 -0
  366. package/lib/model/HeadlineType.d.ts +4 -0
  367. package/lib/model/Picture.d.ts +3 -10
  368. package/lib/services/search/jaroWinklerDistance.d.ts +1 -0
  369. package/lib/services/search/jaroWinklerDistance.js +64 -0
  370. package/lib/services/search/jaroWinklerDistance.js.map +1 -0
  371. package/lib/services/search/joinMaps.d.ts +1 -0
  372. package/lib/services/search/joinMaps.js +7 -0
  373. package/lib/services/search/joinMaps.js.map +1 -0
  374. package/lib/services/search/search.d.ts +12 -0
  375. package/lib/services/search/search.js +36 -0
  376. package/lib/services/search/search.js.map +1 -0
  377. package/lib/services/search/textRank.d.ts +1 -0
  378. package/lib/services/search/textRank.js +11 -0
  379. package/lib/services/search/textRank.js.map +1 -0
  380. package/lib/services/search/tokenize.d.ts +1 -0
  381. package/lib/services/search/tokenize.js +6 -0
  382. package/lib/services/search/tokenize.js.map +1 -0
  383. package/lib/services/search/useSearch.d.ts +8 -0
  384. package/lib/services/search/useSearch.js +30 -0
  385. package/lib/services/search/useSearch.js.map +1 -0
  386. package/{mobile/bundle/services/sitemap/SitemapProps.d.ts → lib/services/sitemap/SitemapData.d.ts} +1 -1
  387. package/lib/services/sitemap/SitemapData.js +2 -0
  388. package/lib/services/sitemap/SitemapData.js.map +1 -0
  389. package/lib/ui-kit/BlockWrapper.d.ts +1 -0
  390. package/lib/ui-kit/BlockWrapper.js +3 -2
  391. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  392. package/lib/ui-kit/Button/ButtonProps.d.ts +6 -7
  393. package/lib/ui-kit/Dialog/CloseButton.d.ts +7 -0
  394. package/lib/ui-kit/Dialog/CloseButton.js +6 -0
  395. package/lib/ui-kit/Dialog/CloseButton.js.map +1 -0
  396. package/lib/ui-kit/Dialog/Dialog.d.ts +7 -0
  397. package/lib/ui-kit/Dialog/Dialog.js +24 -0
  398. package/lib/ui-kit/Dialog/Dialog.js.map +1 -0
  399. package/lib/ui-kit/InputRange/InputRangeProps.d.ts +2 -1
  400. package/lib/ui-kit/List/ListProps.d.ts +3 -4
  401. package/lib/ui-kit/Location/Location.d.ts +1 -18
  402. package/lib/ui-kit/Location/Location.js +12 -16
  403. package/lib/ui-kit/Location/Location.js.map +1 -1
  404. package/lib/ui-kit/Location/LocationProps.d.ts +16 -0
  405. package/lib/ui-kit/Location/LocationProps.js +2 -0
  406. package/lib/ui-kit/Location/LocationProps.js.map +1 -0
  407. package/lib/ui-kit/Location/SearchBar.js +1 -1
  408. package/lib/ui-kit/Location/SearchBar.js.map +1 -1
  409. package/lib/{model → ui-kit}/PreventableEvent.d.ts +0 -0
  410. package/lib/{model → ui-kit}/PreventableEvent.js +0 -0
  411. package/lib/ui-kit/PreventableEvent.js.map +1 -0
  412. package/lib/ui-kit/SearchBar/SearchBarInner.d.ts +2 -0
  413. package/lib/ui-kit/SearchBar/SearchBarInner.js +46 -16
  414. package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  415. package/lib/ui-kit/SearchBar/SearchBarInput.d.ts +9 -0
  416. package/lib/ui-kit/SearchBar/SearchBarInput.js +12 -0
  417. package/lib/ui-kit/SearchBar/SearchBarInput.js.map +1 -0
  418. package/{mobile/bundle/components/Footer → lib/ui-kit/Sitemap}/Sitemap.d.ts +2 -2
  419. package/lib/ui-kit/Sitemap/Sitemap.js +21 -0
  420. package/lib/ui-kit/Sitemap/Sitemap.js.map +1 -0
  421. package/lib/ui-kit/TopItem/TopItem.d.ts +1 -1
  422. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  423. package/lib/utils/Comparator.d.ts +4 -0
  424. package/lib/utils/Comparator.js +4 -0
  425. package/lib/utils/Comparator.js.map +1 -0
  426. package/lib/utils/fetchJSON.js +1 -1
  427. package/lib/utils/fetchJSON.js.map +1 -1
  428. package/lib/utils/groupBy.js +6 -6
  429. package/lib/utils/groupBy.js.map +1 -1
  430. package/lib/utils/maxBy.d.ts +1 -0
  431. package/lib/utils/maxBy.js +1 -0
  432. package/lib/utils/maxBy.js.map +1 -1
  433. package/lib/utils/minBy.d.ts +1 -0
  434. package/lib/utils/minBy.js +1 -0
  435. package/lib/utils/minBy.js.map +1 -1
  436. package/lib/utils/sum.d.ts +1 -0
  437. package/lib/utils/sum.js +2 -0
  438. package/lib/utils/sum.js.map +1 -0
  439. package/lib/utils/unique.d.ts +1 -0
  440. package/lib/utils/unique.js +2 -0
  441. package/lib/utils/unique.js.map +1 -0
  442. package/lib/utils/url.d.ts +1 -1
  443. package/lib/utils/url.js.map +1 -1
  444. package/lib/utils/zip.d.ts +4 -0
  445. package/lib/utils/zip.js +4 -0
  446. package/lib/utils/zip.js.map +1 -0
  447. package/mobile/bundle/EventBus/defaultEventBus.d.ts +1 -0
  448. package/mobile/bundle/bundle.umd.js +266 -30
  449. package/mobile/bundle/bundle.umd.min.js +1 -1
  450. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +1 -5
  451. package/mobile/bundle/components/BaseTile/BaseTileProps.d.ts +2 -2
  452. package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -8
  453. package/mobile/bundle/components/Bonus/BonusContent.d.ts +0 -1
  454. package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -8
  455. package/mobile/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +2 -9
  456. package/mobile/bundle/components/ButtonBlock/ButtonBlockContent.d.ts +1 -5
  457. package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +2 -4
  458. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +1 -4
  459. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +2 -10
  460. package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -10
  461. package/mobile/bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +3 -21
  462. package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +4 -29
  463. package/mobile/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +2 -1
  464. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  465. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -21
  466. package/mobile/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +4 -8
  467. package/mobile/bundle/components/ComparisonTable/HeaderCell.d.ts +2 -3
  468. package/mobile/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +4 -23
  469. package/mobile/bundle/components/Footer/FooterDataProps.d.ts +2 -2
  470. package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +3 -14
  471. package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +1 -1
  472. package/mobile/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +2 -3
  473. package/mobile/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -1
  474. package/mobile/bundle/components/ImgBlock/ImgBlockContent.d.ts +2 -4
  475. package/mobile/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -3
  476. package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +3 -17
  477. package/mobile/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  478. package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +3 -20
  479. package/mobile/bundle/components/PictureText/PictureTextContent.d.ts +3 -21
  480. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -23
  481. package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +2 -17
  482. package/mobile/bundle/components/Recommendation/RecommendationContent.d.ts +2 -28
  483. package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +7 -23
  484. package/mobile/bundle/components/Tabs/TabsContent.d.ts +1 -4
  485. package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +6 -11
  486. package/mobile/bundle/components/TextBlock/TextBlockContent.d.ts +4 -9
  487. package/mobile/bundle/components/Tile/TileContent.d.ts +3 -22
  488. package/mobile/bundle/components/Video/VideoContent.d.ts +2 -15
  489. package/mobile/bundle/{services/sitemap → hooks}/fallbackWCMSResource.d.ts +1 -1
  490. package/mobile/bundle/hooks/useCarouselControls.d.ts +0 -2
  491. package/mobile/bundle/hooks/useLink.d.ts +1 -1
  492. package/mobile/bundle/{services/sitemap → hooks}/useSWRResource.d.ts +1 -1
  493. package/mobile/bundle/model/Bullets.d.ts +4 -0
  494. package/mobile/bundle/model/Button.d.ts +15 -0
  495. package/mobile/bundle/model/HeadlineType.d.ts +4 -0
  496. package/mobile/bundle/model/Picture.d.ts +3 -10
  497. package/mobile/bundle/services/search/jaroWinklerDistance.d.ts +1 -0
  498. package/mobile/bundle/services/search/joinMaps.d.ts +1 -0
  499. package/mobile/bundle/services/search/search.d.ts +12 -0
  500. package/mobile/bundle/services/search/textRank.d.ts +1 -0
  501. package/mobile/bundle/services/search/tokenize.d.ts +1 -0
  502. package/mobile/bundle/services/search/useSearch.d.ts +8 -0
  503. package/{dist/services/sitemap/SitemapProps.d.ts → mobile/bundle/services/sitemap/SitemapData.d.ts} +1 -1
  504. package/mobile/bundle/ui-kit/BlockWrapper.d.ts +1 -0
  505. package/mobile/bundle/ui-kit/Button/ButtonProps.d.ts +6 -7
  506. package/mobile/bundle/ui-kit/Dialog/CloseButton.d.ts +7 -0
  507. package/mobile/bundle/ui-kit/Dialog/Dialog.d.ts +7 -0
  508. package/mobile/bundle/ui-kit/InputRange/InputRangeProps.d.ts +2 -1
  509. package/mobile/bundle/ui-kit/List/ListProps.d.ts +3 -4
  510. package/mobile/bundle/ui-kit/Location/Location.d.ts +1 -18
  511. package/mobile/bundle/ui-kit/Location/LocationProps.d.ts +16 -0
  512. package/mobile/bundle/{model → ui-kit}/PreventableEvent.d.ts +0 -0
  513. package/mobile/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +2 -0
  514. package/mobile/bundle/ui-kit/SearchBar/SearchBarInput.d.ts +9 -0
  515. package/{dist/components/Footer → mobile/bundle/ui-kit/Sitemap}/Sitemap.d.ts +2 -2
  516. package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +1 -1
  517. package/mobile/bundle/utils/Comparator.d.ts +4 -0
  518. package/mobile/bundle/utils/maxBy.d.ts +1 -0
  519. package/mobile/bundle/utils/minBy.d.ts +1 -0
  520. package/mobile/bundle/utils/sum.d.ts +1 -0
  521. package/mobile/bundle/utils/unique.d.ts +1 -0
  522. package/mobile/bundle/utils/url.d.ts +1 -1
  523. package/mobile/bundle/utils/zip.d.ts +4 -0
  524. package/mobile/dist/EventBus/defaultEventBus.d.ts +1 -0
  525. package/mobile/dist/EventBus/defaultEventBus.js.map +1 -1
  526. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  527. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +1 -5
  528. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  529. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  530. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  531. package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +2 -2
  532. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -8
  533. package/mobile/dist/components/Bonus/BonusContent.d.ts +0 -1
  534. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -8
  535. package/mobile/dist/components/BusinessBlock/BusinessBlockContent.d.ts +2 -9
  536. package/mobile/dist/components/ButtonBlock/ButtonBlockContent.d.ts +1 -5
  537. package/mobile/dist/components/Calculator/CalculatorContent.d.ts +2 -4
  538. package/mobile/dist/components/Carousel/CarouselContent.d.ts +1 -4
  539. package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
  540. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  541. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +2 -10
  542. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -10
  543. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +3 -21
  544. package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +4 -29
  545. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +8 -1
  546. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  547. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +2 -1
  548. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  549. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +12 -7
  550. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  551. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -21
  552. package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +4 -8
  553. package/mobile/dist/components/ComparisonTable/HeaderCell.d.ts +2 -3
  554. package/mobile/dist/components/ContentPage/ContentPage.js +7 -1
  555. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  556. package/mobile/dist/components/ErrorBlock/ErrorBlock.js +2 -1
  557. package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  558. package/mobile/dist/components/ErrorBlock/ErrorBlockContent.d.ts +4 -23
  559. package/mobile/dist/components/Footer/Footer.fallback.js +1 -1
  560. package/mobile/dist/components/Footer/Footer.fallback.js.map +1 -1
  561. package/mobile/dist/components/Footer/Footer.js +1 -1
  562. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  563. package/mobile/dist/components/Footer/FooterDataProps.d.ts +2 -2
  564. package/mobile/dist/components/Footer/MediaButton.js +5 -2
  565. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  566. package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +3 -14
  567. package/mobile/dist/components/Header/Header.fallback.js +1 -1
  568. package/mobile/dist/components/Header/Header.fallback.js.map +1 -1
  569. package/mobile/dist/components/Header/Header.js +1 -1
  570. package/mobile/dist/components/Header/Header.js.map +1 -1
  571. package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +1 -1
  572. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +3 -1
  573. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  574. package/mobile/dist/components/Header/HeaderSecondaryMenuButton.d.ts +2 -3
  575. package/mobile/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  576. package/mobile/dist/components/Headline/Headline.js +2 -2
  577. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  578. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +2 -2
  579. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  580. package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -1
  581. package/mobile/dist/components/ImgBlock/ImgBlockContent.d.ts +2 -4
  582. package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -3
  583. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +3 -17
  584. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  585. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  586. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +3 -20
  587. package/mobile/dist/components/PictureText/PictureTextContent.d.ts +3 -21
  588. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -23
  589. package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +2 -17
  590. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +2 -28
  591. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +7 -23
  592. package/mobile/dist/components/Tabs/TabsContent.d.ts +1 -4
  593. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +6 -11
  594. package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +4 -9
  595. package/mobile/dist/components/Tile/TileContent.d.ts +3 -22
  596. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +5 -3
  597. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  598. package/mobile/dist/components/Video/VideoContent.d.ts +2 -15
  599. package/mobile/dist/hooks/fallbackWCMSResource.d.ts +2 -0
  600. package/mobile/dist/{services/sitemap → hooks}/fallbackWCMSResource.js +0 -0
  601. package/mobile/dist/hooks/fallbackWCMSResource.js.map +1 -0
  602. package/mobile/dist/hooks/useCarouselControls.d.ts +0 -2
  603. package/mobile/dist/hooks/useCarouselControls.js +7 -15
  604. package/mobile/dist/hooks/useCarouselControls.js.map +1 -1
  605. package/mobile/dist/hooks/useLink.d.ts +1 -1
  606. package/mobile/dist/hooks/useSWRResource.d.ts +2 -0
  607. package/{dist/services/sitemap → mobile/dist/hooks}/useSWRResource.js +1 -1
  608. package/mobile/dist/hooks/useSWRResource.js.map +1 -0
  609. package/mobile/dist/model/Bullets.d.ts +4 -0
  610. package/{dist/services/sitemap/SitemapProps.js → mobile/dist/model/Bullets.js} +1 -1
  611. package/mobile/dist/model/Bullets.js.map +1 -0
  612. package/mobile/dist/model/Button.d.ts +15 -0
  613. package/mobile/dist/model/Button.js +2 -0
  614. package/mobile/dist/model/Button.js.map +1 -0
  615. package/mobile/dist/model/HeadlineType.d.ts +4 -0
  616. package/mobile/dist/model/Picture.d.ts +3 -10
  617. package/mobile/dist/services/search/jaroWinklerDistance.d.ts +1 -0
  618. package/mobile/dist/services/search/jaroWinklerDistance.js +67 -0
  619. package/mobile/dist/services/search/jaroWinklerDistance.js.map +1 -0
  620. package/mobile/dist/services/search/joinMaps.d.ts +1 -0
  621. package/mobile/dist/services/search/joinMaps.js +10 -0
  622. package/mobile/dist/services/search/joinMaps.js.map +1 -0
  623. package/mobile/dist/services/search/search.d.ts +12 -0
  624. package/mobile/dist/services/search/search.js +39 -0
  625. package/mobile/dist/services/search/search.js.map +1 -0
  626. package/mobile/dist/services/search/textRank.d.ts +1 -0
  627. package/mobile/dist/services/search/textRank.js +14 -0
  628. package/mobile/dist/services/search/textRank.js.map +1 -0
  629. package/mobile/dist/services/search/tokenize.d.ts +1 -0
  630. package/mobile/dist/services/search/tokenize.js +9 -0
  631. package/mobile/dist/services/search/tokenize.js.map +1 -0
  632. package/mobile/dist/services/search/useSearch.d.ts +8 -0
  633. package/mobile/dist/services/search/useSearch.js +33 -0
  634. package/mobile/dist/services/search/useSearch.js.map +1 -0
  635. package/mobile/dist/services/sitemap/SitemapData.d.ts +32 -0
  636. package/mobile/dist/services/sitemap/SitemapData.js +2 -0
  637. package/mobile/dist/services/sitemap/SitemapData.js.map +1 -0
  638. package/mobile/dist/ui-kit/BlockWrapper.d.ts +1 -0
  639. package/mobile/dist/ui-kit/BlockWrapper.js +3 -2
  640. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  641. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +6 -7
  642. package/mobile/dist/ui-kit/Dialog/CloseButton.d.ts +7 -0
  643. package/mobile/dist/ui-kit/Dialog/CloseButton.js +8 -0
  644. package/mobile/dist/ui-kit/Dialog/CloseButton.js.map +1 -0
  645. package/mobile/dist/ui-kit/Dialog/Dialog.d.ts +7 -0
  646. package/mobile/dist/ui-kit/Dialog/Dialog.js +26 -0
  647. package/mobile/dist/ui-kit/Dialog/Dialog.js.map +1 -0
  648. package/mobile/dist/ui-kit/InputRange/InputRangeProps.d.ts +2 -1
  649. package/mobile/dist/ui-kit/List/ListProps.d.ts +3 -4
  650. package/mobile/dist/ui-kit/Location/Location.d.ts +1 -18
  651. package/mobile/dist/ui-kit/Location/Location.js +11 -15
  652. package/mobile/dist/ui-kit/Location/Location.js.map +1 -1
  653. package/mobile/dist/ui-kit/Location/LocationProps.d.ts +16 -0
  654. package/mobile/dist/ui-kit/Location/LocationProps.js +2 -0
  655. package/mobile/dist/ui-kit/Location/LocationProps.js.map +1 -0
  656. package/mobile/dist/ui-kit/Location/SearchBar.js +1 -1
  657. package/mobile/dist/ui-kit/Location/SearchBar.js.map +1 -1
  658. package/mobile/dist/{model → ui-kit}/PreventableEvent.d.ts +0 -0
  659. package/mobile/dist/{model → ui-kit}/PreventableEvent.js +0 -0
  660. package/mobile/dist/ui-kit/PreventableEvent.js.map +1 -0
  661. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.d.ts +2 -0
  662. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +46 -16
  663. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  664. package/mobile/dist/ui-kit/SearchBar/SearchBarInput.d.ts +9 -0
  665. package/mobile/dist/ui-kit/SearchBar/SearchBarInput.js +14 -0
  666. package/mobile/dist/ui-kit/SearchBar/SearchBarInput.js.map +1 -0
  667. package/mobile/dist/ui-kit/Sitemap/Sitemap.d.ts +6 -0
  668. package/mobile/dist/ui-kit/Sitemap/Sitemap.js +23 -0
  669. package/mobile/dist/ui-kit/Sitemap/Sitemap.js.map +1 -0
  670. package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +1 -1
  671. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  672. package/mobile/dist/utils/Comparator.d.ts +4 -0
  673. package/mobile/dist/utils/Comparator.js +9 -0
  674. package/mobile/dist/utils/Comparator.js.map +1 -0
  675. package/mobile/dist/utils/fetchJSON.js +1 -1
  676. package/mobile/dist/utils/fetchJSON.js.map +1 -1
  677. package/mobile/dist/utils/groupBy.js +6 -6
  678. package/mobile/dist/utils/groupBy.js.map +1 -1
  679. package/mobile/dist/utils/maxBy.d.ts +1 -0
  680. package/mobile/dist/utils/maxBy.js +2 -1
  681. package/mobile/dist/utils/maxBy.js.map +1 -1
  682. package/mobile/dist/utils/minBy.d.ts +1 -0
  683. package/mobile/dist/utils/minBy.js +2 -1
  684. package/mobile/dist/utils/minBy.js.map +1 -1
  685. package/mobile/dist/utils/sum.d.ts +1 -0
  686. package/mobile/dist/utils/sum.js +5 -0
  687. package/mobile/dist/utils/sum.js.map +1 -0
  688. package/mobile/dist/utils/unique.d.ts +1 -0
  689. package/mobile/dist/utils/unique.js +5 -0
  690. package/mobile/dist/utils/unique.js.map +1 -0
  691. package/mobile/dist/utils/url.d.ts +1 -1
  692. package/mobile/dist/utils/url.js.map +1 -1
  693. package/mobile/dist/utils/zip.d.ts +4 -0
  694. package/mobile/dist/utils/zip.js +7 -0
  695. package/mobile/dist/utils/zip.js.map +1 -0
  696. package/mobile/lib/EventBus/defaultEventBus.d.ts +1 -0
  697. package/mobile/lib/EventBus/defaultEventBus.js.map +1 -1
  698. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  699. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +1 -5
  700. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  701. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  702. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  703. package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +2 -2
  704. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -8
  705. package/mobile/lib/components/Bonus/BonusContent.d.ts +0 -1
  706. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -8
  707. package/mobile/lib/components/BusinessBlock/BusinessBlockContent.d.ts +2 -9
  708. package/mobile/lib/components/ButtonBlock/ButtonBlockContent.d.ts +1 -5
  709. package/mobile/lib/components/Calculator/CalculatorContent.d.ts +2 -4
  710. package/mobile/lib/components/Carousel/CarouselContent.d.ts +1 -4
  711. package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
  712. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  713. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +2 -10
  714. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -10
  715. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +3 -21
  716. package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +4 -29
  717. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +8 -1
  718. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  719. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +2 -1
  720. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  721. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +12 -7
  722. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  723. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -21
  724. package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +4 -8
  725. package/mobile/lib/components/ComparisonTable/HeaderCell.d.ts +2 -3
  726. package/mobile/lib/components/ContentPage/ContentPage.js +7 -1
  727. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  728. package/mobile/lib/components/ErrorBlock/ErrorBlock.js +2 -1
  729. package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  730. package/mobile/lib/components/ErrorBlock/ErrorBlockContent.d.ts +4 -23
  731. package/mobile/lib/components/Footer/Footer.fallback.js +1 -1
  732. package/mobile/lib/components/Footer/Footer.fallback.js.map +1 -1
  733. package/mobile/lib/components/Footer/Footer.js +1 -1
  734. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  735. package/mobile/lib/components/Footer/FooterDataProps.d.ts +2 -2
  736. package/mobile/lib/components/Footer/MediaButton.js +5 -2
  737. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  738. package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +3 -14
  739. package/mobile/lib/components/Header/Header.fallback.js +1 -1
  740. package/mobile/lib/components/Header/Header.fallback.js.map +1 -1
  741. package/mobile/lib/components/Header/Header.js +1 -1
  742. package/mobile/lib/components/Header/Header.js.map +1 -1
  743. package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +1 -1
  744. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +3 -1
  745. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  746. package/mobile/lib/components/Header/HeaderSecondaryMenuButton.d.ts +2 -3
  747. package/mobile/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  748. package/mobile/lib/components/Headline/Headline.js +2 -2
  749. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  750. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +2 -2
  751. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  752. package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -1
  753. package/mobile/lib/components/ImgBlock/ImgBlockContent.d.ts +2 -4
  754. package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -3
  755. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +3 -17
  756. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  757. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  758. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +3 -20
  759. package/mobile/lib/components/PictureText/PictureTextContent.d.ts +3 -21
  760. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -23
  761. package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +2 -17
  762. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +2 -28
  763. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +7 -23
  764. package/mobile/lib/components/Tabs/TabsContent.d.ts +1 -4
  765. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +6 -11
  766. package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +4 -9
  767. package/mobile/lib/components/Tile/TileContent.d.ts +3 -22
  768. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +5 -3
  769. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  770. package/mobile/lib/components/Video/VideoContent.d.ts +2 -15
  771. package/mobile/lib/hooks/fallbackWCMSResource.d.ts +2 -0
  772. package/mobile/lib/{services/sitemap → hooks}/fallbackWCMSResource.js +0 -0
  773. package/mobile/lib/hooks/fallbackWCMSResource.js.map +1 -0
  774. package/mobile/lib/hooks/useCarouselControls.d.ts +0 -2
  775. package/mobile/lib/hooks/useCarouselControls.js +7 -15
  776. package/mobile/lib/hooks/useCarouselControls.js.map +1 -1
  777. package/mobile/lib/hooks/useLink.d.ts +1 -1
  778. package/mobile/lib/hooks/useSWRResource.d.ts +2 -0
  779. package/mobile/lib/{services/sitemap → hooks}/useSWRResource.js +1 -1
  780. package/mobile/lib/hooks/useSWRResource.js.map +1 -0
  781. package/mobile/lib/model/Bullets.d.ts +4 -0
  782. package/mobile/lib/model/Bullets.js +2 -0
  783. package/mobile/lib/model/Bullets.js.map +1 -0
  784. package/mobile/lib/model/Button.d.ts +15 -0
  785. package/mobile/lib/model/Button.js +2 -0
  786. package/mobile/lib/model/Button.js.map +1 -0
  787. package/mobile/lib/model/HeadlineType.d.ts +4 -0
  788. package/mobile/lib/model/Picture.d.ts +3 -10
  789. package/mobile/lib/services/search/jaroWinklerDistance.d.ts +1 -0
  790. package/mobile/lib/services/search/jaroWinklerDistance.js +64 -0
  791. package/mobile/lib/services/search/jaroWinklerDistance.js.map +1 -0
  792. package/mobile/lib/services/search/joinMaps.d.ts +1 -0
  793. package/mobile/lib/services/search/joinMaps.js +7 -0
  794. package/mobile/lib/services/search/joinMaps.js.map +1 -0
  795. package/mobile/lib/services/search/search.d.ts +12 -0
  796. package/mobile/lib/services/search/search.js +36 -0
  797. package/mobile/lib/services/search/search.js.map +1 -0
  798. package/mobile/lib/services/search/textRank.d.ts +1 -0
  799. package/mobile/lib/services/search/textRank.js +11 -0
  800. package/mobile/lib/services/search/textRank.js.map +1 -0
  801. package/mobile/lib/services/search/tokenize.d.ts +1 -0
  802. package/mobile/lib/services/search/tokenize.js +6 -0
  803. package/mobile/lib/services/search/tokenize.js.map +1 -0
  804. package/mobile/lib/services/search/useSearch.d.ts +8 -0
  805. package/mobile/lib/services/search/useSearch.js +30 -0
  806. package/mobile/lib/services/search/useSearch.js.map +1 -0
  807. package/mobile/lib/services/sitemap/SitemapData.d.ts +32 -0
  808. package/mobile/lib/services/sitemap/SitemapData.js +2 -0
  809. package/mobile/lib/services/sitemap/SitemapData.js.map +1 -0
  810. package/mobile/lib/ui-kit/BlockWrapper.d.ts +1 -0
  811. package/mobile/lib/ui-kit/BlockWrapper.js +3 -2
  812. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  813. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +6 -7
  814. package/mobile/lib/ui-kit/Dialog/CloseButton.d.ts +7 -0
  815. package/mobile/lib/ui-kit/Dialog/CloseButton.js +6 -0
  816. package/mobile/lib/ui-kit/Dialog/CloseButton.js.map +1 -0
  817. package/mobile/lib/ui-kit/Dialog/Dialog.d.ts +7 -0
  818. package/mobile/lib/ui-kit/Dialog/Dialog.js +24 -0
  819. package/mobile/lib/ui-kit/Dialog/Dialog.js.map +1 -0
  820. package/mobile/lib/ui-kit/InputRange/InputRangeProps.d.ts +2 -1
  821. package/mobile/lib/ui-kit/List/ListProps.d.ts +3 -4
  822. package/mobile/lib/ui-kit/Location/Location.d.ts +1 -18
  823. package/mobile/lib/ui-kit/Location/Location.js +12 -16
  824. package/mobile/lib/ui-kit/Location/Location.js.map +1 -1
  825. package/mobile/lib/ui-kit/Location/LocationProps.d.ts +16 -0
  826. package/mobile/lib/ui-kit/Location/LocationProps.js +2 -0
  827. package/mobile/lib/ui-kit/Location/LocationProps.js.map +1 -0
  828. package/mobile/lib/ui-kit/Location/SearchBar.js +1 -1
  829. package/mobile/lib/ui-kit/Location/SearchBar.js.map +1 -1
  830. package/mobile/lib/{model → ui-kit}/PreventableEvent.d.ts +0 -0
  831. package/mobile/lib/{model → ui-kit}/PreventableEvent.js +0 -0
  832. package/mobile/lib/ui-kit/PreventableEvent.js.map +1 -0
  833. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.d.ts +2 -0
  834. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +46 -16
  835. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  836. package/mobile/lib/ui-kit/SearchBar/SearchBarInput.d.ts +9 -0
  837. package/mobile/lib/ui-kit/SearchBar/SearchBarInput.js +12 -0
  838. package/mobile/lib/ui-kit/SearchBar/SearchBarInput.js.map +1 -0
  839. package/mobile/lib/ui-kit/Sitemap/Sitemap.d.ts +6 -0
  840. package/mobile/lib/ui-kit/Sitemap/Sitemap.js +21 -0
  841. package/mobile/lib/ui-kit/Sitemap/Sitemap.js.map +1 -0
  842. package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +1 -1
  843. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  844. package/mobile/lib/utils/Comparator.d.ts +4 -0
  845. package/mobile/lib/utils/Comparator.js +4 -0
  846. package/mobile/lib/utils/Comparator.js.map +1 -0
  847. package/mobile/lib/utils/fetchJSON.js +1 -1
  848. package/mobile/lib/utils/fetchJSON.js.map +1 -1
  849. package/mobile/lib/utils/groupBy.js +6 -6
  850. package/mobile/lib/utils/groupBy.js.map +1 -1
  851. package/mobile/lib/utils/maxBy.d.ts +1 -0
  852. package/mobile/lib/utils/maxBy.js +1 -0
  853. package/mobile/lib/utils/maxBy.js.map +1 -1
  854. package/mobile/lib/utils/minBy.d.ts +1 -0
  855. package/mobile/lib/utils/minBy.js +1 -0
  856. package/mobile/lib/utils/minBy.js.map +1 -1
  857. package/mobile/lib/utils/sum.d.ts +1 -0
  858. package/mobile/lib/utils/sum.js +2 -0
  859. package/mobile/lib/utils/sum.js.map +1 -0
  860. package/mobile/lib/utils/unique.d.ts +1 -0
  861. package/mobile/lib/utils/unique.js +2 -0
  862. package/mobile/lib/utils/unique.js.map +1 -0
  863. package/mobile/lib/utils/url.d.ts +1 -1
  864. package/mobile/lib/utils/url.js.map +1 -1
  865. package/mobile/lib/utils/zip.d.ts +4 -0
  866. package/mobile/lib/utils/zip.js +4 -0
  867. package/mobile/lib/utils/zip.js.map +1 -0
  868. package/mobile/src/EventBus/defaultEventBus.ts +1 -0
  869. package/mobile/src/components/ApplicationForm/ApplicationForm.example.json +8 -0
  870. package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -1
  871. package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +1 -1
  872. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +1 -5
  873. package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +1 -1
  874. package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +1 -1
  875. package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +1 -1
  876. package/mobile/src/components/BaseTile/BaseTileProps.ts +2 -2
  877. package/mobile/src/components/BenefitsBlock/BenefitsBlock.example.json +3 -3
  878. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -8
  879. package/mobile/src/components/Bonus/Bonus.example.json +2 -1
  880. package/mobile/src/components/Bonus/Bonus.ui.json +1 -1
  881. package/mobile/src/components/Bonus/BonusContent.ts +0 -1
  882. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +3 -8
  883. package/mobile/src/components/BusinessBlock/BusinessBlock.example.json +42 -8
  884. package/mobile/src/components/BusinessBlock/BusinessBlockContent.ts +3 -9
  885. package/mobile/src/components/ButtonBlock/ButtonBlock.example.json +3 -1
  886. package/mobile/src/components/ButtonBlock/ButtonBlockContent.ts +1 -5
  887. package/mobile/src/components/Calculator/CalculatorContent.ts +6 -7
  888. package/mobile/src/components/Carousel/Carousel.example.json +2 -1
  889. package/mobile/src/components/Carousel/CarouselContent.ts +1 -4
  890. package/mobile/src/components/CarouselCard/CarouselCard.example.json +4 -2
  891. package/mobile/src/components/CarouselCard/CarouselCard.tsx +4 -3
  892. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +3 -10
  893. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.example.json +3 -1
  894. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +3 -10
  895. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.example.json +13 -6
  896. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCardContent.ts +4 -21
  897. package/mobile/src/components/CarouselProductCard/CarouselProductCard.example.json +11 -2
  898. package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +7 -29
  899. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +25 -12
  900. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +2 -0
  901. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +18 -5
  902. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +44 -26
  903. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +8 -21
  904. package/mobile/src/components/ComparisonTable/ComparisonTable.example.json +8 -0
  905. package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +15 -11
  906. package/mobile/src/components/ComparisonTable/HeaderCell.tsx +3 -3
  907. package/mobile/src/components/ContentPage/ContentPage.tsx +16 -1
  908. package/mobile/src/components/ErrorBlock/ErrorBlock.example.json +15 -1
  909. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +7 -4
  910. package/mobile/src/components/ErrorBlock/ErrorBlockContent.ts +5 -23
  911. package/mobile/src/components/Footer/Footer.fallback.ts +1 -1
  912. package/mobile/src/components/Footer/Footer.tsx +3 -3
  913. package/mobile/src/components/Footer/FooterDataProps.ts +2 -2
  914. package/mobile/src/components/Footer/MediaButton.tsx +13 -7
  915. package/mobile/src/components/GracePeriod/GracePeriod.example.json +15 -0
  916. package/mobile/src/components/GracePeriod/GracePeriod.ui.json +1 -1
  917. package/mobile/src/components/GracePeriod/GracePeriodContent.ts +3 -14
  918. package/mobile/src/components/Header/Header.fallback.ts +1 -1
  919. package/mobile/src/components/Header/Header.tsx +3 -3
  920. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +6 -3
  921. package/mobile/src/components/Header/HeaderSecondaryMenuButton.tsx +2 -1
  922. package/mobile/src/components/Headline/Headline.tsx +5 -6
  923. package/mobile/src/components/HorizontalLayout/HorizontalLayout.example.json +3 -1
  924. package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +10 -2
  925. package/mobile/src/components/HorizontalLayout/HorizontalLayoutContent.ts +3 -1
  926. package/mobile/src/components/ImgBlock/ImgBlockContent.ts +2 -4
  927. package/mobile/src/components/InvestmentInfo/InvestmentInfoContent.ts +3 -3
  928. package/mobile/src/components/LinkDocs/LinkDocs.example.json +9 -2
  929. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +4 -17
  930. package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +2 -2
  931. package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +10 -1
  932. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +4 -20
  933. package/mobile/src/components/PictureText/PictureText.example.json +9 -1
  934. package/mobile/src/components/PictureText/PictureTextContent.ts +4 -21
  935. package/mobile/src/components/ProductBlock/ProductBlock.example.json +10 -1
  936. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +5 -23
  937. package/mobile/src/components/ProductTile/ProductTile.example.json +10 -2
  938. package/mobile/src/components/ProductTile/ProductTileContent.ts +3 -17
  939. package/mobile/src/components/Recommendation/Recommendation.example.json +5 -1
  940. package/mobile/src/components/Recommendation/RecommendationContent.ts +2 -28
  941. package/mobile/src/components/StepsBlock/StepsBlock.example.json +8 -4
  942. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +19 -33
  943. package/mobile/src/components/Tabs/Tabs.example.json +2 -1
  944. package/mobile/src/components/Tabs/TabsContent.ts +1 -4
  945. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +7 -11
  946. package/mobile/src/components/TextBlock/TextBlockContent.ts +8 -13
  947. package/mobile/src/components/Tile/Tile.example.json +9 -1
  948. package/mobile/src/components/Tile/TileContent.ts +5 -22
  949. package/mobile/src/components/VerticalLayout/VerticalLayout.example.json +1 -0
  950. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +5 -1
  951. package/mobile/src/components/Video/Video.example.json +7 -1
  952. package/mobile/src/components/Video/VideoContent.ts +2 -15
  953. package/mobile/src/{services/sitemap → hooks}/fallbackWCMSResource.ts +1 -1
  954. package/mobile/src/hooks/useCarouselControls.ts +7 -30
  955. package/mobile/src/hooks/useLink.ts +1 -1
  956. package/{src/services/sitemap → mobile/src/hooks}/useSWRResource.ts +2 -2
  957. package/mobile/src/model/Bullets.ts +4 -0
  958. package/mobile/src/model/Button.ts +16 -0
  959. package/mobile/src/model/HeadlineType.ts +5 -0
  960. package/mobile/src/model/Picture.ts +3 -10
  961. package/mobile/src/services/search/jaroWinklerDistance.ts +98 -0
  962. package/mobile/src/services/search/joinMaps.ts +9 -0
  963. package/mobile/src/services/search/search.ts +73 -0
  964. package/mobile/src/services/search/textRank.ts +14 -0
  965. package/mobile/src/services/search/tokenize.ts +7 -0
  966. package/mobile/src/services/search/useSearch.ts +56 -0
  967. package/mobile/src/services/sitemap/{SitemapProps.ts → SitemapData.ts} +1 -1
  968. package/mobile/src/ui-kit/BlockWrapper.tsx +8 -3
  969. package/mobile/src/ui-kit/Button/ButtonProps.ts +6 -5
  970. package/mobile/src/ui-kit/Dialog/CloseButton.tsx +22 -0
  971. package/mobile/src/ui-kit/Dialog/Dialog.tsx +54 -0
  972. package/mobile/src/ui-kit/InputRange/InputRangeProps.ts +3 -1
  973. package/mobile/src/ui-kit/List/ListProps.ts +11 -11
  974. package/mobile/src/ui-kit/Location/Location.tsx +45 -70
  975. package/mobile/src/ui-kit/Location/LocationProps.ts +25 -0
  976. package/mobile/src/ui-kit/Location/SearchBar.tsx +1 -1
  977. package/mobile/src/{model → ui-kit}/PreventableEvent.ts +0 -0
  978. package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +91 -51
  979. package/mobile/src/ui-kit/SearchBar/SearchBarInput.tsx +46 -0
  980. package/mobile/src/{components/Footer → ui-kit/Sitemap}/Sitemap.tsx +12 -11
  981. package/mobile/src/ui-kit/TopItem/TopItem.tsx +1 -1
  982. package/mobile/src/utils/Comparator.ts +14 -0
  983. package/mobile/src/utils/fetchJSON.ts +1 -1
  984. package/mobile/src/utils/groupBy.ts +8 -7
  985. package/mobile/src/utils/maxBy.ts +2 -0
  986. package/mobile/src/utils/minBy.ts +2 -0
  987. package/mobile/src/utils/sum.ts +1 -0
  988. package/mobile/src/utils/unique.ts +1 -0
  989. package/mobile/src/utils/url.ts +1 -1
  990. package/mobile/src/utils/zip.ts +8 -0
  991. package/package.json +2 -2
  992. package/src/EventBus/defaultEventBus.ts +1 -0
  993. package/src/components/ApplicationForm/ApplicationForm.example.json +8 -0
  994. package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -1
  995. package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +1 -1
  996. package/src/components/ApplicationForm/ApplicationFormContent.ts +1 -5
  997. package/src/components/ApplicationForm/ApplicationFormCredit.tsx +1 -1
  998. package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +1 -1
  999. package/src/components/ApplicationForm/ApplicationFormWed.tsx +1 -1
  1000. package/src/components/BaseTile/BaseTileProps.ts +2 -2
  1001. package/src/components/BenefitsBlock/BenefitsBlock.example.json +3 -3
  1002. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -8
  1003. package/src/components/Blocks.ts +0 -2
  1004. package/src/components/Bonus/Bonus.example.json +2 -1
  1005. package/src/components/Bonus/Bonus.ui.json +1 -1
  1006. package/src/components/Bonus/BonusContent.ts +0 -1
  1007. package/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +3 -8
  1008. package/src/components/BusinessBlock/BusinessBlock.example.json +42 -8
  1009. package/src/components/BusinessBlock/BusinessBlockContent.ts +3 -9
  1010. package/src/components/ButtonBlock/ButtonBlock.example.json +3 -1
  1011. package/src/components/ButtonBlock/ButtonBlockContent.ts +1 -5
  1012. package/src/components/Calculator/CalculatorContent.ts +6 -7
  1013. package/src/components/Carousel/Carousel.example.json +2 -1
  1014. package/src/components/Carousel/Carousel.fixture.tsx +5 -4
  1015. package/src/components/Carousel/CarouselContent.ts +1 -4
  1016. package/src/components/CarouselCard/CarouselCard.example.json +4 -2
  1017. package/src/components/CarouselCard/CarouselCard.fixture.tsx +3 -0
  1018. package/src/components/CarouselCard/CarouselCard.tsx +4 -3
  1019. package/src/components/CarouselCard/CarouselCardContent.ts +3 -10
  1020. package/src/components/CarouselCatalogCard/CarouselCatalogCard.example.json +3 -1
  1021. package/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +3 -10
  1022. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.example.json +13 -6
  1023. package/src/components/CarouselInvestmentCard/CarouselInvestmentCardContent.ts +4 -21
  1024. package/src/components/CarouselProductCard/CarouselProductCard.example.json +11 -2
  1025. package/src/components/CarouselProductCard/CarouselProductCardContent.ts +7 -29
  1026. package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.tsx +2 -0
  1027. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +25 -12
  1028. package/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +2 -0
  1029. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +18 -5
  1030. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +82 -22
  1031. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +44 -26
  1032. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +8 -21
  1033. package/src/components/ComparisonTable/ComparisonTable.example.json +8 -0
  1034. package/src/components/ComparisonTable/ComparisonTableContent.ts +15 -11
  1035. package/src/components/ComparisonTable/HeaderCell.mobile.tsx +3 -3
  1036. package/src/components/ContentPage/ContentPage.tsx +16 -1
  1037. package/src/components/ErrorBlock/ErrorBlock.example.json +15 -1
  1038. package/src/components/ErrorBlock/ErrorBlock.tsx +7 -4
  1039. package/src/components/ErrorBlock/ErrorBlockContent.ts +5 -23
  1040. package/src/components/Footer/Footer.fallback.ts +1 -1
  1041. package/src/components/Footer/Footer.mobile.tsx +3 -3
  1042. package/src/components/Footer/Footer.tsx +6 -4
  1043. package/src/components/Footer/FooterDataProps.ts +2 -2
  1044. package/src/components/Footer/MediaButton.tsx +13 -7
  1045. package/src/components/Footer/SocialMedia.tsx +11 -2
  1046. package/src/components/GracePeriod/GracePeriod.example.json +15 -0
  1047. package/src/components/GracePeriod/GracePeriod.ui.json +1 -1
  1048. package/src/components/GracePeriod/GracePeriodContent.ts +3 -14
  1049. package/src/components/Header/Header.fallback.ts +1 -1
  1050. package/src/components/Header/Header.mobile.tsx +3 -3
  1051. package/src/components/Header/Header.tsx +3 -3
  1052. package/src/components/Header/HeaderSecondaryMenu.tsx +6 -3
  1053. package/src/components/Header/HeaderSecondaryMenuButton.tsx +2 -1
  1054. package/src/components/Headline/Headline.fixture.tsx +11 -11
  1055. package/src/components/Headline/Headline.tsx +5 -6
  1056. package/src/components/HorizontalLayout/HorizontalLayout.example.json +3 -1
  1057. package/src/components/HorizontalLayout/HorizontalLayout.tsx +10 -2
  1058. package/src/components/HorizontalLayout/HorizontalLayoutContent.ts +3 -1
  1059. package/src/components/ImgBlock/ImgBlockContent.ts +2 -4
  1060. package/src/components/InvestmentInfo/InvestmentInfoContent.ts +3 -3
  1061. package/src/components/LinkDocs/LinkDocs.example.json +9 -2
  1062. package/src/components/LinkDocs/LinkDocsContent.ts +4 -17
  1063. package/src/components/LinkDocs/LinkDocsListItemBase.tsx +2 -2
  1064. package/src/components/MobileAppTile/MobileAppTile.example.json +10 -1
  1065. package/src/components/MobileAppTile/MobileAppTileContent.ts +4 -20
  1066. package/src/components/PictureText/PictureText.example.json +9 -1
  1067. package/src/components/PictureText/PictureTextContent.ts +4 -21
  1068. package/src/components/ProductBlock/ProductBlock.example.json +10 -1
  1069. package/src/components/ProductBlock/ProductBlockContent.ts +5 -23
  1070. package/src/components/ProductBlock/ProductBlockInner.tsx +0 -1
  1071. package/src/components/ProductTile/ProductTile.example.json +10 -2
  1072. package/src/components/ProductTile/ProductTileContent.ts +3 -17
  1073. package/src/components/Recommendation/Recommendation.example.json +5 -1
  1074. package/src/components/Recommendation/RecommendationContent.ts +2 -28
  1075. package/src/components/StepsBlock/StepsBlock.example.json +8 -4
  1076. package/src/components/StepsBlock/StepsBlockContent.ts +19 -33
  1077. package/src/components/Tabs/Tabs.example.json +2 -1
  1078. package/src/components/Tabs/TabsContent.ts +1 -4
  1079. package/src/components/TariffsTable/TariffsTableContent.ts +7 -11
  1080. package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +11 -20
  1081. package/src/components/TextBlock/TextBlockContent.ts +8 -13
  1082. package/src/components/Tile/Tile.example.json +9 -1
  1083. package/src/components/Tile/TileContent.ts +5 -22
  1084. package/src/components/VerticalLayout/VerticalLayout.example.json +1 -0
  1085. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +1 -0
  1086. package/src/components/VerticalLayout/VerticalLayout.tsx +5 -1
  1087. package/src/components/Video/Video.example.json +7 -1
  1088. package/src/components/Video/VideoContent.ts +2 -15
  1089. package/src/{services/sitemap → hooks}/fallbackWCMSResource.ts +1 -1
  1090. package/src/hooks/useCarouselControls.ts +7 -30
  1091. package/src/hooks/useLink.ts +1 -1
  1092. package/{mobile/src/services/sitemap → src/hooks}/useSWRResource.ts +2 -2
  1093. package/src/model/Bullets.ts +4 -0
  1094. package/src/model/Button.ts +16 -0
  1095. package/src/model/HeadlineType.ts +5 -0
  1096. package/src/model/Picture.ts +3 -10
  1097. package/src/services/search/jaroWinklerDistance.ts +98 -0
  1098. package/src/services/search/joinMaps.ts +9 -0
  1099. package/src/services/search/search.ts +73 -0
  1100. package/src/services/search/textRank.ts +14 -0
  1101. package/src/services/search/tokenize.ts +7 -0
  1102. package/src/services/search/useSearch.ts +56 -0
  1103. package/src/services/sitemap/{SitemapProps.ts → SitemapData.ts} +1 -1
  1104. package/src/ui-kit/BlockWrapper.tsx +8 -3
  1105. package/src/ui-kit/Button/ButtonProps.ts +6 -5
  1106. package/src/ui-kit/Dialog/CloseButton.tsx +22 -0
  1107. package/src/ui-kit/Dialog/Dialog.tsx +54 -0
  1108. package/src/ui-kit/InputRange/InputRangeProps.ts +3 -1
  1109. package/src/ui-kit/List/ListProps.ts +11 -11
  1110. package/src/ui-kit/Location/Location.fixture.tsx +2 -2
  1111. package/src/ui-kit/Location/Location.tsx +45 -70
  1112. package/src/ui-kit/Location/LocationProps.ts +25 -0
  1113. package/src/ui-kit/Location/SearchBar.tsx +1 -1
  1114. package/src/{model → ui-kit}/PreventableEvent.ts +0 -0
  1115. package/src/ui-kit/SearchBar/SearchBarInner.tsx +91 -51
  1116. package/src/ui-kit/SearchBar/SearchBarInput.tsx +46 -0
  1117. package/src/{components/Footer → ui-kit/Sitemap}/Sitemap.tsx +12 -11
  1118. package/src/ui-kit/TopItem/TopItem.tsx +1 -1
  1119. package/src/utils/Comparator.ts +14 -0
  1120. package/src/utils/fetchJSON.ts +1 -1
  1121. package/src/utils/groupBy.ts +8 -7
  1122. package/src/utils/maxBy.ts +2 -0
  1123. package/src/utils/minBy.ts +2 -0
  1124. package/src/utils/sum.ts +1 -0
  1125. package/src/utils/unique.ts +1 -0
  1126. package/src/utils/url.ts +1 -1
  1127. package/src/utils/zip.ts +8 -0
  1128. package/bundle/components/OtherProducts/OtherProducts.d.ts +0 -5
  1129. package/bundle/components/OtherProducts/OtherProductsContent.d.ts +0 -8
  1130. package/bundle/hooks/useSearch.d.ts +0 -4
  1131. package/bundle/model/SitemapProps.d.ts +0 -24
  1132. package/dist/components/Footer/Sitemap.js +0 -24
  1133. package/dist/components/Footer/Sitemap.js.map +0 -1
  1134. package/dist/components/OtherProducts/OtherProducts.d.ts +0 -5
  1135. package/dist/components/OtherProducts/OtherProducts.js +0 -9
  1136. package/dist/components/OtherProducts/OtherProducts.js.map +0 -1
  1137. package/dist/components/OtherProducts/OtherProductsContent.d.ts +0 -8
  1138. package/dist/components/OtherProducts/OtherProductsContent.js +0 -2
  1139. package/dist/components/OtherProducts/OtherProductsContent.js.map +0 -1
  1140. package/dist/hooks/useSearch.d.ts +0 -4
  1141. package/dist/hooks/useSearch.js +0 -12
  1142. package/dist/hooks/useSearch.js.map +0 -1
  1143. package/dist/model/PreventableEvent.js.map +0 -1
  1144. package/dist/model/SitemapProps.d.ts +0 -24
  1145. package/dist/model/SitemapProps.js.map +0 -1
  1146. package/dist/services/sitemap/SitemapProps.js.map +0 -1
  1147. package/dist/services/sitemap/fallbackWCMSResource.js.map +0 -1
  1148. package/dist/services/sitemap/useSWRResource.js.map +0 -1
  1149. package/lib/components/Footer/Sitemap.js +0 -22
  1150. package/lib/components/Footer/Sitemap.js.map +0 -1
  1151. package/lib/components/OtherProducts/OtherProducts.d.ts +0 -5
  1152. package/lib/components/OtherProducts/OtherProducts.fixture.d.ts +0 -8
  1153. package/lib/components/OtherProducts/OtherProducts.js +0 -7
  1154. package/lib/components/OtherProducts/OtherProducts.js.map +0 -1
  1155. package/lib/components/OtherProducts/OtherProductsContent.d.ts +0 -8
  1156. package/lib/components/OtherProducts/OtherProductsContent.js +0 -2
  1157. package/lib/components/OtherProducts/OtherProductsContent.js.map +0 -1
  1158. package/lib/hooks/useSearch.d.ts +0 -4
  1159. package/lib/hooks/useSearch.js +0 -9
  1160. package/lib/hooks/useSearch.js.map +0 -1
  1161. package/lib/model/PreventableEvent.js.map +0 -1
  1162. package/lib/model/SitemapProps.d.ts +0 -24
  1163. package/lib/model/SitemapProps.js +0 -2
  1164. package/lib/model/SitemapProps.js.map +0 -1
  1165. package/lib/services/sitemap/SitemapProps.js +0 -2
  1166. package/lib/services/sitemap/SitemapProps.js.map +0 -1
  1167. package/lib/services/sitemap/fallbackWCMSResource.js.map +0 -1
  1168. package/lib/services/sitemap/useSWRResource.js.map +0 -1
  1169. package/mobile/bundle/components/OtherProducts/OtherProducts.d.ts +0 -5
  1170. package/mobile/bundle/components/OtherProducts/OtherProductsContent.d.ts +0 -8
  1171. package/mobile/bundle/hooks/useSearch.d.ts +0 -4
  1172. package/mobile/bundle/model/SitemapProps.d.ts +0 -24
  1173. package/mobile/dist/components/Footer/Sitemap.d.ts +0 -6
  1174. package/mobile/dist/components/Footer/Sitemap.js +0 -24
  1175. package/mobile/dist/components/Footer/Sitemap.js.map +0 -1
  1176. package/mobile/dist/components/OtherProducts/OtherProducts.d.ts +0 -5
  1177. package/mobile/dist/components/OtherProducts/OtherProducts.js +0 -9
  1178. package/mobile/dist/components/OtherProducts/OtherProducts.js.map +0 -1
  1179. package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +0 -8
  1180. package/mobile/dist/components/OtherProducts/OtherProductsContent.js +0 -2
  1181. package/mobile/dist/components/OtherProducts/OtherProductsContent.js.map +0 -1
  1182. package/mobile/dist/hooks/useSearch.d.ts +0 -4
  1183. package/mobile/dist/hooks/useSearch.js +0 -12
  1184. package/mobile/dist/hooks/useSearch.js.map +0 -1
  1185. package/mobile/dist/model/PreventableEvent.js.map +0 -1
  1186. package/mobile/dist/model/SitemapProps.d.ts +0 -24
  1187. package/mobile/dist/model/SitemapProps.js.map +0 -1
  1188. package/mobile/dist/services/sitemap/SitemapProps.d.ts +0 -32
  1189. package/mobile/dist/services/sitemap/SitemapProps.js.map +0 -1
  1190. package/mobile/dist/services/sitemap/fallbackWCMSResource.d.ts +0 -2
  1191. package/mobile/dist/services/sitemap/fallbackWCMSResource.js.map +0 -1
  1192. package/mobile/dist/services/sitemap/useSWRResource.d.ts +0 -2
  1193. package/mobile/dist/services/sitemap/useSWRResource.js.map +0 -1
  1194. package/mobile/lib/components/Footer/Sitemap.d.ts +0 -6
  1195. package/mobile/lib/components/Footer/Sitemap.js +0 -22
  1196. package/mobile/lib/components/Footer/Sitemap.js.map +0 -1
  1197. package/mobile/lib/components/OtherProducts/OtherProducts.d.ts +0 -5
  1198. package/mobile/lib/components/OtherProducts/OtherProducts.js +0 -7
  1199. package/mobile/lib/components/OtherProducts/OtherProducts.js.map +0 -1
  1200. package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +0 -8
  1201. package/mobile/lib/components/OtherProducts/OtherProductsContent.js +0 -2
  1202. package/mobile/lib/components/OtherProducts/OtherProductsContent.js.map +0 -1
  1203. package/mobile/lib/hooks/useSearch.d.ts +0 -4
  1204. package/mobile/lib/hooks/useSearch.js +0 -9
  1205. package/mobile/lib/hooks/useSearch.js.map +0 -1
  1206. package/mobile/lib/model/PreventableEvent.js.map +0 -1
  1207. package/mobile/lib/model/SitemapProps.d.ts +0 -24
  1208. package/mobile/lib/model/SitemapProps.js +0 -2
  1209. package/mobile/lib/model/SitemapProps.js.map +0 -1
  1210. package/mobile/lib/services/sitemap/SitemapProps.d.ts +0 -32
  1211. package/mobile/lib/services/sitemap/SitemapProps.js +0 -2
  1212. package/mobile/lib/services/sitemap/SitemapProps.js.map +0 -1
  1213. package/mobile/lib/services/sitemap/fallbackWCMSResource.d.ts +0 -2
  1214. package/mobile/lib/services/sitemap/fallbackWCMSResource.js.map +0 -1
  1215. package/mobile/lib/services/sitemap/useSWRResource.d.ts +0 -2
  1216. package/mobile/lib/services/sitemap/useSWRResource.js.map +0 -1
  1217. package/mobile/src/components/OtherProducts/OtherProducts.example.json +0 -30
  1218. package/mobile/src/components/OtherProducts/OtherProducts.tsx +0 -17
  1219. package/mobile/src/components/OtherProducts/OtherProducts.ui.json +0 -1
  1220. package/mobile/src/components/OtherProducts/OtherProductsContent.ts +0 -9
  1221. package/mobile/src/hooks/useSearch.ts +0 -10
  1222. package/mobile/src/model/SitemapProps.ts +0 -27
  1223. package/src/components/OtherProducts/OtherProducts.example.json +0 -30
  1224. package/src/components/OtherProducts/OtherProducts.fixture.tsx +0 -88
  1225. package/src/components/OtherProducts/OtherProducts.tsx +0 -17
  1226. package/src/components/OtherProducts/OtherProducts.ui.json +0 -1
  1227. package/src/components/OtherProducts/OtherProductsContent.ts +0 -9
  1228. package/src/hooks/useSearch.ts +0 -10
  1229. package/src/model/SitemapProps.ts +0 -27
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UniMobileBlocks={})}(this,(function(e){"use strict";let t;const n=e=>(...n)=>t[e](...n),r=n("useState"),i=n("useEffect"),a=n("useCallback"),l=n("useMemo"),s=n("useRef");const o={PROD_BRANCH:"master"},c=new class{_=o;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||o.PROD_BRANCH}get FORCED_DRAFT_FLOW(){return this._.FORCED_DRAFT_FLOW}get ASSIST_PROJECT_ID(){return this._.ASSIST_PROJECT_ID}get SITEMAP(){return this._.SITEMAP}get FOOTER(){return this._.FOOTER}get CHAT_BOT(){return this._.CHAT_BOT}get CDN(){return d(this._.CDN)}get BASE_PATH(){return d(this._.BASE_PATH)}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},d=e=>e&&!e.endsWith("/")?`${e}/`:e,m="likesToken";function h(){async function e(){try{const e=JSON.parse(globalThis.localStorage?.getItem(m)||"");if(e?.token)return e}catch(e){}try{const e=await fetch("/assist/v1/public/auth",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:t,name:n}=await e.json();return globalThis.localStorage?.setItem(m,JSON.stringify({token:t,name:n})),{token:t,name:n}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...t){if(!t.length)return[];const{token:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n},body:JSON.stringify({node_ids:t})}),{likes:r}=await e.json();return r||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:n,name:r}=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:r},body:JSON.stringify({node_id:t,user_name:r})}),{likes:i}=await e.json();return i||0}catch(e){return console.error(e),0}},dislike:async function(t){if(!t)return 0;const{token:n,name:r}=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:r},body:JSON.stringify({node_id:t,user_name:r})}),{likes:i}=await e.json();return i||0}catch(e){return console.error(e),0}}}}const u=(...e)=>globalThis._uni._jsx(...e),p=(...e)=>globalThis._uni._jsxs(...e),g=e=>{const t=e;return t._tmpl||(t._tmpl=globalThis.__UNI_REACT__?e:b(e)),t._tmpl},b=e=>{function t(t,n){const{children:r,...i}=t||{},a=n?.slots?.default,l=r||a&&a();return e(Object.assign(i,l&&{children:l}),n)}return t.inheritAttrs=!1,t},x=(...e)=>e.flatMap((e=>e)).filter(Boolean).join(" "),f=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),N=[];function y(e,t){const{key:n,blockDecorator:r=f,blocksRegistry:i={},ancestors:a=N,className:l="",extraProps:s={}}=t,{type:o}=e;o&&o in i||console.warn(`No block with "${o}" is registered`);const c=o&&i[o];return r({blockClassName:x("scroll-mt-12",l,e.style||"col-span-12"),block:e,ancestors:a,render:({block:r,blockClassName:i})=>{const{content:a}=r;return c?u(c,{className:i,block:e,options:t,...a,...s},n):null}},n)}const v=[],w=(e,{key:t,ancestors:n=v,slotName:r=null,renderProps:i=y,...a})=>(e||[]).map(((e,l)=>i(e,{...a,key:`${t||e.type}-${l}`,ancestors:a.parent?[...n||v,[a.parent,r]]:n})));function k({children:e,block:t,options:n,renderProps:r}){return e||(t&&n?w(t.blocks,{...n,parent:t,renderProps:r}):null)}class S{subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]=(this.subscribers[e]||[]).concat(t);const n=this.subjectsStateMap[e];return n&&t(n),()=>{this.unsubscribe(e,t)}}unsubscribe(e,t){this.subscribers[e]=this.subscribers[e]?.filter((e=>e!==t))}fire(e,t){e in this.subjectsStateMap&&(this.subjectsStateMap[e]=t),this.subscribers[e]?.forEach((e=>e(t)))}subject(e,t){this.subjectsStateMap[e]=t}}const T=new S;function C(e,{sensitivity:t,rootRef:n}={}){const r=s(null),a=l((()=>({threshold:_(t),root:n?.current})),[t,n?.current]);return i((()=>{if(!r.current)return;const t=new IntersectionObserver(e,a);return t.observe(r.current),()=>{t.disconnect()}}),[e,a]),r}function _(e=0){const t=Math.round(10*e);return new Array(t).fill(0).map(((e,n)=>Math.min(n/t)),1).concat(1)}const $=new S;const I={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white",gray:"bg-main-divider text-primary-text",transparent:"bg-transparent text-primary-text","":""},A=g((({className:e="",version:t="primary",block:n,tag:l="section",role:s,isTheme:o=!0,children:c})=>{const d=l,m=function(e){return C(a((t=>{if(!e||!t?.length)return;const n=t[t.length-1];$.fire("intersection",{block:e,intersection:n})}),[e]),{sensitivity:1})}(n),[h,p]=r(!1);return i((()=>T.subscribe("tab",(e=>{p(Boolean(e.label&&n?.labels?.length&&!n.labels.includes(e.label)))}))),[n]),u(d,{className:x(o?"group":"",I[t],h?"hidden":"",e),...t&&o?{"data-ver":t}:{},...n?.anchor?{id:n.anchor,ref:m}:{},role:s,children:c})})),j={h0:"text-m-title",h1:"text-m-title",h2:"text-m-title",h3:"text-h6",h4:"text-m-title-xs",h5:"text-m-title-xs",h6:"text-m-title-xs"},R=g((e=>{const{className:t,headingType:n="h3",title:r,as:i="h3"}=e;return u(i,{className:`font-sans font-medium m-0 ${j[n]} ${t||""}`,children:r})})),D=g((({children:e,...t})=>u("p",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),M=g((({title:e,description:t,className:n="",...r})=>p(A,{className:`py-6 px-4 ${n}`,...r,children:[e?u(R,{headingType:"h3",className:"mb-2 text-center",title:e}):null,t?u("div",{className:"mb-5",children:u(D,{size:"text-m",font:"font-light",align:"text-center",children:t})}):null,u("div",{className:"list-none m-0 p-0",children:k(r)})]})));M.childrenTypes=["Accordion"];const L=e=>({height:"calc(100vh - 242px)",minHeight:`${e||866}px`}),V=g((({className:e="",style:t,idx:n,activeIndex:r,observerOptions:i,children:l,onIntersection:s})=>{const o=C(a((e=>{e.length&&s&&s(n||0,e[e.length-1])}),[s,n]),i);return u("div",{className:`inline-block snap-always box-border ${e}`,style:t,"aria-current":Boolean(n===r),ref:o,children:l})})),P=["min-w-[100%]","min-w-[50%]","min-w-[33.33%]","min-w-[25%]"],O=g((({className:e="",containerRef:t,activeIndex:n,visibleItemCount:r=0,gap:i=0,padding:l=0,listType:o="horizontal-list",snapAlign:c="snap-center",minHeight:d,children:m,onVisibleItemsChange:h,onVisibleIndicesChange:p})=>{const g={sensitivity:1,rootRef:t},b=s([]),f=a(((e,t)=>{const n=[...b.current||[]];n[e]=t,b.current=n,h&&h(n),p&&p(z(n))}),[h,p]),N=r>0?i*Number(r)-1:0,y="vertical-list"===o,v="horizontal-list"===o,w={...v?B(l,N):{},...y?L(d):{},gap:`${i}px`};return u("div",{className:x("box-border overflow-auto no-scrollbar",o,e),style:w,ref:t,children:(k=(e,t)=>u(V,{className:x(c,r?P[r-1]:"",y?"h-full":""),style:v?B(l/4):{},activeIndex:n,idx:t,observerOptions:g,onIntersection:f,children:e},String(t)),e=>null==e?e:Array.isArray(e)?e.map(k):k(e,0))(m)});var k})),B=(e,t=0)=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e+t}px`}),z=e=>e.map(((e,t)=>[e,t])).filter((([e])=>e&&e.intersectionRatio>=.9)).map((([,e])=>e)),E={"horizontal-list":"mx-auto mt-5 w-fit","vertical-list":"absolute flex-col justify-center h-full top-0 left-4"},H={"horizontal-list":"w-6","vertical-list":"h-6"},F=g((({containerRef:e,activeIndex:t,dotCount:n=0,listType:r="horizontal-list",version:i})=>n?u("div",{className:x("flex gap-2",E[r],i?"group":""),...i?{"data-ver":i}:{},children:new Array(n).fill(null).map(((n,i)=>u("div",{className:`cursor-pointer rounded-full transition-width duration-300 bg-primary-main group-data-secondary:bg-white group-data-transparent:bg-white ${i===t?H[r]:"w-2 h-2 opacity-30"}`,role:"button","aria-hidden":!0,onClick:()=>(n=>{n!==t&&e?.current&&e.current.children[n]?.scrollIntoView({behavior:"smooth",block:"nearest"})})(i)},String(i))))}):null)),G=e=>e,J=(e=G)=>t=>t.reduceRight(((t,n)=>e(t)>e(n)?t:n)),U=(e=G)=>J((t=>-e(t))),X=e=>t=>e.scrollWidth/t,W=e=>(t,n)=>{e.scrollBy({left:n*X(e)(t),behavior:"smooth"})},Y=({itemCount:e,isCyclic:t,onVisibleIndicesChange:n})=>{const i=s(null),[l,o]=r([]),c=a((e=>{o((t=>{return(n=t)===(r=e)||Boolean(n&&r&&n?.length===r?.length&&n.every(((e,t)=>e===r[t])))?t:e;var n,r})),n&&n(e)}),[e]),[d,m]=l.length?[U()(l),J()(l)]:[-1,-1],h=d>0,u=m<e-1,p=a((()=>{var n;i.current&&(t&&!h?(n=i.current).scrollTo({left:n.scrollWidth,behavior:"smooth"}):W(i.current)(e,-1))}),[t,e,h]),g=a((()=>{i.current&&(t&&!u?i.current.scrollTo({left:0,behavior:"smooth"}):W(i.current)(e,1))}),[e,t,u]);return[i,{scrollLeft:p,scrollRight:g,canScrollLeft:t||h,canScrollRight:t||u,visibleIndicesRange:[d,m],handleVisibleIndicesChange:c}]},K=g((({className:e="",gap:t=14,padding:n=16,showDots:r=!0,minHeight:i,children:a,onVisibleIndicesChange:l,listType:s="horizontal-list",version:o})=>{const c=Array.isArray(a)?a.length:0,[d,m]=Y({itemCount:c,onVisibleIndicesChange:l}),[h]=m.visibleIndicesRange;return p("div",{className:x(e,"vertical-list"===s?"relative h-full":""),children:[u(O,{containerRef:d,activeIndex:h,visibleItemCount:1,gap:t,padding:n,onVisibleIndicesChange:m.handleVisibleIndicesChange,listType:s,minHeight:i,children:a}),r?u(F,{containerRef:d,activeIndex:h,dotCount:c,listType:s,version:o}):null]})})),q=e=>Boolean(e?.includes(":")),Q=(e,t)=>Boolean(e&&!q(e)&&(!t||"_self"===t)),Z=e=>(e||"").replace(/\?.*/,"").replace(/\/$/,""),ee=(...e)=>e.filter(Boolean).join("/").replace(/\/+/g,"/");var te=Object.freeze({__proto__:null,isURL:q,isLocalURL:Q,isHash:e=>Boolean(e?.startsWith("#")),withoutQuery:Z,joinPath:ee});const ne=e=>t=>{if(!t||q(t)||c.CDN&&t.startsWith(c.CDN))return t;const n=t.startsWith("/");return ee(c.BASE_PATH,n?"/":e.pathname?.split("/").slice(0,-1).join("/"),t)},re=(e,t)=>re._impl(e,t);function ie(){return ie._impl()}function ae(e=!1){const t=ie();return r=>({...r,href:e?r.href:ne(t)(r.href),"aria-label":r.text,onClick:re(n(r),r)});function n({href:n,target:r,onClick:i}){return a=>{i&&i(a),n&&!e&&Q(n,r)&&(a?.preventDefault(),t.push(n))}}}re._impl=e=>e,re.setup=e=>{re._impl=e},ie._impl=()=>({href:globalThis.location?.href||"/",pathname:globalThis.location?.pathname||"/",query:{},push:()=>{},replace:()=>{}}),ie.setup=e=>{ie._impl=e};const le={primary:"text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active",secondary:"text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active",white:"text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main",link:"",transparent:"",gray:"text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active","":""},se="bg-main-divider text-main-disabled",oe={primary:se,secondary:se,white:se,link:"",transparent:"",gray:se,"":""},ce="text-center font-sans select-none",de={primary:"group-hover/btn:brightness-0 group-hover/btn:invert",secondary:"group-hover/btn:brightness-0 group-hover/btn:invert",white:"group-hover/btn:brightness-0 group-hover/btn:invert",link:"",transparent:"",gray:"group-hover/btn:brightness-0 group-hover/btn:invert","":""},me=g((e=>{const{text:t,aboveText:n,appendLeft:r,appendRight:i,version:a="primary"}=e;return p("div",{className:he(e),children:[r?u("div",{className:de[a],children:r}):null,ue(e)?p("div",{children:[n?u("div",{className:"text-xs-light text-left",children:n}):null,u("div",{className:"text-left "+(n?"text-s -mt-0.5":"text-l"),children:t})]}):null,i?u("div",{className:de[a],children:i}):null]})})),he=e=>{const{version:t,aboveText:n,rounded:r}=e;if("link"===t)return"";const i="gap-2 "+(n?"py-2.5 px-7":"py-4 px-4");return["group/btn flex items-center justify-center",ue(e)?i:"h-12 w-12",r?"rounded-full":""].join(" ")},ue=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),pe=({className:e,rounded:t,version:n})=>["inline-block",ce,n?oe[n]:"",t?"rounded-full":"rounded-md",e].join(" "),ge=({className:e,rounded:t,version:n})=>[ce,"border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border",n?le[n]:"",t?"rounded-full":"rounded-md",e].join(" "),be=g((({disabled:e,children:t,...n})=>{const r=ae()(n),i=t??u(me,{...r});return u(e?fe:xe,{...r,children:i})})),xe=g((({className:e="",href:t,rel:n,target:r,ariaLabel:i,version:a,rounded:l,onClick:s,children:o})=>u("a",{className:ge({className:e,version:a,rounded:l}),href:t,rel:n,target:r,"aria-label":i,role:t?"link":"button",onClick:s,children:o}))),fe=g((({className:e,ariaLabel:t,version:n,rounded:r,children:i})=>u("div",{role:"button","aria-disabled":"true","aria-label":t,tabIndex:-1,className:pe({className:e,rounded:r,version:n}),children:i}))),Ne={normal:"",color:"text-primary-main",black:"text-black",white:"text-black"},ye=g((({className:e="",imageClassName:t="",name:n="",alt:r=`Иконка ${n}`,title:i=r,iconVersion:a="color",asSVG:l,...s})=>{const o=ie(),d=ne(o)(ee(c.CDN,"/icons",`${n}.svg`));return l&&"normal"!==a?u(we,{className:e,children:p("svg",{className:x(ve(s.width),Ne[a],"white"===a?"invert":"",t),...s,"aria-hidden":"true",children:[i?u("title",{children:i}):null,r?u("desc",{children:r}):null,u("use",{href:`${d}#icon`,xlinkHref:`${d}#icon`})]})}):(e.includes("h-")||(s.style={height:`${s.height}px`}),u("img",{className:e,src:d,alt:r,title:i,"aria-hidden":"true",...s}))})),ve=e=>e?"":"w-full h-full",we=g((({className:e,children:t})=>e?u("div",{className:e,children:t}):t)),ke=(e,t)=>e?.media&&t?.media?e.media-t.media:0,Se=g((({className:e="",image:t,imageClassName:n="",isMobile:r=!1,pathPrefix:i})=>{const a=ie();return p("picture",{className:`${r?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.filter((e=>e?.src)).sort(ke).map((({src:e,format:n,media:r},l)=>u("source",{srcSet:Ce(a,i)(e),type:_e(n),media:r?`(max-width: ${r}px)`:"",...t.size},`${l}_${e}`))):null,t?.src?Te({...t,src:Ce(a,i)(t.src)},n,r):null]})})),Te=(e,t="",n=!1)=>{const r={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"100%"},i=e.title||"",a=e.alt||e.title,l=n?"m-auto":"m-0";return u("img",{src:e.src,className:`${l} ${t}`,alt:a,title:i,style:r,...e.size})},Ce=(e,t)=>n=>n&&!q(n)?ne(e)(ee(t,n)):n,_e=e=>e?`image/${String(e)}`:void 0,$e=g((({className:e="",image:t,imageClassName:n="",isMobile:r,pathPrefix:i,...a})=>t?.src||t?.icon?t.icon?u(ye,{className:e,imageClassName:n,iconVersion:t?.iconVersion||"normal",name:t.icon,...a}):u(Se,{className:e,imageClassName:n,image:t,isMobile:r,pathPrefix:i}):null)),Ie=g((e=>u($e,{...e,isMobile:!0}))),Ae=(e=!1)=>e?"text-white":"",je=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),Re=g((({icon:e,image:t,title:n,subtitle:r,isFillGradient:i})=>p("div",{role:"columnheader",children:[e?u(Ie,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}):null,t?.src&&u("div",{className:"mb-3.5",children:u(Ie,{image:t})}),n?u(R,{headingType:"h4",className:Ae(i),title:n}):null,r?u("div",{className:je(i),children:r}):null]}))),De=g((({cell:e,rowHeader:t,isFillGradient:n=!1})=>u("div",{className:"box-border flex flex-col",role:"cell",children:u("div",{className:"h-full border-main-divider border border-t-0 border-x-0",children:e.map(Me(n,t))})}))),Me=(e,t)=>({label:n,description:r},i)=>p("div",{className:"flex justify-between text-s py-3.5",children:[u("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),p("div",{className:"basis-1/2",children:[n?u("div",{className:"text-right "+(e?"text-white":""),children:n}):null,r?u("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:r}):null]})]},String(i)),Le=g((({header:e,columnData:t,visibleRowLength:n=0,isFillGradient:r,showRow:i,onToggleColumn:a})=>{const l=t?.slice(0,i?t.length:n),s=r?"secondary":"primary";return p("div",{className:`border border-gray rounded-md p-4 mb-3.5 ${r?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[u(Re,{...e,isFillGradient:r}),l?.length?l.map((({rowHeader:e,cell:t},n)=>u(De,{cell:t,rowHeader:e,isFillGradient:r},String(n)))):null,i&&e?.link?u(be,{href:e.link.href,target:e.link.target,version:s,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}):null,Ve({onToggleColumn:a,isFillGradient:r,showRow:i})]})})),Ve=({onToggleColumn:e,isFillGradient:t,showRow:n})=>u("div",{className:"mt-5",role:"cell",children:u("a",{role:"link",onClick:e,className:"text-s font-medium cursor-pointer "+(t?"text-white/80":"text-primary-main"),children:n?"Скрыть":"Показать описание"})}),Pe=g((e=>{const{className:t,title:n}=e;return p("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${t||""}`,children:[n?u(R,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:n}):null,u("div",{role:"table",children:u(Oe,{...e})})]})})),Oe=g((({columns:e=[],rowHeaders:t,isColoredFirstColumn:n,visibleRowLength:i,orientation:l,...s})=>{const[o,c]=r(new Array(e.length).fill(!i)),d=a((e=>{const t=(t,n)=>n===e?!t:t;c((e=>e.map(t)))}),[]),m=a((()=>c((e=>new Array(e.length).fill(!1)))),[]),h=e?.map((({data:e,header:r},a)=>{return u(Le,{visibleRowLength:i,showRow:o[a],header:r,columnData:(l=e,l?.map(((e,n)=>({cell:e,rowHeader:t?.[n]?.title})))),isFillGradient:0===a&&n,onToggleColumn:()=>d(a),...s},String(a));var l}));return"horizontal"===l?u(K,{onVisibleIndicesChange:m,children:h}):h})),Be=new Map;function ze(e,t,{fallback:n}={}){const a=l((()=>Ee(e)),[e]),[s,o]=r(),[c,d]=r(),m=e=>{o(e),d(void 0)},h=e=>{o(void 0),d(e)};i((()=>{if(!a.every((e=>null===e)))try{const e=t(...a);"then"in e?(e=>{e.then((e=>Be.get(a)||e)).then(m).catch(h)})(e):m(e)}catch(e){h(e)}}),[t,...a]);const u=a[0],p=n&&"string"==typeof u&&n[u];return{data:!s&&p?p:s,error:c,mutate:()=>Promise.resolve(void 0),isValidating:!1}}function Ee(e){return e?Array.isArray(e)?e:e instanceof Function?Ee(e()):[e]:[e]}async function He(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await n.json()}function Fe(e,t={}){const{data:n}=ze(`/wcms-resources/${e}.json`,He,{fallback:t});return n||{}}const Ge=g((({className:e,isMobile:t=!1})=>{const{term:n,setTerm:i}=(()=>{const[e,t]=r("");return{term:e,setTerm:e=>t(e)}})(),a=t?"text-s":"text-l-light",l=t?" placeholder-transparent":"h-full",s=t?"some search":void 0;return p("form",{className:`font-sans relative ${e}`,children:[p("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[u("div",{className:t?"w-5 h-5":"w-6 h-6",children:u(Ie,{image:{icon:"LoupeIcon"},width:"24",height:"24"})}),n?null:u("label",{htmlFor:"search-bar-input",className:`text-secondary-text ${a}`,children:"Поиск по сайту"})]}),u("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-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text ${l}`,value:n,onChange:e=>i(e.target.value),type:"text",name:"search-bar-input",placeholder:s}),t?u("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(),i("")},children:u(Ie,{image:{icon:"CloseIcon"},width:"24",height:"24"})}):u(be,{version:"primary",text:"Найти",className:"invisible peer-focus:visible absolute top-[3px] right-1",onClick:e=>{e?.preventDefault(),console.log("click")},children:u("div",{className:"text-s px-9 py-2.5",children:"Найти"})})]})})),Je=g((e=>u(Ge,{...e,isMobile:!0}))),Ue=(e,t="primary")=>({...e,iconVersion:e?.iconVersion??("secondary"===t?"white":"color")}),Xe=g((({className:e="",documents:t,...n})=>u(A,{className:`mt-2.5 ${e}`,...n,children:u("ul",{className:"flex flex-col text-s text-secondary-text p-0",children:t?.length?We(t):null})}))),We=e=>e.map(((e,t)=>{const{text:n,...r}=e;return u("li",{className:"mb-4 list-none",children:u("a",{className:"hover:text-primary-main",role:"link",...r,children:n||null})},`list_item_${String(t)}`)})),Ye={"bg-white":"color",transparent:"white"},Ke={"bg-white":"text-primary-main",transparent:"text-white"},qe=(e,t,n)=>u(Ie,t?.src?{image:t,className:Ke[e],width:n?.width,height:n?.height,pathPrefix:"/wcms-resources/",asSVG:!0}:{image:{icon:t?.icon||"LogoIcon",iconVersion:Ye[e]},className:Ke[e],width:n?.width,height:n?.height,asSVG:!0}),Qe={"bg-white":"text-primary-text",transparent:"text-white"},Ze=(e,t,n)=>u("span",{className:`${Qe[t]} ml-2.5 font-medium ${n||""}`,children:e||"Россельхозбанк"}),et=g((({bgColor:e="bg-white",children:t,className:n="",href:r,logo:i,showTitle:a=!0,targetBlank:l})=>p("a",{className:`inline-flex items-center font-sans no-underline ${n}`,href:r||"https://rshb.ru/",target:l?"_blank":"_self","aria-label":i?.title||"Россельхозбанк",children:[qe(e,i?.image,{width:"34",height:"34"}),a?Ze(t||i?.title,e,"text-s"):null]}))),tt=g((({className:e="",title:t="Мобильное приложение",description:n,href:r="#"})=>u("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light font-sans ${e}`,children:r?p("div",{className:"flex",children:[u("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-12 h-12",children:u(et,{className:"w-8",bgColor:"transparent",showTitle:!0})}),p("a",{href:r,target:"_blank",className:"flex flex-col justify-center pl-3",children:[u("div",{className:"text-s font-medium mb-[3px]",children:t}),u("div",{className:"text-s text-secondary-text",children:n})]})]}):null})));const nt=g((({className:e="",label:t,icon:n,dataTheme:r="",onClick:i})=>p("button",{className:["border border-transparent bg-primary-main font-sans text-white cursor-pointer","hover:bg-primary-hover focus:border-primary-text active:bg-primary-active outline-none","flex justify-center w-full px-0 py-5",e].join(" "),"data-theme":r,onClick:i,children:[u("span",{className:"text-h4 pr-3",children:t}),n?u(Ie,{image:{icon:n,iconVersion:"white"},className:"flex-shrink-0 my-auto",width:"20",height:"20",asSVG:!0}):null]}))),rt=g((({className:e="",isFoldButtonOnTop:t=!1,unfoldedByDefault:n=!1,renderFoldableSection:i,renderFoldButton:l})=>{const[s,o]=r(n),c=a((()=>{o((e=>!e))}),[]),d=i({isUnfolded:s,onToggle:c}),m=l?l({isUnfolded:s,onToggle:c}):null;return p("div",t?{className:e,children:[m,d]}:{className:e,children:[d,m]})})),it=g((({className:e="",isUnfolded:t,children:n})=>{const r=s(null);return i((()=>{r.current&&(r.current.style.maxHeight=t?`${r.current.scrollHeight}px`:"")}),[t,n?.length]),u("div",{ref:r,className:`transition-max-h duration-300 overflow-hidden ${r.current||!t?"max-h-0":""} ${e}`,children:n})})),at=g((({children:e,...t})=>u("span",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),lt=g((({className:e="",label:t="Развернуть",isExpanded:n,isFoldButtonOnTop:r=!0,version:i="primary",...a})=>{const{bordered:l}=function(e,t){const{content:n}=function(e){return e?.parent||{}}(e);return n||t}(a.options,{});return u(A,{className:x("border-b border-solid border-main-divider w-full",l?"border p-4 rounded mb-4":"border-0 border-b last:border-b-0",e),tag:"div",version:"transparent",...a,children:u(rt,{isFoldButtonOnTop:r,unfoldedByDefault:n,renderFoldableSection:({isUnfolded:e})=>u(it,{className:"flex flex-wrap group-last:last:pb-0 gap-5 [&>*]:p-0",isUnfolded:e,children:k(a)}),renderFoldButton:({isUnfolded:e,onToggle:n})=>st({version:i,label:t,isUnfolded:e,onToggle:n})})})}));lt.childrenTypes={exclude:["RollupItem","Accordion","OtherProducts"]};const st=({version:e,label:t,isUnfolded:n,onToggle:r,className:i="",primaryIcon:a})=>{const l=t||(n?"Скрыть":"Развернуть");return"primary"===e?ot({label:l,icon:n?"MinusIcon":"PlusIcon",onToggle:r,className:i,primaryIcon:a}):u(nt,{label:l,icon:n?"ArrowUpIcon":"ArrowDownIcon",onClick:r})},ot=({label:e,icon:t,primaryIcon:n,onToggle:r})=>p("button",{className:"border-none bg-transparent flex justify-between text-left w-full text-primary-text group cursor-pointer py-3.5 px-0",onClick:r,children:[p("div",{className:"flex group-hover:text-primary-main",children:[n?u(Ie,{image:{...Ue({...n})},className:"mr-3 flex-shrink-0",width:"24",height:"24",asSVG:!0}):null,u(at,{size:"text-m-title-xs",font:"font-medium",children:e})]}),u(Ie,{className:"flex-shrink-0",image:{...Ue({icon:t})},width:"24",height:"24",asSVG:!0})]}),ct=g((({className:e="",items:t,hasButton:n})=>p("div",{className:e,children:[t?.length?t.map(dt):null,n?u(be,{version:"primary",className:"mb-6 w-full",href:"https://www.rshb.ru/feedback/question/",target:"_blank",ariaLabel:"Обратная связь",text:"Обратная связь"}):null]}))),dt=(e,t)=>{const{type:n,text:r,description:i}=e;return p("div",{className:"mb-4",children:[u("div",{children:mt(n,r)}),u("div",{className:"mt-1 text-s-light text-secondary-text",children:i})]},String(t))},mt=(e,t="")=>{switch(e){case"tel":return u("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${ht(t)}`,children:t});case"email":return u("a",{className:"text-xl-light text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return u("span",{children:t})}},ht=e=>e.replaceAll(/\D/g,""),ut=g((({className:e="",index:t,text:n,...r})=>{const i=ae(),{href:a,target:l,onClick:s}=i(r);return u("a",{className:`text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:a,target:l,onClick:s,children:n||`Документ ${t}`})})),pt=g((({title:e,links:t,className:n=""})=>p("div",{className:n,children:[u("span",{className:"text-primary-text text-s font-medium",children:e}),t?.length?u("div",{className:"flex flex-col gap-2 pt-3",children:t.map(((e,t)=>u(ut,{index:t,className:"text-s",...e},String(t))))}):null]}))),gt=[{origins:["t.me","telegram.org"],iconMapped:{icon:"TelegramIcon"},label:"Телеграм"},{origins:["vk.com"],iconMapped:{icon:"VKIcon"},label:"ВКонтакте"},{origins:["ok.ru"],iconMapped:{icon:"OkIcon"},label:"Одноклассники"},{origins:["apps.apple.com"],iconMapped:{icon:"AppleIcon"},label:"App Store"},{origins:["play.google.com"],iconMapped:{icon:"PlayMarketIcon"},label:"Google Play"},{origins:["youtube.com"],iconMapped:{icon:"YoutubeIcon"},label:"Youtube"}],bt={default:"w-14 h-14",small:"w-12 h-12"},xt=g((({iconVersion:e="color",buttonSize:t="default",rounded:n=!1,icon:r,...i})=>{const{href:a,version:l}=i,{iconMapped:s,label:o}=gt.find((({origins:e})=>e.some((e=>a?.includes(e)))))||{},c=r??s,d=c?{...Ue(c),iconVersion:e}:void 0;return u(be,{className:x("group/media flex items-center justify-center box-border",bt[t],n?"rounded-full":"rounded-md","border border-solid hover:border-transparent","group-data-primary:border-main-divider","hover:bg-primary-main hover:text-black","group-data-secondary:bg-white border-main-divider group-data-secondary:hover:bg-secondary-hover","group-data-gray:border-green",bt[t]),"aria-label":o,target:"_blank",rel:"noopener noreferrer",version:l,...i,children:d?u(Ie,{image:d,imageClassName:"group-hover/media:text-white",width:"24",height:"24",asSVG:!0}):null})})),ft=g((({className:e="",media:t})=>u("div",{className:`flex gap-2 items-start justify-start pt-6 pb-6 ${e}`,children:t?.map(((e,t)=>u(xt,{...e},String(t))))}))),Nt=g((({className:e="",index:t,...n})=>{const r=ae(),{href:i,target:a,text:l,onClick:s}=r(n);return u("a",{className:`text-xs-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${e}`,href:i,target:a,onClick:s,children:l||`Документ ${t}`})})),yt=g((({className:e="",links:t})=>p("div",{className:e,children:[u("div",{className:"py-6",children:u("span",{className:"text-xs-light text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?u("div",{className:"flex flex-col justify-start items-start gap-2",children:t.map(((e,t)=>u(Nt,{index:t,...e},String(t))))}):null]}))),vt=g((({className:e="",...t})=>{const n=t.options?.page?.fallback,r=Fe(c.SITEMAP||"sitemap",n),{documents:i,relatedEnterprises:a,contacts:l,socialMedia:s,horizontalNavigationTitle:o}=Fe(c.FOOTER||"footer",n);return p(A,{tag:"footer",className:`px-4 py-[26px] ${e}`,...t,children:[u(ct,{className:"overflow-hidden",items:l,hasButton:!0}),u("div",{className:"m-0 p-0",children:r.topItems?.map(((e,t)=>u(lt,{label:e?.text,children:u(Xe,{documents:e.items})},String(t))))}),u("div",{children:r?.dispositions?.map(wt)}),u(tt,{title:"Мобильное приложение",description:"Загрузить для IOS и Android",...t}),u(Je,{className:"grow"}),u(ft,{className:"pb-4",media:s}),u(pt,{title:o,links:a}),u(yt,{links:i})]})})),wt=(e,t)=>{const{icon:n,href:r,text:i}=e;return p(be,{version:"link",href:r,className:"flex text-s mb-4 w-6",children:[n?u(Ie,{className:"pr-1",image:Ue(n),width:"24",height:"24",asSVG:!0}):null,u("span",{className:"pl-2.5 font-medium text-primary-text",children:i})]},`footer-${t}`)},kt=e=>({href:t})=>Z(q(t)?e.href:e.pathname).startsWith(Z(t)),St=g((({className:e="",active:t,dataItemName:n,children:r,...i})=>{const a=ae(),{href:l,target:s,text:o,onClick:c}=a(i);return p("a",{className:x("relative inline-block bg-transparent text-center no-underline",e),href:l,target:s,"data-item-name":n,onClick:c,children:[u("span",{className:Tt(t),children:o||r}),t?u("div",{className:"absolute left-0 -bottom-3 w-full h-0.5 bg-primary-main group-data-transparent:bg-transparent"}):null]})})),Tt=(e=!1)=>x("font-sans text-s",e?"text-primary-main":"text-secondary-text hover:text-primary-main","group-data-transparent:text-white group-data-transparent:hover:text-primary-hover"),Ct=864e5;function _t(e,t,n=globalThis?.localStorage){const r=a((async(...r)=>{const i=`async:${e}`,a=function(e){const{data:t=null,timestamp:n=null}=e?JSON.parse(e):{};return t&&Date.now()-n<Ct?t:void 0}(n.getItem(i));if(a)return a;const l=await t(...r);return n.setItem(i,JSON.stringify({data:l,timestamp:Date.now()})),l}),[e,t]);return ze(e,r)}const $t=()=>{const e=globalThis.localStorage?.getItem("location");try{return e?JSON.parse(e):null}catch(e){return null}},It=g((({burgerSubMenu:e,onClick:t,defaultLocation:n="",children:l})=>{const[s]=function(e){const t=$t(),[n,l]=r(t?.region??{name:e}),{data:s}=_t("/api/v1/region",He);return i((()=>{l(t?.region&&t?.manual?t.region:s||{name:e})}),[s]),[n,a((e=>{globalThis.localStorage?.setItem("location",JSON.stringify({manual:!0,region:e})),l(e)}),[l])]}(n);return p("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20",children:[u("button",{className:"absolute top-4 right-4 border-none bg-transparent cursor-pointer",onClick:t,children:u(Ie,{image:{icon:"CloseIcon"},width:"24",height:"24",asSVG:!0})}),p("button",{className:"flex items-center text-s p-0 mb-4 bg-transparent cursor-pointer",children:[u(Ie,{image:{icon:"GeolocationIcon"},width:"20",height:"20",className:"text-primary-main box-border mr-2",asSVG:!0}),u(at,{color:"text-secondary-text",children:s.name})]}),l,u("div",{className:"mb-7",children:e?.map(At)}),u(Je,{className:"grow"})]})})),At=(e,t)=>{const{icon:n,href:r,text:i}=e;return p("a",{href:r,className:"flex text-s mb-4 hover:text-primary-main",children:[n?u(Ie,{className:"text-primary-main pr-1",image:n,width:"24",height:"24",asSVG:!0}):null,u("span",{className:"font-medium pl-0.5",children:i})]},`headerSubMenu-${t}`)},jt=g((({onClick:e,bgColor:t,logo:n})=>p("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-12",children:[p("div",{className:"flex items-center",children:[u("button",{className:"pl-0 pr-4 border-0 bg-transparent cursor-pointer",onClick:e,"aria-label":"Открыть меню",children:u(Ie,{image:{icon:"BurgerIcon",iconVersion:"bg-white"===t?"black":"white"},className:"text-primary-text w-6 h-6",width:"24",height:"24",asSVG:!0})}),u(et,{className:"mr-8",bgColor:t,logo:n})]}),u("button",{className:"text-primary-main group-data-transparent:text-white group-data-transparent:hover:text-primary-hover text-s border-0 bg-transparent",children:"Войти"})]}))),Rt={"bg-white":"primary",transparent:"transparent"},Dt=g((({bgColor:e="bg-white",version:t=Rt[e],...n})=>{const i=ie(),l=n.options?.page?.fallback,{topItems:s,dispositions:o,defaultLocation:d,logo:m}=Fe(c.SITEMAP||"sitemap",l),h=s?.find((e=>kt(c.BASE_PATH?{pathname:c.BASE_PATH}:e))(i)),g=h?.items,b=(e=>(t=[])=>{const n=t?.filter(kt(e));return n?.length?J((e=>e.href?.length||0))(n):void 0})(i)(g),[x,f]=r(!1),N=a((()=>f((e=>!e))),[]);return p(A,{tag:"header",version:t,...n,children:[p("div",{className:"container px-4 py-0 box-border",children:[u(jt,{onClick:N,bgColor:e,logo:m}),u("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-12",children:u("div",{className:"flex no-scrollbar horizontal-list h-full items-center",children:g?.map(((e,t)=>u(St,{className:"mr-8 whitespace-nowrap text-s",active:e===b,...e},String(t))))})})]}),x?u(It,{onClick:N,burgerSubMenu:o,defaultLocation:d,children:u("div",{className:"list-none m-0 p-0",children:s?.map(((e,t)=>u(lt,{label:e.text,children:u(Xe,{documents:e.items})},String(t))))})}):null]})})),Mt={XXL:{wrapper:"gap-[18px]",title:{headingType:"h0",as:"h1"},descriptionSize:"text-h5"},XL:{wrapper:"gap-4",title:{headingType:"h1",as:"h1"},descriptionSize:"text-xl-light"},L:{wrapper:"gap-4",title:{headingType:"h2",as:"h2"},descriptionSize:"text-xl-light"},M:{wrapper:"gap-3",title:{headingType:"h3",as:"h3"},descriptionSize:"text-xl-light"},S:{wrapper:"gap-2",title:{headingType:"h4",as:"h4"},descriptionSize:"text-xl-light"},XS:{wrapper:"gap-2",title:{headingType:"h5",as:"h5"},descriptionSize:"text-l-light"}},Lt=g((({className:e,title:t,description:n,headlineVersion:r="XL",align:i="text-center",as:a,isPadding:l=!0,...s})=>{const o=Mt[r];return p(A,{className:x("flex flex-col group-data-secondary:bg-primary-main group-data-secondary:text-white",l?"p-12":"",o.wrapper,e),...s,children:[t?u(R,{className:x("whitespace-pre-wrap",i),...o?.title,as:a||o?.title.as,title:t}):null,n?u(D,{color:"group-data-secondary:text-white/80",size:o.descriptionSize,align:i,children:n}):null]})})),Vt=g((({className:e,iconClassName:t,textClassName:n,suffixClassName:r,doc:i,icon:a})=>{const{text:l,fileSize:s,...o}=i;return p("a",{className:e,role:"link",...o,children:[a?u(Ie,{className:t,image:Ue(a),width:"24px",height:"24px",asSVG:!0}):null,l?p("span",{className:n,children:[l,u("span",{className:r,children:o?.href&&Pt(Ot(o.href),s)})]}):null]})})),Pt=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),Ot=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},Bt=g((({className:e="",doc:t,icon:n})=>u(Vt,{className:`flex h-full box-border ${e}`,iconClassName:"mr-3 min-w-6 min-h-6",doc:t,icon:n}))),zt=g((({hasBorder:e=!0,documents:t,icon:n})=>u(K,{className:"text-s text-primary-main mt-5",children:t?.length?t.map(((t,r)=>u(Bt,{className:e?"rounded-md border-gray border border-solid p-4":"",doc:t,icon:n},String(r)))):null}))),Et=g((({hasBorder:e=!0,documents:t,icon:n})=>u("div",{className:"text-s text-primary-main flex flex-col mt-5 "+(e?"gap-3.5":"gap-2"),role:"list",children:t?.length?t.map(((t,r)=>u("div",{role:"listitem",children:u(Bt,{className:e?"rounded-md border-gray border border-solid p-4":"",doc:t,icon:n})},String(r)))):null}))),Ht=g((({className:e="",title:t,description:n,icon:r={icon:"DocIconMonoColor"},documents:i,orientation:a="vertical",hasBorder:l=!0,align:s,...o})=>p(A,{className:x("py-6 px-4 overflow-x-hidden",e),...o,children:[u(Lt,{className:"!p-0 "+(n?"gap-2":"gap-5"),title:t,description:n,align:s,headlineVersion:"M",as:"h2"}),u("vertical"===a?Et:zt,{hasBorder:l,documents:i,icon:r})]}))),Ft=e=>{const t="col-span-",n=e?.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function Gt(e=""){const t=Ft(e);return t<=4?"S":t<=8?"M":"L"}function Jt(e=""){const t=Ft(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function Ut(e=""){const t=Ft(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const Xt=g((({className:e,title:t,description:n="Блок в разработке...",...r})=>p(A,{className:x("p-9 box-border",e,Ut(e),Jt(e)),...r,children:[u(Lt,{className:"!p-0 max-w-[600px]",title:t,description:n,headlineVersion:Gt(e)}),u("figure",{className:"m-0 min-w-[80%]",children:Wt()})]}))),Wt=(e=3)=>Kt(100,e).map((e=>Math.floor(e))).map(Yt),Yt=(e,t)=>u("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),Kt=(e,t)=>[e].concat(t>0?Kt(e/1.618,t-1):[]),qt=(e,{className:t="",buttonClassName:n,isVertical:r}={})=>e?.length&&e.some((e=>e?.text))?u("div",{className:x("flex",r?"flex-col gap-2":"gap-4",t),children:e.map(Qt(n))}):null,Qt=(e="")=>(t,n)=>{const{text:r,icon:i,iconRight:a,version:l,...s}=t||{},o="secondary"===l?"color":"white";return r?u(be,{className:e,appendLeft:Zt({...i,iconVersion:o}),appendRight:Zt({...a,iconVersion:o}),version:l,text:r,...s},n?String(n):""):null},Zt=e=>e?.icon||e?.src?u(Ie,{image:e,width:String(e?.size?.width||24),height:String(24),asSVG:!0}):null,en={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"},tn=g((({className:e="",isDotted:t=!0,children:n,size:r="M"})=>p("div",{className:`font-sans flex items-baseline ${e}`,role:"listitem",children:[t?u("div",{children:u("div",{className:`rounded-full align-middle inline-block bg-primary-text group-data-secondary:bg-white ${en[r]}`})}):null,u("span",{children:n})]}))),nn={S:"text-l-light",M:"text-h6",L:"text-h5"},rn={S:"ml-2",M:"ml-3",L:"ml-4"},an=g((({className:e="",hasIndent:t,isDotted:n,itemClassName:r="",items:i,listItemSize:a="M"})=>i?.length?u("section",{className:`text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text ${nn[a]} ${t?rn[a]:""} ${e}`,role:"list",children:i.map(((e,t)=>u(tn,{className:r,isDotted:n,size:a,children:e},String(t))))}):null)),ln=g((({className:e="",title:t="",buttons:n,image:r,children:i})=>p("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,children:[t,p("div",{className:"flex grow w-full justify-between",children:[p("div",{className:"flex flex-col justify-between w-full",children:[u("div",{className:"h-full",children:i}),n?u("div",{className:"mt-auto pt-8",children:n}):null]}),r]})]}))),sn=g((e=>{const{className:t="",icon:n,label:r,description:i,version:a="primary",benefitsVersion:l="normal"}=e,s="white"===l?"secondary":"primary";return p("div",{className:`flex gap-5 ${i?"items-start":"items-center"} ${t}`,children:[n?u("div",{className:on(a,l),children:u(Ie,{className:"w-6 h-6",image:Ue(n,s),asSVG:!0})}):null,p("div",{className:"gap-0.5",children:[r?u("div",{className:"text-h6 text-primary-text group-data-secondary:text-white",children:r}):null,i?u("div",{className:"text-m-light text-secondary-text group-data-secondary:text-white",children:i}):null]})]})}));function on(e,t){let n="bg-primary-main text-black";return"secondary"===e?n="bg-white/30 text-black":"normal"===t&&(n="bg-secondary-light text-primary-main"),`w-12 h-12 min-w-12 rounded-full p-2.5 box-border flex items-center justify-center ${n}`}const cn=(e="primary",t="normal")=>({icon:n,label:r,description:i},a)=>u(sn,{icon:n,label:r,description:i,version:e,benefitsVersion:t},String(a)),dn=g((({className:e="",headlineVersion:t="L",benefits:n,benefitsVersion:r="normal",buttons:i,image:a,items:l,isDotted:s=!0,label:o,title:c,description:d,...m})=>p(A,{className:`w-full ${e}`,...m,children:[p("div",{children:[o?hn(o):null,u(Lt,{className:"!p-0 max-w-[600px]",title:c,description:d,headlineVersion:t,align:"text-left"}),p(ln,{buttons:qt(i,{className:"mt-5",isVertical:!0}),children:[n?.filter((e=>e.label))?.length?u("div",{className:"mt-3",children:n.map(cn("primary",r))}):null,l?.length?u(an,{className:"mt-3 text-m",items:l,isDotted:s}):null]})]}),mn(a)]})));function mn(e){return e?.src?u(Ie,{imageClassName:"mt-5 mx-auto block",image:{className:"block",...e}}):null}const hn=e=>u("div",{className:"w-fit px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid border-secondary-hover",children:u(at,{color:"text-primary-main group-data-secondary:text-white/80",children:e})}),un=g((e=>{const{className:t="",...n}=e;return u(A,{className:`px-4 py-6 ${t}`,...n,children:u(dn,{...e})})})),pn=g((e=>{const{__html:t=""}=e;return u("div",{className:"md-container",dangerouslySetInnerHTML:{__html:t}})}));const gn={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-12 w-12 min-w-12 min-h-12"},bn={normal:"min-h-[70px]",small:"min-h-12"},xn={description:"text-white/80 text-l-light group-data-primary:text-secondary-text",iconText:"text-white group-data-primary:text-secondary-text",iconBackground:"bg-white/30 group-data-primary:bg-main-divider",iconConnector:"bg-white group-data-primary:bg-secondary-light",dot:"bg-white/80 group-data-primary:bg-secondary-text"},fn=g((({className:e="",title:t,description:n,showLines:r=!0,steps:i,size:a="normal",version:l="primary",...s})=>p(A,{className:`box-border px-4 py-6 flex flex-col ${e}`,version:l,...s,children:[t?u(R,{headingType:"h3",className:"text-center",title:t}):null,n?u("p",{className:`text-m-light text-center ${xn.description} ${t?"mt-2":""}`,children:n}):null,i?.length?u("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:u("div",{className:"flex flex-col justify-between gap-x-[101px]",children:i.map(Nn(a,l,r))})}):null]}))),Nn=(e,t,n)=>(r,i,a)=>{const{type:l}=r;if("default"!==l&&"rte"!==l)return null;switch(l){case"default":return yn(e,t,n)(r,i,a);case"rte":return u(pn,{__html:r.__html});default:!function(e){throw new Error(e)}(r)}},yn=(e,t,n)=>(r,i,a)=>{const l=a.length-1===i,s="normal"===e?"ml-[34px]":"ml-6";return u("div",{children:p("div",{className:"flex flex-row text-center relative",children:[p("div",{className:"overflow-hidden flex-shrink-0",children:[vn(e,t)(r,i),l?null:u("div",{className:`min-h-8 h-full w-0.5 ${n?xn.iconConnector:""} ${s}`})]}),p("div",{className:`flex flex-col justify-center h-fit ${bn[e]}`,children:[r.label?u("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:r.label}):null,r.description?u("div",{className:`text-s ${xn.description} text-left`,children:r.description}):null]})]})},String(i))},vn=(e,t)=>(n,r)=>{const i="normal"===e?"38":"27";return u("div",{className:`${gn[e]} ${xn.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:u("span",{className:`font-medium flex self-center ${"normal"===e?"text-m-title":"text-m-title-xs"}`,children:(a=n?.icon,Boolean(a?.icon||a?.src)?u(Ie,{image:Ue({...n.icon},t),width:i,height:i,asSVG:!0}):u("span",{children:r+1}))})});var a},wn={Buttons:({buttons:e})=>qt(e,{className:"mt-3",buttonClassName:"w-12 h-12"}),Img:({image:e})=>e?.src?u(Ie,{image:{...e,className:"m-0"}}):null,List:({isDotted:e,...t})=>u(an,{className:"flex flex-col justify-between items-start text-m",isDotted:e??!0,...t}),LabelDescription:({label:e,description:t})=>p("div",{children:[e?u("div",{className:"text-xl font-medium m-0 "+(t?"mb-1":""),children:e}):null,t?u("div",{className:"text-s text-secondary-text",children:t}):null]})},kn=g((({title:e,icon:t})=>p("div",{className:"flex gap-2.5 mb-2",children:[e?u(R,{headingType:"h3",className:"font-medium",title:e}):null,t?u(Ie,{className:"ml-auto max-w-6 max-h-6",image:t,width:"24px",height:"24px"}):null]}))),Sn=g((({tile:e,...t})=>p("div",{className:"rounded-md border-gray h-full box-border border p-4",children:[u(kn,{...e?.header}),e?.data?.length?e.data.map(((e,n)=>p("div",{children:[n>0?u("div",{className:"h-5"}):null,Tn(e,t)]},String(n)))):null]})));function Tn(e,t){if(!e||!e.tableCellType||!(e.tableCellType in wn))return null;const n=wn[e.tableCellType];return u(n,{displayTable:()=>null,isVisible:!0,...e,...t})}const Cn=g((({tiles:e,...t})=>e?.length?u(K,{...t,children:e.map(((e,n)=>u(Sn,{tile:e,...t},String(n))))}):null)),_n=g((({tiles:e,...t})=>e?.length?u("div",{className:"flex flex-col gap-3.5",children:e.map(((e,n)=>u(Sn,{tile:e,...t},String(n))))}):null)),$n=g((({className:e,title:t,description:n,tariffsColumns:r,rowHeaders:i,orientation:a="vertical",...l})=>{const s=In(r),o=An(i,s);return p("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[t?u(R,{headingType:"h2",className:`text-center ${n?"mb-2":"mb-5"}`,title:t}):null,n?u("div",{className:"mb-5 text-center text-m",children:n}):null,u("vertical"===a?_n:Cn,{tiles:o,...l})]})})),In=e=>e?.[0]?.data?e[0].data:[],An=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),jn=g((({title:e,description:t,iconVersion:n,image:r,className:i="",items:a,isDotted:l=!0})=>p("section",{className:`font-sans px-4 py-[18px] flex flex-col bg-white group-data-secondary:bg-primary-main ${i}`,children:["small"===n?u("div",{className:"mb-3",children:u("div",{className:"rounded-full h-4 w-4 text-center text-xs-light bg-primary-main text-white group-data-secondary:bg-white group-data-secondary:text-primary-main",children:"i"})}):null,"big"===n?Rn(r):null,p("div",{className:"py-0.5 text-secondary-text group-data-secondary:text-white",children:[e?u("div",{className:"text-l font-medium mb-1",children:e}):null,t?u("div",{className:"text-s ",children:t}):null,a?.length?u(an,{className:"mt-1 text-m",items:a,isDotted:l}):null]})]})));function Rn(e){return e?.src?u(Ie,{className:"pb-3 mr-auto",image:e}):null}const Dn={XXL:"gap-12",XL:"gap-10",L:"gap-8",M:"gap-4",S:"gap-2",XS:"gap-1","":""},Mn={stretch:"items-stretch",left:"items-start",center:"items-center",right:"items-end"},Ln=g((({className:e="",gap:t="",align:n="stretch",isPadding:r=!1,isInnerPadding:i=!0,version:a="transparent",options:l,...s})=>{const o=i?"":"!p-0";return u(A,{className:x("flex flex-col [&>*]:max-w-full",r?"p-12":"",Dn[t],n&&Mn[n],e),version:a,...s,children:k({...s,options:{...l,className:o}})})}));Ln.childrenTypes=[];const Vn={Accordion:M,ComparisonTable:Pe,Footer:vt,Header:Dt,Headline:Lt,LinkDocs:Ht,LinkList:Xe,MobileAppTile:tt,ProductBlock:un,RollupItem:lt,StepsBlock:fn,TariffsTable:$n,TextBlock:jn,Placeholder:Xt,VerticalLayout:Ln};const Pn=["Header","Footer"],On=([,{target:e}])=>Math.abs(e.getBoundingClientRect().top);function Bn(e=globalThis){const t=s(new Map);i((()=>$.subscribe("intersection",(({block:e,intersection:n})=>{t.current&&t.current.set(e,n)}))),[]),i((()=>{const n=((e,t=600)=>{let n;const r=(...i)=>{r.dispose(),n=setTimeout((()=>{e(...i)}),t)};return r.dispose=()=>{n&&clearTimeout(n)},r})((()=>{!function(e){const t=`#${n=e?.anchor,n?.replace("#","")||""}`;var n;globalThis.location?.hash!==t&&globalThis.history?.replaceState(globalThis.history?.state,"",t)}(globalThis.scrollY>3*globalThis.innerHeight/4?function(e){const t=e.filter((([e])=>!Pn.includes(e.type||""))).filter((([,{intersectionRatio:e}])=>e>.01)),[n]=t.length>0?U(On)(t):[];return n}([...t.current||[]]):void 0)}),100);return e.addEventListener("scroll",n),()=>{n.dispose(),e.removeEventListener("scroll",n)}}),[e])}const zn=h();const En=g((({className:e,onClick:t,ariaLabel:n})=>u("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":n,children:Hn()}))),Hn=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[u("path",{...e,strokeMiterlimit:"10",d:"M21.48 11.95c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1 6.1M7.48 18.35l3.1 2.4c.4.4 1.3.6 1.9.6h3.8c1.2 0 2.5-.9 2.8-2.1l1.24-3.77"}),u("path",{...e,d:"M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z"})]})},Fn=g((({className:e=""})=>{const t=function(e){const[t,n]=r(0);return i((()=>{(async()=>{const[t]=await zn.getLikeCount(e);n(t?.value||0)})()}),[e]),{likeCount:t,like:a((async()=>{n(await zn.like(e))}),[e]),dislike:a((async()=>{n(await zn.dislike(e))}),[e])}}(ie().pathname);return p("div",{className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e}`,children:[u(En,{onClick:re(t.like),ariaLabel:"Поставить отметку «лайк»"}),u(En,{onClick:re(t.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),u("span",{className:"select-none",children:t.likeCount})]})})),Gn=g((e=>{const{className:t="",blocksRegistry:n,blockDecorator:r,data:i={}}=e,{style:a,blocks:l,slots:s,likeControl:o,colorPalette:c="pc"}=i,d={key:"",page:i,blocksRegistry:n,blockDecorator:r,parent:i};return Bn(),p("section",{className:x("relative",a,t),"data-theme":c,children:[s?.header?u("div",{className:"mb-5 shadow-[0_8px_32px_0px_#00000014]",children:w(s?.header,{...d,slotName:"header"})}):null,p("div",{className:"container grid grid-cols-12 gap-1",children:[w(l,d),s?.footer?w(s?.footer,{...d,slotName:"footer"}):null]}),o?u("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:u(Fn,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto"})}):null]})}));Gn.childrenTypes=[],Gn.slots=()=>["header","footer"];e.Blocks=Vn,e.ContentPage=Gn,e.DaDataAPI=function(e=""){return{getFetcherAddress:async function(){if(!("geolocation"in navigator))return null;try{const t=await(async()=>new Promise((e=>navigator.geolocation.getCurrentPosition((({coords:t})=>e(t))))))(),n=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await n.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.LikeAPI=h,e.handlerDecorator=re,e.joinList=function(e){return t=>t.reduce(((t,n,r)=>t.length?t.concat({...e,key:r},n):[n]),[])},e.packageVersion="0.8.27",e.projectSettings=c,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=te,e.useRouter=ie,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UniMobileBlocks={})}(this,(function(e){"use strict";let t;const n=e=>(...n)=>t[e](...n),r=n("useState"),i=n("useEffect"),a=n("useCallback"),l=n("useMemo"),s=n("useRef");const o={PROD_BRANCH:"master"},c=new class{_=o;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||o.PROD_BRANCH}get FORCED_DRAFT_FLOW(){return this._.FORCED_DRAFT_FLOW}get ASSIST_PROJECT_ID(){return this._.ASSIST_PROJECT_ID}get SITEMAP(){return this._.SITEMAP}get FOOTER(){return this._.FOOTER}get CHAT_BOT(){return this._.CHAT_BOT}get CDN(){return d(this._.CDN)}get BASE_PATH(){return d(this._.BASE_PATH)}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},d=e=>e&&!e.endsWith("/")?`${e}/`:e,m="likesToken";function h(){async function e(){try{const e=JSON.parse(globalThis.localStorage?.getItem(m)||"");if(e?.token)return e}catch(e){}try{const e=await fetch("/assist/v1/public/auth",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:t,name:n}=await e.json();return globalThis.localStorage?.setItem(m,JSON.stringify({token:t,name:n})),{token:t,name:n}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...t){if(!t.length)return[];const{token:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n},body:JSON.stringify({node_ids:t})}),{likes:r}=await e.json();return r||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:n,name:r}=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:r},body:JSON.stringify({node_id:t,user_name:r})}),{likes:i}=await e.json();return i||0}catch(e){return console.error(e),0}},dislike:async function(t){if(!t)return 0;const{token:n,name:r}=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:r},body:JSON.stringify({node_id:t,user_name:r})}),{likes:i}=await e.json();return i||0}catch(e){return console.error(e),0}}}}const u=(...e)=>globalThis._uni._jsx(...e),p=(...e)=>globalThis._uni._jsxs(...e),g=e=>{const t=e;return t._tmpl||(t._tmpl=globalThis.__UNI_REACT__?e:b(e)),t._tmpl},b=e=>{function t(t,n){const{children:r,...i}=t||{},a=n?.slots?.default,l=r||a&&a();return e(Object.assign(i,l&&{children:l}),n)}return t.inheritAttrs=!1,t},x=(...e)=>e.flatMap((e=>e)).filter(Boolean).join(" "),f=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),v=[];function N(e,t){const{key:n,blockDecorator:r=f,blocksRegistry:i={},ancestors:a=v,className:l="",extraProps:s={}}=t,{type:o}=e;o&&o in i||console.warn(`No block with "${o}" is registered`);const c=o&&i[o];return r({blockClassName:x("scroll-mt-12",l,e.style||"col-span-12"),block:e,ancestors:a,render:({block:r,blockClassName:i})=>{const{content:a}=r;return c?u(c,{className:i,block:e,options:t,...a,...s},n):null}},n)}const y=[],w=(e,{key:t,ancestors:n=y,slotName:r=null,renderProps:i=N,...a})=>(e||[]).map(((e,l)=>i(e,{...a,key:`${t||e.type}-${l}`,ancestors:a.parent?[...n||y,[a.parent,r]]:n})));function k({children:e,block:t,options:n,renderProps:r}){return e||(t&&n?w(t.blocks,{...n,parent:t,renderProps:r}):null)}class T{subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]=(this.subscribers[e]||[]).concat(t);const n=this.subjectsStateMap[e];return n&&t(n),()=>{this.unsubscribe(e,t)}}unsubscribe(e,t){this.subscribers[e]=this.subscribers[e]?.filter((e=>e!==t))}fire(e,t){e in this.subjectsStateMap&&(this.subjectsStateMap[e]=t),this.subscribers[e]?.forEach((e=>e(t)))}subject(e,t){this.subjectsStateMap[e]=t}}const C=new T;function S(e,{sensitivity:t,rootRef:n}={}){const r=s(null),a=l((()=>({threshold:_(t),root:n?.current})),[t,n?.current]);return i((()=>{if(!r.current)return;const t=new IntersectionObserver(e,a);return t.observe(r.current),()=>{t.disconnect()}}),[e,a]),r}function _(e=0){const t=Math.round(10*e);return new Array(t).fill(0).map(((e,n)=>Math.min(n/t)),1).concat(1)}const I=new T;const $={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white",gray:"bg-main-divider text-primary-text",transparent:"bg-transparent text-primary-text","":""},M=g((({className:e="",version:t="primary",block:n,tag:l="section",role:s,isTheme:o=!0,extraProps:c={},children:d})=>{const m=l,h=function(e){return S(a((t=>{if(!e||!t?.length)return;const n=t[t.length-1];I.fire("intersection",{block:e,intersection:n})}),[e]),{sensitivity:1})}(n),[p,g]=r(!1);return i((()=>C.subscribe("tab",(e=>{g(Boolean(e.label&&n?.labels?.length&&!n.labels.includes(e.label)))}))),[n]),u(m,{className:x(A(Boolean(t&&o)),$[t],p?"hidden":"",e),...t&&o?{"data-ver":t}:{},...n?.anchor?{id:n.anchor,ref:h}:{},role:s,...c,children:d})})),A=e=>e?"group":"",j={h0:"text-m-title",h1:"text-m-title",h2:"text-m-title",h3:"text-h6",h4:"text-m-title-xs",h5:"text-m-title-xs",h6:"text-m-title-xs"},R=g((e=>{const{className:t,headingType:n="h3",title:r,as:i="h3"}=e;return u(i,{className:`font-sans font-medium m-0 ${j[n]} ${t||""}`,children:r})})),P=g((({children:e,...t})=>u("p",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),L=g((({title:e,description:t,className:n="",...r})=>p(M,{className:`py-6 px-4 ${n}`,...r,children:[e?u(R,{headingType:"h3",className:"mb-2 text-center",title:e}):null,t?u("div",{className:"mb-5",children:u(P,{size:"text-m",font:"font-light",align:"text-center",children:t})}):null,u("div",{className:"list-none m-0 p-0",children:k(r)})]})));L.childrenTypes=["Accordion"];const D=e=>({height:"calc(100vh - 242px)",minHeight:`${e||866}px`}),O=g((({className:e="",style:t,idx:n,activeIndex:r,observerOptions:i,children:l,onIntersection:s})=>{const o=S(a((e=>{e.length&&s&&s(n||0,e[e.length-1])}),[s,n]),i);return u("div",{className:`inline-block snap-always box-border ${e}`,style:t,"aria-current":Boolean(n===r),ref:o,children:l})})),V=["min-w-[100%]","min-w-[50%]","min-w-[33.33%]","min-w-[25%]"],B=g((({className:e="",containerRef:t,activeIndex:n,visibleItemCount:r=0,gap:i=0,padding:l=0,listType:o="horizontal-list",snapAlign:c="snap-center",minHeight:d,children:m,onVisibleItemsChange:h,onVisibleIndicesChange:p})=>{const g={sensitivity:1,rootRef:t},b=s([]),f=a(((e,t)=>{const n=[...b.current||[]];n[e]=t,b.current=n,h&&h(n),p&&p(z(n))}),[h,p]),v=r>0?i*Number(r)-1:0,N="vertical-list"===o,y="horizontal-list"===o,w={...y?E(l,v):{},...N?D(d):{},gap:`${i}px`};return u("div",{className:x("box-border overflow-auto no-scrollbar",o,e),style:w,ref:t,children:(k=(e,t)=>u(O,{className:x(c,r?V[r-1]:"",N?"h-full":""),style:y?E(l/4):{},activeIndex:n,idx:t,observerOptions:g,onIntersection:f,children:e},String(t)),e=>null==e?e:Array.isArray(e)?e.map(k):k(e,0))(m)});var k})),E=(e,t=0)=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e+t}px`}),z=e=>e.map(((e,t)=>[e,t])).filter((([e])=>e&&e.intersectionRatio>=.9)).map((([,e])=>e)),F={"horizontal-list":"mx-auto mt-5 w-fit","vertical-list":"absolute flex-col justify-center h-full top-0 left-4"},H={"horizontal-list":"w-6","vertical-list":"h-6"},G=g((({containerRef:e,activeIndex:t,dotCount:n=0,listType:r="horizontal-list",version:i})=>n?u("div",{className:x("flex gap-2",F[r],i?"group":""),...i?{"data-ver":i}:{},children:new Array(n).fill(null).map(((n,i)=>u("div",{className:`cursor-pointer rounded-full transition-width duration-300 bg-primary-main group-data-secondary:bg-white group-data-transparent:bg-white ${i===t?H[r]:"w-2 h-2 opacity-30"}`,role:"button","aria-hidden":!0,onClick:()=>(n=>{n!==t&&e?.current&&e.current.children[n]?.scrollIntoView({behavior:"smooth",block:"nearest"})})(i)},String(i))))}):null)),J=e=>e,U=(e=J)=>t=>t.reduceRight(((t,n)=>e(t)>e(n)?t:n)),X=U(),W=(e=J)=>U((t=>-e(t))),Y=e=>t=>e.scrollWidth/t,K=e=>(t,n)=>{e.scrollBy({left:n*Y(e)(t),behavior:"smooth"})},q=({itemCount:e,isCyclic:t,onVisibleIndicesChange:n})=>{const i=s(null),[l,o]=r([]),c=a((e=>{o((t=>{return(n=t)===(r=e)||Boolean(n&&r&&n?.length===r?.length&&n.every(((e,t)=>e===r[t])))?t:e;var n,r})),n&&n(e)}),[e]),[d,m]=l.length?[W()(l),U()(l)]:[-1,-1],h=d>0,u=m<e-1,p=a((()=>{var n;i.current&&(t&&!h?(n=i.current).scrollTo({left:n.scrollWidth,behavior:"smooth"}):K(i.current)(e,-1))}),[t,e,h]),g=a((()=>{i.current&&(t&&!u?i.current.scrollTo({left:0,behavior:"smooth"}):K(i.current)(e,1))}),[e,t,u]);return[i,{scrollLeft:p,scrollRight:g,canScrollLeft:t||h,canScrollRight:t||u,visibleIndicesRange:[d,m],handleVisibleIndicesChange:c}]},Q=g((({className:e="",gap:t=14,padding:n=16,showDots:r=!0,minHeight:i,children:a,onVisibleIndicesChange:l,listType:s="horizontal-list",version:o})=>{const c=Array.isArray(a)?a.length:0,[d,m]=q({itemCount:c,onVisibleIndicesChange:l}),[h]=m.visibleIndicesRange;return p("div",{className:x(e,"vertical-list"===s?"relative h-full":""),children:[u(B,{containerRef:d,activeIndex:h,visibleItemCount:1,gap:t,padding:n,onVisibleIndicesChange:m.handleVisibleIndicesChange,listType:s,minHeight:i,children:a}),r?u(G,{containerRef:d,activeIndex:h,dotCount:c,listType:s,version:o}):null]})})),Z=e=>Boolean(e?.includes(":")),ee=(e,t)=>Boolean(e&&!Z(e)&&(!t||"_self"===t)),te=e=>(e||"").replace(/\?.*/,"").replace(/\/$/,""),ne=(...e)=>e.filter(Boolean).join("/").replace(/\/+/g,"/");var re=Object.freeze({__proto__:null,isURL:Z,isLocalURL:ee,isHash:e=>Boolean(e?.startsWith("#")),withoutQuery:te,joinPath:ne});const ie=e=>t=>{if(!t||Z(t)||c.CDN&&t.startsWith(c.CDN))return t;const n=t.startsWith("/");return ne(c.BASE_PATH,n?"/":e.pathname?.split("/").slice(0,-1).join("/"),t)},ae=(e,t)=>ae._impl(e,t);function le(){return le._impl()}function se(e=!1){const t=le();return r=>({...r,href:e?r.href:ie(t)(r.href),"aria-label":r.text,onClick:ae(n(r),r)});function n({href:n,target:r,onClick:i}){return a=>{i&&i(a),n&&!e&&ee(n,r)&&(a?.preventDefault(),t.push(n))}}}ae._impl=e=>e,ae.setup=e=>{ae._impl=e},le._impl=()=>({href:globalThis.location?.href||"/",pathname:globalThis.location?.pathname||"/",query:{},push:()=>{},replace:()=>{}}),le.setup=e=>{le._impl=e};const oe={primary:"text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active",secondary:"text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active",white:"text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main",link:"",transparent:"",gray:"text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active","":""},ce="bg-main-divider text-main-disabled",de={primary:ce,secondary:ce,white:ce,link:"",transparent:"",gray:ce,"":""},me="text-center font-sans select-none",he={primary:"group-hover/btn:brightness-0 group-hover/btn:invert",secondary:"group-hover/btn:brightness-0 group-hover/btn:invert",white:"group-hover/btn:brightness-0 group-hover/btn:invert",link:"",transparent:"",gray:"group-hover/btn:brightness-0 group-hover/btn:invert","":""},ue=g((e=>{const{text:t,aboveText:n,appendLeft:r,appendRight:i,version:a="primary"}=e;return p("div",{className:pe(e),children:[r?u("div",{className:he[a],children:r}):null,ge(e)?p("div",{children:[n?u("div",{className:"text-xs-light text-left",children:n}):null,u("div",{className:"text-left "+(n?"text-s -mt-0.5":"text-l"),children:t})]}):null,i?u("div",{className:he[a],children:i}):null]})})),pe=e=>{const{version:t,aboveText:n,rounded:r}=e;if("link"===t)return"";const i="gap-2 "+(n?"py-2.5 px-7":"py-4 px-4");return["group/btn flex items-center justify-center",ge(e)?i:"h-12 w-12",r?"rounded-full":""].join(" ")},ge=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),be=({className:e,rounded:t,version:n})=>["inline-block",me,n?de[n]:"",t?"rounded-full":"rounded-md",e].join(" "),xe=({className:e,rounded:t,version:n})=>[me,"border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border",n?oe[n]:"",t?"rounded-full":"rounded-md",e].join(" "),fe=g((({disabled:e,children:t,...n})=>{const r=se()(n),i=t??u(ue,{...r});return u(e?Ne:ve,{...r,children:i})})),ve=g((({className:e="",href:t,rel:n,target:r,ariaLabel:i,version:a,rounded:l,onClick:s,children:o})=>u("a",{className:xe({className:e,version:a,rounded:l}),href:t,rel:n,target:r,"aria-label":i,role:t?"link":"button",onClick:s,children:o}))),Ne=g((({className:e,ariaLabel:t,version:n,rounded:r,children:i})=>u("div",{role:"button","aria-disabled":"true","aria-label":t,tabIndex:-1,className:be({className:e,rounded:r,version:n}),children:i}))),ye={normal:"",color:"text-primary-main",black:"text-black",white:"text-black"},we=g((({className:e="",imageClassName:t="",name:n="",alt:r=`Иконка ${n}`,title:i=r,iconVersion:a="color",asSVG:l,...s})=>{const o=le(),d=ie(o)(ne(c.CDN,"/icons",`${n}.svg`));return l&&"normal"!==a?u(Te,{className:e,children:p("svg",{className:x(ke(s.width),ye[a],"white"===a?"invert":"",t),...s,"aria-hidden":"true",children:[i?u("title",{children:i}):null,r?u("desc",{children:r}):null,u("use",{href:`${d}#icon`,xlinkHref:`${d}#icon`})]})}):(e.includes("h-")||(s.style={height:`${s.height}px`}),u("img",{className:e,src:d,alt:r,title:i,"aria-hidden":"true",...s}))})),ke=e=>e?"":"w-full h-full",Te=g((({className:e,children:t})=>e?u("div",{className:e,children:t}):t)),Ce=(e,t)=>e?.media&&t?.media?e.media-t.media:0,Se=g((({className:e="",image:t,imageClassName:n="",isMobile:r=!1,pathPrefix:i})=>{const a=le();return p("picture",{className:`${r?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.filter((e=>e?.src)).sort(Ce).map((({src:e,format:n,media:r},l)=>u("source",{srcSet:Ie(a,i)(e),type:$e(n),media:r?`(max-width: ${r}px)`:"",...t.size},`${l}_${e}`))):null,t?.src?_e({...t,src:Ie(a,i)(t.src)},n,r):null]})})),_e=(e,t="",n=!1)=>{const r={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"100%"},i=e.title||"",a=e.alt||e.title,l=n?"m-auto":"m-0";return u("img",{src:e.src,className:`${l} ${t}`,alt:a,title:i,style:r,...e.size})},Ie=(e,t)=>n=>n&&!Z(n)?ie(e)(ne(t,n)):n,$e=e=>e?`image/${String(e)}`:void 0,Me=g((({className:e="",image:t,imageClassName:n="",isMobile:r,pathPrefix:i,...a})=>t?.src||t?.icon?t.icon?u(we,{className:e,imageClassName:n,iconVersion:t?.iconVersion||"normal",name:t.icon,...a}):u(Se,{className:e,imageClassName:n,image:t,isMobile:r,pathPrefix:i}):null)),Ae=g((e=>u(Me,{...e,isMobile:!0}))),je=(e=!1)=>e?"text-white":"",Re=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),Pe=g((({icon:e,image:t,title:n,subtitle:r,isFillGradient:i})=>p("div",{role:"columnheader",children:[e?u(Ae,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}):null,t?.src&&u("div",{className:"mb-3.5",children:u(Ae,{image:t})}),n?u(R,{headingType:"h4",className:je(i),title:n}):null,r?u("div",{className:Re(i),children:r}):null]}))),Le=g((({cell:e,rowHeader:t,isFillGradient:n=!1})=>u("div",{className:"box-border flex flex-col",role:"cell",children:u("div",{className:"h-full border-main-divider border border-t-0 border-x-0",children:e.map(De(n,t))})}))),De=(e,t)=>({label:n,description:r},i)=>p("div",{className:"flex justify-between text-s py-3.5",children:[u("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),p("div",{className:"basis-1/2",children:[n?u("div",{className:"text-right "+(e?"text-white":""),children:n}):null,r?u("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:r}):null]})]},String(i)),Oe=g((({header:e,columnData:t,visibleRowLength:n=0,isFillGradient:r,showRow:i,onToggleColumn:a})=>{const l=t?.slice(0,i?t.length:n),s=r?"secondary":"primary";return p("div",{className:`border border-gray rounded-md p-4 mb-3.5 ${r?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[u(Pe,{...e,isFillGradient:r}),l?.length?l.map((({rowHeader:e,cell:t},n)=>u(Le,{cell:t,rowHeader:e,isFillGradient:r},String(n)))):null,i&&e?.link?u(fe,{href:e.link.href,target:e.link.target,version:s,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}):null,Ve({onToggleColumn:a,isFillGradient:r,showRow:i})]})})),Ve=({onToggleColumn:e,isFillGradient:t,showRow:n})=>u("div",{className:"mt-5",role:"cell",children:u("a",{role:"link",onClick:e,className:"text-s font-medium cursor-pointer "+(t?"text-white/80":"text-primary-main"),children:n?"Скрыть":"Показать описание"})}),Be=g((e=>{const{className:t,title:n}=e;return p("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${t||""}`,children:[n?u(R,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:n}):null,u("div",{role:"table",children:u(Ee,{...e})})]})})),Ee=g((({columns:e=[],rowHeaders:t,isColoredFirstColumn:n,visibleRowLength:i,orientation:l,...s})=>{const[o,c]=r(new Array(e.length).fill(!i)),d=a((e=>{const t=(t,n)=>n===e?!t:t;c((e=>e.map(t)))}),[]),m=a((()=>c((e=>new Array(e.length).fill(!1)))),[]),h=e?.map((({data:e,header:r},a)=>{return u(Oe,{visibleRowLength:i,showRow:o[a],header:r,columnData:(l=e,l?.map(((e,n)=>({cell:e,rowHeader:t?.[n]?.title})))),isFillGradient:0===a&&n,onToggleColumn:()=>d(a),...s},String(a));var l}));return"horizontal"===l?u(Q,{onVisibleIndicesChange:m,children:h}):h})),ze=new Map;function Fe(e,t,{fallback:n}={}){const a=l((()=>He(e)),[e]),[s,o]=r(),[c,d]=r(),m=e=>{o(e),d(void 0)},h=e=>{o(void 0),d(e)};i((()=>{if(!a.every((e=>null===e)))try{const e=t(...a);"then"in e?(e=>{e.then((e=>ze.get(a)||e)).then(m).catch(h)})(e):m(e)}catch(e){h(e)}}),[t,...a]);const u=a[0],p=n&&"string"==typeof u&&n[u];return{data:!s&&p?p:s,error:c,mutate:()=>Promise.resolve(void 0),isValidating:!1}}function He(e){return e?Array.isArray(e)?e:e instanceof Function?He(e()):[e]:[e]}async function Ge(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await n.json()}function Je(e,t={}){const{data:n}=Fe(`/wcms-resources/${e}.json`,Ge,{fallback:t});return n||{}}function Ue(e,...t){return e.map(((e,n)=>[e,...t.map((e=>e[n]))]))}const Xe=e=>t=>{if(e===t)return 1;if(!e||!t)return 0;const{m:n,s1Matches:r,s2Matches:i}=function(e,t){const n=Math.max(0,Math.floor(Math.max(e.length,t.length)/2)-1),r=new Array(e.length),i=new Array(t.length);let a=0;for(let l=0;l<e.length;l++){const s=Math.max(0,l-n),o=Math.min(l+n,t.length-1);for(let n=s;n<=o;n++)r[l]||i[n]||e[l]!==t[n]||(a++,r[l]=!0,i[n]=!0)}return{m:a,s1Matches:r,s2Matches:i}}(e,t);if(0===n)return 0;const a=function(e,t,{s1Matches:n,s2Matches:r}){let i=0;for(let a=0,l=0;a<e.length;a++){if(!n[a])continue;let s=l;for(;s<t.length;s++)if(r[s]){l=s+1;break}e[a]!==t[s]&&i++}return i}(e,t,{s1Matches:r,s2Matches:i}),l=(n/e.length+n/t.length+(n-a/2)/n)/3,s=l>.7?.1*function(e,t){let n=0;for(;e[n]===t[n]&&n<4;)n++;return n}(e,t):0;return l+s*(1-l)};const We=(e,t)=>(n,r)=>{for(const[i,a]of r)n.set(i,e(n.get(i)||t,a));return n},Ye=e=>e.toLowerCase().split(/[^0-9a-zа-я-]+/).filter((e=>e.length>=3&&!/[0-9a-z]/.test(e))),Ke=e=>t=>e.map((([e,n])=>[Xe(t)(e),n])).filter((([e])=>e>=.8)).map((([e,t])=>Qe(t,e))).reduce(We(Math.max,0),new Map),qe=e=>t=>{return Ue(t,t.map((({title:e})=>e)).map((e=>t=>{const n=Ye(t||"");return n.length?((e=[])=>e.reduce(((e,t)=>e+t),0))(e.map((e=>X(n.map(Xe(e)))))):0})(e))).sort((r=([,e])=>e,n=(e,t)=>r(e)-r(t),(e,t)=>-n(e,t))).map((([e])=>e));var n,r},Qe=(e,t)=>new Map(e.map((e=>[e,t]))),Ze=(e=["/"])=>{const[t,n]=r(""),[s,o]=r(!1),c=a((()=>{o(!0)}),[]),d=l((()=>e.map((e=>s?e:null))),[s,...e]),{data:m}=Fe(d,et),[h,u]=r(null);return i((()=>{const e=setTimeout((()=>{m&&u(m.map((e=>t=>{const{corpus:n,dictionary:r}=t||{};if(!(e&&n?.length&&r&&Object.keys(r).length))return[];const i=Ye(e);if(!i.length)return[];const a=Object.entries(r),l=[...i.map(Ke(a)).reduce(We(((e,t)=>e+t),0),new Map).entries()].filter((([,e])=>e>=.799*i.length)).map((([e])=>n[e]));return qe(i)(l)})(t)))}),300);return()=>{clearTimeout(e)}}),[m,t]),[h,{value:t,onChange:n,onFocus:c}]},et=async(...e)=>(await Promise.allSettled(e.map((e=>async function(e,t){try{return e?await Ge(e,t):null}catch(e){console.error(e)}return null}(ne(e,"/","search.index.json")))))).map((e=>"fulfilled"===e.status?e.value:{})),tt=g((({className:e,onClick:t})=>u("button",{className:x("visible peer-placeholder-shown:invisible w-6 h-6 p-1 bg-transparent border-none",e),onClick:t,title:"Закрыть",children:u(Ae,{image:{icon:"CloseIcon"},width:"24",height:"24"})}))),nt=g((({className:e,head:t,children:n,onClose:r})=>{const l=a((e=>{e.preventDefault(),r&&r()}),[r]);return i((()=>{const e=({key:e})=>{"Escape"===e&&r&&r()};return globalThis.document?.addEventListener("keydown",e),()=>{globalThis.document?.removeEventListener("keydown",e)}}),[r]),u("div",{className:x("fixed inset-0 bg-white text-l-light z-50 overflow-x-hidden overflow-y-scroll no-scrollbar",e),role:"dialog",children:p("div",{className:"relative container pb-12 min-h-full",children:[p("div",{className:"sticky bg-white pt-6 top-0",children:[u(tt,{className:"absolute top-3 -right-6",onClick:l}),t]}),n]})})})),rt=g((({className:e,topItems:t})=>{const n=se(!0);return u("div",{className:x("flex items-start justify-between",e),children:t?.map(n).map(it)})})),it=(e,t)=>{const{text:n,items:r,href:i,target:a,onClick:l}=e;return p("div",{className:"flex flex-col gap-3.5 w-1/4",children:[u("a",{className:"leading-5 text-l text-primary-text hover:text-primary-main no-underline",href:i,target:a||"_self",onClick:l,children:n||`Раздел ${t}`}),r?.map(((e,t)=>u(at,{...e,basePath:i,index:t},String(t))))]},String(t))},at=g((({text:e,index:t,basePath:n,...r})=>{const i=!(!c.BASE_PATH||!n)&&!c.BASE_PATH.startsWith(n),a=se(i),{href:l,target:s,onClick:o}=a(r);return u("a",{className:x("text-l-light text-secondary-text hover:text-primary-main no-underline","overflow-x-hidden overflow-ellipsis whitespace-nowrap"),href:i?ne(n,l):l,target:s||"_self",onClick:o,children:e||`Раздел ${t}`})})),lt=g((({className:e,isMobile:t,value:n,autoFocus:r,onChange:i,onFocus:l})=>{const s=a((e=>{i&&i(e.target?.value||"")}),[i]);return p("div",{className:x("font-sans relative",e),role:"form",children:[u("div",{className:"absolute h-full flex items-center pl-4 pointer-events-none",children:u(Ae,{image:{icon:"LoupeIcon"},width:"24",height:"24"})}),u("input",{className:x("h-12 pl-12 w-full text-l text-black outline-none box-border","border border-solid rounded-md border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text",t?"":"h-full"),value:n,type:"text",name:"search-bar-input",placeholder:"Поиск по сайту",autoFocus:r,onChange:s,onFocus:l})]})})),st=g((({className:e,isMobile:t,topItems:n})=>{const s=n?.map((e=>e.href||"/")),[o,c]=Ze(s),{value:d,onChange:m,onFocus:h}=c,g=l((()=>ct(n)(o)),[n,o]);i((()=>function(e){for(const t of e.filter((({items:e})=>e?.length)))console.group(t.text),console.table(t.items,["text","href"]),console.groupEnd()}(g)),[g]);const[b,{setTrue:x,setFalse:f}]=function(e=!1){const[t,n]=r(e),i=a((()=>n(!0)),[]),l=a((()=>n(!1)),[]),s=a((()=>n((e=>!e))),[]);return[t,{setValue:n,setTrue:i,setFalse:l,toggle:s}]}(),v=a((e=>{m(e),ot(e)&&x()}),[m,ot]),N=a((()=>{h(),ot(d)&&x()}),[d,h]);return p("div",{className:e,children:[u(lt,{isMobile:t,value:d,onChange:v,onFocus:N}),t?u(tt,{className:"absolute top-2 right-3",onClick:e=>{e.preventDefault(),m("")}}):null,b?u(nt,{head:u(lt,{className:"my-5",isMobile:t,autoFocus:!0,...c}),onClose:f,children:u(rt,{topItems:g})}):null]})})),ot=e=>e&&e.length>=3,ct=e=>t=>e?.length&&t?.length?Ue(e,t).map((([e,t])=>({...e,items:t?.map((({title:e,uri:t})=>({text:e,href:t})))}))):[];const dt=g((e=>u(st,{...e,isMobile:!0}))),mt=(e,t="primary")=>({...e,iconVersion:e?.iconVersion??("secondary"===t?"white":"color")}),ht=g((({className:e="",documents:t,...n})=>u(M,{className:`mt-2.5 ${e}`,...n,children:u("ul",{className:"flex flex-col text-s text-secondary-text p-0",children:t?.length?ut(t):null})}))),ut=e=>e.map(((e,t)=>{const{text:n,...r}=e;return u("li",{className:"mb-4 list-none",children:u("a",{className:"hover:text-primary-main",role:"link",...r,children:n||null})},`list_item_${String(t)}`)})),pt={"bg-white":"color",transparent:"white"},gt={"bg-white":"text-primary-main",transparent:"text-white"},bt=(e,t,n)=>u(Ae,t?.src?{image:t,className:gt[e],width:n?.width,height:n?.height,pathPrefix:"/wcms-resources/",asSVG:!0}:{image:{icon:t?.icon||"LogoIcon",iconVersion:pt[e]},className:gt[e],width:n?.width,height:n?.height,asSVG:!0}),xt={"bg-white":"text-primary-text",transparent:"text-white"},ft=(e,t,n)=>u("span",{className:`${xt[t]} ml-2.5 font-medium ${n||""}`,children:e||"Россельхозбанк"}),vt=g((({bgColor:e="bg-white",children:t,className:n="",href:r,logo:i,showTitle:a=!0,targetBlank:l})=>p("a",{className:`inline-flex items-center font-sans no-underline ${n}`,href:r||"https://rshb.ru/",target:l?"_blank":"_self","aria-label":i?.title||"Россельхозбанк",children:[bt(e,i?.image,{width:"34",height:"34"}),a?ft(t||i?.title,e,"text-s"):null]}))),Nt=g((({className:e="",title:t="Мобильное приложение",description:n,href:r="#"})=>u("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light font-sans ${e}`,children:r?p("div",{className:"flex",children:[u("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-12 h-12",children:u(vt,{className:"w-8",bgColor:"transparent",showTitle:!0})}),p("a",{href:r,target:"_blank",className:"flex flex-col justify-center pl-3",children:[u("div",{className:"text-s font-medium mb-[3px]",children:t}),u("div",{className:"text-s text-secondary-text",children:n})]})]}):null})));const yt=g((({className:e="",label:t,icon:n,dataTheme:r="",onClick:i})=>p("button",{className:["border border-transparent bg-primary-main font-sans text-white cursor-pointer","hover:bg-primary-hover focus:border-primary-text active:bg-primary-active outline-none","flex justify-center w-full px-0 py-5",e].join(" "),"data-theme":r,onClick:i,children:[u("span",{className:"text-h4 pr-3",children:t}),n?u(Ae,{image:{icon:n,iconVersion:"white"},className:"flex-shrink-0 my-auto",width:"20",height:"20",asSVG:!0}):null]}))),wt=g((({className:e="",isFoldButtonOnTop:t=!1,unfoldedByDefault:n=!1,renderFoldableSection:i,renderFoldButton:l})=>{const[s,o]=r(n),c=a((()=>{o((e=>!e))}),[]),d=i({isUnfolded:s,onToggle:c}),m=l?l({isUnfolded:s,onToggle:c}):null;return p("div",t?{className:e,children:[m,d]}:{className:e,children:[d,m]})})),kt=g((({className:e="",isUnfolded:t,children:n})=>{const r=s(null);return i((()=>{r.current&&(r.current.style.maxHeight=t?`${r.current.scrollHeight}px`:"")}),[t,n?.length]),u("div",{ref:r,className:`transition-max-h duration-300 overflow-hidden ${r.current||!t?"max-h-0":""} ${e}`,children:n})})),Tt=g((({children:e,...t})=>u("span",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),Ct=g((({className:e="",label:t="Развернуть",isExpanded:n,isFoldButtonOnTop:r=!0,version:i="primary",...a})=>{const{bordered:l}=function(e,t){const{content:n}=function(e){return e?.parent||{}}(e);return n||t}(a.options,{});return u(M,{className:x("border-b border-solid border-main-divider w-full",l?"border p-4 rounded mb-4":"border-0 border-b last:border-b-0",e),tag:"div",version:"transparent",...a,children:u(wt,{isFoldButtonOnTop:r,unfoldedByDefault:n,renderFoldableSection:({isUnfolded:e})=>u(kt,{className:"flex flex-wrap group-last:last:pb-0 gap-5 [&>*]:p-0",isUnfolded:e,children:k(a)}),renderFoldButton:({isUnfolded:e,onToggle:n})=>St({version:i,label:t,isUnfolded:e,onToggle:n})})})}));Ct.childrenTypes={exclude:["RollupItem","Accordion","OtherProducts"]};const St=({version:e,label:t,isUnfolded:n,onToggle:r,className:i="",primaryIcon:a})=>{const l=t||(n?"Скрыть":"Развернуть");return"primary"===e?_t({label:l,icon:n?"MinusIcon":"PlusIcon",onToggle:r,className:i,primaryIcon:a}):u(yt,{label:l,icon:n?"ArrowUpIcon":"ArrowDownIcon",onClick:r})},_t=({label:e,icon:t,primaryIcon:n,onToggle:r})=>p("button",{className:"border-none bg-transparent flex justify-between text-left w-full text-primary-text group cursor-pointer py-3.5 px-0",onClick:r,children:[p("div",{className:"flex group-hover:text-primary-main",children:[n?u(Ae,{image:{...mt({...n})},className:"mr-3 flex-shrink-0",width:"24",height:"24",asSVG:!0}):null,u(Tt,{size:"text-m-title-xs",font:"font-medium",children:e})]}),u(Ae,{className:"flex-shrink-0",image:{...mt({icon:t})},width:"24",height:"24",asSVG:!0})]}),It=g((({className:e="",items:t,hasButton:n})=>p("div",{className:e,children:[t?.length?t.map($t):null,n?u(fe,{version:"primary",className:"mb-6 w-full",href:"https://www.rshb.ru/feedback/question/",target:"_blank",ariaLabel:"Обратная связь",text:"Обратная связь"}):null]}))),$t=(e,t)=>{const{type:n,text:r,description:i}=e;return p("div",{className:"mb-4",children:[u("div",{children:Mt(n,r)}),u("div",{className:"mt-1 text-s-light text-secondary-text",children:i})]},String(t))},Mt=(e,t="")=>{switch(e){case"tel":return u("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${At(t)}`,children:t});case"email":return u("a",{className:"text-xl-light text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return u("span",{children:t})}},At=e=>e.replaceAll(/\D/g,""),jt=g((({className:e="",index:t,text:n,...r})=>{const i=se(),{href:a,target:l,onClick:s}=i(r);return u("a",{className:`text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:a,target:l,onClick:s,children:n||`Документ ${t}`})})),Rt=g((({title:e,links:t,className:n=""})=>p("div",{className:n,children:[u("span",{className:"text-primary-text text-s font-medium",children:e}),t?.length?u("div",{className:"flex flex-col gap-2 pt-3",children:t.map(((e,t)=>u(jt,{index:t,className:"text-s",...e},String(t))))}):null]}))),Pt=[{origins:["t.me","telegram.org"],iconMapped:{icon:"TelegramIcon"},label:"Телеграм"},{origins:["vk.com"],iconMapped:{icon:"VKIcon"},label:"ВКонтакте"},{origins:["ok.ru"],iconMapped:{icon:"OkIcon"},label:"Одноклассники"},{origins:["apps.apple.com"],iconMapped:{icon:"AppleIcon"},label:"App Store"},{origins:["play.google.com"],iconMapped:{icon:"PlayMarketIcon"},label:"Google Play"},{origins:["youtube.com"],iconMapped:{icon:"YoutubeIcon"},label:"Youtube"}],Lt={default:"w-14 h-14",small:"w-12 h-12"},Dt=(e,t)=>e?"":`group/media flex items-center justify-center box-border ${Lt[t]}`,Ot=g((({iconVersion:e="color",buttonSize:t="default",rounded:n=!1,icon:r,...i})=>{const{href:a,version:l,text:s,appendLeft:o,appendRight:c,aboveText:d}=i,{iconMapped:m,label:h}=Pt.find((({origins:e})=>e.some((e=>a?.includes(e)))))||{},p=r??m,g=p?{...mt(p),iconVersion:e}:void 0;return u(fe,{className:x(n?"rounded-full":"rounded-md","border border-solid hover:border-transparent","group-data-primary:border-main-divider","hover:bg-primary-main hover:text-black","group-data-secondary:bg-white border-main-divider group-data-secondary:hover:bg-secondary-hover","group-data-gray:border-green",Dt(s,t)),aboveText:d,appendLeft:o,appendRight:c,"aria-label":h,rel:"noopener noreferrer",target:"_blank",text:s,version:l,...i,children:g&&!s?u(Ae,{image:g,imageClassName:"group-hover/media:text-white",width:"24",height:"24",asSVG:!0}):null})})),Vt=g((({className:e="",media:t})=>u("div",{className:`flex gap-2 items-start justify-start pt-6 pb-6 ${e}`,children:t?.map(((e,t)=>u(Ot,{...e},String(t))))}))),Bt=g((({className:e="",index:t,...n})=>{const r=se(),{href:i,target:a,text:l,onClick:s}=r(n);return u("a",{className:`text-xs-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${e}`,href:i,target:a,onClick:s,children:l||`Документ ${t}`})})),Et=g((({className:e="",links:t})=>p("div",{className:e,children:[u("div",{className:"py-6",children:u("span",{className:"text-xs-light text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?u("div",{className:"flex flex-col justify-start items-start gap-2",children:t.map(((e,t)=>u(Bt,{index:t,...e},String(t))))}):null]}))),zt=g((({className:e="",...t})=>{const n=t.options?.page?.fallback,r=Je(c.SITEMAP||"sitemap",n),{documents:i,relatedEnterprises:a,contacts:l,socialMedia:s,horizontalNavigationTitle:o}=Je(c.FOOTER||"footer",n);return p(M,{tag:"footer",className:`px-4 py-[26px] ${e}`,...t,children:[u(It,{className:"overflow-hidden",items:l,hasButton:!0}),u("div",{className:"m-0 p-0",children:r.topItems?.map(((e,t)=>u(Ct,{label:e?.text,children:u(ht,{documents:e.items})},String(t))))}),u("div",{children:r?.dispositions?.map(Ft)}),u(Nt,{title:"Мобильное приложение",description:"Загрузить для IOS и Android",...t}),u(dt,{className:"grow"}),u(Vt,{className:"pb-4",media:s}),u(Rt,{title:o,links:a}),u(Et,{links:i})]})})),Ft=(e,t)=>{const{icon:n,href:r,text:i}=e;return p(fe,{version:"link",href:r,className:"flex text-s mb-4 w-6",children:[n?u(Ae,{className:"pr-1",image:mt(n),width:"24",height:"24",asSVG:!0}):null,u("span",{className:"pl-2.5 font-medium text-primary-text",children:i})]},`footer-${t}`)},Ht=e=>({href:t})=>te(Z(t)?e.href:e.pathname).startsWith(te(t)),Gt=g((({className:e="",active:t,dataItemName:n,children:r,...i})=>{const a=se(),{href:l,target:s,text:o,onClick:c}=a(i);return p("a",{className:x("relative inline-block bg-transparent text-center no-underline",e),href:l,target:s,"data-item-name":n,onClick:c,children:[u("span",{className:Jt(t),children:o||r}),t?u("div",{className:"absolute left-0 -bottom-3 w-full h-0.5 bg-primary-main group-data-transparent:bg-transparent"}):null]})})),Jt=(e=!1)=>x("font-sans text-s",e?"text-primary-main":"text-secondary-text hover:text-primary-main","group-data-transparent:text-white group-data-transparent:hover:text-primary-hover"),Ut=864e5;function Xt(e,t,n=globalThis?.localStorage){const r=a((async(...r)=>{const i=`async:${e}`,a=function(e){const{data:t=null,timestamp:n=null}=e?JSON.parse(e):{};return t&&Date.now()-n<Ut?t:void 0}(n.getItem(i));if(a)return a;const l=await t(...r);return n.setItem(i,JSON.stringify({data:l,timestamp:Date.now()})),l}),[e,t]);return Fe(e,r)}const Wt=()=>{const e=globalThis.localStorage?.getItem("location");try{return e?JSON.parse(e):null}catch(e){return null}},Yt=g((({burgerSubMenu:e,onClick:t,defaultLocation:n="",children:l})=>{const[s]=function(e){const t=Wt(),[n,l]=r(t?.region??{name:e}),{data:s}=Xt("/api/v1/region",Ge);return i((()=>{l(t?.region&&t?.manual?t.region:s||{name:e})}),[s]),[n,a((e=>{globalThis.localStorage?.setItem("location",JSON.stringify({manual:!0,region:e})),l(e)}),[l])]}(n);return p("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20",children:[u("button",{className:"absolute top-4 right-4 border-none bg-transparent cursor-pointer",onClick:t,children:u(Ae,{image:{icon:"CloseIcon"},width:"24",height:"24",asSVG:!0})}),p("button",{className:"flex items-center text-s p-0 mb-4 bg-transparent cursor-pointer",children:[u(Ae,{image:{icon:"GeolocationIcon"},width:"20",height:"20",className:"text-primary-main box-border mr-2",asSVG:!0}),u(Tt,{color:"text-secondary-text",children:s.name})]}),l,u("div",{className:"mb-7",children:e?.map(Kt)}),u(dt,{className:"grow"})]})})),Kt=(e,t)=>{const{icon:n,href:r,text:i}=e;return p("a",{href:r,className:"flex text-s mb-4 hover:text-primary-main",children:[n?u(Ae,{className:"text-primary-main pr-1",image:n,width:"24",height:"24",asSVG:!0}):null,u("span",{className:"font-medium pl-0.5",children:i})]},`headerSubMenu-${t}`)},qt=g((({onClick:e,bgColor:t,logo:n})=>p("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-12",children:[p("div",{className:"flex items-center",children:[u("button",{className:"pl-0 pr-4 border-0 bg-transparent cursor-pointer",onClick:e,"aria-label":"Открыть меню",children:u(Ae,{image:{icon:"BurgerIcon",iconVersion:"bg-white"===t?"black":"white"},className:"text-primary-text w-6 h-6",width:"24",height:"24",asSVG:!0})}),u(vt,{className:"mr-8",bgColor:t,logo:n})]}),u("button",{className:"text-primary-main group-data-transparent:text-white group-data-transparent:hover:text-primary-hover text-s border-0 bg-transparent",children:"Войти"})]}))),Qt={"bg-white":"primary",transparent:"transparent"},Zt=g((({bgColor:e="bg-white",version:t=Qt[e],...n})=>{const i=le(),l=n.options?.page?.fallback,{topItems:s,dispositions:o,defaultLocation:d,logo:m}=Je(c.SITEMAP||"sitemap",l),h=s?.find((e=>Ht(c.BASE_PATH?{pathname:c.BASE_PATH}:e))(i)),g=h?.items,b=(e=>(t=[])=>{const n=t?.filter(Ht(e));return n?.length?U((e=>e.href?.length||0))(n):void 0})(i)(g),[x,f]=r(!1),v=a((()=>f((e=>!e))),[]);return p(M,{tag:"header",version:t,...n,children:[p("div",{className:"container px-4 py-0 box-border",children:[u(qt,{onClick:v,bgColor:e,logo:m}),u("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-12",children:u("div",{className:"flex no-scrollbar horizontal-list h-full items-center",children:g?.map(((e,t)=>u(Gt,{className:"mr-8 whitespace-nowrap text-s",active:e===b,...e},String(t))))})})]}),x?u(Yt,{onClick:v,burgerSubMenu:o,defaultLocation:d,children:u("div",{className:"list-none m-0 p-0",children:s?.map(((e,t)=>u(Ct,{label:e.text,children:u(ht,{documents:e.items})},String(t))))})}):null]})})),en={XXL:{wrapper:"gap-[18px]",title:{headingType:"h0",as:"h1"},descriptionSize:"text-h5"},XL:{wrapper:"gap-4",title:{headingType:"h1",as:"h1"},descriptionSize:"text-xl-light"},L:{wrapper:"gap-4",title:{headingType:"h2",as:"h2"},descriptionSize:"text-xl-light"},M:{wrapper:"gap-3",title:{headingType:"h3",as:"h3"},descriptionSize:"text-xl-light"},S:{wrapper:"gap-2",title:{headingType:"h4",as:"h4"},descriptionSize:"text-xl-light"},XS:{wrapper:"gap-2",title:{headingType:"h5",as:"h5"},descriptionSize:"text-l-light"}},tn=g((({className:e,title:t,description:n,headlineVersion:r="XL",align:i="text-center",as:a,isPadding:l=!0,isTheme:s=!1,version:o="",...c})=>{const d=en[r];return p(M,{className:x("flex flex-col",l?"p-12":"",d.wrapper,e),version:o,isTheme:s,...c,children:[t?u(R,{className:x("whitespace-pre-wrap",i),...d?.title,as:a||d?.title.as,title:t}):null,n?u(P,{color:"group-data-secondary:text-white/80",size:d.descriptionSize,align:i,children:n}):null]})})),nn=g((({className:e,iconClassName:t,textClassName:n,suffixClassName:r,doc:i,icon:a})=>{const{text:l,fileSize:s,...o}=i;return p("a",{className:e,role:"link",...o,children:[a?u(Ae,{className:t,image:mt(a),width:"24px",height:"24px",asSVG:!0}):null,l?p("span",{className:n,children:[l,u("span",{className:r,children:o?.href&&rn(an(o.href),s)})]}):null]})})),rn=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),an=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},ln=g((({className:e="",doc:t,icon:n})=>u(nn,{className:`flex h-full box-border ${e}`,iconClassName:"mr-3 min-w-6 min-h-6",doc:t,icon:n}))),sn=g((({hasBorder:e=!0,documents:t,icon:n})=>u(Q,{className:"text-s text-primary-main mt-5",children:t?.length?t.map(((t,r)=>u(ln,{className:e?"rounded-md border-gray border border-solid p-4":"",doc:t,icon:n},String(r)))):null}))),on=g((({hasBorder:e=!0,documents:t,icon:n})=>u("div",{className:"text-s text-primary-main flex flex-col mt-5 "+(e?"gap-3.5":"gap-2"),role:"list",children:t?.length?t.map(((t,r)=>u("div",{role:"listitem",children:u(ln,{className:e?"rounded-md border-gray border border-solid p-4":"",doc:t,icon:n})},String(r)))):null}))),cn=g((({className:e="",title:t,description:n,icon:r={icon:"DocIconMonoColor"},documents:i,orientation:a="vertical",hasBorder:l=!0,align:s,...o})=>p(M,{className:x("py-6 px-4 overflow-x-hidden",e),...o,children:[u(tn,{className:"!p-0 "+(n?"gap-2":"gap-5"),title:t,description:n,align:s,headlineVersion:"M",as:"h2"}),u("vertical"===a?on:sn,{hasBorder:l,documents:i,icon:r})]}))),dn=e=>{const t="col-span-",n=e?.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function mn(e=""){const t=dn(e);return t<=4?"S":t<=8?"M":"L"}function hn(e=""){const t=dn(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function un(e=""){const t=dn(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const pn=g((({className:e,title:t,description:n="Блок в разработке...",...r})=>p(M,{className:x("p-9 box-border",e,un(e),hn(e)),...r,children:[u(tn,{className:"!p-0 max-w-[600px]",title:t,description:n,headlineVersion:mn(e)}),u("figure",{className:"m-0 min-w-[80%]",children:gn()})]}))),gn=(e=3)=>xn(100,e).map((e=>Math.floor(e))).map(bn),bn=(e,t)=>u("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),xn=(e,t)=>[e].concat(t>0?xn(e/1.618,t-1):[]),fn=(e,{className:t="",buttonClassName:n,isVertical:r}={})=>e?.length&&e.some((e=>e?.text))?u("div",{className:x("flex",r?"flex-col gap-2":"gap-4",t),children:e.map(vn(n))}):null,vn=(e="")=>(t,n)=>{const{text:r,icon:i,iconRight:a,version:l,...s}=t||{},o="secondary"===l?"color":"white";return r?u(fe,{className:e,appendLeft:Nn({...i,iconVersion:o}),appendRight:Nn({...a,iconVersion:o}),version:l,text:r,...s},n?String(n):""):null},Nn=e=>e?.icon||e?.src?u(Ae,{image:e,width:String(e?.size?.width||24),height:String(24),asSVG:!0}):null,yn={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"},wn=g((({className:e="",isDotted:t=!0,children:n,size:r="M"})=>p("div",{className:`font-sans flex items-baseline ${e}`,role:"listitem",children:[t?u("div",{children:u("div",{className:`rounded-full align-middle inline-block bg-primary-text group-data-secondary:bg-white ${yn[r]}`})}):null,u("span",{children:n})]}))),kn={S:"text-l-light",M:"text-h6",L:"text-h5"},Tn={S:"ml-2",M:"ml-3",L:"ml-4"},Cn=g((({className:e="",hasIndent:t,isDotted:n,itemClassName:r="",items:i,listItemSize:a="M"})=>i?.length?u("section",{className:`text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text ${kn[a]} ${t?Tn[a]:""} ${e}`,role:"list",children:i.map(((e,t)=>u(wn,{className:r,isDotted:n,size:a,children:e},String(t))))}):null)),Sn=g((({className:e="",title:t="",buttons:n,image:r,children:i})=>p("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,children:[t,p("div",{className:"flex grow w-full justify-between",children:[p("div",{className:"flex flex-col justify-between w-full",children:[u("div",{className:"h-full",children:i}),n?u("div",{className:"mt-auto pt-8",children:n}):null]}),r]})]}))),_n=g((e=>{const{className:t="",icon:n,label:r,description:i,version:a="primary",benefitsVersion:l="normal"}=e,s="white"===l?"secondary":"primary";return p("div",{className:`flex gap-5 ${i?"items-start":"items-center"} ${t}`,children:[n?u("div",{className:In(a,l),children:u(Ae,{className:"w-6 h-6",image:mt(n,s),asSVG:!0})}):null,p("div",{className:"gap-0.5",children:[r?u("div",{className:"text-h6 text-primary-text group-data-secondary:text-white",children:r}):null,i?u("div",{className:"text-m-light text-secondary-text group-data-secondary:text-white",children:i}):null]})]})}));function In(e,t){let n="bg-primary-main text-black";return"secondary"===e?n="bg-white/30 text-black":"normal"===t&&(n="bg-secondary-light text-primary-main"),`w-12 h-12 min-w-12 rounded-full p-2.5 box-border flex items-center justify-center ${n}`}const $n=(e="primary",t="normal")=>({icon:n,label:r,description:i},a)=>u(_n,{icon:n,label:r,description:i,version:e,benefitsVersion:t},String(a)),Mn=g((({className:e="",headlineVersion:t="L",benefits:n,benefitsVersion:r="normal",buttons:i,image:a,items:l,isDotted:s=!0,label:o,title:c,description:d,...m})=>p(M,{className:`w-full ${e}`,...m,children:[p("div",{children:[o?jn(o):null,u(tn,{className:"!p-0 max-w-[600px]",title:c,description:d,headlineVersion:t,align:"text-left"}),p(Sn,{buttons:fn(i,{className:"mt-5",isVertical:!0}),children:[n?.filter((e=>e.label))?.length?u("div",{className:"mt-3",children:n.map($n("primary",r))}):null,l?.length?u(Cn,{className:"mt-3 text-m",items:l,isDotted:s}):null]})]}),An(a)]})));function An(e){return e?.src?u(Ae,{imageClassName:"mt-5 mx-auto block",image:{className:"block",...e}}):null}const jn=e=>u("div",{className:"w-fit px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid border-secondary-hover",children:u(Tt,{color:"text-primary-main group-data-secondary:text-white/80",children:e})}),Rn=g((e=>{const{className:t="",...n}=e;return u(M,{className:`px-4 py-6 ${t}`,...n,children:u(Mn,{...e})})})),Pn=g((e=>{const{__html:t=""}=e;return u("div",{className:"md-container",dangerouslySetInnerHTML:{__html:t}})}));const Ln={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-12 w-12 min-w-12 min-h-12"},Dn={normal:"min-h-[70px]",small:"min-h-12"},On={description:"text-white/80 text-l-light group-data-primary:text-secondary-text",iconText:"text-white group-data-primary:text-secondary-text",iconBackground:"bg-white/30 group-data-primary:bg-main-divider",iconConnector:"bg-white group-data-primary:bg-secondary-light",dot:"bg-white/80 group-data-primary:bg-secondary-text"},Vn=g((({className:e="",title:t,description:n,showLines:r=!0,steps:i,size:a="normal",version:l="primary",...s})=>p(M,{className:`box-border px-4 py-6 flex flex-col ${e}`,version:l,...s,children:[t?u(R,{headingType:"h3",className:"text-center",title:t}):null,n?u("p",{className:`text-m-light text-center ${On.description} ${t?"mt-2":""}`,children:n}):null,i?.length?u("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:u("div",{className:"flex flex-col justify-between gap-x-[101px]",children:i.map(Bn(a,l,r))})}):null]}))),Bn=(e,t,n)=>(r,i,a)=>{const{type:l}=r;if("default"!==l&&"rte"!==l)return null;switch(l){case"default":return En(e,t,n)(r,i,a);case"rte":return u(Pn,{__html:r.__html});default:!function(e){throw new Error(e)}(r)}},En=(e,t,n)=>(r,i,a)=>{const l=a.length-1===i,s="normal"===e?"ml-[34px]":"ml-6";return u("div",{children:p("div",{className:"flex flex-row text-center relative",children:[p("div",{className:"overflow-hidden flex-shrink-0",children:[zn(e,t)(r,i),l?null:u("div",{className:`min-h-8 h-full w-0.5 ${n?On.iconConnector:""} ${s}`})]}),p("div",{className:`flex flex-col justify-center h-fit ${Dn[e]}`,children:[r.label?u("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:r.label}):null,r.description?u("div",{className:`text-s ${On.description} text-left`,children:r.description}):null]})]})},String(i))},zn=(e,t)=>(n,r)=>{const i="normal"===e?"38":"27";return u("div",{className:`${Ln[e]} ${On.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:u("span",{className:`font-medium flex self-center ${"normal"===e?"text-m-title":"text-m-title-xs"}`,children:(a=n?.icon,Boolean(a?.icon||a?.src)?u(Ae,{image:mt({...n.icon},t),width:i,height:i,asSVG:!0}):u("span",{children:r+1}))})});var a},Fn={Buttons:({buttons:e})=>fn(e,{className:"mt-3",buttonClassName:"w-12 h-12"}),Img:({image:e})=>e?.src?u(Ae,{image:{...e,className:"m-0"}}):null,List:({isDotted:e,...t})=>u(Cn,{className:"flex flex-col justify-between items-start text-m",isDotted:e??!0,...t}),LabelDescription:({label:e,description:t})=>p("div",{children:[e?u("div",{className:"text-xl font-medium m-0 "+(t?"mb-1":""),children:e}):null,t?u("div",{className:"text-s text-secondary-text",children:t}):null]})},Hn=g((({title:e,icon:t})=>p("div",{className:"flex gap-2.5 mb-2",children:[e?u(R,{headingType:"h3",className:"font-medium",title:e}):null,t?u(Ae,{className:"ml-auto max-w-6 max-h-6",image:t,width:"24px",height:"24px"}):null]}))),Gn=g((({tile:e,...t})=>p("div",{className:"rounded-md border-gray h-full box-border border p-4",children:[u(Hn,{...e?.header}),e?.data?.length?e.data.map(((e,n)=>p("div",{children:[n>0?u("div",{className:"h-5"}):null,Jn(e,t)]},String(n)))):null]})));function Jn(e,t){if(!e||!e.tableCellType||!(e.tableCellType in Fn))return null;const n=Fn[e.tableCellType];return u(n,{displayTable:()=>null,isVisible:!0,...e,...t})}const Un=g((({tiles:e,...t})=>e?.length?u(Q,{...t,children:e.map(((e,n)=>u(Gn,{tile:e,...t},String(n))))}):null)),Xn=g((({tiles:e,...t})=>e?.length?u("div",{className:"flex flex-col gap-3.5",children:e.map(((e,n)=>u(Gn,{tile:e,...t},String(n))))}):null)),Wn=g((({className:e,title:t,description:n,tariffsColumns:r,rowHeaders:i,orientation:a="vertical",...l})=>{const s=Yn(r),o=Kn(i,s);return p("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[t?u(R,{headingType:"h2",className:`text-center ${n?"mb-2":"mb-5"}`,title:t}):null,n?u("div",{className:"mb-5 text-center text-m",children:n}):null,u("vertical"===a?Xn:Un,{tiles:o,...l})]})})),Yn=e=>e?.[0]?.data?e[0].data:[],Kn=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),qn=g((({title:e,description:t,iconVersion:n,image:r,className:i="",items:a,isDotted:l=!0})=>p("section",{className:`font-sans px-4 py-[18px] flex flex-col bg-white group-data-secondary:bg-primary-main ${i}`,children:["small"===n?u("div",{className:"mb-3",children:u("div",{className:"rounded-full h-4 w-4 text-center text-xs-light bg-primary-main text-white group-data-secondary:bg-white group-data-secondary:text-primary-main",children:"i"})}):null,"big"===n?Qn(r):null,p("div",{className:"py-0.5 text-secondary-text group-data-secondary:text-white",children:[e?u("div",{className:"text-l font-medium mb-1",children:e}):null,t?u("div",{className:"text-s ",children:t}):null,a?.length?u(Cn,{className:"mt-1 text-m",items:a,isDotted:l}):null]})]})));function Qn(e){return e?.src?u(Ae,{className:"pb-3 mr-auto",image:e}):null}const Zn={XXL:"gap-12",XL:"gap-10",L:"gap-8",M:"gap-4",S:"gap-2",XS:"gap-1","":""},er={stretch:"items-stretch",left:"items-start",center:"items-center",right:"items-end"},tr=g((({className:e="",gap:t="",align:n="stretch",isPadding:r=!1,isInnerPadding:i=!0,version:a="transparent",isTheme:l=!1,options:s,...o})=>{const c=i?"":"!p-0";return u(M,{className:x("flex flex-col [&>*]:max-w-full",r?"p-12":"",Zn[t],n&&er[n],e),version:a,isTheme:l,...o,children:k({...o,options:{...s,className:c}})})}));tr.childrenTypes={exclude:["Accordion","OtherProducts"]};const nr={Accordion:L,ComparisonTable:Be,Footer:zt,Header:Zt,Headline:tn,LinkDocs:cn,LinkList:ht,MobileAppTile:Nt,ProductBlock:Rn,RollupItem:Ct,StepsBlock:Vn,TariffsTable:Wn,TextBlock:qn,Placeholder:pn,VerticalLayout:tr};const rr=["Header","Footer"],ir=([,{target:e}])=>Math.abs(e.getBoundingClientRect().top);function ar(e=globalThis){const t=s(new Map);i((()=>I.subscribe("intersection",(({block:e,intersection:n})=>{t.current&&t.current.set(e,n)}))),[]),i((()=>{const n=((e,t=600)=>{let n;const r=(...i)=>{r.dispose(),n=setTimeout((()=>{e(...i)}),t)};return r.dispose=()=>{n&&clearTimeout(n)},r})((()=>{!function(e){const t=`#${n=e?.anchor,n?.replace("#","")||""}`;var n;globalThis.location?.hash!==t&&globalThis.history?.replaceState(globalThis.history?.state,"",t)}(globalThis.scrollY>3*globalThis.innerHeight/4?function(e){const t=e.filter((([e])=>!rr.includes(e.type||""))).filter((([,{intersectionRatio:e}])=>e>.01)),[n]=t.length>0?W(ir)(t):[];return n}([...t.current||[]]):void 0)}),100);return e.addEventListener("scroll",n),()=>{n.dispose(),e.removeEventListener("scroll",n)}}),[e])}const lr=h();const sr=g((({className:e,onClick:t,ariaLabel:n})=>u("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":n,children:or()}))),or=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[u("path",{...e,strokeMiterlimit:"10",d:"M21.48 11.95c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1 6.1M7.48 18.35l3.1 2.4c.4.4 1.3.6 1.9.6h3.8c1.2 0 2.5-.9 2.8-2.1l1.24-3.77"}),u("path",{...e,d:"M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z"})]})},cr=g((({className:e=""})=>{const t=function(e){const[t,n]=r(0);return i((()=>{(async()=>{const[t]=await lr.getLikeCount(e);n(t?.value||0)})()}),[e]),{likeCount:t,like:a((async()=>{n(await lr.like(e))}),[e]),dislike:a((async()=>{n(await lr.dislike(e))}),[e])}}(le().pathname);return p("div",{className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e}`,children:[u(sr,{onClick:ae(t.like),ariaLabel:"Поставить отметку «лайк»"}),u(sr,{onClick:ae(t.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),u("span",{className:"select-none",children:t.likeCount})]})})),dr=g((e=>{const{className:t="",blocksRegistry:n,blockDecorator:a,data:l={}}=e,{style:s,blocks:o,slots:c,likeControl:d,colorPalette:m="pc"}=l,[h,g]=r(""),b={key:"",page:l,blocksRegistry:n,blockDecorator:a,parent:l};return ar(),i((()=>C.subscribe("setPageOverflowHidden",(e=>{g(e?"overflow-hidden h-screen":"")}))),[]),p("section",{className:x("relative",s,t,h),"data-theme":m,children:[c?.header?u("div",{className:"mb-5 shadow-[0_8px_32px_0px_#00000014]",children:w(c?.header,{...b,slotName:"header"})}):null,p("div",{className:"container grid grid-cols-12 gap-1",children:[w(o,b),c?.footer?w(c?.footer,{...b,slotName:"footer"}):null]}),d?u("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:u(cr,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto"})}):null]})}));dr.childrenTypes=[],dr.slots=()=>["header","footer"];e.Blocks=nr,e.ContentPage=dr,e.DaDataAPI=function(e=""){return{getFetcherAddress:async function(){if(!("geolocation"in navigator))return null;try{const t=await(async()=>new Promise((e=>navigator.geolocation.getCurrentPosition((({coords:t})=>e(t))))))(),n=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await n.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.LikeAPI=h,e.handlerDecorator=ae,e.joinList=function(e){return t=>t.reduce(((t,n,r)=>t.length?t.concat({...e,key:r},n):[n]),[])},e.packageVersion="0.8.29",e.projectSettings=c,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=re,e.useRouter=le,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -7,10 +7,7 @@ import type { ButtonAdditionalProps } from '../../ui-kit/Button/ButtonProps';
7
7
  * @title Кнопка
8
8
  */
9
9
  export interface SubmitButtonProps extends ButtonAdditionalProps {
10
- /**
11
- * @title Текст
12
- * @default "Отправить заявку"
13
- */
10
+ /** @title Текст */
14
11
  text?: string;
15
12
  version?: ButtonVersion;
16
13
  }
@@ -20,7 +17,6 @@ export interface SubmitButtonProps extends ButtonAdditionalProps {
20
17
  export declare type ApplicationFormContent = UniBlockContent & TitleProps & {
21
18
  /**
22
19
  * @title Вид заявки
23
- * @default credit
24
20
  * @enumNames ["Бизнес-карта", "ВЭД", "Депозит", "Кредит", "Эквайринг"]
25
21
  */
26
22
  typeForm?: 'business-card' | 'wed' | 'deposit' | 'credit' | 'acquiring';
@@ -2,12 +2,12 @@ import type { AlignType } from '../../model/AlignType';
2
2
  import type { UniBlockProps } from '../../model/JSXBlock';
3
3
  import type { VNode } from '../../model/VNode';
4
4
  import type { HeadingType } from '../../ui-kit/Heading/HeadingProps';
5
- export interface BaseTileCommonProps extends UniBlockProps {
5
+ import type { ListContent } from '../../ui-kit/List/ListContent';
6
+ export interface BaseTileCommonProps extends UniBlockProps, ListContent {
6
7
  title?: VNode;
7
8
  headingType?: HeadingType;
8
9
  description?: string;
9
10
  image?: VNode;
10
- items?: string[];
11
11
  list?: string;
12
12
  buttons?: VNode;
13
13
  align?: AlignType;
@@ -2,6 +2,7 @@ import type { EmptyOption } from '../../model/EmptyOptionType';
2
2
  import type { LabelProps, TitleProps } from '../../model/HeadlineType';
3
3
  import type { UniBlockContent } from '../../model/JSXBlock';
4
4
  import type { IconProps } from '../../model/Picture';
5
+ import type { ListContent } from '../../ui-kit/List/ListContent';
5
6
  /**
6
7
  * @title Пункты описания
7
8
  */
@@ -14,16 +15,9 @@ export declare type TextBenefitDef = {
14
15
  /**
15
16
  * @title Список
16
17
  */
17
- export declare type ListBenefitDef = {
18
+ export declare type ListBenefitDef = ListContent & {
18
19
  /** @title Буллиты */
19
20
  bullets?: boolean;
20
- /**
21
- * @title Пункты
22
- * @default [
23
- * "Пункт 1"
24
- * ]
25
- */
26
- items?: string[];
27
21
  /** @default list */
28
22
  benefitType?: 'list';
29
23
  };
@@ -33,7 +33,6 @@ export declare type BonusItem = HeadlineCommonProps & {
33
33
  /**
34
34
  * @title Кнопка
35
35
  * @maxItems 1
36
- * @default [{"version" : "secondary", "target": "_self"}]
37
36
  */
38
37
  buttons?: ButtonWithIconProps[];
39
38
  };
@@ -1,5 +1,5 @@
1
1
  import type { AlignType } from '../../model/AlignType';
2
- import type { DescriptionProps, TitleProps } from '../../model/HeadlineType';
2
+ import type { DescriptionProps, SubtitleProps, TitleProps } from '../../model/HeadlineType';
3
3
  import type { UniBlockContent } from '../../model/JSXBlock';
4
4
  import type { IconProps } from '../../model/Picture';
5
5
  /**
@@ -13,18 +13,12 @@ import type { IconProps } from '../../model/Picture';
13
13
  export declare type ColumnsCount = '3' | '4' | '5';
14
14
  /**
15
15
  * @title Бонус и преимущество
16
- * @default {
17
- * "title": "Верхний заголовок",
18
- * "description": "Нижний заголовок",
19
- * }
20
16
  */
21
17
  export declare type BonusBenefit = TitleProps & IconProps & DescriptionProps;
22
18
  /**
23
19
  * @title Блок бонусов и преимуществ
24
20
  */
25
- export declare type BonusBenefitsBlockContent = UniBlockContent & TitleProps & {
26
- /** @title Подзаголовок */
27
- subtitle?: string;
21
+ export declare type BonusBenefitsBlockContent = UniBlockContent & TitleProps & SubtitleProps & {
28
22
  /** @title Список бонусов */
29
23
  bonusBenefits?: BonusBenefit[];
30
24
  columnsCount?: ColumnsCount;
@@ -1,22 +1,15 @@
1
+ import type { ButtonCommonIconProps } from '../../model/Button';
1
2
  import type { TitleProps } from '../../model/HeadlineType';
2
3
  import type { UniBlockContent } from '../../model/JSXBlock';
3
4
  import type { IconProps } from '../../model/Picture';
4
- import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
5
5
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
6
- /** @default {"icon": {"format": "webp", "size": { "width": 24, "height": 24 }}} */
7
6
  export declare type BusinessCardItemProps = IconProps & {
8
7
  /** @title Текст */
9
8
  text?: string;
10
9
  };
11
- export declare type BusinessCardProps = TitleProps & ImageContent & {
10
+ export declare type BusinessCardProps = TitleProps & ImageContent & ButtonCommonIconProps & {
12
11
  /** @title Список */
13
12
  cardItems?: BusinessCardItemProps[];
14
- /**
15
- * @title Кнопка
16
- * @default {"icon": {"format": "webp", "size": { "width": 24, "height": 24 }},
17
- * "iconRight": {"format": "webp", "size": { "width": 24, "height": 24 }}, "text": "Кнопка"}
18
- */
19
- button?: ButtonWithIconProps;
20
13
  };
21
14
  /**
22
15
  * @title Бизнес блок
@@ -3,10 +3,6 @@ import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
3
3
  * @title Блок Кнопка
4
4
  */
5
5
  export interface ButtonBlockContent {
6
- /**
7
- * @title Кнопка
8
- * @default {"icon": {"format": "webp", "size": { "width": 24, "height": 24 }},
9
- * "iconRight": {"format": "webp", "size": { "width": 24, "height": 24 }}}
10
- */
6
+ /** @title Кнопка */
11
7
  button?: ButtonWithIconProps;
12
8
  }
@@ -2,10 +2,8 @@ import type { EmptyOption } from '../../model/EmptyOptionType';
2
2
  import type { Footnote } from '../../model/Footnote';
3
3
  import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
4
4
  import type { IconProps } from '../../model/Picture';
5
- import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
6
- export declare type CommonCalculatorProps = Footnote & {
7
- /** @title Кнопки */
8
- buttons?: ButtonWithIconProps[];
5
+ import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
6
+ export declare type CommonCalculatorProps = Footnote & ButtonContent & {
9
7
  /** @title Адрес справочника */
10
8
  sourceBookDir?: string;
11
9
  };
@@ -10,10 +10,7 @@ export declare type CarouselContent = UniBlockContent & {
10
10
  visibleItemCount?: 0 | 1 | 2 | 3 | 4;
11
11
  /** @title Добавление блюра на стрелках*/
12
12
  isBlur?: boolean;
13
- /**
14
- * @title Добавление отступа на стрелках
15
- * @default true
16
- * */
13
+ /** @title Добавление отступа на стрелках */
17
14
  arrowsPadded?: boolean;
18
15
  /** @title Цикличность */
19
16
  isCyclic?: boolean;
@@ -1,18 +1,10 @@
1
+ import type { ButtonCommonIconProps } from '../../model/Button';
1
2
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
2
3
  import type { UniBlockContent } from '../../model/JSXBlock';
3
4
  import type { SizeVersion } from '../../model/SizeVersion';
4
- import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
5
5
  /**
6
6
  * @title Карточка карусели
7
7
  */
8
- export declare type CarouselCardContent = UniBlockContent & HeadlineCommonProps & {
9
- /**
10
- * @title Кнопка
11
- * @default {
12
- * "icon": { "format": "webp", "size": { "width": 24, "height": 24 } },
13
- * "iconRight" : { "format": "webp", "size": { "width": 24, "height": 24 } }
14
- * }
15
- */
16
- button?: ButtonWithIconProps;
8
+ export declare type CarouselCardContent = UniBlockContent & HeadlineCommonProps & ButtonCommonIconProps & {
17
9
  carouselVersion?: SizeVersion;
18
10
  };
@@ -1,22 +1,14 @@
1
+ import type { ButtonCommonIconProps } from '../../model/Button';
1
2
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
2
3
  import type { UniBlockContent } from '../../model/JSXBlock';
3
4
  import type { ProductColorVersion } from '../../model/ProductColorVersion';
4
- import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
5
5
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
6
6
  /**
7
7
  * @title Карточка каталога
8
8
  */
9
- export declare type CarouselCatalogCardContent = UniBlockContent & HeadlineCommonProps & ImageContent & {
9
+ export declare type CarouselCatalogCardContent = UniBlockContent & HeadlineCommonProps & ImageContent & ButtonCommonIconProps & {
10
10
  /** @title Цена в рублях */
11
11
  price?: number;
12
12
  /** @title Доступные цвета */
13
13
  colors?: ProductColorVersion[];
14
- /**
15
- * @title Кнопка
16
- * @default {
17
- * "icon": { "format": "webp", "size": { "width": 24, "height": 24 } },
18
- * "iconRight" : { "format": "webp", "size": { "width": 24, "height": 24 } }
19
- * }
20
- */
21
- button?: ButtonWithIconProps;
22
14
  };
@@ -1,6 +1,6 @@
1
1
  import type { AdditionalDescriptionProps, HeadlineCommonProps } from '../../model/HeadlineType';
2
2
  import type { UniBlockContent } from '../../model/JSXBlock';
3
- import type { Picture } from '../../model/Picture';
3
+ import type { ImageContent } from '../../ui-kit/Img/ImgProps';
4
4
  /**
5
5
  * @title Количество колонок
6
6
  * @enumNames [
@@ -18,26 +18,8 @@ export interface CardsListItem {
18
18
  /**
19
19
  * @title Карточка галереи инвестиций
20
20
  */
21
- export declare type CarouselInvestmentCardContent = UniBlockContent & HeadlineCommonProps & AdditionalDescriptionProps & {
22
- /** @default 1 */
21
+ export declare type CarouselInvestmentCardContent = UniBlockContent & HeadlineCommonProps & AdditionalDescriptionProps & ImageContent & {
23
22
  columnsMode?: CardColumnsMode;
24
- /**
25
- * @title Список
26
- */
23
+ /** @title Список */
27
24
  cardsList?: CardsListItem[];
28
- /**
29
- * @default {
30
- * "format": "webp",
31
- * "size": {
32
- * "width": 290
33
- * },
34
- * "sources": [{
35
- * "media": 1279,
36
- * "width": 174,
37
- * "format": "webp",
38
- * "alignment": "southeast"
39
- * }]
40
- * }
41
- */
42
- image?: Picture;
43
25
  };
@@ -1,7 +1,8 @@
1
+ import type { BulletsProps } from '../../model/Bullets';
2
+ import type { ButtonCommonIconProps } from '../../model/Button';
1
3
  import type { AdditionalDescriptionProps, HeadlineSmallProps } from '../../model/HeadlineType';
2
4
  import type { UniBlockContent } from '../../model/JSXBlock';
3
- import type { Picture } from '../../model/Picture';
4
- import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
5
+ import type { IconProps } from '../../model/Picture';
5
6
  import type { TextAlign } from '../../ui-kit/Text/TextProps';
6
7
  /**
7
8
  * @title Элемент списка
@@ -13,34 +14,8 @@ export interface ListProps {
13
14
  /**
14
15
  * @title Карточка продуктовой карусели
15
16
  */
16
- export declare type CarouselProductCardContent = UniBlockContent & HeadlineSmallProps & AdditionalDescriptionProps & {
17
- /**
18
- * @default {
19
- * "format": "webp",
20
- * "size": {
21
- * "width": 140
22
- * },
23
- * "sources": [{
24
- * "media": 1279,
25
- * "width": 84,
26
- * "format": "webp",
27
- * "alignment": "center"
28
- * }]
29
- * }
30
- */
31
- icon?: Picture;
32
- /** @title Кнопка */
33
- button?: ButtonWithIconProps;
34
- /**
35
- * @title Буллиты
36
- * @default true
37
- */
38
- isDotted?: boolean;
17
+ export declare type CarouselProductCardContent = UniBlockContent & HeadlineSmallProps & AdditionalDescriptionProps & IconProps & ButtonCommonIconProps & BulletsProps & {
39
18
  /** @title Список */
40
19
  items?: ListProps[];
41
- /**
42
- * @title Выравнивание
43
- * @default text-center
44
- */
45
20
  align?: TextAlign;
46
21
  };
@@ -1,10 +1,11 @@
1
1
  import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
2
2
  import type { UniBlockContent } from '../../model/JSXBlock';
3
3
  import type { IconProps } from '../../model/Picture';
4
+ import type { LinkCommonProps } from '../../model/LinkProps';
4
5
  /**
5
6
  * @title Карточка программ карусели
6
7
  */
7
- export declare type CarouselProgramsCardContent = UniBlockContent & TitleProps & IconProps & {
8
+ export declare type CarouselProgramsCardContent = UniBlockContent & LinkCommonProps & TitleProps & IconProps & {
8
9
  /** @title Список */
9
10
  list?: HeadlineCommonProps[];
10
11
  };
@@ -1,5 +1,5 @@
1
- import type { UniBlockProps } from '../../model/JSXBlock';
2
1
  import type { CarouselRecommendationCardContent } from './CarouselRecommendationCardContent';
2
+ import type { UniBlockProps } from '../../model/JSXBlock';
3
3
  export interface RecommendationCardProps extends CarouselRecommendationCardContent, UniBlockProps {
4
4
  }
5
5
  export declare const CarouselRecommendationCard: import("@redneckz/uni-jsx").UNIComponent<RecommendationCardProps, any, any>;