@redneckz/wildless-cms-uni-blocks 0.3.70 → 0.3.71

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 (1071) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +388 -416
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
  5. package/dist/components/Blocks.d.ts +0 -1
  6. package/dist/components/Blocks.js +0 -2
  7. package/dist/components/Blocks.js.map +1 -1
  8. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  9. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  10. package/dist/components/Calculator/Calculator.js +7 -3
  11. package/dist/components/Calculator/Calculator.js.map +1 -1
  12. package/dist/components/Calculator/getCalculatorParams.js +2 -1
  13. package/dist/components/Calculator/getCalculatorParams.js.map +1 -1
  14. package/dist/components/Calculator/getCreditRate.js +2 -1
  15. package/dist/components/Calculator/getCreditRate.js.map +1 -1
  16. package/dist/components/Calculator/getMonthlyPayment.js +2 -1
  17. package/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
  18. package/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  19. package/dist/components/ComparisonTable/HeaderCell.mobile.js +4 -2
  20. package/dist/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  21. package/dist/components/ComparisonTable/TableCell.js +3 -1
  22. package/dist/components/ComparisonTable/TableCell.js.map +1 -1
  23. package/dist/components/ComparisonTable/TableCell.mobile.js +3 -1
  24. package/dist/components/ComparisonTable/TableCell.mobile.js.map +1 -1
  25. package/dist/components/ComparisonTable/TableRow.js +2 -1
  26. package/dist/components/ComparisonTable/TableRow.js.map +1 -1
  27. package/dist/components/ContentPage/ContentPageContext.d.ts +14 -3
  28. package/dist/components/ExchangeRateTile/CurrencyProps.d.ts +5 -0
  29. package/dist/components/ExchangeRateTile/CurrencyProps.js +9 -0
  30. package/dist/components/ExchangeRateTile/CurrencyProps.js.map +1 -0
  31. package/dist/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
  32. package/dist/components/ExchangeRateTile/CurrencyTable.js +2 -2
  33. package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  34. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +16 -4
  35. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +68 -9
  36. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  37. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +7 -19
  38. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  39. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -10
  40. package/dist/components/ExchangeRateTile/calculateResult.d.ts +2 -0
  41. package/dist/components/ExchangeRateTile/calculateResult.js +11 -0
  42. package/dist/components/ExchangeRateTile/calculateResult.js.map +1 -0
  43. package/dist/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
  44. package/dist/components/ExchangeRateTile/callbackCurrencySelect.js +17 -0
  45. package/dist/components/ExchangeRateTile/callbackCurrencySelect.js.map +1 -0
  46. package/dist/components/ExchangeRateTile/formatCurrency.js +5 -1
  47. package/dist/components/ExchangeRateTile/formatCurrency.js.map +1 -1
  48. package/dist/components/ExchangeRateTile/renderButton.d.ts +1 -0
  49. package/dist/components/ExchangeRateTile/renderButton.js +9 -0
  50. package/dist/components/ExchangeRateTile/renderButton.js.map +1 -0
  51. package/dist/components/ExchangeRateTile/renderInput.d.ts +12 -0
  52. package/dist/components/ExchangeRateTile/renderInput.js +12 -0
  53. package/dist/components/ExchangeRateTile/renderInput.js.map +1 -0
  54. package/dist/components/Footer/Footer.js +1 -1
  55. package/dist/components/Footer/Footer.js.map +1 -1
  56. package/dist/components/Footer/MediaButton.js +4 -13
  57. package/dist/components/Footer/MediaButton.js.map +1 -1
  58. package/dist/components/Footer/TextInformation.js +1 -1
  59. package/dist/components/Footer/TextInformation.js.map +1 -1
  60. package/dist/components/Gallery/Gallery.mobile.js +2 -2
  61. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  62. package/dist/components/Gallery/GalleryCardInner.js +2 -2
  63. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  64. package/dist/components/Gallery/GalleryInner.js +7 -2
  65. package/dist/components/Gallery/GalleryInner.js.map +1 -1
  66. package/dist/components/GroupBlock/BlocksTypeProps.d.ts +4 -1
  67. package/dist/components/GroupBlock/GroupBlock.js +3 -3
  68. package/dist/components/GroupBlock/GroupBlock.js.map +1 -1
  69. package/dist/components/GroupBlock/GroupBlockTabs.js +2 -2
  70. package/dist/components/GroupBlock/GroupBlockTabs.js.map +1 -1
  71. package/dist/components/GroupBlock/GroupBlocksItem.js +1 -1
  72. package/dist/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  73. package/dist/components/Header/DropdownMenu.d.ts +13 -0
  74. package/dist/components/Header/DropdownMenu.js +18 -0
  75. package/dist/components/Header/DropdownMenu.js.map +1 -0
  76. package/dist/components/Header/HeaderSubMenu.js +19 -32
  77. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  78. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +8 -4
  79. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  80. package/dist/components/LinkDocs/LinkDocsListItemBase.js +2 -1
  81. package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  82. package/dist/components/Placeholder/Placeholder.js +1 -1
  83. package/dist/components/Placeholder/Placeholder.js.map +1 -1
  84. package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  85. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  86. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
  87. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  88. package/dist/components/ProductTile/ProductTile.js +2 -2
  89. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  90. package/dist/components/Recommendation/Recommendation.js +7 -2
  91. package/dist/components/Recommendation/Recommendation.js.map +1 -1
  92. package/dist/components/Tile/Tile.js +4 -4
  93. package/dist/components/Tile/Tile.js.map +1 -1
  94. package/dist/components/Tile/TileContent.d.ts +5 -0
  95. package/dist/content-page-repository/mapJSON.d.ts +1 -1
  96. package/dist/content-page-repository/mapJSON.js +9 -7
  97. package/dist/content-page-repository/mapJSON.js.map +1 -1
  98. package/dist/content-page-repository/transformMarkdown.js +2 -1
  99. package/dist/content-page-repository/transformMarkdown.js.map +1 -1
  100. package/dist/content-page-repository/transformPicture.js +6 -3
  101. package/dist/content-page-repository/transformPicture.js.map +1 -1
  102. package/dist/hooks/useCreditCalculatorData.d.ts +1 -2
  103. package/dist/hooks/useCreditCalculatorData.js.map +1 -1
  104. package/dist/hooks/useExchangeRates.d.ts +2 -8
  105. package/dist/hooks/useExchangeRates.js +52 -3
  106. package/dist/hooks/useExchangeRates.js.map +1 -1
  107. package/dist/hooks/useTableArrowScrollControl.js +3 -3
  108. package/dist/hooks/useTableArrowScrollControl.js.map +1 -1
  109. package/dist/react/IntersectionObserverTag.d.ts +3 -0
  110. package/dist/react/IntersectionObserverTag.js +17 -0
  111. package/dist/react/IntersectionObserverTag.js.map +1 -0
  112. package/dist/{setup-fixture.d.ts → react/setup-fixture.d.ts} +1 -1
  113. package/{mobile/dist → dist/react}/setup-fixture.js +3 -1
  114. package/dist/react/setup-fixture.js.map +1 -0
  115. package/dist/services/sitemap/isHrefActive.d.ts +1 -1
  116. package/dist/services/sitemap/isHrefActive.js +1 -1
  117. package/dist/services/sitemap/isHrefActive.js.map +1 -1
  118. package/dist/ui-kit/Button/ArrowButton.d.ts +1 -1
  119. package/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  120. package/dist/ui-kit/Button/ButtonSection.js +2 -1
  121. package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  122. package/dist/ui-kit/Button/renderArrows.d.ts +10 -0
  123. package/dist/ui-kit/Button/renderArrows.js +9 -0
  124. package/dist/ui-kit/Button/renderArrows.js.map +1 -0
  125. package/dist/ui-kit/Img/Img.mobile.js +1 -1
  126. package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
  127. package/dist/ui-kit/Input/Input.js +6 -2
  128. package/dist/ui-kit/Input/Input.js.map +1 -1
  129. package/dist/ui-kit/Input/InputProps.d.ts +3 -0
  130. package/dist/ui-kit/InputRange/InputRange.js +10 -6
  131. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  132. package/dist/ui-kit/SVG.js +1 -1
  133. package/dist/ui-kit/SVG.js.map +1 -1
  134. package/dist/ui-kit/SearchBar.mobile.js +1 -1
  135. package/dist/ui-kit/SearchBar.mobile.js.map +1 -1
  136. package/dist/ui-kit/Select/Select.d.ts +2 -0
  137. package/dist/ui-kit/Select/Select.js +2 -2
  138. package/dist/ui-kit/Select/Select.js.map +1 -1
  139. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  140. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  141. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +2 -1
  142. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  143. package/dist/ui-kit/SwipeListControl/utils/getIndexParts.js +3 -2
  144. package/dist/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
  145. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +9 -3
  146. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  147. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +5 -4
  148. package/dist/ui-kit/Tabs/Tabs.js +2 -1
  149. package/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  150. package/dist/ui-kit/TopItem/TopItem.js +6 -8
  151. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  152. package/dist/utils/changeHashOnScroll.js +2 -1
  153. package/dist/utils/changeHashOnScroll.js.map +1 -1
  154. package/dist/utils/getCurrentDate.js +1 -1
  155. package/dist/utils/roundTo.d.ts +1 -0
  156. package/dist/utils/roundTo.js +8 -0
  157. package/dist/utils/roundTo.js.map +1 -0
  158. package/lib/common.css +1 -1
  159. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  160. package/lib/components/Blocks.d.ts +0 -1
  161. package/lib/components/Blocks.js +0 -2
  162. package/lib/components/Blocks.js.map +1 -1
  163. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  164. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  165. package/lib/components/Calculator/Calculator.js +8 -4
  166. package/lib/components/Calculator/Calculator.js.map +1 -1
  167. package/lib/components/Calculator/getCalculatorParams.js +2 -1
  168. package/lib/components/Calculator/getCalculatorParams.js.map +1 -1
  169. package/lib/components/Calculator/getCreditRate.js +2 -1
  170. package/lib/components/Calculator/getCreditRate.js.map +1 -1
  171. package/lib/components/Calculator/getMonthlyPayment.js +2 -1
  172. package/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
  173. package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  174. package/lib/components/ComparisonTable/HeaderCell.mobile.js +4 -2
  175. package/lib/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
  176. package/lib/components/ComparisonTable/TableCell.js +3 -1
  177. package/lib/components/ComparisonTable/TableCell.js.map +1 -1
  178. package/lib/components/ComparisonTable/TableCell.mobile.js +3 -1
  179. package/lib/components/ComparisonTable/TableCell.mobile.js.map +1 -1
  180. package/lib/components/ComparisonTable/TableRow.js +2 -1
  181. package/lib/components/ComparisonTable/TableRow.js.map +1 -1
  182. package/lib/components/ContentPage/ContentPageContext.d.ts +14 -3
  183. package/lib/components/ExchangeRateTile/CurrencyProps.d.ts +5 -0
  184. package/lib/components/ExchangeRateTile/CurrencyProps.js +7 -0
  185. package/lib/components/ExchangeRateTile/CurrencyProps.js.map +1 -0
  186. package/lib/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
  187. package/lib/components/ExchangeRateTile/CurrencyTable.js +2 -2
  188. package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  189. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +16 -4
  190. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +69 -10
  191. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  192. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +7 -19
  193. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  194. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -10
  195. package/lib/components/ExchangeRateTile/calculateResult.d.ts +2 -0
  196. package/lib/components/ExchangeRateTile/calculateResult.js +7 -0
  197. package/lib/components/ExchangeRateTile/calculateResult.js.map +1 -0
  198. package/lib/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
  199. package/lib/components/ExchangeRateTile/callbackCurrencySelect.js +14 -0
  200. package/lib/components/ExchangeRateTile/callbackCurrencySelect.js.map +1 -0
  201. package/lib/components/ExchangeRateTile/formatCurrency.js +5 -1
  202. package/lib/components/ExchangeRateTile/formatCurrency.js.map +1 -1
  203. package/lib/components/ExchangeRateTile/renderButton.d.ts +1 -0
  204. package/lib/components/ExchangeRateTile/renderButton.js +6 -0
  205. package/lib/components/ExchangeRateTile/renderButton.js.map +1 -0
  206. package/lib/components/ExchangeRateTile/renderInput.d.ts +12 -0
  207. package/lib/components/ExchangeRateTile/renderInput.js +9 -0
  208. package/lib/components/ExchangeRateTile/renderInput.js.map +1 -0
  209. package/lib/components/Footer/Footer.js +1 -1
  210. package/lib/components/Footer/Footer.js.map +1 -1
  211. package/lib/components/Footer/MediaButton.js +4 -13
  212. package/lib/components/Footer/MediaButton.js.map +1 -1
  213. package/lib/components/Footer/TextInformation.js +1 -1
  214. package/lib/components/Footer/TextInformation.js.map +1 -1
  215. package/lib/components/Gallery/Gallery.mobile.js +2 -2
  216. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  217. package/lib/components/Gallery/GalleryCardInner.js +2 -2
  218. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  219. package/lib/components/Gallery/GalleryInner.js +7 -2
  220. package/lib/components/Gallery/GalleryInner.js.map +1 -1
  221. package/lib/components/GroupBlock/BlocksTypeProps.d.ts +4 -1
  222. package/lib/components/GroupBlock/GroupBlock.fixture.d.ts +1 -0
  223. package/lib/components/GroupBlock/GroupBlock.js +3 -3
  224. package/lib/components/GroupBlock/GroupBlock.js.map +1 -1
  225. package/lib/components/GroupBlock/GroupBlockTabs.js +2 -2
  226. package/lib/components/GroupBlock/GroupBlockTabs.js.map +1 -1
  227. package/lib/components/GroupBlock/GroupBlocksItem.js +1 -1
  228. package/lib/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  229. package/lib/components/Header/DropdownMenu.d.ts +13 -0
  230. package/lib/components/Header/DropdownMenu.js +16 -0
  231. package/lib/components/Header/DropdownMenu.js.map +1 -0
  232. package/lib/components/Header/HeaderSubMenu.js +19 -32
  233. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  234. package/lib/components/Headline/Headline.fixture.d.ts +9 -3
  235. package/lib/components/Headline/Headline.fixture.mobile.d.ts +13 -3
  236. package/lib/components/Insurance/Insurance.fixture.d.ts +2 -1
  237. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +8 -4
  238. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  239. package/lib/components/LinkDocs/LinkDocsListItemBase.js +2 -1
  240. package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  241. package/lib/components/Placeholder/Placeholder.js +1 -1
  242. package/lib/components/Placeholder/Placeholder.js.map +1 -1
  243. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +10 -2
  244. package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  245. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  246. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
  247. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  248. package/lib/components/ProductTile/ProductTile.js +2 -2
  249. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  250. package/lib/components/Recommendation/Recommendation.fixture.d.ts +3 -0
  251. package/lib/components/Recommendation/Recommendation.js +7 -2
  252. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  253. package/lib/components/StepsBlock/StepsBlock.fixture.mobile.d.ts +7 -1
  254. package/lib/components/TextBlock/TextBlock.fixture.d.ts +3 -1
  255. package/lib/components/TextBlock/TextBlock.fixture.mobile.d.ts +3 -1
  256. package/lib/components/Tile/Tile.js +4 -4
  257. package/lib/components/Tile/Tile.js.map +1 -1
  258. package/lib/components/Tile/TileContent.d.ts +5 -0
  259. package/lib/content-page-repository/mapJSON.d.ts +1 -1
  260. package/lib/content-page-repository/mapJSON.js +9 -7
  261. package/lib/content-page-repository/mapJSON.js.map +1 -1
  262. package/lib/content-page-repository/transformMarkdown.js +2 -1
  263. package/lib/content-page-repository/transformMarkdown.js.map +1 -1
  264. package/lib/content-page-repository/transformPicture.js +6 -3
  265. package/lib/content-page-repository/transformPicture.js.map +1 -1
  266. package/lib/hooks/useCreditCalculatorData.d.ts +1 -2
  267. package/lib/hooks/useCreditCalculatorData.js.map +1 -1
  268. package/lib/hooks/useExchangeRates.d.ts +2 -8
  269. package/lib/hooks/useExchangeRates.js +52 -3
  270. package/lib/hooks/useExchangeRates.js.map +1 -1
  271. package/lib/hooks/useTableArrowScrollControl.js +3 -3
  272. package/lib/hooks/useTableArrowScrollControl.js.map +1 -1
  273. package/lib/react/IntersectionObserverTag.d.ts +3 -0
  274. package/lib/react/IntersectionObserverTag.js +14 -0
  275. package/lib/react/IntersectionObserverTag.js.map +1 -0
  276. package/lib/{setup-fixture.d.ts → react/setup-fixture.d.ts} +1 -1
  277. package/{mobile/lib → lib/react}/setup-fixture.js +3 -1
  278. package/lib/react/setup-fixture.js.map +1 -0
  279. package/lib/services/sitemap/isHrefActive.d.ts +1 -1
  280. package/lib/services/sitemap/isHrefActive.js +1 -1
  281. package/lib/services/sitemap/isHrefActive.js.map +1 -1
  282. package/lib/ui-kit/Button/ArrowButton.d.ts +1 -1
  283. package/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  284. package/lib/ui-kit/Button/Button.fixture.d.ts +1 -1
  285. package/lib/ui-kit/Button/Button.fixture.mobile.d.ts +1 -1
  286. package/lib/ui-kit/Button/ButtonSection.js +2 -1
  287. package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  288. package/lib/ui-kit/Button/renderArrows.d.ts +10 -0
  289. package/lib/ui-kit/Button/renderArrows.js +6 -0
  290. package/lib/ui-kit/Button/renderArrows.js.map +1 -0
  291. package/lib/ui-kit/HeaderItem/HeaderItem.fixture.d.ts +1 -1
  292. package/lib/ui-kit/Icon/Icon.fixture.d.ts +1 -1
  293. package/lib/ui-kit/Img/Img.mobile.js +1 -1
  294. package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
  295. package/lib/ui-kit/Input/Input.js +6 -2
  296. package/lib/ui-kit/Input/Input.js.map +1 -1
  297. package/lib/ui-kit/Input/InputProps.d.ts +3 -0
  298. package/lib/ui-kit/InputRange/InputRange.js +10 -6
  299. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  300. package/lib/ui-kit/List/List.fixture.d.ts +1 -1
  301. package/lib/ui-kit/Logo/Logo.fixture.d.ts +1 -1
  302. package/lib/ui-kit/SVG.js +1 -1
  303. package/lib/ui-kit/SVG.js.map +1 -1
  304. package/lib/ui-kit/SearchBar.mobile.js +1 -1
  305. package/lib/ui-kit/SearchBar.mobile.js.map +1 -1
  306. package/lib/ui-kit/Select/Select.d.ts +2 -0
  307. package/lib/ui-kit/Select/Select.js +2 -2
  308. package/lib/ui-kit/Select/Select.js.map +1 -1
  309. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  310. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  311. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +2 -1
  312. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  313. package/lib/ui-kit/SwipeListControl/utils/getIndexParts.js +3 -2
  314. package/lib/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
  315. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +10 -4
  316. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  317. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +5 -4
  318. package/lib/ui-kit/Tabs/Tabs.js +2 -1
  319. package/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  320. package/lib/ui-kit/TopItem/TopItem.fixture.d.ts +1 -1
  321. package/lib/ui-kit/TopItem/TopItem.js +6 -8
  322. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  323. package/lib/utils/changeHashOnScroll.js +2 -1
  324. package/lib/utils/changeHashOnScroll.js.map +1 -1
  325. package/lib/utils/getCurrentDate.js +1 -1
  326. package/lib/utils/roundTo.d.ts +1 -0
  327. package/lib/utils/roundTo.js +5 -0
  328. package/lib/utils/roundTo.js.map +1 -0
  329. package/mobile/bundle/bundle.umd.js +214 -69
  330. package/mobile/bundle/bundle.umd.min.js +1 -1
  331. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  332. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  333. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  334. package/mobile/dist/components/Calculator/Calculator.js +7 -3
  335. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  336. package/mobile/dist/components/Calculator/getCalculatorParams.js +2 -1
  337. package/mobile/dist/components/Calculator/getCalculatorParams.js.map +1 -1
  338. package/mobile/dist/components/Calculator/getCreditRate.js +2 -1
  339. package/mobile/dist/components/Calculator/getCreditRate.js.map +1 -1
  340. package/mobile/dist/components/Calculator/getMonthlyPayment.js +2 -1
  341. package/mobile/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
  342. package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  343. package/mobile/dist/components/ComparisonTable/HeaderCell.js +4 -2
  344. package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  345. package/mobile/dist/components/ComparisonTable/TableCell.js +3 -1
  346. package/mobile/dist/components/ComparisonTable/TableCell.js.map +1 -1
  347. package/mobile/dist/components/ComparisonTable/TableRow.js +2 -1
  348. package/mobile/dist/components/ComparisonTable/TableRow.js.map +1 -1
  349. package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +14 -3
  350. package/mobile/dist/components/ExchangeRateTile/CurrencyProps.d.ts +5 -0
  351. package/mobile/dist/components/ExchangeRateTile/CurrencyProps.js +9 -0
  352. package/mobile/dist/components/ExchangeRateTile/CurrencyProps.js.map +1 -0
  353. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
  354. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +2 -2
  355. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  356. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +16 -4
  357. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +68 -9
  358. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  359. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +7 -19
  360. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  361. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -10
  362. package/mobile/dist/components/ExchangeRateTile/calculateResult.d.ts +2 -0
  363. package/mobile/dist/components/ExchangeRateTile/calculateResult.js +11 -0
  364. package/mobile/dist/components/ExchangeRateTile/calculateResult.js.map +1 -0
  365. package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
  366. package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.js +17 -0
  367. package/mobile/dist/components/ExchangeRateTile/callbackCurrencySelect.js.map +1 -0
  368. package/mobile/dist/components/ExchangeRateTile/formatCurrency.js +5 -1
  369. package/mobile/dist/components/ExchangeRateTile/formatCurrency.js.map +1 -1
  370. package/mobile/dist/components/ExchangeRateTile/renderButton.d.ts +1 -0
  371. package/mobile/dist/components/ExchangeRateTile/renderButton.js +9 -0
  372. package/mobile/dist/components/ExchangeRateTile/renderButton.js.map +1 -0
  373. package/mobile/dist/components/ExchangeRateTile/renderInput.d.ts +12 -0
  374. package/mobile/dist/components/ExchangeRateTile/renderInput.js +12 -0
  375. package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +1 -0
  376. package/mobile/dist/components/Footer/MediaButton.js +4 -13
  377. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  378. package/mobile/dist/components/Gallery/Gallery.js +2 -2
  379. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  380. package/mobile/dist/components/Gallery/GalleryCardInner.js +2 -2
  381. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  382. package/mobile/dist/components/Gallery/GalleryInner.js +7 -2
  383. package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
  384. package/mobile/dist/components/GroupBlock/BlocksTypeProps.d.ts +4 -1
  385. package/mobile/dist/components/GroupBlock/GroupBlock.js +3 -3
  386. package/mobile/dist/components/GroupBlock/GroupBlock.js.map +1 -1
  387. package/mobile/dist/components/GroupBlock/GroupBlockTabs.js +2 -2
  388. package/mobile/dist/components/GroupBlock/GroupBlockTabs.js.map +1 -1
  389. package/mobile/dist/components/GroupBlock/GroupBlocksItem.js +1 -1
  390. package/mobile/dist/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  391. package/mobile/dist/components/Header/DropdownMenu.d.ts +13 -0
  392. package/mobile/dist/components/Header/DropdownMenu.js +18 -0
  393. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -0
  394. package/mobile/dist/components/Header/HeaderSubMenu.js +19 -32
  395. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  396. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +8 -4
  397. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  398. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js +2 -1
  399. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  400. package/mobile/dist/components/Placeholder/Placeholder.js +1 -1
  401. package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
  402. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  403. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  404. package/mobile/dist/components/ProductTile/ProductTile.js +2 -2
  405. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  406. package/mobile/dist/components/Recommendation/Recommendation.js +7 -2
  407. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  408. package/mobile/dist/components/Tile/Tile.js +4 -4
  409. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  410. package/mobile/dist/components/Tile/TileContent.d.ts +5 -0
  411. package/mobile/dist/content-page-repository/mapJSON.d.ts +1 -1
  412. package/mobile/dist/content-page-repository/mapJSON.js +9 -7
  413. package/mobile/dist/content-page-repository/mapJSON.js.map +1 -1
  414. package/mobile/dist/content-page-repository/transformMarkdown.js +2 -1
  415. package/mobile/dist/content-page-repository/transformMarkdown.js.map +1 -1
  416. package/mobile/dist/content-page-repository/transformPicture.js +6 -3
  417. package/mobile/dist/content-page-repository/transformPicture.js.map +1 -1
  418. package/mobile/dist/hooks/useCreditCalculatorData.d.ts +1 -2
  419. package/mobile/dist/hooks/useCreditCalculatorData.js.map +1 -1
  420. package/mobile/dist/hooks/useExchangeRates.d.ts +2 -8
  421. package/mobile/dist/hooks/useExchangeRates.js +52 -3
  422. package/mobile/dist/hooks/useExchangeRates.js.map +1 -1
  423. package/mobile/dist/hooks/useTableArrowScrollControl.js +3 -3
  424. package/mobile/dist/hooks/useTableArrowScrollControl.js.map +1 -1
  425. package/mobile/dist/react/IntersectionObserverTag.d.ts +3 -0
  426. package/mobile/dist/react/IntersectionObserverTag.js +17 -0
  427. package/mobile/dist/react/IntersectionObserverTag.js.map +1 -0
  428. package/mobile/dist/{setup-fixture.d.ts → react/setup-fixture.d.ts} +1 -1
  429. package/{dist → mobile/dist/react}/setup-fixture.js +3 -1
  430. package/mobile/dist/react/setup-fixture.js.map +1 -0
  431. package/mobile/dist/services/sitemap/isHrefActive.d.ts +1 -1
  432. package/mobile/dist/services/sitemap/isHrefActive.js +1 -1
  433. package/mobile/dist/services/sitemap/isHrefActive.js.map +1 -1
  434. package/mobile/dist/ui-kit/Button/ArrowButton.d.ts +1 -1
  435. package/mobile/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  436. package/mobile/dist/ui-kit/Button/ButtonSection.js +2 -1
  437. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  438. package/mobile/dist/ui-kit/Button/renderArrows.d.ts +10 -0
  439. package/mobile/dist/ui-kit/Button/renderArrows.js +9 -0
  440. package/mobile/dist/ui-kit/Button/renderArrows.js.map +1 -0
  441. package/mobile/dist/ui-kit/Img/Img.js +1 -1
  442. package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
  443. package/mobile/dist/ui-kit/Input/Input.js +6 -2
  444. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  445. package/mobile/dist/ui-kit/Input/InputProps.d.ts +3 -0
  446. package/mobile/dist/ui-kit/InputRange/InputRange.js +10 -6
  447. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  448. package/mobile/dist/ui-kit/SVG.js +1 -1
  449. package/mobile/dist/ui-kit/SVG.js.map +1 -1
  450. package/mobile/dist/ui-kit/Select/Select.d.ts +2 -0
  451. package/mobile/dist/ui-kit/Select/Select.js +2 -2
  452. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  453. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  454. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  455. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +2 -1
  456. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  457. package/mobile/dist/ui-kit/SwipeListControl/utils/getIndexParts.js +3 -2
  458. package/mobile/dist/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
  459. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +9 -3
  460. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  461. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +5 -4
  462. package/mobile/dist/ui-kit/Tabs/Tabs.js +2 -1
  463. package/mobile/dist/ui-kit/Tabs/Tabs.js.map +1 -1
  464. package/mobile/dist/ui-kit/TopItem/TopItem.js +6 -8
  465. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  466. package/mobile/dist/utils/changeHashOnScroll.js +2 -1
  467. package/mobile/dist/utils/changeHashOnScroll.js.map +1 -1
  468. package/mobile/dist/utils/getCurrentDate.js +1 -1
  469. package/mobile/dist/utils/roundTo.d.ts +1 -0
  470. package/mobile/dist/utils/roundTo.js +8 -0
  471. package/mobile/dist/utils/roundTo.js.map +1 -0
  472. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  473. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
  474. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  475. package/mobile/lib/components/Calculator/Calculator.js +8 -4
  476. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  477. package/mobile/lib/components/Calculator/getCalculatorParams.js +2 -1
  478. package/mobile/lib/components/Calculator/getCalculatorParams.js.map +1 -1
  479. package/mobile/lib/components/Calculator/getCreditRate.js +2 -1
  480. package/mobile/lib/components/Calculator/getCreditRate.js.map +1 -1
  481. package/mobile/lib/components/Calculator/getMonthlyPayment.js +2 -1
  482. package/mobile/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
  483. package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  484. package/mobile/lib/components/ComparisonTable/HeaderCell.js +4 -2
  485. package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  486. package/mobile/lib/components/ComparisonTable/TableCell.js +3 -1
  487. package/mobile/lib/components/ComparisonTable/TableCell.js.map +1 -1
  488. package/mobile/lib/components/ComparisonTable/TableRow.js +2 -1
  489. package/mobile/lib/components/ComparisonTable/TableRow.js.map +1 -1
  490. package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +14 -3
  491. package/mobile/lib/components/ExchangeRateTile/CurrencyProps.d.ts +5 -0
  492. package/mobile/lib/components/ExchangeRateTile/CurrencyProps.js +7 -0
  493. package/mobile/lib/components/ExchangeRateTile/CurrencyProps.js.map +1 -0
  494. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
  495. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +2 -2
  496. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
  497. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +16 -4
  498. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +69 -10
  499. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  500. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +7 -19
  501. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  502. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +0 -10
  503. package/mobile/lib/components/ExchangeRateTile/calculateResult.d.ts +2 -0
  504. package/mobile/lib/components/ExchangeRateTile/calculateResult.js +7 -0
  505. package/mobile/lib/components/ExchangeRateTile/calculateResult.js.map +1 -0
  506. package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
  507. package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.js +14 -0
  508. package/mobile/lib/components/ExchangeRateTile/callbackCurrencySelect.js.map +1 -0
  509. package/mobile/lib/components/ExchangeRateTile/formatCurrency.js +5 -1
  510. package/mobile/lib/components/ExchangeRateTile/formatCurrency.js.map +1 -1
  511. package/mobile/lib/components/ExchangeRateTile/renderButton.d.ts +1 -0
  512. package/mobile/lib/components/ExchangeRateTile/renderButton.js +6 -0
  513. package/mobile/lib/components/ExchangeRateTile/renderButton.js.map +1 -0
  514. package/mobile/lib/components/ExchangeRateTile/renderInput.d.ts +12 -0
  515. package/mobile/lib/components/ExchangeRateTile/renderInput.js +9 -0
  516. package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +1 -0
  517. package/mobile/lib/components/Footer/MediaButton.js +4 -13
  518. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  519. package/mobile/lib/components/Gallery/Gallery.js +2 -2
  520. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  521. package/mobile/lib/components/Gallery/GalleryCardInner.js +2 -2
  522. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  523. package/mobile/lib/components/Gallery/GalleryInner.js +7 -2
  524. package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
  525. package/mobile/lib/components/GroupBlock/BlocksTypeProps.d.ts +4 -1
  526. package/mobile/lib/components/GroupBlock/GroupBlock.js +3 -3
  527. package/mobile/lib/components/GroupBlock/GroupBlock.js.map +1 -1
  528. package/mobile/lib/components/GroupBlock/GroupBlockTabs.js +2 -2
  529. package/mobile/lib/components/GroupBlock/GroupBlockTabs.js.map +1 -1
  530. package/mobile/lib/components/GroupBlock/GroupBlocksItem.js +1 -1
  531. package/mobile/lib/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  532. package/mobile/lib/components/Header/DropdownMenu.d.ts +13 -0
  533. package/mobile/lib/components/Header/DropdownMenu.js +16 -0
  534. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -0
  535. package/mobile/lib/components/Header/HeaderSubMenu.js +19 -32
  536. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  537. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +8 -4
  538. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  539. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js +2 -1
  540. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
  541. package/mobile/lib/components/Placeholder/Placeholder.js +1 -1
  542. package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
  543. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  544. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  545. package/mobile/lib/components/ProductTile/ProductTile.js +2 -2
  546. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  547. package/mobile/lib/components/Recommendation/Recommendation.js +7 -2
  548. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  549. package/mobile/lib/components/Tile/Tile.js +4 -4
  550. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  551. package/mobile/lib/components/Tile/TileContent.d.ts +5 -0
  552. package/mobile/lib/content-page-repository/mapJSON.d.ts +1 -1
  553. package/mobile/lib/content-page-repository/mapJSON.js +9 -7
  554. package/mobile/lib/content-page-repository/mapJSON.js.map +1 -1
  555. package/mobile/lib/content-page-repository/transformMarkdown.js +2 -1
  556. package/mobile/lib/content-page-repository/transformMarkdown.js.map +1 -1
  557. package/mobile/lib/content-page-repository/transformPicture.js +6 -3
  558. package/mobile/lib/content-page-repository/transformPicture.js.map +1 -1
  559. package/mobile/lib/hooks/useCreditCalculatorData.d.ts +1 -2
  560. package/mobile/lib/hooks/useCreditCalculatorData.js.map +1 -1
  561. package/mobile/lib/hooks/useExchangeRates.d.ts +2 -8
  562. package/mobile/lib/hooks/useExchangeRates.js +52 -3
  563. package/mobile/lib/hooks/useExchangeRates.js.map +1 -1
  564. package/mobile/lib/hooks/useTableArrowScrollControl.js +3 -3
  565. package/mobile/lib/hooks/useTableArrowScrollControl.js.map +1 -1
  566. package/mobile/lib/react/IntersectionObserverTag.d.ts +3 -0
  567. package/mobile/lib/react/IntersectionObserverTag.js +14 -0
  568. package/mobile/lib/react/IntersectionObserverTag.js.map +1 -0
  569. package/mobile/lib/{setup-fixture.d.ts → react/setup-fixture.d.ts} +1 -1
  570. package/{lib → mobile/lib/react}/setup-fixture.js +3 -1
  571. package/mobile/lib/react/setup-fixture.js.map +1 -0
  572. package/mobile/lib/services/sitemap/isHrefActive.d.ts +1 -1
  573. package/mobile/lib/services/sitemap/isHrefActive.js +1 -1
  574. package/mobile/lib/services/sitemap/isHrefActive.js.map +1 -1
  575. package/mobile/lib/ui-kit/Button/ArrowButton.d.ts +1 -1
  576. package/mobile/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  577. package/mobile/lib/ui-kit/Button/ButtonSection.js +2 -1
  578. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  579. package/mobile/lib/ui-kit/Button/renderArrows.d.ts +10 -0
  580. package/mobile/lib/ui-kit/Button/renderArrows.js +6 -0
  581. package/mobile/lib/ui-kit/Button/renderArrows.js.map +1 -0
  582. package/mobile/lib/ui-kit/Img/Img.js +1 -1
  583. package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
  584. package/mobile/lib/ui-kit/Input/Input.js +6 -2
  585. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  586. package/mobile/lib/ui-kit/Input/InputProps.d.ts +3 -0
  587. package/mobile/lib/ui-kit/InputRange/InputRange.js +10 -6
  588. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  589. package/mobile/lib/ui-kit/SVG.js +1 -1
  590. package/mobile/lib/ui-kit/SVG.js.map +1 -1
  591. package/mobile/lib/ui-kit/Select/Select.d.ts +2 -0
  592. package/mobile/lib/ui-kit/Select/Select.js +2 -2
  593. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  594. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  595. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  596. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +2 -1
  597. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  598. package/mobile/lib/ui-kit/SwipeListControl/utils/getIndexParts.js +3 -2
  599. package/mobile/lib/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -1
  600. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +10 -4
  601. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  602. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +5 -4
  603. package/mobile/lib/ui-kit/Tabs/Tabs.js +2 -1
  604. package/mobile/lib/ui-kit/Tabs/Tabs.js.map +1 -1
  605. package/mobile/lib/ui-kit/TopItem/TopItem.js +6 -8
  606. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  607. package/mobile/lib/utils/changeHashOnScroll.js +2 -1
  608. package/mobile/lib/utils/changeHashOnScroll.js.map +1 -1
  609. package/mobile/lib/utils/getCurrentDate.js +1 -1
  610. package/mobile/lib/utils/roundTo.d.ts +1 -0
  611. package/mobile/lib/utils/roundTo.js +5 -0
  612. package/mobile/lib/utils/roundTo.js.map +1 -0
  613. package/mobile/src/components/Accordion/Accordion.tsx +1 -3
  614. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +1 -1
  615. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +4 -8
  616. package/mobile/src/components/Calculator/Calculator.tsx +8 -22
  617. package/mobile/src/components/Calculator/getCalculatorParams.ts +3 -1
  618. package/mobile/src/components/Calculator/getCreditRate.ts +3 -1
  619. package/mobile/src/components/Calculator/getMonthlyPayment.ts +3 -1
  620. package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +0 -7
  621. package/mobile/src/components/ComparisonTable/HeaderCell.tsx +7 -13
  622. package/mobile/src/components/ComparisonTable/TableCell.tsx +7 -8
  623. package/mobile/src/components/ComparisonTable/TableRow.tsx +6 -9
  624. package/mobile/src/components/ContentPage/ContentPage.page.json +0 -5
  625. package/mobile/src/components/ContentPage/ContentPageContext.tsx +20 -4
  626. package/mobile/src/components/ExchangeRateTile/CurrencyProps.ts +5 -0
  627. package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +4 -4
  628. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +120 -35
  629. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +14 -28
  630. package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +0 -11
  631. package/mobile/src/components/ExchangeRateTile/calculateResult.ts +8 -0
  632. package/mobile/src/components/ExchangeRateTile/callbackCurrencySelect.ts +21 -0
  633. package/mobile/src/components/ExchangeRateTile/formatCurrency.ts +6 -1
  634. package/mobile/src/components/ExchangeRateTile/renderButton.tsx +14 -0
  635. package/mobile/src/components/ExchangeRateTile/renderInput.tsx +43 -0
  636. package/mobile/src/components/Footer/MediaButton.tsx +7 -17
  637. package/mobile/src/components/Gallery/Gallery.tsx +2 -2
  638. package/mobile/src/components/Gallery/GalleryCardInner.tsx +2 -2
  639. package/mobile/src/components/Gallery/GalleryInner.tsx +10 -20
  640. package/mobile/src/components/GroupBlock/BlocksTypeProps.ts +4 -1
  641. package/mobile/src/components/GroupBlock/GroupBlock.example.json +8 -7
  642. package/mobile/src/components/GroupBlock/GroupBlock.tsx +9 -4
  643. package/mobile/src/components/GroupBlock/GroupBlockTabs.tsx +4 -4
  644. package/mobile/src/components/GroupBlock/GroupBlocksItem.tsx +1 -1
  645. package/mobile/src/components/Header/DropdownMenu.tsx +72 -0
  646. package/mobile/src/components/Header/HeaderSubMenu.tsx +45 -87
  647. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +14 -24
  648. package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +3 -1
  649. package/mobile/src/components/Placeholder/Placeholder.tsx +6 -2
  650. package/mobile/src/components/ProductBlock/ProductBlock.example.json +1 -5
  651. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +1 -1
  652. package/mobile/src/components/ProductTile/ProductTile.tsx +2 -2
  653. package/mobile/src/components/Recommendation/Recommendation.tsx +7 -15
  654. package/mobile/src/components/TariffsTable/TariffsTable.example.json +1 -5
  655. package/mobile/src/components/Tile/Tile.example.json +1 -0
  656. package/mobile/src/components/Tile/Tile.tsx +4 -2
  657. package/mobile/src/components/Tile/TileContent.ts +5 -0
  658. package/mobile/src/content-page-repository/mapJSON.ts +11 -7
  659. package/mobile/src/content-page-repository/transformMarkdown.ts +3 -1
  660. package/mobile/src/content-page-repository/transformPicture.ts +8 -3
  661. package/mobile/src/hooks/useCreditCalculatorData.ts +2 -3
  662. package/mobile/src/hooks/useExchangeRates.ts +70 -10
  663. package/mobile/src/hooks/useTableArrowScrollControl.ts +3 -3
  664. package/mobile/src/react/IntersectionObserverTag.tsx +23 -0
  665. package/mobile/src/{setup-fixture.ts → react/setup-fixture.ts} +5 -2
  666. package/mobile/src/services/sitemap/isHrefActive.ts +2 -1
  667. package/mobile/src/ui-kit/Button/ArrowButton.tsx +1 -1
  668. package/mobile/src/ui-kit/Button/ButtonSection.tsx +3 -1
  669. package/mobile/src/ui-kit/Button/renderArrows.tsx +41 -0
  670. package/mobile/src/ui-kit/Img/Img.tsx +1 -0
  671. package/mobile/src/ui-kit/Input/Input.tsx +21 -5
  672. package/mobile/src/ui-kit/Input/InputProps.ts +3 -0
  673. package/mobile/src/ui-kit/InputRange/InputRange.tsx +14 -6
  674. package/mobile/src/ui-kit/SVG.tsx +2 -2
  675. package/mobile/src/ui-kit/Select/Select.tsx +17 -7
  676. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +9 -4
  677. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +3 -1
  678. package/mobile/src/ui-kit/SwipeListControl/utils/getIndexParts.ts +6 -2
  679. package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +9 -18
  680. package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +6 -4
  681. package/mobile/src/ui-kit/Tabs/Tabs.tsx +4 -3
  682. package/mobile/src/ui-kit/TopItem/TopItem.tsx +8 -9
  683. package/mobile/src/utils/changeHashOnScroll.ts +3 -1
  684. package/mobile/src/utils/getCurrentDate.ts +1 -1
  685. package/mobile/src/utils/roundTo.ts +4 -0
  686. package/package.json +3 -3
  687. package/src/components/Accordion/Accordion.fixture.mobile.tsx +1 -1
  688. package/src/components/Accordion/Accordion.fixture.tsx +11 -11
  689. package/src/components/Accordion/Accordion.mobile.tsx +1 -3
  690. package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +1 -1
  691. package/src/components/Blocks.ts +0 -2
  692. package/src/components/Bonus/Bonus.fixture.tsx +1 -1
  693. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +1 -1
  694. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.tsx +1 -1
  695. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +4 -8
  696. package/src/components/Calculator/Calculator.fixture.tsx +4 -4
  697. package/src/components/Calculator/Calculator.tsx +8 -22
  698. package/src/components/Calculator/getCalculatorParams.ts +3 -1
  699. package/src/components/Calculator/getCreditRate.ts +3 -1
  700. package/src/components/Calculator/getMonthlyPayment.ts +3 -1
  701. package/src/components/Calculator/renderCalculatorBlock.tsx +0 -7
  702. package/src/components/ComparisonTable/ComparisonTable.fixture.mobile.tsx +2 -26
  703. package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +1 -1
  704. package/src/components/ComparisonTable/HeaderCell.mobile.tsx +7 -13
  705. package/src/components/ComparisonTable/TableCell.mobile.tsx +7 -8
  706. package/src/components/ComparisonTable/TableCell.tsx +7 -10
  707. package/src/components/ComparisonTable/TableRow.tsx +6 -9
  708. package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +1 -1
  709. package/src/components/ContentPage/ContentPage.fixture.tsx +1 -1
  710. package/src/components/ContentPage/ContentPage.page.json +0 -5
  711. package/src/components/ContentPage/ContentPageContext.tsx +20 -4
  712. package/src/components/ExchangeRateTile/CurrencyProps.ts +5 -0
  713. package/src/components/ExchangeRateTile/CurrencyTable.tsx +4 -4
  714. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +120 -35
  715. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +1 -1
  716. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +14 -28
  717. package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +0 -11
  718. package/src/components/ExchangeRateTile/calculateResult.ts +8 -0
  719. package/src/components/ExchangeRateTile/callbackCurrencySelect.ts +21 -0
  720. package/src/components/ExchangeRateTile/formatCurrency.ts +6 -1
  721. package/src/components/ExchangeRateTile/renderButton.tsx +14 -0
  722. package/src/components/ExchangeRateTile/renderInput.tsx +43 -0
  723. package/src/components/Footer/Footer.fixture.mobile.tsx +1 -1
  724. package/src/components/Footer/Footer.fixture.tsx +1 -1
  725. package/src/components/Footer/Footer.tsx +1 -1
  726. package/src/components/Footer/MediaButton.tsx +7 -17
  727. package/src/components/Footer/TextInformation.tsx +2 -2
  728. package/src/components/Gallery/Gallery.fixture.mobile.tsx +2 -24
  729. package/src/components/Gallery/Gallery.fixture.tsx +1 -1
  730. package/src/components/Gallery/Gallery.mobile.tsx +2 -2
  731. package/src/components/Gallery/GalleryCardInner.tsx +2 -2
  732. package/src/components/Gallery/GalleryInner.tsx +10 -20
  733. package/src/components/GracePeriod/GracePeriod.fixture.tsx +1 -1
  734. package/src/components/GroupBlock/BlocksTypeProps.ts +4 -1
  735. package/src/components/GroupBlock/GroupBlock.example.json +8 -7
  736. package/src/components/GroupBlock/GroupBlock.fixture.tsx +19 -3
  737. package/src/components/GroupBlock/GroupBlock.tsx +9 -4
  738. package/src/components/GroupBlock/GroupBlockTabs.tsx +4 -4
  739. package/src/components/GroupBlock/GroupBlocksItem.tsx +1 -1
  740. package/src/components/Header/DropdownMenu.tsx +72 -0
  741. package/src/components/Header/Header.fixture.mobile.tsx +1 -1
  742. package/src/components/Header/Header.fixture.tsx +1 -1
  743. package/src/components/Header/HeaderSubMenu.tsx +45 -87
  744. package/src/components/Headline/Headline.fixture.mobile.tsx +45 -4
  745. package/src/components/Headline/Headline.fixture.tsx +31 -7
  746. package/src/components/Insurance/Insurance.fixture.tsx +6 -2
  747. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +1 -1
  748. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +14 -24
  749. package/src/components/LikeControl/LikeControl.fixture.tsx +1 -1
  750. package/src/components/LinkDocs/LinkDocs.fixture.mobile.tsx +2 -2
  751. package/src/components/LinkDocs/LinkDocs.fixture.tsx +2 -2
  752. package/src/components/LinkDocs/LinkDocsListItemBase.tsx +3 -1
  753. package/src/components/LinkList/LinkList.fixture.tsx +1 -1
  754. package/src/components/MiniGallery/MiniGallery.fixture.tsx +1 -1
  755. package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +1 -1
  756. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +1 -1
  757. package/src/components/Navigation/Navigation.fixture.tsx +1 -1
  758. package/src/components/NavigatorTabs/NavigatorTabs.fixture.tsx +1 -1
  759. package/src/components/OtherProducts/OtherProducts.fixture.tsx +1 -1
  760. package/src/components/PictureText/PictureText.fixture.tsx +1 -1
  761. package/src/components/Placeholder/Placeholder.fixture.mobile.tsx +1 -1
  762. package/src/components/Placeholder/Placeholder.fixture.tsx +1 -1
  763. package/src/components/Placeholder/Placeholder.tsx +6 -2
  764. package/src/components/ProductBlock/ProductBlock.example.json +1 -5
  765. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +2 -2
  766. package/src/components/ProductBlock/ProductBlock.fixture.tsx +35 -5
  767. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +1 -1
  768. package/src/components/ProductBlock/ProductBlockInner.tsx +1 -1
  769. package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +1 -1
  770. package/src/components/ProductGallery/ProductGallery.fixture.tsx +2 -2
  771. package/src/components/ProductTile/ProductTile.fixture.tsx +1 -1
  772. package/src/components/ProductTile/ProductTile.tsx +2 -2
  773. package/src/components/PromoTile/PromoTile.fixture.tsx +2 -2
  774. package/src/components/Recommendation/Recommendation.fixture.tsx +18 -13
  775. package/src/components/Recommendation/Recommendation.tsx +7 -15
  776. package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +38 -3
  777. package/src/components/StepsBlock/StepsBlock.fixture.tsx +1 -1
  778. package/src/components/TariffsTable/TariffsTable.example.json +1 -5
  779. package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +2 -30
  780. package/src/components/TariffsTable/TariffsTable.fixture.tsx +1 -1
  781. package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +106 -103
  782. package/src/components/TextBlock/TextBlock.fixture.tsx +65 -87
  783. package/src/components/Tile/Tile.example.json +1 -0
  784. package/src/components/Tile/Tile.fixture.tsx +2 -1
  785. package/src/components/Tile/Tile.tsx +4 -2
  786. package/src/components/Tile/TileContent.ts +5 -0
  787. package/src/content-page-repository/mapJSON.ts +11 -7
  788. package/src/content-page-repository/transformMarkdown.ts +3 -1
  789. package/src/content-page-repository/transformPicture.ts +8 -3
  790. package/src/hooks/useCreditCalculatorData.ts +2 -3
  791. package/src/hooks/useExchangeRates.ts +70 -10
  792. package/src/hooks/useTableArrowScrollControl.ts +3 -3
  793. package/src/react/IntersectionObserverTag.tsx +23 -0
  794. package/src/{setup-fixture.ts → react/setup-fixture.ts} +5 -2
  795. package/src/services/sitemap/isHrefActive.ts +2 -1
  796. package/src/ui-kit/Button/ArrowButton.tsx +1 -1
  797. package/src/ui-kit/Button/Button.fixture.mobile.tsx +1 -1
  798. package/src/ui-kit/Button/Button.fixture.tsx +1 -1
  799. package/src/ui-kit/Button/ButtonSection.tsx +3 -1
  800. package/src/ui-kit/Button/renderArrows.tsx +41 -0
  801. package/src/ui-kit/HeaderItem/HeaderItem.fixture.tsx +1 -1
  802. package/src/ui-kit/Icon/Icon.fixture.tsx +2 -2
  803. package/src/ui-kit/Img/Img.mobile.tsx +1 -0
  804. package/src/ui-kit/Input/Input.tsx +21 -5
  805. package/src/ui-kit/Input/InputProps.ts +3 -0
  806. package/src/ui-kit/InputRange/InputRange.tsx +14 -6
  807. package/src/ui-kit/List/List.fixture.tsx +1 -1
  808. package/src/ui-kit/Logo/Logo.fixture.tsx +1 -1
  809. package/src/ui-kit/SVG.tsx +2 -2
  810. package/src/ui-kit/SearchBar.mobile.tsx +1 -3
  811. package/src/ui-kit/Select/Select.tsx +17 -7
  812. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +1 -1
  813. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +9 -4
  814. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +3 -1
  815. package/src/ui-kit/SwipeListControl/utils/getIndexParts.ts +6 -2
  816. package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +9 -18
  817. package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +6 -4
  818. package/src/ui-kit/Tabs/Tabs.tsx +4 -3
  819. package/src/ui-kit/TopItem/TopItem.fixture.tsx +1 -1
  820. package/src/ui-kit/TopItem/TopItem.tsx +8 -9
  821. package/src/utils/changeHashOnScroll.ts +3 -1
  822. package/src/utils/getCurrentDate.ts +1 -1
  823. package/src/utils/roundTo.ts +4 -0
  824. package/dist/components/CreditCalculator/CreditCalculator.d.ts +0 -5
  825. package/dist/components/CreditCalculator/CreditCalculator.js +0 -14
  826. package/dist/components/CreditCalculator/CreditCalculator.js.map +0 -1
  827. package/dist/components/CreditCalculator/CreditCalculatorContent.d.ts +0 -30
  828. package/dist/components/CreditCalculator/CreditCalculatorContent.js +0 -2
  829. package/dist/components/CreditCalculator/CreditCalculatorContent.js.map +0 -1
  830. package/dist/components/CreditCalculator/CreditCalculatorForm.d.ts +0 -5
  831. package/dist/components/CreditCalculator/CreditCalculatorForm.js +0 -53
  832. package/dist/components/CreditCalculator/CreditCalculatorForm.js.map +0 -1
  833. package/dist/components/CreditCalculator/constants.d.ts +0 -7
  834. package/dist/components/CreditCalculator/constants.js +0 -10
  835. package/dist/components/CreditCalculator/constants.js.map +0 -1
  836. package/dist/components/CreditCalculator/defaultTabs.d.ts +0 -2
  837. package/dist/components/CreditCalculator/defaultTabs.js +0 -23
  838. package/dist/components/CreditCalculator/defaultTabs.js.map +0 -1
  839. package/dist/components/CreditCalculator/getCalculatorParams.d.ts +0 -7
  840. package/dist/components/CreditCalculator/getCalculatorParams.js +0 -11
  841. package/dist/components/CreditCalculator/getCalculatorParams.js.map +0 -1
  842. package/dist/components/CreditCalculator/getCreditRate.d.ts +0 -7
  843. package/dist/components/CreditCalculator/getCreditRate.js +0 -13
  844. package/dist/components/CreditCalculator/getCreditRate.js.map +0 -1
  845. package/dist/components/CreditCalculator/getCreditTermYears.d.ts +0 -1
  846. package/dist/components/CreditCalculator/getCreditTermYears.js +0 -15
  847. package/dist/components/CreditCalculator/getCreditTermYears.js.map +0 -1
  848. package/dist/components/CreditCalculator/getDefaultMonths.d.ts +0 -2
  849. package/dist/components/CreditCalculator/getDefaultMonths.js +0 -8
  850. package/dist/components/CreditCalculator/getDefaultMonths.js.map +0 -1
  851. package/dist/components/CreditCalculator/getDefaultSum.d.ts +0 -2
  852. package/dist/components/CreditCalculator/getDefaultSum.js +0 -8
  853. package/dist/components/CreditCalculator/getDefaultSum.js.map +0 -1
  854. package/dist/components/CreditCalculator/getMonthlyPayment.d.ts +0 -11
  855. package/dist/components/CreditCalculator/getMonthlyPayment.js +0 -19
  856. package/dist/components/CreditCalculator/getMonthlyPayment.js.map +0 -1
  857. package/dist/components/CreditCalculator/renderButton.d.ts +0 -1
  858. package/dist/components/CreditCalculator/renderButton.js +0 -15
  859. package/dist/components/CreditCalculator/renderButton.js.map +0 -1
  860. package/dist/components/CreditCalculator/renderMonthsInput.d.ts +0 -10
  861. package/dist/components/CreditCalculator/renderMonthsInput.js +0 -11
  862. package/dist/components/CreditCalculator/renderMonthsInput.js.map +0 -1
  863. package/dist/components/CreditCalculator/renderProposal.d.ts +0 -1
  864. package/dist/components/CreditCalculator/renderProposal.js +0 -9
  865. package/dist/components/CreditCalculator/renderProposal.js.map +0 -1
  866. package/dist/components/CreditCalculator/renderTermsButton.d.ts +0 -1
  867. package/dist/components/CreditCalculator/renderTermsButton.js +0 -9
  868. package/dist/components/CreditCalculator/renderTermsButton.js.map +0 -1
  869. package/dist/components/CreditCalculator/renderWantedSumInput.d.ts +0 -10
  870. package/dist/components/CreditCalculator/renderWantedSumInput.js +0 -18
  871. package/dist/components/CreditCalculator/renderWantedSumInput.js.map +0 -1
  872. package/dist/components/Header/HeaderSubMenuObserver.d.ts +0 -1
  873. package/dist/components/Header/HeaderSubMenuObserver.js +0 -36
  874. package/dist/components/Header/HeaderSubMenuObserver.js.map +0 -1
  875. package/dist/setup-fixture.js.map +0 -1
  876. package/lib/components/CreditCalculator/CreditCalculator.d.ts +0 -5
  877. package/lib/components/CreditCalculator/CreditCalculator.fixture.d.ts +0 -4
  878. package/lib/components/CreditCalculator/CreditCalculator.js +0 -12
  879. package/lib/components/CreditCalculator/CreditCalculator.js.map +0 -1
  880. package/lib/components/CreditCalculator/CreditCalculatorContent.d.ts +0 -30
  881. package/lib/components/CreditCalculator/CreditCalculatorContent.js +0 -2
  882. package/lib/components/CreditCalculator/CreditCalculatorContent.js.map +0 -1
  883. package/lib/components/CreditCalculator/CreditCalculatorForm.d.ts +0 -5
  884. package/lib/components/CreditCalculator/CreditCalculatorForm.js +0 -51
  885. package/lib/components/CreditCalculator/CreditCalculatorForm.js.map +0 -1
  886. package/lib/components/CreditCalculator/constants.d.ts +0 -7
  887. package/lib/components/CreditCalculator/constants.js +0 -8
  888. package/lib/components/CreditCalculator/constants.js.map +0 -1
  889. package/lib/components/CreditCalculator/defaultTabs.d.ts +0 -2
  890. package/lib/components/CreditCalculator/defaultTabs.js +0 -21
  891. package/lib/components/CreditCalculator/defaultTabs.js.map +0 -1
  892. package/lib/components/CreditCalculator/getCalculatorParams.d.ts +0 -7
  893. package/lib/components/CreditCalculator/getCalculatorParams.js +0 -8
  894. package/lib/components/CreditCalculator/getCalculatorParams.js.map +0 -1
  895. package/lib/components/CreditCalculator/getCreditRate.d.ts +0 -7
  896. package/lib/components/CreditCalculator/getCreditRate.js +0 -10
  897. package/lib/components/CreditCalculator/getCreditRate.js.map +0 -1
  898. package/lib/components/CreditCalculator/getCreditTermYears.d.ts +0 -1
  899. package/lib/components/CreditCalculator/getCreditTermYears.js +0 -12
  900. package/lib/components/CreditCalculator/getCreditTermYears.js.map +0 -1
  901. package/lib/components/CreditCalculator/getDefaultMonths.d.ts +0 -2
  902. package/lib/components/CreditCalculator/getDefaultMonths.js +0 -5
  903. package/lib/components/CreditCalculator/getDefaultMonths.js.map +0 -1
  904. package/lib/components/CreditCalculator/getDefaultSum.d.ts +0 -2
  905. package/lib/components/CreditCalculator/getDefaultSum.js +0 -5
  906. package/lib/components/CreditCalculator/getDefaultSum.js.map +0 -1
  907. package/lib/components/CreditCalculator/getMonthlyPayment.d.ts +0 -11
  908. package/lib/components/CreditCalculator/getMonthlyPayment.js +0 -16
  909. package/lib/components/CreditCalculator/getMonthlyPayment.js.map +0 -1
  910. package/lib/components/CreditCalculator/renderButton.d.ts +0 -1
  911. package/lib/components/CreditCalculator/renderButton.js +0 -12
  912. package/lib/components/CreditCalculator/renderButton.js.map +0 -1
  913. package/lib/components/CreditCalculator/renderMonthsInput.d.ts +0 -10
  914. package/lib/components/CreditCalculator/renderMonthsInput.js +0 -8
  915. package/lib/components/CreditCalculator/renderMonthsInput.js.map +0 -1
  916. package/lib/components/CreditCalculator/renderProposal.d.ts +0 -1
  917. package/lib/components/CreditCalculator/renderProposal.js +0 -6
  918. package/lib/components/CreditCalculator/renderProposal.js.map +0 -1
  919. package/lib/components/CreditCalculator/renderTermsButton.d.ts +0 -1
  920. package/lib/components/CreditCalculator/renderTermsButton.js +0 -6
  921. package/lib/components/CreditCalculator/renderTermsButton.js.map +0 -1
  922. package/lib/components/CreditCalculator/renderWantedSumInput.d.ts +0 -10
  923. package/lib/components/CreditCalculator/renderWantedSumInput.js +0 -15
  924. package/lib/components/CreditCalculator/renderWantedSumInput.js.map +0 -1
  925. package/lib/components/Header/HeaderSubMenuObserver.d.ts +0 -1
  926. package/lib/components/Header/HeaderSubMenuObserver.js +0 -34
  927. package/lib/components/Header/HeaderSubMenuObserver.js.map +0 -1
  928. package/lib/setup-fixture.js.map +0 -1
  929. package/mobile/dist/components/CreditCalculator/CreditCalculator.d.ts +0 -5
  930. package/mobile/dist/components/CreditCalculator/CreditCalculator.js +0 -14
  931. package/mobile/dist/components/CreditCalculator/CreditCalculator.js.map +0 -1
  932. package/mobile/dist/components/CreditCalculator/CreditCalculatorContent.d.ts +0 -30
  933. package/mobile/dist/components/CreditCalculator/CreditCalculatorContent.js +0 -2
  934. package/mobile/dist/components/CreditCalculator/CreditCalculatorContent.js.map +0 -1
  935. package/mobile/dist/components/CreditCalculator/CreditCalculatorForm.d.ts +0 -5
  936. package/mobile/dist/components/CreditCalculator/CreditCalculatorForm.js +0 -53
  937. package/mobile/dist/components/CreditCalculator/CreditCalculatorForm.js.map +0 -1
  938. package/mobile/dist/components/CreditCalculator/constants.d.ts +0 -7
  939. package/mobile/dist/components/CreditCalculator/constants.js +0 -10
  940. package/mobile/dist/components/CreditCalculator/constants.js.map +0 -1
  941. package/mobile/dist/components/CreditCalculator/defaultTabs.d.ts +0 -2
  942. package/mobile/dist/components/CreditCalculator/defaultTabs.js +0 -23
  943. package/mobile/dist/components/CreditCalculator/defaultTabs.js.map +0 -1
  944. package/mobile/dist/components/CreditCalculator/getCalculatorParams.d.ts +0 -7
  945. package/mobile/dist/components/CreditCalculator/getCalculatorParams.js +0 -11
  946. package/mobile/dist/components/CreditCalculator/getCalculatorParams.js.map +0 -1
  947. package/mobile/dist/components/CreditCalculator/getCreditRate.d.ts +0 -7
  948. package/mobile/dist/components/CreditCalculator/getCreditRate.js +0 -13
  949. package/mobile/dist/components/CreditCalculator/getCreditRate.js.map +0 -1
  950. package/mobile/dist/components/CreditCalculator/getCreditTermYears.d.ts +0 -1
  951. package/mobile/dist/components/CreditCalculator/getCreditTermYears.js +0 -15
  952. package/mobile/dist/components/CreditCalculator/getCreditTermYears.js.map +0 -1
  953. package/mobile/dist/components/CreditCalculator/getDefaultMonths.d.ts +0 -2
  954. package/mobile/dist/components/CreditCalculator/getDefaultMonths.js +0 -8
  955. package/mobile/dist/components/CreditCalculator/getDefaultMonths.js.map +0 -1
  956. package/mobile/dist/components/CreditCalculator/getDefaultSum.d.ts +0 -2
  957. package/mobile/dist/components/CreditCalculator/getDefaultSum.js +0 -8
  958. package/mobile/dist/components/CreditCalculator/getDefaultSum.js.map +0 -1
  959. package/mobile/dist/components/CreditCalculator/getMonthlyPayment.d.ts +0 -11
  960. package/mobile/dist/components/CreditCalculator/getMonthlyPayment.js +0 -19
  961. package/mobile/dist/components/CreditCalculator/getMonthlyPayment.js.map +0 -1
  962. package/mobile/dist/components/CreditCalculator/renderButton.d.ts +0 -1
  963. package/mobile/dist/components/CreditCalculator/renderButton.js +0 -15
  964. package/mobile/dist/components/CreditCalculator/renderButton.js.map +0 -1
  965. package/mobile/dist/components/CreditCalculator/renderMonthsInput.d.ts +0 -10
  966. package/mobile/dist/components/CreditCalculator/renderMonthsInput.js +0 -11
  967. package/mobile/dist/components/CreditCalculator/renderMonthsInput.js.map +0 -1
  968. package/mobile/dist/components/CreditCalculator/renderProposal.d.ts +0 -1
  969. package/mobile/dist/components/CreditCalculator/renderProposal.js +0 -9
  970. package/mobile/dist/components/CreditCalculator/renderProposal.js.map +0 -1
  971. package/mobile/dist/components/CreditCalculator/renderTermsButton.d.ts +0 -1
  972. package/mobile/dist/components/CreditCalculator/renderTermsButton.js +0 -9
  973. package/mobile/dist/components/CreditCalculator/renderTermsButton.js.map +0 -1
  974. package/mobile/dist/components/CreditCalculator/renderWantedSumInput.d.ts +0 -10
  975. package/mobile/dist/components/CreditCalculator/renderWantedSumInput.js +0 -18
  976. package/mobile/dist/components/CreditCalculator/renderWantedSumInput.js.map +0 -1
  977. package/mobile/dist/components/Header/HeaderSubMenuObserver.d.ts +0 -1
  978. package/mobile/dist/components/Header/HeaderSubMenuObserver.js +0 -36
  979. package/mobile/dist/components/Header/HeaderSubMenuObserver.js.map +0 -1
  980. package/mobile/dist/setup-fixture.js.map +0 -1
  981. package/mobile/lib/components/CreditCalculator/CreditCalculator.d.ts +0 -5
  982. package/mobile/lib/components/CreditCalculator/CreditCalculator.js +0 -12
  983. package/mobile/lib/components/CreditCalculator/CreditCalculator.js.map +0 -1
  984. package/mobile/lib/components/CreditCalculator/CreditCalculatorContent.d.ts +0 -30
  985. package/mobile/lib/components/CreditCalculator/CreditCalculatorContent.js +0 -2
  986. package/mobile/lib/components/CreditCalculator/CreditCalculatorContent.js.map +0 -1
  987. package/mobile/lib/components/CreditCalculator/CreditCalculatorForm.d.ts +0 -5
  988. package/mobile/lib/components/CreditCalculator/CreditCalculatorForm.js +0 -51
  989. package/mobile/lib/components/CreditCalculator/CreditCalculatorForm.js.map +0 -1
  990. package/mobile/lib/components/CreditCalculator/constants.d.ts +0 -7
  991. package/mobile/lib/components/CreditCalculator/constants.js +0 -8
  992. package/mobile/lib/components/CreditCalculator/constants.js.map +0 -1
  993. package/mobile/lib/components/CreditCalculator/defaultTabs.d.ts +0 -2
  994. package/mobile/lib/components/CreditCalculator/defaultTabs.js +0 -21
  995. package/mobile/lib/components/CreditCalculator/defaultTabs.js.map +0 -1
  996. package/mobile/lib/components/CreditCalculator/getCalculatorParams.d.ts +0 -7
  997. package/mobile/lib/components/CreditCalculator/getCalculatorParams.js +0 -8
  998. package/mobile/lib/components/CreditCalculator/getCalculatorParams.js.map +0 -1
  999. package/mobile/lib/components/CreditCalculator/getCreditRate.d.ts +0 -7
  1000. package/mobile/lib/components/CreditCalculator/getCreditRate.js +0 -10
  1001. package/mobile/lib/components/CreditCalculator/getCreditRate.js.map +0 -1
  1002. package/mobile/lib/components/CreditCalculator/getCreditTermYears.d.ts +0 -1
  1003. package/mobile/lib/components/CreditCalculator/getCreditTermYears.js +0 -12
  1004. package/mobile/lib/components/CreditCalculator/getCreditTermYears.js.map +0 -1
  1005. package/mobile/lib/components/CreditCalculator/getDefaultMonths.d.ts +0 -2
  1006. package/mobile/lib/components/CreditCalculator/getDefaultMonths.js +0 -5
  1007. package/mobile/lib/components/CreditCalculator/getDefaultMonths.js.map +0 -1
  1008. package/mobile/lib/components/CreditCalculator/getDefaultSum.d.ts +0 -2
  1009. package/mobile/lib/components/CreditCalculator/getDefaultSum.js +0 -5
  1010. package/mobile/lib/components/CreditCalculator/getDefaultSum.js.map +0 -1
  1011. package/mobile/lib/components/CreditCalculator/getMonthlyPayment.d.ts +0 -11
  1012. package/mobile/lib/components/CreditCalculator/getMonthlyPayment.js +0 -16
  1013. package/mobile/lib/components/CreditCalculator/getMonthlyPayment.js.map +0 -1
  1014. package/mobile/lib/components/CreditCalculator/renderButton.d.ts +0 -1
  1015. package/mobile/lib/components/CreditCalculator/renderButton.js +0 -12
  1016. package/mobile/lib/components/CreditCalculator/renderButton.js.map +0 -1
  1017. package/mobile/lib/components/CreditCalculator/renderMonthsInput.d.ts +0 -10
  1018. package/mobile/lib/components/CreditCalculator/renderMonthsInput.js +0 -8
  1019. package/mobile/lib/components/CreditCalculator/renderMonthsInput.js.map +0 -1
  1020. package/mobile/lib/components/CreditCalculator/renderProposal.d.ts +0 -1
  1021. package/mobile/lib/components/CreditCalculator/renderProposal.js +0 -6
  1022. package/mobile/lib/components/CreditCalculator/renderProposal.js.map +0 -1
  1023. package/mobile/lib/components/CreditCalculator/renderTermsButton.d.ts +0 -1
  1024. package/mobile/lib/components/CreditCalculator/renderTermsButton.js +0 -6
  1025. package/mobile/lib/components/CreditCalculator/renderTermsButton.js.map +0 -1
  1026. package/mobile/lib/components/CreditCalculator/renderWantedSumInput.d.ts +0 -10
  1027. package/mobile/lib/components/CreditCalculator/renderWantedSumInput.js +0 -15
  1028. package/mobile/lib/components/CreditCalculator/renderWantedSumInput.js.map +0 -1
  1029. package/mobile/lib/components/Header/HeaderSubMenuObserver.d.ts +0 -1
  1030. package/mobile/lib/components/Header/HeaderSubMenuObserver.js +0 -34
  1031. package/mobile/lib/components/Header/HeaderSubMenuObserver.js.map +0 -1
  1032. package/mobile/lib/setup-fixture.js.map +0 -1
  1033. package/mobile/src/components/CreditCalculator/CreditCalculator.example.json +0 -25
  1034. package/mobile/src/components/CreditCalculator/CreditCalculator.tsx +0 -31
  1035. package/mobile/src/components/CreditCalculator/CreditCalculatorContent.ts +0 -34
  1036. package/mobile/src/components/CreditCalculator/CreditCalculatorForm.tsx +0 -92
  1037. package/mobile/src/components/CreditCalculator/constants.ts +0 -8
  1038. package/mobile/src/components/CreditCalculator/defaultTabs.ts +0 -22
  1039. package/mobile/src/components/CreditCalculator/getCalculatorParams.ts +0 -16
  1040. package/mobile/src/components/CreditCalculator/getCreditRate.ts +0 -18
  1041. package/mobile/src/components/CreditCalculator/getCreditTermYears.spec.ts +0 -10
  1042. package/mobile/src/components/CreditCalculator/getCreditTermYears.ts +0 -15
  1043. package/mobile/src/components/CreditCalculator/getDefaultMonths.ts +0 -7
  1044. package/mobile/src/components/CreditCalculator/getDefaultSum.ts +0 -7
  1045. package/mobile/src/components/CreditCalculator/getMonthlyPayment.ts +0 -32
  1046. package/mobile/src/components/CreditCalculator/renderButton.tsx +0 -23
  1047. package/mobile/src/components/CreditCalculator/renderMonthsInput.tsx +0 -29
  1048. package/mobile/src/components/CreditCalculator/renderProposal.tsx +0 -13
  1049. package/mobile/src/components/CreditCalculator/renderTermsButton.tsx +0 -16
  1050. package/mobile/src/components/CreditCalculator/renderWantedSumInput.tsx +0 -36
  1051. package/mobile/src/components/Header/HeaderSubMenuObserver.ts +0 -48
  1052. package/src/components/CreditCalculator/CreditCalculator.example.json +0 -25
  1053. package/src/components/CreditCalculator/CreditCalculator.fixture.tsx +0 -32
  1054. package/src/components/CreditCalculator/CreditCalculator.tsx +0 -31
  1055. package/src/components/CreditCalculator/CreditCalculatorContent.ts +0 -34
  1056. package/src/components/CreditCalculator/CreditCalculatorForm.tsx +0 -92
  1057. package/src/components/CreditCalculator/constants.ts +0 -8
  1058. package/src/components/CreditCalculator/defaultTabs.ts +0 -22
  1059. package/src/components/CreditCalculator/getCalculatorParams.ts +0 -16
  1060. package/src/components/CreditCalculator/getCreditRate.ts +0 -18
  1061. package/src/components/CreditCalculator/getCreditTermYears.spec.ts +0 -10
  1062. package/src/components/CreditCalculator/getCreditTermYears.ts +0 -15
  1063. package/src/components/CreditCalculator/getDefaultMonths.ts +0 -7
  1064. package/src/components/CreditCalculator/getDefaultSum.ts +0 -7
  1065. package/src/components/CreditCalculator/getMonthlyPayment.ts +0 -32
  1066. package/src/components/CreditCalculator/renderButton.tsx +0 -23
  1067. package/src/components/CreditCalculator/renderMonthsInput.tsx +0 -29
  1068. package/src/components/CreditCalculator/renderProposal.tsx +0 -13
  1069. package/src/components/CreditCalculator/renderTermsButton.tsx +0 -16
  1070. package/src/components/CreditCalculator/renderWantedSumInput.tsx +0 -36
  1071. package/src/components/Header/HeaderSubMenuObserver.ts +0 -48
