@redneckz/wildless-cms-uni-blocks 0.6.47 → 0.6.49

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 (452) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +73 -68
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
  5. package/bundle/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  6. package/bundle/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  7. package/bundle/components/ComparisonTable/constants.d.ts +1 -1
  8. package/bundle/components/Footer/MediaButton.d.ts +3 -0
  9. package/bundle/components/Footer/SocialMedia.d.ts +3 -0
  10. package/bundle/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  11. package/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  12. package/bundle/components/OfficeMap/OfficeMap.d.ts +3 -0
  13. package/bundle/components/OfficeMap/OfficeMapContent.d.ts +4 -1
  14. package/dist/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
  15. package/dist/components/BusinessBlock/BusinessCard.js +1 -1
  16. package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  17. package/dist/components/Calculator/Calculator.js +1 -1
  18. package/dist/components/CarouselCard/CarouselCard.js +1 -1
  19. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  20. package/dist/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  21. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  22. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  23. package/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  24. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  25. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  26. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  27. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  28. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  29. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  30. package/dist/components/Catalog/CatalogCard.js +1 -1
  31. package/dist/components/Catalog/CatalogCard.js.map +1 -1
  32. package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
  33. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  34. package/dist/components/ComparisonTable/TableColumn.js +1 -1
  35. package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  36. package/dist/components/ComparisonTable/constants.d.ts +1 -1
  37. package/dist/components/ComparisonTable/constants.js +1 -1
  38. package/dist/components/ComparisonTable/constants.js.map +1 -1
  39. package/dist/components/Footer/MediaButton.d.ts +3 -0
  40. package/dist/components/Footer/MediaButton.js +8 -3
  41. package/dist/components/Footer/MediaButton.js.map +1 -1
  42. package/dist/components/Footer/SocialMedia.d.ts +3 -0
  43. package/dist/components/Footer/SocialMedia.js +1 -1
  44. package/dist/components/Footer/SocialMedia.js.map +1 -1
  45. package/dist/components/Gallery/Gallery.mobile.js +1 -1
  46. package/dist/components/Gallery/GalleryContainer.js +1 -1
  47. package/dist/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  48. package/dist/components/Header/DropdownMenu.js +2 -2
  49. package/dist/components/Header/DropdownMenu.js.map +1 -1
  50. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  51. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  52. package/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  53. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  54. package/dist/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
  55. package/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  56. package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  57. package/dist/components/LinkDocs/LinkDocsVerticalList.js +1 -1
  58. package/dist/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
  59. package/dist/components/OfficeMap/OfficeMap.d.ts +3 -0
  60. package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  61. package/dist/components/OfficeMap/OfficeMapContent.d.ts +4 -1
  62. package/dist/components/OfficeMap/renderFunctions.js +1 -1
  63. package/dist/components/OfficeMap/renderFunctions.js.map +1 -1
  64. package/dist/components/ProductGallery/ProductGallery.js +1 -1
  65. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  66. package/dist/components/TariffsTable/TariffsTableTileCell.js +1 -1
  67. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  68. package/dist/content-page-repository/transformHTML.js +2 -2
  69. package/dist/content-page-repository/transformHTML.js.map +1 -1
  70. package/dist/model/BorderVersion.js +1 -1
  71. package/dist/model/BorderVersion.js.map +1 -1
  72. package/dist/ui-kit/Button/getRegularButtonClasses.js +1 -1
  73. package/dist/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
  74. package/dist/ui-kit/Checkbox/Checkbox.js +2 -2
  75. package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  76. package/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
  77. package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  78. package/dist/ui-kit/Input/Input.js +1 -1
  79. package/dist/ui-kit/Input/Input.js.map +1 -1
  80. package/dist/ui-kit/InputRange/InputRange.js +3 -3
  81. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  82. package/dist/ui-kit/Location/SearchBar.js +1 -1
  83. package/dist/ui-kit/Location/SearchBar.js.map +1 -1
  84. package/dist/ui-kit/Radio/Radio.js +1 -1
  85. package/dist/ui-kit/Radio/Radio.js.map +1 -1
  86. package/dist/ui-kit/SearchBar/SearchBarInner.js +1 -1
  87. package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  88. package/dist/ui-kit/Select/Select.js +1 -1
  89. package/dist/ui-kit/Select/Select.js.map +1 -1
  90. package/dist/ui-kit/Tags/Tags.js +1 -1
  91. package/dist/ui-kit/Tags/Tags.js.map +1 -1
  92. package/dist/ui-kit/YandexMap/YandexMap.js +3 -3
  93. package/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  94. package/dist/ui-kit/YandexMap/ZoomButton.js +1 -1
  95. package/dist/ui-kit/YandexMap/ZoomButton.js.map +1 -1
  96. package/dist/ui-kit/YandexMap/renderOpenMap.js +2 -2
  97. package/dist/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
  98. package/dist/ui-kit/YandexMap/renderUserGeolocation.js +1 -2
  99. package/dist/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
  100. package/lib/common.css +1 -1
  101. package/lib/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
  102. package/lib/components/BusinessBlock/BusinessCard.js +1 -1
  103. package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  104. package/lib/components/Calculator/Calculator.js +1 -1
  105. package/lib/components/CarouselCard/CarouselCard.js +1 -1
  106. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  107. package/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  108. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  109. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  110. package/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  111. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  112. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  113. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  114. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  115. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  116. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  117. package/lib/components/Catalog/CatalogCard.js +1 -1
  118. package/lib/components/Catalog/CatalogCard.js.map +1 -1
  119. package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
  120. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  121. package/lib/components/ComparisonTable/TableColumn.js +1 -1
  122. package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  123. package/lib/components/ComparisonTable/constants.d.ts +1 -1
  124. package/lib/components/ComparisonTable/constants.js +1 -1
  125. package/lib/components/ComparisonTable/constants.js.map +1 -1
  126. package/lib/components/Footer/MediaButton.d.ts +3 -0
  127. package/lib/components/Footer/MediaButton.js +8 -3
  128. package/lib/components/Footer/MediaButton.js.map +1 -1
  129. package/lib/components/Footer/SocialMedia.d.ts +3 -0
  130. package/lib/components/Footer/SocialMedia.js +1 -1
  131. package/lib/components/Footer/SocialMedia.js.map +1 -1
  132. package/lib/components/Gallery/Gallery.mobile.js +1 -1
  133. package/lib/components/Gallery/GalleryContainer.js +1 -1
  134. package/lib/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  135. package/lib/components/Header/DropdownMenu.js +2 -2
  136. package/lib/components/Header/DropdownMenu.js.map +1 -1
  137. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  138. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  139. package/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  140. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  141. package/lib/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
  142. package/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  143. package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  144. package/lib/components/LinkDocs/LinkDocsVerticalList.js +1 -1
  145. package/lib/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
  146. package/lib/components/OfficeMap/OfficeMap.d.ts +3 -0
  147. package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  148. package/lib/components/OfficeMap/OfficeMapContent.d.ts +4 -1
  149. package/lib/components/OfficeMap/renderFunctions.js +1 -1
  150. package/lib/components/OfficeMap/renderFunctions.js.map +1 -1
  151. package/lib/components/ProductGallery/ProductGallery.js +1 -1
  152. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  153. package/lib/components/TariffsTable/TariffsTableTileCell.js +1 -1
  154. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  155. package/lib/content-page-repository/transformHTML.js +1 -1
  156. package/lib/content-page-repository/transformHTML.js.map +1 -1
  157. package/lib/model/BorderVersion.js +1 -1
  158. package/lib/model/BorderVersion.js.map +1 -1
  159. package/lib/ui-kit/Button/getRegularButtonClasses.js +1 -1
  160. package/lib/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
  161. package/lib/ui-kit/Checkbox/Checkbox.js +2 -2
  162. package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  163. package/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
  164. package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  165. package/lib/ui-kit/Input/Input.js +1 -1
  166. package/lib/ui-kit/Input/Input.js.map +1 -1
  167. package/lib/ui-kit/InputRange/InputRange.js +3 -3
  168. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  169. package/lib/ui-kit/Location/SearchBar.js +1 -1
  170. package/lib/ui-kit/Location/SearchBar.js.map +1 -1
  171. package/lib/ui-kit/Radio/Radio.js +1 -1
  172. package/lib/ui-kit/Radio/Radio.js.map +1 -1
  173. package/lib/ui-kit/SearchBar/SearchBarInner.js +1 -1
  174. package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  175. package/lib/ui-kit/Select/Select.js +1 -1
  176. package/lib/ui-kit/Select/Select.js.map +1 -1
  177. package/lib/ui-kit/Tags/Tags.js +1 -1
  178. package/lib/ui-kit/Tags/Tags.js.map +1 -1
  179. package/lib/ui-kit/YandexMap/YandexMap.js +3 -3
  180. package/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  181. package/lib/ui-kit/YandexMap/ZoomButton.js +1 -1
  182. package/lib/ui-kit/YandexMap/ZoomButton.js.map +1 -1
  183. package/lib/ui-kit/YandexMap/renderOpenMap.js +2 -2
  184. package/lib/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
  185. package/lib/ui-kit/YandexMap/renderUserGeolocation.js +1 -2
  186. package/lib/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
  187. package/mobile/bundle/bundle.umd.js +16 -11
  188. package/mobile/bundle/bundle.umd.min.js +1 -1
  189. package/mobile/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
  190. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  191. package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  192. package/mobile/bundle/components/ComparisonTable/constants.d.ts +1 -1
  193. package/mobile/bundle/components/Footer/MediaButton.d.ts +3 -0
  194. package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  195. package/mobile/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  196. package/mobile/bundle/components/OfficeMap/OfficeMap.d.ts +3 -0
  197. package/mobile/bundle/components/OfficeMap/OfficeMapContent.d.ts +4 -1
  198. package/mobile/dist/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
  199. package/mobile/dist/components/BusinessBlock/BusinessCard.js +1 -1
  200. package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  201. package/mobile/dist/components/Calculator/Calculator.js +1 -1
  202. package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
  203. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  204. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  205. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  206. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  207. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
  208. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  209. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  210. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  211. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  212. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  213. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  214. package/mobile/dist/components/Catalog/CatalogCard.js +1 -1
  215. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
  216. package/mobile/dist/components/ComparisonTable/TableColumn.js +1 -1
  217. package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  218. package/mobile/dist/components/ComparisonTable/constants.d.ts +1 -1
  219. package/mobile/dist/components/ComparisonTable/constants.js +1 -1
  220. package/mobile/dist/components/ComparisonTable/constants.js.map +1 -1
  221. package/mobile/dist/components/Footer/MediaButton.d.ts +3 -0
  222. package/mobile/dist/components/Footer/MediaButton.js +8 -3
  223. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  224. package/mobile/dist/components/Gallery/Gallery.js +1 -1
  225. package/mobile/dist/components/Gallery/GalleryContainer.js +1 -1
  226. package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  227. package/mobile/dist/components/Header/DropdownMenu.js +2 -2
  228. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  229. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  230. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  231. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  232. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  233. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
  234. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  235. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  236. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js +1 -1
  237. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
  238. package/mobile/dist/components/OfficeMap/OfficeMap.d.ts +3 -0
  239. package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  240. package/mobile/dist/components/OfficeMap/OfficeMapContent.d.ts +4 -1
  241. package/mobile/dist/components/OfficeMap/renderFunctions.js +1 -1
  242. package/mobile/dist/components/OfficeMap/renderFunctions.js.map +1 -1
  243. package/mobile/dist/components/ProductGallery/ProductGallery.js +1 -1
  244. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  245. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +1 -1
  246. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  247. package/mobile/dist/content-page-repository/transformHTML.js +2 -2
  248. package/mobile/dist/content-page-repository/transformHTML.js.map +1 -1
  249. package/mobile/dist/model/BorderVersion.js +1 -1
  250. package/mobile/dist/model/BorderVersion.js.map +1 -1
  251. package/mobile/dist/ui-kit/Button/getRegularButtonClasses.js +1 -1
  252. package/mobile/dist/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
  253. package/mobile/dist/ui-kit/Checkbox/Checkbox.js +2 -2
  254. package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  255. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
  256. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  257. package/mobile/dist/ui-kit/Input/Input.js +1 -1
  258. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  259. package/mobile/dist/ui-kit/InputRange/InputRange.js +3 -3
  260. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  261. package/mobile/dist/ui-kit/Location/SearchBar.js +1 -1
  262. package/mobile/dist/ui-kit/Location/SearchBar.js.map +1 -1
  263. package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
  264. package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
  265. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +1 -1
  266. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  267. package/mobile/dist/ui-kit/Select/Select.js +1 -1
  268. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  269. package/mobile/dist/ui-kit/Tags/Tags.js +1 -1
  270. package/mobile/dist/ui-kit/Tags/Tags.js.map +1 -1
  271. package/mobile/dist/ui-kit/YandexMap/YandexMap.js +3 -3
  272. package/mobile/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  273. package/mobile/dist/ui-kit/YandexMap/ZoomButton.js +1 -1
  274. package/mobile/dist/ui-kit/YandexMap/ZoomButton.js.map +1 -1
  275. package/mobile/dist/ui-kit/YandexMap/renderOpenMap.js +2 -2
  276. package/mobile/dist/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
  277. package/mobile/dist/ui-kit/YandexMap/renderUserGeolocation.js +1 -2
  278. package/mobile/dist/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
  279. package/mobile/lib/components/BusinessBlock/BusinessBlockContent.d.ts +6 -1
  280. package/mobile/lib/components/BusinessBlock/BusinessCard.js +1 -1
  281. package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  282. package/mobile/lib/components/Calculator/Calculator.js +1 -1
  283. package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
  284. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  285. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  286. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  287. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  288. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
  289. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  290. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  291. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  292. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  293. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  294. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  295. package/mobile/lib/components/Catalog/CatalogCard.js +1 -1
  296. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
  297. package/mobile/lib/components/ComparisonTable/TableColumn.js +1 -1
  298. package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  299. package/mobile/lib/components/ComparisonTable/constants.d.ts +1 -1
  300. package/mobile/lib/components/ComparisonTable/constants.js +1 -1
  301. package/mobile/lib/components/ComparisonTable/constants.js.map +1 -1
  302. package/mobile/lib/components/Footer/MediaButton.d.ts +3 -0
  303. package/mobile/lib/components/Footer/MediaButton.js +8 -3
  304. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  305. package/mobile/lib/components/Gallery/Gallery.js +1 -1
  306. package/mobile/lib/components/Gallery/GalleryContainer.js +1 -1
  307. package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  308. package/mobile/lib/components/Header/DropdownMenu.js +2 -2
  309. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  310. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  311. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  312. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  313. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  314. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
  315. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  316. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  317. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js +1 -1
  318. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
  319. package/mobile/lib/components/OfficeMap/OfficeMap.d.ts +3 -0
  320. package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  321. package/mobile/lib/components/OfficeMap/OfficeMapContent.d.ts +4 -1
  322. package/mobile/lib/components/OfficeMap/renderFunctions.js +1 -1
  323. package/mobile/lib/components/OfficeMap/renderFunctions.js.map +1 -1
  324. package/mobile/lib/components/ProductGallery/ProductGallery.js +1 -1
  325. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  326. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +1 -1
  327. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  328. package/mobile/lib/content-page-repository/transformHTML.js +1 -1
  329. package/mobile/lib/content-page-repository/transformHTML.js.map +1 -1
  330. package/mobile/lib/model/BorderVersion.js +1 -1
  331. package/mobile/lib/model/BorderVersion.js.map +1 -1
  332. package/mobile/lib/ui-kit/Button/getRegularButtonClasses.js +1 -1
  333. package/mobile/lib/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
  334. package/mobile/lib/ui-kit/Checkbox/Checkbox.js +2 -2
  335. package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  336. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
  337. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  338. package/mobile/lib/ui-kit/Input/Input.js +1 -1
  339. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  340. package/mobile/lib/ui-kit/InputRange/InputRange.js +3 -3
  341. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  342. package/mobile/lib/ui-kit/Location/SearchBar.js +1 -1
  343. package/mobile/lib/ui-kit/Location/SearchBar.js.map +1 -1
  344. package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
  345. package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
  346. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +1 -1
  347. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  348. package/mobile/lib/ui-kit/Select/Select.js +1 -1
  349. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  350. package/mobile/lib/ui-kit/Tags/Tags.js +1 -1
  351. package/mobile/lib/ui-kit/Tags/Tags.js.map +1 -1
  352. package/mobile/lib/ui-kit/YandexMap/YandexMap.js +3 -3
  353. package/mobile/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  354. package/mobile/lib/ui-kit/YandexMap/ZoomButton.js +1 -1
  355. package/mobile/lib/ui-kit/YandexMap/ZoomButton.js.map +1 -1
  356. package/mobile/lib/ui-kit/YandexMap/renderOpenMap.js +2 -2
  357. package/mobile/lib/ui-kit/YandexMap/renderOpenMap.js.map +1 -1
  358. package/mobile/lib/ui-kit/YandexMap/renderUserGeolocation.js +1 -2
  359. package/mobile/lib/ui-kit/YandexMap/renderUserGeolocation.js.map +1 -1
  360. package/mobile/src/common.css +5 -4
  361. package/mobile/src/components/BusinessBlock/BusinessBlock.example.json +4 -6
  362. package/mobile/src/components/BusinessBlock/BusinessBlockContent.ts +6 -1
  363. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +1 -1
  364. package/mobile/src/components/Calculator/Calculator.tsx +1 -1
  365. package/mobile/src/components/CarouselCard/CarouselCard.tsx +1 -1
  366. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +1 -1
  367. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
  368. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -1
  369. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -1
  370. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +5 -5
  371. package/mobile/src/components/Catalog/CatalogCard.tsx +1 -1
  372. package/mobile/src/components/ComparisonTable/TableColumn.tsx +1 -4
  373. package/mobile/src/components/ComparisonTable/constants.ts +1 -1
  374. package/mobile/src/components/Footer/MediaButton.tsx +46 -36
  375. package/mobile/src/components/Gallery/Gallery.tsx +1 -1
  376. package/mobile/src/components/Gallery/GalleryContainer.tsx +1 -1
  377. package/mobile/src/components/GracePeriod/GracePeriodContent.ts +1 -1
  378. package/mobile/src/components/Header/DropdownMenu.tsx +36 -34
  379. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
  380. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +3 -5
  381. package/mobile/src/components/LinkDocs/LinkDocsHorizontalList.tsx +1 -1
  382. package/mobile/src/components/LinkDocs/LinkDocsVerticalList.tsx +2 -4
  383. package/mobile/src/components/OfficeMap/OfficeMap.tsx +3 -2
  384. package/mobile/src/components/OfficeMap/OfficeMapContent.ts +4 -1
  385. package/mobile/src/components/OfficeMap/renderFunctions.tsx +2 -2
  386. package/mobile/src/components/ProductGallery/ProductGallery.tsx +1 -1
  387. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +1 -1
  388. package/mobile/src/content-page-repository/transformHTML.ts +1 -1
  389. package/mobile/src/model/BorderVersion.ts +1 -1
  390. package/mobile/src/ui-kit/Button/getRegularButtonClasses.ts +2 -2
  391. package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
  392. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  393. package/mobile/src/ui-kit/Input/Input.tsx +1 -1
  394. package/mobile/src/ui-kit/InputRange/InputRange.tsx +3 -3
  395. package/mobile/src/ui-kit/Location/SearchBar.tsx +1 -1
  396. package/mobile/src/ui-kit/Radio/Radio.tsx +1 -1
  397. package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +1 -1
  398. package/mobile/src/ui-kit/Select/Select.tsx +1 -1
  399. package/mobile/src/ui-kit/Tags/Tags.tsx +1 -1
  400. package/mobile/src/ui-kit/YandexMap/YandexMap.tsx +3 -3
  401. package/mobile/src/ui-kit/YandexMap/ZoomButton.tsx +1 -1
  402. package/mobile/src/ui-kit/YandexMap/renderOpenMap.tsx +2 -2
  403. package/mobile/src/ui-kit/YandexMap/renderUserGeolocation.tsx +2 -2
  404. package/package.json +1 -1
  405. package/src/common.css +5 -4
  406. package/src/components/BusinessBlock/BusinessBlock.example.json +4 -6
  407. package/src/components/BusinessBlock/BusinessBlockContent.ts +6 -1
  408. package/src/components/BusinessBlock/BusinessCard.tsx +1 -1
  409. package/src/components/Calculator/Calculator.tsx +1 -1
  410. package/src/components/CarouselCard/CarouselCard.tsx +1 -1
  411. package/src/components/CarouselCard/CarouselCardContent.ts +1 -1
  412. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
  413. package/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -1
  414. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -1
  415. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +5 -5
  416. package/src/components/Catalog/CatalogCard.tsx +1 -1
  417. package/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
  418. package/src/components/ComparisonTable/TableColumn.tsx +1 -4
  419. package/src/components/ComparisonTable/constants.ts +1 -1
  420. package/src/components/Footer/MediaButton.tsx +46 -36
  421. package/src/components/Footer/SocialMedia.tsx +20 -10
  422. package/src/components/Gallery/Gallery.mobile.tsx +1 -1
  423. package/src/components/Gallery/GalleryContainer.tsx +1 -1
  424. package/src/components/GracePeriod/GracePeriodContent.ts +1 -1
  425. package/src/components/Header/DropdownMenu.tsx +36 -34
  426. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
  427. package/src/components/InvestmentInfo/InvestmentInfo.tsx +3 -5
  428. package/src/components/LinkDocs/LinkDocsHorizontalList.tsx +1 -1
  429. package/src/components/LinkDocs/LinkDocsVerticalList.tsx +2 -4
  430. package/src/components/OfficeMap/OfficeMap.tsx +3 -2
  431. package/src/components/OfficeMap/OfficeMapContent.ts +4 -1
  432. package/src/components/OfficeMap/renderFunctions.tsx +2 -2
  433. package/src/components/ProductGallery/ProductGallery.tsx +1 -1
  434. package/src/components/TariffsTable/TariffsTableTileCell.tsx +1 -1
  435. package/src/content-page-repository/transformHTML.ts +1 -1
  436. package/src/model/BorderVersion.ts +1 -1
  437. package/src/ui-kit/Button/getRegularButtonClasses.ts +2 -2
  438. package/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
  439. package/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  440. package/src/ui-kit/Input/Input.tsx +1 -1
  441. package/src/ui-kit/InputRange/InputRange.tsx +3 -3
  442. package/src/ui-kit/Location/SearchBar.tsx +1 -1
  443. package/src/ui-kit/Radio/Radio.tsx +1 -1
  444. package/src/ui-kit/SearchBar/SearchBarInner.tsx +1 -1
  445. package/src/ui-kit/Select/Select.tsx +1 -1
  446. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +3 -3
  447. package/src/ui-kit/Tags/Tags.tsx +1 -1
  448. package/src/ui-kit/YandexMap/YandexMap.tsx +3 -3
  449. package/src/ui-kit/YandexMap/ZoomButton.tsx +1 -1
  450. package/src/ui-kit/YandexMap/renderOpenMap.tsx +2 -2
  451. package/src/ui-kit/YandexMap/renderUserGeolocation.tsx +2 -2
  452. package/tailwind.config.cjs +3 -13
