@redneckz/wildless-cms-uni-blocks 0.6.27 → 0.6.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 (434) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +187 -121
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/Carousel/Carousel.d.ts +5 -0
  5. package/bundle/components/Carousel/CarouselContainer.d.ts +6 -0
  6. package/bundle/components/Carousel/CarouselContent.d.ts +10 -0
  7. package/bundle/components/CarouselCard/CarouselCard.d.ts +7 -0
  8. package/bundle/components/CarouselCard/CarouselCardContent.d.ts +14 -0
  9. package/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +4 -2
  10. package/bundle/components/Header/HeaderContent.d.ts +0 -6
  11. package/bundle/components/OfficeMap/useOfficeMap.d.ts +56 -2
  12. package/bundle/components/Recommendation/RecommendationContent.d.ts +8 -0
  13. package/bundle/components/RollupItem/RollupItem.d.ts +3 -0
  14. package/bundle/components/RollupItem/RollupItemContent.d.ts +12 -0
  15. package/bundle/components/RollupItem/RollupItemProps.d.ts +4 -0
  16. package/bundle/hooks/useCarousel.d.ts +14 -0
  17. package/bundle/icons/IconName.d.ts +4 -2
  18. package/bundle/model/CarouselCardVersion.d.ts +1 -0
  19. package/bundle/services/sitemap/SitemapProps.d.ts +5 -0
  20. package/bundle/{hooks → ui-kit/InnerTable}/useTariffsInnerTableData.d.ts +0 -0
  21. package/bundle/ui-kit/Input/InputProps.d.ts +1 -2
  22. package/bundle/ui-kit/Select/Select.d.ts +3 -3
  23. package/cosmos-static/icons/HuaweiIcon.svg +1 -0
  24. package/dist/components/Blocks.js +7 -1
  25. package/dist/components/Blocks.js.map +1 -1
  26. package/dist/components/Carousel/Carousel.d.ts +5 -0
  27. package/dist/components/Carousel/Carousel.js +28 -0
  28. package/dist/components/Carousel/Carousel.js.map +1 -0
  29. package/dist/components/Carousel/CarouselContainer.d.ts +6 -0
  30. package/dist/components/Carousel/CarouselContainer.js +11 -0
  31. package/dist/components/Carousel/CarouselContainer.js.map +1 -0
  32. package/dist/components/Carousel/CarouselContent.d.ts +10 -0
  33. package/dist/components/Carousel/CarouselContent.js +2 -0
  34. package/dist/components/Carousel/CarouselContent.js.map +1 -0
  35. package/dist/components/CarouselCard/CarouselCard.d.ts +7 -0
  36. package/dist/components/CarouselCard/CarouselCard.js +20 -0
  37. package/dist/components/CarouselCard/CarouselCard.js.map +1 -0
  38. package/dist/components/CarouselCard/CarouselCardContent.d.ts +14 -0
  39. package/dist/components/CarouselCard/CarouselCardContent.js +2 -0
  40. package/dist/components/CarouselCard/CarouselCardContent.js.map +1 -0
  41. package/dist/components/ComparisonTable/ComparisonTableBody.js +6 -6
  42. package/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  43. package/dist/components/ComparisonTable/ComparisonTableRows.d.ts +4 -2
  44. package/dist/components/ComparisonTable/ComparisonTableRows.js +10 -3
  45. package/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  46. package/dist/components/Header/Header.js +2 -2
  47. package/dist/components/Header/Header.js.map +1 -1
  48. package/dist/components/Header/Header.mobile.js +2 -2
  49. package/dist/components/Header/Header.mobile.js.map +1 -1
  50. package/dist/components/Header/HeaderContent.d.ts +0 -6
  51. package/dist/components/Header/HeaderSecondaryMenu.js +1 -1
  52. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  53. package/dist/components/OfficeMap/OfficeMap.js +4 -2
  54. package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  55. package/dist/components/OfficeMap/useOfficeMap.d.ts +56 -2
  56. package/dist/components/OfficeMap/useOfficeMap.js +4 -1
  57. package/dist/components/OfficeMap/useOfficeMap.js.map +1 -1
  58. package/dist/components/Recommendation/RecommendationCard.js +3 -2
  59. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  60. package/dist/components/Recommendation/RecommendationContent.d.ts +8 -0
  61. package/dist/components/RollupItem/RollupItem.d.ts +3 -0
  62. package/dist/components/RollupItem/RollupItem.js +18 -0
  63. package/dist/components/RollupItem/RollupItem.js.map +1 -0
  64. package/dist/components/RollupItem/RollupItemContent.d.ts +12 -0
  65. package/dist/components/RollupItem/RollupItemContent.js +2 -0
  66. package/dist/components/RollupItem/RollupItemContent.js.map +1 -0
  67. package/dist/components/RollupItem/RollupItemProps.d.ts +4 -0
  68. package/dist/components/RollupItem/RollupItemProps.js +2 -0
  69. package/dist/components/RollupItem/RollupItemProps.js.map +1 -0
  70. package/dist/components/TariffsTable/TariffsTable.js +16 -11
  71. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  72. package/dist/components/VerticalLayout/VerticalLayout.js +1 -1
  73. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  74. package/dist/hooks/useCarousel.d.ts +14 -0
  75. package/dist/hooks/useCarousel.js +24 -0
  76. package/dist/hooks/useCarousel.js.map +1 -0
  77. package/dist/icons/IconName.d.ts +4 -2
  78. package/dist/icons/IconName.js +3 -1
  79. package/dist/icons/IconName.js.map +1 -1
  80. package/dist/model/BlurVersion.d.ts +0 -0
  81. package/dist/model/BlurVersion.js +1 -0
  82. package/dist/model/BlurVersion.js.map +1 -0
  83. package/dist/model/CarouselCardVersion.d.ts +1 -0
  84. package/dist/model/CarouselCardVersion.js +2 -0
  85. package/dist/model/CarouselCardVersion.js.map +1 -0
  86. package/dist/services/sitemap/SitemapProps.d.ts +5 -0
  87. package/dist/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  88. package/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  89. package/dist/ui-kit/InnerTable/InnerTable.js +1 -1
  90. package/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
  91. package/dist/{hooks → ui-kit/InnerTable}/useTariffsInnerTableData.d.ts +0 -0
  92. package/dist/{hooks → ui-kit/InnerTable}/useTariffsInnerTableData.js +0 -0
  93. package/dist/ui-kit/InnerTable/useTariffsInnerTableData.js.map +1 -0
  94. package/dist/ui-kit/Input/InputProps.d.ts +1 -2
  95. package/dist/ui-kit/Logo/Logo.js +4 -1
  96. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  97. package/dist/ui-kit/Select/Select.d.ts +3 -3
  98. package/dist/ui-kit/Select/Select.js.map +1 -1
  99. package/lib/common.css +1 -1
  100. package/lib/components/Blocks.js +7 -1
  101. package/lib/components/Blocks.js.map +1 -1
  102. package/lib/components/Carousel/Carousel.d.ts +5 -0
  103. package/lib/components/Carousel/Carousel.fixture.d.ts +7 -0
  104. package/lib/components/Carousel/Carousel.js +26 -0
  105. package/lib/components/Carousel/Carousel.js.map +1 -0
  106. package/lib/components/Carousel/CarouselContainer.d.ts +6 -0
  107. package/lib/components/Carousel/CarouselContainer.js +9 -0
  108. package/lib/components/Carousel/CarouselContainer.js.map +1 -0
  109. package/lib/components/Carousel/CarouselContent.d.ts +10 -0
  110. package/lib/components/Carousel/CarouselContent.js +2 -0
  111. package/lib/components/Carousel/CarouselContent.js.map +1 -0
  112. package/lib/components/CarouselCard/CarouselCard.d.ts +7 -0
  113. package/lib/components/CarouselCard/CarouselCard.fixture.d.ts +11 -0
  114. package/lib/components/CarouselCard/CarouselCard.js +18 -0
  115. package/lib/components/CarouselCard/CarouselCard.js.map +1 -0
  116. package/lib/components/CarouselCard/CarouselCardContent.d.ts +14 -0
  117. package/lib/components/CarouselCard/CarouselCardContent.js +2 -0
  118. package/lib/components/CarouselCard/CarouselCardContent.js.map +1 -0
  119. package/lib/components/ComparisonTable/ComparisonTableBody.js +6 -6
  120. package/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  121. package/lib/components/ComparisonTable/ComparisonTableRows.d.ts +4 -2
  122. package/lib/components/ComparisonTable/ComparisonTableRows.js +10 -3
  123. package/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  124. package/lib/components/Header/Header.js +2 -2
  125. package/lib/components/Header/Header.js.map +1 -1
  126. package/lib/components/Header/Header.mobile.js +2 -2
  127. package/lib/components/Header/Header.mobile.js.map +1 -1
  128. package/lib/components/Header/HeaderContent.d.ts +0 -6
  129. package/lib/components/Header/HeaderSecondaryMenu.js +1 -1
  130. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  131. package/lib/components/OfficeMap/OfficeMap.js +4 -2
  132. package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  133. package/lib/components/OfficeMap/useOfficeMap.d.ts +56 -2
  134. package/lib/components/OfficeMap/useOfficeMap.js +4 -1
  135. package/lib/components/OfficeMap/useOfficeMap.js.map +1 -1
  136. package/lib/components/Recommendation/RecommendationCard.js +3 -2
  137. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  138. package/lib/components/Recommendation/RecommendationContent.d.ts +8 -0
  139. package/lib/components/RollupItem/RollupItem.d.ts +3 -0
  140. package/lib/components/RollupItem/RollupItem.fixture.d.ts +7 -0
  141. package/lib/components/RollupItem/RollupItem.js +16 -0
  142. package/lib/components/RollupItem/RollupItem.js.map +1 -0
  143. package/lib/components/RollupItem/RollupItemContent.d.ts +12 -0
  144. package/lib/components/RollupItem/RollupItemContent.js +2 -0
  145. package/lib/components/RollupItem/RollupItemContent.js.map +1 -0
  146. package/lib/components/RollupItem/RollupItemProps.d.ts +4 -0
  147. package/lib/components/RollupItem/RollupItemProps.js +2 -0
  148. package/lib/components/RollupItem/RollupItemProps.js.map +1 -0
  149. package/lib/components/TariffsTable/TariffsTable.js +16 -11
  150. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  151. package/lib/components/VerticalLayout/VerticalLayout.fixture.d.ts +4 -0
  152. package/lib/components/VerticalLayout/VerticalLayout.js +1 -1
  153. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  154. package/lib/hooks/useCarousel.d.ts +14 -0
  155. package/lib/hooks/useCarousel.js +21 -0
  156. package/lib/hooks/useCarousel.js.map +1 -0
  157. package/lib/icons/IconName.d.ts +4 -2
  158. package/lib/icons/IconName.js +3 -1
  159. package/lib/icons/IconName.js.map +1 -1
  160. package/lib/model/BlurVersion.d.ts +0 -0
  161. package/lib/model/BlurVersion.js +1 -0
  162. package/lib/model/BlurVersion.js.map +1 -0
  163. package/lib/model/CarouselCardVersion.d.ts +1 -0
  164. package/lib/model/CarouselCardVersion.js +2 -0
  165. package/lib/model/CarouselCardVersion.js.map +1 -0
  166. package/lib/services/sitemap/SitemapProps.d.ts +5 -0
  167. package/lib/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  168. package/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  169. package/lib/ui-kit/InnerTable/InnerTable.js +1 -1
  170. package/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
  171. package/lib/{hooks → ui-kit/InnerTable}/useTariffsInnerTableData.d.ts +0 -0
  172. package/lib/{hooks → ui-kit/InnerTable}/useTariffsInnerTableData.js +0 -0
  173. package/lib/ui-kit/InnerTable/useTariffsInnerTableData.js.map +1 -0
  174. package/lib/ui-kit/Input/InputProps.d.ts +1 -2
  175. package/lib/ui-kit/Logo/Logo.js +4 -1
  176. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  177. package/lib/ui-kit/Select/Select.d.ts +3 -3
  178. package/lib/ui-kit/Select/Select.js.map +1 -1
  179. package/mobile/bundle/bundle.umd.js +3 -3
  180. package/mobile/bundle/bundle.umd.min.js +1 -1
  181. package/mobile/bundle/components/Carousel/Carousel.d.ts +5 -0
  182. package/mobile/bundle/components/Carousel/CarouselContainer.d.ts +6 -0
  183. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +10 -0
  184. package/mobile/bundle/components/CarouselCard/CarouselCard.d.ts +7 -0
  185. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +14 -0
  186. package/mobile/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +4 -2
  187. package/mobile/bundle/components/Header/HeaderContent.d.ts +0 -6
  188. package/mobile/bundle/components/OfficeMap/useOfficeMap.d.ts +56 -2
  189. package/mobile/bundle/components/Recommendation/RecommendationContent.d.ts +8 -0
  190. package/mobile/bundle/components/RollupItem/RollupItem.d.ts +3 -0
  191. package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +12 -0
  192. package/mobile/bundle/components/RollupItem/RollupItemProps.d.ts +4 -0
  193. package/mobile/bundle/hooks/useCarousel.d.ts +14 -0
  194. package/mobile/bundle/icons/IconName.d.ts +4 -2
  195. package/mobile/bundle/model/CarouselCardVersion.d.ts +1 -0
  196. package/mobile/bundle/services/sitemap/SitemapProps.d.ts +5 -0
  197. package/mobile/bundle/{hooks → ui-kit/InnerTable}/useTariffsInnerTableData.d.ts +0 -0
  198. package/mobile/bundle/ui-kit/Input/InputProps.d.ts +1 -2
  199. package/mobile/bundle/ui-kit/Select/Select.d.ts +3 -3
  200. package/mobile/dist/components/Carousel/Carousel.d.ts +5 -0
  201. package/mobile/dist/components/Carousel/Carousel.js +28 -0
  202. package/mobile/dist/components/Carousel/Carousel.js.map +1 -0
  203. package/mobile/dist/components/Carousel/CarouselContainer.d.ts +6 -0
  204. package/mobile/dist/components/Carousel/CarouselContainer.js +11 -0
  205. package/mobile/dist/components/Carousel/CarouselContainer.js.map +1 -0
  206. package/mobile/dist/components/Carousel/CarouselContent.d.ts +10 -0
  207. package/mobile/dist/components/Carousel/CarouselContent.js +2 -0
  208. package/mobile/dist/components/Carousel/CarouselContent.js.map +1 -0
  209. package/mobile/dist/components/CarouselCard/CarouselCard.d.ts +7 -0
  210. package/mobile/dist/components/CarouselCard/CarouselCard.js +20 -0
  211. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -0
  212. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +14 -0
  213. package/mobile/dist/components/CarouselCard/CarouselCardContent.js +2 -0
  214. package/mobile/dist/components/CarouselCard/CarouselCardContent.js.map +1 -0
  215. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js +6 -6
  216. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  217. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.d.ts +4 -2
  218. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js +10 -3
  219. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  220. package/mobile/dist/components/Header/Header.js +2 -2
  221. package/mobile/dist/components/Header/Header.js.map +1 -1
  222. package/mobile/dist/components/Header/HeaderContent.d.ts +0 -6
  223. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +1 -1
  224. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  225. package/mobile/dist/components/OfficeMap/OfficeMap.js +4 -2
  226. package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  227. package/mobile/dist/components/OfficeMap/useOfficeMap.d.ts +56 -2
  228. package/mobile/dist/components/OfficeMap/useOfficeMap.js +4 -1
  229. package/mobile/dist/components/OfficeMap/useOfficeMap.js.map +1 -1
  230. package/mobile/dist/components/Recommendation/RecommendationCard.js +3 -2
  231. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  232. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +8 -0
  233. package/mobile/dist/components/RollupItem/RollupItem.d.ts +3 -0
  234. package/mobile/dist/components/RollupItem/RollupItem.js +18 -0
  235. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -0
  236. package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +12 -0
  237. package/mobile/dist/components/RollupItem/RollupItemContent.js +2 -0
  238. package/mobile/dist/components/RollupItem/RollupItemContent.js.map +1 -0
  239. package/mobile/dist/components/RollupItem/RollupItemProps.d.ts +4 -0
  240. package/mobile/dist/components/RollupItem/RollupItemProps.js +2 -0
  241. package/mobile/dist/components/RollupItem/RollupItemProps.js.map +1 -0
  242. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +1 -1
  243. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  244. package/mobile/dist/hooks/useCarousel.d.ts +14 -0
  245. package/mobile/dist/hooks/useCarousel.js +24 -0
  246. package/mobile/dist/hooks/useCarousel.js.map +1 -0
  247. package/mobile/dist/icons/IconName.d.ts +4 -2
  248. package/mobile/dist/icons/IconName.js +3 -1
  249. package/mobile/dist/icons/IconName.js.map +1 -1
  250. package/mobile/dist/model/BlurVersion.d.ts +0 -0
  251. package/mobile/dist/model/BlurVersion.js +1 -0
  252. package/mobile/dist/model/BlurVersion.js.map +1 -0
  253. package/mobile/dist/model/CarouselCardVersion.d.ts +1 -0
  254. package/mobile/dist/model/CarouselCardVersion.js +2 -0
  255. package/mobile/dist/model/CarouselCardVersion.js.map +1 -0
  256. package/mobile/dist/services/sitemap/SitemapProps.d.ts +5 -0
  257. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  258. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  259. package/mobile/dist/ui-kit/InnerTable/InnerTable.js +1 -1
  260. package/mobile/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
  261. package/mobile/dist/{hooks → ui-kit/InnerTable}/useTariffsInnerTableData.d.ts +0 -0
  262. package/mobile/dist/{hooks → ui-kit/InnerTable}/useTariffsInnerTableData.js +0 -0
  263. package/mobile/dist/ui-kit/InnerTable/useTariffsInnerTableData.js.map +1 -0
  264. package/mobile/dist/ui-kit/Input/InputProps.d.ts +1 -2
  265. package/mobile/dist/ui-kit/Select/Select.d.ts +3 -3
  266. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  267. package/mobile/lib/components/Carousel/Carousel.d.ts +5 -0
  268. package/mobile/lib/components/Carousel/Carousel.js +26 -0
  269. package/mobile/lib/components/Carousel/Carousel.js.map +1 -0
  270. package/mobile/lib/components/Carousel/CarouselContainer.d.ts +6 -0
  271. package/mobile/lib/components/Carousel/CarouselContainer.js +9 -0
  272. package/mobile/lib/components/Carousel/CarouselContainer.js.map +1 -0
  273. package/mobile/lib/components/Carousel/CarouselContent.d.ts +10 -0
  274. package/mobile/lib/components/Carousel/CarouselContent.js +2 -0
  275. package/mobile/lib/components/Carousel/CarouselContent.js.map +1 -0
  276. package/mobile/lib/components/CarouselCard/CarouselCard.d.ts +7 -0
  277. package/mobile/lib/components/CarouselCard/CarouselCard.js +18 -0
  278. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -0
  279. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +14 -0
  280. package/mobile/lib/components/CarouselCard/CarouselCardContent.js +2 -0
  281. package/mobile/lib/components/CarouselCard/CarouselCardContent.js.map +1 -0
  282. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js +6 -6
  283. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  284. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.d.ts +4 -2
  285. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js +10 -3
  286. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  287. package/mobile/lib/components/Header/Header.js +2 -2
  288. package/mobile/lib/components/Header/Header.js.map +1 -1
  289. package/mobile/lib/components/Header/HeaderContent.d.ts +0 -6
  290. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +1 -1
  291. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  292. package/mobile/lib/components/OfficeMap/OfficeMap.js +4 -2
  293. package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  294. package/mobile/lib/components/OfficeMap/useOfficeMap.d.ts +56 -2
  295. package/mobile/lib/components/OfficeMap/useOfficeMap.js +4 -1
  296. package/mobile/lib/components/OfficeMap/useOfficeMap.js.map +1 -1
  297. package/mobile/lib/components/Recommendation/RecommendationCard.js +3 -2
  298. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  299. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +8 -0
  300. package/mobile/lib/components/RollupItem/RollupItem.d.ts +3 -0
  301. package/mobile/lib/components/RollupItem/RollupItem.js +16 -0
  302. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -0
  303. package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +12 -0
  304. package/mobile/lib/components/RollupItem/RollupItemContent.js +2 -0
  305. package/mobile/lib/components/RollupItem/RollupItemContent.js.map +1 -0
  306. package/mobile/lib/components/RollupItem/RollupItemProps.d.ts +4 -0
  307. package/mobile/lib/components/RollupItem/RollupItemProps.js +2 -0
  308. package/mobile/lib/components/RollupItem/RollupItemProps.js.map +1 -0
  309. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +1 -1
  310. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  311. package/mobile/lib/hooks/useCarousel.d.ts +14 -0
  312. package/mobile/lib/hooks/useCarousel.js +21 -0
  313. package/mobile/lib/hooks/useCarousel.js.map +1 -0
  314. package/mobile/lib/icons/IconName.d.ts +4 -2
  315. package/mobile/lib/icons/IconName.js +3 -1
  316. package/mobile/lib/icons/IconName.js.map +1 -1
  317. package/mobile/lib/model/BlurVersion.d.ts +0 -0
  318. package/mobile/lib/model/BlurVersion.js +1 -0
  319. package/mobile/lib/model/BlurVersion.js.map +1 -0
  320. package/mobile/lib/model/CarouselCardVersion.d.ts +1 -0
  321. package/mobile/lib/model/CarouselCardVersion.js +2 -0
  322. package/mobile/lib/model/CarouselCardVersion.js.map +1 -0
  323. package/mobile/lib/services/sitemap/SitemapProps.d.ts +5 -0
  324. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js +1 -1
  325. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
  326. package/mobile/lib/ui-kit/InnerTable/InnerTable.js +1 -1
  327. package/mobile/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
  328. package/mobile/lib/{hooks → ui-kit/InnerTable}/useTariffsInnerTableData.d.ts +0 -0
  329. package/mobile/lib/{hooks → ui-kit/InnerTable}/useTariffsInnerTableData.js +0 -0
  330. package/mobile/lib/ui-kit/InnerTable/useTariffsInnerTableData.js.map +1 -0
  331. package/mobile/lib/ui-kit/Input/InputProps.d.ts +1 -2
  332. package/mobile/lib/ui-kit/Select/Select.d.ts +3 -3
  333. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  334. package/mobile/src/components/Carousel/Carousel.example.json +6 -0
  335. package/mobile/src/components/Carousel/Carousel.tsx +70 -0
  336. package/mobile/src/components/Carousel/CarouselContainer.tsx +26 -0
  337. package/mobile/src/components/Carousel/CarouselContent.ts +10 -0
  338. package/mobile/src/components/CarouselCard/CarouselCard.example.json +11 -0
  339. package/mobile/src/components/CarouselCard/CarouselCard.tsx +49 -0
  340. package/mobile/src/components/CarouselCard/CarouselCard.ui.json +1 -0
  341. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +15 -0
  342. package/mobile/src/components/ComparisonTable/ComparisonTableBody.tsx +10 -10
  343. package/mobile/src/components/ComparisonTable/ComparisonTableRows.tsx +20 -6
  344. package/mobile/src/components/Header/Header.tsx +49 -51
  345. package/mobile/src/components/Header/HeaderContent.ts +0 -6
  346. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +1 -1
  347. package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +3 -5
  348. package/mobile/src/components/OfficeMap/OfficeMap.tsx +4 -2
  349. package/mobile/src/components/OfficeMap/useOfficeMap.ts +4 -1
  350. package/mobile/src/components/Recommendation/RecommendationCard.tsx +5 -1
  351. package/mobile/src/components/Recommendation/RecommendationContent.ts +8 -0
  352. package/mobile/src/components/RollupItem/RollupItem.example.json +23 -0
  353. package/mobile/src/components/RollupItem/RollupItem.tsx +86 -0
  354. package/mobile/src/components/RollupItem/RollupItem.ui.json +1 -0
  355. package/mobile/src/components/RollupItem/RollupItemContent.ts +13 -0
  356. package/mobile/src/components/RollupItem/RollupItemProps.ts +4 -0
  357. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
  358. package/mobile/src/hooks/useCarousel.ts +55 -0
  359. package/mobile/src/icons/HuaweiIcon.svg +1 -0
  360. package/mobile/src/icons/IconName.ts +5 -5
  361. package/mobile/src/model/BlurVersion.ts +0 -0
  362. package/mobile/src/model/CarouselCardVersion.ts +1 -0
  363. package/mobile/src/services/sitemap/SitemapProps.ts +5 -0
  364. package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +1 -1
  365. package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
  366. package/mobile/src/{hooks → ui-kit/InnerTable}/useTariffsInnerTableData.ts +0 -0
  367. package/mobile/src/ui-kit/Input/InputProps.ts +1 -2
  368. package/mobile/src/ui-kit/Select/Select.tsx +3 -3
  369. package/package.json +1 -1
  370. package/src/components/Blocks.ts +7 -1
  371. package/src/components/Carousel/Carousel.example.json +6 -0
  372. package/src/components/Carousel/Carousel.fixture.tsx +48 -0
  373. package/src/components/Carousel/Carousel.tsx +70 -0
  374. package/src/components/Carousel/CarouselContainer.tsx +26 -0
  375. package/src/components/Carousel/CarouselContent.ts +10 -0
  376. package/src/components/CarouselCard/CarouselCard.example.json +11 -0
  377. package/src/components/CarouselCard/CarouselCard.fixture.tsx +47 -0
  378. package/src/components/CarouselCard/CarouselCard.tsx +49 -0
  379. package/src/components/CarouselCard/CarouselCard.ui.json +1 -0
  380. package/src/components/CarouselCard/CarouselCardContent.ts +15 -0
  381. package/src/components/ComparisonTable/ComparisonTableBody.tsx +10 -10
  382. package/src/components/ComparisonTable/ComparisonTableRows.tsx +20 -6
  383. package/src/components/Header/Header.fixture.mobile.tsx +2 -2
  384. package/src/components/Header/Header.fixture.tsx +3 -3
  385. package/src/components/Header/Header.mobile.tsx +49 -51
  386. package/src/components/Header/Header.tsx +2 -9
  387. package/src/components/Header/HeaderContent.ts +0 -6
  388. package/src/components/Header/HeaderSecondaryMenu.tsx +1 -1
  389. package/src/components/MobileAppTile/MobileAppTile.example.json +3 -5
  390. package/src/components/OfficeMap/OfficeMap.tsx +4 -2
  391. package/src/components/OfficeMap/useOfficeMap.ts +4 -1
  392. package/src/components/Recommendation/RecommendationCard.tsx +5 -1
  393. package/src/components/Recommendation/RecommendationContent.ts +8 -0
  394. package/src/components/RollupItem/RollupItem.example.json +23 -0
  395. package/src/components/RollupItem/RollupItem.fixture.tsx +23 -0
  396. package/src/components/RollupItem/RollupItem.tsx +86 -0
  397. package/src/components/RollupItem/RollupItem.ui.json +1 -0
  398. package/src/components/RollupItem/RollupItemContent.ts +13 -0
  399. package/src/components/RollupItem/RollupItemProps.ts +4 -0
  400. package/src/components/TariffsTable/TariffsTable.tsx +30 -13
  401. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +46 -1
  402. package/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
  403. package/src/hooks/useCarousel.ts +55 -0
  404. package/src/icons/HuaweiIcon.svg +1 -0
  405. package/src/icons/IconName.ts +5 -5
  406. package/src/model/BlurVersion.ts +0 -0
  407. package/src/model/CarouselCardVersion.ts +1 -0
  408. package/src/services/sitemap/SitemapProps.ts +5 -0
  409. package/src/ui-kit/Foldable/DefaultFoldButton.tsx +1 -1
  410. package/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
  411. package/src/{hooks → ui-kit/InnerTable}/useTariffsInnerTableData.ts +0 -0
  412. package/src/ui-kit/Input/InputProps.ts +1 -2
  413. package/src/ui-kit/Logo/Logo.tsx +4 -1
  414. package/src/ui-kit/Select/Select.tsx +3 -3
  415. package/bundle/hooks/useTableArrowScrollControl.d.ts +0 -5
  416. package/dist/hooks/useTableArrowScrollControl.d.ts +0 -5
  417. package/dist/hooks/useTableArrowScrollControl.js +0 -21
  418. package/dist/hooks/useTableArrowScrollControl.js.map +0 -1
  419. package/dist/hooks/useTariffsInnerTableData.js.map +0 -1
  420. package/lib/hooks/useTableArrowScrollControl.d.ts +0 -5
  421. package/lib/hooks/useTableArrowScrollControl.js +0 -18
  422. package/lib/hooks/useTableArrowScrollControl.js.map +0 -1
  423. package/lib/hooks/useTariffsInnerTableData.js.map +0 -1
  424. package/mobile/bundle/hooks/useTableArrowScrollControl.d.ts +0 -5
  425. package/mobile/dist/hooks/useTableArrowScrollControl.d.ts +0 -5
  426. package/mobile/dist/hooks/useTableArrowScrollControl.js +0 -21
  427. package/mobile/dist/hooks/useTableArrowScrollControl.js.map +0 -1
  428. package/mobile/dist/hooks/useTariffsInnerTableData.js.map +0 -1
  429. package/mobile/lib/hooks/useTableArrowScrollControl.d.ts +0 -5
  430. package/mobile/lib/hooks/useTableArrowScrollControl.js +0 -18
  431. package/mobile/lib/hooks/useTableArrowScrollControl.js.map +0 -1
  432. package/mobile/lib/hooks/useTariffsInnerTableData.js.map +0 -1
  433. package/mobile/src/hooks/useTableArrowScrollControl.ts +0 -28
  434. package/src/hooks/useTableArrowScrollControl.ts +0 -28