@@ -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";const t=(e,n)=>{t._jsx=e,t._jsxs=n||e};t.vue=e=>{t(((t,{children:n,dangerouslySetInnerHTML:r,...l}={})=>{const a=Object.assign({},l,r?{innerHTML:r.__html}:{});return e(t,a,"string"!=typeof t?()=>n:n)}))};const n=(...e)=>t._jsx(...e),r=(...e)=>t._jsxs(...e),l=e=>(e._tmpl||(e._tmpl=function(t,n){const{children:r,...l}=t||{},a=n?.slots?.default,i=r||a&&a();return e(Object.assign(l,i&&{children:i}),n)},e._tmpl.inheritAttrs=!1),e._tmpl);const a="likesToken";const i={h1:"text-m-title",h2:"text-m-title",h3:"text-m-title-md",h4:"text-m-title-xs",h5:"text-m-title-xs",h6:"text-m-title-xs"},o=l((e=>{const{className:t,headingType:r,title:l,as:a}=e;if(!r)return;return n(a||r,{className:`font-sans font-medium m-0 ${i[r]} ${t||""}`,children:l})}));var c,s;!function(e){e.ActualBalanceIcon="ActualBalanceIcon",e.AirPlane="AirPlane",e.AppleIcon="AppleIcon",e.ArrowDownIcon="ArrowDownIcon",e.ArrowLeftIcon="ArrowLeftIcon",e.ArrowUpIcon="ArrowUpIcon",e.AtmIcon="AtmIcon",e.BankIcon="BankIcon",e.BurgerIcon="BurgerIcon",e.Calendar2Icon="Calendar2Icon",e.CalendarCircleIcon="CalendarCircleIcon",e.CalendarIcon="CalendarIcon",e.CalendarTickIcon="CalendarTickIcon",e.CardIcon="CardIcon",e.CardPosIcon="CardPosIcon",e.CardTickIcon="CardTickIcon",e.CardWithGemIcon="CardWithGemIcon",e.CarIcon="CarIcon",e.ChartSquareIcon="ChartSquareIcon",e.CinemaIcon="CinemaIcon",e.ClockIcon="ClockIcon",e.CloseIcon="CloseIcon",e.ComfortableCompIcon="ComfortableCompIcon",e.CreditCardsIcon="CreditCardsIcon",e.DiscountShapeIcon="DiscountShapeIcon",e.DocIcon="DocIcon",e.DocIconMonoColor="DocIconMonoColor",e.DocsIcon="DocsIcon",e.DocumentTextIcon="DocumentTextIcon",e.DollarIcon="DollarIcon",e.DoneIcon="DoneIcon",e.EarthIcon="EarthIcon",e.EmptyWalletChangeIcon="EmptyWalletChangeIcon",e.EmptyWalletIcon="EmptyWalletIcon",e.EuroIcon="EuroIcon",e.GeolocationIcon="GeolocationIcon",e.GlassIcon="GlassIcon",e.GlobalIcon="GlobalIcon",e.GpsIcon="GpsIcon",e.GridIcon="GridIcon",e.InterestGrowthIcon="InterestGrowthIcon",e.InterestIcon="InterestIcon",e.JCBIcon="JCBIcon",e.LoupeIcon="LoupeIcon",e.MasterCardIcon="MasterCardIcon",e.MinusIcon="MinusIcon",e.MirIcon="MirIcon",e.MoneyIcon="MoneyIcon",e.MoneyInsuranceIcon="MoneyInsuranceIcon",e.MonitorMobileIcon="MonitorMobileIcon",e.NewDocIcon="NewDocIcon",e.OfficeIcon="OfficeIcon",e.OkIcon="OkIcon",e.PassSendIcon="PassSendIcon",e.PercentageRoundIcon="PercentageRoundIcon",e.PercentageSquareIcon="PercentageSquareIcon",e.PersonalCardIcon="PersonalCardIcon",e.PlayMarketIcon="PlayMarketIcon",e.PlusIcon="PlusIcon",e.PowerIcon="PowerIcon",e.Profile2UserIcon="Profile2UserIcon",e.ProfileIcon="ProfileIcon",e.PumpkinIcon="PumpkinIcon",e.RoundRubleIcon="RoundRubleIcon",e.SafeIcon="SafeIcon",e.ShieldTickIcon="ShieldTickIcon",e.SignDocsIcon="SignDocsIcon",e.SmallClockIcon="SmallClockIcon",e.SoundIcon="SoundIcon",e.TelegramIcon="TelegramIcon",e.UnionPayIcon="UnionPayIcon",e.UserTickIcon="UserTickIcon",e.VisaIcon="VisaIcon",e.VKIcon="VKIcon",e.WalletAdd2Icon="WalletAdd2Icon",e.WalletAddIcon="WalletAddIcon",e.WalletIcon="WalletIcon",e.WalletWithMoneyIcon="WalletWithMoneyIcon",e.WateringCan="WateringCan"}(c||(c={})),function(e){e.ActualBalanceIcon="Деньги",e.AirPlane="Самолет",e.AppleIcon="Лого «Apple»",e.ArrowDownIcon="Стрелка 'Вниз'",e.ArrowLeftIcon="Стрелка",e.ArrowUpIcon="Стрелка вверх",e.AtmIcon="Банкомат",e.BankIcon="Банк",e.BurgerIcon="Бургер",e.Calendar2Icon="Календарь 2",e.CalendarCircleIcon="Скруглённый календарь",e.CalendarIcon="Календарь",e.CalendarTickIcon="Календарь с галочкой",e.CardIcon="Кред. карта",e.CardPosIcon="Кред. карта под наклоном",e.CardTickIcon="Кред. карта с галочкой",e.CardWithGemIcon="Карта с драгоценностями",e.CarIcon="Машина",e.ChartSquareIcon="Деньги внутри кошелька",e.CinemaIcon="Кино",e.ClockIcon="Часы",e.CloseIcon="Крестик",e.ComfortableCompIcon="Кресло",e.CreditCardsIcon="Кредитные карты",e.DiscountShapeIcon="Скидка",e.DocIcon="Документ",e.DocIconMonoColor="Документ (одноцветный)",e.DocsIcon="Документы",e.DocumentTextIcon="Документ с текстом",e.DollarIcon="Доллар",e.DoneIcon="Зелёная 'галочка'",e.EarthIcon="Земля",e.EmptyWalletChangeIcon="Пустой кошелёк с возвратом",e.EmptyWalletIcon="Пустой кошелёк",e.EuroIcon="Евро",e.GeolocationIcon="Геолокация",e.GlassIcon="Зеркало",e.GlobalIcon="Глобус",e.GpsIcon="Gps",e.GridIcon="Сетка (белая)",e.InterestGrowthIcon="Диаграмма роста",e.InterestIcon="Скидка",e.JCBIcon="JCB",e.LoupeIcon="Лупа",e.MasterCardIcon="MasterCard",e.MinusIcon="Минус",e.MirIcon="МИР",e.MoneyIcon="Деньги",e.MoneyInsuranceIcon="Денежное страхование",e.MonitorMobileIcon="Монитор и мобильный",e.NewDocIcon="Новый документ",e.OfficeIcon="Офис",e.OkIcon="Лого «Одноклассники»",e.PassSendIcon="Бизнес",e.PercentageRoundIcon="Проценты (круг.)",e.PercentageSquareIcon="Проценты",e.PersonalCardIcon="Персональная карта",e.PlayMarketIcon="Лого «PlayMarket»",e.PlusIcon="Плюс",e.PowerIcon="Щит",e.Profile2UserIcon="Профиль, 2 персоны",e.ProfileIcon="Профиль",e.PumpkinIcon="Тыква",e.RoundRubleIcon="Рубль (круг.)",e.SafeIcon="Сейф",e.ShieldTickIcon="Безопасность",e.SignDocsIcon="Подписанные документы",e.SmallClockIcon="Маленькие часы",e.SoundIcon="Звук",e.TelegramIcon="Лого «Telegram»",e.UnionPayIcon="UnionPay",e.UserTickIcon="Пользователь",e.VisaIcon="Visa",e.VKIcon="Лого «VK»",e.WalletAdd2Icon="Пополнение карты",e.WalletAddIcon="Кошелёк с плюсом",e.WalletIcon="Кошелёк",e.WalletWithMoneyIcon="Кошелёк с деньгами",e.WateringCan="Добавить продукт"}(s||(s={}));const d=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 ENABLE_ASSIST(){return this._.ENABLE_ASSIST}get SITEMAP(){return this._.SITEMAP}get CDN(){return this._.CDN}},m={normal:"text-primary-main",black:"text-black",white:"text-black invert"},h=l((({className:e="",imageClassName:t="",name:l="",alt:a=`Иконка ${s[l]||l}`,title:i=a,iconVersion:o="normal",asSVG:c,...h})=>{const u=`${d.CDN||""}icons/${l}.svg`;return c?r("svg",{className:e,...h,"aria-hidden":"true",children:[i?n("title",{children:i}):null,a?n("desc",{children:a}):null,n("use",{className:`${m[o]} ${t}`,href:`${u}#icon`,xlinkHref:`${u}#icon`})]}):n("img",{className:e,src:u,alt:a,title:i,...h,"aria-hidden":"true"})}));function u(e){return"string"==typeof e?"normal":e.iconVersion||"normal"}const p=l((({className:e="",image:t,imageClassName:r="",...l})=>{const a="string"==typeof t?t:t?.icon;return a||""===a?n(h,{className:e,iconVersion:u(t),name:a,...l}):n(x,{className:e,imageClassName:r,image:t})})),x=l((({className:e="",image:t,imageClassName:l=""})=>t?r("picture",{className:e,children:[t?.sources?.length?t.sources.map((({src:e,format:t},r)=>n("source",{srcSet:e,type:b(t)},`${r}_${e}`))):null,g(t,l)]}):null)),g=(e,t="")=>{const r={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"100%"},l=e.title||"",a=e.alt||e.title;return n("img",{src:e.src,className:`m-auto ${t}`,alt:a,title:l,style:r,...e.size})};function b(e){return e?`image/${String(e)}`:void 0}const f={left:"text-left",center:"text-center",right:"text-right"},y={transparent:{background:"bg-transparent",text:"text-primary-text",description:"text-primary-text"},primary:{background:"bg-white",text:"text-primary-text",description:"text-primary-text"},secondary:{background:"bg-primary-main",text:"text-white",description:"text-white/80"}},N=l((({bgColorHeadline:e="transparent",className:t="",title:l,description:a,image:i,align:c="left"})=>{const s=y[e];return r("section",{className:`px-4 py-6 ${s.background} ${t}`,children:[l?n(o,{headingType:"h2",className:`${s.text} ${f[c]}`,title:l}):null,a?n("p",{className:`font-normal text-m-md ${s.description} ${f[c]} ${l?"mt-2.5":""}`,children:a}):null,i?.src&&n("div",{className:"mt-5 mx-auto flex justify-center",children:n(p,{image:i})})]})})),v=l((({children:e,activeIndex:t,indexFraction:r,showDots:l})=>{const a=e=>n=>{if(e===t)return;const r=n.currentTarget.parentElement?.previousElementSibling;r?.children[e]?.scrollIntoView({behavior:"smooth",block:"nearest"})};return l&&e?.length?n("div",{className:"flex gap-2 mx-auto mt-5 w-fit",children:e?.map(((e,l)=>n("div",{onClick:a(l),className:"bg-primary-main opacity-30 w-1.5 h-1.5 min-w-1.5 min-h-1.5 rounded-full",style:w(l,t,r),"aria-hidden":!0},String(l))))}):null})),w=(e,t,n)=>{if(e<t||e>t+1)return null;const r=1-n;return e===t?{opacity:""+(.3+.7*r),width:6+16*r+"px"}:{opacity:""+(.3+.7*n),width:6+16*n+"px"}},I=l((({className:e="",children:t,...r})=>n("div",{className:`snap-center snap-always min-w-full box-border ${e}`,role:"listitem",...r,children:t}))),k=e=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e}px`}),C=l((({className:e="",children:t,activeIndex:r,onScroll:l,gap:a=14,padding:i=16})=>n("div",{className:`overflow-auto flex horizontal-list no-scrollbar ${e}`,style:{...k(i),gap:`${a}px`},role:"list",onScroll:l,children:t?.length?t?.map(((e,t)=>n(I,{style:k(i/4),"aria-current":Boolean(r===t),children:e},String(t)))):n(I,{children:t})}))),$=l((({className:e,context:t,children:l,gap:a=14,padding:i=16,showDots:o=!0,onSlideChange:c})=>{const[s,d]=t.useState(0),[m,h]=t.useState(0),u={activeIndex:s,indexFraction:m,showDots:o,children:l};return r("div",{className:e,children:[n(C,{gap:a,padding:i,activeIndex:s,onScroll:e=>{const{scrollLeft:t,clientWidth:n,childElementCount:r,scrollWidth:l,children:o}=e.currentTarget,m=o[0].offsetWidth-i/2,u=(({gap:e,padding:t,clientWidth:n,scrollWidth:r,childElementCount:l,itemWidth:a})=>{const i=r-n;if(2===l)return[[0,i],[i,r]];const o=a+e,c=n-e-t,s=l-2,d=new Array(l).fill(0).map(((e,t)=>0===t||t===s?[t>0?i-c:0,t>0?i:c]:[(t-1)*o+c,t*o+c]));return d[l-1]=[i,r],d})({gap:a,padding:i,clientWidth:n,scrollWidth:l,childElementCount:r,itemWidth:m}),{index:p,fraction:x}=((e,t)=>{const n=t.findIndex((([t,n])=>t<=e&&e<n));if(n<0)return{index:n,fraction:0};const[r,l]=t[n];return{index:n,fraction:(e-r)/(l-r)}})(t,u);p!==s&&c&&c(),d(p),h(x)},children:l}),n(v,{...u})]})})),S=l((({className:e,iconClassName:t,textClassName:l,suffixClassName:a,doc:i,icon:o})=>{const{text:c,fileSize:s,...d}=i;return r("a",{className:e,role:"link",...d,children:[o?n(p,{className:t,image:o,width:"24px",height:"24px",asSVG:!0}):null,c?r("span",{className:l,children:[c,n("span",{className:a,children:d?.href&&T(D(d.href),s)})]}):null]})})),T=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),D=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},R=l((({className:e="",doc:t,icon:r})=>n(S,{className:`flex h-full box-border ${e}`,iconClassName:"mr-3 min-w-6 min-h-6",doc:t,icon:r}))),A=l((({context:e,hasBorder:t=!0,documents:r,icon:l})=>n($,{context:e,className:"text-m-sm text-primary-main",children:r?.length?r.map(((e,r)=>n(R,{className:t?"rounded-md border-main-stroke border border-solid p-4":"",doc:e,icon:l},String(r)))):null}))),P=l((({hasBorder:e=!0,documents:t,icon:r})=>n("div",{className:"text-m-sm text-primary-main flex flex-col "+(e?"gap-3.5":"gap-2"),role:"list",children:t?.length?t.map(((t,l)=>n("div",{role:"listitem",children:n(R,{className:e?"rounded-md border-main-stroke border border-solid p-4":"",doc:t,icon:r})},String(l)))):null}))),V=l((({className:e="",context:t,title:l,subtitle:a,icon:i={icon:"DocIconMonoColor"},documents:c,orientation:s="vertical",hasBorder:d=!0})=>r("section",{className:`font-sans text-primary-text py-6 px-4 bg-white overflow-x-hidden ${e}`,children:[l?n(o,{headingType:"h2",className:"text-center "+(a?"mb-2":"mb-5"),title:l}):null,a?n("h3",{className:"mt-0 font-normal mb-5 text-center text-m-md",children:a}):null,"vertical"===s?n(P,{hasBorder:d,documents:c,icon:i}):n(A,{context:t,hasBorder:d,documents:c,icon:i})]}))),L=e=>e?.includes("//"),M=e=>(e||"").replace(/\/?\?.*/,""),_=e=>{if(!e||!L(e))return;const t=e,n=t.indexOf("//"),r=t.indexOf("/",n+"//".length);return-1!==r?t.substring(0,r):t};var B=Object.freeze({__proto__:null,isURL:L,withoutQuery:M,getOrigin:_,getHash:e=>{if(!e||!L(e))return;const t=e.indexOf("#");return-1!==t?e.substring(t,e.length):void 0}});const G="/mobile",j=(e,t)=>{if(!e)return e;const n=_(t?.href);return n?e.replace(n,"")||"/":e},E=e=>e;function W({router:e,handlerDecorator:t=E},n){const r=((e,t)=>{if(!e)return e;const n=j(e,t)||"",r=t?.pathname.startsWith(G);return r&&!L(n)?`/mobile${n}`:n})(n.href,e);return{...n,href:r,"aria-label":n.text,onClick:t((t=>{const l=r&&!L(r),a=!n.target||"_self"===n.target;l&&a&&(t.preventDefault(),e.push(r))}),n)}}const O=l((e=>{const{text:t,aboveText:l,appendLeft:a,appendRight:i}=e;return r("div",{className:F(e),children:[a||null,U(e)?r("div",{children:[n("div",{className:"text-m-2xs font-light text-left",children:l}),n("div",{className:"text-button text-left",children:t})]}):null,i||null]})})),F=e=>{const{version:t,aboveText:n,rounded:r}=e;if("link"===t)return"";const l="px-8 gap-2 "+(n?"py-2":"py-[18px]");return["flex items-center justify-center",U(e)?l:"h-12 w-12",r?"rounded-full":""].join(" ")},U=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),H={primary:"text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active",secondary:"text-primary-main bg-secondary-light hover:bg-secondary-hover active:bg-secondary-active",link:"text-primary-main"},z={primary:"bg-secondary-dark text-secondary-text",secondary:"bg-secondary-light text-secondary-text",link:""},Z="w-full text-center font-sans select-none",J=l((({className:e,text:t,aboveText:r,appendLeft:l,href:a,target:i,onClick:o,children:c,disabled:s,rounded:d,version:m="primary",ariaLabel:h,...u})=>{const p=c??n(O,{text:t,aboveText:r,appendLeft:l,rounded:d,version:m});return s?n("div",{role:"button","aria-disabled":"true","aria-label":h,tabIndex:"-1",className:`inline-block ${Z} ${z[m]||""} ${d?"rounded-full":"rounded-md"} ${e||""}`,children:p}):n("a",{className:`${Z} inline-block cursor-pointer no-underline ${H[m]||""} ${d?"rounded-full":"rounded-md"} ${e||""}`,href:a,target:i,onClick:o,"aria-label":h,role:a?"link":"button",...u,children:p})})),q=l((({context:e,className:t="",buttons:r})=>{const{handlerDecorator:l}=e,a=e.useRouter();return r?.length?n("div",{className:t,children:r.map(((e,t)=>function({icon:e,...t},r){if(!t?.text)return;return n(J,e?{appendLeft:n(p,{image:e,width:"24",height:"24",asSVG:!0}),...t}:{...t},String(r))}(W({router:a,handlerDecorator:l},e),t)))}):null}));const K=l((e=>{const{className:t="",description:r}=e;return n("div",{className:`font-normal text-base ${t}`,children:r})})),Q={primary:"rounded-full inline-block mr-3 mt-2",secondary:"rounded-full inline-block mr-3 mt-2",gray:"rounded-full inline-block mr-3 mt-2",tile:"rounded-full inline-block mr-4 mt-3","tile-white":"rounded-full inline-block mr-4 mt-3"},Y={primary:"bg-primary-text",secondary:"bg-white",gray:"bg-secondary-text",tile:"bg-black","tile-white":"bg-white"},X=l((({className:e="",isDotted:t=!0,children:l,version:a="primary"})=>r("div",{className:`font-sans flex items-start ${e}`,role:"listitem",children:[t?n("div",{className:ee(a)}):null,n("span",{children:l})]}))),ee=e=>`${Q[e]} ${Y[e]} ${{primary:"w-2 h-2 min-w-2 min-h-2",secondary:"w-2 h-2 min-w-2 min-h-2",gray:"w-1.5 h-1.5 min-w-1.5 min-h-1.5",tile:"w-[7px] h-[7px] min-w-[7px] min-h-[7px]","tile-white":"w-[7px] h-[7px] min-w-[7px] min-h-[7px]"}[e]}`,te={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text",tile:"text-primary-text","tile-white":"text-white"},ne=l((e=>{const{className:t="",itemClassName:r,isDotted:l,items:a,version:i="primary"}=e;return n("section",{className:`${te[i]} ${t}`,role:"list",children:a?.length?a.map(((e,t)=>n(X,{className:r,isDotted:l,version:i,children:e},String(t)))):null})})),re=l((({className:e="",title:t,children:l,buttons:a,image:i,anchor:o=null})=>r("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,id:o,children:[t,r("div",{className:"flex grow w-full justify-between",children:[r("div",{className:"flex flex-col justify-between w-full",children:[n("div",{children:l}),a?n("div",{children:a}):null]}),i]})]}))),le={primary:"text-primary-text",secondary:"text-white"},ae={primary:"text-secondary-text",secondary:"text-white"};function ie(e){let t="text-primary-main";return"secondary"===e&&(t="text-black"),`w-6 h-6 rounded-full box-border ${t}`}const oe=l((({className:e="",context:t,title:l,headingType:a="h2",description:i,benefits:c,benefitsVersion:s="normal",buttons:d,image:m,items:h,version:u="primary",isDotted:x=!0,label:g})=>r("div",{className:`w-full ${e}`,children:[r("div",{children:[g?de(g,u):null,r(re,{context:t,title:l?n(o,{headingType:a,title:l,className:"whitespace-pre-wrap max-w-[600px]"}):null,buttons:d?.length?n(q,{context:t,buttons:d,className:"flex flex-col mt-5 gap-2.5"}):null,children:[i?n(K,{className:"mt-3 text-m-md",description:i}):null,c?.filter((e=>e.label))?.length?n("div",{className:"mt-3",children:c.map(((e,t)=>function({benefit:e,version:t="primary"},l){const a="secondary"===t;return r("div",{className:"flex gap-3 items-center mb-2.5 last:mb-0",children:[e.icon?n(p,{className:ie(t),image:{...e?.icon,iconVersion:a?"white":"normal"},width:"24",height:"24",asSVG:!0}):null,n("div",{className:`font-medium text-m-title-xs m-0 ${le[t]}`,children:e.label}),e.description&&n("div",{className:`font-normal text-m-sm ${ae[t]}`,children:e.description})]},String(l))}({benefit:e,version:u,benefitsVersion:s},t)))}):null,h?.length?n(ne,{className:"mt-3 text-m-md",items:h,version:u,isDotted:x}):null]})]}),ce(m)]})));function ce(e){return e?.src?n(p,{imageClassName:"mt-5 mx-auto block",image:{className:"block",...e}}):null}const se={primary:"text-primary-main border-secondary-hover",secondary:"text-white/80"},de=(e,t)=>n("div",{className:`m-xs px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid w-fit ${se[t]}`,children:e}),me={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},he=l((e=>{const{className:t="",version:r="primary"}=e;return n("section",{className:`font-sans bg-white px-4 py-6 ${me[r]} ${t}`,children:n(oe,{...e})})})),ue={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"}},pe=l((({title:e,description:t,blockVersion:l="primary",iconVersion:a,image:i,className:o="",items:c,isDotted:s=!0})=>{const d=ue[l];return r("section",{className:`font-sans px-4 py-[18px] flex flex-col ${d.background} ${o}`,children:["small"===a?xe(d.icon):null,"big"===a?ge(i):null,r("div",{className:"py-0.5",children:[e?n("div",{className:`font-medium text-base mb-1 ${d.title}`,children:e}):null,t?n("div",{className:`text-sm ${d.description}`,children:t}):null,c?.length?n(ne,{className:"mt-1 text-m-md",items:c,isDotted:s,version:"secondary"===l?"secondary":"gray"}):null]})]})}));function xe(e){return n("div",{className:"mb-3",children:n("div",{className:`rounded-full h-4 w-4 text-center text-xs ${e}`,children:"i"})})}function ge(e){return e?.src?n(p,{className:"pb-3 mr-auto",image:e}):null}const be={primary:"bg-white",secondary:"bg-primary-main text-white"},fe=l((({context:e,title:t,description:l,cards:a=[],className:i,orientation:c="horizontal"})=>r("section",{className:`relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${i}`,children:[r("div",{className:"flex flex-col items-center mb-5",children:[t?n(o,{headingType:"h3",className:"text-center "+(l?"mb-2":"mb-5"),title:t}):null,l?n("div",{className:"font-normal text-m-md max-w-[600px] text-center mb-5",children:l}):null]}),ye(c,a,e)]})));function ye(e,t,r){return"horizontal"===e?n($,{context:r,children:t?.map(Ne)}):n("div",{className:"grid gap-[14px]",children:t?.map(Ne)})}function Ne(e,t){return r("div",{className:`h-full justify-between box-border horizontal-list-item border-solid border rounded-md border-main-stroke p-4 flex flex-col\n ${be[e.version??"primary"]}`,children:[r("div",{children:[e.image?.src?n("div",{className:"flex justify-center",children:n(p,{className:"mb-3.5",image:e.image})}):null,e.title?n("h3",{className:"font-medium text-m-title-xs m-0",children:e.title}):null,e.description?ve(e):null,e.items?.length?we(e.items,e.version,e.isDotted):null]}),e?.button?.text?(l=e.button,n(J,{className:"mt-3",appendLeft:l?.icon&&n(p,{image:l?.icon,width:"24px",height:"24px",asSVG:!0}),...l})):null]},t);var l}function ve(e){return n("div",{className:"text-secondary-text mt-1 text-m-sm "+("secondary"===e.version?"text-white opacity-80":""),children:e.description})}function we(e,t="primary",l){return n("section",{className:"mt-3",children:e.map(((e,a)=>r("div",{children:[l?n("div",{className:ee(t)}):null,n("span",{className:"text-m-md font-medium",children:e.title}),n("span",{className:"text-m-sm pl-2 "+("primary"===t?"text-secondary-text":""),children:e.text})]},String(a))))})}const Ie=l((({className:e="",documents:t,anchor:r=null})=>n("section",{className:`font-sans bg-white mt-[10px] ${e}`,id:r,children:n("ul",{className:"flex flex-col text-sm text-secondary-text p-0",children:t?.length?ke(t):null})}))),ke=e=>e.map(((e,t)=>{const{text:r,...l}=e;return n("li",{className:"mb-4 list-none",children:n("a",{className:"hover:text-primary-main",role:"link",...l,children:r||null})},`list_item_${String(t)}`)})),Ce={Headline:N,LinkDocs:V,TextBlock:pe,ProductBlock:he,Gallery:fe,LinkList:Ie},$e=({blocks:e,context:t,className:n,columns:r})=>e?.length?e.map(Se({context:t,className:n,columns:r})):null,Se=({context:e,columns:t,className:r})=>(l,a)=>{const i=l?.blockListType;if(!i||!(i in Ce))return null;return n("div",{className:`${r} ${2===t?"w-1/2":""}`,children:n(Ce[i],{context:e,...l,className:"!p-0"})},`block_${a}`)},Te=l((({blocks:e,context:t})=>n("div",{className:"transition-all duration-300 max-h-0 overflow-hidden group-last:last:pb-0",children:$e({context:t,className:"mb-5 last:mb-0 first:mt-2",blocks:e})}))),De=l((({label:e,labelIcon:t,blocks:l,bordered:a,context:i})=>{const{hasContent:o,icon:c,handleToggle:s}=(({context:e,blocks:t,initialState:n=!1})=>{const[r,l]=e.useState(n),a=t?.length;return{isActive:r,hasContent:a,icon:r?"MinusIcon":"PlusIcon",handleToggle:e=>{if(!a)return;l(!r);const t=(({currentTarget:e})=>e.nextSibling)(e);t.style.maxHeight=t.style.maxHeight?null:`${t.scrollHeight}px`}}})({context:i,blocks:l});return r("li",{className:`${Re(a)} border-solid border-main-divider`,children:[r("button",{className:`border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text\n ${a?"":"py-[14px] px-0"}\n ${o?"group cursor-pointer":""}`,onClick:s,children:[r("span",{className:"text-m-title-xs pr-2.5 font-medium flex "+(o?"group-hover:text-primary-main":""),children:[t?n(p,{image:t,width:"24",height:"24",asSVG:!0,className:"mr-3"}):null,e]}),o?n(p,{image:c,width:"24",height:"24",asSVG:!0}):null]}),o?n(Te,{blocks:l,context:i}):null]})}));function Re(e){return e?"border p-4 rounded mb-4":"border-0 border-b last:border-b-0"}const Ae=l((({title:e,description:t,accordionItems:l,context:a,className:i="",bordered:c})=>r("section",{className:`py-6 px-4 font-sans bg-white text-primary-text ${i}`,children:[e?n(o,{headingType:"h3",className:"mb-2 text-center",title:e}):null,t?n("div",{className:"mb-5 text-m-md text-center",children:t}):null,l?.length?n("ul",{className:"list-none m-0 p-0",children:l.map(((e,t)=>n(De,{...e,context:a,bordered:c},`AccordionItem${t}`)))}):null]}))),Pe=l((({icon:e,image:t,title:l,subtitle:a,isFillGradient:i})=>r("div",{role:"columnheader",scope:"col",children:[e?n(p,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}):null,t?.src&&n("div",{className:"mb-3.5",children:n(p,{image:t})}),l?n(o,{headingType:"h4",className:""+(i?"text-white":""),title:l}):null,a?n("div",{className:"text-m-sm mb-3.5 "+(i?"text-white":"text-secondary-text/80"),children:a}):null]}))),Ve=l((({cell:e,rowHeader:t,isFillGradient:r=!1})=>n("div",{className:"box-border flex flex-col",role:"cell",children:n("div",{className:"h-full border-main-divider border border-t-0 border-x-0",children:e.map(Le(r,t))})}))),Le=(e,t)=>({label:l,description:a},i)=>r("div",{className:"flex justify-between text-m-sm py-3.5",children:[n("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),r("div",{className:"basis-1/2",children:[l?n("div",{className:"text-right "+(e?"text-white":""),children:l}):null,a?n("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:a}):null]})]},String(i)),Me=l((({header:e,columnData:t,visibleRowLength:l=0,isFillGradient:a,showRow:i,onToggleColumn:o})=>{const c=t?.slice(0,i?t.length:l),s=a?"secondary":"primary";return r("div",{className:`border border-main-stroke rounded-md p-4 mb-3.5 ${a?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[n(Pe,{...e,isFillGradient:a}),c?.length?c.map((({rowHeader:e,cell:t},r)=>n(Ve,{cell:t,rowHeader:e,isFillGradient:a},String(r)))):null,i&&_e({header:e,buttonVersion:s}),Be({onToggleColumn:o,isFillGradient:a,showRow:i})]})})),_e=({header:e,buttonVersion:t})=>n(J,{href:e.link.href,target:e.link.target,version:t,className:"font-medium text-m-sm mt-4 py-[11px]",children:e.link.text}),Be=({onToggleColumn:e,isFillGradient:t,showRow:r})=>n("div",{className:"mt-5",role:"cell",children:n("a",{role:"link",onClick:e,className:"font-medium text-m-sm cursor-pointer "+(t?"text-white/80":"text-primary-main"),children:r?"Скрыть":"Показать описание"})}),Ge=l((({className:e,context:t,title:l,rowHeaders:a,columns:i,visibleRowLength:c=0,isColoredFirstColumn:s=!1,orientation:d="vertical"})=>{const m=i?.map((({data:e,header:t})=>({header:t,column:e?.map(((e,t)=>({cell:e,rowHeader:a?.[t]?.title})))})))||[],[h,u]=t.useState(new Array(i?.length).fill(!c));return r("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${e||""}`,children:[l?n(o,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:l}):null,je({tableData:m,context:t,visibleRowLength:c,isColoredFirstColumn:s,columnsViewState:h,handleToggleColumn:e=>{h[e]=!h[e],u([...h])},orientation:d,setColumnsViewState:u})]})})),je=({context:e,tableData:t,visibleRowLength:r,isColoredFirstColumn:l,columnsViewState:a,handleToggleColumn:i,orientation:o="horizontal",setColumnsViewState:c})=>n("div",{role:"table",children:t?.length?Ee({orientation:o,context:e,columnsViewState:a,setColumnsViewState:c,tableData:t,visibleRowLength:r,isColoredFirstColumn:l,handleToggleColumn:i}):null}),Ee=({orientation:e,context:t,columnsViewState:r,setColumnsViewState:l,tableData:a,visibleRowLength:i,isColoredFirstColumn:o,handleToggleColumn:c})=>"horizontal"===e?n($,{context:t,onSlideChange:Oe(r,l),children:a.map(We({context:t,visibleRowLength:i,isColoredFirstColumn:o,columnsViewState:r,handleToggleColumn:c}))}):a.map(We({context:t,visibleRowLength:i,isColoredFirstColumn:o,columnsViewState:r,handleToggleColumn:c})),We=({context:e,visibleRowLength:t,isColoredFirstColumn:r,columnsViewState:l,handleToggleColumn:a})=>(i,o)=>n(Me,{context:e,visibleRowLength:t,showRow:l[o],header:i.header,columnData:i.column,isFillGradient:0===o&&r,onToggleColumn:()=>a(o)},String(o)),Oe=(e,t)=>()=>{t(new Array(e.length).fill(!1))};async function Fe(){try{const e=await fetch(Ue);return await e.json()}catch(e){console.error(e)}}const Ue="/api/v1/exchangerates.json",He=e=>{const t="col-span-",n=e.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function ze(e=""){const t=He(e);return t<=4?"h4":t<=8?"h3":"h2"}const Ze=new Intl.NumberFormat("ru",{style:"currency",currency:"RUB"}),Je=e=>e?Ze.format(e):"",qe="font-light text-left font-normal text-sm text-secondary-text",Ke={USD:"DollarIcon",EUR:"EuroIcon"},Qe=l((({className:e,exchangeCurrencyItems:t})=>r("table",{className:`h-fit w-fit ${e}`,children:[n("thead",{children:r("tr",{children:[n("th",{className:qe,children:"Валюта"}),n("th",{className:`${qe} pl-11`,children:"Купить"}),n("th",{className:`${qe} pl-11`,children:"Продать"})]})}),n("tbody",{children:t.map((e=>Ye(e)))})]}))),Ye=e=>{const t=e?.currency?.currency;return r("tr",{className:"pb-1",children:[n("td",{className:"pt-4",children:r("div",{className:"flex items-center",children:[t?n(p,{image:{icon:Ke[t]},width:"24",height:"24"}):null,n("span",{className:"text-m-title-md ml-2",children:t})]})}),n("td",{className:"pt-4 pl-11 m-title-md font-light",children:Je(e.buyExchangeRate)}),n("td",{className:"pt-4 pl-11 m-title-md font-light",children:Je(e.saleExchangeRate)})]},t)},Xe=l((({className:e="",address:t,distance:l})=>r("div",{className:`flex text-sm ${e}`,children:[n(p,{image:{icon:"GpsIcon"},width:"24",height:"24",asSVG:!0}),r("div",{className:"ml-3 font-light",children:[t?n("p",{className:"m-0 mb-[3px]",children:t}):null,l?r("p",{className:"text-secondary-text m-0",children:["Курс указан для ближайшего офиса - ",l]}):null]})]}))),et=l((({className:e="",id:t,name:r,type:l="text",placeholder:a})=>n("input",{className:e,id:t,name:r||t,type:l,placeholder:a}))),tt=l((({className:e="",id:t,name:r,children:l})=>n("select",{className:e,id:t,name:r||t,children:l}))),nt=l((({className:e="",value:t,selected:r,children:l})=>n("option",{className:e,value:`${t}`,selected:r,children:l}))),rt=l((({codes:e,className:t=""})=>r("div",{className:`grid gap-3.5 ${t}`,children:[lt("Хочу продать",e),lt("Получу",e,"USD"),n(J,{className:"box-border mt-3.5 py-3 h-12 w-full",version:"primary",href:"#",children:"Купить валюту"})]})));function lt(e,t,l){return r("div",{className:"relative flex items-center",children:[n(et,{className:"h-10 border pl-4 pt-[7px] pb-[7px] rounded-md text-m-sm w-full appearance-none -mr-12",type:"number",placeholder:`${e}`}),t.length?n(tt,{className:"h-9 -translate-x-4",children:t.map(((e,t)=>n(nt,{value:e,selected:e===l,children:e},String(t))))}):null]})}const at=["USD","EUR"],it=["RUB","USD","EUR"],ot=[{buyExchangeRate:90.6,saleExchangeRate:92.8,currency:{id:2,code:"978",currency:"EUR",name:"Евро"}},{buyExchangeRate:73.75,saleExchangeRate:75.95,currency:{id:1,code:"840",currency:"USD",name:"Американский доллар"}}],ct={address:"Москва, ул.Ленина д.28",distance:"6км"},st=l((({className:e="",context:t,title:l="Курсы обмена валют",anchor:a=null})=>{const i=function(e){const{data:t}=e(Ue,Fe);return t||{}}(t.useAsyncData)?.exchangeRate?.currencies?.filter((e=>-1!==at.indexOf(e?.currency?.currency||"")))||ot;return n("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e}`,id:a,children:n(re,{context:t,title:n(o,{headingType:ze(e),title:l,className:"whitespace-pre-wrap"}),children:r("div",{className:"flex",children:[r("div",{className:"mr-[43px] pt-4",children:[i?n(Qe,{className:"mb-[31px]",exchangeCurrencyItems:i}):null,n(Xe,{...ct})]}),i?.length?n(rt,{className:"grow",exchangeCurrencyItems:i,codes:it}):null]})})})})),dt=l((({className:e,viewBox:t,fill:r="none",width:l,height:a,paths:i,...o})=>n("svg",{xmlns:"http://www.w3.org/2000/svg",className:e,viewBox:t,fill:r,width:l,height:a,children:i.map((({d:e,fill:t,...r},l)=>n("path",{d:e,fill:t||"currentColor",...o,...r},l)))}))),mt=["m13.72 25.51 4.42-4.33v-2.95l-4.42 4.32v2.96Zm0-10.98 4.42-4.35V7.41l-4.42 4.31v2.8Zm0 3.63 4.42-4.33v-2.78l-4.42 4.32v2.8ZM12.46 7.44l-.6-.56V0h-.66v6.22l-.58-.57V0h-.67v5l-.59-.58V0H8.7v6.56l4.44 4.33V0h-.67v7.44Zm1.26 14.35 4.42-4.33v-2.78L13.72 19v2.8Zm-5.03-.61 4.44 4.33v-2.96l-4.44-4.32v2.95Zm8.79-16.76-.59.58V0h-.66v5.66l-.6.56V0h-.66v6.87l-.58.57V0h-.67v10.9l4.42-4.34V0h-.66v4.42Zm-8.79 5.76 4.44 4.35v-2.8L8.69 7.4v2.77Zm0 3.65 4.44 4.33v-2.8l-4.44-4.3v2.77Zm0 3.63 4.44 4.33V19l-4.44-4.31v2.78Zm26.37 2.29H24.3a2.25 2.25 0 0 0 .36-1.22 2.32 2.32 0 0 0-2.33-2.31 2.32 2.32 0 0 0-2.31 2.31c0 .5.16.96.43 1.34a.74.74 0 0 0-.33.61c0 .26.14.49.33.62a2.32 2.32 0 0 0-.43 1.34 2.31 2.31 0 0 0 2.31 2.31 2.32 2.32 0 0 0 2.33-2.31c0-.45-.13-.87-.36-1.22h8.01v.49h-.8v.68h.8v.7h-.8v1.3h.8v-.58h1.17v.58h.79v-1.3h-.79v-.7h.79v-.68h-.79v-.5h1.58a.56.56 0 0 0 .56-.56v-.34a.57.57 0 0 0-.56-.56Zm-11.53 2.7a1.2 1.2 0 0 1-2.4 0c0-.24.08-.47.2-.66l.34-.56a.97.97 0 0 1-.34-.75c0-.3.13-.56.33-.74l-.32-.56a1.13 1.13 0 0 1-.2-.66 1.2 1.2 0 0 1 2.4 0c0 .49-.56 1.65-.56 1.65v.62c-.01.01.55 1.17.55 1.66ZM4.67 18.34v2.89c0 2.75 1.2 4.53 1.9 5.21l4.58 4.5c1.28 1.25 1.5 1.66 1.79 2.37v-3.2c0-2.84-1.44-3.94-2.19-4.67-1.73-1.68-2.89-2.8-3.82-3.73a8.98 8.98 0 0 1-2.26-3.37Zm6.08 14.24c-1.73-1.7-2.89-2.8-3.82-3.73a10 10 0 0 1-2.25-2.98v2.49a7.87 7.87 0 0 0 1.89 5.24l4.58 4.47c1.28 1.25 1.5 1.85 1.79 2.55v-3.37c0-2.85-1.45-3.95-2.19-4.67Z","M19.88 5.34c-.32 0-.64 0-.96.02V6.7a18.5 18.5 0 1 1 .95 36.94A18.5 18.5 0 0 1 1.35 25.17c0-5.67 2.55-10.73 6.58-14.13V9.32A19.78 19.78 0 0 0 0 25.17C0 36.12 8.9 45 19.88 45a19.85 19.85 0 0 0 19.86-19.83c0-10.95-8.9-19.83-19.87-19.83Z","M33.93 35.53c.3-.41.6-.85.87-1.3v-2.66h-.87v3.96Zm2.54-4.92c.12-.4.24-.78.34-1.16h-2.88v.7h.43c.77-.02 1.63-.03 2.11.46Zm-19.19-1.27h-.78v7.91h.78v-7.9Z","M14.7 27.83h2.58c.67 0 1.14.14 1.4.4.27.25.4.72.4 1.38v7.4c0 .66-.12 1.12-.4 1.38-.4.41-1.16.41-1.78.41l-.4-.01v3.5l.78.14v-2.88c1.2 0 1.97-.4 2.34-1.22v4.29h.26l.5-.01V29.74c0-.68.13-1.16.4-1.43.25-.27.72-.4 1.37-.4.67 0 1.65-.1 2.16.4.26.27.38.76.38 1.43v3.8h-1.77v-4.06h-.77v12.99c.26-.03.5-.07.77-.12V34.3h1.77v7.64c.36-.1.72-.21 1.08-.34v-7c0-.8.19-1.4 1-1.67l-.9-4.87h1.8l.3 5.31h.22l.3-5.31h1.88l-1.01 4.87c.84.3 1.01.81 1.01 1.66v4.53a16.63 16.63 0 0 0 1.5-1.27v-9.83h5.25l.1-.72H24.93l.17.89c-.38-.72-1.12-1.08-2.2-1.08h-.77c-1.3 0-2.1.52-2.4 1.55-.27-1.08-1.1-1.62-2.46-1.62h-3.36v14.52c.26.09.52.18.78.25V27.84Zm16.29 5.58-.85-.8.85-4.37v5.17Z","M27.66 40.79c.27-.14.55-.28.8-.43v-5.98h-.8v6.4Z"],ht={"bg-white":"text-primary-main",transparent:"text-white"},ut={"bg-white":"text-black",transparent:"text-white"},pt=l((({className:e="",href:t,children:l,targetBlank:a,bgColor:i="bg-white",hideTitle:o})=>r("a",{className:`inline-flex items-center font-sans no-underline ${e}`,href:t||"https://rshb.ru/",target:a?"_blank":"_self","aria-label":"Россельхозбанк",children:[n(dt,{className:`${ht[i]} w-10 h-[38px]`,viewBox:"0 0 40 45",paths:mt.map((e=>({d:e})))}),o?null:n("span",{className:`${ut[i]} text-sm font-medium ml-2.5`,children:l||"Россельхозбанк"})]}))),xt=l((({className:e,title:t="Мобильное приложение",description:l,href:a="#"})=>n("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light ${e||""}`,children:a?r("div",{className:"flex",children:[n("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-[50px] h-[50px]",children:n(pt,{className:"w-[33px]",bgColor:"transparent",hideTitle:!0})}),r("a",{href:a,target:"_blank",className:"flex flex-col justify-center pl-3 font-sans",children:[n("div",{className:"text-m-button font-medium mb-[3px]",children:t}),n("div",{className:"text-m-button text-secondary-text",children:l})]})]}):null}))),gt=l((({className:e="",items:t,hasButton:l,context:a})=>{const i=a.useRouter(),{handlerDecorator:o}=a;return r("div",{className:e,children:[t?.length?t.map(bt):null,l?n(J,{version:"primary",className:"mb-6 w-full",...W({router:i,handlerDecorator:o},{text:"Обратная связь",href:"/",target:"_blank"})}):null]})})),bt=(e,t)=>{const{type:l,text:a,description:i}=e;return r("div",{className:"mb-4",children:[n("div",{children:ft(l,a)}),n("div",{className:"mt-1 font-sans font-light text-sm text-secondary-text",children:i})]},String(t))},ft=(e,t="")=>{switch(e){case"tel":return n("a",{className:"font-sans text-xl text-primary-text no-underline",href:`tel:${yt(t)}`,children:t});case"email":return n("a",{className:"font-sans text-xl text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return n("span",{children:t})}},yt=e=>e.replaceAll(/\D/g,""),Nt=l((({title:e,links:t,className:l="",context:a})=>{const i=a.useRouter(),{handlerDecorator:o}=a;return r("div",{className:l,children:[n("span",{className:"text-primary-text font-sans font-medium text-sm",children:e}),t?.length?n("div",{className:"flex flex-col gap-2 pt-3",children:t.map(((e,t)=>n(vt,{index:t,...W({router:i,handlerDecorator:o},e)},String(t))))}):null]})})),vt=l((({className:e="",index:t,text:r,href:l,target:a,onClick:i})=>n("a",{className:`font-sans font-normal text-sm text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:l,target:a,onClick:i,children:r||`Документ ${t}`}))),wt=[{origins:["t.me","telegram.org"],icon:{icon:"TelegramIcon"},label:"Телеграм",width:"20px",height:"16px"},{origins:["vk.com"],icon:{icon:"VKIcon"},label:"ВКонтакте",width:"24px",height:"12px"},{origins:["ok.ru"],icon:{icon:"OkIcon"},label:"Одноклассники",width:"12px",height:"20px"},{origins:["apps.apple.com"],icon:{icon:"AppleIcon"},label:"App Store",width:"20px",height:"22px"},{origins:["play.google.com"],icon:{icon:"PlayMarketIcon"},label:"Google Play",width:"21px",height:"21px"}],It=l((({href:e,version:t="primary"})=>{const{icon:r,width:l,height:a,label:i}=wt.find((({origins:t})=>t.some((t=>e?.includes(t)))))||{};if(!r)return null;const o="primary"===t;return n("a",{className:`flex items-center justify-center rounded-md w-14 h-14 group box-border ${"secondary"===t?"bg-secondary-light hover:bg-secondary-hover":"border-main-divider border-solid border-[1px] hover:bg-primary-main"} ${o?"hover:text-black":""}`,href:e,"aria-label":i,target:"_blank",rel:"noopener noreferrer",children:r?n(p,{image:{...r,iconVersion:"normal"},imageClassName:o?"group-hover:text-white":"",width:l,height:a,asSVG:!0}):null})})),kt=l((({className:e,media:t,version:r,context:l})=>{const a=l.useRouter(),{handlerDecorator:i}=l;return n("div",{className:`flex gap-2 items-start justify-start pt-6 pb-6 ${e||""}`,children:t?.map(((e,t)=>n(It,{version:r,...W({router:a,handlerDecorator:i},e)},String(t))))})})),Ct=l((({className:e,links:t,context:l})=>{const a=l.useRouter(),{handlerDecorator:i}=l;return r("div",{className:`${e||""}`,children:[n("div",{className:"py-6",children:n("span",{className:"font-sans font-normal text-xs text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?n("div",{className:"flex flex-col justify-start items-start gap-2",children:t.map(((e,t)=>n($t,{index:t,...W({router:a,handlerDecorator:i},e)},String(t))))}):null]})})),$t=l((({className:e,index:t,text:r,href:l,target:a,onClick:i})=>n("a",{className:`font-sans font-normal text-xs text-secondary-text visited:text-secondary-text hover:text-primary-text inline-block no-underline max-w-[292px] ${e||""}`,href:l,target:a,onClick:i,children:r||`Документ ${t}`})));function St(e){const{data:t}=e(Dt(),Tt);return t||{}}async function Tt(){const e=await fetch(Dt());return await e.json()}function Dt(){return`/wcms-resources/${d.SITEMAP||"sitemap"}.json`}const Rt=l((({className:e,context:t})=>{const{term:l,setTerm:a}=t.useSearch();return r("form",{className:`relative ${e||""}`,children:[r("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[n("div",{className:"w-[20px] h-[20px]",children:n(p,{image:"LoupeIcon",width:"24",height:"24"})}),l?null:n("label",{htmlFor:"search-bar-input",className:"font-sans font-normal text-sm text-secondary-text",children:"Поиск по сайту"})]}),n("input",{id:"search-bar-input",className:"h-12 pl-12 w-full peer placeholder-transparent font-sans font-normal text-base text-black border border-solid rounded box-border outline-none pr-[6%] border-main-divider focus:border-primary-text",value:l,onChange:e=>a(e.target.value),type:"text",name:"search-bar-input",placeholder:"some search"}),n("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(),a("")},children:n(p,{image:"CloseIcon",width:"24",height:"24"})})]})})),At=e=>e?.map((e=>({label:e.text||"",blocks:[{accordionBlockType:"LinkList",documents:e.items||[]}]}))),Pt=l((({className:e="",documents:t,relatedEnterprises:l,contacts:a,socialMedia:i,context:o,horizontalNavigationTitle:c})=>{const s=St(o.useAsyncData),d=s?.dispositions;return r("footer",{className:`px-4 py-[26px] bg-white ${e}`,children:[n(gt,{className:"overflow-hidden",items:a,context:o,hasButton:!0}),n(Ae,{context:o,className:"!p-0 mb-4",accordionItems:At(s.topItems)}),n("div",{children:d?.map(Vt)}),n(xt,{context:o,title:"Мобильное приложение",description:"Загрузить для IOS и Android"}),n(Rt,{context:o,className:"grow"}),n(kt,{className:"pb-4",media:i,context:o}),n(Nt,{title:c,links:l,context:o}),n(Ct,{links:t,context:o})]})})),Vt=(e,t)=>{const{icon:l,href:a,text:i}=e;return r(J,{version:"link",href:a,className:"flex text-sm mb-4",children:[l?n(p,{className:"pr-1",image:l,width:"24",height:"24",asSVG:!0}):null,n("span",{className:"pl-2.5 font-medium text-primary-text",children:i})]},`footer-${t}`)},Lt=(e,t,n=((e,t)=>t.startsWith(e)))=>n(M(e),(e=>(e||"").replace(G,""))(M(L(e)?t.href:t.pathname))),Mt=e=>t=>Lt(t.href,e),_t=e=>t=>t.items?.some(Mt(e))||Lt(t.href,e)||((e,t)=>_(e)===_(t.href))(t.href,e),Bt=e=>t=>e?.href===t?.href,Gt=(e,t)=>{return(r=e,l=t,(r||[]).map((e=>l?.find(Bt(e))||e))).concat((n=e,(t||[]).filter((e=>!n?.find(Bt(e))))));var n,r,l},jt="absolute left-0 -bottom-3 w-full h-[2px]",Et=l((({className:e,text:t,href:l,target:a,active:i,onClick:o,children:c,bgColor:s="bg-white"})=>r("a",{className:`relative inline-block bg-transparent text-center no-underline ${e||""}`,href:l,target:a,onClick:o,children:[n("span",{className:Wt(s,i),children:t||c}),i?n("div",{className:Ot(s,i)}):null]}))),Wt=(e,t)=>{let n="text-white";return"bg-white"===e&&(n=t?"text-primary-main":"text-secondary-text hover:text-primary-main"),`${n} font-sans font-normal text-sm`},Ot=(e,t)=>t?`${"bg-white"===e?"bg-primary-main":e} ${jt}`:jt,Ft=l((({context:e,burgerSubMenu:t,onClick:l,defaultLocation:a="",children:i})=>{const[o,c]=e.useGeolocation(a);return r("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20",children:[n("button",{className:"absolute top-4 right-4 border-none bg-transparent cursor-pointer",onClick:l,children:n(p,{image:"CloseIcon",width:"24",height:"24",asSVG:!0})}),r("button",{onClick:c,className:"flex items-center text-sm text-secondary-text p-0 mb-4 bg-transparent cursor-pointer",children:[n(p,{image:"GeolocationIcon",width:"20",height:"20",className:"text-primary-main box-border mr-2",asSVG:!0}),o]}),i,n("div",{className:"mb-7",children:t?.map(Ut)}),n(Rt,{context:e,className:"grow"})]})})),Ut=(e,t)=>{const{icon:l,href:a,text:i}=e;return r("a",{href:a,className:"flex text-sm mb-4 hover:text-primary-main",children:[l?n(p,{className:"text-primary-main pr-1",image:l,width:"24",height:"24",asSVG:!0}):null,n("span",{className:"pl-0.5 font-medium",children:i})]},`headerSubMenu-${t}`)},Ht=l((({onClick:e,bgColor:t})=>r("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-[50px]",children:[r("div",{className:"flex items-center",children:[n("button",{className:"pl-0 pr-4 border-0 bg-transparent cursor-pointer",onClick:e,"aria-label":"Открыть меню",children:n(p,{image:{icon:"BurgerIcon",iconVersion:"bg-white"===t?"black":"white"},className:"text-primary-text",width:"24",height:"24",asSVG:!0})}),n(pt,{bgColor:t})]}),n("button",{className:("bg-white"===t?"text-primary-main":"text-white")+" text-sm border-0 bg-transparent cursor-pointer",children:"Войти"})]}))),zt=l((({className:e="",defaultLocation:t,bgColor:l="bg-white",context:a,topItems:i})=>{const o=a.useRouter(),c=St(a.useAsyncData),s=c?.dispositions,{handlerDecorator:d}=a,m=Gt(c.topItems,i).find(_t(o))?.items,h=(e=>(t=[])=>{const n=t?.filter(Mt(e));var r;return n?.length?(r=e=>e.href?.length||0,e=>e.reduceRight(((e,t)=>r(e)>r(t)?e:t)))(n):null})(o)(m),[u,p]=a.useState(!1),x=()=>p(!u);return r("header",{className:`${l} ${e}`,children:[r("div",{className:"container px-4 py-0 box-border",children:[n(Ht,{onClick:x,bgColor:l}),n("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-[50px]",children:n("div",{className:"flex no-scrollbar horizontal-list h-full items-center",children:m?.map(((e,t)=>Zt({...W({router:o,handlerDecorator:d},e),active:e===h,bgColor:l},t)))})})]}),u?n(Ft,{context:a,onClick:x,burgerSubMenu:s,defaultLocation:t,children:n(Ae,{context:a,accordionItems:At(c.topItems),className:"!p-0 mb-4"})}):null]})})),Zt=(e,t)=>n(Et,{className:"mr-8 whitespace-nowrap text-sm",...e},String(t));function Jt(e=""){const t=He(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function qt(e=""){const t=He(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const Kt=l((({className:e,context:t,title:l,description:a="Блок в разработке...",anchor:i=null})=>n("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${qt(e)} ${Jt(e)} `,id:i,children:r(re,{context:t,title:l?n(o,{headingType:ze(e),title:l,className:"whitespace-pre-wrap max-w-[600px]"}):null,children:[a?n(K,{className:"mt-4 max-w-[600px]",description:a}):null,n("figure",{className:"m-0 min-w-[600px]",children:Qt()})]})}))),Qt=(e=3)=>Xt(100,e).map((e=>Math.floor(e))).map(Yt),Yt=(e=100,t)=>n("div",{style:{width:`${e}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),Xt=(e,t)=>[e].concat(t>0?Xt(e/1.618,t-1):[]),en={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},tn=l((({block:e,headingType:t,context:r,className:l=""})=>n("section",{className:`flex grow-0 shrink-0 basis-full px-4 pt-6 ${en[e?.version??"primary"]} ${l}`,children:n("div",{className:"flex grow",children:n(oe,{context:r,headingType:t||"h2",...e})})}))),nn=l((({className:e,context:t,slides:r=[]})=>{const l=r.map((e=>e.productBlock));return n("section",{className:`font-sans bg-white overflow-hidden w-100 pb-6 ${e||""}`,children:n($,{context:t,children:l.map(((e,r)=>n(tn,{block:e,context:t},String(r))))})})})),rn={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-[50px] w-[50px] min-w-[50px] min-h-[50px]"},ln={normal:"min-h-[70px]",small:"min-h-[50px]"},an={primary:{background:"bg-white",title:"text-primary-text",description:"text-secondary-text",iconBackground:"bg-secondary-light",iconConnector:"bg-secondary-light"},secondary:{background:"bg-primary-main",title:"text-white",description:"text-white/80",iconBackground:"bg-white/30",iconConnector:"bg-white"}},on=e=>an[e],cn=l((({className:e,title:t,description:l,steps:a,size:i="normal",version:c="primary"})=>{const s=on(c);return r("section",{className:`box-border font-sans bg-white px-4 py-6 flex flex-col\n ${s.background} ${s.title} ${e||""}`,children:[t?n(o,{headingType:"h3",className:`text-center ${s.title}`,title:t}):null,l?n("p",{className:`text-m-md text-center ${s.description} ${t&&"mt-2"}`,children:l}):null,a?.length?n("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:n("div",{className:"flex flex-col justify-between gap-x-[101px]",children:a.map(((e,t)=>sn({step:e,size:i,i:t,length:a.length,version:c})))})}):null]})})),sn=e=>{const{step:t,size:l,i:a,length:i,version:o}=e,c=i-1===a,s="normal"===l?"ml-[34px]":"ml-[24px]",d=on(o);return n("div",{children:r("div",{className:"flex flex-row text-center relative",children:[r("div",{className:"overflow-hidden",children:[dn(e),c?null:n("div",{className:`min-h-8 h-full w-[2px] ${d.iconConnector} ${s}`})]}),r("div",{className:`flex flex-col justify-center h-fit ${ln[l]}`,children:[t.label?n("div",{className:"font-medium text-m-title-xs m-0 text-left",children:t.label}):null,t.description?n("div",{className:`font-normal text-sm ${d.description} text-left ${t.label?"mt-1":""}`,children:t.description}):null]})]},String(a))},String(a))},dn=e=>{const{step:t,size:r,i:l,version:a}=e,i=on(a),o="normal"===r?"38":"27",c="normal"===r?"text-m-title":"text-m-title-xs";return n("div",{className:`${rn[r]} ${i.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:n("span",{className:`font-medium flex self-center ${i.title} ${c}`,children:t.icon?.icon&&n(p,{image:t.icon,width:o,height:o,asSVG:!0})||l+1})})},mn=l((({title:e,icon:t})=>r("div",{className:"flex gap-2.5 mb-2",children:[e?n(o,{headingType:"h3",className:"font-medium",title:e}):null,t?n(p,{className:"ml-auto max-w-6 max-h-6",image:t,width:"24px",height:"24px"}):null]}))),hn=e=>e?.alt||e?.title||s[e?.icon?e.icon:""],un=l((({header:e,data:t})=>r("div",{className:"rounded-md border-main-stroke h-full box-border border p-4",children:[n(mn,{...e}),t?.length?t.map(pn):null]}))),pn=({label:e,description:t,list:l,image:a,buttons:i},o)=>r("div",{children:[o>0&&n("div",{className:"border-main-divider border border-solid border-t-0 border-x-0 my-2"}),e?n("div",{className:"text-m-sm m-0",children:e}):null,t?n("div",{className:"text-m-sm text-secondary-text mt-[3px]",children:t}):null,l?.items?.length?xn(l):null,a?n(p,{image:{...a,className:"m-0"}}):null,i?.length?gn(i):null]},String(o)),xn=e=>n(ne,{className:"flex flex-col justify-between items-start text-m-sm",version:"gray",items:e.items,isDotted:e.isDotted??!0}),gn=e=>n("div",{children:e.map((({icon:e,rounded:t,...r},l)=>n(J,{className:`mt-3 ${l>0&&t?"ml-2.5":""} ${e?"w-12 h-12":""}`,ariaLabel:hn(e),rounded:t,appendLeft:e?n(p,{image:e,width:"24px",height:"24px",asSVG:!0}):null,...r,"aria-label":e},String(l))))}),bn=l((({tiles:e})=>n("div",{className:"flex flex-col gap-3.5",children:e.map(((e,t)=>n(un,{...e},String(t))))}))),fn=l((({tiles:e,context:t})=>n($,{context:t,children:e.map(((e,t)=>n(un,{...e},String(t))))}))),yn=l((({className:e,context:t,title:l,description:a,columns:i,rowHeaders:c,orientation:s="vertical"})=>{const d=vn(i),m=wn(c,d);return r("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[l?n(o,{headingType:"h2",className:"text-center "+(a?"mb-2":"mb-5"),title:l}):null,a?n("div",{className:"mb-5 text-center text-m-md",children:a}):null,m?.length?Nn(s,m,t):null]})}));function Nn(e,t,r){return"vertical"===e?n(bn,{tiles:t}):n(fn,{context:r,tiles:t})}const vn=e=>e?.[0].data?e[0].data:[],wn=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),In={Accordion:Ae,ComparisonTable:Ge,ExchangeRateTile:st,Footer:Pt,Gallery:fe,Header:zt,Headline:N,LinkDocs:V,LinkList:Ie,MobileAppTile:xt,ProductBlock:he,ProductGallery:nn,StepsBlock:cn,TariffsTable:yn,TextBlock:pe,Placeholder:Kt};function kn(e){return e?e.filter(Boolean).join(" "):""}const Cn=l((({className:e,onClick:t,ariaLabel:r})=>n("button",{type:"button",className:`border-0 w-[36px] bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":r,children:$n()}))),$n=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[n("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"}),n("path",{...e,d:"M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z"})]})},Sn=l((({className:e,context:t,anchor:l=null})=>{const a=t.useLikeService();return r("div",{className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e||""}`,id:l,children:[n(Cn,{onClick:a.like,ariaLabel:"Поставить отметку «лайк»"}),n(Cn,{onClick:a.dislike,className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),n("span",{className:"select-none",children:a.likeCount})]})})),Tn=!("undefined"==typeof window||!window.document||!window.document.createElement),Dn=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),Rn=l((({className:e="",context:t,blocksRegistry:l,data:{style:a,blocks:i,slots:o={},likeControl:c,colorPalette:s="pc"},blockDecorator:d=Dn})=>{const{header:m}=o,h=t.useRouter();return Tn&&globalThis.addEventListener("load",(()=>{const e=globalThis.document.querySelectorAll("section[id]");globalThis.document.addEventListener("scroll",(()=>((e,t)=>{t?.forEach((t=>{const n=globalThis.location?.hash;if(n===`#${t?.id}`)return;const r=t?.getBoundingClientRect();r&&r.top>0&&r.top<150&&e.replace(`#${t?.id}`)}))})(h,e)))})),r("section",{className:`relative ${kn(a)} ${e}`,"data-theme":s,children:[m?.blocks?.length?n("div",{className:`${kn(m?.style)}`,children:m.blocks.map(((e,n)=>An({block:e,blockDecorator:d,blocksRegistry:l,context:t},n)))}):null,i?.length?n("div",{className:"container grid grid-cols-12 gap-1",children:i.map(((e,n)=>An({block:e,blockDecorator:d,blocksRegistry:l,context:t},n)))}):null,c?n("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:n(Sn,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto",context:t},"LikeControl")}):null]})}));function An({block:e,blockDecorator:t,blocksRegistry:r,context:l},a){const{type:i}=e;i&&i in r||console.warn(`No block with "${i}" is registered`);const o=r[i||"Placeholder"]||Kt;return t({blockClassName:`scroll-mt-12 ${kn(e.style)}`,block:e,render:e=>{const{version:t,content:r,anchor:c}=e.block;return n(o,{className:e.blockClassName,version:t,context:l,anchor:c,...r},`${i}-${a}`)}},`block-${a}`)}e.Blocks=In,e.ContentPage=Rn,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=function(e,t=""){async function n(){try{const e=JSON.parse(globalThis.localStorage.getItem(a)||"");if(e?.token)return e}catch(e){}try{const e=await fetch(`${t}/assist/v1/public/auth`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:n,name:r}=await e.json();return globalThis.localStorage.setItem(a,JSON.stringify({token:n,name:r})),{token:n,name:r}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...r){if(!r.length)return[];const{token:l}=await n();try{const n=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:l},body:JSON.stringify({node_ids:r})}),{likes:a}=await n.json();return a||[]}catch(e){return console.error(e),[]}},like:async function(r){if(!r)return 0;const{token:l,name:a}=await n();try{const n=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:l,UserID:a},body:JSON.stringify({node_id:r,user_name:a})}),{likes:i}=await n.json();return i||0}catch(e){return console.error(e),0}},dislike:async function(r){if(!r)return 0;const{token:l,name:a}=await n();try{const n=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:l,UserID:a},body:JSON.stringify({node_id:r,user_name:a})}),{likes:i}=await n.json();return i||0}catch(e){return console.error(e),0}}}},e.joinList=function(e){return t=>t.reduce(((t,n,r)=>t.length?t.concat({...e,key:r},n):[n]),[])},e.projectSettings=d,e.setup=t,e.url=B,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";const t=(e,n)=>{t._jsx=e,t._jsxs=n||e};t.vue=e=>{t(((t,{children:n,dangerouslySetInnerHTML:l,...r}={})=>{const a=Object.assign({},r,l?{innerHTML:l.__html}:{});return e(t,a,"string"!=typeof t?()=>n:n)}))};const n=(...e)=>t._jsx(...e),l=(...e)=>t._jsxs(...e),r=e=>(e._tmpl||(e._tmpl=function(t,n){const{children:l,...r}=t||{},a=n?.slots?.default,o=l||a&&a();return e(Object.assign(r,o&&{children:o}),n)},e._tmpl.inheritAttrs=!1),e._tmpl);const a="likesToken";const o={h1:"text-m-title",h2:"text-m-title",h3:"text-m-title-md",h4:"text-m-title-xs",h5:"text-m-title-xs",h6:"text-m-title-xs"},i=r((e=>{const{className:t,headingType:l,title:r,as:a}=e;if(!l)return;return n(a||l,{className:`font-sans font-medium m-0 ${o[l]} ${t||""}`,children:r})}));var c,s;!function(e){e.ActualBalanceIcon="ActualBalanceIcon",e.AirPlane="AirPlane",e.AppleIcon="AppleIcon",e.ArrowDownIcon="ArrowDownIcon",e.ArrowLeftIcon="ArrowLeftIcon",e.ArrowUpIcon="ArrowUpIcon",e.AtmIcon="AtmIcon",e.BankIcon="BankIcon",e.BurgerIcon="BurgerIcon",e.Calendar2Icon="Calendar2Icon",e.CalendarCircleIcon="CalendarCircleIcon",e.CalendarIcon="CalendarIcon",e.CalendarTickIcon="CalendarTickIcon",e.CardIcon="CardIcon",e.CardPosIcon="CardPosIcon",e.CardTickIcon="CardTickIcon",e.CardWithGemIcon="CardWithGemIcon",e.CarIcon="CarIcon",e.ChartSquareIcon="ChartSquareIcon",e.CinemaIcon="CinemaIcon",e.ClockIcon="ClockIcon",e.CloseIcon="CloseIcon",e.ComfortableCompIcon="ComfortableCompIcon",e.CreditCardsIcon="CreditCardsIcon",e.DiscountShapeIcon="DiscountShapeIcon",e.DocIcon="DocIcon",e.DocIconMonoColor="DocIconMonoColor",e.DocsIcon="DocsIcon",e.DocumentTextIcon="DocumentTextIcon",e.DollarIcon="DollarIcon",e.DoneIcon="DoneIcon",e.EarthIcon="EarthIcon",e.EmptyWalletChangeIcon="EmptyWalletChangeIcon",e.EmptyWalletIcon="EmptyWalletIcon",e.EuroIcon="EuroIcon",e.GeolocationIcon="GeolocationIcon",e.GlassIcon="GlassIcon",e.GlobalIcon="GlobalIcon",e.GpsIcon="GpsIcon",e.GridIcon="GridIcon",e.InterestGrowthIcon="InterestGrowthIcon",e.InterestIcon="InterestIcon",e.JCBIcon="JCBIcon",e.LoupeIcon="LoupeIcon",e.MasterCardIcon="MasterCardIcon",e.MinusIcon="MinusIcon",e.MirIcon="MirIcon",e.MoneyIcon="MoneyIcon",e.MoneyInsuranceIcon="MoneyInsuranceIcon",e.MonitorMobileIcon="MonitorMobileIcon",e.NewDocIcon="NewDocIcon",e.OfficeIcon="OfficeIcon",e.OkIcon="OkIcon",e.PassSendIcon="PassSendIcon",e.PercentageRoundIcon="PercentageRoundIcon",e.PercentageSquareIcon="PercentageSquareIcon",e.PersonalCardIcon="PersonalCardIcon",e.PlayMarketIcon="PlayMarketIcon",e.PlusIcon="PlusIcon",e.PowerIcon="PowerIcon",e.Profile2UserIcon="Profile2UserIcon",e.ProfileIcon="ProfileIcon",e.PumpkinIcon="PumpkinIcon",e.RoundRubleIcon="RoundRubleIcon",e.SafeIcon="SafeIcon",e.ShieldTickIcon="ShieldTickIcon",e.SignDocsIcon="SignDocsIcon",e.SmallClockIcon="SmallClockIcon",e.SoundIcon="SoundIcon",e.TelegramIcon="TelegramIcon",e.UnionPayIcon="UnionPayIcon",e.UserTickIcon="UserTickIcon",e.VisaIcon="VisaIcon",e.VKIcon="VKIcon",e.WalletAdd2Icon="WalletAdd2Icon",e.WalletAddIcon="WalletAddIcon",e.WalletIcon="WalletIcon",e.WalletWithMoneyIcon="WalletWithMoneyIcon",e.WateringCan="WateringCan"}(c||(c={})),function(e){e.ActualBalanceIcon="Деньги",e.AirPlane="Самолет",e.AppleIcon="Лого «Apple»",e.ArrowDownIcon="Стрелка 'Вниз'",e.ArrowLeftIcon="Стрелка",e.ArrowUpIcon="Стрелка вверх",e.AtmIcon="Банкомат",e.BankIcon="Банк",e.BurgerIcon="Бургер",e.Calendar2Icon="Календарь 2",e.CalendarCircleIcon="Скруглённый календарь",e.CalendarIcon="Календарь",e.CalendarTickIcon="Календарь с галочкой",e.CardIcon="Кред. карта",e.CardPosIcon="Кред. карта под наклоном",e.CardTickIcon="Кред. карта с галочкой",e.CardWithGemIcon="Карта с драгоценностями",e.CarIcon="Машина",e.ChartSquareIcon="Деньги внутри кошелька",e.CinemaIcon="Кино",e.ClockIcon="Часы",e.CloseIcon="Крестик",e.ComfortableCompIcon="Кресло",e.CreditCardsIcon="Кредитные карты",e.DiscountShapeIcon="Скидка",e.DocIcon="Документ",e.DocIconMonoColor="Документ (одноцветный)",e.DocsIcon="Документы",e.DocumentTextIcon="Документ с текстом",e.DollarIcon="Доллар",e.DoneIcon="Зелёная 'галочка'",e.EarthIcon="Земля",e.EmptyWalletChangeIcon="Пустой кошелёк с возвратом",e.EmptyWalletIcon="Пустой кошелёк",e.EuroIcon="Евро",e.GeolocationIcon="Геолокация",e.GlassIcon="Зеркало",e.GlobalIcon="Глобус",e.GpsIcon="Gps",e.GridIcon="Сетка (белая)",e.InterestGrowthIcon="Диаграмма роста",e.InterestIcon="Скидка",e.JCBIcon="JCB",e.LoupeIcon="Лупа",e.MasterCardIcon="MasterCard",e.MinusIcon="Минус",e.MirIcon="МИР",e.MoneyIcon="Деньги",e.MoneyInsuranceIcon="Денежное страхование",e.MonitorMobileIcon="Монитор и мобильный",e.NewDocIcon="Новый документ",e.OfficeIcon="Офис",e.OkIcon="Лого «Одноклассники»",e.PassSendIcon="Бизнес",e.PercentageRoundIcon="Проценты (круг.)",e.PercentageSquareIcon="Проценты",e.PersonalCardIcon="Персональная карта",e.PlayMarketIcon="Лого «PlayMarket»",e.PlusIcon="Плюс",e.PowerIcon="Щит",e.Profile2UserIcon="Профиль, 2 персоны",e.ProfileIcon="Профиль",e.PumpkinIcon="Тыква",e.RoundRubleIcon="Рубль (круг.)",e.SafeIcon="Сейф",e.ShieldTickIcon="Безопасность",e.SignDocsIcon="Подписанные документы",e.SmallClockIcon="Маленькие часы",e.SoundIcon="Звук",e.TelegramIcon="Лого «Telegram»",e.UnionPayIcon="UnionPay",e.UserTickIcon="Пользователь",e.VisaIcon="Visa",e.VKIcon="Лого «VK»",e.WalletAdd2Icon="Пополнение карты",e.WalletAddIcon="Кошелёк с плюсом",e.WalletIcon="Кошелёк",e.WalletWithMoneyIcon="Кошелёк с деньгами",e.WateringCan="Добавить продукт"}(s||(s={}));const d=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 ENABLE_ASSIST(){return this._.ENABLE_ASSIST}get SITEMAP(){return this._.SITEMAP}get CDN(){return this._.CDN}},m={normal:"text-primary-main",black:"text-black",white:"text-black invert"},h=r((({className:e="",imageClassName:t="",name:r="",alt:a=`Иконка ${s[r]||r}`,title:o=a,iconVersion:i="normal",asSVG:c,...h})=>{const u=`${d.CDN||""}icons/${r}.svg`;return c?l("svg",{className:e,...h,"aria-hidden":"true",children:[o?n("title",{children:o}):null,a?n("desc",{children:a}):null,n("use",{className:`${m[i]} ${t}`,href:`${u}#icon`,xlinkHref:`${u}#icon`})]}):n("img",{className:e,src:u,alt:a,title:o,...h,"aria-hidden":"true"})}));function u(e){return"string"==typeof e?"normal":e.iconVersion||"normal"}const p=r((({className:e="",image:t,imageClassName:l="",...r})=>{const a="string"==typeof t?t:t?.icon;return a||""===a?n(h,{className:e,imageClassName:l,iconVersion:u(t),name:a,...r}):n(x,{className:e,imageClassName:l,image:t})})),x=r((({className:e="",image:t,imageClassName:r=""})=>t?l("picture",{className:e,children:[t?.sources?.length?t.sources.map((({src:e,format:t},l)=>n("source",{srcSet:e,type:b(t)},`${l}_${e}`))):null,g(t,r)]}):null)),g=(e,t="")=>{const l={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"100%"},r=e.title||"",a=e.alt||e.title;return n("img",{src:e.src,className:`m-auto ${t}`,alt:a,title:r,style:l,...e.size})};function b(e){return e?`image/${String(e)}`:void 0}const f={left:"text-left",center:"text-center",right:"text-right"},y={transparent:{background:"bg-transparent",text:"text-primary-text",description:"text-primary-text"},primary:{background:"bg-white",text:"text-primary-text",description:"text-primary-text"},secondary:{background:"bg-primary-main",text:"text-white",description:"text-white/80"}},v=r((({bgColorHeadline:e="transparent",className:t="",title:r,description:a,image:o,align:c="left"})=>{const s=y[e];return l("section",{className:`px-4 py-6 ${s.background} ${t}`,children:[r?n(i,{headingType:"h2",className:`${s.text} ${f[c]}`,title:r}):null,a?n("p",{className:`font-normal text-m-md ${s.description} ${f[c]} ${r?"mt-2.5":""}`,children:a}):null,o?.src&&n("div",{className:"mt-5 mx-auto flex justify-center",children:n(p,{image:o})})]})})),N=r((({children:e,activeIndex:t,indexFraction:l,showDots:r})=>{const a=e=>n=>{if(e===t)return;const l=n.currentTarget.parentElement?.previousElementSibling;l?.children[e]?.scrollIntoView({behavior:"smooth",block:"nearest"})};return r&&e?.length?n("div",{className:"flex gap-2 mx-auto mt-5 w-fit",children:e?.map(((e,r)=>n("div",{onClick:a(r),className:"bg-primary-main opacity-30 w-1.5 h-1.5 min-w-1.5 min-h-1.5 rounded-full",style:w(r,t,l),"aria-hidden":!0},String(r))))}):null})),w=(e,t,n)=>{if(e<t||e>t+1)return null;const l=1-n;return e===t?{opacity:""+(.3+.7*l),width:6+16*l+"px"}:{opacity:""+(.3+.7*n),width:6+16*n+"px"}},I=r((({className:e="",children:t,...l})=>n("div",{className:`snap-center snap-always min-w-full box-border ${e}`,role:"listitem",...l,children:t}))),C=e=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e}px`}),k=r((({className:e="",children:t,activeIndex:l,onScroll:r,gap:a=14,padding:o=16})=>n("div",{className:`overflow-auto flex horizontal-list no-scrollbar ${e}`,style:{...C(o),gap:`${a}px`},role:"list",onScroll:r,children:t?.length?t?.map(((e,t)=>n(I,{style:C(o/4),"aria-current":Boolean(l===t),children:e},String(t)))):n(I,{children:t})}))),S=r((({className:e,context:t,children:r,gap:a=14,padding:o=16,showDots:i=!0,onSlideChange:c})=>{const[s,d]=t.useState(0),[m,h]=t.useState(0),u={activeIndex:s,indexFraction:m,showDots:i,children:r};return l("div",{className:e,children:[n(k,{gap:a,padding:o,activeIndex:s,onScroll:e=>{const{scrollLeft:t,clientWidth:n,childElementCount:l,scrollWidth:r,children:i}=e.currentTarget,m=i[0].offsetWidth-o/2,u=(({gap:e,padding:t,clientWidth:n,scrollWidth:l,childElementCount:r,itemWidth:a})=>{const o=l-n;if(2===r)return[[0,o],[o,l]];const i=a+e,c=n-e-t,s=r-2,d=new Array(r).fill(0).map(((e,t)=>0===t||t===s?[t>0?o-c:0,t>0?o:c]:[(t-1)*i+c,t*i+c]));return d[r-1]=[o,l],d})({gap:a,padding:o,clientWidth:n,scrollWidth:r,childElementCount:l,itemWidth:m}),{index:p,fraction:x}=((e,t)=>{const n=t.findIndex((([t,n])=>t<=e&&e<n));if(n<0)return{index:n,fraction:0};const[l,r]=t[n];return{index:n,fraction:(e-l)/(r-l)}})(t,u);p!==s&&c&&c(),d(p),h(x)},children:r}),n(N,{...u})]})})),$=r((({className:e,iconClassName:t,textClassName:r,suffixClassName:a,doc:o,icon:i})=>{const{text:c,fileSize:s,...d}=o;return l("a",{className:e,role:"link",...d,children:[i?n(p,{className:t,image:i,width:"24px",height:"24px",asSVG:!0}):null,c?l("span",{className:r,children:[c,n("span",{className:a,children:d?.href&&T(D(d.href),s)})]}):null]})})),T=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),D=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},B=r((({className:e="",doc:t,icon:l})=>n($,{className:`flex h-full box-border ${e}`,iconClassName:"mr-3 min-w-6 min-h-6",doc:t,icon:l}))),R=r((({context:e,hasBorder:t=!0,documents:l,icon:r})=>n(S,{context:e,className:"text-m-sm text-primary-main",children:l?.length?l.map(((e,l)=>n(B,{className:t?"rounded-md border-main-stroke border border-solid p-4":"",doc:e,icon:r},String(l)))):null}))),_=r((({hasBorder:e=!0,documents:t,icon:l})=>n("div",{className:"text-m-sm text-primary-main flex flex-col "+(e?"gap-3.5":"gap-2"),role:"list",children:t?.length?t.map(((t,r)=>n("div",{role:"listitem",children:n(B,{className:e?"rounded-md border-main-stroke border border-solid p-4":"",doc:t,icon:l})},String(r)))):null}))),V=r((({className:e="",context:t,title:r,subtitle:a,icon:o={icon:"DocIconMonoColor"},documents:c,orientation:s="vertical",hasBorder:d=!0})=>l("section",{className:`font-sans text-primary-text py-6 px-4 bg-white overflow-x-hidden ${e}`,children:[r?n(i,{headingType:"h2",className:"text-center "+(a?"mb-2":"mb-5"),title:r}):null,a?n("h3",{className:"mt-0 font-normal mb-5 text-center text-m-md",children:a}):null,"vertical"===s?n(_,{hasBorder:d,documents:c,icon:o}):n(R,{context:t,hasBorder:d,documents:c,icon:o})]}))),A=e=>e?.includes("//"),P=e=>(e||"").replace(/\/?\?.*/,""),L=e=>{if(!e||!A(e))return;const t=e,n=t.indexOf("//"),l=t.indexOf("/",n+"//".length);return-1!==l?t.substring(0,l):t};var M=Object.freeze({__proto__:null,isURL:A,withoutQuery:P,getOrigin:L,getHash:e=>{if(!e||!A(e))return;const t=e.indexOf("#");return-1!==t?e.substring(t,e.length):void 0}});const G="/mobile",j=(e,t)=>{if(!e)return e;const n=L(t?.href);return n?e.replace(n,"")||"/":e},W=e=>e;function U({router:e,handlerDecorator:t=W},n){const l=((e,t)=>{if(!e)return e;const n=j(e,t)||"",l=t?.pathname.startsWith(G);return l&&!A(n)?`/mobile${n}`:n})(n.href,e);return{...n,href:l,"aria-label":n.text,onClick:t((t=>{const r=l&&!A(l),a=!n.target||"_self"===n.target;r&&a&&(t.preventDefault(),e.push(l))}),n)}}const E=r((e=>{const{text:t,aboveText:r,appendLeft:a,appendRight:o}=e;return l("div",{className:O(e),children:[a||null,F(e)?l("div",{children:[n("div",{className:"text-m-2xs font-light text-left",children:r}),n("div",{className:"text-button text-left",children:t})]}):null,o||null]})})),O=e=>{const{version:t,aboveText:n,rounded:l}=e;if("link"===t)return"";const r="px-8 gap-2 "+(n?"py-2":"py-[18px]");return["flex items-center justify-center",F(e)?r:"h-12 w-12",l?"rounded-full":""].join(" ")},F=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),H={primary:"text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active",secondary:"text-primary-main bg-secondary-light hover:bg-secondary-hover active:bg-secondary-active",link:"text-primary-main"},z={primary:"bg-secondary-dark text-secondary-text",secondary:"bg-secondary-light text-secondary-text",link:""},Z="w-full text-center font-sans select-none",J=r((({className:e,text:t,aboveText:l,appendLeft:r,href:a,target:o,onClick:i,children:c,disabled:s,rounded:d,version:m="primary",ariaLabel:h,...u})=>{const p=c??n(E,{text:t,aboveText:l,appendLeft:r,rounded:d,version:m});return s?n("div",{role:"button","aria-disabled":"true","aria-label":h,tabIndex:"-1",className:`inline-block ${Z} ${z[m]||""} ${d?"rounded-full":"rounded-md"} ${e||""}`,children:p}):n("a",{className:`${Z} inline-block cursor-pointer no-underline ${H[m]||""} ${d?"rounded-full":"rounded-md"} ${e||""}`,href:a,target:o,onClick:i,"aria-label":h,role:a?"link":"button",...u,children:p})})),q=r((({context:e,className:t="",buttons:l})=>{const{handlerDecorator:r}=e,a=e.useRouter();return l?.length?n("div",{className:t,children:l.map(((e,t)=>function({icon:e,...t},l){if(!t?.text)return;return n(J,e?{appendLeft:n(p,{image:e,width:"24",height:"24",asSVG:!0}),...t}:{...t},String(l))}(U({router:a,handlerDecorator:r},e),t)))}):null}));const K=r((e=>{const{className:t="",description:l}=e;return n("div",{className:`font-normal text-base ${t}`,children:l})})),Q={primary:"rounded-full inline-block mr-3 mt-2",secondary:"rounded-full inline-block mr-3 mt-2",gray:"rounded-full inline-block mr-3 mt-2",tile:"rounded-full inline-block mr-4 mt-3","tile-white":"rounded-full inline-block mr-4 mt-3"},Y={primary:"bg-primary-text",secondary:"bg-white",gray:"bg-secondary-text",tile:"bg-black","tile-white":"bg-white"},X=r((({className:e="",isDotted:t=!0,children:r,version:a="primary"})=>l("div",{className:`font-sans flex items-start ${e}`,role:"listitem",children:[t?n("div",{className:ee(a)}):null,n("span",{children:r})]}))),ee=e=>`${Q[e]} ${Y[e]} ${{primary:"w-2 h-2 min-w-2 min-h-2",secondary:"w-2 h-2 min-w-2 min-h-2",gray:"w-1.5 h-1.5 min-w-1.5 min-h-1.5",tile:"w-[7px] h-[7px] min-w-[7px] min-h-[7px]","tile-white":"w-[7px] h-[7px] min-w-[7px] min-h-[7px]"}[e]}`,te={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text",tile:"text-primary-text","tile-white":"text-white"},ne=r((e=>{const{className:t="",itemClassName:l,isDotted:r,items:a,version:o="primary"}=e;return n("section",{className:`${te[o]} ${t}`,role:"list",children:a?.length?a.map(((e,t)=>n(X,{className:l,isDotted:r,version:o,children:e},String(t)))):null})})),le=r((({className:e="",title:t,children:r,buttons:a,image:o,anchor:i=null})=>l("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,id:i,children:[t,l("div",{className:"flex grow w-full justify-between",children:[l("div",{className:"flex flex-col justify-between w-full",children:[n("div",{children:r}),a?n("div",{children:a}):null]}),o]})]}))),re={primary:"text-primary-text",secondary:"text-white"},ae={primary:"text-secondary-text",secondary:"text-white"};function oe(e){let t="text-primary-main";return"secondary"===e&&(t="text-black"),`w-6 h-6 rounded-full box-border ${t}`}const ie=r((({className:e="",context:t,title:r,headingType:a="h2",description:o,benefits:c,benefitsVersion:s="normal",buttons:d,image:m,items:h,version:u="primary",isDotted:x=!0,label:g})=>l("div",{className:`w-full ${e}`,children:[l("div",{children:[g?de(g,u):null,l(le,{context:t,title:r?n(i,{headingType:a,title:r,className:"whitespace-pre-wrap max-w-[600px]"}):null,buttons:d?.length?n(q,{context:t,buttons:d,className:"flex flex-col mt-5 gap-2.5"}):null,children:[o?n(K,{className:"mt-3 text-m-md",description:o}):null,c?.filter((e=>e.label))?.length?n("div",{className:"mt-3",children:c.map(((e,t)=>function({benefit:e,version:t="primary"},r){const a="secondary"===t;return l("div",{className:"flex gap-3 items-center mb-2.5 last:mb-0",children:[e.icon?n(p,{className:oe(t),image:{...e?.icon,iconVersion:a?"white":"normal"},width:"24",height:"24",asSVG:!0}):null,n("div",{className:`font-medium text-m-title-xs m-0 ${re[t]}`,children:e.label}),e.description&&n("div",{className:`font-normal text-m-sm ${ae[t]}`,children:e.description})]},String(r))}({benefit:e,version:u,benefitsVersion:s},t)))}):null,h?.length?n(ne,{className:"mt-3 text-m-md",items:h,version:u,isDotted:x}):null]})]}),ce(m)]})));function ce(e){return e?.src?n(p,{imageClassName:"mt-5 mx-auto block",image:{className:"block",...e}}):null}const se={primary:"text-primary-main border-secondary-hover",secondary:"text-white/80"},de=(e,t)=>n("div",{className:`m-xs px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid w-fit ${se[t]}`,children:e}),me={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},he=r((e=>{const{className:t="",version:l="primary"}=e;return n("section",{className:`font-sans bg-white px-4 py-6 ${me[l]} ${t}`,children:n(ie,{...e})})})),ue={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"}},pe=r((({title:e,description:t,blockVersion:r="primary",iconVersion:a,image:o,className:i="",items:c,isDotted:s=!0})=>{const d=ue[r];return l("section",{className:`font-sans px-4 py-[18px] flex flex-col ${d.background} ${i}`,children:["small"===a?xe(d.icon):null,"big"===a?ge(o):null,l("div",{className:"py-0.5",children:[e?n("div",{className:`font-medium text-base mb-1 ${d.title}`,children:e}):null,t?n("div",{className:`text-sm ${d.description}`,children:t}):null,c?.length?n(ne,{className:"mt-1 text-m-md",items:c,isDotted:s,version:"secondary"===r?"secondary":"gray"}):null]})]})}));function xe(e){return n("div",{className:"mb-3",children:n("div",{className:`rounded-full h-4 w-4 text-center text-xs ${e}`,children:"i"})})}function ge(e){return e?.src?n(p,{className:"pb-3 mr-auto",image:e}):null}const be={primary:"bg-white",secondary:"bg-primary-main text-white"},fe=r((({context:e,title:t,description:r,cards:a=[],className:o,orientation:c="horizontal"})=>l("section",{className:`relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${o}`,children:[l("div",{className:"flex flex-col items-center mb-5",children:[t?n(i,{headingType:"h3",className:"text-center "+(r?"mb-2":"mb-5"),title:t}):null,r?n("div",{className:"font-normal text-m-md max-w-[600px] text-center mb-5",children:r}):null]}),ye(c,a,e)]})));function ye(e,t,l){return"horizontal"===e?n(S,{context:l,children:t?.map(ve)}):n("div",{className:"grid gap-[14px]",children:t?.map(ve)})}function ve(e,t){return l("div",{className:`h-full justify-between box-border horizontal-list-item border-solid border rounded-md border-main-stroke p-4 flex flex-col\n ${be[e.version??"primary"]}`,children:[l("div",{children:[e.image?.src?n("div",{className:"flex justify-center",children:n(p,{className:"mb-3.5",image:e.image})}):null,e.title?n("h3",{className:"font-medium text-m-title-xs m-0",children:e.title}):null,e.description?Ne(e):null,e.items?.length?we(e.items,e.isDotted,e.version):null]}),e?.button?.text?(r=e.button,n(J,{className:"mt-3",appendLeft:r?.icon&&n(p,{image:r?.icon,width:"24px",height:"24px",asSVG:!0}),...r})):null]},t);var r}function Ne(e){return n("div",{className:"text-secondary-text mt-1 text-m-sm "+("secondary"===e.version?"text-white opacity-80":""),children:e.description})}function we(e,t,r="primary"){return n("section",{className:"mt-3",children:e.map(((e,a)=>l("div",{children:[t?n("div",{className:ee(r)}):null,n("span",{className:"text-m-md font-medium",children:e.title}),n("span",{className:"text-m-sm pl-2 "+("primary"===r?"text-secondary-text":""),children:e.text})]},String(a))))})}const Ie=r((({className:e="",documents:t,anchor:l=null})=>n("section",{className:`font-sans bg-white mt-[10px] ${e}`,id:l,children:n("ul",{className:"flex flex-col text-sm text-secondary-text p-0",children:t?.length?Ce(t):null})}))),Ce=e=>e.map(((e,t)=>{const{text:l,...r}=e;return n("li",{className:"mb-4 list-none",children:n("a",{className:"hover:text-primary-main",role:"link",...r,children:l||null})},`list_item_${String(t)}`)})),ke={Headline:v,LinkDocs:V,TextBlock:pe,ProductBlock:he,Gallery:fe,LinkList:Ie},Se=({blocks:e,context:t,className:n,columns:l})=>e?.length?e.map($e({context:t,className:n,columns:l})):null,$e=({context:e,columns:t,className:l})=>(r,a)=>{const o=r?.blockListType;if(!o||!(o in ke))return null;return n("div",{className:`${l} ${2===t?"w-1/2":""}`,children:n(ke[o],{context:e,...r,className:"!p-0"})},`block_${a}`)},Te=r((({blocks:e,context:t})=>n("div",{className:"transition-all duration-300 max-h-0 overflow-hidden group-last:last:pb-0",children:Se({context:t,className:"mb-5 last:mb-0 first:mt-2",blocks:e})}))),De=r((({label:e,labelIcon:t,blocks:r,bordered:a,context:o})=>{const{hasContent:i,icon:c,handleToggle:s}=(({context:e,blocks:t,initialState:n=!1})=>{const[l,r]=e.useState(n),a=t?.length;return{isActive:l,hasContent:a,icon:l?"MinusIcon":"PlusIcon",handleToggle:e=>{if(!a)return;r(!l);const t=(({currentTarget:e})=>e.nextSibling)(e);t.style.maxHeight=t.style.maxHeight?null:`${t.scrollHeight}px`}}})({context:o,blocks:r});return l("li",{className:`${Be(a)} border-solid border-main-divider`,children:[l("button",{className:`border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text\n ${a?"":"py-[14px] px-0"}\n ${i?"group cursor-pointer":""}`,onClick:s,children:[l("span",{className:"text-m-title-xs pr-2.5 font-medium flex "+(i?"group-hover:text-primary-main":""),children:[t?n(p,{image:t,width:"24",height:"24",asSVG:!0,className:"mr-3"}):null,e]}),i?n(p,{image:c,width:"24",height:"24",asSVG:!0}):null]}),i?n(Te,{blocks:r,context:o}):null]})}));function Be(e){return e?"border p-4 rounded mb-4":"border-0 border-b last:border-b-0"}const Re=r((({title:e,description:t,accordionItems:r,context:a,className:o="",bordered:c})=>l("section",{className:`py-6 px-4 font-sans bg-white text-primary-text ${o}`,children:[e?n(i,{headingType:"h3",className:"mb-2 text-center",title:e}):null,t?n("div",{className:"mb-5 text-m-md text-center",children:t}):null,r?.length?n("ul",{className:"list-none m-0 p-0",children:r.map(((e,t)=>n(De,{...e,context:a,bordered:c},`AccordionItem${t}`)))}):null]}))),_e=(e=!1)=>e?"text-white":"",Ve=(e=!1)=>"text-m-sm mb-3.5 "+(e?"text-white":"text-secondary-text/80"),Ae=r((({icon:e,image:t,title:r,subtitle:a,isFillGradient:o})=>l("div",{role:"columnheader",scope:"col",children:[e?n(p,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}):null,t?.src&&n("div",{className:"mb-3.5",children:n(p,{image:t})}),r?n(i,{headingType:"h4",className:_e(o),title:r}):null,a?n("div",{className:Ve(o),children:a}):null]}))),Pe=r((({cell:e,rowHeader:t,isFillGradient:l=!1})=>n("div",{className:"box-border flex flex-col",role:"cell",children:n("div",{className:"h-full border-main-divider border border-t-0 border-x-0",children:e.map(Ge(l,t))})}))),Le=(e=!1)=>"text-right "+(e?"text-white":""),Me=(e=!1)=>"text-right "+(e?"text-white/80":"text-secondary-text"),Ge=(e,t)=>({label:r,description:a},o)=>l("div",{className:"flex justify-between text-m-sm py-3.5",children:[n("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),l("div",{className:"basis-1/2",children:[r?n("div",{className:Le(e),children:r}):null,a?n("div",{className:Me(e),children:a}):null]})]},String(o)),je=r((({header:e,columnData:t,visibleRowLength:r=0,isFillGradient:a,showRow:o,onToggleColumn:i})=>{const c=t?.slice(0,o?t.length:r),s=a?"secondary":"primary";return l("div",{className:`border border-main-stroke rounded-md p-4 mb-3.5 ${a?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[n(Ae,{...e,isFillGradient:a}),c?.length?c.map((({rowHeader:e,cell:t},l)=>n(Pe,{cell:t,rowHeader:e,isFillGradient:a},String(l)))):null,o&&We({header:e,buttonVersion:s}),Ue({onToggleColumn:i,isFillGradient:a,showRow:o})]})})),We=({header:e,buttonVersion:t})=>n(J,{href:e.link.href,target:e.link.target,version:t,className:"font-medium text-m-sm mt-4 py-[11px]",children:e.link.text}),Ue=({onToggleColumn:e,isFillGradient:t,showRow:l})=>n("div",{className:"mt-5",role:"cell",children:n("a",{role:"link",onClick:e,className:"font-medium text-m-sm cursor-pointer "+(t?"text-white/80":"text-primary-main"),children:l?"Скрыть":"Показать описание"})}),Ee=r((({className:e,context:t,title:r,rowHeaders:a,columns:o,visibleRowLength:c=0,isColoredFirstColumn:s=!1,orientation:d="vertical"})=>{const m=o?.map((({data:e,header:t})=>({header:t,column:e?.map(((e,t)=>({cell:e,rowHeader:a?.[t]?.title})))})))||[],[h,u]=t.useState(new Array(o?.length).fill(!c));return l("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${e||""}`,children:[r?n(i,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:r}):null,Oe({tableData:m,context:t,visibleRowLength:c,isColoredFirstColumn:s,columnsViewState:h,handleToggleColumn:e=>{h[e]=!h[e],u([...h])},orientation:d,setColumnsViewState:u})]})})),Oe=({context:e,tableData:t,visibleRowLength:l,isColoredFirstColumn:r,columnsViewState:a,handleToggleColumn:o,orientation:i="horizontal",setColumnsViewState:c})=>n("div",{role:"table",children:t?.length?Fe({orientation:i,context:e,columnsViewState:a,setColumnsViewState:c,tableData:t,visibleRowLength:l,isColoredFirstColumn:r,handleToggleColumn:o}):null}),Fe=({orientation:e,context:t,columnsViewState:l,setColumnsViewState:r,tableData:a,visibleRowLength:o,isColoredFirstColumn:i,handleToggleColumn:c})=>"horizontal"===e?n(S,{context:t,onSlideChange:ze(l,r),children:a.map(He({context:t,visibleRowLength:o,isColoredFirstColumn:i,columnsViewState:l,handleToggleColumn:c}))}):a.map(He({context:t,visibleRowLength:o,isColoredFirstColumn:i,columnsViewState:l,handleToggleColumn:c})),He=({context:e,visibleRowLength:t,isColoredFirstColumn:l,columnsViewState:r,handleToggleColumn:a})=>(o,i)=>n(je,{context:e,visibleRowLength:t,showRow:r[i],header:o.header,columnData:o.column,isFillGradient:0===i&&l,onToggleColumn:()=>a(i)},String(i)),ze=(e,t)=>()=>{t(new Array(e.length).fill(!1))};async function Ze(){try{const e=await fetch(Je,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(qe)});return await e.json()}catch(e){console.error(e)}}const Je="https://coins.rshb.ru/api/catalog/vue_storefront_magento_1_currency_rates_average/currency_rates_average/_search?size=10000",qe={query:{bool:{must:[{term:{russian_region_code:"77"}},{term:{from_volume:"0"}},{terms:{currency_pair:["USD/RUB","EUR/RUB"]}}]}}},Ke=e=>e.reduce(((e,t)=>{const n=t.currency_first;if(!Qe(t.rate_buy)&&!Qe(t.rate_sell))return e;const l=n.code;return e.some((e=>e.code===l))||e.push({code:l,buy:Number(t.rate_buy),sell:Number(t.rate_sell)}),e}),[]),Qe=e=>Math.round(e)>0,Ye=e=>{const t="col-span-",n=e.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function Xe(e=""){const t=Ye(e);return t<=4?"h4":t<=8?"h3":"h2"}var et;!function(e){e.RUB="RUB",e.EUR="EUR",e.USD="USD"}(et||(et={}));const tt=new Intl.NumberFormat("ru",{style:"currency",currency:et.RUB}),nt=e=>e?tt.format(e):"",lt="font-light text-left font-normal text-sm text-secondary-text",rt={USD:"DollarIcon",EUR:"EuroIcon"},at=r((({className:e,exchangeCurrencyItems:t})=>l("table",{className:`h-fit w-fit ${e}`,children:[n("thead",{children:l("tr",{children:[n("th",{className:lt,children:"Валюта"}),n("th",{className:`${lt} pl-11`,children:"Купить"}),n("th",{className:`${lt} pl-11`,children:"Продать"})]})}),n("tbody",{children:t.map((e=>ot(e)))})]}))),ot=e=>{const t=e?.code;return l("tr",{className:"pb-1",children:[n("td",{className:"pt-4",children:l("div",{className:"flex items-center",children:[t?n(p,{image:{icon:rt[t]},width:"24",height:"24"}):null,n("span",{className:"text-m-title-md ml-2",children:t})]})}),n("td",{className:"pt-4 pl-11 m-title-md font-light",children:nt(e.buy)}),n("td",{className:"pt-4 pl-11 m-title-md font-light",children:nt(e.sell)})]},t)},it=r((({className:e="",address:t,distance:r})=>l("div",{className:`flex text-sm ${e}`,children:[n(p,{image:{icon:"GpsIcon"},width:"24",height:"24",asSVG:!0}),l("div",{className:"ml-3 font-light",children:[t?n("p",{className:"m-0 mb-[3px]",children:t}):null,r?l("p",{className:"text-secondary-text m-0",children:["Курс указан для ближайшего офиса - ",r]}):null]})]}))),ct=(e,t,n)=>{const l=Number(st(e))*Math.pow(t,n?-1:1);return Number.isInteger(l)?l:((e,t=2)=>{const n=Math.pow(10,t);return Math.round(parseFloat(String(e))*n)/n})(l)},st=e=>e.replace(/[^\d.,]/g,"").replace(",","."),dt=e=>{return(t=[[e=>e.value!==et.RUB&&e.oppositeValue!==et.RUB,()=>e.handleConvert(e.value,et.RUB)],[e=>e.value===et.RUB&&e.oppositeValue===et.RUB,()=>e.handleConvert(e.value,et.USD)],[()=>!0,()=>e.handleConvert(e.value)]],e=>{const[,n]=t.find((([t])=>t(e)))||[];return n})(e)?.();var t};const mt=r((({className:e="",id:t,name:l,type:r="text",placeholder:a,pattern:o,value:i,onChange:c})=>n("input",{className:e,id:t,name:l||t,type:r,pattern:o,placeholder:a,value:i,onChange:e=>(e=>{const t=e.target.validity.valid?e.target.value:i;c(t)})(e)}))),ht=r((({className:e="",id:t,name:l,children:r,value:a,onChange:o})=>n("select",{className:e,id:t,name:l||t,value:a,onChange:e=>o(e.target.value),children:r}))),ut=r((({className:e="",value:t,selected:l,children:r})=>n("option",{className:e,value:`${t}`,selected:l,children:r})));function pt(e){const{placeholder:t,rates:r,selected:a,value:o,setValue:i,setSelected:c}=e;return l("div",{className:"relative flex items-center",children:[n(mt,{className:"h-10 border pl-4 pt-[7px] pb-[7px] rounded-md text-m-sm w-full appearance-none -mr-12",placeholder:t,type:"text",value:o,onChange:i}),r.length?n(ht,{className:"h-9 -translate-x-4",value:a,onChange:e=>c(e),children:r.map(((e,t)=>n(ut,{value:e.code,children:e.code},String(t))))}):null]})}const xt=r((({context:e,className:t="",currencyRatesBuy:r,currencyRatesSell:a})=>{const[o,i]=e.useState({inputSell:"",inputBuy:"",selectSell:r?.[0]?.code||et.RUB,selectBuy:a?.[0]?.code||et.USD}),c=e=>{i((t=>({...t,...e})))};return l("div",{className:`grid gap-3.5 ${t}`,children:[pt({placeholder:"Хочу продать",rates:r,selected:o.selectSell,setSelected:gt(o,c,a),value:o.inputSell,setValue:e=>ft(c,a)(e,o.selectSell,o.selectBuy)}),pt({placeholder:"Получу",rates:a,selected:o.selectBuy,setSelected:bt(o,c,r),value:o.inputBuy,setValue:e=>yt(c,r)(e,o.selectBuy,o.selectSell)}),n(J,{className:"box-border mt-3.5 py-3 h-12 w-full",version:"primary",href:"https://coins.rshb.ru/exchange",target:"_blank",children:"Купить валюту"})]})})),gt=(e,t,n)=>l=>{t({selectSell:l}),dt({value:l,oppositeValue:e.selectBuy,handleConvert:(l=e.selectSell,r=e.selectBuy)=>{ft(t,n)(e.inputSell,l,r)}})},bt=(e,t,n)=>l=>{t({selectBuy:l}),dt({value:l,oppositeValue:e.selectSell,handleConvert:(l=e.selectBuy,r=e.selectSell)=>yt(t,n)(e.inputBuy,l,r)})},ft=(e,t)=>(n,l,r)=>{e({inputSell:st(n),selectBuy:r});const a=t.find((e=>e.code===r))?.buy||t.find((e=>e.code===l))?.sell;a&&e({inputBuy:String(ct(n,a,l===et.RUB)||"")})},yt=(e,t)=>(n,l,r)=>{e({inputBuy:st(n),selectSell:r});const a=t.find((e=>e.code===r))?.sell||t.find((e=>e.code===l))?.buy;a&&e({inputSell:String(ct(n,a,l===et.RUB)||"")})},vt={address:"Москва, ул.Ленина д.28",distance:"6км"},Nt=r((({className:e="",context:t,title:r="Курсы обмена валют",anchor:a=null})=>{const o=function(e){const{data:t}=e(Je,Ze),n=t?.hits?.hits?.map((e=>e._source))||[];return n.length?Ke(n):n}(t.useAsyncData),c=o.filter((e=>e.buy));c.unshift({code:et.RUB});const s=o.filter((e=>e.sell));return s.push({code:et.RUB}),n("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e}`,id:a,children:n(le,{context:t,title:n(i,{headingType:Xe(e),title:r,className:"whitespace-pre-wrap"}),children:l("div",{className:"flex",children:[l("div",{className:"mr-[43px] pt-4",children:[o?n(at,{className:"mb-[31px]",exchangeCurrencyItems:o}):null,n(it,{...vt})]}),o.length&&c.length&&s.length?n(xt,{className:"grow",context:t,currencyRatesBuy:c,currencyRatesSell:s}):null]})})})})),wt=r((({className:e,viewBox:t,fill:l="none",width:r,height:a,paths:o,...i})=>n("svg",{xmlns:"http://www.w3.org/2000/svg",className:e,viewBox:t,fill:l,width:r,height:a,children:o.map((({d:e,fill:t,...l},r)=>n("path",{d:e,fill:t||"currentColor",...i,...l},r)))}))),It=["m13.72 25.51 4.42-4.33v-2.95l-4.42 4.32v2.96Zm0-10.98 4.42-4.35V7.41l-4.42 4.31v2.8Zm0 3.63 4.42-4.33v-2.78l-4.42 4.32v2.8ZM12.46 7.44l-.6-.56V0h-.66v6.22l-.58-.57V0h-.67v5l-.59-.58V0H8.7v6.56l4.44 4.33V0h-.67v7.44Zm1.26 14.35 4.42-4.33v-2.78L13.72 19v2.8Zm-5.03-.61 4.44 4.33v-2.96l-4.44-4.32v2.95Zm8.79-16.76-.59.58V0h-.66v5.66l-.6.56V0h-.66v6.87l-.58.57V0h-.67v10.9l4.42-4.34V0h-.66v4.42Zm-8.79 5.76 4.44 4.35v-2.8L8.69 7.4v2.77Zm0 3.65 4.44 4.33v-2.8l-4.44-4.3v2.77Zm0 3.63 4.44 4.33V19l-4.44-4.31v2.78Zm26.37 2.29H24.3a2.25 2.25 0 0 0 .36-1.22 2.32 2.32 0 0 0-2.33-2.31 2.32 2.32 0 0 0-2.31 2.31c0 .5.16.96.43 1.34a.74.74 0 0 0-.33.61c0 .26.14.49.33.62a2.32 2.32 0 0 0-.43 1.34 2.31 2.31 0 0 0 2.31 2.31 2.32 2.32 0 0 0 2.33-2.31c0-.45-.13-.87-.36-1.22h8.01v.49h-.8v.68h.8v.7h-.8v1.3h.8v-.58h1.17v.58h.79v-1.3h-.79v-.7h.79v-.68h-.79v-.5h1.58a.56.56 0 0 0 .56-.56v-.34a.57.57 0 0 0-.56-.56Zm-11.53 2.7a1.2 1.2 0 0 1-2.4 0c0-.24.08-.47.2-.66l.34-.56a.97.97 0 0 1-.34-.75c0-.3.13-.56.33-.74l-.32-.56a1.13 1.13 0 0 1-.2-.66 1.2 1.2 0 0 1 2.4 0c0 .49-.56 1.65-.56 1.65v.62c-.01.01.55 1.17.55 1.66ZM4.67 18.34v2.89c0 2.75 1.2 4.53 1.9 5.21l4.58 4.5c1.28 1.25 1.5 1.66 1.79 2.37v-3.2c0-2.84-1.44-3.94-2.19-4.67-1.73-1.68-2.89-2.8-3.82-3.73a8.98 8.98 0 0 1-2.26-3.37Zm6.08 14.24c-1.73-1.7-2.89-2.8-3.82-3.73a10 10 0 0 1-2.25-2.98v2.49a7.87 7.87 0 0 0 1.89 5.24l4.58 4.47c1.28 1.25 1.5 1.85 1.79 2.55v-3.37c0-2.85-1.45-3.95-2.19-4.67Z","M19.88 5.34c-.32 0-.64 0-.96.02V6.7a18.5 18.5 0 1 1 .95 36.94A18.5 18.5 0 0 1 1.35 25.17c0-5.67 2.55-10.73 6.58-14.13V9.32A19.78 19.78 0 0 0 0 25.17C0 36.12 8.9 45 19.88 45a19.85 19.85 0 0 0 19.86-19.83c0-10.95-8.9-19.83-19.87-19.83Z","M33.93 35.53c.3-.41.6-.85.87-1.3v-2.66h-.87v3.96Zm2.54-4.92c.12-.4.24-.78.34-1.16h-2.88v.7h.43c.77-.02 1.63-.03 2.11.46Zm-19.19-1.27h-.78v7.91h.78v-7.9Z","M14.7 27.83h2.58c.67 0 1.14.14 1.4.4.27.25.4.72.4 1.38v7.4c0 .66-.12 1.12-.4 1.38-.4.41-1.16.41-1.78.41l-.4-.01v3.5l.78.14v-2.88c1.2 0 1.97-.4 2.34-1.22v4.29h.26l.5-.01V29.74c0-.68.13-1.16.4-1.43.25-.27.72-.4 1.37-.4.67 0 1.65-.1 2.16.4.26.27.38.76.38 1.43v3.8h-1.77v-4.06h-.77v12.99c.26-.03.5-.07.77-.12V34.3h1.77v7.64c.36-.1.72-.21 1.08-.34v-7c0-.8.19-1.4 1-1.67l-.9-4.87h1.8l.3 5.31h.22l.3-5.31h1.88l-1.01 4.87c.84.3 1.01.81 1.01 1.66v4.53a16.63 16.63 0 0 0 1.5-1.27v-9.83h5.25l.1-.72H24.93l.17.89c-.38-.72-1.12-1.08-2.2-1.08h-.77c-1.3 0-2.1.52-2.4 1.55-.27-1.08-1.1-1.62-2.46-1.62h-3.36v14.52c.26.09.52.18.78.25V27.84Zm16.29 5.58-.85-.8.85-4.37v5.17Z","M27.66 40.79c.27-.14.55-.28.8-.43v-5.98h-.8v6.4Z"],Ct={"bg-white":"text-primary-main",transparent:"text-white"},kt={"bg-white":"text-black",transparent:"text-white"},St=r((({className:e="",href:t,children:r,targetBlank:a,bgColor:o="bg-white",hideTitle:i})=>l("a",{className:`inline-flex items-center font-sans no-underline ${e}`,href:t||"https://rshb.ru/",target:a?"_blank":"_self","aria-label":"Россельхозбанк",children:[n(wt,{className:`${Ct[o]} w-10 h-[38px]`,viewBox:"0 0 40 45",paths:It.map((e=>({d:e})))}),i?null:n("span",{className:`${kt[o]} text-sm font-medium ml-2.5`,children:r||"Россельхозбанк"})]}))),$t=r((({className:e,title:t="Мобильное приложение",description:r,href:a="#"})=>n("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light ${e||""}`,children:a?l("div",{className:"flex",children:[n("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-[50px] h-[50px]",children:n(St,{className:"w-[33px]",bgColor:"transparent",hideTitle:!0})}),l("a",{href:a,target:"_blank",className:"flex flex-col justify-center pl-3 font-sans",children:[n("div",{className:"text-m-button font-medium mb-[3px]",children:t}),n("div",{className:"text-m-button text-secondary-text",children:r})]})]}):null}))),Tt=r((({className:e="",items:t,hasButton:r,context:a})=>{const o=a.useRouter(),{handlerDecorator:i}=a;return l("div",{className:e,children:[t?.length?t.map(Dt):null,r?n(J,{version:"primary",className:"mb-6 w-full",...U({router:o,handlerDecorator:i},{text:"Обратная связь",href:"/",target:"_blank"})}):null]})})),Dt=(e,t)=>{const{type:r,text:a,description:o}=e;return l("div",{className:"mb-4",children:[n("div",{children:Bt(r,a)}),n("div",{className:"mt-1 font-sans font-light text-sm text-secondary-text",children:o})]},String(t))},Bt=(e,t="")=>{switch(e){case"tel":return n("a",{className:"font-sans text-xl text-primary-text no-underline",href:`tel:${Rt(t)}`,children:t});case"email":return n("a",{className:"font-sans text-xl text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return n("span",{children:t})}},Rt=e=>e.replaceAll(/\D/g,""),_t=r((({title:e,links:t,className:r="",context:a})=>{const o=a.useRouter(),{handlerDecorator:i}=a;return l("div",{className:r,children:[n("span",{className:"text-primary-text font-sans font-medium text-sm",children:e}),t?.length?n("div",{className:"flex flex-col gap-2 pt-3",children:t.map(((e,t)=>n(Vt,{index:t,...U({router:o,handlerDecorator:i},e)},String(t))))}):null]})})),Vt=r((({className:e="",index:t,text:l,href:r,target:a,onClick:o})=>n("a",{className:`font-sans font-normal text-sm text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:r,target:a,onClick:o,children:l||`Документ ${t}`}))),At=[{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"}],Pt=r((({href:e,version:t="primary"})=>{const{icon:l,label:r}=At.find((({origins:t})=>t.some((t=>e?.includes(t)))))||{};if(!l)return null;const a="primary"===t;return n("a",{className:`flex items-center justify-center rounded-md w-14 h-14 group box-border ${"secondary"===t?"bg-secondary-light hover:bg-secondary-hover":"border-main-divider border-solid border-[1px] hover:bg-primary-main"} ${a?"hover:text-black":""}`,href:e,"aria-label":r,target:"_blank",rel:"noopener noreferrer",children:l?n(p,{image:l,imageClassName:a?"group-hover:text-white":"",width:"24",height:"24",asSVG:!0}):null})})),Lt=r((({className:e,media:t,version:l,context:r})=>{const a=r.useRouter(),{handlerDecorator:o}=r;return n("div",{className:`flex gap-2 items-start justify-start pt-6 pb-6 ${e||""}`,children:t?.map(((e,t)=>n(Pt,{version:l,...U({router:a,handlerDecorator:o},e)},String(t))))})})),Mt=r((({className:e,links:t,context:r})=>{const a=r.useRouter(),{handlerDecorator:o}=r;return l("div",{className:`${e||""}`,children:[n("div",{className:"py-6",children:n("span",{className:"font-sans font-normal text-xs text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?n("div",{className:"flex flex-col justify-start items-start gap-2",children:t.map(((e,t)=>n(Gt,{index:t,...U({router:a,handlerDecorator:o},e)},String(t))))}):null]})})),Gt=r((({className:e,index:t,text:l,href:r,target:a,onClick:o})=>n("a",{className:`font-sans font-normal text-xs text-secondary-text visited:text-secondary-text hover:text-primary-text inline-block no-underline max-w-[292px] ${e||""}`,href:r,target:a,onClick:o,children:l||`Документ ${t}`})));function jt(e){const{data:t}=e(Ut(),Wt);return t||{}}async function Wt(){const e=await fetch(Ut());return await e.json()}function Ut(){return`/wcms-resources/${d.SITEMAP||"sitemap"}.json`}const Et=r((({className:e,context:t})=>{const{term:r,setTerm:a}=t.useSearch();return l("form",{className:`relative ${e||""}`,children:[l("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[n("div",{className:"w-[20px] h-[20px]",children:n(p,{image:"LoupeIcon",width:"24",height:"24"})}),r?null:n("label",{htmlFor:"search-bar-input",className:"font-sans font-normal text-sm text-secondary-text",children:"Поиск по сайту"})]}),n("input",{id:"search-bar-input",className:"h-12 pl-12 w-full peer placeholder-transparent font-sans font-normal text-base text-black border border-solid rounded box-border outline-none pr-[6%] border-main-divider focus:border-primary-text",value:r,onChange:e=>a(e.target.value),type:"text",name:"search-bar-input",placeholder:"some search"}),n("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(),a("")},children:n(p,{image:"CloseIcon",width:"24",height:"24"})})]})})),Ot=e=>e?.map((e=>({label:e.text||"",blocks:[{accordionBlockType:"LinkList",documents:e.items||[]}]}))),Ft=r((({className:e="",documents:t,relatedEnterprises:r,contacts:a,socialMedia:o,context:i,horizontalNavigationTitle:c})=>{const s=jt(i.useAsyncData),d=s?.dispositions;return l("footer",{className:`px-4 py-[26px] bg-white ${e}`,children:[n(Tt,{className:"overflow-hidden",items:a,context:i,hasButton:!0}),n(Re,{context:i,className:"!p-0 mb-4",accordionItems:Ot(s.topItems)}),n("div",{children:d?.map(Ht)}),n($t,{context:i,title:"Мобильное приложение",description:"Загрузить для IOS и Android"}),n(Et,{context:i,className:"grow"}),n(Lt,{className:"pb-4",media:o,context:i}),n(_t,{title:c,links:r,context:i}),n(Mt,{links:t,context:i})]})})),Ht=(e,t)=>{const{icon:r,href:a,text:o}=e;return l(J,{version:"link",href:a,className:"flex text-sm mb-4",children:[r?n(p,{className:"pr-1",image:r,width:"24",height:"24",asSVG:!0}):null,n("span",{className:"pl-2.5 font-medium text-primary-text",children:o})]},`footer-${t}`)},zt=(e,t,n=((e,t)=>t.startsWith(e)))=>n(P(e),(e=>(e||"").replace(G,""))(P(A(e)?t.href:t.pathname))),Zt=e=>t=>zt(t.href,e),Jt=e=>t=>t.items?.some(Zt(e))||zt(t.href,e)||((e,t)=>L(e)===L(t.href))(t.href,e),qt=e=>t=>e?.href===t?.href,Kt=(e,t)=>{return(l=e,r=t,(l||[]).map((e=>r?.find(qt(e))||e))).concat((n=e,(t||[]).filter((e=>!n?.find(qt(e))))));var n,l,r},Qt="absolute left-0 -bottom-3 w-full h-[2px]",Yt=r((({className:e,text:t,href:r,target:a,active:o,onClick:i,children:c,bgColor:s="bg-white"})=>l("a",{className:`relative inline-block bg-transparent text-center no-underline ${e||""}`,href:r,target:a,onClick:i,children:[n("span",{className:Xt(s,o),children:t||c}),o?n("div",{className:en(s,o)}):null]}))),Xt=(e,t)=>{let n="text-white";return"bg-white"===e&&(n=t?"text-primary-main":"text-secondary-text hover:text-primary-main"),`${n} font-sans font-normal text-sm`},en=(e,t)=>t?`${"bg-white"===e?"bg-primary-main":e} ${Qt}`:Qt,tn=r((({context:e,burgerSubMenu:t,onClick:r,defaultLocation:a="",children:o})=>{const[i,c]=e.useGeolocation(a);return l("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20",children:[n("button",{className:"absolute top-4 right-4 border-none bg-transparent cursor-pointer",onClick:r,children:n(p,{image:"CloseIcon",width:"24",height:"24",asSVG:!0})}),l("button",{onClick:c,className:"flex items-center text-sm text-secondary-text p-0 mb-4 bg-transparent cursor-pointer",children:[n(p,{image:"GeolocationIcon",width:"20",height:"20",className:"text-primary-main box-border mr-2",asSVG:!0}),i]}),o,n("div",{className:"mb-7",children:t?.map(nn)}),n(Et,{context:e,className:"grow"})]})})),nn=(e,t)=>{const{icon:r,href:a,text:o}=e;return l("a",{href:a,className:"flex text-sm mb-4 hover:text-primary-main",children:[r?n(p,{className:"text-primary-main pr-1",image:r,width:"24",height:"24",asSVG:!0}):null,n("span",{className:"pl-0.5 font-medium",children:o})]},`headerSubMenu-${t}`)},ln=r((({onClick:e,bgColor:t})=>l("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-[50px]",children:[l("div",{className:"flex items-center",children:[n("button",{className:"pl-0 pr-4 border-0 bg-transparent cursor-pointer",onClick:e,"aria-label":"Открыть меню",children:n(p,{image:{icon:"BurgerIcon",iconVersion:"bg-white"===t?"black":"white"},className:"text-primary-text",width:"24",height:"24",asSVG:!0})}),n(St,{bgColor:t})]}),n("button",{className:("bg-white"===t?"text-primary-main":"text-white")+" text-sm border-0 bg-transparent cursor-pointer",children:"Войти"})]}))),rn=r((({className:e="",defaultLocation:t,bgColor:r="bg-white",context:a,topItems:o})=>{const i=a.useRouter(),c=jt(a.useAsyncData),s=c?.dispositions,{handlerDecorator:d}=a,m=Kt(c.topItems,o).find(Jt(i))?.items,h=(e=>(t=[])=>{const n=t?.filter(Zt(e));var l;return n?.length?(l=e=>e.href?.length||0,e=>e.reduceRight(((e,t)=>l(e)>l(t)?e:t)))(n):null})(i)(m),[u,p]=a.useState(!1),x=()=>p(!u);return l("header",{className:`${r} ${e}`,children:[l("div",{className:"container px-4 py-0 box-border",children:[n(ln,{onClick:x,bgColor:r}),n("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-[50px]",children:n("div",{className:"flex no-scrollbar horizontal-list h-full items-center",children:m?.map(((e,t)=>an({...U({router:i,handlerDecorator:d},e),active:e===h,bgColor:r},t)))})})]}),u?n(tn,{context:a,onClick:x,burgerSubMenu:s,defaultLocation:t,children:n(Re,{context:a,accordionItems:Ot(c.topItems),className:"!p-0 mb-4"})}):null]})})),an=(e,t)=>n(Yt,{className:"mr-8 whitespace-nowrap text-sm",...e},String(t));function on(e=""){const t=Ye(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function cn(e=""){const t=Ye(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const sn=r((({className:e,context:t,title:r,description:a="Блок в разработке...",anchor:o=null})=>n("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${cn(e)} ${on(e)} `,id:o,children:l(le,{context:t,title:r?n(i,{headingType:Xe(e),title:r,className:"whitespace-pre-wrap max-w-[600px]"}):null,children:[a?n(K,{className:"mt-4 max-w-[600px]",description:a}):null,n("figure",{className:"m-0 min-w-[600px]",children:dn()})]})}))),dn=(e=3)=>hn(100,e).map((e=>Math.floor(e))).map(mn),mn=(e,t)=>n("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),hn=(e,t)=>[e].concat(t>0?hn(e/1.618,t-1):[]),un={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},pn=r((({block:e,headingType:t,context:l,className:r=""})=>n("section",{className:`flex grow-0 shrink-0 basis-full px-4 pt-6 ${un[e?.version??"primary"]} ${r}`,children:n("div",{className:"flex grow",children:n(ie,{context:l,headingType:t||"h2",...e})})}))),xn=r((({className:e,context:t,slides:l=[]})=>{const r=l.map((e=>e.productBlock));return n("section",{className:`font-sans bg-white overflow-hidden w-100 pb-6 ${e||""}`,children:n(S,{context:t,children:r.map(((e,l)=>n(pn,{block:e,context:t},String(l))))})})})),gn={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-[50px] w-[50px] min-w-[50px] min-h-[50px]"},bn={normal:"min-h-[70px]",small:"min-h-[50px]"},fn={primary:{background:"bg-white",title:"text-primary-text",description:"text-secondary-text",iconBackground:"bg-secondary-light",iconConnector:"bg-secondary-light"},secondary:{background:"bg-primary-main",title:"text-white",description:"text-white/80",iconBackground:"bg-white/30",iconConnector:"bg-white"}},yn=e=>fn[e],vn=r((({className:e,title:t,description:r,steps:a,size:o="normal",version:c="primary"})=>{const s=yn(c);return l("section",{className:`box-border font-sans bg-white px-4 py-6 flex flex-col\n ${s.background} ${s.title} ${e||""}`,children:[t?n(i,{headingType:"h3",className:`text-center ${s.title}`,title:t}):null,r?n("p",{className:`text-m-md text-center ${s.description} ${t&&"mt-2"}`,children:r}):null,a?.length?n("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:n("div",{className:"flex flex-col justify-between gap-x-[101px]",children:a.map(((e,t)=>Nn({step:e,size:o,i:t,length:a.length,version:c})))})}):null]})})),Nn=e=>{const{step:t,size:r,i:a,length:o,version:i}=e,c=o-1===a,s="normal"===r?"ml-[34px]":"ml-[24px]",d=yn(i);return n("div",{children:l("div",{className:"flex flex-row text-center relative",children:[l("div",{className:"overflow-hidden",children:[wn(e),c?null:n("div",{className:`min-h-8 h-full w-[2px] ${d.iconConnector} ${s}`})]}),l("div",{className:`flex flex-col justify-center h-fit ${bn[r]}`,children:[t.label?n("div",{className:"font-medium text-m-title-xs m-0 text-left",children:t.label}):null,t.description?n("div",{className:`font-normal text-sm ${d.description} text-left ${t.label?"mt-1":""}`,children:t.description}):null]})]},String(a))},String(a))},wn=e=>{const{step:t,size:l,i:r,version:a}=e,o=yn(a),i="normal"===l?"38":"27",c="normal"===l?"text-m-title":"text-m-title-xs";return n("div",{className:`${gn[l]} ${o.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:n("span",{className:`font-medium flex self-center ${o.title} ${c}`,children:t.icon?.icon&&n(p,{image:t.icon,width:i,height:i,asSVG:!0})||r+1})})},In=r((({title:e,icon:t})=>l("div",{className:"flex gap-2.5 mb-2",children:[e?n(i,{headingType:"h3",className:"font-medium",title:e}):null,t?n(p,{className:"ml-auto max-w-6 max-h-6",image:t,width:"24px",height:"24px"}):null]}))),Cn=e=>e?.alt||e?.title||s[e?.icon?e.icon:""],kn=r((({header:e,data:t})=>l("div",{className:"rounded-md border-main-stroke h-full box-border border p-4",children:[n(In,{...e}),t?.length?t.map(Sn):null]}))),Sn=({label:e,description:t,list:r,image:a,buttons:o},i)=>l("div",{children:[i>0&&n("div",{className:"border-main-divider border border-solid border-t-0 border-x-0 my-2"}),e?n("div",{className:"text-m-sm m-0",children:e}):null,t?n("div",{className:"text-m-sm text-secondary-text mt-[3px]",children:t}):null,r?.items?.length?$n(r):null,a?n(p,{image:{...a,className:"m-0"}}):null,o?.length?Tn(o):null]},String(i)),$n=e=>n(ne,{className:"flex flex-col justify-between items-start text-m-sm",version:"gray",items:e.items,isDotted:e.isDotted??!0}),Tn=e=>n("div",{children:e.map((({icon:e,rounded:t,...l},r)=>n(J,{className:`mt-3 ${r>0&&t?"ml-2.5":""} ${e?"w-12 h-12":""}`,ariaLabel:Cn(e),rounded:t,appendLeft:e?n(p,{image:e,width:"24px",height:"24px",asSVG:!0}):null,...l,"aria-label":e},String(r))))}),Dn=r((({tiles:e})=>n("div",{className:"flex flex-col gap-3.5",children:e.map(((e,t)=>n(kn,{...e},String(t))))}))),Bn=r((({tiles:e,context:t})=>n(S,{context:t,children:e.map(((e,t)=>n(kn,{...e},String(t))))}))),Rn=r((({className:e,context:t,title:r,description:a,columns:o,rowHeaders:c,orientation:s="vertical"})=>{const d=Vn(o),m=An(c,d);return l("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[r?n(i,{headingType:"h2",className:"text-center "+(a?"mb-2":"mb-5"),title:r}):null,a?n("div",{className:"mb-5 text-center text-m-md",children:a}):null,m?.length?_n(s,m,t):null]})}));function _n(e,t,l){return"vertical"===e?n(Dn,{tiles:t}):n(Bn,{context:l,tiles:t})}const Vn=e=>e?.[0].data?e[0].data:[],An=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),Pn={Accordion:Re,ComparisonTable:Ee,ExchangeRateTile:Nt,Footer:Ft,Gallery:fe,Header:rn,Headline:v,LinkDocs:V,LinkList:Ie,MobileAppTile:$t,ProductBlock:he,ProductGallery:xn,StepsBlock:vn,TariffsTable:Rn,TextBlock:pe,Placeholder:sn};function Ln(e){return e?e.filter(Boolean).join(" "):""}const Mn=r((({className:e,onClick:t,ariaLabel:l})=>n("button",{type:"button",className:`border-0 w-[36px] bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":l,children:Gn()}))),Gn=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return l("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[n("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"}),n("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"})]})},jn=r((({className:e,context:t,anchor:r=null})=>{const a=t.useLikeService();return l("div",{className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e||""}`,id:r,children:[n(Mn,{onClick:a.like,ariaLabel:"Поставить отметку «лайк»"}),n(Mn,{onClick:a.dislike,className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),n("span",{className:"select-none",children:a.likeCount})]})})),Wn=!("undefined"==typeof window||!window.document||!window.document.createElement),Un=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),En=r((({className:e="",context:t,blocksRegistry:r,data:{style:a,blocks:o,slots:i={},likeControl:c,colorPalette:s="pc"},blockDecorator:d=Un})=>{const{header:m}=i,h=t.useRouter();return Wn&&globalThis.addEventListener("load",(()=>{const e=globalThis.document.querySelectorAll("section[id]");globalThis.document.addEventListener("scroll",(()=>((e,t)=>{t?.forEach((t=>{const n=globalThis.location?.hash;if(n===`#${t?.id}`)return;const l=t?.getBoundingClientRect();l&&l.top>0&&l.top<150&&e.replace(`#${t?.id}`)}))})(h,e)))})),l("section",{className:`relative ${Ln(a)} ${e}`,"data-theme":s,children:[m?.blocks?.length?n("div",{className:`${Ln(m?.style)}`,children:m.blocks.map(((e,n)=>On({block:e,blockDecorator:d,blocksRegistry:r,context:t},n)))}):null,o?.length?n("div",{className:"container grid grid-cols-12 gap-1",children:o.map(((e,n)=>On({block:e,blockDecorator:d,blocksRegistry:r,context:t},n)))}):null,c?n("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:n(jn,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto",context:t},"LikeControl")}):null]})}));function On({block:e,blockDecorator:t,blocksRegistry:l,context:r},a){const{type:o}=e;o&&o in l||console.warn(`No block with "${o}" is registered`);const i=l[o||"Placeholder"]||sn;return t({blockClassName:`scroll-mt-12 ${Ln(e.style)}`,block:e,render:e=>{const{version:t,content:l,anchor:c}=e.block;return n(i,{className:e.blockClassName,version:t,context:r,anchor:c,...l},`${o}-${a}`)}},`block-${a}`)}e.Blocks=Pn,e.ContentPage=En,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=function(e,t=""){async function n(){try{const e=JSON.parse(globalThis.localStorage.getItem(a)||"");if(e?.token)return e}catch(e){}try{const e=await fetch(`${t}/assist/v1/public/auth`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:n,name:l}=await e.json();return globalThis.localStorage.setItem(a,JSON.stringify({token:n,name:l})),{token:n,name:l}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...l){if(!l.length)return[];const{token:r}=await n();try{const n=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:r},body:JSON.stringify({node_ids:l})}),{likes:a}=await n.json();return a||[]}catch(e){return console.error(e),[]}},like:async function(l){if(!l)return 0;const{token:r,name:a}=await n();try{const n=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:r,UserID:a},body:JSON.stringify({node_id:l,user_name:a})}),{likes:o}=await n.json();return o||0}catch(e){return console.error(e),0}},dislike:async function(l){if(!l)return 0;const{token:r,name:a}=await n();try{const n=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:r,UserID:a},body:JSON.stringify({node_id:l,user_name:a})}),{likes:o}=await n.json();return o||0}catch(e){return console.error(e),0}}}},e.joinList=function(e){return t=>t.reduce(((t,n,l)=>t.length?t.concat({...e,key:l},n):[n]),[])},e.projectSettings=d,e.setup=t,e.url=M,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -1 +1 @@
1
- {"version":3,"file":"Accordion.js","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,0DAAuD;AAEvD,mDAAgD;AAInC,QAAA,SAAS,GAAG,IAAA,aAAG,EAC1B,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5E,OAAO,CACL,qCACE,SAAS,EAAE,kDAAkD,SAAS,EAAE,aAEvE,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACtF,WAAW,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,4BAA4B,YAAE,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,EACpF,cAAc,EAAE,MAAM,CAAC,CAAC,CAAC,CACxB,+BAAI,SAAS,EAAC,mBAAmB,YAC9B,cAAc,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAC/B,uBAAC,6BAAa,OAER,IAAI,EACR,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,IAHb,gBAAgB,CAAC,EAAE,CAIxB,CACH,CAAC,GACC,CACN,CAAC,CAAC,CAAC,IAAI,IACA,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"Accordion.js","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,0DAAuD;AAEvD,mDAAgD;AAInC,QAAA,SAAS,GAAG,IAAA,aAAG,EAC1B,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5E,OAAO,CACL,qCAAS,SAAS,EAAE,kDAAkD,SAAS,EAAE,aAC9E,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACtF,WAAW,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,4BAA4B,YAAE,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,EACpF,cAAc,EAAE,MAAM,CAAC,CAAC,CAAC,CACxB,+BAAI,SAAS,EAAC,mBAAmB,YAC9B,cAAc,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAC/B,uBAAC,6BAAa,OAER,IAAI,EACR,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,IAHb,gBAAgB,CAAC,EAAE,CAIxB,CACH,CAAC,GACC,CACN,CAAC,CAAC,CAAC,IAAI,IACA,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -6,9 +6,9 @@ const Heading_1 = require("../../ui-kit/Heading/Heading");
6
6
  const Img_1 = require("../../ui-kit/Img/Img");
7
7
  const getElementsColsValue_1 = require("./getElementsColsValue");
8
8
  exports.BonusBenefitsBlock = (0, uni_jsx_1.JSX)(({ className = '', title, subtitle, bonusBenefits, anchor = null }) => {
9
- return ((0, jsx_runtime_1.jsxs)("section", { className: `font-sans text-primary-text bg-white p-50 flex flex-col ${className}`, id: anchor, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", className: "text-center mb-[10px]", title: title })) : null, subtitle ? (0, jsx_runtime_1.jsx)("span", { className: "text-md font-normal text-center", children: subtitle }) : null, bonusBenefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `grid gap-1 ${(0, getElementsColsValue_1.getElementsColsValue)(className)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] }));
9
+ return ((0, jsx_runtime_1.jsxs)("section", { className: `font-sans text-primary-text bg-white p-50 flex flex-col text-center ${className}`, id: anchor, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", className: "mb-[10px]", title: title }) : null, subtitle ? (0, jsx_runtime_1.jsx)("span", { className: "text-md font-normal", children: subtitle }) : null, bonusBenefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `grid gap-1 ${(0, getElementsColsValue_1.getElementsColsValue)(className)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] }));
10
10
  });
11
11
  const renderBonusBenefit = (bonusBenefit, i) => {
12
- return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center max-w-[292px]", children: [bonusBenefit?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "h-[180px] w-[160px] min-w-[160px] min-h-[160px]", image: bonusBenefit.icon, width: "160", height: "180" })) : null, (0, jsx_runtime_1.jsx)("div", { children: bonusBenefit?.label ? ((0, jsx_runtime_1.jsx)("span", { className: "title-2xs text-center m-0", children: bonusBenefit.label })) : null })] }, String(i)));
12
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center max-w-[292px]", children: [bonusBenefit?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "h-[180px] w-[160px] min-w-[160px] min-h-[160px]", image: bonusBenefit.icon, width: "160", height: "180" })) : null, (0, jsx_runtime_1.jsx)("div", { children: bonusBenefit?.label ? (0, jsx_runtime_1.jsx)("span", { className: "title-2xs m-0", children: bonusBenefit.label }) : null })] }, String(i)));
13
13
  };
14
14
  //# sourceMappingURL=BonusBenefitsBlock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BonusBenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,0DAAuD;AACvD,8CAA2C;AAE3C,iEAA8D;AAIjD,QAAA,kBAAkB,GAAG,IAAA,aAAG,EACnC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,GAAG,IAAI,EAAE,EAAE,EAAE;IACpE,OAAO,CACL,qCACE,SAAS,EAAE,2DAA2D,SAAS,EAAE,EACjF,EAAE,EAAE,MAAM,aAET,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,uBAAuB,EAAC,KAAK,EAAE,KAAK,GAAI,CAC7E,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,CAAC,CAAC,CAAC,iCAAM,SAAS,EAAC,iCAAiC,YAAE,QAAQ,GAAQ,CAAC,CAAC,CAAC,IAAI,EACrF,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC,CACvB,gCAAK,SAAS,EAAE,cAAc,IAAA,2CAAoB,EAAC,SAAS,CAAC,EAAE,YAC5D,aAAa,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAClC,CACP,CAAC,CAAC,CAAC,IAAI,IACA,CACX,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,YAA0B,EAAE,CAAS,EAAE,EAAE;IACnE,OAAO,CACL,iCAAqB,SAAS,EAAC,0CAA0C,aACtE,YAAY,EAAE,IAAI,CAAC,CAAC,CAAC,CACpB,uBAAC,SAAG,IACF,SAAS,EAAC,iDAAiD,EAC3D,KAAK,EAAE,YAAY,CAAC,IAAI,EACxB,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EACR,0CACG,YAAY,EAAE,KAAK,CAAC,CAAC,CAAC,CACrB,iCAAM,SAAS,EAAC,2BAA2B,YAAE,YAAY,CAAC,KAAK,GAAQ,CACxE,CAAC,CAAC,CAAC,IAAI,GACJ,KAbE,MAAM,CAAC,CAAC,CAAC,CAcb,CACP,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"BonusBenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,0DAAuD;AACvD,8CAA2C;AAE3C,iEAA8D;AAIjD,QAAA,kBAAkB,GAAG,IAAA,aAAG,EACnC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,GAAG,IAAI,EAAE,EAAE,EAAE;IACpE,OAAO,CACL,qCACE,SAAS,EAAE,uEAAuE,SAAS,EAAE,EAC7F,EAAE,EAAE,MAAM,aAET,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,WAAW,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC/E,QAAQ,CAAC,CAAC,CAAC,iCAAM,SAAS,EAAC,qBAAqB,YAAE,QAAQ,GAAQ,CAAC,CAAC,CAAC,IAAI,EACzE,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC,CACvB,gCAAK,SAAS,EAAE,cAAc,IAAA,2CAAoB,EAAC,SAAS,CAAC,EAAE,YAC5D,aAAa,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAClC,CACP,CAAC,CAAC,CAAC,IAAI,IACA,CACX,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,YAA0B,EAAE,CAAS,EAAE,EAAE;IACnE,OAAO,CACL,iCAAqB,SAAS,EAAC,0CAA0C,aACtE,YAAY,EAAE,IAAI,CAAC,CAAC,CAAC,CACpB,uBAAC,SAAG,IACF,SAAS,EAAC,iDAAiD,EAC3D,KAAK,EAAE,YAAY,CAAC,IAAI,EACxB,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EACR,0CACG,YAAY,EAAE,KAAK,CAAC,CAAC,CAAC,iCAAM,SAAS,EAAC,eAAe,YAAE,YAAY,CAAC,KAAK,GAAQ,CAAC,CAAC,CAAC,IAAI,GACrF,KAXE,MAAM,CAAC,CAAC,CAAC,CAYb,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -2,10 +2,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.Calculator = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const ArrowButton_1 = require("../../ui-kit/Button/ArrowButton");
6
5
  const Img_1 = require("../../ui-kit/Img/Img");
7
6
  const renderCalculatorBlock_1 = require("./renderCalculatorBlock");
8
- const arrowBtnStyle = 'absolute w-[56px] h-[56px] min-h-[56px] max-h-[56px] top-1 z-10 mt-[25px] bg-white rounded-full';
7
+ const renderArrows_1 = require("../../ui-kit/Button/renderArrows");
9
8
  exports.Calculator = (0, uni_jsx_1.JSX)(({ className = '', context, calcTabs = [], anchor = null }) => {
10
9
  const tabsNav = calcTabs.map((_) => _.nav || {});
11
10
  const blockCalcTabs = calcTabs.map(({ calculatorBlock }) => calculatorBlock || {});
@@ -18,7 +17,12 @@ exports.Calculator = (0, uni_jsx_1.JSX)(({ className = '', context, calcTabs = [
18
17
  const showPrevButton = tabsShift > 0;
19
18
  return ((0, jsx_runtime_1.jsxs)("section", { id: anchor, className: `box-border overflow-hidden relative font-sans w-100 bg-white text-primary-text ${className}`, children: [(0, jsx_runtime_1.jsxs)("div", { children: [tabsNav.length > 1
20
19
  ? renderTabs({ tabsShift, tabsNav, activeSlideIndex, setActiveSlideIndex })
21
- : null, showPrevButton ? ((0, jsx_runtime_1.jsx)(ArrowButton_1.ArrowButton, { className: `${arrowBtnStyle} left-3 top-3`, onClick: handlePrevClick, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E", "data-block-control": "scroll-left" })) : null, showNextButton ? ((0, jsx_runtime_1.jsx)(ArrowButton_1.ArrowButton, { className: `${arrowBtnStyle} right-3 top-3 rotate-180`, onClick: handleNextClick, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E", "data-block-control": "scroll-right" })) : null] }), (0, jsx_runtime_1.jsx)("div", { className: "flex", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: blockCalcTabs?.length
20
+ : null, (0, renderArrows_1.renderArrows)({
21
+ handler: [handlePrevClick, handleNextClick],
22
+ isShown: [showPrevButton, showNextButton],
23
+ btnClass: ['left-3', 'right-3'],
24
+ className: 'top-8',
25
+ })] }), (0, jsx_runtime_1.jsx)("div", { className: "flex", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: blockCalcTabs?.length
22
26
  ? blockCalcTabs.map((0, renderCalculatorBlock_1.renderCalculatorBlock)({ context, className }))
23
27
  : null })] }));
24
28
  });
@@ -1 +1 @@
1
- {"version":3,"file":"Calculator.js","sourceRoot":"","sources":["../../../src/components/Calculator/Calculator.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,iEAA8D;AAC9D,8CAA2C;AAG3C,mEAAgE;AAkBhE,MAAM,aAAa,GACjB,iGAAiG,CAAC;AAEvF,QAAA,UAAU,GAAG,IAAA,aAAG,EAC3B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,QAAQ,GAAG,EAAE,EAAE,MAAM,GAAG,IAAI,EAAE,EAAE,EAAE;IAC5D,MAAM,OAAO,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,IAAK,EAAoB,CAAC,CAAC;IACpE,MAAM,aAAa,GAAG,QAAQ,CAAC,GAAG,CAChC,CAAC,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC,eAAe,IAAK,EAAyB,CACvE,CAAC;IACF,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IACpE,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAEtD,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC;IAC1D,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC;IAE1D,MAAM,wBAAwB,GAAG,QAAQ,EAAE,MAAM,GAAG,CAAC,CAAC;IACtD,MAAM,cAAc,GAAG,wBAAwB,IAAI,QAAQ,EAAE,MAAM,GAAG,SAAS,GAAG,CAAC,CAAC;IACpF,MAAM,cAAc,GAAG,SAAS,GAAG,CAAC,CAAC;IAErC,OAAO,CACL,qCACE,EAAE,EAAE,MAAM,EACV,SAAS,EAAE,kFAAkF,SAAS,EAAE,aAExG,4CACG,OAAO,CAAC,MAAM,GAAG,CAAC;wBACjB,CAAC,CAAC,UAAU,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,CAAC;wBAC3E,CAAC,CAAC,IAAI,EACP,cAAc,CAAC,CAAC,CAAC,CAChB,uBAAC,yBAAW,IACV,SAAS,EAAE,GAAG,aAAa,eAAe,EAC1C,OAAO,EAAE,eAAe,EACxB,SAAS,EAAC,6FAAkB,wBACT,aAAa,GAChC,CACH,CAAC,CAAC,CAAC,IAAI,EACP,cAAc,CAAC,CAAC,CAAC,CAChB,uBAAC,yBAAW,IACV,SAAS,EAAE,GAAG,aAAa,2BAA2B,EACtD,OAAO,EAAE,eAAe,EACxB,SAAS,EAAC,mGAAmB,wBACV,cAAc,GACjC,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,EACN,gCACE,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,gBAAgB,MAAM,EAAE,EAC3D,IAAI,EAAC,MAAM,YAEV,aAAa,EAAE,MAAM;oBACpB,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC,IAAA,6CAAqB,EAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAC;oBAClE,CAAC,CAAC,IAAI,GACJ,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,gBAAgB,EAAE,OAAO,EAAkB;IAC5E,MAAM,WAAW,GAAG,CAAC,KAAK,gBAAgB,CAAC;IAE3C,MAAM,YAAY,GAAG,WAAW;QAC9B,CAAC,CAAC,6EAA6E;QAC/E,CAAC,CAAC,4FAA4F,CAAC;IACjG,MAAM,iBAAiB,GAAG,WAAW,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,oBAAoB,CAAC;IACpF,MAAM,gBAAgB,GAAG,WAAW,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,WAAW,CAAC;IAC5E,MAAM,aAAa,GAAG,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,mBAAmB,CAAC;IAE7D,OAAO,CACL,oCACE,IAAI,EAAC,QAAQ,EAEb,OAAO,EAAE,OAAO,gBACJ,GAAG,EAAE,KAAK,EACtB,SAAS,EAAE;QACT,YAAY,EAAE,aAEhB,uBAAC,SAAG,IACF,SAAS,EAAE,oDAAoD,aAAa,EAAE,EAC9E,KAAK,EAAE,EAAE,GAAG,GAAG,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,EAAE,EACtE,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,EACF,iCAAK,SAAS,EAAC,UAAU,aACvB,gCAAK,SAAS,EAAE,eAAe,iBAAiB,EAAE,YAAG,GAAG,EAAE,KAAK,GAAO,EACtE,gCAAK,SAAS,EAAE,uBAAuB,gBAAgB,EAAE,YAAG,GAAG,CAAC,WAAW,GAAO,IAC9E,KAhBD,MAAM,CAAC,CAAC,CAAC,CAiBP,CACV,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAa;IAC1F,OAAO,CACL,4CACE,gCACE,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,SAAS,GAAG,GAAG,KAAK,EAAE,EACzD,SAAS,EAAC,qFAAqF,YAE/F,gCAAK,SAAS,EAAC,yCAAyC,YACrD,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CACtB,eAAe,CAAC;wBACd,GAAG;wBACH,CAAC;wBACD,gBAAgB;wBAChB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC;qBACtC,CAAC,CACH,GACG,GACF,EACN,gCAAK,SAAS,EAAC,4BAA4B,GAAG,IAC1C,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"Calculator.js","sourceRoot":"","sources":["../../../src/components/Calculator/Calculator.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,8CAA2C;AAE3C,mEAAgE;AAChE,mEAAgE;AAkBnD,QAAA,UAAU,GAAG,IAAA,aAAG,EAC3B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,QAAQ,GAAG,EAAE,EAAE,MAAM,GAAG,IAAI,EAAE,EAAE,EAAE;IAC5D,MAAM,OAAO,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,IAAK,EAAoB,CAAC,CAAC;IACpE,MAAM,aAAa,GAAG,QAAQ,CAAC,GAAG,CAChC,CAAC,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC,eAAe,IAAK,EAAyB,CACvE,CAAC;IACF,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IACpE,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAEtD,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC;IAC1D,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC;IAE1D,MAAM,wBAAwB,GAAG,QAAQ,EAAE,MAAM,GAAG,CAAC,CAAC;IACtD,MAAM,cAAc,GAAG,wBAAwB,IAAI,QAAQ,EAAE,MAAM,GAAG,SAAS,GAAG,CAAC,CAAC;IACpF,MAAM,cAAc,GAAG,SAAS,GAAG,CAAC,CAAC;IAErC,OAAO,CACL,qCACE,EAAE,EAAE,MAAM,EACV,SAAS,EAAE,kFAAkF,SAAS,EAAE,aAExG,4CACG,OAAO,CAAC,MAAM,GAAG,CAAC;wBACjB,CAAC,CAAC,UAAU,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,CAAC;wBAC3E,CAAC,CAAC,IAAI,EACP,IAAA,2BAAY,EAAC;wBACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;wBAC3C,OAAO,EAAE,CAAC,cAAc,EAAE,cAAc,CAAC;wBACzC,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;wBAC/B,SAAS,EAAE,OAAO;qBACnB,CAAC,IACE,EACN,gCACE,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,gBAAgB,MAAM,EAAE,EAC3D,IAAI,EAAC,MAAM,YAEV,aAAa,EAAE,MAAM;oBACpB,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC,IAAA,6CAAqB,EAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAC;oBAClE,CAAC,CAAC,IAAI,GACJ,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,gBAAgB,EAAE,OAAO,EAAkB;IAC5E,MAAM,WAAW,GAAG,CAAC,KAAK,gBAAgB,CAAC;IAE3C,MAAM,YAAY,GAAG,WAAW;QAC9B,CAAC,CAAC,6EAA6E;QAC/E,CAAC,CAAC,4FAA4F,CAAC;IACjG,MAAM,iBAAiB,GAAG,WAAW,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,oBAAoB,CAAC;IACpF,MAAM,gBAAgB,GAAG,WAAW,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,WAAW,CAAC;IAC5E,MAAM,aAAa,GAAG,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,mBAAmB,CAAC;IAE7D,OAAO,CACL,oCACE,IAAI,EAAC,QAAQ,EAEb,OAAO,EAAE,OAAO,gBACJ,GAAG,EAAE,KAAK,EACtB,SAAS,EAAE;QACT,YAAY,EAAE,aAEhB,uBAAC,SAAG,IACF,SAAS,EAAE,oDAAoD,aAAa,EAAE,EAC9E,KAAK,EAAE,EAAE,GAAG,GAAG,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,EAAE,EACtE,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,EACF,iCAAK,SAAS,EAAC,UAAU,aACvB,gCAAK,SAAS,EAAE,eAAe,iBAAiB,EAAE,YAAG,GAAG,EAAE,KAAK,GAAO,EACtE,gCAAK,SAAS,EAAE,uBAAuB,gBAAgB,EAAE,YAAG,GAAG,CAAC,WAAW,GAAO,IAC9E,KAhBD,MAAM,CAAC,CAAC,CAAC,CAiBP,CACV,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAa;IAC1F,OAAO,CACL,4CACE,gCACE,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,SAAS,GAAG,GAAG,KAAK,EAAE,EACzD,SAAS,EAAC,qFAAqF,YAE/F,gCAAK,SAAS,EAAC,yCAAyC,YACrD,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CACtB,eAAe,CAAC;wBACd,GAAG;wBACH,CAAC;wBACD,gBAAgB;wBAChB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC;qBACtC,CAAC,CACH,GACG,GACF,EACN,gCAAK,SAAS,EAAC,4BAA4B,GAAG,IAC1C,CACP,CAAC;AACJ,CAAC"}
@@ -2,8 +2,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.getCalculatorParams = void 0;
3
3
  const getCalculatorParams = (params) => {
4
4
  const { tableRows, isAnnuity = false } = params;
5
- if (!tableRows)
5
+ if (!tableRows) {
6
6
  return {};
7
+ }
7
8
  const calculatorParams = tableRows.find((row) => row.isAnnuity === isAnnuity);
8
9
  return calculatorParams || {};
9
10
  };
@@ -1 +1 @@
1
- {"version":3,"file":"getCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/Calculator/getCalculatorParams.ts"],"names":[],"mappings":";;AAOO,MAAM,mBAAmB,GAAG,CAAC,MAAiC,EAAE,EAAE;IACvE,MAAM,EAAE,SAAS,EAAE,SAAS,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;IAEhD,IAAI,CAAC,SAAS;QAAE,OAAO,EAAE,CAAC;IAE1B,MAAM,gBAAgB,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC;IAE9E,OAAO,gBAAgB,IAAI,EAAE,CAAC;AAChC,CAAC,CAAC;AARW,QAAA,mBAAmB,uBAQ9B"}
1
+ {"version":3,"file":"getCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/Calculator/getCalculatorParams.ts"],"names":[],"mappings":";;AAOO,MAAM,mBAAmB,GAAG,CAAC,MAAiC,EAAE,EAAE;IACvE,MAAM,EAAE,SAAS,EAAE,SAAS,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;IAEhD,IAAI,CAAC,SAAS,EAAE;QACd,OAAO,EAAE,CAAC;KACX;IAED,MAAM,gBAAgB,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC;IAE9E,OAAO,gBAAgB,IAAI,EAAE,CAAC;AAChC,CAAC,CAAC;AAVW,QAAA,mBAAmB,uBAU9B"}
@@ -3,8 +3,9 @@ exports.getCreditRate = void 0;
3
3
  const DEFAULT_RATE = 10.2;
4
4
  const getCreditRate = (params) => {
5
5
  const { calculatorParams, isInsurance } = params;
6
- if (!calculatorParams)
6
+ if (!calculatorParams) {
7
7
  return DEFAULT_RATE;
8
+ }
8
9
  return isInsurance
9
10
  ? calculatorParams?.rateWithInsurance || DEFAULT_RATE
10
11
  : calculatorParams?.rateWithoutInsurance || DEFAULT_RATE;
@@ -1 +1 @@
1
- {"version":3,"file":"getCreditRate.js","sourceRoot":"","sources":["../../../src/components/Calculator/getCreditRate.ts"],"names":[],"mappings":";;AAEA,MAAM,YAAY,GAAG,IAAI,CAAC;AAOnB,MAAM,aAAa,GAAG,CAAC,MAA2B,EAAE,EAAE;IAC3D,MAAM,EAAE,gBAAgB,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;IAEjD,IAAI,CAAC,gBAAgB;QAAE,OAAO,YAAY,CAAC;IAE3C,OAAO,WAAW;QAChB,CAAC,CAAC,gBAAgB,EAAE,iBAAiB,IAAI,YAAY;QACrD,CAAC,CAAC,gBAAgB,EAAE,oBAAoB,IAAI,YAAY,CAAC;AAC7D,CAAC,CAAC;AARW,QAAA,aAAa,iBAQxB"}
1
+ {"version":3,"file":"getCreditRate.js","sourceRoot":"","sources":["../../../src/components/Calculator/getCreditRate.ts"],"names":[],"mappings":";;AAEA,MAAM,YAAY,GAAG,IAAI,CAAC;AAOnB,MAAM,aAAa,GAAG,CAAC,MAA2B,EAAE,EAAE;IAC3D,MAAM,EAAE,gBAAgB,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;IAEjD,IAAI,CAAC,gBAAgB,EAAE;QACrB,OAAO,YAAY,CAAC;KACrB;IAED,OAAO,WAAW;QAChB,CAAC,CAAC,gBAAgB,EAAE,iBAAiB,IAAI,YAAY;QACrD,CAAC,CAAC,gBAAgB,EAAE,oBAAoB,IAAI,YAAY,CAAC;AAC7D,CAAC,CAAC;AAVW,QAAA,aAAa,iBAUxB"}
@@ -4,8 +4,9 @@ const clamp_1 = require("../../utils/clamp");
4
4
  const constants_1 = require("./constants");
5
5
  const getMonthlyPayment = (params) => {
6
6
  const { calculatorParams, paymentType, rate, sum, months } = params;
7
- if (!calculatorParams)
7
+ if (!calculatorParams) {
8
8
  return 0;
9
+ }
9
10
  const finalSum = (0, clamp_1.clamp)(sum, calculatorParams.minSum || constants_1.DEFAULT_MIN_SUM, calculatorParams.maxSum || constants_1.DEFAULT_MAX_SUM);
10
11
  if (paymentType === 'annuity') {
11
12
  const annuityCoef = Number(rate) / (constants_1.MONTHS_IN_YEAR * 100);
@@ -1 +1 @@
1
- {"version":3,"file":"getMonthlyPayment.js","sourceRoot":"","sources":["../../../src/components/Calculator/getMonthlyPayment.ts"],"names":[],"mappings":";;AAAA,6CAA0C;AAC1C,2CAA+E;AAaxE,MAAM,iBAAiB,GAAG,CAAC,MAA+B,EAAE,EAAE;IACnE,MAAM,EAAE,gBAAgB,EAAE,WAAW,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IAEpE,IAAI,CAAC,gBAAgB;QAAE,OAAO,CAAC,CAAC;IAEhC,MAAM,QAAQ,GAAG,IAAA,aAAK,EACpB,GAAG,EACH,gBAAgB,CAAC,MAAM,IAAI,2BAAe,EAC1C,gBAAgB,CAAC,MAAM,IAAI,2BAAe,CAC3C,CAAC;IAEF,IAAI,WAAW,KAAK,SAAS,EAAE;QAC7B,MAAM,WAAW,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,0BAAc,GAAG,GAAG,CAAC,CAAC;QAC1D,OAAO,QAAQ,GAAG,CAAC,WAAW,GAAG,WAAW,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,WAAW,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;KACzF;SAAM;QACL,OAAO,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;KAC3D;AACH,CAAC,CAAC;AAjBW,QAAA,iBAAiB,qBAiB5B"}
1
+ {"version":3,"file":"getMonthlyPayment.js","sourceRoot":"","sources":["../../../src/components/Calculator/getMonthlyPayment.ts"],"names":[],"mappings":";;AAAA,6CAA0C;AAC1C,2CAA+E;AAaxE,MAAM,iBAAiB,GAAG,CAAC,MAA+B,EAAE,EAAE;IACnE,MAAM,EAAE,gBAAgB,EAAE,WAAW,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IAEpE,IAAI,CAAC,gBAAgB,EAAE;QACrB,OAAO,CAAC,CAAC;KACV;IAED,MAAM,QAAQ,GAAG,IAAA,aAAK,EACpB,GAAG,EACH,gBAAgB,CAAC,MAAM,IAAI,2BAAe,EAC1C,gBAAgB,CAAC,MAAM,IAAI,2BAAe,CAC3C,CAAC;IAEF,IAAI,WAAW,KAAK,SAAS,EAAE;QAC7B,MAAM,WAAW,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,0BAAc,GAAG,GAAG,CAAC,CAAC;QAC1D,OAAO,QAAQ,GAAG,CAAC,WAAW,GAAG,WAAW,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,WAAW,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;KACzF;SAAM;QACL,OAAO,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;KAC3D;AACH,CAAC,CAAC;AAnBW,QAAA,iBAAiB,qBAmB5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"renderCalculatorBlock.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderCalculatorBlock.tsx"],"names":[],"mappings":";;;AAGA,iEAAmF;AAQ5E,MAAM,qBAAqB,GAChC,CAAC,EAAE,OAAO,EAAE,SAAS,EAAO,EAAE,EAAE,CAChC,CAAC,aAAiC,EAAE,CAAS,EAAE,EAAE;IAC/C,MAAM,IAAI,GAAG,aAAa,EAAE,QAAQ,CAAC;IACrC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,IAAI,2CAAoB,CAAC,EAAE;QAC5C,OAAO,IAAI,CAAC;KACb;IACD,MAAM,aAAa,GAAkC,2CAAoB,CAAC,IAAI,CAAC,CAAC;IAChF,OAAO,CACL,oCAEE,SAAS,EAAE,gDAAgD,SAAS,EAAE,EACtE,IAAI,EAAC,UAAU,YAEf,gCAAK,SAAS,EAAC,uBAAuB,YACpC,uBAAC,aAAa,IAAC,OAAO,EAAE,OAAO,KAAM,aAAa,EAAE,SAAS,EAAC,sBAAsB,GAAG,GACnF,IAND,MAAM,CAAC,CAAC,CAAC,CAON,CACX,CAAC;AACJ,CAAC,CAAC;AAnBS,QAAA,qBAAqB,yBAmB9B"}
1
+ {"version":3,"file":"renderCalculatorBlock.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderCalculatorBlock.tsx"],"names":[],"mappings":";;;AAEA,iEAAmF;AAE5E,MAAM,qBAAqB,GAChC,CAAC,EAAE,OAAO,EAAE,SAAS,EAAO,EAAE,EAAE,CAChC,CAAC,aAAiC,EAAE,CAAS,EAAE,EAAE;IAC/C,MAAM,IAAI,GAAG,aAAa,EAAE,QAAQ,CAAC;IACrC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,IAAI,2CAAoB,CAAC,EAAE;QAC5C,OAAO,IAAI,CAAC;KACb;IACD,MAAM,aAAa,GAAkC,2CAAoB,CAAC,IAAI,CAAC,CAAC;IAChF,OAAO,CACL,oCAEE,SAAS,EAAE,gDAAgD,SAAS,EAAE,EACtE,IAAI,EAAC,UAAU,YAEf,gCAAK,SAAS,EAAC,uBAAuB,YACpC,uBAAC,aAAa,IAAC,OAAO,EAAE,OAAO,KAAM,aAAa,EAAE,SAAS,EAAC,sBAAsB,GAAG,GACnF,IAND,MAAM,CAAC,CAAC,CAAC,CAON,CACX,CAAC;AACJ,CAAC,CAAC;AAnBS,QAAA,qBAAqB,yBAmB9B"}
@@ -2,7 +2,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.HeaderCell = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const Img_1 = require("../../ui-kit/Img/Img");
6
5
  const Heading_1 = require("../../ui-kit/Heading/Heading");
7
- exports.HeaderCell = (0, uni_jsx_1.JSX)(({ icon, image, title, subtitle, isFillGradient }) => ((0, jsx_runtime_1.jsxs)("div", { role: "columnheader", scope: "col", children: [icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", image: icon, width: "63", height: "63" })) : null, image?.src && ((0, jsx_runtime_1.jsx)("div", { className: "mb-3.5", children: (0, jsx_runtime_1.jsx)(Img_1.Img, { image: image }) })), title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h4", className: `${isFillGradient ? 'text-white' : ''}`, title: title })) : null, subtitle ? ((0, jsx_runtime_1.jsx)("div", { className: `text-m-sm mb-3.5 ${isFillGradient ? 'text-white' : 'text-secondary-text/80'}`, children: subtitle })) : null] })));
6
+ const Img_1 = require("../../ui-kit/Img/Img");
7
+ const headingStyle = (isFillGradient = false) => (isFillGradient ? 'text-white' : '');
8
+ const subtitleStyle = (isFillGradient = false) => `text-m-sm mb-3.5 ${isFillGradient ? 'text-white' : 'text-secondary-text/80'}`;
9
+ exports.HeaderCell = (0, uni_jsx_1.JSX)(({ icon, image, title, subtitle, isFillGradient }) => ((0, jsx_runtime_1.jsxs)("div", { role: "columnheader", scope: "col", children: [icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", image: icon, width: "63", height: "63" })) : null, image?.src && ((0, jsx_runtime_1.jsx)("div", { className: "mb-3.5", children: (0, jsx_runtime_1.jsx)(Img_1.Img, { image: image }) })), title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h4", className: headingStyle(isFillGradient), title: title })) : null, subtitle ? (0, jsx_runtime_1.jsx)("div", { className: subtitleStyle(isFillGradient), children: subtitle }) : null] })));
8
10
  //# sourceMappingURL=HeaderCell.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderCell.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/HeaderCell.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,8CAA2C;AAC3C,0DAAuD;AAW1C,QAAA,UAAU,GAAG,IAAA,aAAG,EAC3B,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC,CACpD,iCAAK,IAAI,EAAC,cAAc,EAAC,KAAK,EAAC,KAAK,aACjC,IAAI,CAAC,CAAC,CAAC,CACN,uBAAC,SAAG,IACF,SAAS,EAAC,kDAAkD,EAC5D,KAAK,EAAE,IAAI,EACX,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,CACH,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,EAAE,GAAG,IAAI,CACb,gCAAK,SAAS,EAAC,QAAQ,YACrB,uBAAC,SAAG,IAAC,KAAK,EAAE,KAAK,GAAI,GACjB,CACP,EACA,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IACN,WAAW,EAAC,IAAI,EAChB,SAAS,EAAE,GAAG,cAAc,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,EAAE,EAClD,KAAK,EAAE,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,CAAC,CAAC,CAAC,CACV,gCACE,SAAS,EAAE,oBAAoB,cAAc,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,wBAAwB,EAAE,YAExF,QAAQ,GACL,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CACF,CAAC"}
1
+ {"version":3,"file":"HeaderCell.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/HeaderCell.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,0DAAuD;AACvD,8CAA2C;AAW3C,MAAM,YAAY,GAAG,CAAC,cAAc,GAAG,KAAK,EAAU,EAAE,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AAC9F,MAAM,aAAa,GAAG,CAAC,cAAc,GAAG,KAAK,EAAU,EAAE,CACvD,oBAAoB,cAAc,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,wBAAwB,EAAE,CAAC;AAEpE,QAAA,UAAU,GAAG,IAAA,aAAG,EAC3B,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC,CACpD,iCAAK,IAAI,EAAC,cAAc,EAAC,KAAK,EAAC,KAAK,aACjC,IAAI,CAAC,CAAC,CAAC,CACN,uBAAC,SAAG,IACF,SAAS,EAAC,kDAAkD,EAC5D,KAAK,EAAE,IAAI,EACX,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,CACH,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,EAAE,GAAG,IAAI,CACb,gCAAK,SAAS,EAAC,QAAQ,YACrB,uBAAC,SAAG,IAAC,KAAK,EAAE,KAAK,GAAI,GACjB,CACP,EACA,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAE,YAAY,CAAC,cAAc,CAAC,EAAE,KAAK,EAAE,KAAK,GAAI,CACpF,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAE,aAAa,CAAC,cAAc,CAAC,YAAG,QAAQ,GAAO,CAAC,CAAC,CAAC,IAAI,IAC9E,CACP,CACF,CAAC"}
@@ -8,5 +8,7 @@ exports.TableCell = (0, uni_jsx_1.JSX)(({ cell, rowHeader, isFillGradient = fals
8
8
  const cellClasses = `h-full ${constants_1.DIVIDER_CLASSES}`;
9
9
  return ((0, jsx_runtime_1.jsx)("div", { className: cellWrapperClasses, role: "cell", children: (0, jsx_runtime_1.jsx)("div", { className: cellClasses, children: cell.map(renderCellInner(isFillGradient, rowHeader)) }) }));
10
10
  });
11
- const renderCellInner = (isFillGradient, rowHeader) => ({ label, description }, i) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between text-m-sm py-3.5", children: [(0, jsx_runtime_1.jsx)("div", { className: `${isFillGradient ? 'text-white/80' : 'text-secondary-text'}`, children: rowHeader }), (0, jsx_runtime_1.jsxs)("div", { className: "basis-1/2", children: [label ? ((0, jsx_runtime_1.jsx)("div", { className: `text-right ${isFillGradient ? 'text-white' : ''}`, children: label })) : null, description ? ((0, jsx_runtime_1.jsx)("div", { className: `text-right ${isFillGradient ? 'text-white/80' : 'text-secondary-text'}`, children: description })) : null] })] }, String(i)));
11
+ const labelStyle = (isFillGradient = false) => `text-right ${isFillGradient ? 'text-white' : ''}`;
12
+ const descriptionStyle = (isFillGradient = false) => `text-right ${isFillGradient ? 'text-white/80' : 'text-secondary-text'}`;
13
+ const renderCellInner = (isFillGradient, rowHeader) => ({ label, description }, i) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between text-m-sm py-3.5", children: [(0, jsx_runtime_1.jsx)("div", { className: `${isFillGradient ? 'text-white/80' : 'text-secondary-text'}`, children: rowHeader }), (0, jsx_runtime_1.jsxs)("div", { className: "basis-1/2", children: [label ? (0, jsx_runtime_1.jsx)("div", { className: labelStyle(isFillGradient), children: label }) : null, description ? ((0, jsx_runtime_1.jsx)("div", { className: descriptionStyle(isFillGradient), children: description })) : null] })] }, String(i)));
12
14
  //# sourceMappingURL=TableCell.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TableCell.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/TableCell.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,2CAA8C;AAUjC,QAAA,SAAS,GAAG,IAAA,aAAG,EAAiB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,cAAc,GAAG,KAAK,EAAE,EAAE,EAAE;IAC3F,MAAM,kBAAkB,GAAG,0BAA0B,CAAC;IAEtD,MAAM,WAAW,GAAG,UAAU,2BAAe,EAAE,CAAC;IAEhD,OAAO,CACL,gCAAK,SAAS,EAAE,kBAAkB,EAAE,IAAI,EAAC,MAAM,YAC7C,gCAAK,SAAS,EAAE,WAAW,YAAG,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,cAAc,EAAE,SAAS,CAAC,CAAC,GAAO,GACrF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,eAAe,GACnB,CAAC,cAAuB,EAAE,SAAkB,EAAE,EAAE,CAChD,CAAC,EAAE,KAAK,EAAE,WAAW,EAAY,EAAE,CAAS,EAAE,EAAE,CAC9C,CACE,iCAAqB,SAAS,EAAC,uCAAuC,aACpE,gCAAK,SAAS,EAAE,GAAG,cAAc,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,qBAAqB,EAAE,YAC1E,SAAS,GACN,EACN,iCAAK,SAAS,EAAC,WAAW,aACvB,KAAK,CAAC,CAAC,CAAC,CACP,gCAAK,SAAS,EAAE,cAAc,cAAc,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,EAAE,YAAG,KAAK,GAAO,CAClF,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,CACb,gCACE,SAAS,EAAE,cAAc,cAAc,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,qBAAqB,EAAE,YAElF,WAAW,GACR,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,KAfE,MAAM,CAAC,CAAC,CAAC,CAgBb,CACP,CAAC"}
1
+ {"version":3,"file":"TableCell.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/TableCell.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,2CAA8C;AAUjC,QAAA,SAAS,GAAG,IAAA,aAAG,EAAiB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,cAAc,GAAG,KAAK,EAAE,EAAE,EAAE;IAC3F,MAAM,kBAAkB,GAAG,0BAA0B,CAAC;IAEtD,MAAM,WAAW,GAAG,UAAU,2BAAe,EAAE,CAAC;IAEhD,OAAO,CACL,gCAAK,SAAS,EAAE,kBAAkB,EAAE,IAAI,EAAC,MAAM,YAC7C,gCAAK,SAAS,EAAE,WAAW,YAAG,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,cAAc,EAAE,SAAS,CAAC,CAAC,GAAO,GACrF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,CAAC,cAAc,GAAG,KAAK,EAAU,EAAE,CACpD,cAAc,cAAc,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;AACrD,MAAM,gBAAgB,GAAG,CAAC,cAAc,GAAG,KAAK,EAAU,EAAE,CAC1D,cAAc,cAAc,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,qBAAqB,EAAE,CAAC;AAE3E,MAAM,eAAe,GACnB,CAAC,cAAuB,EAAE,SAAkB,EAAE,EAAE,CAChD,CAAC,EAAE,KAAK,EAAE,WAAW,EAAY,EAAE,CAAS,EAAE,EAAE,CAC9C,CACE,iCAAqB,SAAS,EAAC,uCAAuC,aACpE,gCAAK,SAAS,EAAE,GAAG,cAAc,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,qBAAqB,EAAE,YAC1E,SAAS,GACN,EACN,iCAAK,SAAS,EAAC,WAAW,aACvB,KAAK,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAE,UAAU,CAAC,cAAc,CAAC,YAAG,KAAK,GAAO,CAAC,CAAC,CAAC,IAAI,EACxE,WAAW,CAAC,CAAC,CAAC,CACb,gCAAK,SAAS,EAAE,gBAAgB,CAAC,cAAc,CAAC,YAAG,WAAW,GAAO,CACtE,CAAC,CAAC,CAAC,IAAI,IACJ,KATE,MAAM,CAAC,CAAC,CAAC,CAUb,CACP,CAAC"}
@@ -6,5 +6,6 @@ const constants_1 = require("./constants");
6
6
  const TableCarouselContainer_1 = require("./TableCarouselContainer");
7
7
  const TableCell_1 = require("./TableCell");
8
8
  const TableRowContainer_1 = require("./TableRowContainer");
9
- exports.TableRow = (0, uni_jsx_1.JSX)(({ row: { header, data }, activeCardIndex, isColoredFirstColumn, isFirstRow, isLastRow }) => ((0, jsx_runtime_1.jsxs)(TableRowContainer_1.TableRowContainer, { children: [header?.title ? ((0, jsx_runtime_1.jsx)("div", { className: `text-sm py-7 ${constants_1.DIVIDER_CLASSES} ${constants_1.FIRST_CELL_CLASSES} ${!isLastRow ? 'border-solid' : 'border-b-0'}`, children: header.title })) : null, data?.length ? ((0, jsx_runtime_1.jsx)(TableCarouselContainer_1.TableCarouselContainer, { activeCardIndex: activeCardIndex, columnWidth: constants_1.COLUMN_WIDTH, children: data.map((cell, i) => ((0, jsx_runtime_1.jsx)(TableCell_1.TableCell, { cell: cell, isFirstRow: isFirstRow, isLastRow: isLastRow, isFillGradient: isColoredFirstColumn && i === 0 }, String(i)))) })) : null] })));
9
+ const titleStyle = (isLastRow = false) => `text-sm py-7 ${constants_1.DIVIDER_CLASSES} ${constants_1.FIRST_CELL_CLASSES} ${isLastRow ? 'border-b-0' : 'border-solid'}`;
10
+ exports.TableRow = (0, uni_jsx_1.JSX)(({ row: { header, data }, activeCardIndex, isColoredFirstColumn, isFirstRow, isLastRow }) => ((0, jsx_runtime_1.jsxs)(TableRowContainer_1.TableRowContainer, { children: [header?.title ? (0, jsx_runtime_1.jsx)("div", { className: titleStyle(isLastRow), children: header.title }) : null, data?.length ? ((0, jsx_runtime_1.jsx)(TableCarouselContainer_1.TableCarouselContainer, { activeCardIndex: activeCardIndex, columnWidth: constants_1.COLUMN_WIDTH, children: data.map((cell, i) => ((0, jsx_runtime_1.jsx)(TableCell_1.TableCell, { cell: cell, isFirstRow: isFirstRow, isLastRow: isLastRow, isFillGradient: isColoredFirstColumn && i === 0 }, String(i)))) })) : null] })));
10
11
  //# sourceMappingURL=TableRow.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TableRow.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/TableRow.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,2CAAgF;AAChF,qEAAkE;AAClE,2CAAwC;AACxC,2DAAwD;AAW3C,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EAAE,GAAG,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,eAAe,EAAE,oBAAoB,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAC3F,wBAAC,qCAAiB,eACf,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CACf,gCACE,SAAS,EAAE,gBAAgB,2BAAe,IAAI,8BAAkB,IAC9D,CAAC,SAAS,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAChC,EAAE,YAED,MAAM,CAAC,KAAK,GACT,CACP,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CACd,uBAAC,+CAAsB,IAAC,eAAe,EAAE,eAAe,EAAE,WAAW,EAAE,wBAAY,YAChF,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACrB,uBAAC,qBAAS,IAER,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,SAAS,EACpB,cAAc,EAAE,oBAAoB,IAAI,CAAC,KAAK,CAAC,IAJ1C,MAAM,CAAC,CAAC,CAAC,CAKd,CACH,CAAC,GACqB,CAC1B,CAAC,CAAC,CAAC,IAAI,IACU,CACrB,CACF,CAAC"}
1
+ {"version":3,"file":"TableRow.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/TableRow.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,2CAAgF;AAChF,qEAAkE;AAClE,2CAAwC;AACxC,2DAAwD;AAWxD,MAAM,UAAU,GAAG,CAAC,SAAS,GAAG,KAAK,EAAE,EAAE,CACvC,gBAAgB,2BAAe,IAAI,8BAAkB,IACnD,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,cAC7B,EAAE,CAAC;AAEQ,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EAAE,GAAG,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,eAAe,EAAE,oBAAoB,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAC3F,wBAAC,qCAAiB,eACf,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAE,UAAU,CAAC,SAAS,CAAC,YAAG,MAAM,CAAC,KAAK,GAAO,CAAC,CAAC,CAAC,IAAI,EAClF,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CACd,uBAAC,+CAAsB,IAAC,eAAe,EAAE,eAAe,EAAE,WAAW,EAAE,wBAAY,YAChF,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACrB,uBAAC,qBAAS,IAER,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,SAAS,EACpB,cAAc,EAAE,oBAAoB,IAAI,CAAC,KAAK,CAAC,IAJ1C,MAAM,CAAC,CAAC,CAAC,CAKd,CACH,CAAC,GACqB,CAC1B,CAAC,CAAC,CAAC,IAAI,IACU,CACrB,CACF,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { VNode } from '../../model/VNode';
2
+ import type { FuncReturnVoid } from '../../types';
1
3
  export interface Router {
2
4
  pathname: string;
3
5
  query: Record<string, string | string[] | undefined>;
@@ -16,17 +18,26 @@ export interface Search {
16
18
  term: string;
17
19
  setTerm: (t: string) => void;
18
20
  }
19
- export declare type AsyncDataHook = <Data, Error = any>(key: string, fetcher: (key: string) => Promise<Data>) => {
21
+ export declare type AsyncDataHook = <Data, Err = any>(key: string, fetcher: (fetcherKey: string) => Promise<Data>) => {
20
22
  data?: Data;
21
- error?: Error;
23
+ error?: Err;
22
24
  };
23
25
  export declare type GeolocationHook = (defaultLocation: string) => [string, () => void];
26
+ export declare type SetStateAction<S> = S | ((prevState: S) => S);
27
+ export declare type SetStateHook = <State>(initialState: State | (() => State)) => [State, FuncReturnVoid<SetStateAction<State>>];
28
+ export interface IntersectionObserverTagProps {
29
+ Tag: string;
30
+ children?: VNode;
31
+ observerCallback: IntersectionObserverCallback;
32
+ observerOptions?: IntersectionObserverInit;
33
+ }
24
34
  export interface ContentPageContext {
25
35
  useRouter: () => Router;
26
- useState: <State>(initialState: State) => [State, (_: State) => void];
36
+ useState: SetStateHook;
27
37
  useAsyncData: AsyncDataHook;
28
38
  useGeolocation: GeolocationHook;
29
39
  useLikeService: () => LikeService;
30
40
  useSearch: () => Search;
31
41
  handlerDecorator?: HandlerDecorator;
42
+ IntersectionObserverTag: (props: IntersectionObserverTagProps & Record<string, any>) => VNode;
32
43
  }