@@ -1 +1 @@
1
- {"version":3,"file":"YandexMap.js","sourceRoot":"","sources":["../../../src/ui-kit/YandexMap/YandexMap.tsx"],"names":[],"mappings":";AAAA,6DAA6D;AAC7D,cAAc;AACd,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAE1E,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM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CAAC,CAAC"}
@@ -4,7 +4,7 @@ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
4
4
  import { JSX } from '@redneckz/uni-jsx';
5
5
  import { Icon } from '../Icon/Icon.js';
6
6
  const styles = {
7
- focus: 'focus:border-primary-focus focus:border',
7
+ focus: 'focus:border-primary-text focus:border',
8
8
  hover: 'hover:bg-primary-hover',
9
9
  active: 'active:bg-primary-active',
10
10
  border: 'border-b border-b-2 border-gray last:border-0',
@@ -1 +1 @@
1
- {"version":3,"file":"ZoomButton.js","sourceRoot":"","sources":["../../../src/ui-kit/YandexMap/ZoomButton.tsx"],"names":[],"mappings":";AAAA,6DAA6D;AAC7D,cAAc;AACd,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAOpC,MAAM,MAAM,GAAG;IACb,KAAK,EAAE,yCAAyC;IAChD,KAAK,EAAE,wBAAwB;IAC/B,MAAM,EAAE,0BAA0B;IAClC,MAAM,EAAE,+CAA+C;IACvD,QAAQ,EAAE,2CAA2C;IACrD,IAAI,EAAE,8BAA8B;CACrC,CAAC;AAEF,qDAAqD;AACrD,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAkB,CAAC,EAAE,UAAU,EAAE,SAAS,GAAG,IAAI,EAAE,EAAE,EAAE;IAClF,MAAM,QAAQ,GAAG,SAAS,KAAK,IAAI,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC;IAC/D,MAAM,UAAU,GAAG,GAAG,EAAE;QACtB,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;QACjD,MAAM,OAAO,GAAG,SAAS,KAAK,IAAI,CAAC,CAAC,CAAC,WAAW,GAAG,CAAC,CAAC,CAAC,CAAC,WAAW,GAAG,CAAC,CAAC;QACvE,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,cAA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C,OAAO,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,CAAC,CAAC;IAChE,CAAC,CAAC;IAEF,OAAO,CACL,cACE,OAAO,EAAE,UAAU,EACnB,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,gDAAgD,YAE7F,KAAC,IAAI,IAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GAC3C,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  const styles = {
3
- focus: 'focus:border-primary-focus focus:border',
3
+ focus: 'focus:border-primary-text focus:border',
4
4
  hover: 'hover:bg-primary-hover',
5
5
  active: 'active:bg-primary-active',
6
6
  border: 'border border-transparent rounded-md',
@@ -11,6 +11,6 @@ export const renderOpenMap = (pointsCenter) => {
11
11
  const getYandexMapUrl = () => {
12
12
  return `https://yandex.ru/maps/?ll=${[pointsCenter[1], pointsCenter[0]]}&z=10&l=map`;
13
13
  };
14
- return (_jsx("a", { className: `select-none cursor-pointer px-9 h-12 bg-white bg-primary-main text-white ${Object.values(styles).join(' ')}`, href: getYandexMapUrl(), target: "_blank", children: "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430 \u043A\u0430\u0440\u0442\u0435" }));
14
+ return (_jsx("a", { className: `select-none cursor-pointer px-9 h-12 bg-primary-main text-white ${Object.values(styles).join(' ')}`, href: getYandexMapUrl(), target: "_blank", children: "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430 \u043A\u0430\u0440\u0442\u0435" }));
15
15
  };
16
16
  //# sourceMappingURL=renderOpenMap.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderOpenMap.js","sourceRoot":"","sources":["../../../src/ui-kit/YandexMap/renderOpenMap.tsx"],"names":[],"mappings":";AAAA,MA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AE,EACb,IAAI,EAAE,eAAe,EAAE,EACvB,MAAM,EAAC,QAAQ,uGAGb,CACL,CAAC;AACJ,CAAC,CAAC"}
@@ -1,8 +1,7 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
- /* eslint-disable @typescript-eslint/no-unsafe-argument */
3
2
  import { Icon } from '../Icon/Icon.js';
4
3
  const styles = {
5
- focus: 'focus:border-primary-focus focus:border',
4
+ focus: 'focus:border-primary-text focus:border',
6
5
  hover: 'hover:bg-primary-hover',
7
6
  active: 'active:bg-primary-active',
8
7
  border: 'border border-transparent rounded-md',
@@ -1 +1 @@
1
- {"version":3,"file":"renderUserGeolocation.js","sourceRoot":"","sources":["../../../src/ui-kit/YandexMap/renderUserGeolocation.tsx"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGpC,MAAM,MAAM,GAAG;IACb,KAAK,EAAE,yCAAyC;IAChD,KAAK,EAAE,wBAAwB;IAC/B,MAAM,EAAE,0BAA0B;IAClC,MAAM,EAAE,sCAAsC;IAC9C,QAAQ,EAAE,2CAA2C;IACrD,IAAI,EAAE,uBAAuB;CAC9B,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACnC,GAAc,EACd,UAAwB,EACxB,SAAiB,EACjB,EAAE;IACF,MAAM,kBAAkB,GAAG,GAAG,EAAE;QAC9B,6DAA6D;QAC7D,aAAa;QACb,UAAU,CAAC,WAAW;aACnB,GAAG,CAAC;YACH,QAAQ,EAAE,QAAQ;YAClB,kBAAkB,EAAE,IAAI;YACxB,iBAAiB,EAAE,IAAI;SACxB,CAAC;aACD,IAAI,CAAC,UAAU,MAAM;YACpB,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QACxC,CAAC,CAAC,CAAC;IACP,CAAC,CAAC;IAEF,OAAO,CACL,cACE,SAAS,EAAE,iDAAiD,MAAM,C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IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GACtD,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -838,7 +838,7 @@
838
838
 
839
839
  const getRegularButtonClasses = ({ className, rounded, version, }) => [
840
840
  buttonStyle,
841
- 'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-focus focus:border',
841
+ 'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border',
842
842
  version ? buttonStyleMap[version] : '',
843
843
  rounded ? 'rounded-full' : 'rounded-md',
844
844
  className,
@@ -871,7 +871,7 @@
871
871
  const columnDataView = columnData?.slice(0, showRow ? columnData.length : visibleRowLength);
872
872
  const gradientClassName = isFillGradient ? GRADIENT : '';
873
873
  const buttonVersion = isFillGradient ? 'secondary' : 'primary';
874
- return (jsxs("div", { className: `border border-main-stroke rounded-md p-4 mb-3.5 ${gradientClassName}`, role: "row", children: [jsx(HeaderCell, { ...header, isFillGradient: isFillGradient }), columnDataView?.length
874
+ return (jsxs("div", { className: `border border-gray rounded-md p-4 mb-3.5 ${gradientClassName}`, role: "row", children: [jsx(HeaderCell, { ...header, isFillGradient: isFillGradient }), columnDataView?.length
875
875
  ? columnDataView.map(({ rowHeader, cell }, i) => (jsx(TableCell, { cell: cell, rowHeader: rowHeader, isFillGradient: isFillGradient }, String(i))))
876
876
  : null, showRow && header?.link ? (jsx(Button, { href: header.link.href, target: header.link.target, version: buttonVersion, className: "text-s font-medium mt-4 py-[11px]", children: header.link.text })) : null, renderToggleButton({ onToggleColumn, isFillGradient, showRow })] }));
877
877
  });
@@ -986,7 +986,7 @@
986
986
  const SearchBarInputClassName = isMobile ? ' placeholder-transparent' : 'h-full';
987
987
  const inputPlaceholder = isMobile ? 'some search' : undefined;
988
988
  return (jsxs("form", { className: `font-sans relative ${className}`, children: [jsxs("div", { className: "absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none", children: [jsx("div", { className: LoupeIconClassName, children: jsx(Img, { image: { icon: 'LoupeIcon' }, width: "24", height: "24" }) }), term ? null : (jsx("label", { htmlFor: "search-bar-input", className: `text-secondary-text ${SearchBarLabelClassName}`, children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443" }))] }), jsx("input", { id: "search-bar-input", className: `h-12 pl-12 w-full peer text-l text-black border border-solid rounded-md box-border
989
- outline-none pr-[6%] border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text ${SearchBarInputClassName}`, value: term, onChange: (e) => setTerm(e.target.value), type: "text", name: "search-bar-input", placeholder: inputPlaceholder }), isMobile ? (jsx("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) => {
989
+ outline-none pr-[6%] border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text ${SearchBarInputClassName}`, value: term, onChange: (e) => setTerm(e.target.value), type: "text", name: "search-bar-input", placeholder: inputPlaceholder }), isMobile ? (jsx("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) => {
990
990
  e.preventDefault();
991
991
  setTerm('');
992
992
  }, children: jsx(Img, { image: { icon: 'CloseIcon' }, width: "24", height: "24" }) })) : (jsx(Button, { version: "primary", text: "\u041D\u0430\u0439\u0442\u0438", className: "invisible peer-focus:visible absolute top-[3px] right-1", onClick: (ev) => {
@@ -1088,7 +1088,11 @@
1088
1088
  label: 'Google Play',
1089
1089
  },
1090
1090
  ];
1091
- const MediaButton = JSX(({ version = 'primary', ...rest }) => {
1091
+ const BUTTON_SIZE = {
1092
+ default: ' w-14 h-14',
1093
+ small: ' w-12 h-12',
1094
+ };
1095
+ const MediaButton = JSX(({ version = 'primary', isRounded = false, buttonSize = 'default', ...rest }) => {
1092
1096
  const link = useLink();
1093
1097
  const { href, onClick } = link(rest);
1094
1098
  const { icon, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
@@ -1098,8 +1102,9 @@
1098
1102
  const classes = version === 'secondary'
1099
1103
  ? 'bg-white hover:bg-secondary-hover'
1100
1104
  : 'border-solid border border-main-divider hover:border-transparent hover:bg-primary-main';
1101
- const isPrimary = version === 'primary';
1102
- return (jsx("a", { className: `flex items-center justify-center rounded-md w-14 h-14 group box-border ${classes} ${isPrimary ? 'hover:text-black' : ''}`, href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", onClick: onClick, children: icon ? (jsx(Img, { image: getIconWithVersion(icon), imageClassName: "group-hover:text-white", width: "24", height: "24", asSVG: true })) : null }));
1105
+ const isPrimary = version === 'primary' ? 'hover:text-black' : '';
1106
+ const rounded = isRounded ? 'rounded-full' : 'rounded-md';
1107
+ return (jsx("a", { className: `flex items-center justify-center group box-border ${classes} ${rounded} ${isPrimary} ${BUTTON_SIZE[buttonSize]}`, href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", onClick: onClick, children: icon ? (jsx(Img, { image: getIconWithVersion(icon), imageClassName: "group-hover:text-white", width: "24", height: "24", asSVG: true })) : null }));
1103
1108
  });
1104
1109
 
1105
1110
  const SocialMedia = JSX(({ className = '', media, version }) => (jsx("div", { className: `flex gap-2 items-start justify-start pt-6 pb-6 ${className}`, children: media?.map((_, index) => (jsx(MediaButton, { version: version, ..._ }, String(index)))) })));
@@ -1138,7 +1143,7 @@
1138
1143
  return orientation === 'horizontal' ? (jsx(SwipeListControl, { children: cards?.map(renderCard) })) : (jsx("div", { className: "grid gap-3.5", children: cards?.map(renderCard) }));
1139
1144
  }
1140
1145
  function renderCard(card, key) {
1141
- return (jsxs("div", { className: `w-full h-full flex flex-col justify-between shrink-0 box-border snap-start snap-always border-solid border rounded-md border-main-stroke p-4
1146
+ return (jsxs("div", { className: `w-full h-full flex flex-col justify-between shrink-0 box-border snap-start snap-always border-solid border rounded-md border-gray p-4
1142
1147
  ${VersionStyleMap[card.version ?? 'primary']}`, children: [jsxs("div", { children: [renderImage$2(card.icon), card.title ? jsx("h3", { className: `text-m-title-xs font-medium m-0`, children: card.title }) : null, card.description ? renderDescription(card) : null, card.items?.length ? renderItems(card.items, card.isDotted, card.version) : null] }), card?.button?.text ? renderButton$1(card.button) : null] }, key));
1143
1148
  }
1144
1149
  const renderImage$2 = (image) => image?.src || image?.icon ? (jsx("div", { className: "flex justify-center", children: jsx(Img, { className: "mb-3.5", image: image }) })) : null;
@@ -1312,12 +1317,12 @@
1312
1317
  const LinkDocsListItem = JSX(({ className = '', doc, icon }) => (jsx(LinkDocsListItemBase, { className: `flex h-full box-border ${className}`, iconClassName: "mr-3 min-w-6 min-h-6", doc: doc, icon: icon })));
1313
1318
 
1314
1319
  const LinkDocsHorizontalList = JSX(({ hasBorder = true, documents, icon }) => (jsx(SwipeListControl, { className: "text-s text-primary-main mt-5", children: documents?.length
1315
- ? documents.map((doc, i) => (jsx(LinkDocsListItem, { className: hasBorder ? 'rounded-md border-main-stroke border border-solid p-4' : '', doc: doc, icon: icon }, String(i))))
1320
+ ? documents.map((doc, i) => (jsx(LinkDocsListItem, { className: hasBorder ? 'rounded-md border-gray border border-solid p-4' : '', doc: doc, icon: icon }, String(i))))
1316
1321
  : null })));
1317
1322
 
1318
1323
  const LinkDocsVerticalList = JSX(({ hasBorder = true, documents, icon }) => {
1319
1324
  return (jsx("div", { className: `text-s text-primary-main flex flex-col mt-5 ${hasBorder ? 'gap-3.5' : 'gap-2'}`, role: "list", children: documents?.length
1320
- ? documents.map((doc, i) => (jsx("div", { role: "listitem", children: jsx(LinkDocsListItem, { className: hasBorder ? 'rounded-md border-main-stroke border border-solid p-4' : '', doc: doc, icon: icon }) }, String(i))))
1325
+ ? documents.map((doc, i) => (jsx("div", { role: "listitem", children: jsx(LinkDocsListItem, { className: hasBorder ? 'rounded-md border-gray border border-solid p-4' : '', doc: doc, icon: icon }) }, String(i))))
1321
1326
  : null }));
1322
1327
  });
1323
1328
 
@@ -1547,7 +1552,7 @@
1547
1552
 
1548
1553
  const TableTileHeader = JSX(({ title, icon }) => (jsxs("div", { className: "flex gap-2.5 mb-2", children: [title ? jsx(Heading, { headingType: "h3", className: "font-medium", title: title }) : null, icon ? (jsx(Img, { className: "ml-auto max-w-6 max-h-6", image: icon, width: "24px", height: "24px" })) : null] })));
1549
1554
 
1550
- const TariffsTableTileCell = JSX(({ tile, ...rest }) => (jsxs("div", { className: "rounded-md border-main-stroke h-full box-border border p-4", children: [jsx(TableTileHeader, { ...tile?.header }), tile?.data?.length
1555
+ const TariffsTableTileCell = JSX(({ tile, ...rest }) => (jsxs("div", { className: "rounded-md border-gray h-full box-border border p-4", children: [jsx(TableTileHeader, { ...tile?.header }), tile?.data?.length
1551
1556
  ? tile.data.map((cell, i) => (jsxs("div", { children: [i > 0 ? jsx("div", { className: "h-5" }) : null, renderCell(cell, rest)] }, String(i))))
1552
1557
  : null] })));
1553
1558
  function renderCell(cell, props) {
@@ -1753,7 +1758,7 @@
1753
1758
  return (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: i }, el) : [el]), []);
1754
1759
  }
1755
1760
 
1756
- const packageVersion = "0.6.47";
1761
+ const packageVersion = "0.6.49";
1757
1762
 
1758
1763
  exports.Blocks = Blocks;
1759
1764
  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"),s=n("useMemo"),a=n("useRef");const o=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 BASE_PATH(){return this._.BASE_PATH&&!this._.BASE_PATH.endsWith("/")?`${this._.BASE_PATH}/`:this._.BASE_PATH}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},c="likesToken";function d(){async function e(){try{const e=JSON.parse(globalThis.localStorage?.getItem(c)||"");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(c,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/${o.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/${o.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/${o.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 m=(...e)=>globalThis._uni._jsx(...e),h=(...e)=>globalThis._uni._jsxs(...e),u=e=>{const t=e;return t._tmpl||(t._tmpl=globalThis.__UNI_REACT__?e:p(e)),t._tmpl},p=e=>{function t(t,n){const{children:i,...r}=t||{},l=n?.slots?.default,s=i||l&&l();return e(Object.assign(r,s&&{children:s}),n)}return t.inheritAttrs=!1,t};function g(e){return e?e.filter(Boolean).join(" "):""}const b=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),x=[],f=["col-span-12"];function N(e,t){const{key:n,blockDecorator:i=b,blocksRegistry:r={},ancestors:l=x,className:s=""}=t,{type:a}=e;a&&a in r||console.warn(`No block with "${a}" is registered`);const o=a&&r[a];return i({blockClassName:`scroll-mt-12 ${s} ${g(e.style||f)}`,block:e,ancestors:l,render:({block:i,blockClassName:r})=>{const{content:l}=i;return o?m(o,{className:r,block:e,options:t,...l},n):null}},n)}const y=[],v=(e,{key:t,ancestors:n=y,slotName:i=null,renderChild:r=N,...l})=>(e||[]).map(((e,s)=>r(e,{...l,key:`${t||e.type}-${s}`,ancestors:l.parent?[...n||y,[l.parent,i]]:n})));function w({children:e,block:t,options:n,renderChild:i}){return e||(t&&n?v(t.blocks,{...n,parent:t,renderChild:i}):null)}class k{static inst=new k;subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]=(this.subscribers[e]||[]).concat(t);const n=this.subjectsStateMap[e];return n&&t(n),()=>{this.unsubscribe(e,t)}}unsubscribe(e,t){this.subscribers[e]=this.subscribers[e]?.filter((e=>e!==t))}fire(e,t){e in this.subjectsStateMap&&(this.subjectsStateMap[e]=t),this.subscribers[e]?.forEach((e=>e(t)))}subject(e,t){this.subjectsStateMap[e]=t}}function $(e,{sensitivity:t,rootRef:n}={}){const i=a(null),l=s((()=>({threshold:C(t),root:n?.current})),[t,n?.current]);return r((()=>{if(!i.current)return;const t=new IntersectionObserver(e,l);return t.observe(i.current),()=>{t.disconnect()}}),[e,l]),i}function C(e=0){const t=Math.round(10*e);return new Array(t).fill(0).map(((e,n)=>Math.min(n/t)),1).concat(1)}const S=e=>e?.replace("#",""),T=e=>`${globalThis.location?.pathname}#${S(e)}`;class _{static inst=new _;eventBus=new k;constructor(){const e=S(globalThis.location?.hash);e&&this.eventBus.subject("goto",{anchor:e})}goto(e){const t=S(e);t&&(this.push(t),this.eventBus.fire("goto",{anchor:t}))}push(e){globalThis.history?.pushState(null,"",T(e))}replace(e){globalThis.history?.replaceState(null,"",T(e))}reset(){globalThis.history?.replaceState(null,"",T())}}const I=u((({className:e,block:t,tag:n="section",role:s,children:a})=>{const o=n,c=function(e,t=_.inst){const n=$(l((n=>{if(!e||!n?.length)return;const i=n[n.length-1];t.eventBus.fire("intersection",{block:e,intersection:i})}),[e,t]),{sensitivity:1});return r((()=>{if(n.current)return t.eventBus.subscribe("goto",(({anchor:t})=>{n.current&&e?.anchor===t&&n.current.scrollIntoView({behavior:"smooth",block:"start"})}))}),[e,t]),n}(t),[d,h]=i(!0);return r((()=>k.inst.subscribe("tab",(e=>{if("group"===e.type){const n=t?.labels?.length||t?.anchor;h(!e.label||(!n||Boolean(t?.labels?.includes(e.label))))}else h(!0)}))),[t]),d?m(o,{className:e,role:s,...t?.anchor?{id:t.anchor,ref:c}:{},children:a}):null})),A={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"},j=u((e=>{const{className:t,headingType:n="h3",title:i,as:r="h3"}=e;return m(r,{className:`font-sans font-medium m-0 ${A[n]} ${t||""}`,children:i})})),R=u((({size:e,color:t,align:n,font:i,children:r})=>m("p",{className:["font-sans",e,t,n,i].filter(Boolean).join(" "),children:r}))),D=u((({children:e})=>m("ul",{className:"list-none m-0 p-0",children:e}))),B=u((({title:e,description:t,className:n="",...i})=>h(I,{className:`py-6 px-4 bg-white text-primary-text ${n}`,...i,children:[e?m(j,{headingType:"h3",className:"mb-2 text-center",title:e}):null,t?m("div",{className:"mb-5",children:m(R,{size:"text-m",font:"font-light",align:"text-center",children:t})}):null,m(D,{children:w(i)})]})));B.childrenTypes=["AccordionItem"];const O=u((({isFoldButtonOnTop:e=!1,unfoldedByDefault:t=!1,renderFoldableSection:n,renderFoldButton:r})=>{const[s,a]=i(t),o=l((()=>{a((e=>!e))}),[]),c=n({isUnfolded:s,onToggle:o}),d=r?r({isUnfolded:s,onToggle:o}):null;return h("div",e?{children:[d,c]}:{children:[c,d]})})),V=u((({className:e="",isUnfolded:t,children:n})=>{const i=a(null);return r((()=>{i.current&&(i.current.style.maxHeight=t?`${i.current.scrollHeight}px`:"")}),[t,n?.length]),m("div",{ref:i,className:`transition-max-h duration-300 overflow-hidden ${i.current||!t?"max-h-0":""} ${e}`,children:n})})),M={normal:"",color:"text-primary-main",black:"text-black",white:"text-black"},P=u((({className:e="",imageClassName:t="",name:n="",alt:i=`Иконка ${n}`,title:r=i,iconVersion:l="color",asSVG:s,...a})=>{const c=`${o.CDN||""}icons/${n}.svg`;return s&&"normal"!==l?m(F,{className:e,children:h("svg",{className:[E(e,a.width),M[l],t,L(l)].join(" "),...a,"aria-hidden":"true",children:[r?m("title",{children:r}):null,i?m("desc",{children:i}):null,m("use",{href:`${c}#icon`,xlinkHref:`${c}#icon`})]})}):m("img",{className:e,src:c,alt:i,title:r,...a,"aria-hidden":"true"})})),L=e=>"white"===e?"invert":"",E=(e,t)=>t?`width: ${t}px `:"w-full h-full",F=u((({className:e,children:t})=>e?m("div",{className:e,children:t}):t)),H=(e,t)=>e.media&&t.media?e.media-t.media:0,z=u((({className:e="",image:t,imageClassName:n="",isMobile:i=!1,pathPrefix:r})=>{if(!t||!t?.sources&&!t?.src)return null;return h("picture",{className:`${i?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.sort(H).map((({src:e,format:n,media:i},l)=>m("source",{srcSet:W(e,r),type:U(n),media:i?`(max-width: ${i}px)`:"",...t.size},`${l}_${e}`))):null,G({...t,src:J(t.src,r)},n,i)]})})),G=(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,s=n?"m-auto":"m-0";return m("img",{src:e.src,className:`${s} ${t}`,alt:l,title:r,style:i,...e.size})},J=(e,t)=>!e||e?.startsWith("data:image")?e:`${((e="")=>e&&!e.endsWith("/")?`${e}/`:e)(t)}${e}`,W=(e,t)=>e?.split(",").map((e=>J(e.trim(),t))).join(", ");function U(e){return e?`image/${String(e)}`:void 0}const Y=u((({className:e="",image:t,imageClassName:n="",isMobile:i,pathPrefix:r,...l})=>t?.src||t?.icon?t.icon?m(P,{className:e,imageClassName:n,iconVersion:t?.iconVersion||"normal",name:t.icon,...l}):m(z,{className:e,imageClassName:n,image:t,isMobile:i,pathPrefix:r}):null)),K=u((e=>m(Y,{...e,isMobile:!0}))),X=u((({size:e,color:t,align:n,font:i,children:r})=>m("span",{className:["font-sans",e,t,n,i].filter(Boolean).join(" "),children:r}))),q=(e,t="primary")=>({...e,iconVersion:e?.iconVersion??("secondary"===t?"white":"color")}),Q=["PlusIcon","MinusIcon"],Z=u((({className:e="",label:t="",labelIcon:n,isExpanded:i,...r})=>{const{bordered:l}=function(e,t){const{content:n}=function(e){return e?.parent||{}}(e);return n||t}(r.options,{});return m("li",{className:`${l?"border p-4 rounded mb-4":"border-0 border-b last:border-b-0"} border-solid border-main-divider ${e}`,children:m(O,{isFoldButtonOnTop:!0,unfoldedByDefault:i,renderFoldableSection:({isUnfolded:e})=>m(V,{className:"flex flex-wrap group-last:last:pb-0 gap-5 [&>*]:p-0",isUnfolded:e,children:w(r)}),renderFoldButton:({isUnfolded:e,onToggle:i})=>m(ee,{className:l?"":"py-3.5 px-0",label:t,icon:Q[Number(e)],primaryIcon:n,onClick:i})})})}));Z.childrenTypes=[];const ee=u((({className:e,icon:t,label:n,primaryIcon:i,onClick:r})=>h("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:[h("div",{className:"flex group-hover:text-primary-main",children:[i?m(K,{image:q(i),className:"mr-3 flex-shrink-0",width:"24",height:"24",asSVG:!0}):null,m(X,{size:"text-m-title-xs",font:"font-medium",children:n})]}),m(K,{className:"flex-shrink-0",image:q({icon:t}),width:"24",height:"24",asSVG:!0})]}))),te=u((({className:e="",style:t,idx:n,activeIndex:i,observerOptions:r,children:s,onIntersection:a})=>{const o=$(l((e=>{e.length&&a&&a(n||0,e[e.length-1])}),[a,n]),r);return m("div",{className:`inline-block snap-always box-border ${e}`,style:t,role:"listitem","aria-current":Boolean(n===i),ref:o,children:s})})),ne=["min-w-[100%]","min-w-[50%]","min-w-[33.33%]","min-w-[25%]"],ie=u((({className:e="",containerRef:t,activeIndex:n,visibleItemCount:i=0,gap:r=0,padding:s=0,snapAlign:o="snap-center",children:c,onVisibleItemsChange:d,onVisibleIndicesChange:h})=>{const u={sensitivity:1,rootRef:t},p=a([]),g=l(((e,t)=>{const n=[...p.current||[]];n[e]=t,p.current=n,d&&d(n),h&&h(le(n))}),[d,h]),b=i>0?r*Number(i)-1:0;return m("div",{className:`box-border overflow-auto flex horizontal-list no-scrollbar ${e}`,style:{...re(s,b),gap:`${r}px`},role:"list",ref:t,children:(x=(e,t)=>m(te,{className:`${o} ${i?ne[i-1]:""}`,style:re(s/4),activeIndex:n,idx:t,observerOptions:u,onIntersection:g,children:e},String(t)),e=>null==e?e:Array.isArray(e)?e.map(x):x(e,0))(c)});var x})),re=(e,t=0)=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e+t}px`}),le=e=>e.map(((e,t)=>[e,t])).filter((([e])=>e&&e.intersectionRatio>=.9)).map((([,e])=>e)),se=u((({containerRef:e,activeIndex:t,dotCount:n=0})=>n?m("div",{className:"flex gap-2 mx-auto mt-5 w-fit",children:new Array(n).fill(null).map(((n,i)=>m("div",{className:"cursor-pointer bg-primary-main h-2 rounded-full transition-width duration-300 "+(i===t?"w-6":"w-2 opacity-30"),role:"button","aria-hidden":!0,onClick:()=>(n=>{n!==t&&e?.current&&e.current.children[n]?.scrollIntoView({behavior:"smooth",block:"nearest"})})(i)},String(i))))}):null)),ae=e=>e,oe=(e=ae)=>t=>t.reduceRight(((t,n)=>e(t)>e(n)?t:n)),ce=(e=ae)=>oe((t=>-e(t))),de=e=>t=>e.scrollWidth/t,me=e=>(t,n)=>{e.scrollBy({left:n*de(e)(t),behavior:"smooth"})},he=({itemCount:e,isCyclic:t,onVisibleIndicesChange:n})=>{const r=a(null),[s,o]=i([]),c=l((e=>{o((t=>{return(n=t)===(i=e)||Boolean(n&&i&&n?.length===i?.length&&n.every(((e,t)=>e===i[t])))?t:e;var n,i})),n&&n(e)}),[e]),[d,m]=s.length?[ce()(s),oe()(s)]:[-1,-1],h=d>0,u=m<e-1,p=l((()=>{var n;r.current&&(t&&!h?(n=r.current).scrollTo({left:n.scrollWidth,behavior:"smooth"}):me(r.current)(e,-1))}),[t,e,h]),g=l((()=>{r.current&&(t&&!u?r.current.scrollTo({left:0,behavior:"smooth"}):me(r.current)(e,1))}),[e,t,u]);return[r,{scrollLeft:p,scrollRight:g,canScrollLeft:t||h,canScrollRight:t||u,visibleIndicesRange:[d,m],handleVisibleIndicesChange:c}]},ue=u((({className:e,gap:t=14,padding:n=16,showDots:i=!0,children:r,onVisibleIndicesChange:l})=>{const s=Array.isArray(r)?r.length:0,[a,o]=he({itemCount:s,onVisibleIndicesChange:l}),[c]=o.visibleIndicesRange;return h("div",{className:e,children:[m(ie,{containerRef:a,activeIndex:c,visibleItemCount:1,gap:t,padding:n,onVisibleIndicesChange:o.handleVisibleIndicesChange,children:r}),i?m(se,{containerRef:a,activeIndex:c,dotCount:s}):null]})}));const pe=e=>e?.includes("//"),ge=e=>(e||"").replace(/\/?\?.*/,""),be=e=>{if(!e||!pe(e))return;const t=e,n=t.indexOf("//"),i=t.indexOf("/",n+"//".length);return-1!==i?t.substring(0,i):t},xe=e=>{if(!e||!pe(e))return;return new URL(e).pathname},fe=e=>e?.startsWith("#");var Ne=Object.freeze({__proto__:null,isURL:pe,withoutQuery:ge,getOrigin:be,getPathname:xe,getHash:e=>{if(!e||!pe(e))return;const t=e.indexOf("#");return-1!==t?e.substring(t,e.length):void 0},isHash:fe});const ye=(e,t)=>ye._impl(e,t);function ve(){return ve._impl()}function we(){const e=ve(),t=_.inst;return n=>{const i=((e,t)=>{if(!e)return e;const n=be(t?.href);return n?e.replace(n,"")||"/":e})(n.href,e);return{...n,href:i,"aria-label":n.text,onClick:ye((r=>{n.onClick&&n.onClick(r),ke(i,n.target)||(r?.preventDefault(),fe(i)?t.goto(i):i&&e.push(i))}),n)}}}ye._impl=e=>e,ye.setup=e=>{ye._impl=e},ve._impl=()=>({href:globalThis.location?.href||"/",pathname:globalThis.location?.pathname||"/",query:{},push:()=>{},replace:()=>{}}),ve.setup=e=>{ve._impl=e};const ke=(e,t)=>pe(e)||t&&"_self"!==t||e?.startsWith("/"),$e={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:""},Ce="bg-main-divider text-main-disabled",Se={primary:Ce,secondary:Ce,white:Ce,link:""},Te="text-center font-sans select-none",_e={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:""},Ie=u((e=>{const{text:t,aboveText:n,appendLeft:i,appendRight:r,version:l="primary"}=e;return h("div",{className:Ae(e),children:[i?m("div",{className:_e[l],children:i}):null,je(e)?h("div",{children:[n?m("div",{className:"text-xs-light text-left",children:n}):null,m("div",{className:"text-left "+(n?"text-s -mt-0.5":"text-l"),children:t})]}):null,r?m("div",{className:_e[l],children:r}):null]})})),Ae=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-4");return["group flex items-center justify-center",je(e)?r:"h-12 w-12",i?"rounded-full":""].join(" ")},je=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),Re=({className:e,rounded:t,version:n})=>["inline-block",Te,n?Se[n]:"",t?"rounded-full":"rounded-md",e].join(" "),De=({className:e,rounded:t,version:n})=>[Te,"border border-transparent inline-block cursor-pointer no-underline focus:border-primary-focus focus:border",n?$e[n]:"",t?"rounded-full":"rounded-md",e].join(" "),Be=u((({disabled:e,children:t,...n})=>{const i=we()(n),r=t??m(Ie,{...i});return m(e?Ve:Oe,{...i,children:r})})),Oe=u((({className:e="",href:t,rel:n,target:i,ariaLabel:r,version:l,rounded:s,onClick:a,children:o})=>m("a",{className:De({className:e,version:l,rounded:s}),href:t,rel:n,target:i,"aria-label":r,role:t?"link":"button",onClick:a,children:o}))),Ve=u((({className:e,ariaLabel:t,version:n,rounded:i,children:r})=>m("div",{role:"button","aria-disabled":"true","aria-label":t,tabIndex:-1,className:Re({className:e,rounded:i,version:n}),children:r}))),Me=(e=!1)=>e?"text-white":"",Pe=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),Le=u((({icon:e,image:t,title:n,subtitle:i,isFillGradient:r})=>h("div",{role:"columnheader",children:[e?m(K,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}):null,t?.src&&m("div",{className:"mb-3.5",children:m(K,{image:t})}),n?m(j,{headingType:"h4",className:Me(r),title:n}):null,i?m("div",{className:Pe(r),children:i}):null]}))),Ee=u((({cell:e,rowHeader:t,isFillGradient:n=!1})=>m("div",{className:"box-border flex flex-col",role:"cell",children:m("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)=>h("div",{className:"flex justify-between text-s py-3.5",children:[m("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),h("div",{className:"basis-1/2",children:[n?m("div",{className:"text-right "+(e?"text-white":""),children:n}):null,i?m("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:i}):null]})]},String(r)),He=u((({header:e,columnData:t,visibleRowLength:n=0,isFillGradient:i,showRow:r,onToggleColumn:l})=>{const s=t?.slice(0,r?t.length:n),a=i?"secondary":"primary";return h("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:[m(Le,{...e,isFillGradient:i}),s?.length?s.map((({rowHeader:e,cell:t},n)=>m(Ee,{cell:t,rowHeader:e,isFillGradient:i},String(n)))):null,r&&e?.link?m(Be,{href:e.link.href,target:e.link.target,version:a,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}):null,ze({onToggleColumn:l,isFillGradient:i,showRow:r})]})})),ze=({onToggleColumn:e,isFillGradient:t,showRow:n})=>m("div",{className:"mt-5",role:"cell",children:m("a",{role:"link",onClick:e,className:"text-s font-medium cursor-pointer "+(t?"text-white/80":"text-primary-main"),children:n?"Скрыть":"Показать описание"})}),Ge=u((e=>{const{className:t,title:n}=e;return h("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${t||""}`,children:[n?m(j,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:n}):null,m("div",{role:"table",children:m(Je,{...e})})]})})),Je=u((({columns:e=[],rowHeaders:t,isColoredFirstColumn:n,visibleRowLength:r,orientation:s,...a})=>{const[o,c]=i(new Array(e.length).fill(!r)),d=l((e=>{const t=(t,n)=>n===e?!t:t;c((e=>e.map(t)))}),[]),h=l((()=>c((e=>new Array(e.length).fill(!1)))),[]),u=e?.map((({data:e,header:i},l)=>{return m(He,{visibleRowLength:r,showRow:o[l],header:i,columnData:(s=e,s?.map(((e,n)=>({cell:e,rowHeader:t?.[n]?.title})))),isFillGradient:0===l&&n,onToggleColumn:()=>d(l),...a},String(l));var s}));return"horizontal"===s?m(ue,{onVisibleIndicesChange:h,children:u}):u})),We=new Map;function Ue(e,t,{fallback:n}={}){const l=s((()=>Ye(e)),[e]),[a,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=>We.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:a||c||!p?a:p,error:c,mutate:()=>Promise.resolve(void 0),isValidating:!1}}function Ye(e){return e?Array.isArray(e)?e:e instanceof Function?Ye(e()):[e]:[e]}async function Ke(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await n.json()}function Xe(e,t={}){const{data:n}=Ue(`/wcms-resources/${e}.json`,Ke,{fallback:t});return n||{}}const qe=u((({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",s=t?" placeholder-transparent":"h-full",a=t?"some search":void 0;return h("form",{className:`font-sans relative ${e}`,children:[h("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[m("div",{className:t?"w-5 h-5":"w-6 h-6",children:m(K,{image:{icon:"LoupeIcon"},width:"24",height:"24"})}),n?null:m("label",{htmlFor:"search-bar-input",className:`text-secondary-text ${l}`,children:"Поиск по сайту"})]}),m("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 ${s}`,value:n,onChange:e=>r(e.target.value),type:"text",name:"search-bar-input",placeholder:a}),t?m("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:m(K,{image:{icon:"CloseIcon"},width:"24",height:"24"})}):m(Be,{version:"primary",text:"Найти",className:"invisible peer-focus:visible absolute top-[3px] right-1",onClick:e=>{e?.preventDefault(),console.log("click")},children:m("div",{className:"text-s px-9 py-2.5",children:"Найти"})})]})})),Qe=u((e=>m(qe,{...e,isMobile:!0}))),Ze=u((({className:e="",documents:t,...n})=>m(I,{className:`font-sans bg-white mt-2.5 ${e}`,...n,children:m("ul",{className:"flex flex-col text-s text-secondary-text p-0",children:t?.length?et(t):null})}))),et=e=>e.map(((e,t)=>{const{text:n,...i}=e;return m("li",{className:"mb-4 list-none",children:m("a",{className:"hover:text-primary-main",role:"link",...i,children:n||null})},`list_item_${String(t)}`)})),tt={"bg-white":"color",transparent:"white"},nt={"bg-white":"text-primary-main",transparent:"text-white"},it=(e,t,n)=>m(K,t?.src?{image:t,className:nt[e],width:n?.width,height:n?.height,pathPrefix:"/wcms-resources/",asSVG:!0}:{image:{icon:t?.icon||"LogoIcon",iconVersion:tt[e]},className:nt[e],width:n?.width,height:n?.height,asSVG:!0}),rt={"bg-white":"text-primary-text",transparent:"text-white"},lt=(e,t,n)=>m("span",{className:`${rt[t]} ml-2.5 font-medium ${n||""}`,children:e||"Россельхозбанк"}),st=u((({bgColor:e="bg-white",children:t,className:n="",href:i,logo:r,showTitle:l=!0,targetBlank:s})=>h("a",{className:`inline-flex items-center font-sans no-underline ${n}`,href:i||"https://rshb.ru/",target:s?"_blank":"_self","aria-label":r?.title||"Россельхозбанк",children:[it(e,r?.image,{width:"34",height:"34"}),l?lt(t||r?.title,e,"text-s"):null]}))),at=u((({className:e="",title:t="Мобильное приложение",description:n,href:i="#"})=>m("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light font-sans ${e}`,children:i?h("div",{className:"flex",children:[m("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-12 h-12",children:m(st,{className:"w-8",bgColor:"transparent",showTitle:!0})}),h("a",{href:i,target:"_blank",className:"flex flex-col justify-center pl-3",children:[m("div",{className:"text-s font-medium mb-[3px]",children:t}),m("div",{className:"text-s text-secondary-text",children:n})]})]}):null}))),ot=u((({className:e="",items:t,hasButton:n})=>h("div",{className:e,children:[t?.length?t.map(ct):null,n?m(Be,{version:"primary",className:"mb-6 w-full",href:"/",target:"_blank",ariaLabel:"Обратная связь",text:"Обратная связь"}):null]}))),ct=(e,t)=>{const{type:n,text:i,description:r}=e;return h("div",{className:"mb-4",children:[m("div",{children:dt(n,i)}),m("div",{className:"mt-1 text-s-light text-secondary-text",children:r})]},String(t))},dt=(e,t="")=>{switch(e){case"tel":return m("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${mt(t)}`,children:t});case"email":return m("a",{className:"text-xl-light text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return m("span",{children:t})}},mt=e=>e.replaceAll(/\D/g,""),ht=u((({className:e="",index:t,text:n,...i})=>{const r=we(),{href:l,target:s,onClick:a}=r(i);return m("a",{className:`text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:l,target:s,onClick:a,children:n||`Документ ${t}`})})),ut=u((({title:e,links:t,className:n=""})=>h("div",{className:n,children:[m("span",{className:"text-primary-text text-s font-medium",children:e}),t?.length?m("div",{className:"flex flex-col gap-2 pt-3",children:t.map(((e,t)=>m(ht,{index:t,className:"text-s",...e},String(t))))}):null]}))),pt=[{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"}],gt=u((({version:e="primary",...t})=>{const n=we(),{href:i,onClick:r}=n(t),{icon:l,label:s}=pt.find((({origins:e})=>e.some((e=>i?.includes(e)))))||{};if(!l)return null;return m("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 border-main-divider hover:border-transparent hover:bg-primary-main"} ${"primary"===e?"hover:text-black":""}`,href:i,"aria-label":s,target:"_blank",rel:"noopener noreferrer",onClick:r,children:l?m(K,{image:q(l),imageClassName:"group-hover:text-white",width:"24",height:"24",asSVG:!0}):null})})),bt=u((({className:e="",media:t,version:n})=>m("div",{className:`flex gap-2 items-start justify-start pt-6 pb-6 ${e}`,children:t?.map(((e,t)=>m(gt,{version:n,...e},String(t))))}))),xt=u((({className:e="",index:t,...n})=>{const i=we(),{href:r,target:l,text:s,onClick:a}=i(n);return m("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:a,children:s||`Документ ${t}`})})),ft=u((({className:e="",links:t})=>h("div",{className:e,children:[m("div",{className:"py-6",children:m("span",{className:"text-xs-light text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?m("div",{className:"flex flex-col justify-start items-start gap-2",children:t.map(((e,t)=>m(xt,{index:t,...e},String(t))))}):null]}))),Nt=u((({className:e="",...t})=>{const n=t.options?.page?.fallback,i=Xe(o.SITEMAP||"sitemap",n),{documents:r,relatedEnterprises:l,contacts:s,socialMedia:a,horizontalNavigationTitle:c}=Xe(o.FOOTER||"footer",n);return h("footer",{className:`font-sans px-4 py-[26px] bg-white ${e}`,children:[m(ot,{className:"overflow-hidden",items:s,hasButton:!0}),m(D,{children:i.topItems?.map(((e,t)=>m(Z,{label:e.text,children:m(Ze,{documents:e.items})},String(t))))}),m("div",{children:i?.dispositions?.map(yt)}),m(at,{title:"Мобильное приложение",description:"Загрузить для IOS и Android",...t}),m(Qe,{className:"grow"}),m(bt,{className:"pb-4",media:a}),m(ut,{title:c,links:l}),m(ft,{links:r})]})})),yt=(e,t)=>{const{icon:n,href:i,text:r}=e;return h(Be,{version:"link",href:i,className:"flex text-s mb-4 w-6",children:[n?m(K,{className:"pr-1",image:q(n),width:"24",height:"24",asSVG:!0}):null,m("span",{className:"pl-2.5 font-medium text-primary-text",children:r})]},`footer-${t}`)},vt={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},wt=u((({title:e,description:t,cards:n=[],className:i,orientation:r="horizontal"})=>h("section",{className:`relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${i}`,children:[h("div",{className:"flex flex-col items-center mb-5",children:[e?m(j,{headingType:"h3",className:`text-center ${t?"mb-2":"mb-5"}`,title:e}):null,t?m("div",{className:"text-m max-w-[600px] text-center mb-5",children:t}):null]}),kt(r,n)]})));function kt(e,t){return"horizontal"===e?m(ue,{children:t?.map($t)}):m("div",{className:"grid gap-3.5",children:t?.map($t)})}function $t(e,t){return h("div",{className:`w-full h-full flex flex-col justify-between shrink-0 box-border snap-start snap-always border-solid border rounded-md border-main-stroke p-4\n ${vt[e.version??"primary"]}`,children:[h("div",{children:[Ct(e.icon),e.title?m("h3",{className:"text-m-title-xs font-medium m-0",children:e.title}):null,e.description?St(e):null,e.items?.length?_t(e.items,e.isDotted,e.version):null]}),e?.button?.text?(n=e.button,m(Be,{className:"mt-3",...n})):null]},t);var n}const Ct=e=>e?.src||e?.icon?m("div",{className:"flex justify-center",children:m(K,{className:"mb-3.5",image:e})}):null;function St(e){return m("div",{className:"text-secondary-text mt-1 text-s "+("secondary"===e.version?"text-white opacity-80":""),children:e.description})}const Tt={primary:"bg-primary-text",secondary:"bg-white",gray:"bg-secondary-text"};function _t(e,t,n="primary"){return m("section",{className:"mt-3",children:e.map(((e,i)=>h("div",{children:[t?m("div",{className:`rounded-full inline-block mr-3 mt-2 w-2 h-2 min-w-2 min-h-2 ${Tt[n]}`}):null,m("span",{className:"text-m font-medium",children:e.title}),m("span",{className:"text-s pl-2 "+("primary"===n?"text-secondary-text":""),children:e.text})]},String(i))))})}const It=(e,t,n=((e,t)=>t.startsWith(e)))=>n(ge((e=>pe(e)||e?.startsWith("/")?e:`${o.BASE_PATH||""}${e}`)(e)),ge(pe(e)?t.href:xe(t.href))),At=e=>t=>It(t.href,e),jt=e=>t=>t.items?.some(At(e))||It(t.href,e)||((e,t)=>[be(e),be(t.href)].every(((e,t,n)=>Boolean(e)&&e===n[0])))(t.href,e)||Boolean(o.BASE_PATH?.startsWith(t.href||"/")),Rt="absolute left-0 -bottom-3 w-full h-0.5",Dt=u((({className:e="",text:t,href:n,target:i,active:r,onClick:l,children:s,bgColor:a="bg-white"})=>h("a",{className:`relative inline-block bg-transparent text-center no-underline ${e}`,href:n,target:i,onClick:l,children:[m("span",{className:Bt(a,r),children:t||s}),r?m("div",{className:Ot(a,r)}):null]}))),Bt=(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`},Ot=(e,t=!1)=>t?`${"bg-white"===e?"bg-primary-main":e} ${Rt}`:Rt,Vt=864e5;function Mt(e,t,n=globalThis?.localStorage){const i=l((async(...i)=>{const r=`async:${e}`,l=function(e){const{data:t=null,timestamp:n=null}=e?JSON.parse(e):{};return t&&Date.now()-n<Vt?t:void 0}(n.getItem(r));if(l)return l;const s=await t(...i);return n.setItem(r,JSON.stringify({data:s,timestamp:Date.now()})),s}),[e,t]);return Ue(e,i)}const Pt=()=>{const e=globalThis.localStorage?.getItem("location");try{return e?JSON.parse(e):null}catch(e){return null}},Lt=u((({burgerSubMenu:e,onClick:t,defaultLocation:n="",children:s})=>{const[a]=function(e){const t=Pt(),[n,s]=i(t?.region??{name:e}),{data:a}=Mt("/api/v1/region",Ke);return r((()=>{s(t?.region&&t?.manual?t.region:a||{name:e})}),[a]),[n,l((e=>{globalThis.localStorage?.setItem("location",JSON.stringify({manual:!0,region:e})),s(e)}),[s])]}(n);return h("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20",children:[m("button",{className:"absolute top-4 right-4 border-none bg-transparent cursor-pointer",onClick:t,children:m(K,{image:{icon:"CloseIcon"},width:"24",height:"24",asSVG:!0})}),h("button",{className:"flex items-center text-s p-0 mb-4 bg-transparent cursor-pointer",children:[m(K,{image:{icon:"GeolocationIcon"},width:"20",height:"20",className:"text-primary-main box-border mr-2",asSVG:!0}),m(X,{color:"text-secondary-text",children:a.name})]}),s,m("div",{className:"mb-7",children:e?.map(Et)}),m(Qe,{className:"grow"})]})})),Et=(e,t)=>{const{icon:n,href:i,text:r}=e;return h("a",{href:i,className:"flex text-s mb-4 hover:text-primary-main",children:[n?m(K,{className:"text-primary-main pr-1",image:n,width:"24",height:"24",asSVG:!0}):null,m("span",{className:"font-medium pl-0.5",children:r})]},`headerSubMenu-${t}`)},Ft=u((({onClick:e,bgColor:t,logo:n})=>h("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-12",children:[h("div",{className:"flex items-center",children:[m("button",{className:"pl-0 pr-4 border-0 bg-transparent cursor-pointer",onClick:e,"aria-label":"Открыть меню",children:m(K,{image:{icon:"BurgerIcon",iconVersion:"bg-white"===t?"black":"white"},className:"text-primary-text w-6 h-6",width:"24",height:"24",asSVG:!0})}),m(st,{className:"mr-8",bgColor:t,logo:n})]}),m("button",{className:("bg-white"===t?"text-primary-main":"text-white")+" text-s border-0 bg-transparent cursor-pointer",children:"Войти"})]}))),Ht=u((({className:e="",bgColor:t="bg-white",...n})=>{const r=ve(),s=n.options?.page?.fallback,{topItems:a,dispositions:c,defaultLocation:d,logo:u}=Xe(o.SITEMAP||"sitemap",s),p=a?.find(jt(r)),g=p?.items,b=(e=>(t=[])=>{const n=t?.filter(At(e));return n?.length?oe((e=>e.href?.length||0))(n):void 0})(r)(g),[x,f]=i(!1),N=l((()=>f((e=>!e))),[]);return h("header",{className:`${t} ${e}`,children:[h("div",{className:"container px-4 py-0 box-border",children:[m(Ft,{onClick:N,bgColor:t,logo:u}),m("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-12",children:m("div",{className:"flex no-scrollbar horizontal-list h-full items-center",children:g?.map(((e,n)=>m(Dt,{className:"mr-8 whitespace-nowrap text-s",active:e===b,bgColor:t,...e},String(n))))})})]}),x?m(Lt,{onClick:N,burgerSubMenu:c,defaultLocation:d,children:m(D,{children:a?.map(((e,t)=>m(Z,{label:e.text,children:m(Ze,{documents:e.items})},String(t))))})}):null]})})),zt={transparent:{wrapper:"bg-transparent",titleColor:"text-primary-text"},primary:{wrapper:"bg-white",titleColor:"text-primary-text"},secondary:{wrapper:"bg-primary-main",titleColor:"text-white",descriptionColor:"text-white/80"}},Gt=u((({className:e="",title:t,description:n,image:i,bgColorHeadline:r="transparent",align:l="text-left"})=>{const s=zt[r];return h("section",{className:`px-4 py-6 flex flex-col gap-2.5 ${s.wrapper} ${e}`,children:[t?m(j,{headingType:"h2",className:`${s.titleColor} ${l}`,title:t}):null,n?m(R,{color:s.descriptionColor||s.titleColor,size:"text-m",align:l,children:n}):null,i?.src&&m("div",{className:"mt-2.5 mx-auto flex justify-center",children:m(K,{image:i})})]})})),Jt=u((({className:e,iconClassName:t,textClassName:n,suffixClassName:i,doc:r,icon:l})=>{const{text:s,fileSize:a,...o}=r;return h("a",{className:e,role:"link",...o,children:[l?m(K,{className:t,image:q(l),width:"24px",height:"24px",asSVG:!0}):null,s?h("span",{className:n,children:[s,m("span",{className:i,children:o?.href&&Wt(Ut(o.href),a)})]}):null]})})),Wt=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),Ut=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},Yt=u((({className:e="",doc:t,icon:n})=>m(Jt,{className:`flex h-full box-border ${e}`,iconClassName:"mr-3 min-w-6 min-h-6",doc:t,icon:n}))),Kt=u((({hasBorder:e=!0,documents:t,icon:n})=>m(ue,{className:"text-s text-primary-main mt-5",children:t?.length?t.map(((t,i)=>m(Yt,{className:e?"rounded-md border-main-stroke border border-solid p-4":"",doc:t,icon:n},String(i)))):null}))),Xt=u((({hasBorder:e=!0,documents:t,icon:n})=>m("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)=>m("div",{role:"listitem",children:m(Yt,{className:e?"rounded-md border-main-stroke border border-solid p-4":"",doc:t,icon:n})},String(i)))):null}))),qt=u((({className:e="",title:t,description:n,icon:i={icon:"DocIconMonoColor"},documents:r,orientation:l="vertical",hasBorder:s=!0,...a})=>h("section",{className:`font-sans text-primary-text py-6 px-4 bg-white overflow-x-hidden ${e}`,children:[m(Gt,{className:"!p-0 "+(n?"gap-2":"gap-5"),title:t,description:n,...a}),m("vertical"===l?Xt:Kt,{hasBorder:s,documents:r,icon:i})]}))),Qt=e=>{const t="col-span-",n=e.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function Zt(e=""){const t=Qt(e);return t<=4?"S":t<=8?"M":"L"}function en(e=""){const t=Qt(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function tn(e=""){const t=Qt(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const nn=u((({className:e,title:t,description:n="Блок в разработке...",...i})=>h(I,{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${tn(e)} ${en(e)} `,...i,children:[m(Gt,{className:"!p-0 max-w-[600px]",title:t,description:n,headlineVersion:Zt(e),...i}),m("figure",{className:"m-0 min-w-[80%]",children:rn()})]}))),rn=(e=3)=>sn(100,e).map((e=>Math.floor(e))).map(ln),ln=(e,t)=>m("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),sn=(e,t)=>[e].concat(t>0?sn(e/1.618,t-1):[]),an=u((({className:e="",buttons:t})=>t&&t?.length?m("div",{className:e,children:t.map(((e,t)=>on({button:e,index:t})))}):null));function on({button:e,buttonClassName:t,index:n}){const{icon:i,iconRight:r,version:l,text:s,...a}=e,o="secondary"===l?"color":"white",c=cn({...i,iconVersion:o}),d=cn({...r,iconVersion:o});return s?m(Be,{className:t,appendLeft:c,appendRight:d,version:l,text:s,...a},n?String(n):""):null}const cn=e=>{if(!e?.icon&&!e?.src)return null;const t=e?.size?.width?`${e.size.width}`:"24";return m(K,{image:e,width:t,height:"24",asSVG:!0})},dn={primary:"bg-primary-text",secondary:"bg-white",gray:"bg-secondary-text"},mn={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"},hn=u((({className:e="",isDotted:t=!0,children:n,version:i="primary",size:r="M"})=>h("div",{className:`font-sans flex items-baseline ${e}`,role:"listitem",children:[t?m("div",{children:m("div",{className:`rounded-full align-middle inline-block ${dn[i]} ${mn[r]}`})}):null,m("span",{children:n})]}))),un={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text"},pn={S:"text-l-light",M:"text-h6",L:"text-h5"},gn={S:"ml-2",M:"ml-3",L:"ml-4"},bn=u((e=>{const{className:t="",hasIndent:n,isDotted:i,itemClassName:r="",items:l,listItemSize:s="M",version:a="primary"}=e;return l?.length?m("section",{className:`${un[a]} ${pn[s]} ${t} ${n?gn[s]:""}`,role:"list",children:l.map(((e,t)=>m(hn,{className:`${r} mb-1.5`,isDotted:i,version:a,size:s,children:e},String(t))))}):null})),xn=u((({className:e="",title:t="",buttons:n,image:i,children:r})=>h("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,children:[t,h("div",{className:"flex grow w-full justify-between",children:[h("div",{className:"flex flex-col justify-between w-full",children:[m("div",{className:"h-full",children:r}),n?m("div",{className:"mt-auto pt-8",children:n}):null]}),i]})]}))),fn={primary:"text-primary-text",secondary:"text-white"},Nn={primary:"text-secondary-text",secondary:"text-white"},yn=u((e=>{const{className:t="",icon:n,label:i,description:r,version:l="primary",benefitsVersion:s="normal"}=e,a="white"===s?"secondary":"primary";return h("div",{className:`flex gap-5 ${r?"items-start":"items-center"} ${t}`,children:[n?m("div",{className:vn(l,s),children:m(K,{className:"w-6 h-6",image:q(n,a),asSVG:!0})}):null,h("div",{className:"gap-0.5",children:[i?m("div",{className:`text-h6 ${fn[l]}`,children:i}):null,r?m("div",{className:`text-m-light ${Nn[l]}`,children:r}):null]})]})}));function vn(e,t){let n="bg-primary-main text-black";return"secondary"===e?n="bg-white/30 text-black":"normal"===t&&(n="bg-secondary-light text-primary-main"),`w-12 h-12 min-w-12 rounded-full p-2.5 box-border flex items-center justify-center ${n}`}const wn=(e="primary",t="normal")=>({icon:n,label:i,description:r},l)=>m(yn,{icon:n,label:i,description:r,version:e,benefitsVersion:t},String(l)),kn=u((({className:e="",headlineVersion:t="L",benefits:n,benefitsVersion:i="normal",buttons:r,image:l,items:s,version:a="primary",isDotted:o=!0,label:c,...d})=>h("div",{className:`w-full ${e}`,children:[h("div",{children:[c?Sn(c,a):null,m(Gt,{className:"!p-0 max-w-[600px]",bgColorHeadline:a,headlineVersion:t,...d}),h(xn,{buttons:r?.length?m(an,{buttons:r,className:"flex flex-col mt-5 gap-2.5"}):null,children:[n?.filter((e=>e.label))?.length?m("div",{className:"mt-3",children:n.map(wn(a,i))}):null,s?.length?m(bn,{className:"mt-3 text-m",items:s,version:a,isDotted:o}):null]})]}),$n(l)]})));function $n(e){return e?.src?m(K,{imageClassName:"mt-5 mx-auto block",image:{className:"block",...e}}):null}const Cn={primary:"text-primary-main border-secondary-hover",secondary:"text-white/80"},Sn=(e,t)=>m("div",{className:`px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid w-fit ${Cn[t]}`,children:e}),Tn=u((e=>{const{className:t="",version:n="primary"}=e;return m("section",{className:`font-sans bg-white px-4 py-6 ${vt[n]} ${t}`,children:m(kn,{...e})})})),_n={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"}},In={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-12 w-12 min-w-12 min-h-12"},An={normal:"min-h-[70px]",small:"min-h-12"},jn=u((({className:e,title:t,description:n,showLines:i=!0,steps:r,size:l="normal",version:s="primary"})=>{const a=_n[s];return h("section",{className:`box-border font-sans bg-white px-4 py-6 flex flex-col\n ${a.background} ${a.title} ${e||""}`,children:[t?m(j,{headingType:"h3",className:`text-center ${a.title}`,title:t}):null,n?m("p",{className:`text-m-light text-center ${a.description} ${t?"mt-2":""}`,children:n}):null,r?.length?m("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:m("div",{className:"flex flex-col justify-between gap-x-[101px]",children:r.map(Rn(l,s,i))})}):null]})})),Rn=(e,t,n)=>(i,r,l)=>{const s=l.length-1===r,a="normal"===e?"ml-[34px]":"ml-6",o=_n[t];return m("div",{children:h("div",{className:"flex flex-row text-center relative",children:[h("div",{className:"overflow-hidden flex-shrink-0",children:[Dn(e,t)(i,r),s?null:m("div",{className:`min-h-8 h-full w-0.5 ${n?o.iconConnector:""} ${a}`})]}),h("div",{className:`flex flex-col justify-center h-fit ${An[e]}`,children:[i.label?m("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:i.label}):null,i.description?m("div",{className:`text-s ${o.description} text-left`,children:i.description}):null]})]})},String(r))},Dn=(e,t)=>(n,i)=>{const r=_n[t],l="normal"===e?"38":"27",s="normal"===e?"text-m-title":"text-m-title-xs";return m("div",{className:`${In[e]} ${r.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:m("span",{className:`font-medium flex self-center ${r.title} ${s}`,children:(a=n?.icon,Boolean(a?.icon||a?.src)?m(K,{image:q({...n.icon},t),width:l,height:l,asSVG:!0}):m("span",{children:i+1}))})});var a},Bn={Buttons:({buttons:e})=>e&&e?.length?m("div",{children:e.map((({rounded:e,icon:t,...n},i)=>on({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?m(K,{image:{...e,className:"m-0"}}):null,List:({isDotted:e,...t})=>m(bn,{className:"flex flex-col justify-between items-start text-m",version:"gray",isDotted:e??!0,...t}),LabelDescription:({label:e,description:t})=>h("div",{children:[e?m("div",{className:"text-xl font-medium m-0 "+(t?"mb-1":""),children:e}):null,t?m("div",{className:"text-s text-secondary-text",children:t}):null]})},On=u((({title:e,icon:t})=>h("div",{className:"flex gap-2.5 mb-2",children:[e?m(j,{headingType:"h3",className:"font-medium",title:e}):null,t?m(K,{className:"ml-auto max-w-6 max-h-6",image:t,width:"24px",height:"24px"}):null]}))),Vn=u((({tile:e,...t})=>h("div",{className:"rounded-md border-main-stroke h-full box-border border p-4",children:[m(On,{...e?.header}),e?.data?.length?e.data.map(((e,n)=>h("div",{children:[n>0?m("div",{className:"h-5"}):null,Mn(e,t)]},String(n)))):null]})));function Mn(e,t){if(!e||!e.tableCellType||!(e.tableCellType in Bn))return null;const n=Bn[e.tableCellType];return m(n,{displayTable:()=>null,isVisible:!0,...e,...t})}const Pn=u((({tiles:e,...t})=>e?.length?m(ue,{...t,children:e.map(((e,n)=>m(Vn,{tile:e,...t},String(n))))}):null)),Ln=u((({tiles:e,...t})=>e?.length?m("div",{className:"flex flex-col gap-3.5",children:e.map(((e,n)=>m(Vn,{tile:e,...t},String(n))))}):null)),En=u((({className:e,title:t,description:n,tariffsColumns:i,rowHeaders:r,orientation:l="vertical",...s})=>{const a=Fn(i),o=Hn(r,a);return h("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[t?m(j,{headingType:"h2",className:`text-center ${n?"mb-2":"mb-5"}`,title:t}):null,n?m("div",{className:"mb-5 text-center text-m",children:n}):null,m("vertical"===l?Ln:Pn,{tiles:o,...s})]})})),Fn=e=>e?.[0]?.data?e[0].data:[],Hn=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),zn={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"}},Gn=u((({title:e,description:t,blockVersion:n="primary",iconVersion:i,image:r,className:l="",items:s,isDotted:a=!0})=>{const o=zn[n],c="secondary"===n?"secondary":"gray";return h("section",{className:`font-sans px-4 py-[18px] flex flex-col ${o.background} ${l}`,children:["small"===i?Jn(o.icon):null,"big"===i?Wn(r):null,h("div",{className:"py-0.5",children:[e?m("div",{className:`text-l font-medium mb-1 ${o.title}`,children:e}):null,t?m("div",{className:`text-s ${o.description}`,children:t}):null,s?.length?m(bn,{className:"mt-1 text-m",items:s,isDotted:a,version:c}):null]})]})}));function Jn(e){return m("div",{className:"mb-3",children:m("div",{className:`rounded-full h-4 w-4 text-center text-xs-light ${e}`,children:"i"})})}function Wn(e){return e?.src?m(K,{className:"pb-3 mr-auto",image:e}):null}const Un={Accordion:B,AccordionItem:Z,ComparisonTable:Ge,Footer:Nt,Gallery:wt,Header:Ht,Headline:Gt,LinkDocs:qt,LinkList:Ze,MobileAppTile:at,ProductBlock:Tn,StepsBlock:jn,TariffsTable:En,TextBlock:Gn,Placeholder:nn},Yn=["Header","Footer"],Kn=([,{target:e}])=>Math.abs(e.getBoundingClientRect().top);function Xn(e=_.inst,t=globalThis){const n=a(new Map);r((()=>e.eventBus.subscribe("intersection",(({block:e,intersection:t})=>{n.current&&n.current.set(e,t)}))),[e]),r((()=>{const i=((e,t=600)=>{let n;const i=(...r)=>{i.dispose(),n=setTimeout((()=>{e(...r)}),t)};return i.dispose=()=>{n&&clearTimeout(n)},i})((()=>{if(!(globalThis.scrollY>3*globalThis.innerHeight/4))return void e.reset();const t=function(e){const t=e.filter((([e])=>!Yn.includes(e.type||""))).filter((([,{intersectionRatio:e}])=>e>.01)),[n]=t.length>0?ce(Kn)(t):[];return n}([...n.current||[]]);t?.anchor?e.replace(t.anchor):t||e.reset()}),100);return t.addEventListener("scroll",i),()=>{i.dispose(),t.removeEventListener("scroll",i)}}),[e,t])}const qn=d();const Qn=u((({className:e,onClick:t,ariaLabel:n})=>m("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":n,children:Zn()}))),Zn=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[m("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"}),m("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"})]})},ei=u((({className:e=""})=>{const t=function(e){const[t,n]=i(0);return r((()=>{(async()=>{const[t]=await qn.getLikeCount(e);n(t?.value||0)})()}),[e]),{likeCount:t,like:l((async()=>{n(await qn.like(e))}),[e]),dislike:l((async()=>{n(await qn.dislike(e))}),[e])}}(ve().pathname);return h("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:[m(Qn,{onClick:ye(t.like),ariaLabel:"Поставить отметку «лайк»"}),m(Qn,{onClick:ye(t.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),m("span",{className:"select-none",children:t.likeCount})]})})),ti=u((e=>{const{className:t="",blocksRegistry:n,blockDecorator:i,data:r={}}=e,{style:l,blocks:s,slots:a,likeControl:o,colorPalette:c="pc"}=r,d={key:"",page:r,blocksRegistry:n,blockDecorator:i,parent:r};return Xn(),h("section",{className:`relative ${g(l)} ${t}`,"data-theme":c,children:[a?.header?m("div",{className:"mb-5 shadow-[0_8px_32px_0px_#00000014]",children:v(a?.header,{...d,slotName:"header"})}):null,h("div",{className:"container grid grid-cols-12 gap-1",children:[v(s,d),a?.footer?v(a?.footer,{...d,slotName:"footer"}):null]}),o?m("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:m(ei,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto"})}):null]})}));ti.childrenTypes=[],ti.slots=()=>["header","footer"];e.Blocks=Un,e.ContentPage=ti,e.DaDataAPI=function(e=""){return{getFetcherAddress:async function(){if(!("geolocation"in navigator))return null;try{const t=await(async()=>new Promise((e=>navigator.geolocation.getCurrentPosition((({coords:t})=>e(t))))))(),n=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await n.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.LikeAPI=d,e.handlerDecorator=ye,e.joinList=function(e){return t=>t.reduce(((t,n,i)=>t.length?t.concat({...e,key:i},n):[n]),[])},e.packageVersion="0.6.47",e.projectSettings=o,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=Ne,e.useRouter=ve,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UniMobileBlocks={})}(this,(function(e){"use strict";let t;const n=e=>(...n)=>t[e](...n),i=n("useState"),r=n("useEffect"),l=n("useCallback"),a=n("useMemo"),s=n("useRef");const o=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 BASE_PATH(){return this._.BASE_PATH&&!this._.BASE_PATH.endsWith("/")?`${this._.BASE_PATH}/`:this._.BASE_PATH}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},c="likesToken";function d(){async function e(){try{const e=JSON.parse(globalThis.localStorage?.getItem(c)||"");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(c,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/${o.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/${o.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/${o.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 m=(...e)=>globalThis._uni._jsx(...e),h=(...e)=>globalThis._uni._jsxs(...e),u=e=>{const t=e;return t._tmpl||(t._tmpl=globalThis.__UNI_REACT__?e:p(e)),t._tmpl},p=e=>{function t(t,n){const{children: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};function g(e){return e?e.filter(Boolean).join(" "):""}const b=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),x=[],f=["col-span-12"];function N(e,t){const{key:n,blockDecorator:i=b,blocksRegistry:r={},ancestors:l=x,className:a=""}=t,{type:s}=e;s&&s in r||console.warn(`No block with "${s}" is registered`);const o=s&&r[s];return i({blockClassName:`scroll-mt-12 ${a} ${g(e.style||f)}`,block:e,ancestors:l,render:({block:i,blockClassName:r})=>{const{content:l}=i;return o?m(o,{className:r,block:e,options:t,...l},n):null}},n)}const y=[],v=(e,{key:t,ancestors:n=y,slotName:i=null,renderChild:r=N,...l})=>(e||[]).map(((e,a)=>r(e,{...l,key:`${t||e.type}-${a}`,ancestors:l.parent?[...n||y,[l.parent,i]]:n})));function w({children:e,block:t,options:n,renderChild:i}){return e||(t&&n?v(t.blocks,{...n,parent:t,renderChild:i}):null)}class k{static inst=new k;subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]=(this.subscribers[e]||[]).concat(t);const n=this.subjectsStateMap[e];return n&&t(n),()=>{this.unsubscribe(e,t)}}unsubscribe(e,t){this.subscribers[e]=this.subscribers[e]?.filter((e=>e!==t))}fire(e,t){e in this.subjectsStateMap&&(this.subjectsStateMap[e]=t),this.subscribers[e]?.forEach((e=>e(t)))}subject(e,t){this.subjectsStateMap[e]=t}}function $(e,{sensitivity:t,rootRef:n}={}){const i=s(null),l=a((()=>({threshold:C(t),root:n?.current})),[t,n?.current]);return r((()=>{if(!i.current)return;const t=new IntersectionObserver(e,l);return t.observe(i.current),()=>{t.disconnect()}}),[e,l]),i}function C(e=0){const t=Math.round(10*e);return new Array(t).fill(0).map(((e,n)=>Math.min(n/t)),1).concat(1)}const S=e=>e?.replace("#",""),T=e=>`${globalThis.location?.pathname}#${S(e)}`;class _{static inst=new _;eventBus=new k;constructor(){const e=S(globalThis.location?.hash);e&&this.eventBus.subject("goto",{anchor:e})}goto(e){const t=S(e);t&&(this.push(t),this.eventBus.fire("goto",{anchor:t}))}push(e){globalThis.history?.pushState(null,"",T(e))}replace(e){globalThis.history?.replaceState(null,"",T(e))}reset(){globalThis.history?.replaceState(null,"",T())}}const I=u((({className:e,block:t,tag:n="section",role:a,children:s})=>{const o=n,c=function(e,t=_.inst){const n=$(l((n=>{if(!e||!n?.length)return;const i=n[n.length-1];t.eventBus.fire("intersection",{block:e,intersection:i})}),[e,t]),{sensitivity:1});return r((()=>{if(n.current)return t.eventBus.subscribe("goto",(({anchor:t})=>{n.current&&e?.anchor===t&&n.current.scrollIntoView({behavior:"smooth",block:"start"})}))}),[e,t]),n}(t),[d,h]=i(!0);return r((()=>k.inst.subscribe("tab",(e=>{if("group"===e.type){const n=t?.labels?.length||t?.anchor;h(!e.label||(!n||Boolean(t?.labels?.includes(e.label))))}else h(!0)}))),[t]),d?m(o,{className:e,role:a,...t?.anchor?{id:t.anchor,ref:c}:{},children:s}):null})),A={h0:"text-m-title",h1:"text-m-title",h2:"text-m-title",h3:"text-h6",h4:"text-m-title-xs",h5:"text-m-title-xs",h6:"text-m-title-xs"},R=u((e=>{const{className:t,headingType:n="h3",title:i,as:r="h3"}=e;return m(r,{className:`font-sans font-medium m-0 ${A[n]} ${t||""}`,children:i})})),j=u((({size:e,color:t,align:n,font:i,children:r})=>m("p",{className:["font-sans",e,t,n,i].filter(Boolean).join(" "),children:r}))),D=u((({children:e})=>m("ul",{className:"list-none m-0 p-0",children:e}))),B=u((({title:e,description:t,className:n="",...i})=>h(I,{className:`py-6 px-4 bg-white text-primary-text ${n}`,...i,children:[e?m(R,{headingType:"h3",className:"mb-2 text-center",title:e}):null,t?m("div",{className:"mb-5",children:m(j,{size:"text-m",font:"font-light",align:"text-center",children:t})}):null,m(D,{children:w(i)})]})));B.childrenTypes=["AccordionItem"];const O=u((({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 h("div",e?{children:[d,c]}:{children:[c,d]})})),V=u((({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]),m("div",{ref:i,className:`transition-max-h duration-300 overflow-hidden ${i.current||!t?"max-h-0":""} ${e}`,children:n})})),M={normal:"",color:"text-primary-main",black:"text-black",white:"text-black"},P=u((({className:e="",imageClassName:t="",name:n="",alt:i=`Иконка ${n}`,title:r=i,iconVersion:l="color",asSVG:a,...s})=>{const c=`${o.CDN||""}icons/${n}.svg`;return a&&"normal"!==l?m(F,{className:e,children:h("svg",{className:[E(e,s.width),M[l],t,L(l)].join(" "),...s,"aria-hidden":"true",children:[r?m("title",{children:r}):null,i?m("desc",{children:i}):null,m("use",{href:`${c}#icon`,xlinkHref:`${c}#icon`})]})}):m("img",{className:e,src:c,alt:i,title:r,...s,"aria-hidden":"true"})})),L=e=>"white"===e?"invert":"",E=(e,t)=>t?`width: ${t}px `:"w-full h-full",F=u((({className:e,children:t})=>e?m("div",{className:e,children:t}):t)),H=(e,t)=>e.media&&t.media?e.media-t.media:0,z=u((({className:e="",image:t,imageClassName:n="",isMobile:i=!1,pathPrefix:r})=>{if(!t||!t?.sources&&!t?.src)return null;return h("picture",{className:`${i?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.sort(H).map((({src:e,format:n,media:i},l)=>m("source",{srcSet:W(e,r),type:U(n),media:i?`(max-width: ${i}px)`:"",...t.size},`${l}_${e}`))):null,G({...t,src:J(t.src,r)},n,i)]})})),G=(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 m("img",{src:e.src,className:`${a} ${t}`,alt:l,title:r,style:i,...e.size})},J=(e,t)=>!e||e?.startsWith("data:image")?e:`${((e="")=>e&&!e.endsWith("/")?`${e}/`:e)(t)}${e}`,W=(e,t)=>e?.split(",").map((e=>J(e.trim(),t))).join(", ");function U(e){return e?`image/${String(e)}`:void 0}const Y=u((({className:e="",image:t,imageClassName:n="",isMobile:i,pathPrefix:r,...l})=>t?.src||t?.icon?t.icon?m(P,{className:e,imageClassName:n,iconVersion:t?.iconVersion||"normal",name:t.icon,...l}):m(z,{className:e,imageClassName:n,image:t,isMobile:i,pathPrefix:r}):null)),K=u((e=>m(Y,{...e,isMobile:!0}))),X=u((({size:e,color:t,align:n,font:i,children:r})=>m("span",{className:["font-sans",e,t,n,i].filter(Boolean).join(" "),children:r}))),q=(e,t="primary")=>({...e,iconVersion:e?.iconVersion??("secondary"===t?"white":"color")}),Q=["PlusIcon","MinusIcon"],Z=u((({className:e="",label:t="",labelIcon:n,isExpanded:i,...r})=>{const{bordered:l}=function(e,t){const{content:n}=function(e){return e?.parent||{}}(e);return n||t}(r.options,{});return m("li",{className:`${l?"border p-4 rounded mb-4":"border-0 border-b last:border-b-0"} border-solid border-main-divider ${e}`,children:m(O,{isFoldButtonOnTop:!0,unfoldedByDefault:i,renderFoldableSection:({isUnfolded:e})=>m(V,{className:"flex flex-wrap group-last:last:pb-0 gap-5 [&>*]:p-0",isUnfolded:e,children:w(r)}),renderFoldButton:({isUnfolded:e,onToggle:i})=>m(ee,{className:l?"":"py-3.5 px-0",label:t,icon:Q[Number(e)],primaryIcon:n,onClick:i})})})}));Z.childrenTypes=[];const ee=u((({className:e,icon:t,label:n,primaryIcon:i,onClick:r})=>h("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:[h("div",{className:"flex group-hover:text-primary-main",children:[i?m(K,{image:q(i),className:"mr-3 flex-shrink-0",width:"24",height:"24",asSVG:!0}):null,m(X,{size:"text-m-title-xs",font:"font-medium",children:n})]}),m(K,{className:"flex-shrink-0",image:q({icon:t}),width:"24",height:"24",asSVG:!0})]}))),te=u((({className:e="",style:t,idx:n,activeIndex:i,observerOptions:r,children:a,onIntersection:s})=>{const o=$(l((e=>{e.length&&s&&s(n||0,e[e.length-1])}),[s,n]),r);return m("div",{className:`inline-block snap-always box-border ${e}`,style:t,role:"listitem","aria-current":Boolean(n===i),ref:o,children:a})})),ne=["min-w-[100%]","min-w-[50%]","min-w-[33.33%]","min-w-[25%]"],ie=u((({className:e="",containerRef:t,activeIndex:n,visibleItemCount:i=0,gap:r=0,padding:a=0,snapAlign:o="snap-center",children:c,onVisibleItemsChange:d,onVisibleIndicesChange:h})=>{const u={sensitivity:1,rootRef:t},p=s([]),g=l(((e,t)=>{const n=[...p.current||[]];n[e]=t,p.current=n,d&&d(n),h&&h(le(n))}),[d,h]),b=i>0?r*Number(i)-1:0;return m("div",{className:`box-border overflow-auto flex horizontal-list no-scrollbar ${e}`,style:{...re(a,b),gap:`${r}px`},role:"list",ref:t,children:(x=(e,t)=>m(te,{className:`${o} ${i?ne[i-1]:""}`,style:re(a/4),activeIndex:n,idx:t,observerOptions:u,onIntersection:g,children:e},String(t)),e=>null==e?e:Array.isArray(e)?e.map(x):x(e,0))(c)});var x})),re=(e,t=0)=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e+t}px`}),le=e=>e.map(((e,t)=>[e,t])).filter((([e])=>e&&e.intersectionRatio>=.9)).map((([,e])=>e)),ae=u((({containerRef:e,activeIndex:t,dotCount:n=0})=>n?m("div",{className:"flex gap-2 mx-auto mt-5 w-fit",children:new Array(n).fill(null).map(((n,i)=>m("div",{className:"cursor-pointer bg-primary-main h-2 rounded-full transition-width duration-300 "+(i===t?"w-6":"w-2 opacity-30"),role:"button","aria-hidden":!0,onClick:()=>(n=>{n!==t&&e?.current&&e.current.children[n]?.scrollIntoView({behavior:"smooth",block:"nearest"})})(i)},String(i))))}):null)),se=e=>e,oe=(e=se)=>t=>t.reduceRight(((t,n)=>e(t)>e(n)?t:n)),ce=(e=se)=>oe((t=>-e(t))),de=e=>t=>e.scrollWidth/t,me=e=>(t,n)=>{e.scrollBy({left:n*de(e)(t),behavior:"smooth"})},he=({itemCount:e,isCyclic:t,onVisibleIndicesChange:n})=>{const r=s(null),[a,o]=i([]),c=l((e=>{o((t=>{return(n=t)===(i=e)||Boolean(n&&i&&n?.length===i?.length&&n.every(((e,t)=>e===i[t])))?t:e;var n,i})),n&&n(e)}),[e]),[d,m]=a.length?[ce()(a),oe()(a)]:[-1,-1],h=d>0,u=m<e-1,p=l((()=>{var n;r.current&&(t&&!h?(n=r.current).scrollTo({left:n.scrollWidth,behavior:"smooth"}):me(r.current)(e,-1))}),[t,e,h]),g=l((()=>{r.current&&(t&&!u?r.current.scrollTo({left:0,behavior:"smooth"}):me(r.current)(e,1))}),[e,t,u]);return[r,{scrollLeft:p,scrollRight:g,canScrollLeft:t||h,canScrollRight:t||u,visibleIndicesRange:[d,m],handleVisibleIndicesChange:c}]},ue=u((({className:e,gap:t=14,padding:n=16,showDots:i=!0,children:r,onVisibleIndicesChange:l})=>{const a=Array.isArray(r)?r.length:0,[s,o]=he({itemCount:a,onVisibleIndicesChange:l}),[c]=o.visibleIndicesRange;return h("div",{className:e,children:[m(ie,{containerRef:s,activeIndex:c,visibleItemCount:1,gap:t,padding:n,onVisibleIndicesChange:o.handleVisibleIndicesChange,children:r}),i?m(ae,{containerRef:s,activeIndex:c,dotCount:a}):null]})}));const pe=e=>e?.includes("//"),ge=e=>(e||"").replace(/\/?\?.*/,""),be=e=>{if(!e||!pe(e))return;const t=e,n=t.indexOf("//"),i=t.indexOf("/",n+"//".length);return-1!==i?t.substring(0,i):t},xe=e=>{if(!e||!pe(e))return;return new URL(e).pathname},fe=e=>e?.startsWith("#");var Ne=Object.freeze({__proto__:null,isURL:pe,withoutQuery:ge,getOrigin:be,getPathname:xe,getHash:e=>{if(!e||!pe(e))return;const t=e.indexOf("#");return-1!==t?e.substring(t,e.length):void 0},isHash:fe});const ye=(e,t)=>ye._impl(e,t);function ve(){return ve._impl()}function we(){const e=ve(),t=_.inst;return n=>{const i=((e,t)=>{if(!e)return e;const n=be(t?.href);return n?e.replace(n,"")||"/":e})(n.href,e);return{...n,href:i,"aria-label":n.text,onClick:ye((r=>{n.onClick&&n.onClick(r),ke(i,n.target)||(r?.preventDefault(),fe(i)?t.goto(i):i&&e.push(i))}),n)}}}ye._impl=e=>e,ye.setup=e=>{ye._impl=e},ve._impl=()=>({href:globalThis.location?.href||"/",pathname:globalThis.location?.pathname||"/",query:{},push:()=>{},replace:()=>{}}),ve.setup=e=>{ve._impl=e};const ke=(e,t)=>pe(e)||t&&"_self"!==t||e?.startsWith("/"),$e={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:""},Ce="bg-main-divider text-main-disabled",Se={primary:Ce,secondary:Ce,white:Ce,link:""},Te="text-center font-sans select-none",_e={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:""},Ie=u((e=>{const{text:t,aboveText:n,appendLeft:i,appendRight:r,version:l="primary"}=e;return h("div",{className:Ae(e),children:[i?m("div",{className:_e[l],children:i}):null,Re(e)?h("div",{children:[n?m("div",{className:"text-xs-light text-left",children:n}):null,m("div",{className:"text-left "+(n?"text-s -mt-0.5":"text-l"),children:t})]}):null,r?m("div",{className:_e[l],children:r}):null]})})),Ae=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-4");return["group flex items-center justify-center",Re(e)?r:"h-12 w-12",i?"rounded-full":""].join(" ")},Re=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),je=({className:e,rounded:t,version:n})=>["inline-block",Te,n?Se[n]:"",t?"rounded-full":"rounded-md",e].join(" "),De=({className:e,rounded:t,version:n})=>[Te,"border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border",n?$e[n]:"",t?"rounded-full":"rounded-md",e].join(" "),Be=u((({disabled:e,children:t,...n})=>{const i=we()(n),r=t??m(Ie,{...i});return m(e?Ve:Oe,{...i,children:r})})),Oe=u((({className:e="",href:t,rel:n,target:i,ariaLabel:r,version:l,rounded:a,onClick:s,children:o})=>m("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}))),Ve=u((({className:e,ariaLabel:t,version:n,rounded:i,children:r})=>m("div",{role:"button","aria-disabled":"true","aria-label":t,tabIndex:-1,className:je({className:e,rounded:i,version:n}),children:r}))),Me=(e=!1)=>e?"text-white":"",Pe=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),Le=u((({icon:e,image:t,title:n,subtitle:i,isFillGradient:r})=>h("div",{role:"columnheader",children:[e?m(K,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}):null,t?.src&&m("div",{className:"mb-3.5",children:m(K,{image:t})}),n?m(R,{headingType:"h4",className:Me(r),title:n}):null,i?m("div",{className:Pe(r),children:i}):null]}))),Ee=u((({cell:e,rowHeader:t,isFillGradient:n=!1})=>m("div",{className:"box-border flex flex-col",role:"cell",children:m("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)=>h("div",{className:"flex justify-between text-s py-3.5",children:[m("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),h("div",{className:"basis-1/2",children:[n?m("div",{className:"text-right "+(e?"text-white":""),children:n}):null,i?m("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:i}):null]})]},String(r)),He=u((({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 h("div",{className:`border border-gray rounded-md p-4 mb-3.5 ${i?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[m(Le,{...e,isFillGradient:i}),a?.length?a.map((({rowHeader:e,cell:t},n)=>m(Ee,{cell:t,rowHeader:e,isFillGradient:i},String(n)))):null,r&&e?.link?m(Be,{href:e.link.href,target:e.link.target,version:s,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}):null,ze({onToggleColumn:l,isFillGradient:i,showRow:r})]})})),ze=({onToggleColumn:e,isFillGradient:t,showRow:n})=>m("div",{className:"mt-5",role:"cell",children:m("a",{role:"link",onClick:e,className:"text-s font-medium cursor-pointer "+(t?"text-white/80":"text-primary-main"),children:n?"Скрыть":"Показать описание"})}),Ge=u((e=>{const{className:t,title:n}=e;return h("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${t||""}`,children:[n?m(R,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:n}):null,m("div",{role:"table",children:m(Je,{...e})})]})})),Je=u((({columns:e=[],rowHeaders:t,isColoredFirstColumn:n,visibleRowLength:r,orientation:a,...s})=>{const[o,c]=i(new Array(e.length).fill(!r)),d=l((e=>{const t=(t,n)=>n===e?!t:t;c((e=>e.map(t)))}),[]),h=l((()=>c((e=>new Array(e.length).fill(!1)))),[]),u=e?.map((({data:e,header:i},l)=>{return m(He,{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?m(ue,{onVisibleIndicesChange:h,children:u}):u})),We=new Map;function Ue(e,t,{fallback:n}={}){const l=a((()=>Ye(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=>We.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 Ye(e){return e?Array.isArray(e)?e:e instanceof Function?Ye(e()):[e]:[e]}async function Ke(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await n.json()}function Xe(e,t={}){const{data:n}=Ue(`/wcms-resources/${e}.json`,Ke,{fallback:t});return n||{}}const qe=u((({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 h("form",{className:`font-sans relative ${e}`,children:[h("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[m("div",{className:t?"w-5 h-5":"w-6 h-6",children:m(K,{image:{icon:"LoupeIcon"},width:"24",height:"24"})}),n?null:m("label",{htmlFor:"search-bar-input",className:`text-secondary-text ${l}`,children:"Поиск по сайту"})]}),m("input",{id:"search-bar-input",className:`h-12 pl-12 w-full peer text-l text-black border border-solid rounded-md box-border\n outline-none pr-[6%] border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text ${a}`,value:n,onChange:e=>r(e.target.value),type:"text",name:"search-bar-input",placeholder:s}),t?m("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:m(K,{image:{icon:"CloseIcon"},width:"24",height:"24"})}):m(Be,{version:"primary",text:"Найти",className:"invisible peer-focus:visible absolute top-[3px] right-1",onClick:e=>{e?.preventDefault(),console.log("click")},children:m("div",{className:"text-s px-9 py-2.5",children:"Найти"})})]})})),Qe=u((e=>m(qe,{...e,isMobile:!0}))),Ze=u((({className:e="",documents:t,...n})=>m(I,{className:`font-sans bg-white mt-2.5 ${e}`,...n,children:m("ul",{className:"flex flex-col text-s text-secondary-text p-0",children:t?.length?et(t):null})}))),et=e=>e.map(((e,t)=>{const{text:n,...i}=e;return m("li",{className:"mb-4 list-none",children:m("a",{className:"hover:text-primary-main",role:"link",...i,children:n||null})},`list_item_${String(t)}`)})),tt={"bg-white":"color",transparent:"white"},nt={"bg-white":"text-primary-main",transparent:"text-white"},it=(e,t,n)=>m(K,t?.src?{image:t,className:nt[e],width:n?.width,height:n?.height,pathPrefix:"/wcms-resources/",asSVG:!0}:{image:{icon:t?.icon||"LogoIcon",iconVersion:tt[e]},className:nt[e],width:n?.width,height:n?.height,asSVG:!0}),rt={"bg-white":"text-primary-text",transparent:"text-white"},lt=(e,t,n)=>m("span",{className:`${rt[t]} ml-2.5 font-medium ${n||""}`,children:e||"Россельхозбанк"}),at=u((({bgColor:e="bg-white",children:t,className:n="",href:i,logo:r,showTitle:l=!0,targetBlank:a})=>h("a",{className:`inline-flex items-center font-sans no-underline ${n}`,href:i||"https://rshb.ru/",target:a?"_blank":"_self","aria-label":r?.title||"Россельхозбанк",children:[it(e,r?.image,{width:"34",height:"34"}),l?lt(t||r?.title,e,"text-s"):null]}))),st=u((({className:e="",title:t="Мобильное приложение",description:n,href:i="#"})=>m("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light font-sans ${e}`,children:i?h("div",{className:"flex",children:[m("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-12 h-12",children:m(at,{className:"w-8",bgColor:"transparent",showTitle:!0})}),h("a",{href:i,target:"_blank",className:"flex flex-col justify-center pl-3",children:[m("div",{className:"text-s font-medium mb-[3px]",children:t}),m("div",{className:"text-s text-secondary-text",children:n})]})]}):null}))),ot=u((({className:e="",items:t,hasButton:n})=>h("div",{className:e,children:[t?.length?t.map(ct):null,n?m(Be,{version:"primary",className:"mb-6 w-full",href:"/",target:"_blank",ariaLabel:"Обратная связь",text:"Обратная связь"}):null]}))),ct=(e,t)=>{const{type:n,text:i,description:r}=e;return h("div",{className:"mb-4",children:[m("div",{children:dt(n,i)}),m("div",{className:"mt-1 text-s-light text-secondary-text",children:r})]},String(t))},dt=(e,t="")=>{switch(e){case"tel":return m("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${mt(t)}`,children:t});case"email":return m("a",{className:"text-xl-light text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return m("span",{children:t})}},mt=e=>e.replaceAll(/\D/g,""),ht=u((({className:e="",index:t,text:n,...i})=>{const r=we(),{href:l,target:a,onClick:s}=r(i);return m("a",{className:`text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:l,target:a,onClick:s,children:n||`Документ ${t}`})})),ut=u((({title:e,links:t,className:n=""})=>h("div",{className:n,children:[m("span",{className:"text-primary-text text-s font-medium",children:e}),t?.length?m("div",{className:"flex flex-col gap-2 pt-3",children:t.map(((e,t)=>m(ht,{index:t,className:"text-s",...e},String(t))))}):null]}))),pt=[{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"}],gt={default:" w-14 h-14",small:" w-12 h-12"},bt=u((({version:e="primary",isRounded:t=!1,buttonSize:n="default",...i})=>{const r=we(),{href:l,onClick:a}=r(i),{icon:s,label:o}=pt.find((({origins:e})=>e.some((e=>l?.includes(e)))))||{};if(!s)return null;return m("a",{className:`flex items-center justify-center group box-border ${"secondary"===e?"bg-white hover:bg-secondary-hover":"border-solid border border-main-divider hover:border-transparent hover:bg-primary-main"} ${t?"rounded-full":"rounded-md"} ${"primary"===e?"hover:text-black":""} ${gt[n]}`,href:l,"aria-label":o,target:"_blank",rel:"noopener noreferrer",onClick:a,children:s?m(K,{image:q(s),imageClassName:"group-hover:text-white",width:"24",height:"24",asSVG:!0}):null})})),xt=u((({className:e="",media:t,version:n})=>m("div",{className:`flex gap-2 items-start justify-start pt-6 pb-6 ${e}`,children:t?.map(((e,t)=>m(bt,{version:n,...e},String(t))))}))),ft=u((({className:e="",index:t,...n})=>{const i=we(),{href:r,target:l,text:a,onClick:s}=i(n);return m("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}`})})),Nt=u((({className:e="",links:t})=>h("div",{className:e,children:[m("div",{className:"py-6",children:m("span",{className:"text-xs-light text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?m("div",{className:"flex flex-col justify-start items-start gap-2",children:t.map(((e,t)=>m(ft,{index:t,...e},String(t))))}):null]}))),yt=u((({className:e="",...t})=>{const n=t.options?.page?.fallback,i=Xe(o.SITEMAP||"sitemap",n),{documents:r,relatedEnterprises:l,contacts:a,socialMedia:s,horizontalNavigationTitle:c}=Xe(o.FOOTER||"footer",n);return h("footer",{className:`font-sans px-4 py-[26px] bg-white ${e}`,children:[m(ot,{className:"overflow-hidden",items:a,hasButton:!0}),m(D,{children:i.topItems?.map(((e,t)=>m(Z,{label:e.text,children:m(Ze,{documents:e.items})},String(t))))}),m("div",{children:i?.dispositions?.map(vt)}),m(st,{title:"Мобильное приложение",description:"Загрузить для IOS и Android",...t}),m(Qe,{className:"grow"}),m(xt,{className:"pb-4",media:s}),m(ut,{title:c,links:l}),m(Nt,{links:r})]})})),vt=(e,t)=>{const{icon:n,href:i,text:r}=e;return h(Be,{version:"link",href:i,className:"flex text-s mb-4 w-6",children:[n?m(K,{className:"pr-1",image:q(n),width:"24",height:"24",asSVG:!0}):null,m("span",{className:"pl-2.5 font-medium text-primary-text",children:r})]},`footer-${t}`)},wt={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},kt=u((({title:e,description:t,cards:n=[],className:i,orientation:r="horizontal"})=>h("section",{className:`relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${i}`,children:[h("div",{className:"flex flex-col items-center mb-5",children:[e?m(R,{headingType:"h3",className:`text-center ${t?"mb-2":"mb-5"}`,title:e}):null,t?m("div",{className:"text-m max-w-[600px] text-center mb-5",children:t}):null]}),$t(r,n)]})));function $t(e,t){return"horizontal"===e?m(ue,{children:t?.map(Ct)}):m("div",{className:"grid gap-3.5",children:t?.map(Ct)})}function Ct(e,t){return h("div",{className:`w-full h-full flex flex-col justify-between shrink-0 box-border snap-start snap-always border-solid border rounded-md border-gray p-4\n ${wt[e.version??"primary"]}`,children:[h("div",{children:[St(e.icon),e.title?m("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,m(Be,{className:"mt-3",...n})):null]},t);var n}const St=e=>e?.src||e?.icon?m("div",{className:"flex justify-center",children:m(K,{className:"mb-3.5",image:e})}):null;function Tt(e){return m("div",{className:"text-secondary-text mt-1 text-s "+("secondary"===e.version?"text-white opacity-80":""),children:e.description})}const _t={primary:"bg-primary-text",secondary:"bg-white",gray:"bg-secondary-text"};function It(e,t,n="primary"){return m("section",{className:"mt-3",children:e.map(((e,i)=>h("div",{children:[t?m("div",{className:`rounded-full inline-block mr-3 mt-2 w-2 h-2 min-w-2 min-h-2 ${_t[n]}`}):null,m("span",{className:"text-m font-medium",children:e.title}),m("span",{className:"text-s pl-2 "+("primary"===n?"text-secondary-text":""),children:e.text})]},String(i))))})}const At=(e,t,n=((e,t)=>t.startsWith(e)))=>n(ge((e=>pe(e)||e?.startsWith("/")?e:`${o.BASE_PATH||""}${e}`)(e)),ge(pe(e)?t.href:xe(t.href))),Rt=e=>t=>At(t.href,e),jt=e=>t=>t.items?.some(Rt(e))||At(t.href,e)||((e,t)=>[be(e),be(t.href)].every(((e,t,n)=>Boolean(e)&&e===n[0])))(t.href,e)||Boolean(o.BASE_PATH?.startsWith(t.href||"/")),Dt="absolute left-0 -bottom-3 w-full h-0.5",Bt=u((({className:e="",text:t,href:n,target:i,active:r,onClick:l,children:a,bgColor:s="bg-white"})=>h("a",{className:`relative inline-block bg-transparent text-center no-underline ${e}`,href:n,target:i,onClick:l,children:[m("span",{className:Ot(s,r),children:t||a}),r?m("div",{className:Vt(s,r)}):null]}))),Ot=(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`},Vt=(e,t=!1)=>t?`${"bg-white"===e?"bg-primary-main":e} ${Dt}`:Dt,Mt=864e5;function Pt(e,t,n=globalThis?.localStorage){const i=l((async(...i)=>{const r=`async:${e}`,l=function(e){const{data:t=null,timestamp:n=null}=e?JSON.parse(e):{};return t&&Date.now()-n<Mt?t:void 0}(n.getItem(r));if(l)return l;const a=await t(...i);return n.setItem(r,JSON.stringify({data:a,timestamp:Date.now()})),a}),[e,t]);return Ue(e,i)}const Lt=()=>{const e=globalThis.localStorage?.getItem("location");try{return e?JSON.parse(e):null}catch(e){return null}},Et=u((({burgerSubMenu:e,onClick:t,defaultLocation:n="",children:a})=>{const[s]=function(e){const t=Lt(),[n,a]=i(t?.region??{name:e}),{data:s}=Pt("/api/v1/region",Ke);return r((()=>{a(t?.region&&t?.manual?t.region:s||{name:e})}),[s]),[n,l((e=>{globalThis.localStorage?.setItem("location",JSON.stringify({manual:!0,region:e})),a(e)}),[a])]}(n);return h("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20",children:[m("button",{className:"absolute top-4 right-4 border-none bg-transparent cursor-pointer",onClick:t,children:m(K,{image:{icon:"CloseIcon"},width:"24",height:"24",asSVG:!0})}),h("button",{className:"flex items-center text-s p-0 mb-4 bg-transparent cursor-pointer",children:[m(K,{image:{icon:"GeolocationIcon"},width:"20",height:"20",className:"text-primary-main box-border mr-2",asSVG:!0}),m(X,{color:"text-secondary-text",children:s.name})]}),a,m("div",{className:"mb-7",children:e?.map(Ft)}),m(Qe,{className:"grow"})]})})),Ft=(e,t)=>{const{icon:n,href:i,text:r}=e;return h("a",{href:i,className:"flex text-s mb-4 hover:text-primary-main",children:[n?m(K,{className:"text-primary-main pr-1",image:n,width:"24",height:"24",asSVG:!0}):null,m("span",{className:"font-medium pl-0.5",children:r})]},`headerSubMenu-${t}`)},Ht=u((({onClick:e,bgColor:t,logo:n})=>h("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-12",children:[h("div",{className:"flex items-center",children:[m("button",{className:"pl-0 pr-4 border-0 bg-transparent cursor-pointer",onClick:e,"aria-label":"Открыть меню",children:m(K,{image:{icon:"BurgerIcon",iconVersion:"bg-white"===t?"black":"white"},className:"text-primary-text w-6 h-6",width:"24",height:"24",asSVG:!0})}),m(at,{className:"mr-8",bgColor:t,logo:n})]}),m("button",{className:("bg-white"===t?"text-primary-main":"text-white")+" text-s border-0 bg-transparent cursor-pointer",children:"Войти"})]}))),zt=u((({className:e="",bgColor:t="bg-white",...n})=>{const r=ve(),a=n.options?.page?.fallback,{topItems:s,dispositions:c,defaultLocation:d,logo:u}=Xe(o.SITEMAP||"sitemap",a),p=s?.find(jt(r)),g=p?.items,b=(e=>(t=[])=>{const n=t?.filter(Rt(e));return n?.length?oe((e=>e.href?.length||0))(n):void 0})(r)(g),[x,f]=i(!1),N=l((()=>f((e=>!e))),[]);return h("header",{className:`${t} ${e}`,children:[h("div",{className:"container px-4 py-0 box-border",children:[m(Ht,{onClick:N,bgColor:t,logo:u}),m("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-12",children:m("div",{className:"flex no-scrollbar horizontal-list h-full items-center",children:g?.map(((e,n)=>m(Bt,{className:"mr-8 whitespace-nowrap text-s",active:e===b,bgColor:t,...e},String(n))))})})]}),x?m(Et,{onClick:N,burgerSubMenu:c,defaultLocation:d,children:m(D,{children:s?.map(((e,t)=>m(Z,{label:e.text,children:m(Ze,{documents:e.items})},String(t))))})}):null]})})),Gt={transparent:{wrapper:"bg-transparent",titleColor:"text-primary-text"},primary:{wrapper:"bg-white",titleColor:"text-primary-text"},secondary:{wrapper:"bg-primary-main",titleColor:"text-white",descriptionColor:"text-white/80"}},Jt=u((({className:e="",title:t,description:n,image:i,bgColorHeadline:r="transparent",align:l="text-left"})=>{const a=Gt[r];return h("section",{className:`px-4 py-6 flex flex-col gap-2.5 ${a.wrapper} ${e}`,children:[t?m(R,{headingType:"h2",className:`${a.titleColor} ${l}`,title:t}):null,n?m(j,{color:a.descriptionColor||a.titleColor,size:"text-m",align:l,children:n}):null,i?.src&&m("div",{className:"mt-2.5 mx-auto flex justify-center",children:m(K,{image:i})})]})})),Wt=u((({className:e,iconClassName:t,textClassName:n,suffixClassName:i,doc:r,icon:l})=>{const{text:a,fileSize:s,...o}=r;return h("a",{className:e,role:"link",...o,children:[l?m(K,{className:t,image:q(l),width:"24px",height:"24px",asSVG:!0}):null,a?h("span",{className:n,children:[a,m("span",{className:i,children:o?.href&&Ut(Yt(o.href),s)})]}):null]})})),Ut=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),Yt=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},Kt=u((({className:e="",doc:t,icon:n})=>m(Wt,{className:`flex h-full box-border ${e}`,iconClassName:"mr-3 min-w-6 min-h-6",doc:t,icon:n}))),Xt=u((({hasBorder:e=!0,documents:t,icon:n})=>m(ue,{className:"text-s text-primary-main mt-5",children:t?.length?t.map(((t,i)=>m(Kt,{className:e?"rounded-md border-gray border border-solid p-4":"",doc:t,icon:n},String(i)))):null}))),qt=u((({hasBorder:e=!0,documents:t,icon:n})=>m("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)=>m("div",{role:"listitem",children:m(Kt,{className:e?"rounded-md border-gray border border-solid p-4":"",doc:t,icon:n})},String(i)))):null}))),Qt=u((({className:e="",title:t,description:n,icon:i={icon:"DocIconMonoColor"},documents:r,orientation:l="vertical",hasBorder:a=!0,...s})=>h("section",{className:`font-sans text-primary-text py-6 px-4 bg-white overflow-x-hidden ${e}`,children:[m(Jt,{className:"!p-0 "+(n?"gap-2":"gap-5"),title:t,description:n,...s}),m("vertical"===l?qt:Xt,{hasBorder:a,documents:r,icon:i})]}))),Zt=e=>{const t="col-span-",n=e.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function en(e=""){const t=Zt(e);return t<=4?"S":t<=8?"M":"L"}function tn(e=""){const t=Zt(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function nn(e=""){const t=Zt(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const rn=u((({className:e,title:t,description:n="Блок в разработке...",...i})=>h(I,{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${nn(e)} ${tn(e)} `,...i,children:[m(Jt,{className:"!p-0 max-w-[600px]",title:t,description:n,headlineVersion:en(e),...i}),m("figure",{className:"m-0 min-w-[80%]",children:ln()})]}))),ln=(e=3)=>sn(100,e).map((e=>Math.floor(e))).map(an),an=(e,t)=>m("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),sn=(e,t)=>[e].concat(t>0?sn(e/1.618,t-1):[]),on=u((({className:e="",buttons:t})=>t&&t?.length?m("div",{className:e,children:t.map(((e,t)=>cn({button:e,index:t})))}):null));function cn({button:e,buttonClassName:t,index:n}){const{icon:i,iconRight:r,version:l,text:a,...s}=e,o="secondary"===l?"color":"white",c=dn({...i,iconVersion:o}),d=dn({...r,iconVersion:o});return a?m(Be,{className:t,appendLeft:c,appendRight:d,version:l,text:a,...s},n?String(n):""):null}const dn=e=>{if(!e?.icon&&!e?.src)return null;const t=e?.size?.width?`${e.size.width}`:"24";return m(K,{image:e,width:t,height:"24",asSVG:!0})},mn={primary:"bg-primary-text",secondary:"bg-white",gray:"bg-secondary-text"},hn={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"},un=u((({className:e="",isDotted:t=!0,children:n,version:i="primary",size:r="M"})=>h("div",{className:`font-sans flex items-baseline ${e}`,role:"listitem",children:[t?m("div",{children:m("div",{className:`rounded-full align-middle inline-block ${mn[i]} ${hn[r]}`})}):null,m("span",{children:n})]}))),pn={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text"},gn={S:"text-l-light",M:"text-h6",L:"text-h5"},bn={S:"ml-2",M:"ml-3",L:"ml-4"},xn=u((e=>{const{className:t="",hasIndent:n,isDotted:i,itemClassName:r="",items:l,listItemSize:a="M",version:s="primary"}=e;return l?.length?m("section",{className:`${pn[s]} ${gn[a]} ${t} ${n?bn[a]:""}`,role:"list",children:l.map(((e,t)=>m(un,{className:`${r} mb-1.5`,isDotted:i,version:s,size:a,children:e},String(t))))}):null})),fn=u((({className:e="",title:t="",buttons:n,image:i,children:r})=>h("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,children:[t,h("div",{className:"flex grow w-full justify-between",children:[h("div",{className:"flex flex-col justify-between w-full",children:[m("div",{className:"h-full",children:r}),n?m("div",{className:"mt-auto pt-8",children:n}):null]}),i]})]}))),Nn={primary:"text-primary-text",secondary:"text-white"},yn={primary:"text-secondary-text",secondary:"text-white"},vn=u((e=>{const{className:t="",icon:n,label:i,description:r,version:l="primary",benefitsVersion:a="normal"}=e,s="white"===a?"secondary":"primary";return h("div",{className:`flex gap-5 ${r?"items-start":"items-center"} ${t}`,children:[n?m("div",{className:wn(l,a),children:m(K,{className:"w-6 h-6",image:q(n,s),asSVG:!0})}):null,h("div",{className:"gap-0.5",children:[i?m("div",{className:`text-h6 ${Nn[l]}`,children:i}):null,r?m("div",{className:`text-m-light ${yn[l]}`,children:r}):null]})]})}));function wn(e,t){let n="bg-primary-main text-black";return"secondary"===e?n="bg-white/30 text-black":"normal"===t&&(n="bg-secondary-light text-primary-main"),`w-12 h-12 min-w-12 rounded-full p-2.5 box-border flex items-center justify-center ${n}`}const kn=(e="primary",t="normal")=>({icon:n,label:i,description:r},l)=>m(vn,{icon:n,label:i,description:r,version:e,benefitsVersion:t},String(l)),$n=u((({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})=>h("div",{className:`w-full ${e}`,children:[h("div",{children:[c?Tn(c,s):null,m(Jt,{className:"!p-0 max-w-[600px]",bgColorHeadline:s,headlineVersion:t,...d}),h(fn,{buttons:r?.length?m(on,{buttons:r,className:"flex flex-col mt-5 gap-2.5"}):null,children:[n?.filter((e=>e.label))?.length?m("div",{className:"mt-3",children:n.map(kn(s,i))}):null,a?.length?m(xn,{className:"mt-3 text-m",items:a,version:s,isDotted:o}):null]})]}),Cn(l)]})));function Cn(e){return e?.src?m(K,{imageClassName:"mt-5 mx-auto block",image:{className:"block",...e}}):null}const Sn={primary:"text-primary-main border-secondary-hover",secondary:"text-white/80"},Tn=(e,t)=>m("div",{className:`px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid w-fit ${Sn[t]}`,children:e}),_n=u((e=>{const{className:t="",version:n="primary"}=e;return m("section",{className:`font-sans bg-white px-4 py-6 ${wt[n]} ${t}`,children:m($n,{...e})})})),In={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"}},An={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-12 w-12 min-w-12 min-h-12"},Rn={normal:"min-h-[70px]",small:"min-h-12"},jn=u((({className:e,title:t,description:n,showLines:i=!0,steps:r,size:l="normal",version:a="primary"})=>{const s=In[a];return h("section",{className:`box-border font-sans bg-white px-4 py-6 flex flex-col\n ${s.background} ${s.title} ${e||""}`,children:[t?m(R,{headingType:"h3",className:`text-center ${s.title}`,title:t}):null,n?m("p",{className:`text-m-light text-center ${s.description} ${t?"mt-2":""}`,children:n}):null,r?.length?m("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:m("div",{className:"flex flex-col justify-between gap-x-[101px]",children:r.map(Dn(l,a,i))})}):null]})})),Dn=(e,t,n)=>(i,r,l)=>{const a=l.length-1===r,s="normal"===e?"ml-[34px]":"ml-6",o=In[t];return m("div",{children:h("div",{className:"flex flex-row text-center relative",children:[h("div",{className:"overflow-hidden flex-shrink-0",children:[Bn(e,t)(i,r),a?null:m("div",{className:`min-h-8 h-full w-0.5 ${n?o.iconConnector:""} ${s}`})]}),h("div",{className:`flex flex-col justify-center h-fit ${Rn[e]}`,children:[i.label?m("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:i.label}):null,i.description?m("div",{className:`text-s ${o.description} text-left`,children:i.description}):null]})]})},String(r))},Bn=(e,t)=>(n,i)=>{const r=In[t],l="normal"===e?"38":"27",a="normal"===e?"text-m-title":"text-m-title-xs";return m("div",{className:`${An[e]} ${r.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:m("span",{className:`font-medium flex self-center ${r.title} ${a}`,children:(s=n?.icon,Boolean(s?.icon||s?.src)?m(K,{image:q({...n.icon},t),width:l,height:l,asSVG:!0}):m("span",{children:i+1}))})});var s},On={Buttons:({buttons:e})=>e&&e?.length?m("div",{children:e.map((({rounded:e,icon:t,...n},i)=>cn({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?m(K,{image:{...e,className:"m-0"}}):null,List:({isDotted:e,...t})=>m(xn,{className:"flex flex-col justify-between items-start text-m",version:"gray",isDotted:e??!0,...t}),LabelDescription:({label:e,description:t})=>h("div",{children:[e?m("div",{className:"text-xl font-medium m-0 "+(t?"mb-1":""),children:e}):null,t?m("div",{className:"text-s text-secondary-text",children:t}):null]})},Vn=u((({title:e,icon:t})=>h("div",{className:"flex gap-2.5 mb-2",children:[e?m(R,{headingType:"h3",className:"font-medium",title:e}):null,t?m(K,{className:"ml-auto max-w-6 max-h-6",image:t,width:"24px",height:"24px"}):null]}))),Mn=u((({tile:e,...t})=>h("div",{className:"rounded-md border-gray h-full box-border border p-4",children:[m(Vn,{...e?.header}),e?.data?.length?e.data.map(((e,n)=>h("div",{children:[n>0?m("div",{className:"h-5"}):null,Pn(e,t)]},String(n)))):null]})));function Pn(e,t){if(!e||!e.tableCellType||!(e.tableCellType in On))return null;const n=On[e.tableCellType];return m(n,{displayTable:()=>null,isVisible:!0,...e,...t})}const Ln=u((({tiles:e,...t})=>e?.length?m(ue,{...t,children:e.map(((e,n)=>m(Mn,{tile:e,...t},String(n))))}):null)),En=u((({tiles:e,...t})=>e?.length?m("div",{className:"flex flex-col gap-3.5",children:e.map(((e,n)=>m(Mn,{tile:e,...t},String(n))))}):null)),Fn=u((({className:e,title:t,description:n,tariffsColumns:i,rowHeaders:r,orientation:l="vertical",...a})=>{const s=Hn(i),o=zn(r,s);return h("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[t?m(R,{headingType:"h2",className:`text-center ${n?"mb-2":"mb-5"}`,title:t}):null,n?m("div",{className:"mb-5 text-center text-m",children:n}):null,m("vertical"===l?En:Ln,{tiles:o,...a})]})})),Hn=e=>e?.[0]?.data?e[0].data:[],zn=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),Gn={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"}},Jn=u((({title:e,description:t,blockVersion:n="primary",iconVersion:i,image:r,className:l="",items:a,isDotted:s=!0})=>{const o=Gn[n],c="secondary"===n?"secondary":"gray";return h("section",{className:`font-sans px-4 py-[18px] flex flex-col ${o.background} ${l}`,children:["small"===i?Wn(o.icon):null,"big"===i?Un(r):null,h("div",{className:"py-0.5",children:[e?m("div",{className:`text-l font-medium mb-1 ${o.title}`,children:e}):null,t?m("div",{className:`text-s ${o.description}`,children:t}):null,a?.length?m(xn,{className:"mt-1 text-m",items:a,isDotted:s,version:c}):null]})]})}));function Wn(e){return m("div",{className:"mb-3",children:m("div",{className:`rounded-full h-4 w-4 text-center text-xs-light ${e}`,children:"i"})})}function Un(e){return e?.src?m(K,{className:"pb-3 mr-auto",image:e}):null}const Yn={Accordion:B,AccordionItem:Z,ComparisonTable:Ge,Footer:yt,Gallery:kt,Header:zt,Headline:Jt,LinkDocs:Qt,LinkList:Ze,MobileAppTile:st,ProductBlock:_n,StepsBlock:jn,TariffsTable:Fn,TextBlock:Jn,Placeholder:rn},Kn=["Header","Footer"],Xn=([,{target:e}])=>Math.abs(e.getBoundingClientRect().top);function qn(e=_.inst,t=globalThis){const n=s(new Map);r((()=>e.eventBus.subscribe("intersection",(({block:e,intersection:t})=>{n.current&&n.current.set(e,t)}))),[e]),r((()=>{const i=((e,t=600)=>{let n;const i=(...r)=>{i.dispose(),n=setTimeout((()=>{e(...r)}),t)};return i.dispose=()=>{n&&clearTimeout(n)},i})((()=>{if(!(globalThis.scrollY>3*globalThis.innerHeight/4))return void e.reset();const t=function(e){const t=e.filter((([e])=>!Kn.includes(e.type||""))).filter((([,{intersectionRatio:e}])=>e>.01)),[n]=t.length>0?ce(Xn)(t):[];return n}([...n.current||[]]);t?.anchor?e.replace(t.anchor):t||e.reset()}),100);return t.addEventListener("scroll",i),()=>{i.dispose(),t.removeEventListener("scroll",i)}}),[e,t])}const Qn=d();const Zn=u((({className:e,onClick:t,ariaLabel:n})=>m("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":n,children:ei()}))),ei=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[m("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"}),m("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"})]})},ti=u((({className:e=""})=>{const t=function(e){const[t,n]=i(0);return r((()=>{(async()=>{const[t]=await Qn.getLikeCount(e);n(t?.value||0)})()}),[e]),{likeCount:t,like:l((async()=>{n(await Qn.like(e))}),[e]),dislike:l((async()=>{n(await Qn.dislike(e))}),[e])}}(ve().pathname);return h("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:[m(Zn,{onClick:ye(t.like),ariaLabel:"Поставить отметку «лайк»"}),m(Zn,{onClick:ye(t.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),m("span",{className:"select-none",children:t.likeCount})]})})),ni=u((e=>{const{className:t="",blocksRegistry:n,blockDecorator:i,data:r={}}=e,{style:l,blocks:a,slots:s,likeControl:o,colorPalette:c="pc"}=r,d={key:"",page:r,blocksRegistry:n,blockDecorator:i,parent:r};return qn(),h("section",{className:`relative ${g(l)} ${t}`,"data-theme":c,children:[s?.header?m("div",{className:"mb-5 shadow-[0_8px_32px_0px_#00000014]",children:v(s?.header,{...d,slotName:"header"})}):null,h("div",{className:"container grid grid-cols-12 gap-1",children:[v(a,d),s?.footer?v(s?.footer,{...d,slotName:"footer"}):null]}),o?m("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:m(ti,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto"})}):null]})}));ni.childrenTypes=[],ni.slots=()=>["header","footer"];e.Blocks=Yn,e.ContentPage=ni,e.DaDataAPI=function(e=""){return{getFetcherAddress:async function(){if(!("geolocation"in navigator))return null;try{const t=await(async()=>new Promise((e=>navigator.geolocation.getCurrentPosition((({coords:t})=>e(t))))))(),n=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await n.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.LikeAPI=d,e.handlerDecorator=ye,e.joinList=function(e){return t=>t.reduce(((t,n,i)=>t.length?t.concat({...e,key:i},n):[n]),[])},e.packageVersion="0.6.49",e.projectSettings=o,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=Ne,e.useRouter=ve,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -1,5 +1,6 @@
1
1
  import type { IconProps, Picture } from '../../model/Picture';
2
2
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
3
+ /** @default {"icon": {"format": "webp", "size": { "width": 24, "height": 24 }}} */
3
4
  export declare type BusinessCardItemProps = IconProps & {
4
5
  /** @title Текст */
5
6
  text?: string;
@@ -10,7 +11,11 @@ export interface BusinessCardProps {
10
11
  image?: Picture;
11
12
  /** @title Список */
12
13
  cardItems?: BusinessCardItemProps[];
13
- /** @title Кнопка */
14
+ /**
15
+ * @title Кнопка
16
+ * @default {"icon": {"format": "webp", "size": { "width": 24, "height": 24 }},
17
+ * "iconRight": {"format": "webp", "size": { "width": 24, "height": 24 }}, "text": "Кнопка"}
18
+ */
14
19
  button?: ButtonWithIconProps;
15
20
  }
16
21
  /**
@@ -2,7 +2,7 @@ import type { CarouselCardVersion } from '../../model/CarouselCardVersion';
2
2
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
3
3
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
4
4
  /**
5
- * @title Карточка какусели
5
+ * @title Карточка карусели
6
6
  */
7
7
  export interface CarouselCardContent extends HeadlineCommonProps {
8
8
  /**
@@ -1,5 +1,5 @@
1
- import type { CarouselTariffsCardContent } from './CarouselTariffsCardContent';
2
1
  import type { UniBlockProps } from '../../model/JSXBlock';
2
+ import type { CarouselTariffsCardContent } from './CarouselTariffsCardContent';
3
3
  export interface CarouselTariffsCardProps extends CarouselTariffsCardContent, UniBlockProps {
4
4
  }
5
5
  export declare const CarouselTariffsCard: import("@redneckz/uni-jsx").UNIComponent<CarouselTariffsCardProps, any, any>;
@@ -1,5 +1,5 @@
1
1
  export declare const GRADIENT = "bg-gradient-to-r from-main-gradient-start to-main-gradient-end";
2
- export declare const BORDER_CLASSES = "border-main-stroke border-solid border";
2
+ export declare const BORDER_CLASSES = "border-gray border-solid border";
3
3
  export declare const DIVIDER_CLASSES = "border-main-divider border border-t-0 border-x-0";
4
4
  export declare const FIRST_CELL_CLASSES = "w-[200px] mr-6";
5
5
  export declare const COLS_LENGTH_FOR_SCROLL = 3;
@@ -1,7 +1,10 @@
1
1
  import type { BlockVersion } from '../../model/BlockVersion';
2
+ export declare type ButtonSize = 'default' | 'small';
2
3
  interface MediaButtonProps {
3
4
  href?: string;
4
5
  version?: BlockVersion;
6
+ isRounded?: boolean;
7
+ buttonSize?: ButtonSize;
5
8
  }
6
9
  export declare const MediaButton: import("@redneckz/uni-jsx").UNIComponent<MediaButtonProps, any, any>;
7
10
  export {};
@@ -8,7 +8,7 @@ export interface Month {
8
8
  * @default {
9
9
  * "format": "webp",
10
10
  * "size": {
11
- * "width": 210
11
+ * "width": 210,
12
12
  * "height": 190
13
13
  * }
14
14
  * }
@@ -1,5 +1,5 @@
1
- import type { LinkDocsItem } from './LinkDocsContent';
2
1
  import type { Picture } from '../../model/Picture';
2
+ import type { LinkDocsItem } from './LinkDocsContent';
3
3
  export interface LinkDocsVerticalListProps {
4
4
  hasBorder?: boolean;
5
5
  documents?: LinkDocsItem[];
@@ -1,2 +1,5 @@
1
1
  import type { UniBlockProps } from '../../model/JSXBlock';
2
+ import type { OfficeMapContent } from './OfficeMapContent';
3
+ export interface OfficeMapProps extends OfficeMapContent, UniBlockProps {
4
+ }
2
5
  export declare const OfficeMap: import("@redneckz/uni-jsx").UNIComponent<UniBlockProps, any, any>;
@@ -12,7 +12,10 @@ export declare type WorkSchedule = {
12
12
  workingSaturday: boolean;
13
13
  workingSunday: boolean;
14
14
  };
15
- export interface OfficeMapProps {
15
+ /**
16
+ * @title Карта офиса
17
+ */
18
+ export interface OfficeMapContent {
16
19
  name?: string;
17
20
  address: string;
18
21
  workSchedule: WorkSchedule;
@@ -1,5 +1,6 @@
1
1
  import type { IconProps, Picture } from '../../model/Picture';
2
2
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
3
+ /** @default {"icon": {"format": "webp", "size": { "width": 24, "height": 24 }}} */
3
4
  export declare type BusinessCardItemProps = IconProps & {
4
5
  /** @title Текст */
5
6
  text?: string;
@@ -10,7 +11,11 @@ export interface BusinessCardProps {
10
11
  image?: Picture;
11
12
  /** @title Список */
12
13
  cardItems?: BusinessCardItemProps[];
13
- /** @title Кнопка */
14
+ /**
15
+ * @title Кнопка
16
+ * @default {"icon": {"format": "webp", "size": { "width": 24, "height": 24 }},
17
+ * "iconRight": {"format": "webp", "size": { "width": 24, "height": 24 }}, "text": "Кнопка"}
18
+ */
14
19
  button?: ButtonWithIconProps;
15
20
  }
16
21
  /**