@@ -1,7 +1,7 @@
1
1
  // Generated. Do not touch
2
2
  /* eslint-disable max-len, max-lines */
3
3
  export const IconsWithoutInversion = new Set([
4
- 'ActualBalanceIcon', 'AirPlaneIcon', 'CardWithGemIcon', 'CarIcon', 'CinemaIcon', 'ClockIcon', 'ComfortableCompIcon', 'CreditCardsIcon', 'DocsIcon', 'DollarIcon', 'DoneIcon', 'EarthIcon', 'EuroIcon', 'FullScreenIcon', 'GlassIcon', 'InterestGrowthIcon', 'JCBIcon', 'MapMarkerClusterIcon', 'MapMarkerSingleIcon', 'MasterCardIcon', 'MirIcon', 'MoneyInsuranceIcon', 'NewDocIcon', 'OfficeIcon', 'PackA4Icon', 'PassSendIcon', 'PowerIcon', 'PumpkinIcon', 'SignDocsIcon', 'SoundIcon', 'UnionPayIcon', 'UserGeoLocationIcon', 'VisaIcon', 'WateringCanIcon'
4
+ 'ActualBalanceIcon', 'AirPlaneIcon', 'CardWithGemIcon', 'CarIcon', 'CinemaIcon', 'ClockIcon', 'ComfortableCompIcon', 'CreditCardsIcon', 'DocsIcon', 'DollarIcon', 'DoneIcon', 'EarthIcon', 'EuroIcon', 'FullScreenIcon', 'GlassIcon', 'HuaweiIcon', 'InterestGrowthIcon', 'JCBIcon', 'MapMarkerClusterIcon', 'MapMarkerSingleIcon', 'MasterCardIcon', 'MirIcon', 'MoneyInsuranceIcon', 'NewDocIcon', 'OfficeIcon', 'PackA4Icon', 'PassSendIcon', 'PowerIcon', 'PumpkinIcon', 'SignDocsIcon', 'SoundIcon', 'UnionPayIcon', 'UserGeoLocationIcon', 'VisaIcon', 'WateringCanIcon'
5
5
  ]);
6
6
  export var IconMap;
7
7
  (function (IconMap) {
@@ -51,6 +51,7 @@ export var IconMap;
51
51
  IconMap["GlobalIcon"] = "GlobalIcon";
52
52
  IconMap["GpsIcon"] = "GpsIcon";
53
53
  IconMap["GridIcon"] = "GridIcon";
54
+ IconMap["HuaweiIcon"] = "HuaweiIcon";
54
55
  IconMap["InterestGrowthIcon"] = "InterestGrowthIcon";
55
56
  IconMap["InterestIcon"] = "InterestIcon";
56
57
  IconMap["JCBIcon"] = "JCBIcon";
@@ -148,6 +149,7 @@ export var IconTitleMap;
148
149
  IconTitleMap["GlobalIcon"] = "\u0413\u043B\u043E\u0431\u0443\u0441";
149
150
  IconTitleMap["GpsIcon"] = "Gps";
150
151
  IconTitleMap["GridIcon"] = "\u0421\u0435\u0442\u043A\u0430 (\u0431\u0435\u043B\u0430\u044F)";
152
+ IconTitleMap["HuaweiIcon"] = "\u041B\u043E\u0433\u043E \u00ABHuawei\u00BB";
151
153
  IconTitleMap["InterestGrowthIcon"] = "\u0414\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430 \u0440\u043E\u0441\u0442\u0430";
152
154
  IconTitleMap["InterestIcon"] = "\u0421\u043A\u0438\u0434\u043A\u0430";
153
155
  IconTitleMap["JCBIcon"] = "JCB";
@@ -1 +1 @@
1
- {"version":3,"file":"IconName.js","sourceRoot":"","sources":["../../src/icons/IconName.ts"],"names":[],"mappings":"AACA,0BAA0B;AAC1B,uCAAuC;AAEvC,MAAM,CAAC,MAAM,qBAAqB,GAAG,IAAI,GAAG,CAAC;IAC3C,mBAAmB,EAAE,cAAc,EAAE,iBAAiB,EAAE,SAAS,EAAE,YAAY,EAAE,WAAW,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,UAAU,EAAE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;IAAE,6FAAgC,CAAA;IAAE,qDAAiB,CAAA;IAAE,2GAA+B,CAAA;IAAE,0JAAsC,CAAA;IAAE,kHAAiC,CAAA;IAAE,sDAAkB,CAAA;IAAE,yKAA2C,CAAA;IAAE,8EAAgC,CAAA;IAAE,yCAAyB,CAAA;IAAE,2DAA2C,CAAA;IAAE,iJAAuC,CAAA;IAAE,yGAA6B,CAAA;IAAE,iCAAiB,CAAA;IAAE,kEAAoB,CAAA;IAAE,8HAAmC,CAAA;IAAE,wHAAkC,CAAA;IAAE,yEAAsB,CAAA;IAAE,0IAA0C,CAAA;IAAE,+HAAoC,CAAA;AAC73F,CAAC,EAFW,YAAY,KAAZ,YAAY,QAEvB"}
File without changes
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=BlurVersion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlurVersion.js","sourceRoot":"","sources":["../../src/model/BlurVersion.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export declare type CarouselCardVersion = 'normal' | 'mini';
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=CarouselCardVersion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CarouselCardVersion.js","sourceRoot":"","sources":["../../src/model/CarouselCardVersion.ts"],"names":[],"mappings":""}
@@ -21,4 +21,9 @@ export interface SitemapDataProps {
21
21
  topItems?: TopMenuItem[];
22
22
  /** @title Дополнительное меню */
23
23
  dispositions?: DispositionItem[];
24
+ logo?: {
25
+ image?: Picture;
26
+ title?: string;
27
+ };
28
+ defaultLocation?: string;
24
29
  }
@@ -3,7 +3,7 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  import { Img } from '../Img/Img.js';
4
4
  export const DefaultFoldButton = JSX(({ className = '', label, icon, dataTheme = '', onClick }) => {
5
5
  const STATE_STYLE = 'hover:bg-primary-hover focus:border-primary-text active:bg-primary-active outline-none';
6
- const DIMENSIONS_STYLE = 'flex justify-center w-full px-0 py-5 mb-[1px]';
6
+ const DIMENSIONS_STYLE = 'flex justify-center w-full px-0 py-5';
7
7
  return (_jsxs("button", { className: [
8
8
  'border border-transparent bg-primary-main font-sans text-white cursor-pointer',
9
9
  STATE_STYLE,
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultFoldButton.js","sourceRoot":"","sources":["../../../src/ui-kit/Foldable/DefaultFoldButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAWjC,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAC3D,MAAM,WAAW,GACf,wFAAwF,CAAC;IAC3F,MAAM,gBAAgB,GAAG,+CAA+C,CAAC;IAEzE,OAAO,CACL,kBACE,SAAS,EAAE;YACT,+EAA+E;YAC/E,WAAW;YACX,gBAAgB;YAChB,SAAS;SACV,CAAC,IAAI,CAAC,GAAG,CAAC,gBACC,SAAS,EACrB,OAAO,EAAE,OAAO,aAEhB,eAAM,SAAS,EAAC,cAAc,YAAE,KAAK,GAAQ,EAC5C,IAAI,CAAC,CAAC,CAAC,CACN,KAAC,GAAG,IACF,KAAK,EAAE;oBACL,IAAI;oBACJ,WAAW,EAAE,OAAO;iBACrB,EACD,SAAS,EAAC,uBAAuB,EACjC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,CACH,CAAC,CAAC,CAAC,IAAI,IACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAqB,EAAE,EAAE;IACrF,MAAM,MAAM,GAAG,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IACxC,MAAM,KAAK,GAAe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Q,EAAqB,EAAE,EAAE;IACrF,MAAM,MAAM,GAAG,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IACxC,MAAM,KAAK,GAAe,CAAC,eAAe,EAAE,aAAa,CAAC,CAAC;IAE3D,OAAO,CACL,KAAC,iBAAiB,IAChB,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,EAC/B,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,EACjC,OAAO,EAAE,QAAQ,GACjB,CACH,CAAC;AACJ,CAAC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { useState } from '@redneckz/uni-jsx/lib/hooks';
4
- import { useTariffsInnerTableData } from '../../hooks/useTariffsInnerTableData.js';
4
+ import { useTariffsInnerTableData } from './useTariffsInnerTableData.js';
5
5
  import { InnerTableBody } from './InnerTableBody.js';
6
6
  import { TableInnerButton } from './InnerTableButton.js';
7
7
  import { InnerTableHeader } from './InnerTableHeader.js';
@@ -1 +1 @@
1
- {"version":3,"file":"InnerTable.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAOtD,MAAM,UAAU,GAAG,YAAY,CAAC;AAEhC,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAkB,CAAC,EAAE,OAAO,EAAE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":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AAExE,MAAM,UAAU,wBAAwB,CAAC,aAAsB;IAC7D,MAAM,EAAE,IAAI,EAAE,GAAG,YAAY,CAC3B,wBAAwB,CAAC,aAAa,CAAC,EACvC,0BAA0B,CAC3B,CAAC;IAEF,OAAO,IAAI,IAAI,EAAE,CAAC;AACpB,CAAC;AAED,KAAK,UAAU,0BAA0B,CAAC,GAAW;IACnD,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,CAAC,CAAC;IAElC,OAAO,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;AAC/B,CAAC;AAED,SAAS,wBAAwB,CAAC,aAAsB;IACtD,OAAO,mBAAmB,aAAa,IAAI,0BAA0B,OAAO,CAAC;AAC/E,CAAC"}
@@ -1,8 +1,7 @@
1
- import type { InputTypes } from '../../model/InputTypes';
2
1
  import type { LabelProps } from '../../model/HeadlineType';
2
+ import type { InputTypes } from '../../model/InputTypes';
3
3
  export declare type InputProps = LabelProps & {
4
4
  className?: string;
5
- label?: string;
6
5
  inputClassName?: string;
7
6
  id?: string;
8
7
  name?: string;
@@ -14,7 +14,10 @@ const TEXT_COLOR = {
14
14
  transparent: 'text-white',
15
15
  };
16
16
  export const Logo = JSX(({ className = '', href, logo, children = logo?.title, targetBlank, bgColor = 'bg-white', showTitle = true, }) => {
17
- return (_jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || '/', target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title || 'Россельхозбанк', children: [logo?.image?.src ? (_jsx(Img, { image: logo.image, className: SVG_COLOR[bgColor], width: "40", height: "45", asSVG: true })) : (_jsx(Img, { image: { icon: 'LogoIcon', iconVersion: ICON_VERSION_MAP[bgColor] }, className: `${SVG_COLOR[bgColor]} w-10`, width: "40", height: "45", asSVG: true })), showTitle ? renderTitle(children, bgColor, logo?.title) : null] }));
17
+ return (_jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || '/', target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title || 'Россельхозбанк', children: [logo?.image?.src ? (_jsx(Img, { image: logo.image, className: SVG_COLOR[bgColor], width: "40", height: "45", asSVG: true })) : (_jsx(Img, { image: {
18
+ icon: logo?.image?.icon || 'LogoIcon',
19
+ iconVersion: ICON_VERSION_MAP[bgColor],
20
+ }, className: `${SVG_COLOR[bgColor]} w-10`, width: "40", height: "45", asSVG: true })), showTitle ? renderTitle(children, bgColor, logo?.title) : null] }));
18
21
  });
19
22
  const renderTitle = (children, bgColor, title) => {
20
23
  const text = children || title || 'Россельхозбанк';
@@ -1 +1 @@
1
- {"version":3,"file":"Logo.js","sourceRoot":"","sources":["../../../src/ui-kit/Logo/Logo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAcjC,MAAM,gBAAgB,GAAmC;IACvD,UAAU,EAAE,OAAO;IACnB,WAAW,EAAE,OAAO;CACrB,CAAC;AAEF,MAAM,SAAS,GAAmC;IAChD,UAAU,EAAE,mBAAmB;IAC/B,WAAW,EAAE,YAAY;CAC1B,CAAC;AACF,MAAM,UAAU,GAAmC;IACjD,UAAU,EAAE,mBAAmB;IAC/B,WAAW,EAAE,YAAY;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CACrB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,IAAI,EACJ,IAAI,EACJ,QAAQ,GAAG,IAAI,EAAE,KAAK,EACtB,WAAW,EACX,OAAO,GAAG,UAAU,EACpB,SAAS,GAAG,IAAI,GACjB,EAAE,EAAE;IACH,OAAO,CACL,aACE,SAAS,EAAE,mDAAmD,SAAS,EAAE,EACzE,IAAI,EAAE,IAAI,IAAI,GAAG,EACjB,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,gB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W,GAAG,CAAC,QAAe,EAAE,OAAe,EAAE,KAAc,EAAE,EAAE;IACvE,MAAM,IAAI,GAAG,QAAQ,IAAI,KAAK,IAAI,gBAAgB,CAAC;IAEnD,OAAO,eAAM,SAAS,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,qBAAqB,YAAG,IAAI,GAAQ,CAAC;AACrF,CAAC,CAAC"}
@@ -1,14 +1,14 @@
1
+ import { LabelProps } from '../../model/HeadlineType';
1
2
  export interface OptionProps {
2
3
  key: string;
3
4
  text: string;
4
5
  }
5
- export interface SelectProps {
6
+ export declare type SelectProps = LabelProps & {
6
7
  className?: string;
7
- label?: string;
8
8
  value?: OptionProps;
9
9
  onChange: (value: OptionProps) => void;
10
10
  options: OptionProps[];
11
11
  isBorder?: boolean;
12
12
  placeholder?: string;
13
- }
13
+ };
14
14
  export declare const Select: import("@redneckz/uni-jsx").UNIComponent<SelectProps, any, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../src/ui-kit/Select/Select.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAiBpC,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CACvB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,GAAG,IAAI,EAAE,KAAK,EAAE,OAAO,GAAG,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,GAAG,EAAE,EAAE,EAAE,EAAE;IAC9F,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE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F,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,MAAe,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;AAElF,MAAM,YAAY,GAChB,CACE,YAA2C,EAC3C,MAAe,EACf,UAA4C,EAC5C,EAAE,CACJ,CAAC,MAAmB,EAAE,CAAS,EAAE,EAAE;IACjC,OAAO,CACL,eAEE,OAAO,EAAE,GAAG,EAAE;YACZ,YAAY,CAAC,MAAM,CAAC,CAAC;QACvB,CAAC,EACD,SAAS,EAAC,oEAAoE,aAE9E,eAAM,SAAS,EAAC,SAAS,YAAE,MAAM,CAAC,IAAI,GAAQ,EAC9C,KAAC,IAAI,IACH,IAAI,EAAC,gBAAgB,EACrB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,SAAS,EAAE,CAAC,yBAAyB,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,IAAI,CACvF,GAAG,CACJ,GACD,KAdG,MAAM,CAAC,CAAC,CAAC,CAeV,CACP,CAAC;AACJ,CAAC,CAAC;AAEJ,MAAM,cAAc,GAAG,CAAC,QAAiB,EAAE,EAAE,CAC3C,QAAQ,CAAC,CAAC,CAAC,iEAAiE,CAAC,CAAC,CAAC,EAAE,CAAC"}
@@ -1117,11 +1117,11 @@
1117
1117
 
1118
1118
  const HeaderTop = JSX(({ onClick, bgColor }) => (jsxs("div", { className: "flex items-center justify-between border-0 border-b border-main-divider h-[50px]", children: [jsxs("div", { className: "flex items-center", children: [jsx("button", { className: "pl-0 pr-4 border-0 bg-transparent cursor-pointer", onClick: onClick, "aria-label": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E", children: jsx(Img, { image: { icon: 'BurgerIcon', iconVersion: bgColor === 'bg-white' ? 'black' : 'white' }, className: "text-primary-text w-6 h-6", width: "24", height: "24", asSVG: true }) }), jsx(Logo, { className: "mr-8", bgColor: bgColor })] }), jsx("button", { className: `${bgColor === 'bg-white' ? 'text-primary-main' : 'text-white'} text-s border-0 bg-transparent cursor-pointer`, children: "\u0412\u043E\u0439\u0442\u0438" })] })));
1119
1119
 
1120
- const Header = JSX(({ className = '', defaultLocation, bgColor = 'bg-white', ...rest }) => {
1120
+ const Header = JSX(({ className = '', bgColor = 'bg-white', ...rest }) => {
1121
1121
  const router = useRouter();
1122
1122
  const { page } = rest;
1123
1123
  const fallback = page?.fallback;
1124
- const { topItems, dispositions } = useSWRResource(projectSettings.SITEMAP || 'sitemap', fallback);
1124
+ const { topItems, dispositions, defaultLocation } = useSWRResource(projectSettings.SITEMAP || 'sitemap', fallback);
1125
1125
  const activeTopItem = topItems?.find(isTopItemActive(router));
1126
1126
  const subItems = activeTopItem?.items;
1127
1127
  const activeSubItem = findActiveSubItem(router)(subItems);
@@ -1603,7 +1603,7 @@
1603
1603
  return (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: i }, el) : [el]), []);
1604
1604
  }
1605
1605
 
1606
- const packageVersion = "0.6.27";
1606
+ const packageVersion = "0.6.29";
1607
1607
 
1608
1608
  exports.Blocks = Blocks;
1609
1609
  exports.ContentPage = ContentPage;
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UniMobileBlocks={})}(this,(function(e){"use strict";let t;const n=e=>(...n)=>t[e](...n),i=n("useState"),r=n("useEffect"),l=n("useCallback"),a=n("useMemo"),s=n("useRef");function o(e=""){return{getFetcherAddress:async function(){if(!("geolocation"in navigator))return null;try{const t=await(async()=>new Promise((e=>navigator.geolocation.getCurrentPosition((({coords:t})=>e(t))))))(),n=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await n.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}}const c=new class{_={PROD_BRANCH:"master",FORCED_DRAFT_FLOW:!1};setup(e){this._=e}get TEST_BRANCH(){return this._.TEST_BRANCH}get RC_BRANCH(){return this._.RC_BRANCH}get PROD_BRANCH(){return this._.PROD_BRANCH}get FORCED_DRAFT_FLOW(){return this._.FORCED_DRAFT_FLOW}get ASSIST_PROJECT_ID(){return this._.ASSIST_PROJECT_ID}get SITEMAP(){return this._.SITEMAP}get FOOTER(){return this._.FOOTER}get CDN(){return this._.CDN}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},d="likesToken";function m(){async function e(){try{const e=JSON.parse(globalThis.localStorage.getItem(d)||"");if(e?.token)return e}catch(e){}try{const e=await fetch("/assist/v1/public/auth",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:t,name:n}=await e.json();return globalThis.localStorage.setItem(d,JSON.stringify({token:t,name:n})),{token:t,name:n}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...t){if(!t.length)return[];const{token:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n},body:JSON.stringify({node_ids:t})}),{likes:i}=await e.json();return i||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:n,name:i}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:t,user_name:i})}),{likes:r}=await e.json();return r||0}catch(e){return console.error(e),0}},dislike:async function(t){if(!t)return 0;const{token:n,name:i}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:t,user_name:i})}),{likes:r}=await e.json();return r||0}catch(e){return console.error(e),0}}}}const h=(...e)=>globalThis._uni._jsx(...e),u=(...e)=>globalThis._uni._jsxs(...e),p=e=>{const t=e;return t._tmpl||(t._tmpl=globalThis.__UNI_REACT__?e:x(e)),t._tmpl},x=e=>{function t(t,n){const{children:i,...r}=t||{},l=n?.slots?.default,a=i||l&&l();return e(Object.assign(r,a&&{children:a}),n)}return t.inheritAttrs=!1,t};class g{static inst=new g;subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]||=[],this.subscribers[e]?.push(t);const n=this.subjectsStateMap[e];return n&&t(n),()=>{this.unsubscribe(e,t)}}unsubscribe(e,t){this.subscribers[e]=this.subscribers[e]?.filter((e=>e!==t))}fire(e,t){this.subjectsStateMap[e]=t,this.subscribers[e]?.forEach((e=>e(t)))}subject(e,t){this.subjectsStateMap[e]=t}}const b=100,f={threshold:new Array(18).fill(0).map((function(e,t){const n=(t+1)/b+.82;return Math.round(n*b)/b}))},N=p((({className:e,block:t,tag:n="section",role:l,children:o})=>{const c=n,{anchor:d,labels:m}=t||{},[u,p]=i(!0),x=s({}),b=a((()=>(({anchor:e,anchorClickRef:t})=>n=>{if(!n?.length)return;const[i]=n;!i.isIntersecting||i.boundingClientRect.top>150||(t?.current?.isScrolling&&t.current.label===`#${e}`?(g.inst.fire("anchorClick",{isScrolling:!1,label:void 0}),g.inst.fire("tab",{type:"link",label:e})):t?.current?.isScrolling||g.inst.fire("tab",{type:"link",label:e}))})({anchor:d,anchorClickRef:x})),[d]),N=function(e,t){const n=s(null);return r((()=>{if(!n.current)return;const i=new IntersectionObserver(e,t);return i.observe(n.current),()=>{i.disconnect()}}),[e,t]),n}(b,f);return r((()=>g.inst.subscribe("anchorClick",(e=>{p(!0),x.current=e}))),[]),r((()=>g.inst.subscribe("tab",(e=>{if("group"===e.type){const n=m?.length||t?.anchor;p(!e.label||(!n||Boolean(m?.includes(e.label))))}else(n=e.label)&&(globalThis.document.location.hash=n),p(!0);var n}))),[]),u?h(c,{className:e,role:l,...d?{id:d,ref:N}:{},children:o}):null}));const y={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"},v=p((e=>{const{className:t,headingType:n="h3",title:i,as:r="h3"}=e;return h(r,{className:`font-sans font-medium m-0 ${y[n]} ${t||""}`,children:i})})),w=p((({children:e})=>h("ul",{className:"list-none m-0 p-0",children:e}))),k=p((({title:e,description:t,className:n="",children:i,...r})=>u(N,{className:`py-6 px-4 font-sans bg-white text-primary-text ${n}`,...r,children:[e?h(v,{headingType:"h3",className:"mb-2 text-center",title:e}):null,t?h("div",{className:"mb-5 text-m-light text-center",children:t}):null,h(w,{children:i})]})));k.childrenTypes=["AccordionItem"];const $=p((({isFoldButtonOnTop:e=!1,unfoldedByDefault:t=!1,renderFoldableSection:n,renderFoldButton:r})=>{const[a,s]=i(t),o=l((()=>{s((e=>!e))}),[]),c=n({isUnfolded:a,onToggle:o}),d=r?r({isUnfolded:a,onToggle:o}):null;return u("div",e?{children:[d,c]}:{children:[c,d]})})),C=p((({className:e="",isUnfolded:t,children:n})=>{const i=s(null);return r((()=>{i.current&&(i.current.style.maxHeight=t?`${i.current.scrollHeight}px`:"")}),[t,n?.length]),h("div",{ref:i,className:`transition-max-h duration-300 overflow-hidden max-h-0 ${e}`,children:n})})),S={normal:"",color:"text-primary-main",black:"text-black",white:"text-black"},T=p((({className:e="",imageClassName:t="",name:n="",alt:i=`Иконка ${n}`,title:r=i,iconVersion:l="color",asSVG:a,...s})=>{const o=`${c.CDN||""}icons/${n}.svg`;return a&&"normal"!==l?h(j,{className:e,children:u("svg",{className:[I(e,s.width),S[l],t,_(l)].join(" "),...s,"aria-hidden":"true",children:[r?h("title",{children:r}):null,i?h("desc",{children:i}):null,h("use",{href:`${o}#icon`,xlinkHref:`${o}#icon`})]})}):h("img",{className:e,src:o,alt:i,title:r,...s,"aria-hidden":"true"})})),_=e=>"white"===e?"invert":"",I=(e,t)=>t?`width: ${t}px `:"w-full h-full",j=p((({className:e,children:t})=>e?h("div",{className:e,children:t}):t));function D(e){return"string"==typeof e?"normal":e?.iconVersion||"normal"}const A=(e,t)=>e.media&&t.media?e.media-t.media:0,R=p((({className:e="",image:t,imageClassName:n="",isMobile:i=!1})=>{if(!t||!t?.sources&&!t?.src)return null;return u("picture",{className:`${i?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.sort(A).map((({src:e,format:n,media:i},r)=>h("source",{srcSet:e,type:M(n),media:i?`(max-width: ${i}px)`:"",...t.size},`${r}_${e}`))):null,O(t,n,i)]})})),O=(e,t="",n=!1)=>{const i={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"100%"},r=e.title||"",l=e.alt||e.title,a=n?"m-auto":"m-0";return h("img",{src:e.src,className:`${a} ${t}`,alt:l,title:r,style:i,...e.size})};function M(e){return e?`image/${String(e)}`:void 0}const L=p((({className:e="",image:t,imageClassName:n="",isMobile:i,...r})=>{if(!t)return null;const l="string"==typeof t?t:t.icon;return l||""===l?l.length?h(T,{className:e,imageClassName:n,iconVersion:D(t),name:l,...r}):null:h(R,{className:e,imageClassName:n,image:t,isMobile:i})})),B=p((e=>h(L,{...e,isMobile:!0}))),V=(e,t="primary")=>({...e,iconVersion:e?.iconVersion??("secondary"===t?"white":"color")}),E=["PlusIcon","MinusIcon"],F=p((({className:e="",ancestors:t,label:n="",labelIcon:i,isExpanded:r,children:l})=>{const{bordered:a}=function(e,t){const{content:n}=function(e,t){const[n]=(e||[]).map((e=>e)).reverse().find((([e])=>e&&"type"in e&&(!t||t===e.type)))||[];return n||{}}(e);return n||t}(t,{});return h("li",{className:`${a?"border p-4 rounded mb-4":"border-0 border-b last:border-b-0"} border-solid border-main-divider ${e}`,children:h($,{isFoldButtonOnTop:!0,unfoldedByDefault:r,renderFoldableSection:({isUnfolded:e})=>h(C,{className:"flex flex-wrap group-last:last:pb-0 gap-5 [&>*]:p-0",isUnfolded:e,children:l}),renderFoldButton:({isUnfolded:e,onToggle:t})=>h(P,{className:a?"":"py-[14px] px-0",label:n,icon:E[Number(e)],primaryIcon:i,onClick:t})})})}));F.childrenTypes=[];const P=p((({className:e,icon:t,label:n,primaryIcon:i,onClick:r})=>u("button",{className:`border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text group cursor-pointer ${e}`,onClick:r,children:[u("span",{className:"text-m-title-xs font-medium pr-2.5 flex group-hover:text-primary-main",children:[i?h(B,{image:V(i),className:"mr-3 flex-shrink-0",width:"24",height:"24",asSVG:!0}):null,n]}),h(B,{className:"flex-shrink-0",image:V({icon:t}),width:"24",height:"24",asSVG:!0})]}))),z=p((({children:e,activeIndex:t,indexFraction:n,showDots:i})=>{const r=e=>n=>{if(e===t)return;const i=n.currentTarget.parentElement?.previousElementSibling;i?.children[e]?.scrollIntoView({behavior:"smooth",block:"nearest"})};return i&&e?.length?h("div",{className:"flex gap-2 mx-auto mt-5 w-fit",children:e?.map(((e,i)=>h("div",{onClick:r(i),className:"bg-primary-main opacity-30 w-1.5 h-1.5 min-w-1.5 min-h-1.5 rounded-full",style:G(i,t,n),"aria-hidden":!0},String(i))))}):null})),G=(e,t,n)=>{if(e<t||e>t+1)return;const i=1-n;return e===t?{opacity:""+(.3+.7*i),width:6+16*i+"px"}:{opacity:""+(.3+.7*n),width:6+16*n+"px"}},H=p((({className:e="",children:t,...n})=>h("div",{className:`snap-center snap-always min-w-full box-border ${e}`,role:"listitem",...n,children:t}))),W=e=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e}px`}),J=p((({className:e="",children:t,activeIndex:n,onScroll:i,gap:r=14,padding:l=16})=>h("div",{className:`overflow-auto flex horizontal-list no-scrollbar ${e}`,style:{...W(l),gap:`${r}px`},role:"list",onScroll:i,children:t?.length?t?.map(((e,t)=>h(H,{style:W(l/4),"aria-current":Boolean(n===t),children:e},String(t)))):h(H,{children:t})}))),U=p((({className:e,gap:t=14,padding:n=16,showDots:r=!0,onSlideChange:l,children:a})=>{const[s,o]=i(0),[c,d]=i(0),m={activeIndex:s,indexFraction:c,showDots:r,children:a};return u("div",{className:e,children:[h(J,{gap:t,padding:n,activeIndex:s,onScroll:e=>{const{scrollLeft:i,clientWidth:r,childElementCount:a,scrollWidth:c,children:m}=e?.currentTarget,h=m[0].offsetWidth-n/2,u=(({gap:e,padding:t,clientWidth:n,scrollWidth:i,childElementCount:r,itemWidth:l})=>{const a=i-n;if(2===r)return[[0,a],[a,i]];const s=l+e,o=n-e-t,c=r-2,d=new Array(r).fill(0).map(((e,t)=>0===t||t===c?[t>0?a-o:0,t>0?a:o]:[(t-1)*s+o,t*s+o]));return d[r-1]=[a,i],d})({gap:t,padding:n,clientWidth:r,scrollWidth:c,childElementCount:a,itemWidth:h}),{index:p,fraction:x}=((e,t)=>{const n=t.findIndex((([t,n])=>t<=e&&e<n));if(n<0)return{index:n,fraction:0};const[i,r]=t[n];return{index:n,fraction:(e-i)/(r-i)}})(i,u);p!==s&&l&&l(),o(p),d(x)},children:a}),h(z,{...m})]})})),Y=e=>e?.includes("//"),K=e=>(e||"").replace(/\/?\?.*/,""),X=e=>{if(!e||!Y(e))return;const t=e,n=t.indexOf("//"),i=t.indexOf("/",n+"//".length);return-1!==i?t.substring(0,i):t};var q=Object.freeze({__proto__:null,isURL:Y,withoutQuery:K,getOrigin:X,getHash:e=>{if(!e||!Y(e))return;const t=e.indexOf("#");return-1!==t?e.substring(t,e.length):void 0},isHash:e=>e?.startsWith("#")});const Q=(e,t)=>Q._impl(e,t);function Z(){return Z._impl()}function ee(){const e=Z();return t=>{const n=((e,t)=>{if(!e)return e;const n=X(t?.href);return n?e.replace(n,"")||"/":e})(t.href,e);return{...t,href:n,"aria-label":t.text,onClick:Q((i=>{t.onClick&&t.onClick(i);const r=n&&!Y(n),l=!t.target||"_self"===t.target;r&&l&&(i?.preventDefault(),e.push(n))}),t)}}}Q._impl=e=>e,Q.setup=e=>{Q._impl=e},Z._impl=()=>({href:globalThis.location?.href||"/",pathname:globalThis.location?.pathname||"/",query:{},push:()=>{},replace:()=>{}}),Z.setup=e=>{Z._impl=e};const te={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:""},ne="bg-main-divider text-main-disabled",ie={primary:ne,secondary:ne,white:ne,link:""},re="text-center font-sans select-none",le={primary:"group-hover:brightness-0 group-hover:invert",secondary:"group-hover:brightness-0 group-hover:invert",white:"group-hover:brightness-0 group-hover:invert",link:""},ae=p((e=>{const{text:t,aboveText:n,appendLeft:i,appendRight:r,version:l="primary"}=e;return u("div",{className:se(e),children:[i?h("div",{className:le[l],children:i}):null,oe(e)?u("div",{children:[n?h("div",{className:"text-xs-light text-left",children:n}):null,h("div",{className:"text-left "+(n?"text-s -mt-0.5":"text-l"),children:t})]}):null,r?h("div",{className:le[l],children:r}):null]})})),se=e=>{const{version:t,aboveText:n,rounded:i}=e;if("link"===t)return"";const r="gap-2 "+(n?"py-2.5 px-7":"py-4 px-9");return["group flex items-center justify-center",oe(e)?r:"h-12 w-12",i?"rounded-full":""].join(" ")},oe=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),ce=({className:e,rounded:t,version:n})=>["inline-block",re,n?ie[n]:"",t?"rounded-full":"rounded-md",e].join(" "),de=({className:e,rounded:t,version:n})=>[re,"border border-transparent inline-block cursor-pointer no-underline focus:border-primary-focus focus:border",n?te[n]:"",t?"rounded-full":"rounded-md",e].join(" "),me=p((({disabled:e,children:t,...n})=>{const i=ee()(n),r=t??h(ae,{...i});return h(e?ue:he,{...i,children:r})})),he=p((({className:e="",href:t,rel:n,target:i,ariaLabel:r,version:l,rounded:a,onClick:s,children:o})=>h("a",{className:de({className:e,version:l,rounded:a}),href:t,rel:n,target:i,"aria-label":r,role:t?"link":"button",onClick:s,children:o}))),ue=p((({className:e,ariaLabel:t,version:n,rounded:i,children:r})=>h("div",{role:"button","aria-disabled":"true","aria-label":t,tabIndex:-1,className:ce({className:e,rounded:i,version:n}),children:r}))),pe=(e=!1)=>e?"text-white":"",xe=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),ge=p((({icon:e,image:t,title:n,subtitle:i,isFillGradient:r})=>u("div",{role:"columnheader",children:[e?h(B,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}):null,t?.src&&h("div",{className:"mb-3.5",children:h(B,{image:t})}),n?h(v,{headingType:"h4",className:pe(r),title:n}):null,i?h("div",{className:xe(r),children:i}):null]}))),be=p((({cell:e,rowHeader:t,isFillGradient:n=!1})=>h("div",{className:"box-border flex flex-col",role:"cell",children:h("div",{className:"h-full border-main-divider border border-t-0 border-x-0",children:e.map(fe(n,t))})}))),fe=(e,t)=>({label:n,description:i},r)=>u("div",{className:"flex justify-between text-s py-3.5",children:[h("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),u("div",{className:"basis-1/2",children:[n?h("div",{className:"text-right "+(e?"text-white":""),children:n}):null,i?h("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:i}):null]})]},String(r)),Ne=p((({header:e,columnData:t,visibleRowLength:n=0,isFillGradient:i,showRow:r,onToggleColumn:l})=>{const a=t?.slice(0,r?t.length:n),s=i?"secondary":"primary";return u("div",{className:`border border-main-stroke rounded-md p-4 mb-3.5 ${i?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[h(ge,{...e,isFillGradient:i}),a?.length?a.map((({rowHeader:e,cell:t},n)=>h(be,{cell:t,rowHeader:e,isFillGradient:i},String(n)))):null,r&&e?.link?h(me,{href:e.link.href,target:e.link.target,version:s,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}):null,ye({onToggleColumn:l,isFillGradient:i,showRow:r})]})})),ye=({onToggleColumn:e,isFillGradient:t,showRow:n})=>h("div",{className:"mt-5",role:"cell",children:h("a",{role:"link",onClick:e,className:"text-s font-medium cursor-pointer "+(t?"text-white/80":"text-primary-main"),children:n?"Скрыть":"Показать описание"})}),ve=p((e=>{const{className:t,title:n}=e;return u("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${t||""}`,children:[n?h(v,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:n}):null,h("div",{role:"table",children:h(we,{...e})})]})})),we=p((({columns:e,rowHeaders:t,isColoredFirstColumn:n,visibleRowLength:r,orientation:a,...s})=>{const[o,c]=i(new Array(e?.length||0).fill(!r)),d=l((e=>{const t=(t,n)=>n===e?!t:t;c((e=>e.map(t)))}),[]),m=l((()=>c((e=>new Array(e.length).fill(!1)))),[]),u=e?.map((({data:e,header:i},l)=>{return h(Ne,{visibleRowLength:r,showRow:o[l],header:i,columnData:(a=e,a?.map(((e,n)=>({cell:e,rowHeader:t?.[n]?.title})))),isFillGradient:0===l&&n,onToggleColumn:()=>d(l),...s},String(l));var a}));return"horizontal"===a?h(U,{onSlideChange:m,children:u}):u})),ke=new Map;function $e(e,t,{fallback:n}={}){const l=a((()=>Ce(e)),[e]),[s,o]=i(),[c,d]=i(),m=e=>{o(e),d(void 0)},h=e=>{o(void 0),d(e)};r((()=>{if(!l.every((e=>null===e)))try{const e=t(...l);"then"in e?(e=>{e.then((e=>ke.get(l)||e)).then(m).catch(h)})(e):m(e)}catch(e){h(e)}}),[t,...l]);const u=l[0],p=n&&"string"==typeof u&&n[u];return{data:s||c||!p?s:p,error:c,mutate:()=>Promise.resolve(void 0),isValidating:!1}}function Ce(e){return e?Array.isArray(e)?e:e instanceof Function?Ce(e()):[e]:[e]}async function Se(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await n.json()}function Te(e,t={}){const{data:n}=$e(`/wcms-resources/${e}.json`,Se,{fallback:t});return n||{}}const _e=p((({className:e,isMobile:t=!1})=>{const{term:n,setTerm:r}=(()=>{const[e,t]=i("");return{term:e,setTerm:e=>t(e)}})(),l=t?"text-s":"text-l-light",a=t?" placeholder-transparent":"h-full",s=t?"some search":void 0;return u("form",{className:`font-sans relative ${e}`,children:[u("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[h("div",{className:t?"w-5 h-5":"w-6 h-6",children:h(B,{image:"LoupeIcon",width:"24",height:"24"})}),n?null:h("label",{htmlFor:"search-bar-input",className:`text-secondary-text ${l}`,children:"Поиск по сайту"})]}),h("input",{id:"search-bar-input",className:`h-12 pl-12 w-full peer text-l text-black border border-solid rounded-md box-border\n outline-none pr-[6%] border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text ${a}`,value:n,onChange:e=>r(e.target.value),type:"text",name:"search-bar-input",placeholder:s}),t?h("button",{className:"visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none",onClick:e=>{e.preventDefault(),r("")},children:h(B,{image:"CloseIcon",width:"24",height:"24"})}):h(me,{version:"primary",text:"Найти",className:"invisible peer-focus:visible absolute top-[3px] right-1",onClick:e=>{e?.preventDefault(),console.log("click")},children:h("div",{className:"text-s px-9 py-2.5",children:"Найти"})})]})})),Ie=p((e=>h(_e,{...e,isMobile:!0}))),je=p((({className:e="",documents:t,...n})=>h(N,{className:`font-sans bg-white mt-[10px] ${e}`,...n,children:h("ul",{className:"flex flex-col text-s text-secondary-text p-0",children:t?.length?De(t):null})}))),De=e=>e.map(((e,t)=>{const{text:n,...i}=e;return h("li",{className:"mb-4 list-none",children:h("a",{className:"hover:text-primary-main",role:"link",...i,children:n||null})},`list_item_${String(t)}`)})),Ae={"bg-white":"color",transparent:"white"},Re={"bg-white":"text-primary-main",transparent:"text-white"},Oe={"bg-white":"text-black",transparent:"text-white"},Me=p((({className:e="",href:t,children:n,targetBlank:i,bgColor:r="bg-white",showTitle:l=!0})=>u("a",{className:`inline-flex items-center font-sans no-underline ${e}`,href:t||"https://rshb.ru/",target:i?"_blank":"_self","aria-label":"Россельхозбанк",children:[h(B,{image:{icon:"LogoIcon",iconVersion:Ae[r]},className:`${Re[r]}`,width:"34",height:"34",asSVG:!0}),l?h("span",{className:`${Oe[r]} text-s font-medium ml-2.5`,children:n||"Россельхозбанк"}):null]}))),Le=p((({className:e="",title:t="Мобильное приложение",description:n,href:i="#"})=>h("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light font-sans ${e}`,children:i?u("div",{className:"flex",children:[h("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-[50px] h-[50px]",children:h(Me,{className:"w-8",bgColor:"transparent",showTitle:!0})}),u("a",{href:i,target:"_blank",className:"flex flex-col justify-center pl-3",children:[h("div",{className:"text-s font-medium mb-[3px]",children:t}),h("div",{className:"text-s text-secondary-text",children:n})]})]}):null}))),Be=p((({className:e="",items:t,hasButton:n})=>u("div",{className:e,children:[t?.length?t.map(Ve):null,n?h(me,{version:"primary",className:"mb-6 w-full",href:"/",target:"_blank",ariaLabel:"Обратная связь",text:"Обратная связь"}):null]}))),Ve=(e,t)=>{const{type:n,text:i,description:r}=e;return u("div",{className:"mb-4",children:[h("div",{children:Ee(n,i)}),h("div",{className:"mt-1 text-s-light text-secondary-text",children:r})]},String(t))},Ee=(e,t="")=>{switch(e){case"tel":return h("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${Fe(t)}`,children:t});case"email":return h("a",{className:"text-xl-light text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return h("span",{children:t})}},Fe=e=>e.replaceAll(/\D/g,""),Pe=p((({className:e="",index:t,text:n,...i})=>{const r=ee(),{href:l,target:a,onClick:s}=r(i);return h("a",{className:`text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:l,target:a,onClick:s,children:n||`Документ ${t}`})})),ze=p((({title:e,links:t,className:n=""})=>u("div",{className:n,children:[h("span",{className:"text-primary-text text-s font-medium",children:e}),t?.length?h("div",{className:"flex flex-col gap-2 pt-3",children:t.map(((e,t)=>h(Pe,{index:t,className:"text-s",...e},String(t))))}):null]}))),Ge=[{origins:["t.me","telegram.org"],icon:{icon:"TelegramIcon"},label:"Телеграм"},{origins:["vk.com"],icon:{icon:"VKIcon"},label:"ВКонтакте"},{origins:["ok.ru"],icon:{icon:"OkIcon"},label:"Одноклассники"},{origins:["apps.apple.com"],icon:{icon:"AppleIcon"},label:"App Store"},{origins:["play.google.com"],icon:{icon:"PlayMarketIcon"},label:"Google Play"}],He=p((({version:e="primary",...t})=>{const n=ee(),{href:i,onClick:r}=n(t),{icon:l,label:a}=Ge.find((({origins:e})=>e.some((e=>i?.includes(e)))))||{};if(!l)return null;return h("a",{className:`flex items-center justify-center rounded-md w-14 h-14 group box-border ${"secondary"===e?"bg-white hover:bg-secondary-hover":"border-solid border-[1px] border-main-divider hover:border-transparent hover:bg-primary-main"} ${"primary"===e?"hover:text-black":""}`,href:i,"aria-label":a,target:"_blank",rel:"noopener noreferrer",onClick:r,children:l?h(B,{image:V(l),imageClassName:"group-hover:text-white",width:"24",height:"24",asSVG:!0}):null})})),We=p((({className:e="",media:t,version:n})=>h("div",{className:`flex gap-2 items-start justify-start pt-6 pb-6 ${e}`,children:t?.map(((e,t)=>h(He,{version:n,...e},String(t))))}))),Je=p((({className:e="",index:t,...n})=>{const i=ee(),{href:r,target:l,text:a,onClick:s}=i(n);return h("a",{className:`text-xs-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${e}`,href:r,target:l,onClick:s,children:a||`Документ ${t}`})})),Ue=p((({className:e="",links:t})=>u("div",{className:e,children:[h("div",{className:"py-6",children:h("span",{className:"text-xs-light text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?h("div",{className:"flex flex-col justify-start items-start gap-2",children:t.map(((e,t)=>h(Je,{index:t,...e},String(t))))}):null]}))),Ye=p((({className:e="",...t})=>{const n=t.page?.fallback,i=Te(c.SITEMAP||"sitemap",n),{documents:r,relatedEnterprises:l,contacts:a,socialMedia:s,horizontalNavigationTitle:o}=Te(c.FOOTER||"footer",n);return u("footer",{className:`font-sans px-4 py-[26px] bg-white ${e}`,children:[h(Be,{className:"overflow-hidden",items:a,hasButton:!0}),h(w,{children:i.topItems?.map(((e,n)=>h(F,{label:e.text,...t,children:h(je,{documents:e.items,...t})},String(n))))}),h("div",{children:i?.dispositions?.map(Ke)}),h(Le,{title:"Мобильное приложение",description:"Загрузить для IOS и Android",...t}),h(Ie,{className:"grow"}),h(We,{className:"pb-4",media:s}),h(ze,{title:o,links:l}),h(Ue,{links:r})]})})),Ke=(e,t)=>{const{icon:n,href:i,text:r}=e;return u(me,{version:"link",href:i,className:"flex text-s mb-4 w-6",children:[n?h(B,{className:"pr-1",image:V(n),width:"24",height:"24",asSVG:!0}):null,h("span",{className:"pl-2.5 font-medium text-primary-text",children:r})]},`footer-${t}`)},Xe={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},qe=p((({title:e,description:t,cards:n=[],className:i,orientation:r="horizontal"})=>u("section",{className:`relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${i}`,children:[u("div",{className:"flex flex-col items-center mb-5",children:[e?h(v,{headingType:"h3",className:`text-center ${t?"mb-2":"mb-5"}`,title:e}):null,t?h("div",{className:"text-m max-w-[600px] text-center mb-5",children:t}):null]}),Qe(r,n)]})));function Qe(e,t){return"horizontal"===e?h(U,{children:t?.map(Ze)}):h("div",{className:"grid gap-[14px]",children:t?.map(Ze)})}function Ze(e,t){return u("div",{className:`h-full justify-between box-border horizontal-list-item border-solid border rounded-md border-main-stroke p-4 flex flex-col\n ${Xe[e.version??"primary"]}`,children:[u("div",{children:[et(e.icon),e.title?h("h3",{className:"text-m-title-xs font-medium m-0",children:e.title}):null,e.description?tt(e):null,e.items?.length?it(e.items,e.isDotted,e.version):null]}),e?.button?.text?(n=e.button,h(me,{className:"mt-3",...n})):null]},t);var n}const et=e=>e?.src||e?.icon?h("div",{className:"flex justify-center",children:h(B,{className:"mb-3.5",image:e})}):null;function tt(e){return h("div",{className:"text-secondary-text mt-1 text-s "+("secondary"===e.version?"text-white opacity-80":""),children:e.description})}const nt={primary:"bg-primary-text",secondary:"bg-white",gray:"bg-secondary-text"};function it(e,t,n="primary"){return h("section",{className:"mt-3",children:e.map(((e,i)=>u("div",{children:[t?h("div",{className:`rounded-full inline-block mr-3 mt-2 w-2 h-2 min-w-2 min-h-2 ${nt[n]}`}):null,h("span",{className:"text-m font-medium",children:e.title}),h("span",{className:"text-s pl-2 "+("primary"===n?"text-secondary-text":""),children:e.text})]},String(i))))})}const rt=(e,t,n=((e,t)=>t.startsWith(e)))=>n(K(e),K(Y(e)?t.href:t.pathname)),lt=e=>t=>rt(t.href,e),at=e=>t=>t.items?.some(lt(e))||rt(t.href,e)||((e,t)=>X(e)===X(t.href))(t.href,e),st="absolute left-0 -bottom-3 w-full h-[2px]",ot=p((({className:e="",text:t,href:n,target:i,active:r,onClick:l,children:a,bgColor:s="bg-white"})=>u("a",{className:`relative inline-block bg-transparent text-center no-underline ${e}`,href:n,target:i,onClick:l,children:[h("span",{className:ct(s,r),children:t||a}),r?h("div",{className:dt(s,r)}):null]}))),ct=(e,t=!1)=>{let n="text-white";return"bg-white"===e&&(n=t?"text-primary-main":"text-secondary-text hover:text-primary-main"),`${n} font-sans text-s`},dt=(e,t=!1)=>t?`${"bg-white"===e?"bg-primary-main":e} ${st}`:st,mt=o("https://10.80.4.9");const ht=p((({burgerSubMenu:e,onClick:t,defaultLocation:n="",children:a})=>{const[s,o]=function(e){const[t,n]=i(e);return r((()=>{n(globalThis?.localStorage.getItem("location")||e)}),[e]),[t,l((()=>{mt.getFetcherAddress().then((t=>{const i=t||e;globalThis?.localStorage.setItem("location",i),n(i)}))}),[e])]}(n);return u("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20",children:[h("button",{className:"absolute top-4 right-4 border-none bg-transparent cursor-pointer",onClick:t,children:h(B,{image:"CloseIcon",width:"24",height:"24",asSVG:!0})}),u("button",{onClick:o,className:"flex items-center text-s text-secondary-text p-0 mb-4 bg-transparent cursor-pointer",children:[h(B,{image:"GeolocationIcon",width:"20",height:"20",className:"text-primary-main box-border mr-2",asSVG:!0}),s]}),a,h("div",{className:"mb-7",children:e?.map(ut)}),h(Ie,{className:"grow"})]})})),ut=(e,t)=>{const{icon:n,href:i,text:r}=e;return u("a",{href:i,className:"flex text-s mb-4 hover:text-primary-main",children:[n?h(B,{className:"text-primary-main pr-1",image:n,width:"24",height:"24",asSVG:!0}):null,h("span",{className:"font-medium pl-0.5",children:r})]},`headerSubMenu-${t}`)},pt=p((({onClick:e,bgColor:t})=>u("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-[50px]",children:[u("div",{className:"flex items-center",children:[h("button",{className:"pl-0 pr-4 border-0 bg-transparent cursor-pointer",onClick:e,"aria-label":"Открыть меню",children:h(B,{image:{icon:"BurgerIcon",iconVersion:"bg-white"===t?"black":"white"},className:"text-primary-text w-6 h-6",width:"24",height:"24",asSVG:!0})}),h(Me,{className:"mr-8",bgColor:t})]}),h("button",{className:("bg-white"===t?"text-primary-main":"text-white")+" text-s border-0 bg-transparent cursor-pointer",children:"Войти"})]}))),xt=p((({className:e="",defaultLocation:t,bgColor:n="bg-white",...r})=>{const l=Z(),{page:a}=r,s=a?.fallback,{topItems:o,dispositions:d}=Te(c.SITEMAP||"sitemap",s),m=o?.find(at(l)),p=m?.items,x=(e=>(t=[])=>{const n=t?.filter(lt(e));return n?.length?(i=e=>e.href?.length||0,e=>e.reduceRight(((e,t)=>i(e)>i(t)?e:t)))(n):void 0;var i})(l)(p),[g,b]=i(!1),f=()=>b(!g);return u("header",{className:`${n} ${e}`,children:[u("div",{className:"container px-4 py-0 box-border",children:[h(pt,{onClick:f,bgColor:n}),h("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-[50px]",children:h("div",{className:"flex no-scrollbar horizontal-list h-full items-center",children:p?.map(((e,t)=>h(ot,{className:"mr-8 whitespace-nowrap text-s",active:e===x,bgColor:n,...e},String(t))))})})]}),g?h(ht,{onClick:f,burgerSubMenu:d,defaultLocation:t,children:h(w,{children:o?.map(((e,t)=>h(F,{label:e.text,...r,children:h(je,{documents:e.items,...r})},String(t))))})}):null]})})),gt={left:"text-left",center:"text-center",right:"text-right"},bt={transparent:{background:"bg-transparent",text:"text-primary-text",description:"text-primary-text"},primary:{background:"bg-white",text:"text-primary-text",description:"text-primary-text"},secondary:{background:"bg-primary-main",text:"text-white",description:"text-white/80"}},ft=p((({bgColorHeadline:e="transparent",className:t="",title:n,description:i,image:r,align:l="left"})=>{const a=bt[e];return u("section",{className:`px-4 py-6 flex flex-col gap-2.5 ${a.background} ${t}`,children:[n?h(v,{headingType:"h2",className:`${a.text} ${gt[l]}`,title:n}):null,i?h("p",{className:`text-m ${a.description} ${gt[l]}`,children:i}):null,r?.src&&h("div",{className:"mt-2.5 mx-auto flex justify-center",children:h(B,{image:r})})]})})),Nt=p((({className:e,iconClassName:t,textClassName:n,suffixClassName:i,doc:r,icon:l})=>{const{text:a,fileSize:s,...o}=r;return u("a",{className:e,role:"link",...o,children:[l?h(B,{className:t,image:V(l),width:"24px",height:"24px",asSVG:!0}):null,a?u("span",{className:n,children:[a,h("span",{className:i,children:o?.href&&yt(vt(o.href),s)})]}):null]})})),yt=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),vt=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},wt=p((({className:e="",doc:t,icon:n})=>h(Nt,{className:`flex h-full box-border ${e}`,iconClassName:"mr-3 min-w-6 min-h-6",doc:t,icon:n}))),kt=p((({hasBorder:e=!0,documents:t,icon:n})=>h(U,{className:"text-s text-primary-main mt-5",children:t?.length?t.map(((t,i)=>h(wt,{className:e?"rounded-md border-main-stroke border border-solid p-4":"",doc:t,icon:n},String(i)))):null}))),$t=p((({hasBorder:e=!0,documents:t,icon:n})=>h("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,i)=>h("div",{role:"listitem",children:h(wt,{className:e?"rounded-md border-main-stroke border border-solid p-4":"",doc:t,icon:n})},String(i)))):null}))),Ct=p((({className:e="",title:t,description:n,icon:i={icon:"DocIconMonoColor"},documents:r,orientation:l="vertical",hasBorder:a=!0,...s})=>u("section",{className:`font-sans text-primary-text py-6 px-4 bg-white overflow-x-hidden ${e}`,children:[h(ft,{className:"!p-0 "+(n?"gap-2":"gap-5"),title:t,description:n,align:"center",...s}),h("vertical"===l?$t:kt,{hasBorder:a,documents:r,icon:i})]}))),St=e=>{const t="col-span-",n=e.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function Tt(e=""){const t=St(e);return t<=4?"S":t<=8?"M":"L"}function _t(e=""){const t=St(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function It(e=""){const t=St(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const jt=p((({className:e,title:t,description:n="Блок в разработке...",...i})=>u(N,{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${It(e)} ${_t(e)} `,...i,children:[h(ft,{className:"!p-0 max-w-[600px]",title:t,description:n,headlineVersion:Tt(e),...i}),h("figure",{className:"m-0 min-w-[80%]",children:Dt()})]}))),Dt=(e=3)=>Rt(100,e).map((e=>Math.floor(e))).map(At),At=(e,t)=>h("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),Rt=(e,t)=>[e].concat(t>0?Rt(e/1.618,t-1):[]),Ot=p((({className:e="",buttons:t})=>t&&t?.length?h("div",{className:e,children:t.map(((e,t)=>Mt({button:e,index:t})))}):null));function Mt({button:e,buttonClassName:t,index:n}){const{icon:i,iconRight:r,version:l,...a}=e,s="secondary"===l?"color":"white",o=Lt({...i,iconVersion:s}),c=Lt({...r,iconVersion:s});return h(me,{className:t,appendLeft:o,appendRight:c,version:l,...a},n?String(n):"")}const Lt=e=>{if(!e?.icon&&!e?.src)return null;const t=e?.size?.width?`${e.size.width}`:"24";return h(B,{image:{...e},width:t,height:"24",asSVG:!0})},Bt={primary:"bg-primary-text",secondary:"bg-white",gray:"bg-secondary-text"},Vt={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"},Et=p((({className:e="",isDotted:t=!0,children:n,version:i="primary",size:r="M"})=>u("div",{className:`font-sans flex items-baseline ${e}`,role:"listitem",children:[t?h("div",{children:h("div",{className:`rounded-full align-middle inline-block ${Bt[i]} ${Vt[r]}`})}):null,h("span",{children:n})]}))),Ft={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text"},Pt={S:"text-l-light",M:"text-h6",L:"text-h5"},zt={S:"ml-2",M:"ml-3",L:"ml-4"},Gt=p((e=>{const{className:t="",hasIndent:n,isDotted:i,itemClassName:r="",items:l,listItemSize:a="M",version:s="primary"}=e;return l?.length?h("section",{className:`${Ft[s]} ${Pt[a]} ${t} ${n?zt[a]:""}`,role:"list",children:l.map(((e,t)=>h(Et,{className:`${r} mb-1.5`,isDotted:i,version:s,size:a,children:e},String(t))))}):null})),Ht=p((({className:e="",title:t="",buttons:n,image:i,children:r})=>u("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,children:[t,u("div",{className:"flex grow w-full justify-between",children:[u("div",{className:"flex flex-col justify-between w-full",children:[h("div",{className:"h-full",children:r}),n?h("div",{className:"mt-auto pt-8",children:n}):null]}),i]})]}))),Wt={primary:"text-primary-text",secondary:"text-white"},Jt={primary:"text-secondary-text",secondary:"text-white"},Ut=p((e=>{const{className:t="",icon:n,label:i,description:r,version:l="primary",benefitsVersion:a="normal"}=e,s="white"===a?"secondary":"primary";return u("div",{className:`flex gap-5 ${r?"items-start":"items-center"} ${t}`,children:[n?h("div",{className:Yt(l,a),children:h(B,{className:"w-6 h-6",image:V(n,s),asSVG:!0})}):null,u("div",{className:"gap-0.5",children:[i?h("div",{className:`text-h6 ${Wt[l]}`,children:i}):null,r?h("div",{className:`text-m-light ${Jt[l]}`,children:r}):null]})]})}));function Yt(e,t){let n="bg-primary-main text-black";return"secondary"===e?n="bg-white/30 text-black":"normal"===t&&(n="bg-secondary-light text-primary-main"),`w-[50px] h-[50px] min-w-[50px] rounded-full p-2.5 box-border flex items-center justify-center ${n}`}const Kt=(e="primary",t="normal")=>({icon:n,label:i,description:r},l)=>h(Ut,{icon:n,label:i,description:r,version:e,benefitsVersion:t},String(l)),Xt=p((({className:e="",headlineVersion:t="L",benefits:n,benefitsVersion:i="normal",buttons:r,image:l,items:a,version:s="primary",isDotted:o=!0,label:c,...d})=>u("div",{className:`w-full ${e}`,children:[u("div",{children:[c?Zt(c,s):null,h(ft,{className:"!p-0 max-w-[600px]",bgColorHeadline:s,headlineVersion:t,...d}),u(Ht,{buttons:r?.length?h(Ot,{buttons:r,className:"flex flex-col mt-5 gap-2.5"}):null,children:[n?.filter((e=>e.label))?.length?h("div",{className:"mt-3",children:n.map(Kt(s,i))}):null,a?.length?h(Gt,{className:"mt-3 text-m",items:a,version:s,isDotted:o}):null]})]}),qt(l)]})));function qt(e){return e?.src?h(B,{imageClassName:"mt-5 mx-auto block",image:{className:"block",...e}}):null}const Qt={primary:"text-primary-main border-secondary-hover",secondary:"text-white/80"},Zt=(e,t)=>h("div",{className:`px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid w-fit ${Qt[t]}`,children:e}),en=p((e=>{const{className:t="",version:n="primary"}=e;return h("section",{className:`font-sans bg-white px-4 py-6 ${Xe[n]} ${t}`,children:h(Xt,{...e})})})),tn={primary:{background:"bg-white",title:"text-primary-text",description:"!text-secondary-text text-l-light",iconText:"text-secondary-text",iconBackground:"bg-main-divider",iconConnector:"bg-secondary-light",dot:"bg-secondary-text"},secondary:{background:"bg-primary-main",title:"text-white",description:"!text-white/80 text-l-light",iconText:"text-white",iconBackground:"bg-white/30",iconConnector:"bg-white",dot:"bg-white/80"}},nn={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-[50px] w-[50px] min-w-[50px] min-h-[50px]"},rn={normal:"min-h-[70px]",small:"min-h-[50px]"},ln=p((({className:e,title:t,description:n,showLines:i=!0,steps:r,size:l="normal",version:a="primary"})=>{const s=tn[a];return u("section",{className:`box-border font-sans bg-white px-4 py-6 flex flex-col\n ${s.background} ${s.title} ${e||""}`,children:[t?h(v,{headingType:"h3",className:`text-center ${s.title}`,title:t}):null,n?h("p",{className:`text-m-light text-center ${s.description} ${t?"mt-2":""}`,children:n}):null,r?.length?h("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:h("div",{className:"flex flex-col justify-between gap-x-[101px]",children:r.map(an(l,a,i))})}):null]})})),an=(e,t,n)=>(i,r,l)=>{const a=l.length-1===r,s="normal"===e?"ml-[34px]":"ml-6",o=tn[t];return h("div",{children:u("div",{className:"flex flex-row text-center relative",children:[u("div",{className:"overflow-hidden flex-shrink-0",children:[sn(e,t)(i,r),a?null:h("div",{className:`min-h-8 h-full w-[2px] ${n?o.iconConnector:""} ${s}`})]}),u("div",{className:`flex flex-col justify-center h-fit ${rn[e]}`,children:[i.label?h("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:i.label}):null,i.description?h("div",{className:`text-s ${o.description} text-left`,children:i.description}):null]})]})},String(r))},sn=(e,t)=>(n,i)=>{const r=tn[t],l="normal"===e?"38":"27",a="normal"===e?"text-m-title":"text-m-title-xs";return h("div",{className:`${nn[e]} ${r.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:h("span",{className:`font-medium flex self-center ${r.title} ${a}`,children:(s=n?.icon,Boolean(s?.icon||s?.src)?h(B,{image:V({...n.icon},t),width:l,height:l,asSVG:!0}):h("span",{children:i+1}))})});var s},on={Buttons:({buttons:e})=>e&&e?.length?h("div",{children:e.map((({rounded:e,icon:t,...n},i)=>Mt({button:{rounded:e,icon:t,...n},buttonClassName:`mt-3 ${i>0&&e?"ml-2.5":""} ${t?"w-12 h-12":""}`,index:i})))}):null,Img:({image:e})=>e?.src?h(B,{image:{...e,className:"m-0"}}):null,List:({isDotted:e,...t})=>h(Gt,{className:"flex flex-col justify-between items-start text-m",version:"gray",isDotted:e??!0,...t}),LabelDescription:({label:e,description:t})=>u("div",{children:[e?h("div",{className:"text-xl font-medium m-0 "+(t?"mb-1":""),children:e}):null,t?h("div",{className:"text-s text-secondary-text",children:t}):null]})},cn=p((({title:e,icon:t})=>u("div",{className:"flex gap-2.5 mb-2",children:[e?h(v,{headingType:"h3",className:"font-medium",title:e}):null,t?h(B,{className:"ml-auto max-w-6 max-h-6",image:t,width:"24px",height:"24px"}):null]}))),dn=p((({tile:e,...t})=>u("div",{className:"rounded-md border-main-stroke h-full box-border border p-4",children:[h(cn,{...e?.header}),e?.data?.length?e.data.map(((e,n)=>u("div",{children:[n>0?h("div",{className:"h-5"}):null,mn(e,t)]},String(n)))):null]})));function mn(e,t){if(!e||!e.tableCellType||!(e.tableCellType in on))return null;const n=on[e.tableCellType];return h(n,{displayTable:()=>null,isVisible:!0,...e,...t})}const hn=p((({tiles:e,...t})=>e?.length?h(U,{...t,children:e.map(((e,n)=>h(dn,{tile:e,...t},String(n))))}):null)),un=p((({tiles:e,...t})=>e?.length?h("div",{className:"flex flex-col gap-3.5",children:e.map(((e,n)=>h(dn,{tile:e,...t},String(n))))}):null)),pn=p((({className:e,title:t,description:n,tariffsColumns:i,rowHeaders:r,orientation:l="vertical",...a})=>{const s=xn(i),o=gn(r,s);return u("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[t?h(v,{headingType:"h2",className:`text-center ${n?"mb-2":"mb-5"}`,title:t}):null,n?h("div",{className:"mb-5 text-center text-m",children:n}):null,h("vertical"===l?un:hn,{tiles:o,...a})]})})),xn=e=>e?.[0].data?e[0].data:[],gn=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),bn={primary:{background:"bg-white",icon:"bg-primary-main text-white",title:"text-primary-text",description:"text-secondary-text"},secondary:{background:"bg-primary-main",icon:"bg-white text-primary-main",title:"text-white",description:"text-white"},"secondary-light":{background:"bg-primary-main/10",icon:"bg-primary-main text-white",title:"text-primary-text",description:"text-secondary-text"}},fn=p((({title:e,description:t,blockVersion:n="primary",iconVersion:i,image:r,className:l="",items:a,isDotted:s=!0})=>{const o=bn[n],c="secondary"===n?"secondary":"gray";return u("section",{className:`font-sans px-4 py-[18px] flex flex-col ${o.background} ${l}`,children:["small"===i?Nn(o.icon):null,"big"===i?yn(r):null,u("div",{className:"py-0.5",children:[e?h("div",{className:`text-l font-medium mb-1 ${o.title}`,children:e}):null,t?h("div",{className:`text-s ${o.description}`,children:t}):null,a?.length?h(Gt,{className:"mt-1 text-m",items:a,isDotted:s,version:c}):null]})]})}));function Nn(e){return h("div",{className:"mb-3",children:h("div",{className:`rounded-full h-4 w-4 text-center text-xs-light ${e}`,children:"i"})})}function yn(e){return e?.src?h(B,{className:"pb-3 mr-auto",image:e}):null}const vn={Accordion:k,AccordionItem:F,ComparisonTable:ve,Footer:Ye,Gallery:qe,Header:xt,Headline:ft,LinkDocs:Ct,LinkList:je,MobileAppTile:Le,ProductBlock:en,StepsBlock:ln,TariffsTable:pn,TextBlock:fn,Placeholder:jt};function wn(e){return e?e.filter(Boolean).join(" "):""}const kn=m();const $n=p((({className:e,onClick:t,ariaLabel:n})=>h("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":n,children:Cn()}))),Cn=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[h("path",{...e,strokeMiterlimit:"10",d:"M21.48 11.95c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1 6.1M7.48 18.35l3.1 2.4c.4.4 1.3.6 1.9.6h3.8c1.2 0 2.5-.9 2.8-2.1l1.24-3.77"}),h("path",{...e,d:"M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z"})]})},Sn=p((({className:e=""})=>{const t=function(e){const[t,n]=i(0);return r((()=>{(async()=>{const[t]=await kn.getLikeCount(e);n(t?.value||0)})()}),[e]),{likeCount:t,like:l((async()=>{n(await kn.like(e))}),[e]),dislike:l((async()=>{n(await kn.dislike(e))}),[e])}}(Z().pathname);return u("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:[h($n,{onClick:Q(t.like),ariaLabel:"Поставить отметку «лайк»"}),h($n,{onClick:Q(t.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),h("span",{className:"select-none",children:t.likeCount})]})})),Tn=({slots:e,parent:t,options:n,ancestors:i=[]})=>Object.entries(e||{}).reduce(((e,[r,l])=>({...e,[r]:_n({blocks:l,parent:t,slotName:r,options:n,ancestors:i})})),{});const _n=({blocks:e,parent:t,slotName:n=null,options:i,ancestors:r=[]})=>(e||[]).map(((e,l)=>function({block:e={},options:t,ancestors:n=[]}){const{key:i,page:r,blockDecorator:l,blocksRegistry:a={}}=t,{type:s,slots:o,blocks:c}=e;s&&s in a||console.warn(`No block with "${s}" is registered`);const d=s&&a[s],m={parent:e,options:t,ancestors:n},u=_n({...m,blocks:c}),p=o?Tn({...m,slots:o}):{};return l({blockClassName:`scroll-mt-12 ${wn(e.style)}`,block:e,ancestors:n,render:({block:e,blockClassName:t})=>{const{content:l}=e;return d?h(d,{page:r,block:e,className:t,ancestors:n,slots:p,...l,children:u},i):null}},i)}({block:e,options:{...i,key:`${i.key?i.key:e.type}-${l}`},ancestors:[...r,[t,n]]}))),In=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),jn=p((e=>{const{className:t="",blocksRegistry:n,blockDecorator:i,data:r={}}=e,{style:l,blocks:a,slots:s,likeControl:o,colorPalette:c="pc"}=r,d={key:"",blocksRegistry:n,page:r,blockDecorator:i||In},m=Tn({slots:s,parent:r,options:d});return u("section",{className:`relative ${wn(l)} ${t}`,"data-theme":c,children:[m?.header?h("div",{className:"mb-5 shadow-[0_8px_32px_0px_#00000014]",children:m.header}):null,a?.length?u("div",{className:"container grid grid-cols-12 gap-1",children:[_n({blocks:a,parent:r,options:d}),m?.footer?m.footer:null]}):null,o?h("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:h(Sn,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto"})}):null]})}));jn.childrenTypes=[],jn.slots=()=>["header","footer"];e.Blocks=vn,e.ContentPage=jn,e.DaDataAPI=o,e.LikeAPI=m,e.handlerDecorator=Q,e.joinList=function(e){return t=>t.reduce(((t,n,i)=>t.length?t.concat({...e,key:i},n):[n]),[])},e.packageVersion="0.6.27",e.projectSettings=c,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=q,e.useRouter=Z,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UniMobileBlocks={})}(this,(function(e){"use strict";let t;const n=e=>(...n)=>t[e](...n),i=n("useState"),r=n("useEffect"),l=n("useCallback"),a=n("useMemo"),s=n("useRef");function o(e=""){return{getFetcherAddress:async function(){if(!("geolocation"in navigator))return null;try{const t=await(async()=>new Promise((e=>navigator.geolocation.getCurrentPosition((({coords:t})=>e(t))))))(),n=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await n.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}}const c=new class{_={PROD_BRANCH:"master",FORCED_DRAFT_FLOW:!1};setup(e){this._=e}get TEST_BRANCH(){return this._.TEST_BRANCH}get RC_BRANCH(){return this._.RC_BRANCH}get PROD_BRANCH(){return this._.PROD_BRANCH}get FORCED_DRAFT_FLOW(){return this._.FORCED_DRAFT_FLOW}get ASSIST_PROJECT_ID(){return this._.ASSIST_PROJECT_ID}get SITEMAP(){return this._.SITEMAP}get FOOTER(){return this._.FOOTER}get CDN(){return this._.CDN}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},d="likesToken";function m(){async function e(){try{const e=JSON.parse(globalThis.localStorage.getItem(d)||"");if(e?.token)return e}catch(e){}try{const e=await fetch("/assist/v1/public/auth",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:t,name:n}=await e.json();return globalThis.localStorage.setItem(d,JSON.stringify({token:t,name:n})),{token:t,name:n}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...t){if(!t.length)return[];const{token:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n},body:JSON.stringify({node_ids:t})}),{likes:i}=await e.json();return i||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:n,name:i}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:t,user_name:i})}),{likes:r}=await e.json();return r||0}catch(e){return console.error(e),0}},dislike:async function(t){if(!t)return 0;const{token:n,name:i}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:t,user_name:i})}),{likes:r}=await e.json();return r||0}catch(e){return console.error(e),0}}}}const h=(...e)=>globalThis._uni._jsx(...e),u=(...e)=>globalThis._uni._jsxs(...e),p=e=>{const t=e;return t._tmpl||(t._tmpl=globalThis.__UNI_REACT__?e:x(e)),t._tmpl},x=e=>{function t(t,n){const{children:i,...r}=t||{},l=n?.slots?.default,a=i||l&&l();return e(Object.assign(r,a&&{children:a}),n)}return t.inheritAttrs=!1,t};class g{static inst=new g;subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]||=[],this.subscribers[e]?.push(t);const n=this.subjectsStateMap[e];return n&&t(n),()=>{this.unsubscribe(e,t)}}unsubscribe(e,t){this.subscribers[e]=this.subscribers[e]?.filter((e=>e!==t))}fire(e,t){this.subjectsStateMap[e]=t,this.subscribers[e]?.forEach((e=>e(t)))}subject(e,t){this.subjectsStateMap[e]=t}}const b=100,f={threshold:new Array(18).fill(0).map((function(e,t){const n=(t+1)/b+.82;return Math.round(n*b)/b}))},N=p((({className:e,block:t,tag:n="section",role:l,children:o})=>{const c=n,{anchor:d,labels:m}=t||{},[u,p]=i(!0),x=s({}),b=a((()=>(({anchor:e,anchorClickRef:t})=>n=>{if(!n?.length)return;const[i]=n;!i.isIntersecting||i.boundingClientRect.top>150||(t?.current?.isScrolling&&t.current.label===`#${e}`?(g.inst.fire("anchorClick",{isScrolling:!1,label:void 0}),g.inst.fire("tab",{type:"link",label:e})):t?.current?.isScrolling||g.inst.fire("tab",{type:"link",label:e}))})({anchor:d,anchorClickRef:x})),[d]),N=function(e,t){const n=s(null);return r((()=>{if(!n.current)return;const i=new IntersectionObserver(e,t);return i.observe(n.current),()=>{i.disconnect()}}),[e,t]),n}(b,f);return r((()=>g.inst.subscribe("anchorClick",(e=>{p(!0),x.current=e}))),[]),r((()=>g.inst.subscribe("tab",(e=>{if("group"===e.type){const n=m?.length||t?.anchor;p(!e.label||(!n||Boolean(m?.includes(e.label))))}else(n=e.label)&&(globalThis.document.location.hash=n),p(!0);var n}))),[]),u?h(c,{className:e,role:l,...d?{id:d,ref:N}:{},children:o}):null}));const y={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"},v=p((e=>{const{className:t,headingType:n="h3",title:i,as:r="h3"}=e;return h(r,{className:`font-sans font-medium m-0 ${y[n]} ${t||""}`,children:i})})),w=p((({children:e})=>h("ul",{className:"list-none m-0 p-0",children:e}))),k=p((({title:e,description:t,className:n="",children:i,...r})=>u(N,{className:`py-6 px-4 font-sans bg-white text-primary-text ${n}`,...r,children:[e?h(v,{headingType:"h3",className:"mb-2 text-center",title:e}):null,t?h("div",{className:"mb-5 text-m-light text-center",children:t}):null,h(w,{children:i})]})));k.childrenTypes=["AccordionItem"];const $=p((({isFoldButtonOnTop:e=!1,unfoldedByDefault:t=!1,renderFoldableSection:n,renderFoldButton:r})=>{const[a,s]=i(t),o=l((()=>{s((e=>!e))}),[]),c=n({isUnfolded:a,onToggle:o}),d=r?r({isUnfolded:a,onToggle:o}):null;return u("div",e?{children:[d,c]}:{children:[c,d]})})),C=p((({className:e="",isUnfolded:t,children:n})=>{const i=s(null);return r((()=>{i.current&&(i.current.style.maxHeight=t?`${i.current.scrollHeight}px`:"")}),[t,n?.length]),h("div",{ref:i,className:`transition-max-h duration-300 overflow-hidden max-h-0 ${e}`,children:n})})),S={normal:"",color:"text-primary-main",black:"text-black",white:"text-black"},T=p((({className:e="",imageClassName:t="",name:n="",alt:i=`Иконка ${n}`,title:r=i,iconVersion:l="color",asSVG:a,...s})=>{const o=`${c.CDN||""}icons/${n}.svg`;return a&&"normal"!==l?h(j,{className:e,children:u("svg",{className:[I(e,s.width),S[l],t,_(l)].join(" "),...s,"aria-hidden":"true",children:[r?h("title",{children:r}):null,i?h("desc",{children:i}):null,h("use",{href:`${o}#icon`,xlinkHref:`${o}#icon`})]})}):h("img",{className:e,src:o,alt:i,title:r,...s,"aria-hidden":"true"})})),_=e=>"white"===e?"invert":"",I=(e,t)=>t?`width: ${t}px `:"w-full h-full",j=p((({className:e,children:t})=>e?h("div",{className:e,children:t}):t));function D(e){return"string"==typeof e?"normal":e?.iconVersion||"normal"}const A=(e,t)=>e.media&&t.media?e.media-t.media:0,R=p((({className:e="",image:t,imageClassName:n="",isMobile:i=!1})=>{if(!t||!t?.sources&&!t?.src)return null;return u("picture",{className:`${i?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.sort(A).map((({src:e,format:n,media:i},r)=>h("source",{srcSet:e,type:M(n),media:i?`(max-width: ${i}px)`:"",...t.size},`${r}_${e}`))):null,O(t,n,i)]})})),O=(e,t="",n=!1)=>{const i={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"100%"},r=e.title||"",l=e.alt||e.title,a=n?"m-auto":"m-0";return h("img",{src:e.src,className:`${a} ${t}`,alt:l,title:r,style:i,...e.size})};function M(e){return e?`image/${String(e)}`:void 0}const L=p((({className:e="",image:t,imageClassName:n="",isMobile:i,...r})=>{if(!t)return null;const l="string"==typeof t?t:t.icon;return l||""===l?l.length?h(T,{className:e,imageClassName:n,iconVersion:D(t),name:l,...r}):null:h(R,{className:e,imageClassName:n,image:t,isMobile:i})})),B=p((e=>h(L,{...e,isMobile:!0}))),V=(e,t="primary")=>({...e,iconVersion:e?.iconVersion??("secondary"===t?"white":"color")}),E=["PlusIcon","MinusIcon"],F=p((({className:e="",ancestors:t,label:n="",labelIcon:i,isExpanded:r,children:l})=>{const{bordered:a}=function(e,t){const{content:n}=function(e,t){const[n]=(e||[]).map((e=>e)).reverse().find((([e])=>e&&"type"in e&&(!t||t===e.type)))||[];return n||{}}(e);return n||t}(t,{});return h("li",{className:`${a?"border p-4 rounded mb-4":"border-0 border-b last:border-b-0"} border-solid border-main-divider ${e}`,children:h($,{isFoldButtonOnTop:!0,unfoldedByDefault:r,renderFoldableSection:({isUnfolded:e})=>h(C,{className:"flex flex-wrap group-last:last:pb-0 gap-5 [&>*]:p-0",isUnfolded:e,children:l}),renderFoldButton:({isUnfolded:e,onToggle:t})=>h(P,{className:a?"":"py-[14px] px-0",label:n,icon:E[Number(e)],primaryIcon:i,onClick:t})})})}));F.childrenTypes=[];const P=p((({className:e,icon:t,label:n,primaryIcon:i,onClick:r})=>u("button",{className:`border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text group cursor-pointer ${e}`,onClick:r,children:[u("span",{className:"text-m-title-xs font-medium pr-2.5 flex group-hover:text-primary-main",children:[i?h(B,{image:V(i),className:"mr-3 flex-shrink-0",width:"24",height:"24",asSVG:!0}):null,n]}),h(B,{className:"flex-shrink-0",image:V({icon:t}),width:"24",height:"24",asSVG:!0})]}))),z=p((({children:e,activeIndex:t,indexFraction:n,showDots:i})=>{const r=e=>n=>{if(e===t)return;const i=n.currentTarget.parentElement?.previousElementSibling;i?.children[e]?.scrollIntoView({behavior:"smooth",block:"nearest"})};return i&&e?.length?h("div",{className:"flex gap-2 mx-auto mt-5 w-fit",children:e?.map(((e,i)=>h("div",{onClick:r(i),className:"bg-primary-main opacity-30 w-1.5 h-1.5 min-w-1.5 min-h-1.5 rounded-full",style:G(i,t,n),"aria-hidden":!0},String(i))))}):null})),G=(e,t,n)=>{if(e<t||e>t+1)return;const i=1-n;return e===t?{opacity:""+(.3+.7*i),width:6+16*i+"px"}:{opacity:""+(.3+.7*n),width:6+16*n+"px"}},H=p((({className:e="",children:t,...n})=>h("div",{className:`snap-center snap-always min-w-full box-border ${e}`,role:"listitem",...n,children:t}))),W=e=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e}px`}),J=p((({className:e="",children:t,activeIndex:n,onScroll:i,gap:r=14,padding:l=16})=>h("div",{className:`overflow-auto flex horizontal-list no-scrollbar ${e}`,style:{...W(l),gap:`${r}px`},role:"list",onScroll:i,children:t?.length?t?.map(((e,t)=>h(H,{style:W(l/4),"aria-current":Boolean(n===t),children:e},String(t)))):h(H,{children:t})}))),U=p((({className:e,gap:t=14,padding:n=16,showDots:r=!0,onSlideChange:l,children:a})=>{const[s,o]=i(0),[c,d]=i(0),m={activeIndex:s,indexFraction:c,showDots:r,children:a};return u("div",{className:e,children:[h(J,{gap:t,padding:n,activeIndex:s,onScroll:e=>{const{scrollLeft:i,clientWidth:r,childElementCount:a,scrollWidth:c,children:m}=e?.currentTarget,h=m[0].offsetWidth-n/2,u=(({gap:e,padding:t,clientWidth:n,scrollWidth:i,childElementCount:r,itemWidth:l})=>{const a=i-n;if(2===r)return[[0,a],[a,i]];const s=l+e,o=n-e-t,c=r-2,d=new Array(r).fill(0).map(((e,t)=>0===t||t===c?[t>0?a-o:0,t>0?a:o]:[(t-1)*s+o,t*s+o]));return d[r-1]=[a,i],d})({gap:t,padding:n,clientWidth:r,scrollWidth:c,childElementCount:a,itemWidth:h}),{index:p,fraction:x}=((e,t)=>{const n=t.findIndex((([t,n])=>t<=e&&e<n));if(n<0)return{index:n,fraction:0};const[i,r]=t[n];return{index:n,fraction:(e-i)/(r-i)}})(i,u);p!==s&&l&&l(),o(p),d(x)},children:a}),h(z,{...m})]})})),Y=e=>e?.includes("//"),K=e=>(e||"").replace(/\/?\?.*/,""),X=e=>{if(!e||!Y(e))return;const t=e,n=t.indexOf("//"),i=t.indexOf("/",n+"//".length);return-1!==i?t.substring(0,i):t};var q=Object.freeze({__proto__:null,isURL:Y,withoutQuery:K,getOrigin:X,getHash:e=>{if(!e||!Y(e))return;const t=e.indexOf("#");return-1!==t?e.substring(t,e.length):void 0},isHash:e=>e?.startsWith("#")});const Q=(e,t)=>Q._impl(e,t);function Z(){return Z._impl()}function ee(){const e=Z();return t=>{const n=((e,t)=>{if(!e)return e;const n=X(t?.href);return n?e.replace(n,"")||"/":e})(t.href,e);return{...t,href:n,"aria-label":t.text,onClick:Q((i=>{t.onClick&&t.onClick(i);const r=n&&!Y(n),l=!t.target||"_self"===t.target;r&&l&&(i?.preventDefault(),e.push(n))}),t)}}}Q._impl=e=>e,Q.setup=e=>{Q._impl=e},Z._impl=()=>({href:globalThis.location?.href||"/",pathname:globalThis.location?.pathname||"/",query:{},push:()=>{},replace:()=>{}}),Z.setup=e=>{Z._impl=e};const te={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:""},ne="bg-main-divider text-main-disabled",ie={primary:ne,secondary:ne,white:ne,link:""},re="text-center font-sans select-none",le={primary:"group-hover:brightness-0 group-hover:invert",secondary:"group-hover:brightness-0 group-hover:invert",white:"group-hover:brightness-0 group-hover:invert",link:""},ae=p((e=>{const{text:t,aboveText:n,appendLeft:i,appendRight:r,version:l="primary"}=e;return u("div",{className:se(e),children:[i?h("div",{className:le[l],children:i}):null,oe(e)?u("div",{children:[n?h("div",{className:"text-xs-light text-left",children:n}):null,h("div",{className:"text-left "+(n?"text-s -mt-0.5":"text-l"),children:t})]}):null,r?h("div",{className:le[l],children:r}):null]})})),se=e=>{const{version:t,aboveText:n,rounded:i}=e;if("link"===t)return"";const r="gap-2 "+(n?"py-2.5 px-7":"py-4 px-9");return["group flex items-center justify-center",oe(e)?r:"h-12 w-12",i?"rounded-full":""].join(" ")},oe=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),ce=({className:e,rounded:t,version:n})=>["inline-block",re,n?ie[n]:"",t?"rounded-full":"rounded-md",e].join(" "),de=({className:e,rounded:t,version:n})=>[re,"border border-transparent inline-block cursor-pointer no-underline focus:border-primary-focus focus:border",n?te[n]:"",t?"rounded-full":"rounded-md",e].join(" "),me=p((({disabled:e,children:t,...n})=>{const i=ee()(n),r=t??h(ae,{...i});return h(e?ue:he,{...i,children:r})})),he=p((({className:e="",href:t,rel:n,target:i,ariaLabel:r,version:l,rounded:a,onClick:s,children:o})=>h("a",{className:de({className:e,version:l,rounded:a}),href:t,rel:n,target:i,"aria-label":r,role:t?"link":"button",onClick:s,children:o}))),ue=p((({className:e,ariaLabel:t,version:n,rounded:i,children:r})=>h("div",{role:"button","aria-disabled":"true","aria-label":t,tabIndex:-1,className:ce({className:e,rounded:i,version:n}),children:r}))),pe=(e=!1)=>e?"text-white":"",xe=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),ge=p((({icon:e,image:t,title:n,subtitle:i,isFillGradient:r})=>u("div",{role:"columnheader",children:[e?h(B,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}):null,t?.src&&h("div",{className:"mb-3.5",children:h(B,{image:t})}),n?h(v,{headingType:"h4",className:pe(r),title:n}):null,i?h("div",{className:xe(r),children:i}):null]}))),be=p((({cell:e,rowHeader:t,isFillGradient:n=!1})=>h("div",{className:"box-border flex flex-col",role:"cell",children:h("div",{className:"h-full border-main-divider border border-t-0 border-x-0",children:e.map(fe(n,t))})}))),fe=(e,t)=>({label:n,description:i},r)=>u("div",{className:"flex justify-between text-s py-3.5",children:[h("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),u("div",{className:"basis-1/2",children:[n?h("div",{className:"text-right "+(e?"text-white":""),children:n}):null,i?h("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:i}):null]})]},String(r)),Ne=p((({header:e,columnData:t,visibleRowLength:n=0,isFillGradient:i,showRow:r,onToggleColumn:l})=>{const a=t?.slice(0,r?t.length:n),s=i?"secondary":"primary";return u("div",{className:`border border-main-stroke rounded-md p-4 mb-3.5 ${i?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[h(ge,{...e,isFillGradient:i}),a?.length?a.map((({rowHeader:e,cell:t},n)=>h(be,{cell:t,rowHeader:e,isFillGradient:i},String(n)))):null,r&&e?.link?h(me,{href:e.link.href,target:e.link.target,version:s,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}):null,ye({onToggleColumn:l,isFillGradient:i,showRow:r})]})})),ye=({onToggleColumn:e,isFillGradient:t,showRow:n})=>h("div",{className:"mt-5",role:"cell",children:h("a",{role:"link",onClick:e,className:"text-s font-medium cursor-pointer "+(t?"text-white/80":"text-primary-main"),children:n?"Скрыть":"Показать описание"})}),ve=p((e=>{const{className:t,title:n}=e;return u("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${t||""}`,children:[n?h(v,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:n}):null,h("div",{role:"table",children:h(we,{...e})})]})})),we=p((({columns:e,rowHeaders:t,isColoredFirstColumn:n,visibleRowLength:r,orientation:a,...s})=>{const[o,c]=i(new Array(e?.length||0).fill(!r)),d=l((e=>{const t=(t,n)=>n===e?!t:t;c((e=>e.map(t)))}),[]),m=l((()=>c((e=>new Array(e.length).fill(!1)))),[]),u=e?.map((({data:e,header:i},l)=>{return h(Ne,{visibleRowLength:r,showRow:o[l],header:i,columnData:(a=e,a?.map(((e,n)=>({cell:e,rowHeader:t?.[n]?.title})))),isFillGradient:0===l&&n,onToggleColumn:()=>d(l),...s},String(l));var a}));return"horizontal"===a?h(U,{onSlideChange:m,children:u}):u})),ke=new Map;function $e(e,t,{fallback:n}={}){const l=a((()=>Ce(e)),[e]),[s,o]=i(),[c,d]=i(),m=e=>{o(e),d(void 0)},h=e=>{o(void 0),d(e)};r((()=>{if(!l.every((e=>null===e)))try{const e=t(...l);"then"in e?(e=>{e.then((e=>ke.get(l)||e)).then(m).catch(h)})(e):m(e)}catch(e){h(e)}}),[t,...l]);const u=l[0],p=n&&"string"==typeof u&&n[u];return{data:s||c||!p?s:p,error:c,mutate:()=>Promise.resolve(void 0),isValidating:!1}}function Ce(e){return e?Array.isArray(e)?e:e instanceof Function?Ce(e()):[e]:[e]}async function Se(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await n.json()}function Te(e,t={}){const{data:n}=$e(`/wcms-resources/${e}.json`,Se,{fallback:t});return n||{}}const _e=p((({className:e,isMobile:t=!1})=>{const{term:n,setTerm:r}=(()=>{const[e,t]=i("");return{term:e,setTerm:e=>t(e)}})(),l=t?"text-s":"text-l-light",a=t?" placeholder-transparent":"h-full",s=t?"some search":void 0;return u("form",{className:`font-sans relative ${e}`,children:[u("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[h("div",{className:t?"w-5 h-5":"w-6 h-6",children:h(B,{image:"LoupeIcon",width:"24",height:"24"})}),n?null:h("label",{htmlFor:"search-bar-input",className:`text-secondary-text ${l}`,children:"Поиск по сайту"})]}),h("input",{id:"search-bar-input",className:`h-12 pl-12 w-full peer text-l text-black border border-solid rounded-md box-border\n outline-none pr-[6%] border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text ${a}`,value:n,onChange:e=>r(e.target.value),type:"text",name:"search-bar-input",placeholder:s}),t?h("button",{className:"visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none",onClick:e=>{e.preventDefault(),r("")},children:h(B,{image:"CloseIcon",width:"24",height:"24"})}):h(me,{version:"primary",text:"Найти",className:"invisible peer-focus:visible absolute top-[3px] right-1",onClick:e=>{e?.preventDefault(),console.log("click")},children:h("div",{className:"text-s px-9 py-2.5",children:"Найти"})})]})})),Ie=p((e=>h(_e,{...e,isMobile:!0}))),je=p((({className:e="",documents:t,...n})=>h(N,{className:`font-sans bg-white mt-[10px] ${e}`,...n,children:h("ul",{className:"flex flex-col text-s text-secondary-text p-0",children:t?.length?De(t):null})}))),De=e=>e.map(((e,t)=>{const{text:n,...i}=e;return h("li",{className:"mb-4 list-none",children:h("a",{className:"hover:text-primary-main",role:"link",...i,children:n||null})},`list_item_${String(t)}`)})),Ae={"bg-white":"color",transparent:"white"},Re={"bg-white":"text-primary-main",transparent:"text-white"},Oe={"bg-white":"text-black",transparent:"text-white"},Me=p((({className:e="",href:t,children:n,targetBlank:i,bgColor:r="bg-white",showTitle:l=!0})=>u("a",{className:`inline-flex items-center font-sans no-underline ${e}`,href:t||"https://rshb.ru/",target:i?"_blank":"_self","aria-label":"Россельхозбанк",children:[h(B,{image:{icon:"LogoIcon",iconVersion:Ae[r]},className:`${Re[r]}`,width:"34",height:"34",asSVG:!0}),l?h("span",{className:`${Oe[r]} text-s font-medium ml-2.5`,children:n||"Россельхозбанк"}):null]}))),Le=p((({className:e="",title:t="Мобильное приложение",description:n,href:i="#"})=>h("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light font-sans ${e}`,children:i?u("div",{className:"flex",children:[h("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-[50px] h-[50px]",children:h(Me,{className:"w-8",bgColor:"transparent",showTitle:!0})}),u("a",{href:i,target:"_blank",className:"flex flex-col justify-center pl-3",children:[h("div",{className:"text-s font-medium mb-[3px]",children:t}),h("div",{className:"text-s text-secondary-text",children:n})]})]}):null}))),Be=p((({className:e="",items:t,hasButton:n})=>u("div",{className:e,children:[t?.length?t.map(Ve):null,n?h(me,{version:"primary",className:"mb-6 w-full",href:"/",target:"_blank",ariaLabel:"Обратная связь",text:"Обратная связь"}):null]}))),Ve=(e,t)=>{const{type:n,text:i,description:r}=e;return u("div",{className:"mb-4",children:[h("div",{children:Ee(n,i)}),h("div",{className:"mt-1 text-s-light text-secondary-text",children:r})]},String(t))},Ee=(e,t="")=>{switch(e){case"tel":return h("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${Fe(t)}`,children:t});case"email":return h("a",{className:"text-xl-light text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return h("span",{children:t})}},Fe=e=>e.replaceAll(/\D/g,""),Pe=p((({className:e="",index:t,text:n,...i})=>{const r=ee(),{href:l,target:a,onClick:s}=r(i);return h("a",{className:`text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:l,target:a,onClick:s,children:n||`Документ ${t}`})})),ze=p((({title:e,links:t,className:n=""})=>u("div",{className:n,children:[h("span",{className:"text-primary-text text-s font-medium",children:e}),t?.length?h("div",{className:"flex flex-col gap-2 pt-3",children:t.map(((e,t)=>h(Pe,{index:t,className:"text-s",...e},String(t))))}):null]}))),Ge=[{origins:["t.me","telegram.org"],icon:{icon:"TelegramIcon"},label:"Телеграм"},{origins:["vk.com"],icon:{icon:"VKIcon"},label:"ВКонтакте"},{origins:["ok.ru"],icon:{icon:"OkIcon"},label:"Одноклассники"},{origins:["apps.apple.com"],icon:{icon:"AppleIcon"},label:"App Store"},{origins:["play.google.com"],icon:{icon:"PlayMarketIcon"},label:"Google Play"}],He=p((({version:e="primary",...t})=>{const n=ee(),{href:i,onClick:r}=n(t),{icon:l,label:a}=Ge.find((({origins:e})=>e.some((e=>i?.includes(e)))))||{};if(!l)return null;return h("a",{className:`flex items-center justify-center rounded-md w-14 h-14 group box-border ${"secondary"===e?"bg-white hover:bg-secondary-hover":"border-solid border-[1px] border-main-divider hover:border-transparent hover:bg-primary-main"} ${"primary"===e?"hover:text-black":""}`,href:i,"aria-label":a,target:"_blank",rel:"noopener noreferrer",onClick:r,children:l?h(B,{image:V(l),imageClassName:"group-hover:text-white",width:"24",height:"24",asSVG:!0}):null})})),We=p((({className:e="",media:t,version:n})=>h("div",{className:`flex gap-2 items-start justify-start pt-6 pb-6 ${e}`,children:t?.map(((e,t)=>h(He,{version:n,...e},String(t))))}))),Je=p((({className:e="",index:t,...n})=>{const i=ee(),{href:r,target:l,text:a,onClick:s}=i(n);return h("a",{className:`text-xs-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${e}`,href:r,target:l,onClick:s,children:a||`Документ ${t}`})})),Ue=p((({className:e="",links:t})=>u("div",{className:e,children:[h("div",{className:"py-6",children:h("span",{className:"text-xs-light text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?h("div",{className:"flex flex-col justify-start items-start gap-2",children:t.map(((e,t)=>h(Je,{index:t,...e},String(t))))}):null]}))),Ye=p((({className:e="",...t})=>{const n=t.page?.fallback,i=Te(c.SITEMAP||"sitemap",n),{documents:r,relatedEnterprises:l,contacts:a,socialMedia:s,horizontalNavigationTitle:o}=Te(c.FOOTER||"footer",n);return u("footer",{className:`font-sans px-4 py-[26px] bg-white ${e}`,children:[h(Be,{className:"overflow-hidden",items:a,hasButton:!0}),h(w,{children:i.topItems?.map(((e,n)=>h(F,{label:e.text,...t,children:h(je,{documents:e.items,...t})},String(n))))}),h("div",{children:i?.dispositions?.map(Ke)}),h(Le,{title:"Мобильное приложение",description:"Загрузить для IOS и Android",...t}),h(Ie,{className:"grow"}),h(We,{className:"pb-4",media:s}),h(ze,{title:o,links:l}),h(Ue,{links:r})]})})),Ke=(e,t)=>{const{icon:n,href:i,text:r}=e;return u(me,{version:"link",href:i,className:"flex text-s mb-4 w-6",children:[n?h(B,{className:"pr-1",image:V(n),width:"24",height:"24",asSVG:!0}):null,h("span",{className:"pl-2.5 font-medium text-primary-text",children:r})]},`footer-${t}`)},Xe={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},qe=p((({title:e,description:t,cards:n=[],className:i,orientation:r="horizontal"})=>u("section",{className:`relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${i}`,children:[u("div",{className:"flex flex-col items-center mb-5",children:[e?h(v,{headingType:"h3",className:`text-center ${t?"mb-2":"mb-5"}`,title:e}):null,t?h("div",{className:"text-m max-w-[600px] text-center mb-5",children:t}):null]}),Qe(r,n)]})));function Qe(e,t){return"horizontal"===e?h(U,{children:t?.map(Ze)}):h("div",{className:"grid gap-[14px]",children:t?.map(Ze)})}function Ze(e,t){return u("div",{className:`h-full justify-between box-border horizontal-list-item border-solid border rounded-md border-main-stroke p-4 flex flex-col\n ${Xe[e.version??"primary"]}`,children:[u("div",{children:[et(e.icon),e.title?h("h3",{className:"text-m-title-xs font-medium m-0",children:e.title}):null,e.description?tt(e):null,e.items?.length?it(e.items,e.isDotted,e.version):null]}),e?.button?.text?(n=e.button,h(me,{className:"mt-3",...n})):null]},t);var n}const et=e=>e?.src||e?.icon?h("div",{className:"flex justify-center",children:h(B,{className:"mb-3.5",image:e})}):null;function tt(e){return h("div",{className:"text-secondary-text mt-1 text-s "+("secondary"===e.version?"text-white opacity-80":""),children:e.description})}const nt={primary:"bg-primary-text",secondary:"bg-white",gray:"bg-secondary-text"};function it(e,t,n="primary"){return h("section",{className:"mt-3",children:e.map(((e,i)=>u("div",{children:[t?h("div",{className:`rounded-full inline-block mr-3 mt-2 w-2 h-2 min-w-2 min-h-2 ${nt[n]}`}):null,h("span",{className:"text-m font-medium",children:e.title}),h("span",{className:"text-s pl-2 "+("primary"===n?"text-secondary-text":""),children:e.text})]},String(i))))})}const rt=(e,t,n=((e,t)=>t.startsWith(e)))=>n(K(e),K(Y(e)?t.href:t.pathname)),lt=e=>t=>rt(t.href,e),at=e=>t=>t.items?.some(lt(e))||rt(t.href,e)||((e,t)=>X(e)===X(t.href))(t.href,e),st="absolute left-0 -bottom-3 w-full h-[2px]",ot=p((({className:e="",text:t,href:n,target:i,active:r,onClick:l,children:a,bgColor:s="bg-white"})=>u("a",{className:`relative inline-block bg-transparent text-center no-underline ${e}`,href:n,target:i,onClick:l,children:[h("span",{className:ct(s,r),children:t||a}),r?h("div",{className:dt(s,r)}):null]}))),ct=(e,t=!1)=>{let n="text-white";return"bg-white"===e&&(n=t?"text-primary-main":"text-secondary-text hover:text-primary-main"),`${n} font-sans text-s`},dt=(e,t=!1)=>t?`${"bg-white"===e?"bg-primary-main":e} ${st}`:st,mt=o("https://10.80.4.9");const ht=p((({burgerSubMenu:e,onClick:t,defaultLocation:n="",children:a})=>{const[s,o]=function(e){const[t,n]=i(e);return r((()=>{n(globalThis?.localStorage.getItem("location")||e)}),[e]),[t,l((()=>{mt.getFetcherAddress().then((t=>{const i=t||e;globalThis?.localStorage.setItem("location",i),n(i)}))}),[e])]}(n);return u("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20",children:[h("button",{className:"absolute top-4 right-4 border-none bg-transparent cursor-pointer",onClick:t,children:h(B,{image:"CloseIcon",width:"24",height:"24",asSVG:!0})}),u("button",{onClick:o,className:"flex items-center text-s text-secondary-text p-0 mb-4 bg-transparent cursor-pointer",children:[h(B,{image:"GeolocationIcon",width:"20",height:"20",className:"text-primary-main box-border mr-2",asSVG:!0}),s]}),a,h("div",{className:"mb-7",children:e?.map(ut)}),h(Ie,{className:"grow"})]})})),ut=(e,t)=>{const{icon:n,href:i,text:r}=e;return u("a",{href:i,className:"flex text-s mb-4 hover:text-primary-main",children:[n?h(B,{className:"text-primary-main pr-1",image:n,width:"24",height:"24",asSVG:!0}):null,h("span",{className:"font-medium pl-0.5",children:r})]},`headerSubMenu-${t}`)},pt=p((({onClick:e,bgColor:t})=>u("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-[50px]",children:[u("div",{className:"flex items-center",children:[h("button",{className:"pl-0 pr-4 border-0 bg-transparent cursor-pointer",onClick:e,"aria-label":"Открыть меню",children:h(B,{image:{icon:"BurgerIcon",iconVersion:"bg-white"===t?"black":"white"},className:"text-primary-text w-6 h-6",width:"24",height:"24",asSVG:!0})}),h(Me,{className:"mr-8",bgColor:t})]}),h("button",{className:("bg-white"===t?"text-primary-main":"text-white")+" text-s border-0 bg-transparent cursor-pointer",children:"Войти"})]}))),xt=p((({className:e="",bgColor:t="bg-white",...n})=>{const r=Z(),{page:l}=n,a=l?.fallback,{topItems:s,dispositions:o,defaultLocation:d}=Te(c.SITEMAP||"sitemap",a),m=s?.find(at(r)),p=m?.items,x=(e=>(t=[])=>{const n=t?.filter(lt(e));return n?.length?(i=e=>e.href?.length||0,e=>e.reduceRight(((e,t)=>i(e)>i(t)?e:t)))(n):void 0;var i})(r)(p),[g,b]=i(!1),f=()=>b(!g);return u("header",{className:`${t} ${e}`,children:[u("div",{className:"container px-4 py-0 box-border",children:[h(pt,{onClick:f,bgColor:t}),h("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-[50px]",children:h("div",{className:"flex no-scrollbar horizontal-list h-full items-center",children:p?.map(((e,n)=>h(ot,{className:"mr-8 whitespace-nowrap text-s",active:e===x,bgColor:t,...e},String(n))))})})]}),g?h(ht,{onClick:f,burgerSubMenu:o,defaultLocation:d,children:h(w,{children:s?.map(((e,t)=>h(F,{label:e.text,...n,children:h(je,{documents:e.items,...n})},String(t))))})}):null]})})),gt={left:"text-left",center:"text-center",right:"text-right"},bt={transparent:{background:"bg-transparent",text:"text-primary-text",description:"text-primary-text"},primary:{background:"bg-white",text:"text-primary-text",description:"text-primary-text"},secondary:{background:"bg-primary-main",text:"text-white",description:"text-white/80"}},ft=p((({bgColorHeadline:e="transparent",className:t="",title:n,description:i,image:r,align:l="left"})=>{const a=bt[e];return u("section",{className:`px-4 py-6 flex flex-col gap-2.5 ${a.background} ${t}`,children:[n?h(v,{headingType:"h2",className:`${a.text} ${gt[l]}`,title:n}):null,i?h("p",{className:`text-m ${a.description} ${gt[l]}`,children:i}):null,r?.src&&h("div",{className:"mt-2.5 mx-auto flex justify-center",children:h(B,{image:r})})]})})),Nt=p((({className:e,iconClassName:t,textClassName:n,suffixClassName:i,doc:r,icon:l})=>{const{text:a,fileSize:s,...o}=r;return u("a",{className:e,role:"link",...o,children:[l?h(B,{className:t,image:V(l),width:"24px",height:"24px",asSVG:!0}):null,a?u("span",{className:n,children:[a,h("span",{className:i,children:o?.href&&yt(vt(o.href),s)})]}):null]})})),yt=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),vt=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},wt=p((({className:e="",doc:t,icon:n})=>h(Nt,{className:`flex h-full box-border ${e}`,iconClassName:"mr-3 min-w-6 min-h-6",doc:t,icon:n}))),kt=p((({hasBorder:e=!0,documents:t,icon:n})=>h(U,{className:"text-s text-primary-main mt-5",children:t?.length?t.map(((t,i)=>h(wt,{className:e?"rounded-md border-main-stroke border border-solid p-4":"",doc:t,icon:n},String(i)))):null}))),$t=p((({hasBorder:e=!0,documents:t,icon:n})=>h("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,i)=>h("div",{role:"listitem",children:h(wt,{className:e?"rounded-md border-main-stroke border border-solid p-4":"",doc:t,icon:n})},String(i)))):null}))),Ct=p((({className:e="",title:t,description:n,icon:i={icon:"DocIconMonoColor"},documents:r,orientation:l="vertical",hasBorder:a=!0,...s})=>u("section",{className:`font-sans text-primary-text py-6 px-4 bg-white overflow-x-hidden ${e}`,children:[h(ft,{className:"!p-0 "+(n?"gap-2":"gap-5"),title:t,description:n,align:"center",...s}),h("vertical"===l?$t:kt,{hasBorder:a,documents:r,icon:i})]}))),St=e=>{const t="col-span-",n=e.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function Tt(e=""){const t=St(e);return t<=4?"S":t<=8?"M":"L"}function _t(e=""){const t=St(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function It(e=""){const t=St(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const jt=p((({className:e,title:t,description:n="Блок в разработке...",...i})=>u(N,{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${It(e)} ${_t(e)} `,...i,children:[h(ft,{className:"!p-0 max-w-[600px]",title:t,description:n,headlineVersion:Tt(e),...i}),h("figure",{className:"m-0 min-w-[80%]",children:Dt()})]}))),Dt=(e=3)=>Rt(100,e).map((e=>Math.floor(e))).map(At),At=(e,t)=>h("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),Rt=(e,t)=>[e].concat(t>0?Rt(e/1.618,t-1):[]),Ot=p((({className:e="",buttons:t})=>t&&t?.length?h("div",{className:e,children:t.map(((e,t)=>Mt({button:e,index:t})))}):null));function Mt({button:e,buttonClassName:t,index:n}){const{icon:i,iconRight:r,version:l,...a}=e,s="secondary"===l?"color":"white",o=Lt({...i,iconVersion:s}),c=Lt({...r,iconVersion:s});return h(me,{className:t,appendLeft:o,appendRight:c,version:l,...a},n?String(n):"")}const Lt=e=>{if(!e?.icon&&!e?.src)return null;const t=e?.size?.width?`${e.size.width}`:"24";return h(B,{image:{...e},width:t,height:"24",asSVG:!0})},Bt={primary:"bg-primary-text",secondary:"bg-white",gray:"bg-secondary-text"},Vt={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"},Et=p((({className:e="",isDotted:t=!0,children:n,version:i="primary",size:r="M"})=>u("div",{className:`font-sans flex items-baseline ${e}`,role:"listitem",children:[t?h("div",{children:h("div",{className:`rounded-full align-middle inline-block ${Bt[i]} ${Vt[r]}`})}):null,h("span",{children:n})]}))),Ft={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text"},Pt={S:"text-l-light",M:"text-h6",L:"text-h5"},zt={S:"ml-2",M:"ml-3",L:"ml-4"},Gt=p((e=>{const{className:t="",hasIndent:n,isDotted:i,itemClassName:r="",items:l,listItemSize:a="M",version:s="primary"}=e;return l?.length?h("section",{className:`${Ft[s]} ${Pt[a]} ${t} ${n?zt[a]:""}`,role:"list",children:l.map(((e,t)=>h(Et,{className:`${r} mb-1.5`,isDotted:i,version:s,size:a,children:e},String(t))))}):null})),Ht=p((({className:e="",title:t="",buttons:n,image:i,children:r})=>u("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,children:[t,u("div",{className:"flex grow w-full justify-between",children:[u("div",{className:"flex flex-col justify-between w-full",children:[h("div",{className:"h-full",children:r}),n?h("div",{className:"mt-auto pt-8",children:n}):null]}),i]})]}))),Wt={primary:"text-primary-text",secondary:"text-white"},Jt={primary:"text-secondary-text",secondary:"text-white"},Ut=p((e=>{const{className:t="",icon:n,label:i,description:r,version:l="primary",benefitsVersion:a="normal"}=e,s="white"===a?"secondary":"primary";return u("div",{className:`flex gap-5 ${r?"items-start":"items-center"} ${t}`,children:[n?h("div",{className:Yt(l,a),children:h(B,{className:"w-6 h-6",image:V(n,s),asSVG:!0})}):null,u("div",{className:"gap-0.5",children:[i?h("div",{className:`text-h6 ${Wt[l]}`,children:i}):null,r?h("div",{className:`text-m-light ${Jt[l]}`,children:r}):null]})]})}));function Yt(e,t){let n="bg-primary-main text-black";return"secondary"===e?n="bg-white/30 text-black":"normal"===t&&(n="bg-secondary-light text-primary-main"),`w-[50px] h-[50px] min-w-[50px] rounded-full p-2.5 box-border flex items-center justify-center ${n}`}const Kt=(e="primary",t="normal")=>({icon:n,label:i,description:r},l)=>h(Ut,{icon:n,label:i,description:r,version:e,benefitsVersion:t},String(l)),Xt=p((({className:e="",headlineVersion:t="L",benefits:n,benefitsVersion:i="normal",buttons:r,image:l,items:a,version:s="primary",isDotted:o=!0,label:c,...d})=>u("div",{className:`w-full ${e}`,children:[u("div",{children:[c?Zt(c,s):null,h(ft,{className:"!p-0 max-w-[600px]",bgColorHeadline:s,headlineVersion:t,...d}),u(Ht,{buttons:r?.length?h(Ot,{buttons:r,className:"flex flex-col mt-5 gap-2.5"}):null,children:[n?.filter((e=>e.label))?.length?h("div",{className:"mt-3",children:n.map(Kt(s,i))}):null,a?.length?h(Gt,{className:"mt-3 text-m",items:a,version:s,isDotted:o}):null]})]}),qt(l)]})));function qt(e){return e?.src?h(B,{imageClassName:"mt-5 mx-auto block",image:{className:"block",...e}}):null}const Qt={primary:"text-primary-main border-secondary-hover",secondary:"text-white/80"},Zt=(e,t)=>h("div",{className:`px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid w-fit ${Qt[t]}`,children:e}),en=p((e=>{const{className:t="",version:n="primary"}=e;return h("section",{className:`font-sans bg-white px-4 py-6 ${Xe[n]} ${t}`,children:h(Xt,{...e})})})),tn={primary:{background:"bg-white",title:"text-primary-text",description:"!text-secondary-text text-l-light",iconText:"text-secondary-text",iconBackground:"bg-main-divider",iconConnector:"bg-secondary-light",dot:"bg-secondary-text"},secondary:{background:"bg-primary-main",title:"text-white",description:"!text-white/80 text-l-light",iconText:"text-white",iconBackground:"bg-white/30",iconConnector:"bg-white",dot:"bg-white/80"}},nn={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-[50px] w-[50px] min-w-[50px] min-h-[50px]"},rn={normal:"min-h-[70px]",small:"min-h-[50px]"},ln=p((({className:e,title:t,description:n,showLines:i=!0,steps:r,size:l="normal",version:a="primary"})=>{const s=tn[a];return u("section",{className:`box-border font-sans bg-white px-4 py-6 flex flex-col\n ${s.background} ${s.title} ${e||""}`,children:[t?h(v,{headingType:"h3",className:`text-center ${s.title}`,title:t}):null,n?h("p",{className:`text-m-light text-center ${s.description} ${t?"mt-2":""}`,children:n}):null,r?.length?h("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:h("div",{className:"flex flex-col justify-between gap-x-[101px]",children:r.map(an(l,a,i))})}):null]})})),an=(e,t,n)=>(i,r,l)=>{const a=l.length-1===r,s="normal"===e?"ml-[34px]":"ml-6",o=tn[t];return h("div",{children:u("div",{className:"flex flex-row text-center relative",children:[u("div",{className:"overflow-hidden flex-shrink-0",children:[sn(e,t)(i,r),a?null:h("div",{className:`min-h-8 h-full w-[2px] ${n?o.iconConnector:""} ${s}`})]}),u("div",{className:`flex flex-col justify-center h-fit ${rn[e]}`,children:[i.label?h("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:i.label}):null,i.description?h("div",{className:`text-s ${o.description} text-left`,children:i.description}):null]})]})},String(r))},sn=(e,t)=>(n,i)=>{const r=tn[t],l="normal"===e?"38":"27",a="normal"===e?"text-m-title":"text-m-title-xs";return h("div",{className:`${nn[e]} ${r.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:h("span",{className:`font-medium flex self-center ${r.title} ${a}`,children:(s=n?.icon,Boolean(s?.icon||s?.src)?h(B,{image:V({...n.icon},t),width:l,height:l,asSVG:!0}):h("span",{children:i+1}))})});var s},on={Buttons:({buttons:e})=>e&&e?.length?h("div",{children:e.map((({rounded:e,icon:t,...n},i)=>Mt({button:{rounded:e,icon:t,...n},buttonClassName:`mt-3 ${i>0&&e?"ml-2.5":""} ${t?"w-12 h-12":""}`,index:i})))}):null,Img:({image:e})=>e?.src?h(B,{image:{...e,className:"m-0"}}):null,List:({isDotted:e,...t})=>h(Gt,{className:"flex flex-col justify-between items-start text-m",version:"gray",isDotted:e??!0,...t}),LabelDescription:({label:e,description:t})=>u("div",{children:[e?h("div",{className:"text-xl font-medium m-0 "+(t?"mb-1":""),children:e}):null,t?h("div",{className:"text-s text-secondary-text",children:t}):null]})},cn=p((({title:e,icon:t})=>u("div",{className:"flex gap-2.5 mb-2",children:[e?h(v,{headingType:"h3",className:"font-medium",title:e}):null,t?h(B,{className:"ml-auto max-w-6 max-h-6",image:t,width:"24px",height:"24px"}):null]}))),dn=p((({tile:e,...t})=>u("div",{className:"rounded-md border-main-stroke h-full box-border border p-4",children:[h(cn,{...e?.header}),e?.data?.length?e.data.map(((e,n)=>u("div",{children:[n>0?h("div",{className:"h-5"}):null,mn(e,t)]},String(n)))):null]})));function mn(e,t){if(!e||!e.tableCellType||!(e.tableCellType in on))return null;const n=on[e.tableCellType];return h(n,{displayTable:()=>null,isVisible:!0,...e,...t})}const hn=p((({tiles:e,...t})=>e?.length?h(U,{...t,children:e.map(((e,n)=>h(dn,{tile:e,...t},String(n))))}):null)),un=p((({tiles:e,...t})=>e?.length?h("div",{className:"flex flex-col gap-3.5",children:e.map(((e,n)=>h(dn,{tile:e,...t},String(n))))}):null)),pn=p((({className:e,title:t,description:n,tariffsColumns:i,rowHeaders:r,orientation:l="vertical",...a})=>{const s=xn(i),o=gn(r,s);return u("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[t?h(v,{headingType:"h2",className:`text-center ${n?"mb-2":"mb-5"}`,title:t}):null,n?h("div",{className:"mb-5 text-center text-m",children:n}):null,h("vertical"===l?un:hn,{tiles:o,...a})]})})),xn=e=>e?.[0].data?e[0].data:[],gn=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),bn={primary:{background:"bg-white",icon:"bg-primary-main text-white",title:"text-primary-text",description:"text-secondary-text"},secondary:{background:"bg-primary-main",icon:"bg-white text-primary-main",title:"text-white",description:"text-white"},"secondary-light":{background:"bg-primary-main/10",icon:"bg-primary-main text-white",title:"text-primary-text",description:"text-secondary-text"}},fn=p((({title:e,description:t,blockVersion:n="primary",iconVersion:i,image:r,className:l="",items:a,isDotted:s=!0})=>{const o=bn[n],c="secondary"===n?"secondary":"gray";return u("section",{className:`font-sans px-4 py-[18px] flex flex-col ${o.background} ${l}`,children:["small"===i?Nn(o.icon):null,"big"===i?yn(r):null,u("div",{className:"py-0.5",children:[e?h("div",{className:`text-l font-medium mb-1 ${o.title}`,children:e}):null,t?h("div",{className:`text-s ${o.description}`,children:t}):null,a?.length?h(Gt,{className:"mt-1 text-m",items:a,isDotted:s,version:c}):null]})]})}));function Nn(e){return h("div",{className:"mb-3",children:h("div",{className:`rounded-full h-4 w-4 text-center text-xs-light ${e}`,children:"i"})})}function yn(e){return e?.src?h(B,{className:"pb-3 mr-auto",image:e}):null}const vn={Accordion:k,AccordionItem:F,ComparisonTable:ve,Footer:Ye,Gallery:qe,Header:xt,Headline:ft,LinkDocs:Ct,LinkList:je,MobileAppTile:Le,ProductBlock:en,StepsBlock:ln,TariffsTable:pn,TextBlock:fn,Placeholder:jt};function wn(e){return e?e.filter(Boolean).join(" "):""}const kn=m();const $n=p((({className:e,onClick:t,ariaLabel:n})=>h("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":n,children:Cn()}))),Cn=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[h("path",{...e,strokeMiterlimit:"10",d:"M21.48 11.95c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1 6.1M7.48 18.35l3.1 2.4c.4.4 1.3.6 1.9.6h3.8c1.2 0 2.5-.9 2.8-2.1l1.24-3.77"}),h("path",{...e,d:"M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z"})]})},Sn=p((({className:e=""})=>{const t=function(e){const[t,n]=i(0);return r((()=>{(async()=>{const[t]=await kn.getLikeCount(e);n(t?.value||0)})()}),[e]),{likeCount:t,like:l((async()=>{n(await kn.like(e))}),[e]),dislike:l((async()=>{n(await kn.dislike(e))}),[e])}}(Z().pathname);return u("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:[h($n,{onClick:Q(t.like),ariaLabel:"Поставить отметку «лайк»"}),h($n,{onClick:Q(t.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),h("span",{className:"select-none",children:t.likeCount})]})})),Tn=({slots:e,parent:t,options:n,ancestors:i=[]})=>Object.entries(e||{}).reduce(((e,[r,l])=>({...e,[r]:_n({blocks:l,parent:t,slotName:r,options:n,ancestors:i})})),{});const _n=({blocks:e,parent:t,slotName:n=null,options:i,ancestors:r=[]})=>(e||[]).map(((e,l)=>function({block:e={},options:t,ancestors:n=[]}){const{key:i,page:r,blockDecorator:l,blocksRegistry:a={}}=t,{type:s,slots:o,blocks:c}=e;s&&s in a||console.warn(`No block with "${s}" is registered`);const d=s&&a[s],m={parent:e,options:t,ancestors:n},u=_n({...m,blocks:c}),p=o?Tn({...m,slots:o}):{};return l({blockClassName:`scroll-mt-12 ${wn(e.style)}`,block:e,ancestors:n,render:({block:e,blockClassName:t})=>{const{content:l}=e;return d?h(d,{page:r,block:e,className:t,ancestors:n,slots:p,...l,children:u},i):null}},i)}({block:e,options:{...i,key:`${i.key?i.key:e.type}-${l}`},ancestors:[...r,[t,n]]}))),In=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),jn=p((e=>{const{className:t="",blocksRegistry:n,blockDecorator:i,data:r={}}=e,{style:l,blocks:a,slots:s,likeControl:o,colorPalette:c="pc"}=r,d={key:"",blocksRegistry:n,page:r,blockDecorator:i||In},m=Tn({slots:s,parent:r,options:d});return u("section",{className:`relative ${wn(l)} ${t}`,"data-theme":c,children:[m?.header?h("div",{className:"mb-5 shadow-[0_8px_32px_0px_#00000014]",children:m.header}):null,a?.length?u("div",{className:"container grid grid-cols-12 gap-1",children:[_n({blocks:a,parent:r,options:d}),m?.footer?m.footer:null]}):null,o?h("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:h(Sn,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto"})}):null]})}));jn.childrenTypes=[],jn.slots=()=>["header","footer"];e.Blocks=vn,e.ContentPage=jn,e.DaDataAPI=o,e.LikeAPI=m,e.handlerDecorator=Q,e.joinList=function(e){return t=>t.reduce(((t,n,i)=>t.length?t.concat({...e,key:i},n):[n]),[])},e.packageVersion="0.6.29",e.projectSettings=c,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=q,e.useRouter=Z,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -0,0 +1,5 @@
1
+ import type { CarouselContent } from './CarouselContent';
2
+ import type { JSXBlock, UniBlockProps } from '../../model/JSXBlock';
3
+ export interface CarouselProps extends CarouselContent, UniBlockProps {
4
+ }
5
+ export declare const Carousel: JSXBlock<CarouselProps>;
@@ -0,0 +1,6 @@
1
+ export interface CarouselContainerProps {
2
+ activeItem: number;
3
+ cardFullViewCount: number;
4
+ cardWidth: number;
5
+ }
6
+ export declare const CarouselContainer: import("@redneckz/uni-jsx").UNIComponent<CarouselContainerProps, any, any>;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @title Карусель
3
+ */
4
+ export interface CarouselContent {
5
+ /** @title Блоки */
6
+ cardFullViewCount?: number;
7
+ cardWidth?: number;
8
+ isBlur?: boolean;
9
+ isCyclic?: boolean;
10
+ }
@@ -0,0 +1,7 @@
1
+ import type { CarouselCardContent } from './CarouselCardContent';
2
+ import type { CarouselCardVersion } from '../../model/CarouselCardVersion';
3
+ import type { UniBlockProps } from '../../model/JSXBlock';
4
+ export interface CarouselCardProps extends CarouselCardContent, UniBlockProps {
5
+ version?: CarouselCardVersion;
6
+ }
7
+ export declare const CarouselCard: import("@redneckz/uni-jsx").UNIComponent<CarouselCardProps, any, any>;
@@ -0,0 +1,14 @@
1
+ import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
2
+ import type { HeadlineCommonProps } from '../../model/HeadlineType';
3
+ import type { CarouselCardVersion } from '../../model/CarouselCardVersion';
4
+ export interface CarouselCardContent extends HeadlineCommonProps {
5
+ /**
6
+ * @title Кнопка
7
+ * @default {
8
+ * "icon": { "format": "webp", "size": { "width": 24, "height": 24 } },
9
+ * "iconRight" : { "format": "webp", "size": { "width": 24, "height": 24 } }
10
+ * }
11
+ */
12
+ button?: ButtonWithIconProps;
13
+ version?: CarouselCardVersion;
14
+ }
@@ -1,13 +1,15 @@
1
1
  import type { TitleProps } from '../../model/HeadlineType';
2
- import type { TableArrowScrollControlProps } from '../../ui-kit/TableArrowScrollControl/TableArrowScrollControlProps';
3
2
  import type { CellData } from './ComparisonTableContent';
4
- declare type ComparisonTableRowsProps = TableArrowScrollControlProps & {
3
+ import type { Controls } from '../../hooks/useCarousel';
4
+ declare type ComparisonTableRowsProps = {
5
5
  rowData: {
6
6
  header: TitleProps;
7
7
  data: CellData[][];
8
8
  }[];
9
9
  activeCardIndex: number;
10
10
  isColoredFirstColumn: boolean;
11
+ controls: Controls;
12
+ isScrollAvailable: boolean;
11
13
  };
12
14
  export declare const ComparisonTableRows: import("@redneckz/uni-jsx").UNIComponent<ComparisonTableRowsProps, any, any>;
13
15
  export {};
@@ -27,12 +27,6 @@ export interface Logo {
27
27
  * @required ["defaultLocation", "topItems"]
28
28
  */
29
29
  export interface HeaderContent {
30
- logo?: Logo;
31
- /**
32
- * @title Город по-умолчанию
33
- * @default Москва
34
- */
35
- defaultLocation?: string;
36
30
  /** @hidden */
37
31
  showSubMenu?: boolean;
38
32
  /** @hidden */