@redneckz/wildless-cms-uni-blocks 0.5.4 → 0.5.6

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 (1027) hide show
  1. package/README.md +10 -3
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +372 -222
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/cosmos-static/icons/ArrowDownIcon.svg +1 -1
  6. package/cosmos-static/icons/ArrowUpIcon.svg +1 -1
  7. package/cosmos-static/icons/BuildingIcon.svg +1 -0
  8. package/cosmos-static/icons/Car2Icon.svg +1 -0
  9. package/cosmos-static/icons/DocDownloadIcon.svg +1 -1
  10. package/cosmos-static/icons/DoneIcon.svg +1 -1
  11. package/cosmos-static/icons/DoneSimpleIcon.svg +1 -0
  12. package/cosmos-static/icons/GpsIcon.svg +1 -1
  13. package/cosmos-static/icons/MapMarkerClusterIcon.svg +1 -0
  14. package/cosmos-static/icons/MapMarkerSingleIcon.svg +1 -0
  15. package/cosmos-static/icons/MoneysIcon.svg +1 -0
  16. package/cosmos-static/icons/StrongBoxIcon.svg +1 -0
  17. package/cosmos-static/icons/UserSquareIcon.svg +1 -0
  18. package/dist/ProjectSettings.d.ts +4 -0
  19. package/dist/ProjectSettings.js +6 -0
  20. package/dist/ProjectSettings.js.map +1 -1
  21. package/dist/components/Accordion/AccordionContent.d.ts +4 -9
  22. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  23. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +12 -19
  24. package/dist/components/BlockContent.d.ts +2 -3
  25. package/dist/components/Blocks.d.ts +0 -1
  26. package/dist/components/Blocks.js +1 -3
  27. package/dist/components/Blocks.js.map +1 -1
  28. package/dist/components/Bonus/Bonus.js +1 -1
  29. package/dist/components/Bonus/Bonus.js.map +1 -1
  30. package/dist/components/Bonus/BonusContent.d.ts +6 -9
  31. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +3 -5
  32. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  33. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +5 -11
  34. package/dist/components/Calculator/BonusCalculatorForm.js +3 -2
  35. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  36. package/dist/components/Calculator/Calculator.js +1 -1
  37. package/dist/components/Calculator/Calculator.js.map +1 -1
  38. package/dist/components/Calculator/CalculatorContent.d.ts +7 -40
  39. package/dist/components/Calculator/CalculatorValueBlock.js +1 -1
  40. package/dist/components/Calculator/CreditCalculatorForm.js +4 -3
  41. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  42. package/dist/components/Calculator/DepositCalculatorForm.js +21 -2
  43. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  44. package/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -3
  45. package/dist/components/Calculator/EmbeddableCalcBlocks.js +0 -2
  46. package/dist/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  47. package/dist/components/Calculator/renderFootnote.d.ts +2 -0
  48. package/dist/components/Calculator/renderFootnote.js +6 -0
  49. package/dist/components/Calculator/renderFootnote.js.map +1 -0
  50. package/dist/components/CardTransfer/CardTransferContent.d.ts +3 -6
  51. package/dist/components/Catalog/CatalogCard.js.map +1 -1
  52. package/dist/components/Catalog/CatalogContent.d.ts +2 -5
  53. package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +9 -43
  54. package/dist/components/ComparisonTable/TableColumn.d.ts +8 -1
  55. package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  56. package/dist/components/ComparisonTable/TableRow.d.ts +5 -1
  57. package/dist/components/ComparisonTable/TableRow.js.map +1 -1
  58. package/dist/components/ContentPage/computeAPIFallback.d.ts +5 -0
  59. package/dist/components/ContentPage/computeAPIFallback.js +68 -0
  60. package/dist/components/ContentPage/computeAPIFallback.js.map +1 -0
  61. package/dist/components/ErrorBlock/ErrorBlockContent.d.ts +17 -4
  62. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -4
  63. package/dist/components/ExchangeRateTile/renderInput.js +4 -3
  64. package/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  65. package/dist/components/Footer/Footer.js +3 -2
  66. package/dist/components/Footer/Footer.js.map +1 -1
  67. package/dist/components/Footer/Footer.mobile.js +3 -2
  68. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  69. package/dist/components/Footer/FooterContent.d.ts +5 -9
  70. package/dist/components/Footer/HorizontalNavigation.d.ts +2 -2
  71. package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  72. package/dist/components/Footer/HorizontalNavigation.mobile.d.ts +2 -2
  73. package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  74. package/dist/components/Footer/Sitemap.d.ts +2 -0
  75. package/dist/components/Footer/Sitemap.js +2 -2
  76. package/dist/components/Footer/Sitemap.js.map +1 -1
  77. package/dist/components/Gallery/GalleryContent.d.ts +16 -19
  78. package/dist/components/GracePeriod/GracePeriodContent.d.ts +10 -14
  79. package/dist/components/Header/Header.fallback.d.ts +2 -0
  80. package/dist/components/Header/Header.fallback.js +12 -0
  81. package/dist/components/Header/Header.fallback.js.map +1 -0
  82. package/dist/components/Header/Header.js +4 -3
  83. package/dist/components/Header/Header.js.map +1 -1
  84. package/dist/components/Header/Header.mobile.js +3 -2
  85. package/dist/components/Header/Header.mobile.js.map +1 -1
  86. package/dist/components/Header/HeaderContent.d.ts +14 -23
  87. package/dist/components/Headline/HeadlineContent.d.ts +4 -3
  88. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +8 -13
  89. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
  90. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  91. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  92. package/dist/components/MiniGallery/MiniGalleryContent.d.ts +8 -3
  93. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +19 -5
  94. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  95. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  96. package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +5 -20
  97. package/dist/components/OtherProducts/OtherProductsContent.d.ts +3 -4
  98. package/dist/components/PictureText/PictureText.js +1 -1
  99. package/dist/components/PictureText/PictureTextContent.d.ts +20 -4
  100. package/dist/components/ProductBlock/ProductBlockContent.d.ts +13 -10
  101. package/dist/components/ProductTile/ProductTile.js +13 -8
  102. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  103. package/dist/components/ProductTile/ProductTileContent.d.ts +19 -9
  104. package/dist/components/Recommendation/RecommendationContent.d.ts +20 -2
  105. package/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +2 -2
  106. package/dist/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
  107. package/dist/components/SafeDepositRental/SafeDepositRental.js +14 -2
  108. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  109. package/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +6 -21
  110. package/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +9 -0
  111. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +21 -0
  112. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -0
  113. package/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +2 -0
  114. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +33 -42
  115. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  116. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
  117. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  118. package/dist/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +10 -0
  119. package/dist/components/SafeDepositRental/SafeDepositRentalTypes.js +2 -0
  120. package/dist/components/SafeDepositRental/SafeDepositRentalTypes.js.map +1 -0
  121. package/dist/components/SafeDepositRental/WrapperSelect.js +2 -2
  122. package/dist/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  123. package/dist/components/SafeDepositRental/YandexMap.d.ts +5 -0
  124. package/dist/components/SafeDepositRental/YandexMap.js +24 -0
  125. package/dist/components/SafeDepositRental/YandexMap.js.map +1 -0
  126. package/dist/components/SafeDepositRental/renderClusterer.d.ts +1 -0
  127. package/dist/components/SafeDepositRental/renderClusterer.js +37 -0
  128. package/dist/components/SafeDepositRental/renderClusterer.js.map +1 -0
  129. package/dist/components/SafeDepositRental/useGetRegions.js +1 -1
  130. package/dist/components/SafeDepositRental/useGetRegions.js.map +1 -1
  131. package/dist/components/SafeDepositRental/utils.d.ts +3 -0
  132. package/dist/components/SafeDepositRental/utils.js +15 -0
  133. package/dist/components/SafeDepositRental/utils.js.map +1 -0
  134. package/dist/components/StepsBlock/StepsBlockContent.d.ts +6 -25
  135. package/dist/components/Tabs/TabsContent.d.ts +8 -5
  136. package/dist/components/TariffsTable/EmbeddableCellData.mobile.d.ts +0 -3
  137. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  138. package/dist/components/TariffsTable/TariffsTableContent.d.ts +19 -36
  139. package/dist/components/TariffsTable/TariffsTableRow.js +2 -1
  140. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  141. package/dist/components/TextBlock/TextBlockContent.d.ts +3 -6
  142. package/dist/components/Tile/TileContent.d.ts +17 -2
  143. package/dist/hooks/useFetchSafeBoxes.d.ts +22 -0
  144. package/dist/hooks/useFetchSafeBoxes.js +17 -0
  145. package/dist/hooks/useFetchSafeBoxes.js.map +1 -0
  146. package/dist/hooks/useScript.d.ts +6 -0
  147. package/dist/hooks/useScript.js +75 -0
  148. package/dist/hooks/useScript.js.map +1 -0
  149. package/dist/icons/IconName.d.ts +19 -5
  150. package/dist/icons/IconName.js +17 -3
  151. package/dist/icons/IconName.js.map +1 -1
  152. package/dist/model/ButtonVersion.d.ts +1 -1
  153. package/dist/model/Footnote.d.ts +4 -0
  154. package/dist/{components/Navigation/NavigationContent.js → model/Footnote.js} +1 -1
  155. package/dist/model/Footnote.js.map +1 -0
  156. package/dist/model/HeadlineType.d.ts +4 -0
  157. package/dist/model/Picture.d.ts +4 -0
  158. package/dist/model/ProductColorVersion.d.ts +4 -0
  159. package/dist/model/ProductColorVersion.js +2 -0
  160. package/dist/model/ProductColorVersion.js.map +1 -0
  161. package/dist/react/setup-fixture.js +6 -0
  162. package/dist/react/setup-fixture.js.map +1 -1
  163. package/dist/services/sitemap/useSitemap.d.ts +2 -1
  164. package/dist/services/sitemap/useSitemap.js +2 -2
  165. package/dist/services/sitemap/useSitemap.js.map +1 -1
  166. package/dist/types/Fallback.d.ts +5 -0
  167. package/{mobile/dist/components/Navigation/NavigationContent.js → dist/types/Fallback.js} +1 -1
  168. package/dist/types/Fallback.js.map +1 -0
  169. package/dist/types.d.ts +1 -0
  170. package/dist/ui-kit/BenefitItem/BenefitItem.js +2 -2
  171. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  172. package/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +3 -8
  173. package/dist/ui-kit/Button/ButtonProps.d.ts +3 -5
  174. package/dist/ui-kit/Button/ButtonSection.js +2 -1
  175. package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  176. package/dist/ui-kit/Button/LikeButton.js +1 -1
  177. package/dist/ui-kit/Button/LikeButton.js.map +1 -1
  178. package/dist/ui-kit/Button/buttonClassNameConstants.js +4 -3
  179. package/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  180. package/dist/ui-kit/Foldable/Foldable.js +1 -1
  181. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  182. package/dist/ui-kit/Input/Input.js +1 -1
  183. package/dist/ui-kit/Input/Input.js.map +1 -1
  184. package/dist/ui-kit/InputRange/InputRange.js +8 -15
  185. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  186. package/dist/ui-kit/Radio/Radio.js +1 -1
  187. package/dist/ui-kit/Radio/Radio.js.map +1 -1
  188. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
  189. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  190. package/dist/ui-kit/SearchBar/SearchBarInner.js +2 -2
  191. package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  192. package/dist/ui-kit/SelectCustom/SelectCustom.d.ts +13 -0
  193. package/dist/ui-kit/SelectCustom/SelectCustom.js +30 -0
  194. package/dist/ui-kit/SelectCustom/SelectCustom.js.map +1 -0
  195. package/dist/wlc.json +5 -0
  196. package/lib/ProjectSettings.d.ts +4 -0
  197. package/lib/ProjectSettings.js +6 -0
  198. package/lib/ProjectSettings.js.map +1 -1
  199. package/lib/common.css +1 -1
  200. package/lib/components/Accordion/AccordionContent.d.ts +4 -9
  201. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  202. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +12 -19
  203. package/lib/components/BlockContent.d.ts +2 -3
  204. package/lib/components/Blocks.d.ts +0 -1
  205. package/lib/components/Blocks.js +1 -3
  206. package/lib/components/Blocks.js.map +1 -1
  207. package/lib/components/Bonus/Bonus.js +1 -1
  208. package/lib/components/Bonus/Bonus.js.map +1 -1
  209. package/lib/components/Bonus/BonusContent.d.ts +6 -9
  210. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +3 -5
  211. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  212. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +5 -11
  213. package/lib/components/Calculator/BonusCalculatorForm.js +3 -2
  214. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  215. package/lib/components/Calculator/Calculator.js +1 -1
  216. package/lib/components/Calculator/Calculator.js.map +1 -1
  217. package/lib/components/Calculator/CalculatorContent.d.ts +7 -40
  218. package/lib/components/Calculator/CalculatorValueBlock.js +1 -1
  219. package/lib/components/Calculator/CreditCalculatorForm.js +4 -3
  220. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  221. package/lib/components/Calculator/DepositCalculatorForm.js +21 -2
  222. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  223. package/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -3
  224. package/lib/components/Calculator/EmbeddableCalcBlocks.js +0 -2
  225. package/lib/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  226. package/lib/components/Calculator/renderFootnote.d.ts +2 -0
  227. package/lib/components/Calculator/renderFootnote.js +3 -0
  228. package/lib/components/Calculator/renderFootnote.js.map +1 -0
  229. package/lib/components/CardTransfer/CardTransferContent.d.ts +3 -6
  230. package/lib/components/Catalog/CatalogCard.js.map +1 -1
  231. package/lib/components/Catalog/CatalogContent.d.ts +2 -5
  232. package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +9 -43
  233. package/lib/components/ComparisonTable/TableColumn.d.ts +8 -1
  234. package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  235. package/lib/components/ComparisonTable/TableRow.d.ts +5 -1
  236. package/lib/components/ComparisonTable/TableRow.js.map +1 -1
  237. package/lib/components/ContentPage/computeAPIFallback.d.ts +5 -0
  238. package/lib/components/ContentPage/computeAPIFallback.js +40 -0
  239. package/lib/components/ContentPage/computeAPIFallback.js.map +1 -0
  240. package/lib/components/ErrorBlock/ErrorBlockContent.d.ts +17 -4
  241. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -4
  242. package/lib/components/ExchangeRateTile/renderInput.js +4 -3
  243. package/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  244. package/lib/components/Footer/Footer.js +3 -2
  245. package/lib/components/Footer/Footer.js.map +1 -1
  246. package/lib/components/Footer/Footer.mobile.js +3 -2
  247. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  248. package/lib/components/Footer/FooterContent.d.ts +5 -9
  249. package/lib/components/Footer/HorizontalNavigation.d.ts +2 -2
  250. package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  251. package/lib/components/Footer/HorizontalNavigation.mobile.d.ts +2 -2
  252. package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  253. package/lib/components/Footer/Sitemap.d.ts +2 -0
  254. package/lib/components/Footer/Sitemap.js +2 -2
  255. package/lib/components/Footer/Sitemap.js.map +1 -1
  256. package/lib/components/Gallery/GalleryContent.d.ts +16 -19
  257. package/lib/components/GracePeriod/GracePeriodContent.d.ts +10 -14
  258. package/lib/components/Header/Header.fallback.d.ts +2 -0
  259. package/lib/components/Header/Header.fallback.js +9 -0
  260. package/lib/components/Header/Header.fallback.js.map +1 -0
  261. package/lib/components/Header/Header.js +4 -3
  262. package/lib/components/Header/Header.js.map +1 -1
  263. package/lib/components/Header/Header.mobile.js +3 -2
  264. package/lib/components/Header/Header.mobile.js.map +1 -1
  265. package/lib/components/Header/HeaderContent.d.ts +14 -23
  266. package/lib/components/Headline/HeadlineContent.d.ts +4 -3
  267. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +8 -13
  268. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
  269. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  270. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  271. package/lib/components/MiniGallery/MiniGalleryContent.d.ts +8 -3
  272. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +19 -5
  273. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  274. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  275. package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +5 -20
  276. package/lib/components/OtherProducts/OtherProductsContent.d.ts +3 -4
  277. package/lib/components/PictureText/PictureText.js +1 -1
  278. package/lib/components/PictureText/PictureTextContent.d.ts +20 -4
  279. package/lib/components/ProductBlock/ProductBlockContent.d.ts +13 -10
  280. package/lib/components/ProductTile/ProductTile.fixture.d.ts +1 -0
  281. package/lib/components/ProductTile/ProductTile.js +13 -8
  282. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  283. package/lib/components/ProductTile/ProductTileContent.d.ts +19 -9
  284. package/lib/components/Recommendation/RecommendationContent.d.ts +20 -2
  285. package/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +2 -2
  286. package/lib/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
  287. package/lib/components/SafeDepositRental/SafeDepositRental.js +14 -2
  288. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  289. package/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +6 -21
  290. package/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +9 -0
  291. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +19 -0
  292. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -0
  293. package/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +2 -0
  294. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +33 -42
  295. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  296. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
  297. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  298. package/lib/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +10 -0
  299. package/lib/components/SafeDepositRental/SafeDepositRentalTypes.js +2 -0
  300. package/lib/components/SafeDepositRental/SafeDepositRentalTypes.js.map +1 -0
  301. package/lib/components/SafeDepositRental/WrapperSelect.js +2 -2
  302. package/lib/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  303. package/lib/components/SafeDepositRental/YandexMap.d.ts +5 -0
  304. package/lib/components/SafeDepositRental/YandexMap.js +22 -0
  305. package/lib/components/SafeDepositRental/YandexMap.js.map +1 -0
  306. package/lib/components/SafeDepositRental/renderClusterer.d.ts +1 -0
  307. package/lib/components/SafeDepositRental/renderClusterer.js +34 -0
  308. package/lib/components/SafeDepositRental/renderClusterer.js.map +1 -0
  309. package/lib/components/SafeDepositRental/useGetRegions.js +1 -1
  310. package/lib/components/SafeDepositRental/useGetRegions.js.map +1 -1
  311. package/lib/components/SafeDepositRental/utils.d.ts +3 -0
  312. package/lib/components/SafeDepositRental/utils.js +11 -0
  313. package/lib/components/SafeDepositRental/utils.js.map +1 -0
  314. package/lib/components/StepsBlock/StepsBlockContent.d.ts +6 -25
  315. package/lib/components/Tabs/TabsContent.d.ts +8 -5
  316. package/lib/components/TariffsTable/EmbeddableCellData.mobile.d.ts +0 -3
  317. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  318. package/lib/components/TariffsTable/TariffsTableContent.d.ts +19 -36
  319. package/lib/components/TariffsTable/TariffsTableRow.js +2 -1
  320. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  321. package/lib/components/TextBlock/TextBlockContent.d.ts +3 -6
  322. package/lib/components/Tile/TileContent.d.ts +17 -2
  323. package/lib/hooks/useFetchSafeBoxes.d.ts +22 -0
  324. package/lib/hooks/useFetchSafeBoxes.js +14 -0
  325. package/lib/hooks/useFetchSafeBoxes.js.map +1 -0
  326. package/lib/hooks/useScript.d.ts +6 -0
  327. package/lib/hooks/useScript.js +72 -0
  328. package/lib/hooks/useScript.js.map +1 -0
  329. package/lib/icons/IconName.d.ts +19 -5
  330. package/lib/icons/IconName.js +17 -3
  331. package/lib/icons/IconName.js.map +1 -1
  332. package/lib/model/ButtonVersion.d.ts +1 -1
  333. package/lib/model/Footnote.d.ts +4 -0
  334. package/lib/model/Footnote.js +2 -0
  335. package/lib/model/Footnote.js.map +1 -0
  336. package/lib/model/HeadlineType.d.ts +4 -0
  337. package/lib/model/Picture.d.ts +4 -0
  338. package/lib/model/ProductColorVersion.d.ts +4 -0
  339. package/lib/model/ProductColorVersion.js +2 -0
  340. package/lib/model/ProductColorVersion.js.map +1 -0
  341. package/lib/react/setup-fixture.js +3 -0
  342. package/lib/react/setup-fixture.js.map +1 -1
  343. package/lib/services/sitemap/useSitemap.d.ts +2 -1
  344. package/lib/services/sitemap/useSitemap.js +2 -2
  345. package/lib/services/sitemap/useSitemap.js.map +1 -1
  346. package/lib/types/Fallback.d.ts +5 -0
  347. package/lib/types/Fallback.js +2 -0
  348. package/lib/types/Fallback.js.map +1 -0
  349. package/lib/types.d.ts +1 -0
  350. package/lib/ui-kit/BenefitItem/BenefitItem.js +2 -2
  351. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  352. package/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +3 -8
  353. package/lib/ui-kit/Button/ButtonProps.d.ts +3 -5
  354. package/lib/ui-kit/Button/ButtonSection.js +2 -1
  355. package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  356. package/lib/ui-kit/Button/LikeButton.js +1 -1
  357. package/lib/ui-kit/Button/LikeButton.js.map +1 -1
  358. package/lib/ui-kit/Button/buttonClassNameConstants.js +4 -3
  359. package/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  360. package/lib/ui-kit/Foldable/Foldable.js +1 -1
  361. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  362. package/lib/ui-kit/Input/Input.js +1 -1
  363. package/lib/ui-kit/Input/Input.js.map +1 -1
  364. package/lib/ui-kit/InputRange/InputRange.js +8 -15
  365. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  366. package/lib/ui-kit/Radio/Radio.js +1 -1
  367. package/lib/ui-kit/Radio/Radio.js.map +1 -1
  368. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
  369. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  370. package/lib/ui-kit/SearchBar/SearchBarInner.js +2 -2
  371. package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  372. package/lib/ui-kit/SelectCustom/SelectCustom.d.ts +13 -0
  373. package/lib/{components/Navigation/Navigation.fixture.d.ts → ui-kit/SelectCustom/SelectCustom.fixture.d.ts} +0 -0
  374. package/lib/ui-kit/SelectCustom/SelectCustom.js +28 -0
  375. package/lib/ui-kit/SelectCustom/SelectCustom.js.map +1 -0
  376. package/lib/wlc.json +5 -0
  377. package/mobile/bundle/bundle.umd.js +82 -34
  378. package/mobile/bundle/bundle.umd.min.js +1 -1
  379. package/mobile/dist/ProjectSettings.d.ts +4 -0
  380. package/mobile/dist/ProjectSettings.js +6 -0
  381. package/mobile/dist/ProjectSettings.js.map +1 -1
  382. package/mobile/dist/components/Accordion/AccordionContent.d.ts +4 -9
  383. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  384. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +12 -19
  385. package/mobile/dist/components/BlockContent.d.ts +2 -3
  386. package/mobile/dist/components/Bonus/Bonus.js +1 -1
  387. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  388. package/mobile/dist/components/Bonus/BonusContent.d.ts +6 -9
  389. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +3 -5
  390. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  391. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +5 -11
  392. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +3 -2
  393. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  394. package/mobile/dist/components/Calculator/Calculator.js +1 -1
  395. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  396. package/mobile/dist/components/Calculator/CalculatorContent.d.ts +7 -40
  397. package/mobile/dist/components/Calculator/CalculatorValueBlock.js +1 -1
  398. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +4 -3
  399. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  400. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +21 -2
  401. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  402. package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -3
  403. package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.js +0 -2
  404. package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  405. package/mobile/dist/components/Calculator/renderFootnote.d.ts +2 -0
  406. package/mobile/dist/components/Calculator/renderFootnote.js +6 -0
  407. package/mobile/dist/components/Calculator/renderFootnote.js.map +1 -0
  408. package/mobile/dist/components/CardTransfer/CardTransferContent.d.ts +3 -6
  409. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
  410. package/mobile/dist/components/Catalog/CatalogContent.d.ts +2 -5
  411. package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +9 -43
  412. package/mobile/dist/components/ComparisonTable/TableColumn.d.ts +8 -1
  413. package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  414. package/mobile/dist/components/ComparisonTable/TableRow.d.ts +5 -1
  415. package/mobile/dist/components/ComparisonTable/TableRow.js.map +1 -1
  416. package/mobile/dist/components/ContentPage/computeAPIFallback.d.ts +5 -0
  417. package/mobile/dist/components/ContentPage/computeAPIFallback.js +68 -0
  418. package/mobile/dist/components/ContentPage/computeAPIFallback.js.map +1 -0
  419. package/mobile/dist/components/ErrorBlock/ErrorBlockContent.d.ts +17 -4
  420. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -4
  421. package/mobile/dist/components/ExchangeRateTile/renderInput.js +4 -3
  422. package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  423. package/mobile/dist/components/Footer/Footer.js +3 -2
  424. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  425. package/mobile/dist/components/Footer/FooterContent.d.ts +5 -9
  426. package/mobile/dist/components/Footer/HorizontalNavigation.d.ts +2 -2
  427. package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  428. package/mobile/dist/components/Footer/Sitemap.d.ts +2 -0
  429. package/mobile/dist/components/Footer/Sitemap.js +2 -2
  430. package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
  431. package/mobile/dist/components/Gallery/GalleryContent.d.ts +16 -19
  432. package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +10 -14
  433. package/mobile/dist/components/Header/Header.fallback.d.ts +2 -0
  434. package/mobile/dist/components/Header/Header.fallback.js +12 -0
  435. package/mobile/dist/components/Header/Header.fallback.js.map +1 -0
  436. package/mobile/dist/components/Header/Header.js +3 -2
  437. package/mobile/dist/components/Header/Header.js.map +1 -1
  438. package/mobile/dist/components/Header/HeaderContent.d.ts +14 -23
  439. package/mobile/dist/components/Headline/HeadlineContent.d.ts +4 -3
  440. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +8 -13
  441. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
  442. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  443. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  444. package/mobile/dist/components/MiniGallery/MiniGalleryContent.d.ts +8 -3
  445. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +19 -5
  446. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  447. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  448. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +5 -20
  449. package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +3 -4
  450. package/mobile/dist/components/PictureText/PictureText.js +1 -1
  451. package/mobile/dist/components/PictureText/PictureTextContent.d.ts +20 -4
  452. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +13 -10
  453. package/mobile/dist/components/ProductTile/ProductTile.js +13 -8
  454. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  455. package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +19 -9
  456. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +20 -2
  457. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +2 -2
  458. package/mobile/dist/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
  459. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +14 -2
  460. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  461. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +6 -21
  462. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +9 -0
  463. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +21 -0
  464. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -0
  465. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +2 -0
  466. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +33 -42
  467. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  468. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
  469. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  470. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +10 -0
  471. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTypes.js +2 -0
  472. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTypes.js.map +1 -0
  473. package/mobile/dist/components/SafeDepositRental/WrapperSelect.js +2 -2
  474. package/mobile/dist/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  475. package/mobile/dist/components/SafeDepositRental/YandexMap.d.ts +5 -0
  476. package/mobile/dist/components/SafeDepositRental/YandexMap.js +24 -0
  477. package/mobile/dist/components/SafeDepositRental/YandexMap.js.map +1 -0
  478. package/mobile/dist/components/SafeDepositRental/renderClusterer.d.ts +1 -0
  479. package/mobile/dist/components/SafeDepositRental/renderClusterer.js +37 -0
  480. package/mobile/dist/components/SafeDepositRental/renderClusterer.js.map +1 -0
  481. package/mobile/dist/components/SafeDepositRental/useGetRegions.js +1 -1
  482. package/mobile/dist/components/SafeDepositRental/useGetRegions.js.map +1 -1
  483. package/mobile/dist/components/SafeDepositRental/utils.d.ts +3 -0
  484. package/mobile/dist/components/SafeDepositRental/utils.js +15 -0
  485. package/mobile/dist/components/SafeDepositRental/utils.js.map +1 -0
  486. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +6 -25
  487. package/mobile/dist/components/Tabs/TabsContent.d.ts +8 -5
  488. package/mobile/dist/components/TariffsTable/EmbeddableCellData.d.ts +0 -3
  489. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  490. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +19 -36
  491. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +2 -1
  492. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  493. package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +3 -6
  494. package/mobile/dist/components/Tile/TileContent.d.ts +17 -2
  495. package/mobile/dist/hooks/useFetchSafeBoxes.d.ts +22 -0
  496. package/mobile/dist/hooks/useFetchSafeBoxes.js +17 -0
  497. package/mobile/dist/hooks/useFetchSafeBoxes.js.map +1 -0
  498. package/mobile/dist/hooks/useScript.d.ts +6 -0
  499. package/mobile/dist/hooks/useScript.js +75 -0
  500. package/mobile/dist/hooks/useScript.js.map +1 -0
  501. package/mobile/dist/icons/IconName.d.ts +19 -5
  502. package/mobile/dist/icons/IconName.js +17 -3
  503. package/mobile/dist/icons/IconName.js.map +1 -1
  504. package/mobile/dist/model/ButtonVersion.d.ts +1 -1
  505. package/mobile/dist/model/Footnote.d.ts +4 -0
  506. package/mobile/dist/model/Footnote.js +2 -0
  507. package/mobile/dist/model/Footnote.js.map +1 -0
  508. package/mobile/dist/model/HeadlineType.d.ts +4 -0
  509. package/mobile/dist/model/Picture.d.ts +4 -0
  510. package/mobile/dist/model/ProductColorVersion.d.ts +4 -0
  511. package/mobile/dist/model/ProductColorVersion.js +2 -0
  512. package/mobile/dist/model/ProductColorVersion.js.map +1 -0
  513. package/mobile/dist/react/setup-fixture.js +6 -0
  514. package/mobile/dist/react/setup-fixture.js.map +1 -1
  515. package/mobile/dist/services/sitemap/useSitemap.d.ts +2 -1
  516. package/mobile/dist/services/sitemap/useSitemap.js +2 -2
  517. package/mobile/dist/services/sitemap/useSitemap.js.map +1 -1
  518. package/mobile/dist/types/Fallback.d.ts +5 -0
  519. package/mobile/dist/types/Fallback.js +2 -0
  520. package/mobile/dist/types/Fallback.js.map +1 -0
  521. package/mobile/dist/types.d.ts +1 -0
  522. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +2 -2
  523. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  524. package/mobile/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +3 -8
  525. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +3 -5
  526. package/mobile/dist/ui-kit/Button/ButtonSection.js +2 -1
  527. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  528. package/mobile/dist/ui-kit/Button/LikeButton.js +1 -1
  529. package/mobile/dist/ui-kit/Button/LikeButton.js.map +1 -1
  530. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js +4 -3
  531. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  532. package/mobile/dist/ui-kit/Foldable/Foldable.js +1 -1
  533. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  534. package/mobile/dist/ui-kit/Input/Input.js +1 -1
  535. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  536. package/mobile/dist/ui-kit/InputRange/InputRange.js +8 -15
  537. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  538. package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
  539. package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
  540. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
  541. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  542. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +2 -2
  543. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  544. package/mobile/dist/ui-kit/SelectCustom/SelectCustom.d.ts +13 -0
  545. package/mobile/dist/ui-kit/SelectCustom/SelectCustom.js +30 -0
  546. package/mobile/dist/ui-kit/SelectCustom/SelectCustom.js.map +1 -0
  547. package/mobile/dist/wlc.json +5 -0
  548. package/mobile/lib/ProjectSettings.d.ts +4 -0
  549. package/mobile/lib/ProjectSettings.js +6 -0
  550. package/mobile/lib/ProjectSettings.js.map +1 -1
  551. package/mobile/lib/components/Accordion/AccordionContent.d.ts +4 -9
  552. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  553. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +12 -19
  554. package/mobile/lib/components/BlockContent.d.ts +2 -3
  555. package/mobile/lib/components/Bonus/Bonus.js +1 -1
  556. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  557. package/mobile/lib/components/Bonus/BonusContent.d.ts +6 -9
  558. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +3 -5
  559. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  560. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +5 -11
  561. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +3 -2
  562. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  563. package/mobile/lib/components/Calculator/Calculator.js +1 -1
  564. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  565. package/mobile/lib/components/Calculator/CalculatorContent.d.ts +7 -40
  566. package/mobile/lib/components/Calculator/CalculatorValueBlock.js +1 -1
  567. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +4 -3
  568. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  569. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +21 -2
  570. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  571. package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -3
  572. package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.js +0 -2
  573. package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
  574. package/mobile/lib/components/Calculator/renderFootnote.d.ts +2 -0
  575. package/mobile/lib/components/Calculator/renderFootnote.js +3 -0
  576. package/mobile/lib/components/Calculator/renderFootnote.js.map +1 -0
  577. package/mobile/lib/components/CardTransfer/CardTransferContent.d.ts +3 -6
  578. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
  579. package/mobile/lib/components/Catalog/CatalogContent.d.ts +2 -5
  580. package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +9 -43
  581. package/mobile/lib/components/ComparisonTable/TableColumn.d.ts +8 -1
  582. package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  583. package/mobile/lib/components/ComparisonTable/TableRow.d.ts +5 -1
  584. package/mobile/lib/components/ComparisonTable/TableRow.js.map +1 -1
  585. package/mobile/lib/components/ContentPage/computeAPIFallback.d.ts +5 -0
  586. package/mobile/lib/components/ContentPage/computeAPIFallback.js +40 -0
  587. package/mobile/lib/components/ContentPage/computeAPIFallback.js.map +1 -0
  588. package/mobile/lib/components/ErrorBlock/ErrorBlockContent.d.ts +17 -4
  589. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -4
  590. package/mobile/lib/components/ExchangeRateTile/renderInput.js +4 -3
  591. package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  592. package/mobile/lib/components/Footer/Footer.js +3 -2
  593. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  594. package/mobile/lib/components/Footer/FooterContent.d.ts +5 -9
  595. package/mobile/lib/components/Footer/HorizontalNavigation.d.ts +2 -2
  596. package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  597. package/mobile/lib/components/Footer/Sitemap.d.ts +2 -0
  598. package/mobile/lib/components/Footer/Sitemap.js +2 -2
  599. package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
  600. package/mobile/lib/components/Gallery/GalleryContent.d.ts +16 -19
  601. package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +10 -14
  602. package/mobile/lib/components/Header/Header.fallback.d.ts +2 -0
  603. package/mobile/lib/components/Header/Header.fallback.js +9 -0
  604. package/mobile/lib/components/Header/Header.fallback.js.map +1 -0
  605. package/mobile/lib/components/Header/Header.js +3 -2
  606. package/mobile/lib/components/Header/Header.js.map +1 -1
  607. package/mobile/lib/components/Header/HeaderContent.d.ts +14 -23
  608. package/mobile/lib/components/Headline/HeadlineContent.d.ts +4 -3
  609. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +8 -13
  610. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
  611. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  612. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  613. package/mobile/lib/components/MiniGallery/MiniGalleryContent.d.ts +8 -3
  614. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +19 -5
  615. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  616. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  617. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +5 -20
  618. package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +3 -4
  619. package/mobile/lib/components/PictureText/PictureText.js +1 -1
  620. package/mobile/lib/components/PictureText/PictureTextContent.d.ts +20 -4
  621. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +13 -10
  622. package/mobile/lib/components/ProductTile/ProductTile.js +13 -8
  623. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  624. package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +19 -9
  625. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +20 -2
  626. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +2 -2
  627. package/mobile/lib/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
  628. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +14 -2
  629. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  630. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +6 -21
  631. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +9 -0
  632. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +19 -0
  633. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -0
  634. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +2 -0
  635. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +33 -42
  636. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  637. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
  638. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  639. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +10 -0
  640. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTypes.js +2 -0
  641. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTypes.js.map +1 -0
  642. package/mobile/lib/components/SafeDepositRental/WrapperSelect.js +2 -2
  643. package/mobile/lib/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  644. package/mobile/lib/components/SafeDepositRental/YandexMap.d.ts +5 -0
  645. package/mobile/lib/components/SafeDepositRental/YandexMap.js +22 -0
  646. package/mobile/lib/components/SafeDepositRental/YandexMap.js.map +1 -0
  647. package/mobile/lib/components/SafeDepositRental/renderClusterer.d.ts +1 -0
  648. package/mobile/lib/components/SafeDepositRental/renderClusterer.js +34 -0
  649. package/mobile/lib/components/SafeDepositRental/renderClusterer.js.map +1 -0
  650. package/mobile/lib/components/SafeDepositRental/useGetRegions.js +1 -1
  651. package/mobile/lib/components/SafeDepositRental/useGetRegions.js.map +1 -1
  652. package/mobile/lib/components/SafeDepositRental/utils.d.ts +3 -0
  653. package/mobile/lib/components/SafeDepositRental/utils.js +11 -0
  654. package/mobile/lib/components/SafeDepositRental/utils.js.map +1 -0
  655. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +6 -25
  656. package/mobile/lib/components/Tabs/TabsContent.d.ts +8 -5
  657. package/mobile/lib/components/TariffsTable/EmbeddableCellData.d.ts +0 -3
  658. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  659. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +19 -36
  660. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +2 -1
  661. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  662. package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +3 -6
  663. package/mobile/lib/components/Tile/TileContent.d.ts +17 -2
  664. package/mobile/lib/hooks/useFetchSafeBoxes.d.ts +22 -0
  665. package/mobile/lib/hooks/useFetchSafeBoxes.js +14 -0
  666. package/mobile/lib/hooks/useFetchSafeBoxes.js.map +1 -0
  667. package/mobile/lib/hooks/useScript.d.ts +6 -0
  668. package/mobile/lib/hooks/useScript.js +72 -0
  669. package/mobile/lib/hooks/useScript.js.map +1 -0
  670. package/mobile/lib/icons/IconName.d.ts +19 -5
  671. package/mobile/lib/icons/IconName.js +17 -3
  672. package/mobile/lib/icons/IconName.js.map +1 -1
  673. package/mobile/lib/model/ButtonVersion.d.ts +1 -1
  674. package/mobile/lib/model/Footnote.d.ts +4 -0
  675. package/mobile/lib/model/Footnote.js +2 -0
  676. package/mobile/lib/model/Footnote.js.map +1 -0
  677. package/mobile/lib/model/HeadlineType.d.ts +4 -0
  678. package/mobile/lib/model/Picture.d.ts +4 -0
  679. package/mobile/lib/model/ProductColorVersion.d.ts +4 -0
  680. package/mobile/lib/model/ProductColorVersion.js +2 -0
  681. package/mobile/lib/model/ProductColorVersion.js.map +1 -0
  682. package/mobile/lib/react/setup-fixture.js +3 -0
  683. package/mobile/lib/react/setup-fixture.js.map +1 -1
  684. package/mobile/lib/services/sitemap/useSitemap.d.ts +2 -1
  685. package/mobile/lib/services/sitemap/useSitemap.js +2 -2
  686. package/mobile/lib/services/sitemap/useSitemap.js.map +1 -1
  687. package/mobile/lib/types/Fallback.d.ts +5 -0
  688. package/mobile/lib/types/Fallback.js +2 -0
  689. package/mobile/lib/types/Fallback.js.map +1 -0
  690. package/mobile/lib/types.d.ts +1 -0
  691. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +2 -2
  692. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  693. package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +3 -8
  694. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +3 -5
  695. package/mobile/lib/ui-kit/Button/ButtonSection.js +2 -1
  696. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  697. package/mobile/lib/ui-kit/Button/LikeButton.js +1 -1
  698. package/mobile/lib/ui-kit/Button/LikeButton.js.map +1 -1
  699. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js +4 -3
  700. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  701. package/mobile/lib/ui-kit/Foldable/Foldable.js +1 -1
  702. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  703. package/mobile/lib/ui-kit/Input/Input.js +1 -1
  704. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  705. package/mobile/lib/ui-kit/InputRange/InputRange.js +8 -15
  706. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  707. package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
  708. package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
  709. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
  710. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  711. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +2 -2
  712. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  713. package/mobile/lib/ui-kit/SelectCustom/SelectCustom.d.ts +13 -0
  714. package/mobile/lib/ui-kit/SelectCustom/SelectCustom.js +28 -0
  715. package/mobile/lib/ui-kit/SelectCustom/SelectCustom.js.map +1 -0
  716. package/mobile/lib/wlc.json +5 -0
  717. package/mobile/src/ProjectSettings.ts +8 -0
  718. package/mobile/src/components/Accordion/AccordionContent.ts +5 -9
  719. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +8 -14
  720. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +15 -22
  721. package/mobile/src/components/BlockContent.ts +1 -3
  722. package/mobile/src/components/Bonus/Bonus.tsx +1 -1
  723. package/mobile/src/components/Bonus/BonusContent.ts +6 -8
  724. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +25 -27
  725. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +5 -11
  726. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +4 -2
  727. package/mobile/src/components/Calculator/Calculator.tsx +1 -1
  728. package/mobile/src/components/Calculator/CalculatorContent.ts +6 -44
  729. package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +1 -1
  730. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +4 -2
  731. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +25 -2
  732. package/mobile/src/components/Calculator/EmbeddableCalcBlocks.tsx +0 -3
  733. package/mobile/src/components/Calculator/renderFootnote.tsx +2 -0
  734. package/mobile/src/components/CardTransfer/CardTransferContent.ts +9 -10
  735. package/mobile/src/components/Catalog/CatalogCard.tsx +4 -3
  736. package/mobile/src/components/Catalog/CatalogContent.ts +2 -6
  737. package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +9 -47
  738. package/mobile/src/components/ComparisonTable/TableColumn.tsx +10 -1
  739. package/mobile/src/components/ComparisonTable/TableRow.tsx +5 -1
  740. package/mobile/src/components/ContentPage/computeAPIFallback.spec.ts +63 -0
  741. package/mobile/src/components/ContentPage/computeAPIFallback.ts +55 -0
  742. package/mobile/src/components/ErrorBlock/ErrorBlockContent.ts +17 -4
  743. package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +3 -4
  744. package/mobile/src/components/ExchangeRateTile/renderInput.tsx +13 -16
  745. package/mobile/src/components/Footer/Footer.tsx +4 -1
  746. package/mobile/src/components/Footer/FooterContent.ts +5 -9
  747. package/mobile/src/components/Footer/HorizontalNavigation.tsx +3 -4
  748. package/mobile/src/components/Footer/Sitemap.tsx +4 -2
  749. package/mobile/src/components/Gallery/GalleryContent.ts +16 -19
  750. package/mobile/src/components/GracePeriod/GracePeriodContent.ts +10 -13
  751. package/mobile/src/components/Header/Header.fallback.ts +14 -0
  752. package/mobile/src/components/Header/Header.tsx +4 -2
  753. package/mobile/src/components/Header/HeaderContent.ts +15 -23
  754. package/mobile/src/components/Headline/HeadlineContent.ts +9 -9
  755. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +8 -13
  756. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +4 -4
  757. package/mobile/src/components/MiniGallery/MiniGalleryContent.ts +8 -3
  758. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +19 -6
  759. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +3 -3
  760. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +5 -20
  761. package/mobile/src/components/OtherProducts/OtherProductsContent.ts +3 -4
  762. package/mobile/src/components/PictureText/PictureText.tsx +1 -1
  763. package/mobile/src/components/PictureText/PictureTextContent.ts +20 -5
  764. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +13 -10
  765. package/mobile/src/components/ProductTile/ProductTile.tsx +21 -12
  766. package/mobile/src/components/ProductTile/ProductTileContent.ts +19 -10
  767. package/mobile/src/components/Recommendation/RecommendationContent.ts +20 -2
  768. package/mobile/src/components/SafeDepositRental/RegionsAndBranches.tsx +2 -2
  769. package/mobile/src/components/SafeDepositRental/SafeBoxCases.tsx +1 -1
  770. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +33 -9
  771. package/mobile/src/components/SafeDepositRental/SafeDepositRentalContent.ts +7 -24
  772. package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +77 -0
  773. package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +57 -74
  774. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
  775. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTypes.ts +12 -0
  776. package/mobile/src/components/SafeDepositRental/WrapperSelect.tsx +2 -10
  777. package/mobile/src/components/SafeDepositRental/YandexMap.tsx +36 -0
  778. package/mobile/src/components/SafeDepositRental/renderClusterer.ts +45 -0
  779. package/mobile/src/components/SafeDepositRental/useGetRegions.ts +1 -1
  780. package/mobile/src/components/SafeDepositRental/utils.ts +17 -0
  781. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +10 -27
  782. package/mobile/src/components/Tabs/TabsContent.ts +8 -5
  783. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +0 -4
  784. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +19 -36
  785. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +4 -1
  786. package/mobile/src/components/TextBlock/TextBlockContent.ts +3 -6
  787. package/mobile/src/components/Tile/TileContent.ts +17 -3
  788. package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +238 -252
  789. package/mobile/src/hooks/useFetchSafeBoxes.ts +44 -0
  790. package/mobile/src/hooks/useScript.ts +97 -0
  791. package/mobile/src/icons/ArrowDownIcon.svg +1 -1
  792. package/mobile/src/icons/ArrowUpIcon.svg +1 -1
  793. package/mobile/src/icons/BuildingIcon.svg +10 -0
  794. package/mobile/src/icons/Car2Icon.svg +10 -0
  795. package/mobile/src/icons/DocDownloadIcon.svg +1 -1
  796. package/mobile/src/icons/DoneIcon.svg +3 -3
  797. package/mobile/src/icons/DoneSimpleIcon.svg +3 -0
  798. package/mobile/src/icons/GpsIcon.svg +1 -1
  799. package/mobile/src/icons/IconName.ts +4 -4
  800. package/mobile/src/icons/MapMarkerClusterIcon.svg +1 -0
  801. package/mobile/src/icons/MapMarkerSingleIcon.svg +1 -0
  802. package/mobile/src/icons/MoneyIcon.svg +5 -1
  803. package/mobile/src/icons/MoneysIcon.svg +7 -0
  804. package/mobile/src/icons/Profile2UserIcon.svg +6 -1
  805. package/mobile/src/icons/StrongBoxIcon.svg +5 -0
  806. package/mobile/src/icons/UserSquareIcon.svg +5 -0
  807. package/mobile/src/icons/UserTickIcon.svg +5 -1
  808. package/mobile/src/model/ButtonVersion.ts +1 -1
  809. package/mobile/src/model/Footnote.ts +4 -0
  810. package/mobile/src/model/HeadlineType.ts +5 -0
  811. package/mobile/src/model/Picture.ts +5 -0
  812. package/mobile/src/model/ProductColorVersion.ts +4 -0
  813. package/mobile/src/react/setup-fixture.ts +4 -0
  814. package/mobile/src/services/sitemap/useSitemap.ts +3 -1
  815. package/mobile/src/types/Fallback.ts +4 -0
  816. package/mobile/src/types.ts +1 -0
  817. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +2 -2
  818. package/mobile/src/ui-kit/BenefitItem/BenefitItemProps.ts +3 -8
  819. package/mobile/src/ui-kit/Button/ButtonProps.ts +12 -13
  820. package/mobile/src/ui-kit/Button/ButtonSection.tsx +19 -2
  821. package/mobile/src/ui-kit/Button/LikeButton.tsx +1 -1
  822. package/mobile/src/ui-kit/Button/buttonClassNameConstants.ts +5 -3
  823. package/mobile/src/ui-kit/Foldable/Foldable.tsx +1 -1
  824. package/mobile/src/ui-kit/Input/Input.tsx +1 -1
  825. package/mobile/src/ui-kit/InputRange/InputRange.tsx +24 -25
  826. package/mobile/src/ui-kit/Radio/Radio.tsx +2 -1
  827. package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
  828. package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +2 -2
  829. package/mobile/src/ui-kit/SelectCustom/SelectCustom.tsx +84 -0
  830. package/mobile/src/wlc.json +5 -0
  831. package/package.json +3 -3
  832. package/src/ProjectSettings.ts +8 -0
  833. package/src/components/Accordion/AccordionContent.ts +5 -9
  834. package/src/components/BenefitsBlock/BenefitsBlock.tsx +8 -14
  835. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +15 -22
  836. package/src/components/BlockContent.ts +1 -3
  837. package/src/components/Blocks.ts +1 -3
  838. package/src/components/Bonus/Bonus.tsx +1 -1
  839. package/src/components/Bonus/BonusContent.ts +6 -8
  840. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +25 -27
  841. package/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +5 -11
  842. package/src/components/Calculator/BonusCalculatorForm.tsx +4 -2
  843. package/src/components/Calculator/Calculator.fixture.tsx +5 -21
  844. package/src/components/Calculator/Calculator.tsx +1 -1
  845. package/src/components/Calculator/CalculatorContent.ts +6 -44
  846. package/src/components/Calculator/CalculatorValueBlock.tsx +1 -1
  847. package/src/components/Calculator/CreditCalculatorForm.tsx +4 -2
  848. package/src/components/Calculator/DepositCalculatorForm.tsx +25 -2
  849. package/src/components/Calculator/EmbeddableCalcBlocks.tsx +0 -3
  850. package/src/components/Calculator/renderFootnote.tsx +2 -0
  851. package/src/components/CardTransfer/CardTransferContent.ts +9 -10
  852. package/src/components/Catalog/Catalog.fixture.tsx +2 -2
  853. package/src/components/Catalog/CatalogCard.tsx +4 -3
  854. package/src/components/Catalog/CatalogContent.ts +2 -6
  855. package/src/components/ComparisonTable/ComparisonTableContent.ts +9 -47
  856. package/src/components/ComparisonTable/TableColumn.tsx +10 -1
  857. package/src/components/ComparisonTable/TableRow.tsx +5 -1
  858. package/src/components/ContentPage/computeAPIFallback.spec.ts +63 -0
  859. package/src/components/ContentPage/computeAPIFallback.ts +55 -0
  860. package/src/components/ErrorBlock/ErrorBlockContent.ts +17 -4
  861. package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +3 -4
  862. package/src/components/ExchangeRateTile/renderInput.tsx +13 -16
  863. package/src/components/Footer/Footer.mobile.tsx +4 -1
  864. package/src/components/Footer/Footer.tsx +5 -1
  865. package/src/components/Footer/FooterContent.ts +5 -9
  866. package/src/components/Footer/HorizontalNavigation.mobile.tsx +3 -4
  867. package/src/components/Footer/HorizontalNavigation.tsx +3 -4
  868. package/src/components/Footer/Sitemap.tsx +4 -2
  869. package/src/components/Gallery/GalleryContent.ts +16 -19
  870. package/src/components/GracePeriod/GracePeriodContent.ts +10 -13
  871. package/src/components/Header/Header.fallback.ts +14 -0
  872. package/src/components/Header/Header.mobile.tsx +4 -2
  873. package/src/components/Header/Header.tsx +7 -2
  874. package/src/components/Header/HeaderContent.ts +15 -23
  875. package/src/components/Headline/HeadlineContent.ts +9 -9
  876. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +8 -13
  877. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +4 -4
  878. package/src/components/MiniGallery/MiniGalleryContent.ts +8 -3
  879. package/src/components/MobileAppTile/MobileAppTileContent.ts +19 -6
  880. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +3 -3
  881. package/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +5 -20
  882. package/src/components/OtherProducts/OtherProductsContent.ts +3 -4
  883. package/src/components/PictureText/PictureText.tsx +1 -1
  884. package/src/components/PictureText/PictureTextContent.ts +20 -5
  885. package/src/components/ProductBlock/ProductBlock.fixture.tsx +1 -21
  886. package/src/components/ProductBlock/ProductBlockContent.ts +13 -10
  887. package/src/components/ProductTile/ProductTile.fixture.tsx +12 -0
  888. package/src/components/ProductTile/ProductTile.tsx +21 -12
  889. package/src/components/ProductTile/ProductTileContent.ts +19 -10
  890. package/src/components/Recommendation/RecommendationContent.ts +20 -2
  891. package/src/components/SafeDepositRental/RegionsAndBranches.tsx +2 -2
  892. package/src/components/SafeDepositRental/SafeBoxCases.tsx +1 -1
  893. package/src/components/SafeDepositRental/SafeDepositRental.fixture.tsx +6 -1
  894. package/src/components/SafeDepositRental/SafeDepositRental.tsx +33 -9
  895. package/src/components/SafeDepositRental/SafeDepositRentalContent.ts +7 -24
  896. package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +77 -0
  897. package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +57 -74
  898. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
  899. package/src/components/SafeDepositRental/SafeDepositRentalTypes.ts +12 -0
  900. package/src/components/SafeDepositRental/WrapperSelect.tsx +2 -10
  901. package/src/components/SafeDepositRental/YandexMap.tsx +36 -0
  902. package/src/components/SafeDepositRental/renderClusterer.ts +45 -0
  903. package/src/components/SafeDepositRental/useGetRegions.ts +1 -1
  904. package/src/components/SafeDepositRental/utils.ts +17 -0
  905. package/src/components/StepsBlock/StepsBlockContent.ts +10 -27
  906. package/src/components/Tabs/TabsContent.ts +8 -5
  907. package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +0 -4
  908. package/src/components/TariffsTable/TariffsTableContent.ts +19 -36
  909. package/src/components/TariffsTable/TariffsTableRow.tsx +4 -1
  910. package/src/components/TextBlock/TextBlockContent.ts +3 -6
  911. package/src/components/Tile/TileContent.ts +17 -3
  912. package/src/components/__snapshots__/Blocks.spec.tsx.snap +238 -252
  913. package/src/hooks/useFetchSafeBoxes.ts +44 -0
  914. package/src/hooks/useScript.ts +97 -0
  915. package/src/icons/ArrowDownIcon.svg +1 -1
  916. package/src/icons/ArrowUpIcon.svg +1 -1
  917. package/src/icons/BuildingIcon.svg +10 -0
  918. package/src/icons/Car2Icon.svg +10 -0
  919. package/src/icons/DocDownloadIcon.svg +1 -1
  920. package/src/icons/DoneIcon.svg +3 -3
  921. package/src/icons/DoneSimpleIcon.svg +3 -0
  922. package/src/icons/GpsIcon.svg +1 -1
  923. package/src/icons/IconName.ts +26 -5
  924. package/src/icons/MapMarkerClusterIcon.svg +1 -0
  925. package/src/icons/MapMarkerSingleIcon.svg +1 -0
  926. package/src/icons/MoneyIcon.svg +5 -1
  927. package/src/icons/MoneysIcon.svg +7 -0
  928. package/src/icons/Profile2UserIcon.svg +6 -1
  929. package/src/icons/StrongBoxIcon.svg +5 -0
  930. package/src/icons/UserSquareIcon.svg +5 -0
  931. package/src/icons/UserTickIcon.svg +5 -1
  932. package/src/model/ButtonVersion.ts +1 -1
  933. package/src/model/Footnote.ts +4 -0
  934. package/src/model/HeadlineType.ts +5 -0
  935. package/src/model/Picture.ts +5 -0
  936. package/src/model/ProductColorVersion.ts +4 -0
  937. package/src/react/setup-fixture.ts +4 -0
  938. package/src/services/sitemap/useSitemap.ts +3 -1
  939. package/src/types/Fallback.ts +4 -0
  940. package/src/types.ts +1 -0
  941. package/src/ui-kit/BenefitItem/BenefitItem.tsx +2 -2
  942. package/src/ui-kit/BenefitItem/BenefitItemProps.ts +3 -8
  943. package/src/ui-kit/Button/ButtonProps.ts +12 -13
  944. package/src/ui-kit/Button/ButtonSection.tsx +19 -2
  945. package/src/ui-kit/Button/LikeButton.tsx +1 -1
  946. package/src/ui-kit/Button/buttonClassNameConstants.ts +5 -3
  947. package/src/ui-kit/Foldable/Foldable.tsx +1 -1
  948. package/src/ui-kit/Input/Input.tsx +1 -1
  949. package/src/ui-kit/InputRange/InputRange.tsx +24 -25
  950. package/src/ui-kit/Radio/Radio.tsx +2 -1
  951. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
  952. package/src/ui-kit/SearchBar/SearchBarInner.tsx +2 -2
  953. package/src/ui-kit/SelectCustom/SelectCustom.fixture.tsx +15 -0
  954. package/src/ui-kit/SelectCustom/SelectCustom.tsx +84 -0
  955. package/src/wlc.json +5 -0
  956. package/cosmos-static/icons/StateMortgageIcon.svg +0 -1
  957. package/dist/components/Calculator/MortgageCalculatorForm.d.ts +0 -5
  958. package/dist/components/Calculator/MortgageCalculatorForm.js +0 -34
  959. package/dist/components/Calculator/MortgageCalculatorForm.js.map +0 -1
  960. package/dist/components/Navigation/Navigation.d.ts +0 -5
  961. package/dist/components/Navigation/Navigation.js +0 -17
  962. package/dist/components/Navigation/Navigation.js.map +0 -1
  963. package/dist/components/Navigation/NavigationContent.d.ts +0 -10
  964. package/dist/components/Navigation/NavigationContent.js.map +0 -1
  965. package/dist/components/Navigation/NavigationItem.d.ts +0 -4
  966. package/dist/components/Navigation/NavigationItem.js +0 -6
  967. package/dist/components/Navigation/NavigationItem.js.map +0 -1
  968. package/dist/components/SafeDepositRental/fetchBranches.d.ts +0 -2
  969. package/dist/components/SafeDepositRental/fetchBranches.js +0 -20
  970. package/dist/components/SafeDepositRental/fetchBranches.js.map +0 -1
  971. package/lib/components/Calculator/MortgageCalculatorForm.d.ts +0 -5
  972. package/lib/components/Calculator/MortgageCalculatorForm.js +0 -32
  973. package/lib/components/Calculator/MortgageCalculatorForm.js.map +0 -1
  974. package/lib/components/Navigation/Navigation.d.ts +0 -5
  975. package/lib/components/Navigation/Navigation.js +0 -15
  976. package/lib/components/Navigation/Navigation.js.map +0 -1
  977. package/lib/components/Navigation/NavigationContent.d.ts +0 -10
  978. package/lib/components/Navigation/NavigationContent.js +0 -2
  979. package/lib/components/Navigation/NavigationContent.js.map +0 -1
  980. package/lib/components/Navigation/NavigationItem.d.ts +0 -4
  981. package/lib/components/Navigation/NavigationItem.js +0 -4
  982. package/lib/components/Navigation/NavigationItem.js.map +0 -1
  983. package/lib/components/SafeDepositRental/fetchBranches.d.ts +0 -2
  984. package/lib/components/SafeDepositRental/fetchBranches.js +0 -17
  985. package/lib/components/SafeDepositRental/fetchBranches.js.map +0 -1
  986. package/mobile/dist/components/Calculator/MortgageCalculatorForm.d.ts +0 -5
  987. package/mobile/dist/components/Calculator/MortgageCalculatorForm.js +0 -34
  988. package/mobile/dist/components/Calculator/MortgageCalculatorForm.js.map +0 -1
  989. package/mobile/dist/components/Navigation/Navigation.d.ts +0 -5
  990. package/mobile/dist/components/Navigation/Navigation.js +0 -17
  991. package/mobile/dist/components/Navigation/Navigation.js.map +0 -1
  992. package/mobile/dist/components/Navigation/NavigationContent.d.ts +0 -10
  993. package/mobile/dist/components/Navigation/NavigationContent.js.map +0 -1
  994. package/mobile/dist/components/Navigation/NavigationItem.d.ts +0 -4
  995. package/mobile/dist/components/Navigation/NavigationItem.js +0 -6
  996. package/mobile/dist/components/Navigation/NavigationItem.js.map +0 -1
  997. package/mobile/dist/components/SafeDepositRental/fetchBranches.d.ts +0 -2
  998. package/mobile/dist/components/SafeDepositRental/fetchBranches.js +0 -20
  999. package/mobile/dist/components/SafeDepositRental/fetchBranches.js.map +0 -1
  1000. package/mobile/lib/components/Calculator/MortgageCalculatorForm.d.ts +0 -5
  1001. package/mobile/lib/components/Calculator/MortgageCalculatorForm.js +0 -32
  1002. package/mobile/lib/components/Calculator/MortgageCalculatorForm.js.map +0 -1
  1003. package/mobile/lib/components/Navigation/Navigation.d.ts +0 -5
  1004. package/mobile/lib/components/Navigation/Navigation.js +0 -15
  1005. package/mobile/lib/components/Navigation/Navigation.js.map +0 -1
  1006. package/mobile/lib/components/Navigation/NavigationContent.d.ts +0 -10
  1007. package/mobile/lib/components/Navigation/NavigationContent.js +0 -2
  1008. package/mobile/lib/components/Navigation/NavigationContent.js.map +0 -1
  1009. package/mobile/lib/components/Navigation/NavigationItem.d.ts +0 -4
  1010. package/mobile/lib/components/Navigation/NavigationItem.js +0 -4
  1011. package/mobile/lib/components/Navigation/NavigationItem.js.map +0 -1
  1012. package/mobile/lib/components/SafeDepositRental/fetchBranches.d.ts +0 -2
  1013. package/mobile/lib/components/SafeDepositRental/fetchBranches.js +0 -17
  1014. package/mobile/lib/components/SafeDepositRental/fetchBranches.js.map +0 -1
  1015. package/mobile/src/components/Calculator/MortgageCalculatorForm.tsx +0 -75
  1016. package/mobile/src/components/Navigation/Navigation.tsx +0 -44
  1017. package/mobile/src/components/Navigation/NavigationContent.ts +0 -11
  1018. package/mobile/src/components/Navigation/NavigationItem.tsx +0 -17
  1019. package/mobile/src/components/SafeDepositRental/fetchBranches.ts +0 -21
  1020. package/mobile/src/icons/StateMortgageIcon.svg +0 -1
  1021. package/src/components/Calculator/MortgageCalculatorForm.tsx +0 -75
  1022. package/src/components/Navigation/Navigation.fixture.tsx +0 -30
  1023. package/src/components/Navigation/Navigation.tsx +0 -44
  1024. package/src/components/Navigation/NavigationContent.ts +0 -11
  1025. package/src/components/Navigation/NavigationItem.tsx +0 -17
  1026. package/src/components/SafeDepositRental/fetchBranches.ts +0 -21
  1027. package/src/icons/StateMortgageIcon.svg +0 -1
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UniMobileBlocks={})}(this,(function(e){"use strict";let t;const n=e=>(...n)=>t[e](...n),r=n("useState"),l=n("useEffect"),a=n("useCallback"),i=n("useMemo");function o(e=""){return{getFetcherAddress:async function(){if(!("geolocation"in navigator))return null;try{const t=await(async()=>new Promise((e=>navigator.geolocation.getCurrentPosition((({coords:t})=>e(t))))))(),n=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await n.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}}const s=new class{_={PROD_BRANCH:"master",FORCED_DRAFT_FLOW:!1};setup(e){this._=e}get TEST_BRANCH(){return this._.TEST_BRANCH}get RC_BRANCH(){return this._.RC_BRANCH}get PROD_BRANCH(){return this._.PROD_BRANCH}get FORCED_DRAFT_FLOW(){return this._.FORCED_DRAFT_FLOW}get ASSIST_PROJECT_ID(){return this._.ASSIST_PROJECT_ID}get SITEMAP(){return this._.SITEMAP}get CDN(){return this._.CDN}},c="likesToken";function d(){async function e(){try{const e=JSON.parse(globalThis.localStorage.getItem(c)||"");if(e?.token)return e}catch(e){}try{const e=await fetch("/assist/v1/public/auth",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:t,name:n}=await e.json();return globalThis.localStorage.setItem(c,JSON.stringify({token:t,name:n})),{token:t,name:n}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...t){if(!t.length)return[];const{token:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${s.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n},body:JSON.stringify({node_ids:t})}),{likes:r}=await e.json();return r||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:n,name:r}=await e();try{const e=await fetch(`/assist/v1/public/projects/${s.ASSIST_PROJECT_ID}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:r},body:JSON.stringify({node_id:t,user_name:r})}),{likes:l}=await e.json();return l||0}catch(e){return console.error(e),0}},dislike:async function(t){if(!t)return 0;const{token:n,name:r}=await e();try{const e=await fetch(`/assist/v1/public/projects/${s.ASSIST_PROJECT_ID}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:r},body:JSON.stringify({node_id:t,user_name:r})}),{likes:l}=await e.json();return l||0}catch(e){return console.error(e),0}}}}const m=(...e)=>globalThis._uni._jsx(...e),h=(...e)=>globalThis._uni._jsxs(...e),u=e=>{const t=e;return t._tmpl||(t._tmpl=globalThis.__UNI_REACT__?e:p(e)),t._tmpl},p=e=>{function t(t,n){const{children:r,...l}=t||{},a=n?.slots?.default,i=r||a&&a();return e(Object.assign(l,i&&{children:i}),n)}return t.inheritAttrs=!1,t},x={h0:"text-m-title",h1:"text-m-title",h2:"text-m-title",h3:"text-h6",h4:"text-m-title-xs",h5:"text-m-title-xs",h6:"text-m-title-xs"},g=u((e=>{const{className:t,headingType:n="h3",title:r,as:l="h3"}=e;return m(l,{className:`font-sans font-medium m-0 ${x[n]} ${t||""}`,children:r})}));var b,f;!function(e){e.ActualBalanceIcon="ActualBalanceIcon",e.AirPlaneIcon="AirPlaneIcon",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.DocDownloadIcon="DocDownloadIcon",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.LogoIcon="LogoIcon",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.PackA4Icon="PackA4Icon",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.StateMortgageIcon="StateMortgageIcon",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.WateringCanIcon="WateringCanIcon"}(b||(b={})),function(e){e.ActualBalanceIcon="Деньги",e.AirPlaneIcon="Самолет",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.DocDownloadIcon="Скачать документ",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.LogoIcon="Logo",e.LoupeIcon="Лупа",e.MasterCardIcon="MasterCard",e.MinusIcon="Минус",e.MirIcon="МИР",e.MoneyIcon="Деньги",e.MoneyInsuranceIcon="Денежное страхование",e.MonitorMobileIcon="Монитор и мобильный",e.NewDocIcon="Новый документ",e.OfficeIcon="Офис",e.OkIcon="Лого «Одноклассники»",e.PackA4Icon="PackA4Icon",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.StateMortgageIcon="StateMortgageIcon",e.TelegramIcon="Лого «Telegram»",e.UnionPayIcon="UnionPay",e.UserTickIcon="Пользователь",e.VisaIcon="Visa",e.VKIcon="Лого «VK»",e.WalletAdd2Icon="Пополнение карты",e.WalletAddIcon="Кошелёк с плюсом",e.WalletIcon="Кошелёк",e.WalletWithMoneyIcon="Кошелёк с деньгами",e.WateringCanIcon="Добавить продукт"}(f||(f={}));const y={normal:"text-primary-main",black:"text-black",white:"text-black invert"},N=u((({className:e="",imageClassName:t="",name:n="",alt:r=`Иконка ${f[n]||n}`,title:l=r,iconVersion:a="normal",asSVG:i,...o})=>{const c=`${s.CDN||""}icons/${n}.svg`;return i?h("svg",{className:e,...o,"aria-hidden":"true",children:[l?m("title",{children:l}):null,r?m("desc",{children:r}):null,m("use",{className:`${y[a]} ${t}`,href:`${c}#icon`,xlinkHref:`${c}#icon`})]}):m("img",{className:e,src:c,alt:r,title:l,...o,"aria-hidden":"true"})}));function I(e){return"string"==typeof e?"normal":e.iconVersion||"normal"}const v=(e,t)=>e.media&&t.media?e.media-t.media:0,w=u((({className:e="",image:t,imageClassName:n="",isMobile:r=!1})=>{if(!t||!t?.sources&&!t?.src)return null;return h("picture",{className:`${r?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.sort(v).map((({src:e,format:n,media:r},l)=>m("source",{srcSet:e,type:C(n),media:r?`(max-width: ${r}px)`:"",...t.size},`${l}_${e}`))):null,k(t,n,r)]})})),k=(e,t="",n=!1)=>{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,i=n?"m-auto":"m-0";return m("img",{src:e.src,className:`${i} ${t}`,alt:a,title:l,style:r,...e.size})};function C(e){return e?`image/${String(e)}`:void 0}const S=u((({className:e="",image:t,imageClassName:n="",isMobile:r,...l})=>{if(!t)return null;const a="string"==typeof t?t:t.icon;return a||""===a?a.length?m(N,{className:e,imageClassName:n,iconVersion:I(t),name:a,...l}):null:m(w,{className:e,imageClassName:n,image:t,isMobile:r})})),$=u((({className:e="",image:t,imageClassName:n,...r})=>m(S,{className:e,image:t,imageClassName:n,...r,isMobile:!0})));function D(e){return e?e.filter(Boolean).join(" "):""}const T={left:"text-left",center:"text-center",right:"text-right"},R={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"}},_=u((({bgColorHeadline:e="transparent",className:t="",title:n,description:r,image:l,align:a="left"})=>{const i=R[e];return h("section",{className:`px-4 py-6 flex flex-col gap-2.5 ${i.background} ${t}`,children:[n?m(g,{headingType:"h2",className:`${i.text} ${T[a]}`,title:n}):null,r?m("p",{className:`text-m ${i.description} ${T[a]}`,children:r}):null,l?.src&&m("div",{className:"mt-2.5 mx-auto flex justify-center",children:m($,{image:l})})]})})),B=u((({children:e,activeIndex:t,indexFraction:n,showDots:r})=>{const l=e=>n=>{if(e===t)return;const r=n.currentTarget.parentElement?.previousElementSibling;r?.children[e]?.scrollIntoView({behavior:"smooth",block:"nearest"})};return r&&e?.length?m("div",{className:"flex gap-2 mx-auto mt-5 w-fit",children:e?.map(((e,r)=>m("div",{onClick:l(r),className:"bg-primary-main opacity-30 w-1.5 h-1.5 min-w-1.5 min-h-1.5 rounded-full",style:P(r,t,n),"aria-hidden":!0},String(r))))}):null})),P=(e,t,n)=>{if(e<t||e>t+1)return;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"}},A=u((({className:e="",children:t,...n})=>m("div",{className:`snap-center snap-always min-w-full box-border ${e}`,role:"listitem",...n,children:t}))),M=e=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e}px`}),L=u((({className:e="",children:t,activeIndex:n,onScroll:r,gap:l=14,padding:a=16})=>m("div",{className:`overflow-auto flex horizontal-list no-scrollbar ${e}`,style:{...M(a),gap:`${l}px`},role:"list",onScroll:r,children:t?.length?t?.map(((e,t)=>m(A,{style:M(a/4),"aria-current":Boolean(n===t),children:e},String(t)))):m(A,{children:t})}))),V=u((({className:e,children:t,gap:n=14,padding:l=16,showDots:a=!0,onSlideChange:i})=>{const[o,s]=r(0),[c,d]=r(0),u={activeIndex:o,indexFraction:c,showDots:a,children:t};return h("div",{className:e,children:[m(L,{gap:n,padding:l,activeIndex:o,onScroll:e=>{const{scrollLeft:t,clientWidth:r,childElementCount:a,scrollWidth:c,children:m}=e?.currentTarget,h=m[0].offsetWidth-l/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,s=n-e-t,c=l-2,d=new Array(l).fill(0).map(((e,t)=>0===t||t===c?[t>0?i-s:0,t>0?i:s]:[(t-1)*o+s,t*o+s]));return d[l-1]=[i,r],d})({gap:n,padding:l,clientWidth:r,scrollWidth:c,childElementCount:a,itemWidth:h}),{index:p,fraction:x}=((e,t)=>{const n=t.findIndex((([t,n])=>t<=e&&e<n));if(n<0)return{index:n,fraction:0};const[r,l]=t[n];return{index:n,fraction:(e-r)/(l-r)}})(t,u);p!==o&&i&&i(),s(p),d(x)},children:t}),m(B,{...u})]})})),j=u((({className:e,iconClassName:t,textClassName:n,suffixClassName:r,doc:l,icon:a})=>{const{text:i,fileSize:o,...s}=l;return h("a",{className:e,role:"link",...s,children:[a?m($,{className:t,image:a,width:"24px",height:"24px",asSVG:!0}):null,i?h("span",{className:n,children:[i,m("span",{className:r,children:s?.href&&G(O(s.href),o)})]}):null]})})),G=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),O=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},W=u((({className:e="",doc:t,icon:n})=>m(j,{className:`flex h-full box-border ${e}`,iconClassName:"mr-3 min-w-6 min-h-6",doc:t,icon:n}))),U=u((({context:e,hasBorder:t=!0,documents:n,icon:r})=>m(V,{context:e,className:"text-s text-primary-main mt-5",children:n?.length?n.map(((e,n)=>m(W,{className:t?"rounded-md border-main-stroke border border-solid p-4":"",doc:e,icon:r},String(n)))):null}))),E=u((({hasBorder:e=!0,documents:t,icon:n})=>m("div",{className:"text-s text-primary-main flex flex-col mt-5 "+(e?"gap-3.5":"gap-2"),role:"list",children:t?.length?t.map(((t,r)=>m("div",{role:"listitem",children:m(W,{className:e?"rounded-md border-main-stroke border border-solid p-4":"",doc:t,icon:n})},String(r)))):null}))),F=u((({className:e="",context:t,title:n,description:r,icon:l={icon:"DocIconMonoColor"},documents:a,orientation:i="vertical",hasBorder:o=!0})=>h("section",{className:`font-sans text-primary-text py-6 px-4 bg-white overflow-x-hidden ${e}`,children:[m(_,{className:"!p-0 "+(r?"gap-2":"gap-5"),title:n,description:r,context:t,align:"center"}),"vertical"===i?m(E,{hasBorder:o,documents:a,icon:l}):m(U,{context:t,hasBorder:o,documents:a,icon:l})]}))),H=e=>e?.includes("//"),z=e=>(e||"").replace(/\/?\?.*/,""),J=e=>{if(!e||!H(e))return;const t=e,n=t.indexOf("//"),r=t.indexOf("/",n+"//".length);return-1!==r?t.substring(0,r):t};var q=Object.freeze({__proto__:null,isURL:H,withoutQuery:z,getOrigin:J,getHash:e=>{if(!e||!H(e))return;const t=e.indexOf("#");return-1!==t?e.substring(t,e.length):void 0},isHash:e=>e?.startsWith("#")});const K="/mobile",Q=(e,t)=>{if(!e)return e;const n=J(t?.href);return n?e.replace(n,"")||"/":e},Y=e=>e;function Z({router:e,handlerDecorator:t=Y},n){const r=((e,t)=>{if(!e)return e;const n=Q(e,t)||"",r=t?.pathname.startsWith(K);return r&&!H(n)?`/mobile${n}`:n})(n.href,e);return{...n,href:r,"aria-label":n.text,onClick:t((t=>{const l=r&&!H(r),a=!n.target||"_self"===n.target;l&&a&&(t?.preventDefault(),e.push(r))}),n)}}const X=u((e=>{const{text:t,aboveText:n,appendLeft:r,appendRight:l}=e;return h("div",{className:ee(e),children:[r||null,te(e)?h("div",{children:[m("div",{className:"text-xs-light text-left",children:n}),m("div",{className:"text-left "+(n?"text-s -mt-0.5":"text-l"),children:t})]}):null,l||null]})})),ee=e=>{const{className:t="",version:n,aboveText:r,rounded:l}=e;if("link"===n)return"";const a="gap-2 "+(r?"py-2.5 px-7":"py-4 px-9");return["group flex items-center justify-center",te(e)?a:"h-12 w-12",l?"rounded-full":"",t].join(" ")},te=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),ne={primary:"text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active",secondary:"text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active",white:"text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white",link:"text-primary-main"},re={primary:"bg-secondary-dark text-secondary-text",secondary:"bg-secondary-light text-secondary-text",white:"bg-white text-primary-text",link:""},le="w-full text-center font-sans select-none",ae=u((({className:e,text:t,aboveText:n,appendLeft:r,href:l,target:a,onClick:i,children:o,disabled:s,rounded:c,version:d="primary",ariaLabel:h,...u})=>{const p=o??m(X,{text:t,aboveText:n,appendLeft:r,rounded:c,version:d});return s?m("div",{role:"button","aria-disabled":"true","aria-label":h,tabIndex:-1,className:`inline-block ${le} ${re[d]||""} ${c?"rounded-full":"rounded-md"} ${e||""}`,children:p}):m("a",{className:`${le} inline-block cursor-pointer no-underline focus:border focus:border-primary-focus ${ne[d]||""} ${c?"rounded-full":"rounded-md"} ${e||""}`,href:l,target:a,onClick:i,"aria-label":h,role:l?"link":"button",...u,children:p})})),ie=u((({context:e,className:t="",buttons:n})=>{const{handlerDecorator:r}=e,l=e.useRouter();return n&&n?.length?m("div",{className:t,children:n.map(((e,t)=>function({icon:e,iconRight:t,version:n="primary",...r},l){if(!r?.text)return null;const a="primary"===n?"group-hover:text-black":"group-hover:text-white";return m(ae,e?{appendLeft:m($,{imageClassName:a,image:e,width:"24",height:"24",asSVG:!0}),appendRight:m($,{imageClassName:a,image:t,width:"24",height:"24",asSVG:!0}),version:n,...r}:{version:n,...r},String(l))}(Z({router:l,handlerDecorator:r},e),t)))}):null}));const oe={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"},se={primary:"bg-primary-text",secondary:"bg-white",gray:"bg-secondary-text",tile:"bg-black","tile-white":"bg-white"},ce=u((({className:e="",isDotted:t=!0,children:n,version:r="primary"})=>h("div",{className:`font-sans flex items-start ${e}`,role:"listitem",children:[t?m("div",{className:de(r)}):null,m("span",{children:n})]}))),de=e=>`${oe[e]} ${se[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]}`,me={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text",tile:"text-primary-text","tile-white":"text-white"},he={M:"text-xl-light",L:"text-h5-light"},ue=u((e=>{const{className:t="",itemClassName:n,isDotted:r,items:l,listItemSize:a="M",version:i="primary"}=e;return m("section",{className:`${me[i]} ${he[a]} ${t}`,role:"list",children:l?.length?l.map(((e,t)=>m(ce,{className:n,isDotted:r,version:i,children:e},String(t)))):null})})),pe=u((({className:e="",title:t="",children:n,buttons:r,image:l})=>h("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,children:[t,h("div",{className:"flex grow w-full justify-between",children:[h("div",{className:"flex flex-col justify-between w-full",children:[m("div",{className:"h-full",children:n}),r?m("div",{className:"mt-auto pt-8",children:r}):null]}),l]})]}))),xe={primary:"text-primary-text",secondary:"text-white"},ge={primary:"text-secondary-text",secondary:"text-white"},be=u((e=>{const{className:t="",icon:n,label:r,description:l,version:a="primary",benefitsVersion:i="normal"}=e,o="white"===i||"secondary"===a;return h("div",{className:`flex gap-5 ${l?"items-start":"items-center"} ${t}`,children:[n?m("div",{className:fe(a,i),children:m($,{className:"w-[24px] h-[24px]",image:{...n,iconVersion:o?"white":"normal"},asSVG:!0})}):null,h("div",{className:"gap-0.5",children:[r?m("div",{className:`text-h6 ${xe[a]}`,children:r}):null,l?m("div",{className:`text-m-light ${ge[a]}`,children:l}):null]})]})}));function fe(e,t){let n="bg-primary-main text-black";return"secondary"===e?n="bg-white/30 text-black":"normal"===t&&(n="bg-secondary-light text-primary-main"),`w-[50px] h-[50px] min-w-[50px] rounded-full p-[10px] box-border flex items-center justify-center ${n}`}const ye=(e="primary",t="normal")=>({icon:n,label:r,description:l},a)=>m(be,{icon:n,label:r,description:l,version:e,benefitsVersion:t},String(a)),Ne=u((({className:e="",context:t,title:n,headlineVersion:r="L",description:l,benefits:a,benefitsVersion:i="normal",buttons:o,image:s,items:c,version:d="primary",isDotted:u=!0,label:p})=>h("div",{className:`w-full ${e}`,children:[h("div",{children:[p?we(p,d):null,m(_,{context:t,className:"!p-0 max-w-[600px]",title:n,description:l,bgColorHeadline:d,headlineVersion:r}),h(pe,{context:t,buttons:o?.length?m(ie,{context:t,buttons:o,className:"flex flex-col mt-5 gap-2.5"}):null,children:[a?.filter((e=>e.label))?.length?m("div",{className:"mt-3",children:a.map(ye(d,i))}):null,c?.length?m(ue,{className:"mt-3 text-m",items:c,version:d,isDotted:u}):null]})]}),Ie(s)]})));function Ie(e){return e?.src?m($,{imageClassName:"mt-5 mx-auto block",image:{className:"block",...e}}):null}const ve={primary:"text-primary-main border-secondary-hover",secondary:"text-white/80"},we=(e,t)=>m("div",{className:`px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid w-fit ${ve[t]}`,children:e}),ke={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},Ce=u((e=>{const{className:t="",version:n="primary"}=e;return m("section",{className:`font-sans bg-white px-4 py-6 ${ke[n]} ${t}`,children:m(Ne,{...e})})})),Se={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"}},$e=u((({title:e,description:t,blockVersion:n="primary",iconVersion:r,image:l,className:a="",items:i,isDotted:o=!0})=>{const s=Se[n],c="secondary"===n?"secondary":"gray";return h("section",{className:`font-sans px-4 py-[18px] flex flex-col ${s.background} ${a}`,children:["small"===r?De(s.icon):null,"big"===r?Te(l):null,h("div",{className:"py-0.5",children:[e?m("div",{className:`text-l font-medium mb-1 ${s.title}`,children:e}):null,t?m("div",{className:`text-s ${s.description}`,children:t}):null,i?.length?m(ue,{className:"mt-1 text-m",items:i,isDotted:o,version:c}):null]})]})}));function De(e){return m("div",{className:"mb-3",children:m("div",{className:`rounded-full h-4 w-4 text-center text-xs-light ${e}`,children:"i"})})}function Te(e){return e?.src?m($,{className:"pb-3 mr-auto",image:e}):null}const Re=u((({context:e,title:t,description:n,cards:r=[],className:l,orientation:a="horizontal"})=>h("section",{className:`relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${l}`,children:[h("div",{className:"flex flex-col items-center mb-5",children:[t?m(g,{headingType:"h3",className:`text-center ${n?"mb-2":"mb-5"}`,title:t}):null,n?m("div",{className:"text-m max-w-[600px] text-center mb-5",children:n}):null]}),_e(a,r,e)]})));function _e(e,t,n){return"horizontal"===e?m(V,{context:n,children:t?.map(Be)}):m("div",{className:"grid gap-[14px]",children:t?.map(Be)})}function Be(e,t){return h("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 ${ke[e.version??"primary"]}`,children:[h("div",{children:[e.image?.src?m("div",{className:"flex justify-center",children:m($,{className:"mb-3.5",image:e.image})}):null,e.title?m("h3",{className:"text-m-title-xs font-medium m-0",children:e.title}):null,e.description?Pe(e):null,e.items?.length?Ae(e.items,e.isDotted,e.version):null]}),e?.button?.text?(n=e.button,m(ae,{className:"mt-3",appendLeft:n?.icon&&m($,{image:n?.icon,width:"24px",height:"24px",asSVG:!0}),...n})):null]},t);var n}function Pe(e){return m("div",{className:"text-secondary-text mt-1 text-s "+("secondary"===e.version?"text-white opacity-80":""),children:e.description})}function Ae(e,t,n="primary"){return m("section",{className:"mt-3",children:e.map(((e,r)=>h("div",{children:[t?m("div",{className:de(n)}):null,m("span",{className:"text-m font-medium",children:e.title}),m("span",{className:"text-s pl-2 "+("primary"===n?"text-secondary-text":""),children:e.text})]},String(r))))})}class Me{static inst=new Me;subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]||=[],this.subscribers[e]?.push(t);const n=this.subjectsStateMap[e];return n&&t(n),()=>{this.unsubscribe(e,t)}}unsubscribe(e,t){this.subscribers[e]=this.subscribers[e]?.filter((e=>e!==t))}fire(e,t){this.subjectsStateMap[e]=t,this.subscribers[e]?.forEach((e=>e(t)))}subject(e,t){this.subjectsStateMap[e]=t}}const Le=e=>{if(!e.length)return;const[t]=e;t.isIntersecting},Ve=u((({anchor:e,className:t,context:n,children:a,tag:i="section",labels:o})=>{const s=i,{IntersectionObserverTag:c}=n,[d,h]=r(!0);return l((()=>Me.inst.subscribe("tab",(e=>{var t;"group"===e.type?h(!o?.length||!e.label||o.includes(e.label)):(h(!0),t=e.label,setTimeout((()=>globalThis.document.getElementById(`#${t}`)?.scrollIntoView({behavior:"smooth"}))))}))),[o]),d?e?m(c,{tag:i,className:t,observerCallback:Le,observerOptions:{threshold:1},anchor:e,children:a}):m(s,{className:t,children:a}):null}));const je=u((({className:e="",documents:t,...n})=>m(Ve,{className:`font-sans bg-white mt-[10px] ${e}`,...n,children:m("ul",{className:"flex flex-col text-s text-secondary-text p-0",children:t?.length?Ge(t):null})}))),Ge=e=>e.map(((e,t)=>{const{text:n,...r}=e;return m("li",{className:"mb-4 list-none",children:m("a",{className:"hover:text-primary-main",role:"link",...r,children:n||null})},`list_item_${String(t)}`)})),Oe={Headline:_,LinkDocs:F,TextBlock:$e,ProductBlock:Ce,Gallery:Re,LinkList:je},We=({blocks:e,context:t,className:n=""})=>e?.length?e.map(Ue({context:t,className:n})):null,Ue=({context:e,className:t})=>(n,r)=>{if(!n)return null;const{style:l,blockListType:a,...i}=n;if(!a||!(a in Oe))return null;const o=D(l);return m(Oe[a],{className:`${t} ${o}`,context:e,...i},`block_${r}`)},Ee=u((({blocks:e,context:t})=>m("div",{className:"flex flex-wrap transition-all duration-300 max-h-0 overflow-hidden group-last:last:pb-0",children:We({context:t,blocks:e,className:"!px-0"})}))),Fe=u((({label:e,labelIcon:t,blocks:n,bordered:l,context:a})=>{const{hasContent:i,icon:o,handleToggle:s}=(({blocks:e,initialState:t=!1})=>{const[n,l]=r(t),a=e?.length;return{isActive:n,hasContent:a,icon:n?"MinusIcon":"PlusIcon",handleToggle:e=>{const t=e.currentTarget;if(!t)return;l(!n);const r=t.nextSibling;r.style.maxHeight=r.style.maxHeight?"":`${r.scrollHeight}px`}}})({blocks:n});return h("li",{className:`${He(l)} border-solid border-main-divider`,children:[h("button",{className:`border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text\n ${l?"":"py-[14px] px-0"}\n ${i?"group cursor-pointer":""}`,onClick:s,children:[h("span",{className:"text-m-title-xs font-medium pr-2.5 flex "+(i?"group-hover:text-primary-main":""),children:[t?m($,{image:t,className:"mr-3 flex-shrink-0",width:"24",height:"24",asSVG:!0}):null,e]}),i?m($,{className:"flex-shrink-0",image:o,width:"24",height:"24",asSVG:!0}):null]}),i?m(Ee,{blocks:n,context:a}):null]})}));function He(e){return e?"border p-4 rounded mb-4":"border-0 border-b last:border-b-0"}const ze=u((({title:e,description:t,accordionItems:n,context:r,className:l="",bordered:a})=>h("section",{className:`py-6 px-4 font-sans bg-white text-primary-text ${l}`,children:[e?m(g,{headingType:"h3",className:"mb-2 text-center",title:e}):null,t?m("div",{className:"mb-5 text-m-light text-center",children:t}):null,n?.length?m("ul",{className:"list-none m-0 p-0",children:n.map(((e,t)=>m(Fe,{...e,context:r,bordered:a},`AccordionItem_${t}`)))}):null]}))),Je=(e=!1)=>e?"text-white":"",qe=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),Ke=u((({icon:e,image:t,title:n,subtitle:r,isFillGradient:l})=>h("div",{role:"columnheader",children:[e?m($,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}):null,t?.src&&m("div",{className:"mb-3.5",children:m($,{image:t})}),n?m(g,{headingType:"h4",className:Je(l),title:n}):null,r?m("div",{className:qe(l),children:r}):null]}))),Qe=u((({cell:e,rowHeader:t,isFillGradient:n=!1})=>m("div",{className:"box-border flex flex-col",role:"cell",children:m("div",{className:"h-full border-main-divider border border-t-0 border-x-0",children:e.map(Ye(n,t))})}))),Ye=(e,t)=>({label:n,description:r},l)=>h("div",{className:"flex justify-between text-s py-3.5",children:[m("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),h("div",{className:"basis-1/2",children:[n?m("div",{className:"text-right "+(e?"text-white":""),children:n}):null,r?m("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:r}):null]})]},String(l)),Ze=u((({header:e,columnData:t,visibleRowLength:n=0,isFillGradient:r,showRow:l,onToggleColumn:a})=>{const i=t?.slice(0,l?t.length:n),o=r?"secondary":"primary";return h("div",{className:`border border-main-stroke rounded-md p-4 mb-3.5 ${r?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[m(Ke,{...e,isFillGradient:r}),i?.length?i.map((({rowHeader:e,cell:t},n)=>m(Qe,{cell:t,rowHeader:e,isFillGradient:r},String(n)))):null,l&&Xe({header:e,buttonVersion:o}),et({onToggleColumn:a,isFillGradient:r,showRow:l})]})})),Xe=({header:e,buttonVersion:t})=>m(ae,{href:e.link.href,target:e.link.target,version:t,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}),et=({onToggleColumn:e,isFillGradient:t,showRow:n})=>m("div",{className:"mt-5",role:"cell",children:m("a",{role:"link",onClick:e,className:"text-s font-medium cursor-pointer "+(t?"text-white/80":"text-primary-main"),children:n?"Скрыть":"Показать описание"})}),tt=u((({className:e,context:t,title:n,rowHeaders:l,columns:a,visibleRowLength:i=0,isColoredFirstColumn:o=!1,orientation:s="vertical"})=>{const c=a?.map((({data:e,header:t})=>({header:t,column:e?.map(((e,t)=>({cell:e,rowHeader:l?.[t]?.title})))})))||[],[d,u]=r(new Array(a?.length||0).fill(!i));return h("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${e||""}`,children:[n?m(g,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:n}):null,nt({tableData:c,context:t,visibleRowLength:i,isColoredFirstColumn:o,columnsViewState:d,handleToggleColumn:e=>{d[e]=!d[e],u([...d])},orientation:s,setColumnsViewState:u})]})})),nt=({context:e,tableData:t,visibleRowLength:n,isColoredFirstColumn:r,columnsViewState:l,handleToggleColumn:a,orientation:i="horizontal",setColumnsViewState:o})=>m("div",{role:"table",children:t?.length?rt({orientation:i,context:e,columnsViewState:l,setColumnsViewState:o,tableData:t,visibleRowLength:n,isColoredFirstColumn:r,handleToggleColumn:a}):null}),rt=({orientation:e,context:t,columnsViewState:n,setColumnsViewState:r,tableData:l,visibleRowLength:a,isColoredFirstColumn:i,handleToggleColumn:o})=>"horizontal"===e?m(V,{context:t,onSlideChange:at(n,r),children:l.map(lt({context:t,visibleRowLength:a,isColoredFirstColumn:i,columnsViewState:n,handleToggleColumn:o}))}):l.map(lt({context:t,visibleRowLength:a,isColoredFirstColumn:i,columnsViewState:n,handleToggleColumn:o})),lt=({context:e,visibleRowLength:t,isColoredFirstColumn:n,columnsViewState:r,handleToggleColumn:l})=>(a,i)=>m(Ze,{context:e,visibleRowLength:t,showRow:r[i],header:a.header,columnData:a.column,isFillGradient:0===i&&n,onToggleColumn:()=>l(i)},String(i)),at=(e,t)=>()=>{t(new Array(e.length).fill(!1))},it=new Map;function ot(e){return e?Array.isArray(e)?e:e instanceof Function?ot(e()):[e]:[e]}let st=function(e,t){const n=i((()=>ot(e)),[e]),[a,o]=r(),[s,c]=r();return l((()=>{if(!n.every((e=>null===e)))try{const e=t(...n);"then"in e?(e=>{e.then((e=>it.get(n)||e)).then(o).catch(c)})(e):o(e)}catch(e){c(e)}}),[t,...n]),{data:a,error:s,mutate:()=>Promise.resolve(void 0),isValidating:!1}};const ct=(e,t)=>st(e,t);async function dt(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await n.json()}const mt=(e,t=2)=>{const n=10**t;return Math.round(parseFloat(String(e))*n)/n};function ht(){return async function(e,t){try{return await dt(e,t)}catch(e){console.error(e)}return null}(ut,{method:"POST",body:JSON.stringify(pt)})}const ut="https://coins.rshb.ru/api/catalog/vue_storefront_magento_1_currency_rates_average/currency_rates_average/_search?size=10000",pt={query:{bool:{must:[{term:{russian_region_code:"77"}},{term:{from_volume:"0"}},{terms:{currency_pair:["USD/RUB","EUR/RUB"]}}]}}},xt=e=>e.reduce(((e,t)=>{const n=t.currency_first?.code;return e.some((e=>e.code===n))||e.push({code:n,buy:mt(Number(t.rate_buy),3),sell:mt(Number(t.rate_sell),3)}),e}),[]);var gt;!function(e){e.RUB="RUB",e.EUR="EUR",e.USD="USD"}(gt||(gt={}));const bt=new Intl.NumberFormat("ru",{style:"currency",currency:gt.RUB}),ft=e=>e?bt.format(e):"",yt="text-left text-m-light text-secondary-text",Nt={USD:"DollarIcon",EUR:"EuroIcon"},It=u((({className:e,exchangeCurrencyItems:t})=>h("table",{className:`h-fit w-fit ${e}`,children:[m("thead",{children:h("tr",{children:[m("th",{className:yt,children:"Валюта"}),m("th",{className:`${yt} pl-11`,children:"Купить"}),m("th",{className:`${yt} pl-11`,children:"Продать"})]})}),m("tbody",{children:t.map((e=>vt(e)))})]}))),vt=e=>{const t=e?.code;return h("tr",{className:"pb-1 text-h6",children:[m("td",{className:"pt-4",children:h("div",{className:"flex items-center",children:[t?m($,{image:{icon:Nt[t]},width:"24",height:"24"}):null,m("span",{className:"ml-2",children:t})]})}),m("td",{className:"pt-4 pl-11",children:ft(e?.sell)}),m("td",{className:"pt-4 pl-11",children:ft(e?.buy)})]},t)},wt=u((({className:e="",address:t,distance:n})=>h("div",{className:`flex ${e}`,children:[m($,{image:{icon:"GpsIcon"},width:"24",height:"24",asSVG:!0}),h("div",{className:"ml-3",children:[t?m("p",{className:"text-primary-main m-0 mb-1 text-l",children:t}):null,n?h("p",{className:"text-secondary-text m-0 text-m",children:["Курс указан для ближайшего офиса - ",n]}):null]})]}))),kt=(e,t,n)=>{const r=Number(Ct(e))*Math.pow(t,n?-1:1);return Number.isInteger(r)?r:mt(r)},Ct=e=>e.replace(/[^\d.,]/g,"").replace(",","."),St=e=>{return(t=[[e=>e.value!==gt.RUB&&e.oppositeValue!==gt.RUB,()=>e.handleConvert(e.value,gt.RUB)],[e=>e.value===gt.RUB&&e.oppositeValue===gt.RUB,()=>e.handleConvert(e.value,gt.USD)],[()=>!0,()=>e.handleConvert(e.value)]],e=>{const[,n]=t.find((([t])=>t(e)))||[];return n})(e)?.();var t},$t=u((({className:e="",id:t,name:n,type:r="text",placeholder:l,pattern:a,value:i,onChange:o})=>m("input",{className:`border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text ${e}`,id:t,name:n||t,type:r,pattern:a,placeholder:l,value:i,onChange:e=>{const t=e.target.validity.valid?e.target.value:i;o(t)}}))),Dt={background:"url('/icons/ArrowDownIcon.svg') no-repeat right 16px top 50%"},Tt=u((({className:e="",id:t,name:n,children:r,value:l,onChange:a})=>m("select",{className:`appearance-none pl-0.5 ${e}`,style:Dt,id:t,name:n||t,value:l,onChange:e=>a(e.target.value),placeholder:"",children:r}))),Rt=u((({className:e="",value:t,selected:n,disabled:r=!1,children:l})=>m("option",{className:e,value:`${t}`,selected:n,disabled:r,children:l})));function _t(e){const{placeholder:t,rates:n,selected:r,value:l,setValue:a,setSelected:i}=e;return h("div",{className:"relative flex items-center",children:[m($t,{className:"shrink-0 h-13 border pl-4 pt-4 pb-4 rounded-md text-l w-full appearance-none -mr-12",placeholder:t,type:"text",value:l,onChange:a}),n.length?m(Tt,{className:"shrink-0 w-20 h-9 -translate-x-8 bg-transparent",value:r,onChange:e=>i(e),children:n.map(((e,t)=>m(Rt,{value:e.code,children:e.code},String(t))))}):null]})}const Bt=u((({context:e,className:t="",currencyRatesBuy:n,currencyRatesSell:l,button:a})=>{const{useRouter:i,handlerDecorator:o}=e,s=i(),[c,d]=r({inputSell:"",inputBuy:"",selectSell:n?.[0]?.code||gt.RUB,selectBuy:l?.[0]?.code||gt.USD}),u=e=>{d((t=>({...t,...e})))};return h("div",{className:`grid gap-[18px] pt-2 ${t}`,children:[_t({placeholder:"Хочу продать",rates:l,selected:c.selectSell,setSelected:Pt(c,u,l),value:c.inputSell,setValue:e=>Mt(u,l)(e,c.selectSell,c.selectBuy)}),_t({placeholder:"Получу",rates:n,selected:c.selectBuy,setSelected:At(c,u,n),value:c.inputBuy,setValue:e=>Lt(u,n)(e,c.selectBuy,c.selectSell)}),a?.text?m(ae,{className:"py-4 mr-1",version:a?.version,...Z({router:s,handlerDecorator:o},a),children:a.text}):null]})})),Pt=(e,t,n)=>r=>{t({selectSell:r}),St({value:r,oppositeValue:e.selectBuy,handleConvert:(r=e.selectSell,l=e.selectBuy)=>{Mt(t,n)(e.inputSell,r,l)}})},At=(e,t,n)=>r=>{t({selectBuy:r}),St({value:r,oppositeValue:e.selectSell,handleConvert:(r=e.selectBuy,l=e.selectSell)=>Lt(t,n)(e.inputBuy,r,l)})},Mt=(e,t)=>(n,r,l)=>{e({inputSell:Ct(n),selectBuy:l});const a=t.find((e=>e.code===l))?.buy||t.find((e=>e.code===r))?.sell;a&&e({inputBuy:String(kt(n,a,r===gt.RUB)||"")})},Lt=(e,t)=>(n,r,l)=>{e({inputBuy:Ct(n),selectSell:l});const a=t.find((e=>e.code===l))?.sell||t.find((e=>e.code===r))?.buy;a&&e({inputSell:String(kt(n,a,r===gt.RUB)||"")})},Vt={address:"Москва, ул.Ленина д.28",distance:"6км"},jt=u((({className:e="",context:t,title:n="Курсы обмена валют",button:r,...l})=>{const a=function(){const{data:e}=ct(ut,ht),t=e?.hits?.hits?.map((e=>e._source))||[];return t.length?xt(t):t}(),i=a.filter((e=>e.buy));i.unshift({code:gt.RUB});const o=a.filter((e=>e.sell));return o.push({code:gt.RUB}),m(Ve,{context:t,className:`bg-white text-primary-text font-sans p-9 box-border ${e}`,...l,children:m(pe,{context:t,title:m(g,{headingType:"h4",title:n,className:"whitespace-pre-wrap text-h4"}),children:h("div",{className:"flex",children:[h("div",{className:"mr-14 pt-4",children:[a?m(It,{className:"mb-[30px]",exchangeCurrencyItems:a}):null,m(wt,{...Vt})]}),a.length&&i.length&&o.length?m(Bt,{className:"grow",context:t,currencyRatesBuy:i,currencyRatesSell:o,button:r}):null]})})})})),Gt={"bg-white":"text-primary-main",transparent:"text-white"},Ot={"bg-white":"text-black",transparent:"text-white"},Wt=u((({className:e="",href:t,children:n,targetBlank:r,bgColor:l="bg-white",hideTitle:a})=>h("a",{className:`inline-flex items-center font-sans no-underline ${e}`,href:t||"https://rshb.ru/",target:r?"_blank":"_self","aria-label":"Россельхозбанк",children:[m($,{image:{icon:"LogoIcon"},className:`${Gt[l]} w-10 h-[38px]`,asSVG:!0}),a?null:m("span",{className:`${Ot[l]} text-s font-medium ml-2.5`,children:n||"Россельхозбанк"})]}))),Ut=u((({className:e="",title:t="Мобильное приложение",description:n,href:r="#"})=>m("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light font-sans ${e}`,children:r?h("div",{className:"flex",children:[m("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-[50px] h-[50px]",children:m(Wt,{className:"w-[33px]",bgColor:"transparent",hideTitle:!0})}),h("a",{href:r,target:"_blank",className:"flex flex-col justify-center pl-3",children:[m("div",{className:"text-s font-medium mb-[3px]",children:t}),m("div",{className:"text-s text-secondary-text",children:n})]})]}):null}))),Et=u((({className:e="",items:t,hasButton:n,context:r})=>{const l=r.useRouter(),{handlerDecorator:a}=r;return h("div",{className:e,children:[t?.length?t.map(Ft):null,n?m(ae,{version:"primary",className:"mb-6 w-full",...Z({router:l,handlerDecorator:a},{text:"Обратная связь",href:"/",target:"_blank"})}):null]})})),Ft=(e,t)=>{const{type:n,text:r,description:l}=e;return h("div",{className:"mb-4",children:[m("div",{children:Ht(n,r)}),m("div",{className:"mt-1 text-s-light text-secondary-text",children:l})]},String(t))},Ht=(e,t="")=>{switch(e){case"tel":return m("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${zt(t)}`,children:t});case"email":return m("a",{className:"text-xl-light text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return m("span",{children:t})}},zt=e=>e.replaceAll(/\D/g,""),Jt=u((({className:e="",index:t,text:n,href:r,target:l,onClick:a})=>m("a",{className:`text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:r,target:l,onClick:a,children:n||`Документ ${t}`}))),qt=u((({title:e,links:t,className:n="",context:r})=>{const l=r.useRouter(),{handlerDecorator:a}=r;return h("div",{className:n,children:[m("span",{className:"text-primary-text text-s font-medium",children:e}),t?.length?m("div",{className:"flex flex-col gap-2 pt-3",children:t.map(((e,t)=>m(Jt,{index:t,className:"text-s",...Z({router:l,handlerDecorator:a},e)},String(t))))}):null]})})),Kt=[{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"}],Qt=u((({href:e,version:t="primary"})=>{const{icon:n,label:r}=Kt.find((({origins:t})=>t.some((t=>e?.includes(t)))))||{};if(!n)return null;return m("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-solid border-[1px] border-main-divider hover:border-transparent hover:bg-primary-main"} ${"primary"===t?"hover:text-black":""}`,href:e,"aria-label":r,target:"_blank",rel:"noopener noreferrer",children:n?m($,{image:n,imageClassName:"group-hover:text-white",width:"24",height:"24",asSVG:!0}):null})})),Yt=u((({className:e,media:t,version:n,context:r})=>{const l=r.useRouter(),{handlerDecorator:a}=r;return m("div",{className:`flex gap-2 items-start justify-start pt-6 pb-6 ${e||""}`,children:t?.map(((e,t)=>m(Qt,{version:n,...Z({router:l,handlerDecorator:a},e)},String(t))))})})),Zt=u((({className:e="",index:t,text:n,href:r,target:l,onClick:a})=>m("a",{className:`text-xs-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${e}`,href:r,target:l,onClick:a,children:n||`Документ ${t}`}))),Xt=u((({className:e,links:t,context:n})=>{const r=n.useRouter(),{handlerDecorator:l}=n;return h("div",{className:`${e||""}`,children:[m("div",{className:"py-6",children:m("span",{className:"text-xs-light text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?m("div",{className:"flex flex-col justify-start items-start gap-2",children:t.map(((e,t)=>m(Zt,{index:t,className:"",...Z({router:r,handlerDecorator:l},e)},String(t))))}):null]})}));function en(){const{data:e}=ct(`/wcms-resources/${s.SITEMAP||"sitemap"}.json`,dt);return e||{}}const tn=u((({className:e,isMobile:t=!1})=>{const{term:n,setTerm:l}=(()=>{const[e,t]=r("");return{term:e,setTerm:e=>t(e)}})(),a=t?"text-s":"text-l-light",i=t?" placeholder-transparent":"h-full",o=t?"some search":void 0;return h("form",{className:`font-sans relative ${e}`,children:[h("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[m("div",{className:t?"w-[20px] h-[20px]":"w-[24px] h-[24px]",children:m($,{image:"LoupeIcon",width:"24",height:"24"})}),n?null:m("label",{htmlFor:"search-bar-input",className:`text-secondary-text ${a}`,children:"Поиск по сайту"})]}),m("input",{id:"search-bar-input",className:`h-12 pl-12 w-full peer text-l text-black border border-solid rounded-md box-border\n outline-none pr-[6%] border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text ${i}`,value:n,onChange:e=>l(e.target.value),type:"text",name:"search-bar-input",placeholder:o}),t?m("button",{className:"visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none",onClick:e=>{e.preventDefault(),l("")},children:m($,{image:"CloseIcon",width:"24",height:"24"})}):m(ae,{version:"primary",text:"Найти",className:"invisible peer-focus:visible absolute top-1 right-1",onClick:e=>{e?.preventDefault(),console.log("click")},children:m("div",{className:"text-s px-9 py-2.5",children:"Найти"})})]})})),nn=u((({className:e=""})=>m(tn,{className:e,isMobile:!0}))),rn=e=>e?.map((e=>({label:e.text||"",blocks:[{accordionBlockType:"LinkList",documents:e.items||[]}]}))),ln=u((({className:e="",documents:t,relatedEnterprises:n,contacts:r,socialMedia:l,context:a,horizontalNavigationTitle:i})=>{const o=en(),s=o?.dispositions;return h("footer",{className:`font-sans px-4 py-[26px] bg-white ${e}`,children:[m(Et,{className:"overflow-hidden",items:r,context:a,hasButton:!0}),m(ze,{context:a,className:"!p-0 mb-4",accordionItems:rn(o.topItems)}),m("div",{children:s?.map(an)}),m(Ut,{context:a,title:"Мобильное приложение",description:"Загрузить для IOS и Android"}),m(nn,{context:a,className:"grow"}),m(Yt,{className:"pb-4",media:l,context:a}),m(qt,{title:i,links:n,context:a}),m(Xt,{links:t,context:a})]})})),an=(e,t)=>{const{icon:n,href:r,text:l}=e;return h(ae,{version:"link",href:r,className:"flex text-s mb-4 w-6",children:[n?m($,{className:"pr-1",image:n,width:"24",height:"24",asSVG:!0}):null,m("span",{className:"pl-2.5 font-medium text-primary-text",children:l})]},`footer-${t}`)},on=(e,t,n=((e,t)=>t.startsWith(e)))=>n(z(e),(e=>(e||"").replace(K,""))(z(H(e)?t.href:t.pathname))),sn=e=>t=>on(t.href,e),cn=e=>t=>t.items?.some(sn(e))||on(t.href,e)||((e,t)=>J(e)===J(t.href))(t.href,e),dn=e=>t=>e?.href===t?.href,mn=(e,t)=>{return(r=e,l=t,(r||[]).map((e=>l?.find(dn(e))||e))).concat((n=e,(t||[]).filter((e=>!n?.find(dn(e))))));var n,r,l},hn="absolute left-0 -bottom-3 w-full h-[2px]",un=u((({className:e="",text:t,href:n,target:r,active:l,onClick:a,children:i,bgColor:o="bg-white"})=>h("a",{className:`relative inline-block bg-transparent text-center no-underline ${e}`,href:n,target:r,onClick:a,children:[m("span",{className:pn(o,l),children:t||i}),l?m("div",{className:xn(o,l)}):null]}))),pn=(e,t=!1)=>{let n="text-white";return"bg-white"===e&&(n=t?"text-primary-main":"text-secondary-text hover:text-primary-main"),`${n} font-sans text-s`},xn=(e,t=!1)=>t?`${"bg-white"===e?"bg-primary-main":e} ${hn}`:hn,gn=o("https://10.80.4.9");const bn=u((({context:e,burgerSubMenu:t,onClick:n,defaultLocation:i="",children:o})=>{const[s,c]=function(e){const[t,n]=r(e);return l((()=>{n(globalThis?.localStorage.getItem("location")||e)}),[e]),[t,a((()=>{gn.getFetcherAddress().then((t=>{const r=t||e;globalThis?.localStorage.setItem("location",r),n(r)}))}),[e])]}(i);return h("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20",children:[m("button",{className:"absolute top-4 right-4 border-none bg-transparent cursor-pointer",onClick:n,children:m($,{image:"CloseIcon",width:"24",height:"24",asSVG:!0})}),h("button",{onClick:c,className:"flex items-center text-s text-secondary-text p-0 mb-4 bg-transparent cursor-pointer",children:[m($,{image:"GeolocationIcon",width:"20",height:"20",className:"text-primary-main box-border mr-2",asSVG:!0}),s]}),o,m("div",{className:"mb-7",children:t?.map(fn)}),m(nn,{context:e,className:"grow"})]})})),fn=(e,t)=>{const{icon:n,href:r,text:l}=e;return h("a",{href:r,className:"flex text-s mb-4 hover:text-primary-main",children:[n?m($,{className:"text-primary-main pr-1",image:n,width:"24",height:"24",asSVG:!0}):null,m("span",{className:"font-medium pl-0.5",children:l})]},`headerSubMenu-${t}`)},yn=u((({onClick:e,bgColor:t})=>h("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-[50px]",children:[h("div",{className:"flex items-center",children:[m("button",{className:"pl-0 pr-4 border-0 bg-transparent cursor-pointer",onClick:e,"aria-label":"Открыть меню",children:m($,{image:{icon:"BurgerIcon",iconVersion:"bg-white"===t?"black":"white"},className:"text-primary-text w-6 h-6",width:"24",height:"24",asSVG:!0})}),m(Wt,{className:"mr-8",bgColor:t})]}),m("button",{className:("bg-white"===t?"text-primary-main":"text-white")+" text-s border-0 bg-transparent cursor-pointer",children:"Войти"})]}))),Nn=u((({className:e="",defaultLocation:t,bgColor:n="bg-white",context:l,topItems:a})=>{const i=l.useRouter(),o=en(),s=o?.dispositions,{handlerDecorator:c}=l,d=mn(o.topItems,a).find(cn(i))?.items,u=(e=>(t=[])=>{const n=t?.filter(sn(e));return n?.length?(r=e=>e.href?.length||0,e=>e.reduceRight(((e,t)=>r(e)>r(t)?e:t)))(n):void 0;var r})(i)(d),[p,x]=r(!1),g=()=>x(!p);return h("header",{className:`${n} ${e}`,children:[h("div",{className:"container px-4 py-0 box-border",children:[m(yn,{onClick:g,bgColor:n}),m("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-[50px]",children:m("div",{className:"flex no-scrollbar horizontal-list h-full items-center",children:d?.map(((e,t)=>In({...Z({router:i,handlerDecorator:c},e),active:e===u,bgColor:n},t)))})})]}),p?m(bn,{context:l,onClick:g,burgerSubMenu:s,defaultLocation:t,children:m(ze,{context:l,accordionItems:rn(o.topItems),className:"!p-0 mb-4"})}):null]})})),In=(e,t)=>m(un,{className:"mr-8 whitespace-nowrap text-s",...e},String(t)),vn=e=>{const t="col-span-",n=e.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function wn(e=""){const t=vn(e);return t<=4?"S":t<=8?"M":"L"}function kn(e=""){const t=vn(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function Cn(e=""){const t=vn(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const Sn=u((({className:e,context:t,title:n,description:r="Блок в разработке...",...l})=>h(Ve,{context:t,className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${Cn(e)} ${kn(e)} `,...l,children:[m(_,{context:t,className:"!p-0 max-w-[600px]",title:n,description:r,headlineVersion:wn(e)}),m("figure",{className:"m-0 min-w-[80%]",children:$n()})]}))),$n=(e=3)=>Tn(100,e).map((e=>Math.floor(e))).map(Dn),Dn=(e,t)=>m("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),Tn=(e,t)=>[e].concat(t>0?Tn(e/1.618,t-1):[]),Rn=u((({block:e,context:t,className:n=""})=>m("section",{className:`flex grow-0 shrink-0 basis-full px-4 pt-6 ${ke[e?.version??"primary"]} ${n}`,role:"listitem",children:m("div",{className:"flex grow",children:m(Ne,{context:t,...e})})}))),_n=u((({className:e,context:t,slides:n=[]})=>{const r=n.map((e=>e.productBlock));return m("section",{className:`font-sans bg-white overflow-hidden w-100 pb-6 ${e||""}`,children:m(V,{context:t,children:r.map(((e,n)=>m(Rn,{block:e,context:t},String(n))))})})})),Bn={primary:{background:"bg-white",title:"text-primary-text",description:"text-secondary-text",iconText:"text-secondary-text",iconBackground:"bg-main-divider",iconConnector:"bg-secondary-light"},secondary:{background:"bg-primary-main",title:"text-white",description:"text-white/80",iconText:"text-white",iconBackground:"bg-white/30",iconConnector:"bg-white"}},Pn={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-[50px] w-[50px] min-w-[50px] min-h-[50px]"},An={normal:"min-h-[70px]",small:"min-h-[50px]"},Mn=u((({className:e,title:t,description:n,showLines:r=!0,steps:l,size:a="normal",version:i="primary"})=>{const o=Bn[i];return h("section",{className:`box-border font-sans bg-white px-4 py-6 flex flex-col\n ${o.background} ${o.title} ${e||""}`,children:[t?m(g,{headingType:"h3",className:`text-center ${o.title}`,title:t}):null,n?m("p",{className:`text-m-light text-center ${o.description} ${t?"mt-2":""}`,children:n}):null,l?.length?m("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:m("div",{className:"flex flex-col justify-between gap-x-[101px]",children:l.map(Ln(a,i,r))})}):null]})})),Ln=(e,t,n)=>(r,l,a)=>{const i=a.length-1===l,o="normal"===e?"ml-[34px]":"ml-6",s=Bn[t];return m("div",{children:h("div",{className:"flex flex-row text-center relative",children:[h("div",{className:"overflow-hidden flex-shrink-0",children:[Vn(e,t)(r,l),i?null:m("div",{className:`min-h-8 h-full w-[2px] ${n?s.iconConnector:""} ${o}`})]}),h("div",{className:`flex flex-col justify-center h-fit ${An[e]}`,children:[r.label?m("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:r.label}):null,r.description?m("div",{className:`text-s ${s.description} text-left`,children:r.description}):null]})]})},String(l))},Vn=(e,t)=>(n,r)=>{const l=Bn[t],a="normal"===e?"38":"27",i="normal"===e?"text-m-title":"text-m-title-xs";return m("div",{className:`${Pn[e]} ${l.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:m("span",{className:`font-medium flex self-center ${l.title} ${i}`,children:(o=n?.icon,Boolean(o?.icon||o?.src)?m($,{image:n.icon,width:a,height:a,asSVG:!0}):m("span",{children:r+1}))})});var o},jn=e=>e?.alt||e?.title||f[e?.icon?e.icon:""],Gn={Buttons:({buttons:e})=>e&&e?.length?m("div",{children:e.map((({icon:e,rounded:t,...n},r)=>m(ae,{className:`mt-3 ${r>0&&t?"ml-2.5":""} ${e?"w-12 h-12":""}`,ariaLabel:jn(e),rounded:t,appendLeft:e?.src||e?.icon?m($,{image:e,width:"24px",height:"24px",asSVG:!0}):null,...n,"aria-label":e},String(r))))}):null,Img:({image:e})=>e?.src?m($,{image:{...e,className:"m-0"}}):null,List:({isDotted:e,...t})=>m(ue,{className:"flex flex-col justify-between items-start text-m",version:"gray",isDotted:e??!0,...t}),LabelDescription:({label:e,description:t})=>h("div",{children:[e?m("div",{className:"text-xl font-medium m-0 "+(t?"mb-1":""),children:e}):null,t?m("div",{className:"text-s text-secondary-text",children:t}):null]})},On=u((({title:e,icon:t})=>h("div",{className:"flex gap-2.5 mb-2",children:[e?m(g,{headingType:"h3",className:"font-medium",title:e}):null,t?m($,{className:"ml-auto max-w-6 max-h-6",image:t,width:"24px",height:"24px"}):null]}))),Wn=u((({context:e,header:t,data:n})=>h("div",{className:"rounded-md border-main-stroke h-full box-border border p-4",children:[m(On,{...t}),n?.length?n.map(Un(e)):null]}))),Un=e=>(t,n)=>h("div",{children:[n>0?m("div",{className:"h-5"}):null,En(t,e)]},String(n)),En=(e,t)=>{if(!e)return null;const{tableCellType:n,...r}=e;if(!n||!(n in Gn))return null;return m(Gn[n],{context:t,...r})},Fn=u((({tiles:e,context:t})=>m(V,{context:t,children:e.map(((e,t)=>m(Wn,{...e},String(t))))}))),Hn=u((({tiles:e})=>m("div",{className:"flex flex-col gap-3.5",children:e.map(((e,t)=>m(Wn,{...e},String(t))))}))),zn=u((({className:e,context:t,title:n,description:r,tariffsColumns:l,rowHeaders:a,orientation:i="vertical"})=>{const o=qn(l),s=Kn(a,o);return h("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[n?m(g,{headingType:"h2",className:`text-center ${r?"mb-2":"mb-5"}`,title:n}):null,r?m("div",{className:"mb-5 text-center text-m",children:r}):null,s?.length?Jn(i,s,t):null]})}));function Jn(e,t,n){return m("vertical"===e?Hn:Fn,{context:n,tiles:t})}const qn=e=>e?.[0].data?e[0].data:[],Kn=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),Qn={Accordion:ze,ComparisonTable:tt,ExchangeRateTile:jt,Footer:ln,Gallery:Re,Header:Nn,Headline:_,LinkDocs:F,LinkList:je,MobileAppTile:Ut,ProductBlock:Ce,ProductGallery:_n,StepsBlock:Mn,TariffsTable:zn,TextBlock:$e,Placeholder:Sn},Yn=d();const Zn=u((({className:e,onClick:t,ariaLabel:n})=>m("button",{type:"button",className:`border-0 w-[36px] bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":n,children:Xn()}))),Xn=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[m("path",{...e,strokeMiterlimit:"10",d:"M21.48 11.95c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1 6.1M7.48 18.35l3.1 2.4c.4.4 1.3.6 1.9.6h3.8c1.2 0 2.5-.9 2.8-2.1l1.24-3.77"}),m("path",{...e,d:"M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z"})]})},er=u((({className:e,context:t,...n})=>{const{useRouter:i,handlerDecorator:o=Y}=t,s=function(e){const[t,n]=r(0);return l((()=>{(async()=>{const[t]=await Yn.getLikeCount(e);n(t?.value||0)})()}),[e]),{likeCount:t,like:a((async()=>{n(await Yn.like(e))}),[e]),dislike:a((async()=>{n(await Yn.dislike(e))}),[e])}}(i().pathname);return h(Ve,{tag:"div",context:t,className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e||""}`,...n,children:[m(Zn,{onClick:o(s.like),ariaLabel:"Поставить отметку «лайк»"}),m(Zn,{onClick:o(s.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),m("span",{className:"select-none",children:s.likeCount})]})})),tr=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),nr=u((({className:e="",context:t,blocksRegistry:n,data:r={},blockDecorator:l=tr})=>{const{style:a,blocks:i,slots:o={},likeControl:s,colorPalette:c="pc"}=r,{header:d}=o;return h("section",{className:`relative ${D(a)} ${e}`,"data-theme":c,children:[d?.blocks?.length?m("div",{className:`${D(d?.style)}`,children:d.blocks.map(((e,a)=>rr({block:e,page:r,blockDecorator:l,blocksRegistry:n,context:t},a)))}):null,i?.length?m("div",{className:"container grid grid-cols-12 gap-1",children:i.map(((e,a)=>rr({block:e,blockDecorator:l,blocksRegistry:n,context:t,page:r},a)))}):null,s?m("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:m(er,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto",context:t},"LikeControl")}):null]})}));function rr({block:e,blockDecorator:t,blocksRegistry:n,context:r,page:l},a){const{type:i}=e;i&&i in n||console.warn(`No block with "${i}" is registered`);const o=n[i||"Placeholder"]||Sn;return t({blockClassName:`scroll-mt-12 ${D(e.style)}`,block:e,render:e=>{const{version:t,content:n,anchor:s,labels:c}=e.block;return m(o,{className:e.blockClassName,version:t,context:r,page:l,anchor:s,labels:c,...n},`${i}-${a}`)}},`block-${a}`)}e.Blocks=Qn,e.ContentPage=nr,e.DaDataAPI=o,e.LikeAPI=d,e.joinList=function(e){return t=>t.reduce(((t,n,r)=>t.length?t.concat({...e,key:r},n):[n]),[])},e.projectSettings=s,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=q,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UniMobileBlocks={})}(this,(function(e){"use strict";let t;const n=e=>(...n)=>t[e](...n),r=n("useState"),l=n("useEffect"),a=n("useCallback"),o=n("useMemo");function i(e=""){return{getFetcherAddress:async function(){if(!("geolocation"in navigator))return null;try{const t=await(async()=>new Promise((e=>navigator.geolocation.getCurrentPosition((({coords:t})=>e(t))))))(),n=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await n.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}}const s=new class{_={PROD_BRANCH:"master",FORCED_DRAFT_FLOW:!1};setup(e){this._=e}get TEST_BRANCH(){return this._.TEST_BRANCH}get RC_BRANCH(){return this._.RC_BRANCH}get PROD_BRANCH(){return this._.PROD_BRANCH}get FORCED_DRAFT_FLOW(){return this._.FORCED_DRAFT_FLOW}get ASSIST_PROJECT_ID(){return this._.ASSIST_PROJECT_ID}get SITEMAP(){return this._.SITEMAP}get CDN(){return this._.CDN}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},c="likesToken";function d(){async function e(){try{const e=JSON.parse(globalThis.localStorage.getItem(c)||"");if(e?.token)return e}catch(e){}try{const e=await fetch("/assist/v1/public/auth",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:t,name:n}=await e.json();return globalThis.localStorage.setItem(c,JSON.stringify({token:t,name:n})),{token:t,name:n}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...t){if(!t.length)return[];const{token:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${s.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n},body:JSON.stringify({node_ids:t})}),{likes:r}=await e.json();return r||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:n,name:r}=await e();try{const e=await fetch(`/assist/v1/public/projects/${s.ASSIST_PROJECT_ID}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:r},body:JSON.stringify({node_id:t,user_name:r})}),{likes:l}=await e.json();return l||0}catch(e){return console.error(e),0}},dislike:async function(t){if(!t)return 0;const{token:n,name:r}=await e();try{const e=await fetch(`/assist/v1/public/projects/${s.ASSIST_PROJECT_ID}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:r},body:JSON.stringify({node_id:t,user_name:r})}),{likes:l}=await e.json();return l||0}catch(e){return console.error(e),0}}}}const m=(...e)=>globalThis._uni._jsx(...e),h=(...e)=>globalThis._uni._jsxs(...e),u=e=>{const t=e;return t._tmpl||(t._tmpl=globalThis.__UNI_REACT__?e:p(e)),t._tmpl},p=e=>{function t(t,n){const{children:r,...l}=t||{},a=n?.slots?.default,o=r||a&&a();return e(Object.assign(l,o&&{children:o}),n)}return t.inheritAttrs=!1,t},x={h0:"text-m-title",h1:"text-m-title",h2:"text-m-title",h3:"text-h6",h4:"text-m-title-xs",h5:"text-m-title-xs",h6:"text-m-title-xs"},g=u((e=>{const{className:t,headingType:n="h3",title:r,as:l="h3"}=e;return m(l,{className:`font-sans font-medium m-0 ${x[n]} ${t||""}`,children:r})}));var b,f;!function(e){e.ActualBalanceIcon="ActualBalanceIcon",e.AirPlaneIcon="AirPlaneIcon",e.AppleIcon="AppleIcon",e.ArrowDownIcon="ArrowDownIcon",e.ArrowLeftIcon="ArrowLeftIcon",e.ArrowUpIcon="ArrowUpIcon",e.AtmIcon="AtmIcon",e.BankIcon="BankIcon",e.BuildingIcon="BuildingIcon",e.BurgerIcon="BurgerIcon",e.Calendar2Icon="Calendar2Icon",e.CalendarCircleIcon="CalendarCircleIcon",e.CalendarIcon="CalendarIcon",e.CalendarTickIcon="CalendarTickIcon",e.Car2Icon="Car2Icon",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.DocDownloadIcon="DocDownloadIcon",e.DocIcon="DocIcon",e.DocIconMonoColor="DocIconMonoColor",e.DocsIcon="DocsIcon",e.DocumentTextIcon="DocumentTextIcon",e.DollarIcon="DollarIcon",e.DoneIcon="DoneIcon",e.DoneSimpleIcon="DoneSimpleIcon",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.LogoIcon="LogoIcon",e.LoupeIcon="LoupeIcon",e.MapMarkerClusterIcon="MapMarkerClusterIcon",e.MapMarkerSingleIcon="MapMarkerSingleIcon",e.MasterCardIcon="MasterCardIcon",e.MinusIcon="MinusIcon",e.MirIcon="MirIcon",e.MoneyIcon="MoneyIcon",e.MoneyInsuranceIcon="MoneyInsuranceIcon",e.MoneysIcon="MoneysIcon",e.MonitorMobileIcon="MonitorMobileIcon",e.NewDocIcon="NewDocIcon",e.OfficeIcon="OfficeIcon",e.OkIcon="OkIcon",e.PackA4Icon="PackA4Icon",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.StrongBoxIcon="StrongBoxIcon",e.TelegramIcon="TelegramIcon",e.UnionPayIcon="UnionPayIcon",e.UserSquareIcon="UserSquareIcon",e.UserTickIcon="UserTickIcon",e.VisaIcon="VisaIcon",e.VKIcon="VKIcon",e.WalletAdd2Icon="WalletAdd2Icon",e.WalletAddIcon="WalletAddIcon",e.WalletIcon="WalletIcon",e.WalletWithMoneyIcon="WalletWithMoneyIcon",e.WateringCanIcon="WateringCanIcon"}(b||(b={})),function(e){e.ActualBalanceIcon="Деньги",e.AirPlaneIcon="Самолет",e.AppleIcon="Лого «Apple»",e.ArrowDownIcon="Стрелка 'Вниз'",e.ArrowLeftIcon="Стрелка",e.ArrowUpIcon="Стрелка вверх",e.AtmIcon="Банкомат",e.BankIcon="Банк",e.BuildingIcon="Здание с деревом",e.BurgerIcon="Бургер",e.Calendar2Icon="Календарь 2",e.CalendarCircleIcon="Скруглённый календарь",e.CalendarIcon="Календарь",e.CalendarTickIcon="Календарь с галочкой",e.Car2Icon="Машина2",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.DocDownloadIcon="Скачать документ",e.DocIcon="Документ",e.DocIconMonoColor="Документ (одноцветный)",e.DocsIcon="Документы",e.DocumentTextIcon="Документ с текстом",e.DollarIcon="Доллар",e.DoneIcon="Зелёная 'галочка' в круге",e.DoneSimpleIcon="Зелёная 'галочка'",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.LogoIcon="Logo",e.LoupeIcon="Лупа",e.MapMarkerClusterIcon="Маркер карты",e.MapMarkerSingleIcon="Маркер карты РСХБ",e.MasterCardIcon="MasterCard",e.MinusIcon="Минус",e.MirIcon="МИР",e.MoneyIcon="Деньги",e.MoneyInsuranceIcon="Денежное страхование",e.MoneysIcon="MoneysIcon",e.MonitorMobileIcon="Монитор и мобильный",e.NewDocIcon="Новый документ",e.OfficeIcon="Офис",e.OkIcon="Лого «Одноклассники»",e.PackA4Icon="PackA4Icon",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.StrongBoxIcon="Ящик с замочной скважиной",e.TelegramIcon="Лого «Telegram»",e.UnionPayIcon="UnionPay",e.UserSquareIcon="Пользователь в рамке",e.UserTickIcon="Пользователь",e.VisaIcon="Visa",e.VKIcon="Лого «VK»",e.WalletAdd2Icon="Пополнение карты",e.WalletAddIcon="Кошелёк с плюсом",e.WalletIcon="Кошелёк",e.WalletWithMoneyIcon="Кошелёк с деньгами",e.WateringCanIcon="Добавить продукт"}(f||(f={}));const y={normal:"text-primary-main",black:"text-black",white:"text-black invert"},N=u((({className:e="",imageClassName:t="",name:n="",alt:r=`Иконка ${f[n]||n}`,title:l=r,iconVersion:a="normal",asSVG:o,...i})=>{const c=`${s.CDN||""}icons/${n}.svg`;return o?h("svg",{className:e,...i,"aria-hidden":"true",children:[l?m("title",{children:l}):null,r?m("desc",{children:r}):null,m("use",{className:`${y[a]} ${t}`,href:`${c}#icon`,xlinkHref:`${c}#icon`})]}):m("img",{className:e,src:c,alt:r,title:l,...i,"aria-hidden":"true"})}));function I(e){return"string"==typeof e?"normal":e.iconVersion||"normal"}const v=(e,t)=>e.media&&t.media?e.media-t.media:0,w=u((({className:e="",image:t,imageClassName:n="",isMobile:r=!1})=>{if(!t||!t?.sources&&!t?.src)return null;return h("picture",{className:`${r?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.sort(v).map((({src:e,format:n,media:r},l)=>m("source",{srcSet:e,type:C(n),media:r?`(max-width: ${r}px)`:"",...t.size},`${l}_${e}`))):null,k(t,n,r)]})})),k=(e,t="",n=!1)=>{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,o=n?"m-auto":"m-0";return m("img",{src:e.src,className:`${o} ${t}`,alt:a,title:l,style:r,...e.size})};function C(e){return e?`image/${String(e)}`:void 0}const S=u((({className:e="",image:t,imageClassName:n="",isMobile:r,...l})=>{if(!t)return null;const a="string"==typeof t?t:t.icon;return a||""===a?a.length?m(N,{className:e,imageClassName:n,iconVersion:I(t),name:a,...l}):null:m(w,{className:e,imageClassName:n,image:t,isMobile:r})})),$=u((({className:e="",image:t,imageClassName:n,...r})=>m(S,{className:e,image:t,imageClassName:n,...r,isMobile:!0})));function D(e){return e?e.filter(Boolean).join(" "):""}const T={left:"text-left",center:"text-center",right:"text-right"},_={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"}},R=u((({bgColorHeadline:e="transparent",className:t="",title:n,description:r,image:l,align:a="left"})=>{const o=_[e];return h("section",{className:`px-4 py-6 flex flex-col gap-2.5 ${o.background} ${t}`,children:[n?m(g,{headingType:"h2",className:`${o.text} ${T[a]}`,title:n}):null,r?m("p",{className:`text-m ${o.description} ${T[a]}`,children:r}):null,l?.src&&m("div",{className:"mt-2.5 mx-auto flex justify-center",children:m($,{image:l})})]})})),B=u((({children:e,activeIndex:t,indexFraction:n,showDots:r})=>{const l=e=>n=>{if(e===t)return;const r=n.currentTarget.parentElement?.previousElementSibling;r?.children[e]?.scrollIntoView({behavior:"smooth",block:"nearest"})};return r&&e?.length?m("div",{className:"flex gap-2 mx-auto mt-5 w-fit",children:e?.map(((e,r)=>m("div",{onClick:l(r),className:"bg-primary-main opacity-30 w-1.5 h-1.5 min-w-1.5 min-h-1.5 rounded-full",style:M(r,t,n),"aria-hidden":!0},String(r))))}):null})),M=(e,t,n)=>{if(e<t||e>t+1)return;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"}},A=u((({className:e="",children:t,...n})=>m("div",{className:`snap-center snap-always min-w-full box-border ${e}`,role:"listitem",...n,children:t}))),P=e=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e}px`}),L=u((({className:e="",children:t,activeIndex:n,onScroll:r,gap:l=14,padding:a=16})=>m("div",{className:`overflow-auto flex horizontal-list no-scrollbar ${e}`,style:{...P(a),gap:`${l}px`},role:"list",onScroll:r,children:t?.length?t?.map(((e,t)=>m(A,{style:P(a/4),"aria-current":Boolean(n===t),children:e},String(t)))):m(A,{children:t})}))),V=u((({className:e,children:t,gap:n=14,padding:l=16,showDots:a=!0,onSlideChange:o})=>{const[i,s]=r(0),[c,d]=r(0),u={activeIndex:i,indexFraction:c,showDots:a,children:t};return h("div",{className:e,children:[m(L,{gap:n,padding:l,activeIndex:i,onScroll:e=>{const{scrollLeft:t,clientWidth:r,childElementCount:a,scrollWidth:c,children:m}=e?.currentTarget,h=m[0].offsetWidth-l/2,u=(({gap:e,padding:t,clientWidth:n,scrollWidth:r,childElementCount:l,itemWidth:a})=>{const o=r-n;if(2===l)return[[0,o],[o,r]];const i=a+e,s=n-e-t,c=l-2,d=new Array(l).fill(0).map(((e,t)=>0===t||t===c?[t>0?o-s:0,t>0?o:s]:[(t-1)*i+s,t*i+s]));return d[l-1]=[o,r],d})({gap:n,padding:l,clientWidth:r,scrollWidth:c,childElementCount:a,itemWidth:h}),{index:p,fraction:x}=((e,t)=>{const n=t.findIndex((([t,n])=>t<=e&&e<n));if(n<0)return{index:n,fraction:0};const[r,l]=t[n];return{index:n,fraction:(e-r)/(l-r)}})(t,u);p!==i&&o&&o(),s(p),d(x)},children:t}),m(B,{...u})]})})),j=u((({className:e,iconClassName:t,textClassName:n,suffixClassName:r,doc:l,icon:a})=>{const{text:o,fileSize:i,...s}=l;return h("a",{className:e,role:"link",...s,children:[a?m($,{className:t,image:a,width:"24px",height:"24px",asSVG:!0}):null,o?h("span",{className:n,children:[o,m("span",{className:r,children:s?.href&&G(E(s.href),i)})]}):null]})})),G=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),E=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},U=u((({className:e="",doc:t,icon:n})=>m(j,{className:`flex h-full box-border ${e}`,iconClassName:"mr-3 min-w-6 min-h-6",doc:t,icon:n}))),O=u((({context:e,hasBorder:t=!0,documents:n,icon:r})=>m(V,{context:e,className:"text-s text-primary-main mt-5",children:n?.length?n.map(((e,n)=>m(U,{className:t?"rounded-md border-main-stroke border border-solid p-4":"",doc:e,icon:r},String(n)))):null}))),W=u((({hasBorder:e=!0,documents:t,icon:n})=>m("div",{className:"text-s text-primary-main flex flex-col mt-5 "+(e?"gap-3.5":"gap-2"),role:"list",children:t?.length?t.map(((t,r)=>m("div",{role:"listitem",children:m(U,{className:e?"rounded-md border-main-stroke border border-solid p-4":"",doc:t,icon:n})},String(r)))):null}))),F=u((({className:e="",context:t,title:n,description:r,icon:l={icon:"DocIconMonoColor"},documents:a,orientation:o="vertical",hasBorder:i=!0})=>h("section",{className:`font-sans text-primary-text py-6 px-4 bg-white overflow-x-hidden ${e}`,children:[m(R,{className:"!p-0 "+(r?"gap-2":"gap-5"),title:n,description:r,context:t,align:"center"}),"vertical"===o?m(W,{hasBorder:i,documents:a,icon:l}):m(O,{context:t,hasBorder:i,documents:a,icon:l})]}))),z=e=>e?.includes("//"),H=e=>(e||"").replace(/\/?\?.*/,""),J=e=>{if(!e||!z(e))return;const t=e,n=t.indexOf("//"),r=t.indexOf("/",n+"//".length);return-1!==r?t.substring(0,r):t};var q=Object.freeze({__proto__:null,isURL:z,withoutQuery:H,getOrigin:J,getHash:e=>{if(!e||!z(e))return;const t=e.indexOf("#");return-1!==t?e.substring(t,e.length):void 0},isHash:e=>e?.startsWith("#")});const K="/mobile",Y=(e,t)=>{if(!e)return e;const n=J(t?.href);return n?e.replace(n,"")||"/":e},X=e=>e;function Q({router:e,handlerDecorator:t=X},n){const r=((e,t)=>{if(!e)return e;const n=Y(e,t)||"",r=t?.pathname.startsWith(K);return r&&!z(n)?`/mobile${n}`:n})(n.href,e);return{...n,href:r,"aria-label":n.text,onClick:t((t=>{const l=r&&!z(r),a=!n.target||"_self"===n.target;l&&a&&(t?.preventDefault(),e.push(r))}),n)}}const Z=u((e=>{const{text:t,aboveText:n,appendLeft:r,appendRight:l}=e;return h("div",{className:ee(e),children:[r||null,te(e)?h("div",{children:[m("div",{className:"text-xs-light text-left",children:n}),m("div",{className:"text-left "+(n?"text-s -mt-0.5":"text-l"),children:t})]}):null,l||null]})})),ee=e=>{const{className:t="",version:n,aboveText:r,rounded:l}=e;if("link"===n)return"";const a="gap-2 "+(r?"py-2.5 px-7":"py-4 px-9");return["group flex items-center justify-center",te(e)?a:"h-12 w-12",l?"rounded-full":"",t].join(" ")},te=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),ne={primary:"text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active",secondary:"text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active",white:"text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white",link:"text-primary-main"},re={primary:"bg-secondary-dark text-secondary-text",secondary:"bg-secondary-light text-secondary-text",white:"bg-white text-primary-text",link:""},le="w-full text-center font-sans select-none",ae=u((({className:e,text:t,aboveText:n,appendLeft:r,href:l,target:a,onClick:o,children:i,disabled:s,rounded:c,version:d="primary",ariaLabel:h,...u})=>{const p=i??m(Z,{text:t,aboveText:n,appendLeft:r,rounded:c,version:d});return s?m("div",{role:"button","aria-disabled":"true","aria-label":h,tabIndex:-1,className:`inline-block ${le} ${re[d]||""} ${c?"rounded-full":"rounded-md"} ${e||""}`,children:p}):m("a",{className:`${le} inline-block cursor-pointer no-underline focus:border focus:border-primary-focus ${ne[d]||""} ${c?"rounded-full":"rounded-md"} ${e||""}`,href:l,target:a,onClick:o,"aria-label":h,role:l?"link":"button",...u,children:p})})),oe=u((({context:e,className:t="",buttons:n})=>{const{handlerDecorator:r}=e,l=e.useRouter();return n&&n?.length?m("div",{className:t,children:n.map(((e,t)=>function({icon:e,iconRight:t,version:n="primary",...r},l){if(!r?.text)return null;const a="primary"===n?"group-hover:text-black":"group-hover:text-white",o="secondary"===n?"normal":"white";return m(ae,e?{appendLeft:m($,{imageClassName:a,image:{...e,iconVersion:o},width:"24",height:"24",asSVG:!0}),appendRight:m($,{imageClassName:a,image:{...t,iconVersion:o},width:"24",height:"24",asSVG:!0}),version:n,...r}:{version:n,...r},String(l))}(Q({router:l,handlerDecorator:r},e),t)))}):null}));const ie={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"},se={primary:"bg-primary-text",secondary:"bg-white",gray:"bg-secondary-text",tile:"bg-black","tile-white":"bg-white"},ce=u((({className:e="",isDotted:t=!0,children:n,version:r="primary"})=>h("div",{className:`font-sans flex items-start ${e}`,role:"listitem",children:[t?m("div",{className:de(r)}):null,m("span",{children:n})]}))),de=e=>`${ie[e]} ${se[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]}`,me={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text",tile:"text-primary-text","tile-white":"text-white"},he={M:"text-xl-light",L:"text-h5-light"},ue=u((e=>{const{className:t="",itemClassName:n,isDotted:r,items:l,listItemSize:a="M",version:o="primary"}=e;return m("section",{className:`${me[o]} ${he[a]} ${t}`,role:"list",children:l?.length?l.map(((e,t)=>m(ce,{className:n,isDotted:r,version:o,children:e},String(t)))):null})})),pe=u((({className:e="",title:t="",children:n,buttons:r,image:l})=>h("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,children:[t,h("div",{className:"flex grow w-full justify-between",children:[h("div",{className:"flex flex-col justify-between w-full",children:[m("div",{className:"h-full",children:n}),r?m("div",{className:"mt-auto pt-8",children:r}):null]}),l]})]}))),xe={primary:"text-primary-text",secondary:"text-white"},ge={primary:"text-secondary-text",secondary:"text-white"},be=u((e=>{const{className:t="",icon:n,label:r,description:l,version:a="primary",benefitsVersion:o="normal"}=e,i="white"===o||"secondary"===a;return h("div",{className:`flex gap-5 ${l?"items-start":"items-center"} ${t}`,children:[n?m("div",{className:fe(a,o),children:m($,{className:"w-6 h-6",image:{...n,iconVersion:i?"white":"normal"},asSVG:!0})}):null,h("div",{className:"gap-0.5",children:[r?m("div",{className:`text-h6 ${xe[a]}`,children:r}):null,l?m("div",{className:`text-m-light ${ge[a]}`,children:l}):null]})]})}));function fe(e,t){let n="bg-primary-main text-black";return"secondary"===e?n="bg-white/30 text-black":"normal"===t&&(n="bg-secondary-light text-primary-main"),`w-[50px] h-[50px] min-w-[50px] rounded-full p-2.5 box-border flex items-center justify-center ${n}`}const ye=(e="primary",t="normal")=>({icon:n,label:r,description:l},a)=>m(be,{icon:n,label:r,description:l,version:e,benefitsVersion:t},String(a)),Ne=u((({className:e="",context:t,title:n,headlineVersion:r="L",description:l,benefits:a,benefitsVersion:o="normal",buttons:i,image:s,items:c,version:d="primary",isDotted:u=!0,label:p})=>h("div",{className:`w-full ${e}`,children:[h("div",{children:[p?we(p,d):null,m(R,{context:t,className:"!p-0 max-w-[600px]",title:n,description:l,bgColorHeadline:d,headlineVersion:r}),h(pe,{context:t,buttons:i?.length?m(oe,{context:t,buttons:i,className:"flex flex-col mt-5 gap-2.5"}):null,children:[a?.filter((e=>e.label))?.length?m("div",{className:"mt-3",children:a.map(ye(d,o))}):null,c?.length?m(ue,{className:"mt-3 text-m",items:c,version:d,isDotted:u}):null]})]}),Ie(s)]})));function Ie(e){return e?.src?m($,{imageClassName:"mt-5 mx-auto block",image:{className:"block",...e}}):null}const ve={primary:"text-primary-main border-secondary-hover",secondary:"text-white/80"},we=(e,t)=>m("div",{className:`px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid w-fit ${ve[t]}`,children:e}),ke={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},Ce=u((e=>{const{className:t="",version:n="primary"}=e;return m("section",{className:`font-sans bg-white px-4 py-6 ${ke[n]} ${t}`,children:m(Ne,{...e})})})),Se={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"}},$e=u((({title:e,description:t,blockVersion:n="primary",iconVersion:r,image:l,className:a="",items:o,isDotted:i=!0})=>{const s=Se[n],c="secondary"===n?"secondary":"gray";return h("section",{className:`font-sans px-4 py-[18px] flex flex-col ${s.background} ${a}`,children:["small"===r?De(s.icon):null,"big"===r?Te(l):null,h("div",{className:"py-0.5",children:[e?m("div",{className:`text-l font-medium mb-1 ${s.title}`,children:e}):null,t?m("div",{className:`text-s ${s.description}`,children:t}):null,o?.length?m(ue,{className:"mt-1 text-m",items:o,isDotted:i,version:c}):null]})]})}));function De(e){return m("div",{className:"mb-3",children:m("div",{className:`rounded-full h-4 w-4 text-center text-xs-light ${e}`,children:"i"})})}function Te(e){return e?.src?m($,{className:"pb-3 mr-auto",image:e}):null}const _e=u((({context:e,title:t,description:n,cards:r=[],className:l,orientation:a="horizontal"})=>h("section",{className:`relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${l}`,children:[h("div",{className:"flex flex-col items-center mb-5",children:[t?m(g,{headingType:"h3",className:`text-center ${n?"mb-2":"mb-5"}`,title:t}):null,n?m("div",{className:"text-m max-w-[600px] text-center mb-5",children:n}):null]}),Re(a,r,e)]})));function Re(e,t,n){return"horizontal"===e?m(V,{context:n,children:t?.map(Be)}):m("div",{className:"grid gap-[14px]",children:t?.map(Be)})}function Be(e,t){return h("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 ${ke[e.version??"primary"]}`,children:[h("div",{children:[e.image?.src?m("div",{className:"flex justify-center",children:m($,{className:"mb-3.5",image:e.image})}):null,e.title?m("h3",{className:"text-m-title-xs font-medium m-0",children:e.title}):null,e.description?Me(e):null,e.items?.length?Ae(e.items,e.isDotted,e.version):null]}),e?.button?.text?(n=e.button,m(ae,{className:"mt-3",appendLeft:n?.icon&&m($,{image:n?.icon,width:"24px",height:"24px",asSVG:!0}),...n})):null]},t);var n}function Me(e){return m("div",{className:"text-secondary-text mt-1 text-s "+("secondary"===e.version?"text-white opacity-80":""),children:e.description})}function Ae(e,t,n="primary"){return m("section",{className:"mt-3",children:e.map(((e,r)=>h("div",{children:[t?m("div",{className:de(n)}):null,m("span",{className:"text-m font-medium",children:e.title}),m("span",{className:"text-s pl-2 "+("primary"===n?"text-secondary-text":""),children:e.text})]},String(r))))})}class Pe{static inst=new Pe;subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]||=[],this.subscribers[e]?.push(t);const n=this.subjectsStateMap[e];return n&&t(n),()=>{this.unsubscribe(e,t)}}unsubscribe(e,t){this.subscribers[e]=this.subscribers[e]?.filter((e=>e!==t))}fire(e,t){this.subjectsStateMap[e]=t,this.subscribers[e]?.forEach((e=>e(t)))}subject(e,t){this.subjectsStateMap[e]=t}}const Le=e=>{if(!e.length)return;const[t]=e;t.isIntersecting},Ve=u((({anchor:e,className:t,context:n,children:a,tag:o="section",labels:i})=>{const s=o,{IntersectionObserverTag:c}=n,[d,h]=r(!0);return l((()=>Pe.inst.subscribe("tab",(e=>{var t;"group"===e.type?h(!i?.length||!e.label||i.includes(e.label)):(h(!0),t=e.label,setTimeout((()=>globalThis.document.getElementById(`#${t}`)?.scrollIntoView({behavior:"smooth"}))))}))),[i]),d?e?m(c,{tag:o,className:t,observerCallback:Le,observerOptions:{threshold:1},anchor:e,children:a}):m(s,{className:t,children:a}):null}));const je=u((({className:e="",documents:t,...n})=>m(Ve,{className:`font-sans bg-white mt-[10px] ${e}`,...n,children:m("ul",{className:"flex flex-col text-s text-secondary-text p-0",children:t?.length?Ge(t):null})}))),Ge=e=>e.map(((e,t)=>{const{text:n,...r}=e;return m("li",{className:"mb-4 list-none",children:m("a",{className:"hover:text-primary-main",role:"link",...r,children:n||null})},`list_item_${String(t)}`)})),Ee={Headline:R,LinkDocs:F,TextBlock:$e,ProductBlock:Ce,Gallery:_e,LinkList:je},Ue=({blocks:e,context:t,className:n=""})=>e?.length?e.map(Oe({context:t,className:n})):null,Oe=({context:e,className:t})=>(n,r)=>{if(!n)return null;const{style:l,blockListType:a,...o}=n;if(!a||!(a in Ee))return null;const i=D(l);return m(Ee[a],{className:`${t} ${i}`,context:e,...o},`block_${r}`)},We=u((({blocks:e,context:t})=>m("div",{className:"flex flex-wrap transition-all duration-300 max-h-0 overflow-hidden group-last:last:pb-0",children:Ue({context:t,blocks:e,className:"!px-0"})}))),Fe=u((({label:e,labelIcon:t,blocks:n,bordered:l,context:a})=>{const{hasContent:o,icon:i,handleToggle:s}=(({blocks:e,initialState:t=!1})=>{const[n,l]=r(t),a=e?.length;return{isActive:n,hasContent:a,icon:n?"MinusIcon":"PlusIcon",handleToggle:e=>{const t=e.currentTarget;if(!t)return;l(!n);const r=t.nextSibling;r.style.maxHeight=r.style.maxHeight?"":`${r.scrollHeight}px`}}})({blocks:n});return h("li",{className:`${ze(l)} border-solid border-main-divider`,children:[h("button",{className:`border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text\n ${l?"":"py-[14px] px-0"}\n ${o?"group cursor-pointer":""}`,onClick:s,children:[h("span",{className:"text-m-title-xs font-medium pr-2.5 flex "+(o?"group-hover:text-primary-main":""),children:[t?m($,{image:t,className:"mr-3 flex-shrink-0",width:"24",height:"24",asSVG:!0}):null,e]}),o?m($,{className:"flex-shrink-0",image:i,width:"24",height:"24",asSVG:!0}):null]}),o?m(We,{blocks:n,context:a}):null]})}));function ze(e){return e?"border p-4 rounded mb-4":"border-0 border-b last:border-b-0"}const He=u((({title:e,description:t,accordionItems:n,context:r,className:l="",bordered:a})=>h("section",{className:`py-6 px-4 font-sans bg-white text-primary-text ${l}`,children:[e?m(g,{headingType:"h3",className:"mb-2 text-center",title:e}):null,t?m("div",{className:"mb-5 text-m-light text-center",children:t}):null,n?.length?m("ul",{className:"list-none m-0 p-0",children:n.map(((e,t)=>m(Fe,{...e,context:r,bordered:a},`AccordionItem_${t}`)))}):null]}))),Je=(e=!1)=>e?"text-white":"",qe=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),Ke=u((({icon:e,image:t,title:n,subtitle:r,isFillGradient:l})=>h("div",{role:"columnheader",children:[e?m($,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}):null,t?.src&&m("div",{className:"mb-3.5",children:m($,{image:t})}),n?m(g,{headingType:"h4",className:Je(l),title:n}):null,r?m("div",{className:qe(l),children:r}):null]}))),Ye=u((({cell:e,rowHeader:t,isFillGradient:n=!1})=>m("div",{className:"box-border flex flex-col",role:"cell",children:m("div",{className:"h-full border-main-divider border border-t-0 border-x-0",children:e.map(Xe(n,t))})}))),Xe=(e,t)=>({label:n,description:r},l)=>h("div",{className:"flex justify-between text-s py-3.5",children:[m("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),h("div",{className:"basis-1/2",children:[n?m("div",{className:"text-right "+(e?"text-white":""),children:n}):null,r?m("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:r}):null]})]},String(l)),Qe=u((({header:e,columnData:t,visibleRowLength:n=0,isFillGradient:r,showRow:l,onToggleColumn:a})=>{const o=t?.slice(0,l?t.length:n),i=r?"secondary":"primary";return h("div",{className:`border border-main-stroke rounded-md p-4 mb-3.5 ${r?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[m(Ke,{...e,isFillGradient:r}),o?.length?o.map((({rowHeader:e,cell:t},n)=>m(Ye,{cell:t,rowHeader:e,isFillGradient:r},String(n)))):null,l&&Ze({header:e,buttonVersion:i}),et({onToggleColumn:a,isFillGradient:r,showRow:l})]})})),Ze=({header:e,buttonVersion:t})=>m(ae,{href:e.link.href,target:e.link.target,version:t,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}),et=({onToggleColumn:e,isFillGradient:t,showRow:n})=>m("div",{className:"mt-5",role:"cell",children:m("a",{role:"link",onClick:e,className:"text-s font-medium cursor-pointer "+(t?"text-white/80":"text-primary-main"),children:n?"Скрыть":"Показать описание"})}),tt=u((({className:e,context:t,title:n,rowHeaders:l,columns:a,visibleRowLength:o=0,isColoredFirstColumn:i=!1,orientation:s="vertical"})=>{const c=a?.map((({data:e,header:t})=>({header:t,column:e?.map(((e,t)=>({cell:e,rowHeader:l?.[t]?.title})))})))||[],[d,u]=r(new Array(a?.length||0).fill(!o));return h("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${e||""}`,children:[n?m(g,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:n}):null,nt({tableData:c,context:t,visibleRowLength:o,isColoredFirstColumn:i,columnsViewState:d,handleToggleColumn:e=>{d[e]=!d[e],u([...d])},orientation:s,setColumnsViewState:u})]})})),nt=({context:e,tableData:t,visibleRowLength:n,isColoredFirstColumn:r,columnsViewState:l,handleToggleColumn:a,orientation:o="horizontal",setColumnsViewState:i})=>m("div",{role:"table",children:t?.length?rt({orientation:o,context:e,columnsViewState:l,setColumnsViewState:i,tableData:t,visibleRowLength:n,isColoredFirstColumn:r,handleToggleColumn:a}):null}),rt=({orientation:e,context:t,columnsViewState:n,setColumnsViewState:r,tableData:l,visibleRowLength:a,isColoredFirstColumn:o,handleToggleColumn:i})=>"horizontal"===e?m(V,{context:t,onSlideChange:at(n,r),children:l.map(lt({context:t,visibleRowLength:a,isColoredFirstColumn:o,columnsViewState:n,handleToggleColumn:i}))}):l.map(lt({context:t,visibleRowLength:a,isColoredFirstColumn:o,columnsViewState:n,handleToggleColumn:i})),lt=({context:e,visibleRowLength:t,isColoredFirstColumn:n,columnsViewState:r,handleToggleColumn:l})=>(a,o)=>m(Qe,{context:e,visibleRowLength:t,showRow:r[o],header:a.header,columnData:a.column,isFillGradient:0===o&&n,onToggleColumn:()=>l(o)},String(o)),at=(e,t)=>()=>{t(new Array(e.length).fill(!1))},ot=new Map;function it(e){return e?Array.isArray(e)?e:e instanceof Function?it(e()):[e]:[e]}let st=function(e,t,{fallback:n}={}){const a=o((()=>it(e)),[e]),[i,s]=r(),[c,d]=r(),m=e=>{s(e),d(void 0)},h=e=>{s(void 0),d(e)};l((()=>{if(!a.every((e=>null===e)))try{const e=t(...a);"then"in e?(e=>{e.then((e=>ot.get(a)||e)).then(m).catch(h)})(e):m(e)}catch(e){h(e)}}),[t,...a]);const u=a[0],p=n&&"string"==typeof u&&n[u];return{data:i||c||!p?i:p,error:c,mutate:()=>Promise.resolve(void 0),isValidating:!1}};const ct=(...e)=>st(...e);async function dt(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await n.json()}const mt=(e,t=2)=>{const n=10**t;return Math.round(parseFloat(String(e))*n)/n};function ht(){return async function(e,t){try{return await dt(e,t)}catch(e){console.error(e)}return null}(ut,{method:"POST",body:JSON.stringify(pt)})}const ut="https://coins.rshb.ru/api/catalog/vue_storefront_magento_1_currency_rates_average/currency_rates_average/_search?size=10000",pt={query:{bool:{must:[{term:{russian_region_code:"77"}},{term:{from_volume:"0"}},{terms:{currency_pair:["USD/RUB","EUR/RUB"]}}]}}},xt=e=>e.reduce(((e,t)=>{const n=t.currency_first?.code;return e.some((e=>e.code===n))||e.push({code:n,buy:mt(Number(t.rate_buy),3),sell:mt(Number(t.rate_sell),3)}),e}),[]);var gt;!function(e){e.RUB="RUB",e.EUR="EUR",e.USD="USD"}(gt||(gt={}));const bt=new Intl.NumberFormat("ru",{style:"currency",currency:gt.RUB}),ft=e=>e?bt.format(e):"",yt="text-left text-m-light text-secondary-text",Nt={USD:"DollarIcon",EUR:"EuroIcon"},It=u((({className:e,exchangeCurrencyItems:t})=>h("table",{className:`h-fit w-fit ${e}`,children:[m("thead",{children:h("tr",{children:[m("th",{className:yt,children:"Валюта"}),m("th",{className:`${yt} pl-11`,children:"Купить"}),m("th",{className:`${yt} pl-11`,children:"Продать"})]})}),m("tbody",{children:t.map((e=>vt(e)))})]}))),vt=e=>{const t=e?.code;return h("tr",{className:"pb-1 text-h6",children:[m("td",{className:"pt-4",children:h("div",{className:"flex items-center",children:[t?m($,{image:{icon:Nt[t]},width:"24",height:"24"}):null,m("span",{className:"ml-2",children:t})]})}),m("td",{className:"pt-4 pl-11",children:ft(e?.sell)}),m("td",{className:"pt-4 pl-11",children:ft(e?.buy)})]},t)},wt=u((({className:e="",address:t,distance:n})=>h("div",{className:`flex ${e}`,children:[m($,{image:{icon:"GpsIcon"},width:"24",height:"24",asSVG:!0}),h("div",{className:"ml-3",children:[t?m("p",{className:"text-primary-main m-0 mb-1 text-l",children:t}):null,n?h("p",{className:"text-secondary-text m-0 text-m",children:["Курс указан для ближайшего офиса - ",n]}):null]})]}))),kt=(e,t,n)=>{const r=Number(Ct(e))*Math.pow(t,n?-1:1);return Number.isInteger(r)?r:mt(r)},Ct=e=>e.replace(/[^\d.,]/g,"").replace(",","."),St=e=>{return(t=[[e=>e.value!==gt.RUB&&e.oppositeValue!==gt.RUB,()=>e.handleConvert(e.value,gt.RUB)],[e=>e.value===gt.RUB&&e.oppositeValue===gt.RUB,()=>e.handleConvert(e.value,gt.USD)],[()=>!0,()=>e.handleConvert(e.value)]],e=>{const[,n]=t.find((([t])=>t(e)))||[];return n})(e)?.();var t},$t=u((({className:e="",id:t,name:n,type:r="text",placeholder:l,pattern:a,value:o,onChange:i})=>m("input",{className:`border rounded-md border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text text-primary-text outline-none ${e}`,id:t,name:n||t,type:r,pattern:a,placeholder:l,value:o,onChange:e=>{const t=e.target.validity.valid?e.target.value:o;i(t)}}))),Dt=u((({className:e="",isBorder:t=!0,label:n,options:a=[],value:o,onChange:i})=>{const[s,c]=r(a[0]||{key:"",text:""}),[d,u]=r(!1);return l((()=>{c(o||{key:"",text:""})}),[o]),h("div",{className:`${d?"z-10":""} ${e}`,children:[n?m("span",{className:"mb-2",children:n}):null,h("div",{className:"relative w-fit",children:[h("div",{className:`text-m-light flex justify-between min-h-[56px] mb-0.5 p-4 pr-8 text-primary-text cursor-pointer\n ${_t(t)}`,onClick:()=>u(!d),children:[s.text,m(N,{name:"ArrowUpIcon",className:"absolute right-3 "+(d?"":"rotate-180")})]}),a.length>0?m("div",{className:"h-0 "+(d?"":"overflow-hidden"),children:m("div",{className:"bg-white text-l rounded-md",children:a.map(Tt((e=>{c(e),u(!1),i(e)}),d,(e=>Boolean(e.key===s.key))))})}):null]})]})})),Tt=(e,t,n)=>(r,l)=>h("div",{onClick:()=>{e(r)},className:"flex px-4 py-3 cursor-pointer hover:bg-main-divider pr-11",children:[m("span",{children:r.text}),m(N,{name:"DoneSimpleIcon",className:["absolute right-4 pt-0.5",n(r)&&t?"":"hidden"].join(" ")})]},String(l));function _t(e){return e?"border border-main-stroke rounded-md hover:border-primary-hover":""}function Rt(e){const{placeholder:t,rates:n,selected:r,value:l,setValue:a,setSelected:o}=e,i=n.map((e=>({key:e.code??"",text:e.code??""}))),s={key:r,text:r};return h("div",{className:"relative flex",children:[m($t,{className:"shrink-0 h-14 pl-4 pt-4 pb-4 text-l w-full appearance-none mr-[-90px]",placeholder:t,type:"text",value:l,onChange:a}),i.length?m(Dt,{isBorder:!1,onChange:e=>o(e.key),options:i,value:s}):null]})}const Bt=u((({context:e,className:t="",currencyRatesBuy:n,currencyRatesSell:l,button:a})=>{const{useRouter:o,handlerDecorator:i}=e,s=o(),[c,d]=r({inputSell:"",inputBuy:"",selectSell:n?.[0]?.code||gt.RUB,selectBuy:l?.[0]?.code||gt.USD}),u=e=>{d((t=>({...t,...e})))};return h("div",{className:`grid gap-[18px] pt-2 ${t}`,children:[Rt({placeholder:"Хочу продать",rates:l,selected:c.selectSell,setSelected:Mt(c,u,l),value:c.inputSell,setValue:e=>Pt(u,l)(e,c.selectSell,c.selectBuy)}),Rt({placeholder:"Получу",rates:n,selected:c.selectBuy,setSelected:At(c,u,n),value:c.inputBuy,setValue:e=>Lt(u,n)(e,c.selectBuy,c.selectSell)}),a?.text?m(ae,{className:"py-4 mr-1",version:a?.version,...Q({router:s,handlerDecorator:i},a),children:a.text}):null]})})),Mt=(e,t,n)=>r=>{t({selectSell:r}),St({value:r,oppositeValue:e.selectBuy,handleConvert:(r=e.selectSell,l=e.selectBuy)=>{Pt(t,n)(e.inputSell,r,l)}})},At=(e,t,n)=>r=>{t({selectBuy:r}),St({value:r,oppositeValue:e.selectSell,handleConvert:(r=e.selectBuy,l=e.selectSell)=>Lt(t,n)(e.inputBuy,r,l)})},Pt=(e,t)=>(n,r,l)=>{e({inputSell:Ct(n),selectBuy:l});const a=t.find((e=>e.code===l))?.buy||t.find((e=>e.code===r))?.sell;a&&e({inputBuy:String(kt(n,a,r===gt.RUB)||"")})},Lt=(e,t)=>(n,r,l)=>{e({inputBuy:Ct(n),selectSell:l});const a=t.find((e=>e.code===l))?.sell||t.find((e=>e.code===r))?.buy;a&&e({inputSell:String(kt(n,a,r===gt.RUB)||"")})},Vt={address:"Москва, ул.Ленина д.28",distance:"6км"},jt=u((({className:e="",context:t,title:n="Курсы обмена валют",button:r,...l})=>{const a=function(){const{data:e}=ct(ut,ht),t=e?.hits?.hits?.map((e=>e._source))||[];return t.length?xt(t):t}(),o=a.filter((e=>e.buy));o.unshift({code:gt.RUB});const i=a.filter((e=>e.sell));return i.push({code:gt.RUB}),m(Ve,{context:t,className:`bg-white text-primary-text font-sans p-9 box-border ${e}`,...l,children:m(pe,{context:t,title:m(g,{headingType:"h4",title:n,className:"whitespace-pre-wrap text-h4"}),children:h("div",{className:"flex",children:[h("div",{className:"mr-14 pt-4",children:[a?m(It,{className:"mb-[30px]",exchangeCurrencyItems:a}):null,m(wt,{...Vt})]}),a.length&&o.length&&i.length?m(Bt,{className:"grow",context:t,currencyRatesBuy:o,currencyRatesSell:i,button:r}):null]})})})})),Gt={"bg-white":"text-primary-main",transparent:"text-white"},Et={"bg-white":"text-black",transparent:"text-white"},Ut=u((({className:e="",href:t,children:n,targetBlank:r,bgColor:l="bg-white",hideTitle:a})=>h("a",{className:`inline-flex items-center font-sans no-underline ${e}`,href:t||"https://rshb.ru/",target:r?"_blank":"_self","aria-label":"Россельхозбанк",children:[m($,{image:{icon:"LogoIcon"},className:`${Gt[l]} w-10 h-[38px]`,asSVG:!0}),a?null:m("span",{className:`${Et[l]} text-s font-medium ml-2.5`,children:n||"Россельхозбанк"})]}))),Ot=u((({className:e="",title:t="Мобильное приложение",description:n,href:r="#"})=>m("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light font-sans ${e}`,children:r?h("div",{className:"flex",children:[m("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-[50px] h-[50px]",children:m(Ut,{className:"w-[33px]",bgColor:"transparent",hideTitle:!0})}),h("a",{href:r,target:"_blank",className:"flex flex-col justify-center pl-3",children:[m("div",{className:"text-s font-medium mb-[3px]",children:t}),m("div",{className:"text-s text-secondary-text",children:n})]})]}):null}))),Wt=u((({className:e="",items:t,hasButton:n,context:r})=>{const l=r.useRouter(),{handlerDecorator:a}=r;return h("div",{className:e,children:[t?.length?t.map(Ft):null,n?m(ae,{version:"primary",className:"mb-6 w-full",...Q({router:l,handlerDecorator:a},{text:"Обратная связь",href:"/",target:"_blank"})}):null]})})),Ft=(e,t)=>{const{type:n,text:r,description:l}=e;return h("div",{className:"mb-4",children:[m("div",{children:zt(n,r)}),m("div",{className:"mt-1 text-s-light text-secondary-text",children:l})]},String(t))},zt=(e,t="")=>{switch(e){case"tel":return m("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${Ht(t)}`,children:t});case"email":return m("a",{className:"text-xl-light text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return m("span",{children:t})}},Ht=e=>e.replaceAll(/\D/g,""),Jt=u((({className:e="",index:t,text:n,href:r,target:l,onClick:a})=>m("a",{className:`text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:r,target:l,onClick:a,children:n||`Документ ${t}`}))),qt=u((({title:e,links:t,className:n="",context:r})=>{const l=r.useRouter(),{handlerDecorator:a}=r;return h("div",{className:n,children:[m("span",{className:"text-primary-text text-s font-medium",children:e}),t?.length?m("div",{className:"flex flex-col gap-2 pt-3",children:t.map(((e,t)=>m(Jt,{index:t,className:"text-s",...Q({router:l,handlerDecorator:a},e)},String(t))))}):null]})})),Kt=[{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"}],Yt=u((({href:e,version:t="primary"})=>{const{icon:n,label:r}=Kt.find((({origins:t})=>t.some((t=>e?.includes(t)))))||{};if(!n)return null;return m("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-solid border-[1px] border-main-divider hover:border-transparent hover:bg-primary-main"} ${"primary"===t?"hover:text-black":""}`,href:e,"aria-label":r,target:"_blank",rel:"noopener noreferrer",children:n?m($,{image:n,imageClassName:"group-hover:text-white",width:"24",height:"24",asSVG:!0}):null})})),Xt=u((({className:e,media:t,version:n,context:r})=>{const l=r.useRouter(),{handlerDecorator:a}=r;return m("div",{className:`flex gap-2 items-start justify-start pt-6 pb-6 ${e||""}`,children:t?.map(((e,t)=>m(Yt,{version:n,...Q({router:l,handlerDecorator:a},e)},String(t))))})})),Qt=u((({className:e="",index:t,text:n,href:r,target:l,onClick:a})=>m("a",{className:`text-xs-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${e}`,href:r,target:l,onClick:a,children:n||`Документ ${t}`}))),Zt=u((({className:e,links:t,context:n})=>{const r=n.useRouter(),{handlerDecorator:l}=n;return h("div",{className:`${e||""}`,children:[m("div",{className:"py-6",children:m("span",{className:"text-xs-light text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?m("div",{className:"flex flex-col justify-start items-start gap-2",children:t.map(((e,t)=>m(Qt,{index:t,className:"",...Q({router:r,handlerDecorator:l},e)},String(t))))}):null]})}));function en(e={}){const{data:t}=ct(`/wcms-resources/${s.SITEMAP||"sitemap"}.json`,dt,{fallback:e});return t||{}}const tn=u((({className:e,isMobile:t=!1})=>{const{term:n,setTerm:l}=(()=>{const[e,t]=r("");return{term:e,setTerm:e=>t(e)}})(),a=t?"text-s":"text-l-light",o=t?" placeholder-transparent":"h-full",i=t?"some search":void 0;return h("form",{className:`font-sans relative ${e}`,children:[h("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[m("div",{className:t?"w-5 h-5":"w-6 h-6",children:m($,{image:"LoupeIcon",width:"24",height:"24"})}),n?null:m("label",{htmlFor:"search-bar-input",className:`text-secondary-text ${a}`,children:"Поиск по сайту"})]}),m("input",{id:"search-bar-input",className:`h-12 pl-12 w-full peer text-l text-black border border-solid rounded-md box-border\n outline-none pr-[6%] border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text ${o}`,value:n,onChange:e=>l(e.target.value),type:"text",name:"search-bar-input",placeholder:i}),t?m("button",{className:"visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none",onClick:e=>{e.preventDefault(),l("")},children:m($,{image:"CloseIcon",width:"24",height:"24"})}):m(ae,{version:"primary",text:"Найти",className:"invisible peer-focus:visible absolute top-[3px] right-1",onClick:e=>{e?.preventDefault(),console.log("click")},children:m("div",{className:"text-s px-9 py-2.5",children:"Найти"})})]})})),nn=u((({className:e=""})=>m(tn,{className:e,isMobile:!0}))),rn=e=>e?.map((e=>({label:e.text||"",blocks:[{accordionBlockType:"LinkList",documents:e.items||[]}]}))),ln=u((({className:e="",documents:t,relatedEnterprises:n,contacts:r,socialMedia:l,context:a,horizontalNavigationTitle:o,page:i})=>{const s=i?.fallback,c=en(s),d=c?.dispositions;return h("footer",{className:`font-sans px-4 py-[26px] bg-white ${e}`,children:[m(Wt,{className:"overflow-hidden",items:r,context:a,hasButton:!0}),m(He,{context:a,className:"!p-0 mb-4",accordionItems:rn(c.topItems)}),m("div",{children:d?.map(an)}),m(Ot,{context:a,title:"Мобильное приложение",description:"Загрузить для IOS и Android"}),m(nn,{context:a,className:"grow"}),m(Xt,{className:"pb-4",media:l,context:a}),m(qt,{title:o,links:n,context:a}),m(Zt,{links:t,context:a})]})})),an=(e,t)=>{const{icon:n,href:r,text:l}=e;return h(ae,{version:"link",href:r,className:"flex text-s mb-4 w-6",children:[n?m($,{className:"pr-1",image:n,width:"24",height:"24",asSVG:!0}):null,m("span",{className:"pl-2.5 font-medium text-primary-text",children:l})]},`footer-${t}`)},on=(e,t,n=((e,t)=>t.startsWith(e)))=>n(H(e),(e=>(e||"").replace(K,""))(H(z(e)?t.href:t.pathname))),sn=e=>t=>on(t.href,e),cn=e=>t=>t.items?.some(sn(e))||on(t.href,e)||((e,t)=>J(e)===J(t.href))(t.href,e),dn=e=>t=>e?.href===t?.href,mn=(e,t)=>{return(r=e,l=t,(r||[]).map((e=>l?.find(dn(e))||e))).concat((n=e,(t||[]).filter((e=>!n?.find(dn(e))))));var n,r,l},hn="absolute left-0 -bottom-3 w-full h-[2px]",un=u((({className:e="",text:t,href:n,target:r,active:l,onClick:a,children:o,bgColor:i="bg-white"})=>h("a",{className:`relative inline-block bg-transparent text-center no-underline ${e}`,href:n,target:r,onClick:a,children:[m("span",{className:pn(i,l),children:t||o}),l?m("div",{className:xn(i,l)}):null]}))),pn=(e,t=!1)=>{let n="text-white";return"bg-white"===e&&(n=t?"text-primary-main":"text-secondary-text hover:text-primary-main"),`${n} font-sans text-s`},xn=(e,t=!1)=>t?`${"bg-white"===e?"bg-primary-main":e} ${hn}`:hn,gn=i("https://10.80.4.9");const bn=u((({context:e,burgerSubMenu:t,onClick:n,defaultLocation:o="",children:i})=>{const[s,c]=function(e){const[t,n]=r(e);return l((()=>{n(globalThis?.localStorage.getItem("location")||e)}),[e]),[t,a((()=>{gn.getFetcherAddress().then((t=>{const r=t||e;globalThis?.localStorage.setItem("location",r),n(r)}))}),[e])]}(o);return h("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20",children:[m("button",{className:"absolute top-4 right-4 border-none bg-transparent cursor-pointer",onClick:n,children:m($,{image:"CloseIcon",width:"24",height:"24",asSVG:!0})}),h("button",{onClick:c,className:"flex items-center text-s text-secondary-text p-0 mb-4 bg-transparent cursor-pointer",children:[m($,{image:"GeolocationIcon",width:"20",height:"20",className:"text-primary-main box-border mr-2",asSVG:!0}),s]}),i,m("div",{className:"mb-7",children:t?.map(fn)}),m(nn,{context:e,className:"grow"})]})})),fn=(e,t)=>{const{icon:n,href:r,text:l}=e;return h("a",{href:r,className:"flex text-s mb-4 hover:text-primary-main",children:[n?m($,{className:"text-primary-main pr-1",image:n,width:"24",height:"24",asSVG:!0}):null,m("span",{className:"font-medium pl-0.5",children:l})]},`headerSubMenu-${t}`)},yn=u((({onClick:e,bgColor:t})=>h("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-[50px]",children:[h("div",{className:"flex items-center",children:[m("button",{className:"pl-0 pr-4 border-0 bg-transparent cursor-pointer",onClick:e,"aria-label":"Открыть меню",children:m($,{image:{icon:"BurgerIcon",iconVersion:"bg-white"===t?"black":"white"},className:"text-primary-text w-6 h-6",width:"24",height:"24",asSVG:!0})}),m(Ut,{className:"mr-8",bgColor:t})]}),m("button",{className:("bg-white"===t?"text-primary-main":"text-white")+" text-s border-0 bg-transparent cursor-pointer",children:"Войти"})]}))),Nn=u((({className:e="",defaultLocation:t,bgColor:n="bg-white",context:l,topItems:a,page:o})=>{const i=l.useRouter(),s=o?.fallback,c=en(s),d=c?.dispositions,{handlerDecorator:u}=l,p=mn(c.topItems,a).find(cn(i))?.items,x=(e=>(t=[])=>{const n=t?.filter(sn(e));return n?.length?(r=e=>e.href?.length||0,e=>e.reduceRight(((e,t)=>r(e)>r(t)?e:t)))(n):void 0;var r})(i)(p),[g,b]=r(!1),f=()=>b(!g);return h("header",{className:`${n} ${e}`,children:[h("div",{className:"container px-4 py-0 box-border",children:[m(yn,{onClick:f,bgColor:n}),m("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-[50px]",children:m("div",{className:"flex no-scrollbar horizontal-list h-full items-center",children:p?.map(((e,t)=>In({...Q({router:i,handlerDecorator:u},e),active:e===x,bgColor:n},t)))})})]}),g?m(bn,{context:l,onClick:f,burgerSubMenu:d,defaultLocation:t,children:m(He,{context:l,accordionItems:rn(c.topItems),className:"!p-0 mb-4"})}):null]})})),In=(e,t)=>m(un,{className:"mr-8 whitespace-nowrap text-s",...e},String(t)),vn=e=>{const t="col-span-",n=e.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function wn(e=""){const t=vn(e);return t<=4?"S":t<=8?"M":"L"}function kn(e=""){const t=vn(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function Cn(e=""){const t=vn(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const Sn=u((({className:e,context:t,title:n,description:r="Блок в разработке...",...l})=>h(Ve,{context:t,className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${Cn(e)} ${kn(e)} `,...l,children:[m(R,{context:t,className:"!p-0 max-w-[600px]",title:n,description:r,headlineVersion:wn(e)}),m("figure",{className:"m-0 min-w-[80%]",children:$n()})]}))),$n=(e=3)=>Tn(100,e).map((e=>Math.floor(e))).map(Dn),Dn=(e,t)=>m("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),Tn=(e,t)=>[e].concat(t>0?Tn(e/1.618,t-1):[]),_n=u((({block:e,context:t,className:n=""})=>m("section",{className:`flex grow-0 shrink-0 basis-full px-4 pt-6 ${ke[e?.version??"primary"]} ${n}`,role:"listitem",children:m("div",{className:"flex grow",children:m(Ne,{context:t,...e})})}))),Rn=u((({className:e,context:t,slides:n=[]})=>{const r=n.map((e=>e.productBlock));return m("section",{className:`font-sans bg-white overflow-hidden w-100 pb-6 ${e||""}`,children:m(V,{context:t,children:r.map(((e,n)=>m(_n,{block:e,context:t},String(n))))})})})),Bn={primary:{background:"bg-white",title:"text-primary-text",description:"text-secondary-text",iconText:"text-secondary-text",iconBackground:"bg-main-divider",iconConnector:"bg-secondary-light"},secondary:{background:"bg-primary-main",title:"text-white",description:"text-white/80",iconText:"text-white",iconBackground:"bg-white/30",iconConnector:"bg-white"}},Mn={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-[50px] w-[50px] min-w-[50px] min-h-[50px]"},An={normal:"min-h-[70px]",small:"min-h-[50px]"},Pn=u((({className:e,title:t,description:n,showLines:r=!0,steps:l,size:a="normal",version:o="primary"})=>{const i=Bn[o];return h("section",{className:`box-border font-sans bg-white px-4 py-6 flex flex-col\n ${i.background} ${i.title} ${e||""}`,children:[t?m(g,{headingType:"h3",className:`text-center ${i.title}`,title:t}):null,n?m("p",{className:`text-m-light text-center ${i.description} ${t?"mt-2":""}`,children:n}):null,l?.length?m("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:m("div",{className:"flex flex-col justify-between gap-x-[101px]",children:l.map(Ln(a,o,r))})}):null]})})),Ln=(e,t,n)=>(r,l,a)=>{const o=a.length-1===l,i="normal"===e?"ml-[34px]":"ml-6",s=Bn[t];return m("div",{children:h("div",{className:"flex flex-row text-center relative",children:[h("div",{className:"overflow-hidden flex-shrink-0",children:[Vn(e,t)(r,l),o?null:m("div",{className:`min-h-8 h-full w-[2px] ${n?s.iconConnector:""} ${i}`})]}),h("div",{className:`flex flex-col justify-center h-fit ${An[e]}`,children:[r.label?m("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:r.label}):null,r.description?m("div",{className:`text-s ${s.description} text-left`,children:r.description}):null]})]})},String(l))},Vn=(e,t)=>(n,r)=>{const l=Bn[t],a="normal"===e?"38":"27",o="normal"===e?"text-m-title":"text-m-title-xs";return m("div",{className:`${Mn[e]} ${l.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:m("span",{className:`font-medium flex self-center ${l.title} ${o}`,children:(i=n?.icon,Boolean(i?.icon||i?.src)?m($,{image:n.icon,width:a,height:a,asSVG:!0}):m("span",{children:r+1}))})});var i},jn=e=>e?.alt||e?.title||f[e?.icon?e.icon:""],Gn={Buttons:({buttons:e})=>e&&e?.length?m("div",{children:e.map((({icon:e,rounded:t,...n},r)=>m(ae,{className:`mt-3 ${r>0&&t?"ml-2.5":""} ${e?"w-12 h-12":""}`,ariaLabel:jn(e),rounded:t,appendLeft:e?.src||e?.icon?m($,{image:e,width:"24px",height:"24px",asSVG:!0}):null,...n,"aria-label":e},String(r))))}):null,Img:({image:e})=>e?.src?m($,{image:{...e,className:"m-0"}}):null,List:({isDotted:e,...t})=>m(ue,{className:"flex flex-col justify-between items-start text-m",version:"gray",isDotted:e??!0,...t}),LabelDescription:({label:e,description:t})=>h("div",{children:[e?m("div",{className:"text-xl font-medium m-0 "+(t?"mb-1":""),children:e}):null,t?m("div",{className:"text-s text-secondary-text",children:t}):null]})},En=u((({title:e,icon:t})=>h("div",{className:"flex gap-2.5 mb-2",children:[e?m(g,{headingType:"h3",className:"font-medium",title:e}):null,t?m($,{className:"ml-auto max-w-6 max-h-6",image:t,width:"24px",height:"24px"}):null]}))),Un=u((({context:e,header:t,data:n})=>h("div",{className:"rounded-md border-main-stroke h-full box-border border p-4",children:[m(En,{...t}),n?.length?n.map(On(e)):null]}))),On=e=>(t,n)=>h("div",{children:[n>0?m("div",{className:"h-5"}):null,Wn(t,e)]},String(n)),Wn=(e,t)=>{if(!e)return null;const{tableCellType:n,...r}=e;if(!n||!(n in Gn))return null;return m(Gn[n],{context:t,...r})},Fn=u((({tiles:e,context:t})=>m(V,{context:t,children:e.map(((e,t)=>m(Un,{...e},String(t))))}))),zn=u((({tiles:e})=>m("div",{className:"flex flex-col gap-3.5",children:e.map(((e,t)=>m(Un,{...e},String(t))))}))),Hn=u((({className:e,context:t,title:n,description:r,tariffsColumns:l,rowHeaders:a,orientation:o="vertical"})=>{const i=qn(l),s=Kn(a,i);return h("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[n?m(g,{headingType:"h2",className:`text-center ${r?"mb-2":"mb-5"}`,title:n}):null,r?m("div",{className:"mb-5 text-center text-m",children:r}):null,s?.length?Jn(o,s,t):null]})}));function Jn(e,t,n){return m("vertical"===e?zn:Fn,{context:n,tiles:t})}const qn=e=>e?.[0].data?e[0].data:[],Kn=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),Yn={Accordion:He,ComparisonTable:tt,ExchangeRateTile:jt,Footer:ln,Gallery:_e,Header:Nn,Headline:R,LinkDocs:F,LinkList:je,MobileAppTile:Ot,ProductBlock:Ce,ProductGallery:Rn,StepsBlock:Pn,TariffsTable:Hn,TextBlock:$e,Placeholder:Sn},Xn=d();const Qn=u((({className:e,onClick:t,ariaLabel:n})=>m("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":n,children:Zn()}))),Zn=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[m("path",{...e,strokeMiterlimit:"10",d:"M21.48 11.95c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1 6.1M7.48 18.35l3.1 2.4c.4.4 1.3.6 1.9.6h3.8c1.2 0 2.5-.9 2.8-2.1l1.24-3.77"}),m("path",{...e,d:"M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z"})]})},er=u((({className:e,context:t,...n})=>{const{useRouter:o,handlerDecorator:i=X}=t,s=function(e){const[t,n]=r(0);return l((()=>{(async()=>{const[t]=await Xn.getLikeCount(e);n(t?.value||0)})()}),[e]),{likeCount:t,like:a((async()=>{n(await Xn.like(e))}),[e]),dislike:a((async()=>{n(await Xn.dislike(e))}),[e])}}(o().pathname);return h(Ve,{tag:"div",context:t,className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e||""}`,...n,children:[m(Qn,{onClick:i(s.like),ariaLabel:"Поставить отметку «лайк»"}),m(Qn,{onClick:i(s.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),m("span",{className:"select-none",children:s.likeCount})]})})),tr=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),nr=u((({className:e="",context:t,blocksRegistry:n,data:r={},blockDecorator:l=tr})=>{const{style:a,blocks:o,slots:i={},likeControl:s,colorPalette:c="pc"}=r,{header:d}=i;return h("section",{className:`relative ${D(a)} ${e}`,"data-theme":c,children:[d?.blocks?.length?m("div",{className:`${D(d?.style)}`,children:d.blocks.map(((e,a)=>rr({block:e,page:r,blockDecorator:l,blocksRegistry:n,context:t},a)))}):null,o?.length?m("div",{className:"container grid grid-cols-12 gap-1",children:o.map(((e,a)=>rr({block:e,blockDecorator:l,blocksRegistry:n,context:t,page:r},a)))}):null,s?m("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:m(er,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto",context:t},"LikeControl")}):null]})}));function rr({block:e,blockDecorator:t,blocksRegistry:n,context:r,page:l},a){const{type:o}=e;o&&o in n||console.warn(`No block with "${o}" is registered`);const i=n[o||"Placeholder"]||Sn;return t({blockClassName:`scroll-mt-12 ${D(e.style)}`,block:e,render:e=>{const{version:t,content:n,anchor:s,labels:c}=e.block;return m(i,{className:e.blockClassName,version:t,context:r,page:l,anchor:s,labels:c,...n},`${o}-${a}`)}},`block-${a}`)}e.Blocks=Yn,e.ContentPage=nr,e.DaDataAPI=i,e.LikeAPI=d,e.joinList=function(e){return t=>t.reduce(((t,n,r)=>t.length?t.concat({...e,key:r},n):[n]),[])},e.projectSettings=s,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=q,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -6,6 +6,8 @@ export interface ProjectSettings {
6
6
  ASSIST_PROJECT_ID?: string;
7
7
  SITEMAP?: string;
8
8
  CDN?: string;
9
+ YANDEX_MAP_API_KEY?: string;
10
+ YANDEX_METRIKA_ID?: string;
9
11
  }
10
12
  export declare const projectSettings: {
11
13
  _: ProjectSettings;
@@ -17,4 +19,6 @@ export declare const projectSettings: {
17
19
  readonly ASSIST_PROJECT_ID: string | undefined;
18
20
  readonly SITEMAP: string | undefined;
19
21
  readonly CDN: string | undefined;
22
+ readonly YANDEX_MAP_API_KEY: string | undefined;
23
+ readonly YANDEX_METRIKA_ID: string | undefined;
20
24
  };
@@ -29,5 +29,11 @@ exports.projectSettings = new (class {
29
29
  get CDN() {
30
30
  return this._.CDN;
31
31
  }
32
+ get YANDEX_MAP_API_KEY() {
33
+ return this._.YANDEX_MAP_API_KEY;
34
+ }
35
+ get YANDEX_METRIKA_ID() {
36
+ return this._.YANDEX_METRIKA_ID;
37
+ }
32
38
  })();
33
39
  //# sourceMappingURL=ProjectSettings.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProjectSettings.js","sourceRoot":"","sources":["../src/ProjectSettings.ts"],"names":[],"mappings":";;AAUa,QAAA,eAAe,GAAG,IAAI,CAAC;IAClC,CAAC,GAAoB;QACnB,WAAW,EAAE,QAAQ;QACrB,iBAAiB,EAAE,KAAK;KACzB,CAAC;IAEF,KAAK,CAAC,CAAkB;QACtB,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC;IAC5B,CAAC;IACD,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;IAC1B,CAAC;IACD,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC;IAC5B,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAClC,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAClC,CAAC;IACD,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC;IACxB,CAAC;IACD,IAAI,GAAG;QACL,OAAO,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC;IACpB,CAAC;CACF,CAAC,EAAE,CAAC"}
1
+ {"version":3,"file":"ProjectSettings.js","sourceRoot":"","sources":["../src/ProjectSettings.ts"],"names":[],"mappings":";;AAYa,QAAA,eAAe,GAAG,IAAI,CAAC;IAClC,CAAC,GAAoB;QACnB,WAAW,EAAE,QAAQ;QACrB,iBAAiB,EAAE,KAAK;KACzB,CAAC;IAEF,KAAK,CAAC,CAAkB;QACtB,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC;IAC5B,CAAC;IACD,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;IAC1B,CAAC;IACD,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC;IAC5B,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAClC,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAClC,CAAC;IACD,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC;IACxB,CAAC;IACD,IAAI,GAAG;QACL,OAAO,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC;IACpB,CAAC;IACD,IAAI,kBAAkB;QACpB,OAAO,IAAI,CAAC,CAAC,CAAC,kBAAkB,CAAC;IACnC,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAClC,CAAC;CACF,CAAC,EAAE,CAAC"}
@@ -2,6 +2,7 @@ import type { AlignType } from '../../model/AlignType';
2
2
  import type { BlockVersion } from '../../model/BlockVersion';
3
3
  import type { Picture } from '../../model/Picture';
4
4
  import type { BlockDef } from '../../ui-kit/BlocksList/BlocksListProps';
5
+ import type { HeadlineCommonProps } from '../../model/HeadlineType';
5
6
  /**
6
7
  * @title Элемент списка
7
8
  */
@@ -11,9 +12,7 @@ export interface AccordionItemCommonProps {
11
12
  * @default Список
12
13
  */
13
14
  label?: string;
14
- /**
15
- * @title Отображать в раскрытом виде
16
- */
15
+ /** @title Отображать в раскрытом виде */
17
16
  isExpanded?: boolean;
18
17
  /** @title Блоки */
19
18
  blocks?: BlockDef[];
@@ -27,9 +26,7 @@ export interface AccordionItemCommonProps {
27
26
  /**
28
27
  * @title Аккордеон
29
28
  */
30
- export interface AccordionContent {
31
- /** @title Заголовок */
32
- title?: string;
29
+ export declare type AccordionContent = HeadlineCommonProps & {
33
30
  /**
34
31
  * @title Выравнивание заголовка
35
32
  * @default center
@@ -38,11 +35,9 @@ export interface AccordionContent {
38
35
  version?: BlockVersion;
39
36
  /** @title Список */
40
37
  accordionItems?: AccordionItemCommonProps[];
41
- /** @title Описание */
42
- description?: string;
43
38
  /**
44
39
  * @title Отображать/скрывать обводку у элемента списка
45
40
  * @default false
46
41
  */
47
42
  bordered?: boolean;
48
- }
43
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"BenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/BenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,4DAAyD;AAEzD,0DAAuD;AACvD,8CAA2C;AAW3C,MAAM,qBAAqB,GAAG;IAC5B,OAAO,EAAE,UAAU;IACnB,SAAS,EAAE,iBAAiB;CAC7B,CAAC;AAEF,MAAM,oBAAoB,GAAG;IAC3B,OAAO,EAAE,EAAE;IACX,SAAS,EAAE,YAAY;CACxB,CAAC;AAEF,MAAM,2BAA2B,GAAG;IAClC,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,uBAAuB;CACnC,CAAC;AAEF,MAAM,oBAAoB,GAAG;IAC3B,OAAO,EAAE,mCAAmC;IAC5C,SAAS,EAAE,wBAAwB;CACpC,CAAC;AAEW,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,oBAAoB,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACpF,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,+DAA+D,SAAS,IAAI,qBAAqB,CAAC,oBAAoB,CAAC,EAAE,KAChI,IAAI,aAEP,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IACN,WAAW,EAAC,IAAI,EAChB,EAAE,EAAC,IAAI,EACP,SAAS,EAAE,6BAA6B,oBAAoB,CAAC,oBAAoB,CAAC,EAAE,EACpF,KAAK,EAAE,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC,cAAc,CAAC,WAAW,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAAC,IAAI,IAClE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,cAAc,GAAG,CACrB,WAAoC,EACpC,oBAA0C,EAC1C,EAAE;IACF,OAAO,CACL,gCAAK,SAAS,EAAC,oDAAoD,YAChE,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC,GAC9C,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,WAAoB,EAAE,oBAA0C,EAAE,EAAE;IAC1F,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE;QACrB,OAAO,WAAW,CAAC;KACpB;IACD,WAAW,CAAC,WAAW,GAAG,oBAAoB,KAAK,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC;IAEpF,OAAO,WAAW,CAAC;AACrB,CAAC,CAAC;AAEF,MAAM,UAAU,GACd,CAAC,oBAA0C,EAAE,EAAE,CAAC,CAAC,OAA8B,EAAE,CAAS,EAAE,EAAE;IAC5F,MAAM,WAAW,GAAG,CAAC,OAAO,EAAE,WAAW,IAAI,SAAS,CAAmB,CAAC;IAE1E,OAAO,CACL,iCAAqB,SAAS,EAAC,iDAAiD,aAC7E,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CACrB,uBAAC,SAAG,IACF,SAAS,EAAE,mDAAmD,oBAAoB,CAAC,oBAAoB,CAAC,EAAE,EAC1G,KAAK,EAAE,cAAc,CAAC,OAAO,CAAC,IAAI,EAAE,oBAAoB,CAAC,EACzD,KAAK,SACL,CACH,CAAC,CAAC,CAAC,IAAI,EACP,OAAO,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,OAAO,CAAC,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EACzD,iCAAK,SAAS,EAAC,MAAM,aAClB,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,CAChB,+BAAI,SAAS,EAAE,eAAe,oBAAoB,CAAC,oBAAoB,CAAC,EAAE,YACvE,OAAO,CAAC,KAAK,GACX,CACN,CAAC,CAAC,CAAC,IAAI,EACP,iBAAiB,CAAC,WAAW,EAAE,oBAAoB,CAAC,IACjD,KAhBE,MAAM,CAAC,CAAC,CAAC,CAiBb,CACP,CAAC;AACJ,CAAC,CAAC;AAEJ,MAAM,iBAAiB,GAAG,CACxB,WAA2B,EAC3B,oBAA0C,EAC1C,EAAE;IACF,MAAM,WAAW,GAAG,WAAW,CAAC,CAAC,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC;IAClE,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO,IAAI,CAAC;KACb;IAED,OAAO,WAAW,CAAC,CAAC,CAAC,CACnB,gCAAK,SAAS,EAAE,qBAAqB,2BAA2B,CAAC,oBAAoB,CAAC,EAAE,YACrF,WAAW,KAAK,MAAM;YACrB,CAAC,CAAC,iBAAiB,CAAC,WAA6B,CAAC;YAClD,CAAC,CAAC,iBAAiB,CAAC,WAA6B,CAAC,GAChD,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,WAA4B,EAAE,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;AAEpG,MAAM,iBAAiB,GAAG,CAAC,WAA4B,EAAE,EAAE;IACzD,MAAM,aAAa,GAAG,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC;IAEnE,OAAO,WAAW,EAAE,KAAK,IAAI,WAAW,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAC1D,+BAAI,SAAS,EAAE,aAAa,YACzB,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAC/B,yCAAkC,CAAC,IAA1B,mBAAmB,CAAC,EAAE,CAAU,CAC1C,CAAC,GACC,CACN,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC"}
1
+ {"version":3,"file":"BenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/BenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,4DAAyD;AACzD,0DAAuD;AACvD,8CAA2C;AAM3C,MAAM,qBAAqB,GAAG;IAC5B,OAAO,EAAE,UAAU;IACnB,SAAS,EAAE,iBAAiB;CAC7B,CAAC;AAEF,MAAM,oBAAoB,GAAG;IAC3B,OAAO,EAAE,EAAE;IACX,SAAS,EAAE,YAAY;CACxB,CAAC;AAEF,MAAM,2BAA2B,GAAG;IAClC,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,uBAAuB;CACnC,CAAC;AAEF,MAAM,oBAAoB,GAAG;IAC3B,OAAO,EAAE,mCAAmC;IAC5C,SAAS,EAAE,wBAAwB;CACpC,CAAC;AAEW,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,oBAAoB,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACpF,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,+DAA+D,SAAS,IAAI,qBAAqB,CAAC,oBAAoB,CAAC,EAAE,KAChI,IAAI,aAEP,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IACN,WAAW,EAAC,IAAI,EAChB,EAAE,EAAC,IAAI,EACP,SAAS,EAAE,6BAA6B,oBAAoB,CAAC,oBAAoB,CAAC,EAAE,EACpF,KAAK,EAAE,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC,cAAc,CAAC,WAAW,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAAC,IAAI,IAClE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,cAAc,GAAG,CACrB,WAAoC,EACpC,oBAAkC,EAClC,EAAE;IACF,OAAO,CACL,gCAAK,SAAS,EAAC,oDAAoD,YAChE,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC,GAC9C,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,WAAoB,EAAE,oBAAkC,EAAE,EAAE;IAClF,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE;QACrB,OAAO,WAAW,CAAC;KACpB;IACD,WAAW,CAAC,WAAW,GAAG,oBAAoB,KAAK,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC;IAEpF,OAAO,WAAW,CAAC;AACrB,CAAC,CAAC;AAEF,MAAM,UAAU,GACd,CAAC,oBAAkC,EAAE,EAAE,CAAC,CAAC,OAA8B,EAAE,CAAS,EAAE,EAAE;IACpF,MAAM,WAAW,GAAG,CAAC,OAAO,EAAE,WAAW,IAAI,SAAS,CAAmB,CAAC;IAE1E,OAAO,CACL,iCAAqB,SAAS,EAAC,iDAAiD,aAC7E,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CACrB,uBAAC,SAAG,IACF,SAAS,EAAE,mDAAmD,oBAAoB,CAAC,oBAAoB,CAAC,EAAE,EAC1G,KAAK,EAAE,cAAc,CAAC,OAAO,CAAC,IAAI,EAAE,oBAAoB,CAAC,EACzD,KAAK,SACL,CACH,CAAC,CAAC,CAAC,IAAI,EACP,OAAO,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,OAAO,CAAC,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EACzD,iCAAK,SAAS,EAAC,MAAM,aAClB,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,CAChB,+BAAI,SAAS,EAAE,eAAe,oBAAoB,CAAC,oBAAoB,CAAC,EAAE,YACvE,OAAO,CAAC,KAAK,GACX,CACN,CAAC,CAAC,CAAC,IAAI,EACP,iBAAiB,CAAC,WAAW,EAAE,oBAAoB,CAAC,IACjD,KAhBE,MAAM,CAAC,CAAC,CAAC,CAiBb,CACP,CAAC;AACJ,CAAC,CAAC;AAEJ,MAAM,iBAAiB,GAAG,CAAC,WAA2B,EAAE,oBAAkC,EAAE,EAAE;IAC5F,MAAM,WAAW,GAAG,WAAW,CAAC,CAAC,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC;IAClE,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO,IAAI,CAAC;KACb;IAED,OAAO,WAAW,CAAC,CAAC,CAAC,CACnB,gCAAK,SAAS,EAAE,qBAAqB,2BAA2B,CAAC,oBAAoB,CAAC,EAAE,YACrF,WAAW,KAAK,MAAM;YACrB,CAAC,CAAC,iBAAiB,CAAC,WAA6B,CAAC;YAClD,CAAC,CAAC,iBAAiB,CAAC,WAA6B,CAAC,GAChD,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,WAA4B,EAAE,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;AAEpG,MAAM,iBAAiB,GAAG,CAAC,WAA4B,EAAE,EAAE;IACzD,MAAM,aAAa,GAAG,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC;IAEnE,OAAO,WAAW,EAAE,KAAK,IAAI,WAAW,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAC1D,+BAAI,SAAS,EAAE,aAAa,YACzB,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAC/B,yCAAkC,CAAC,IAA1B,mBAAmB,CAAC,EAAE,CAAU,CAC1C,CAAC,GACC,CACN,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC"}
@@ -1,29 +1,30 @@
1
- import type { Picture } from '../../model/Picture';
2
- import type { TitleProps } from '../../model/HeadlineType';
1
+ import type { BlockVersion } from '../../model/BlockVersion';
3
2
  import type { EmptyOption } from '../../model/EmptyOptionType';
3
+ import type { LabelProps, TitleProps } from '../../model/HeadlineType';
4
+ import type { IconProps } from '../../model/Picture';
4
5
  /**
5
6
  * @title Пункты описания
6
- * @default {"benefitType": "text"}
7
7
  */
8
8
  export declare type TextBenefitDef = {
9
- /**
10
- * @title Описание
11
- */
9
+ /** @title Описание */
12
10
  name?: string;
11
+ /** @default text */
13
12
  benefitType?: 'text';
14
13
  };
15
14
  /**
16
15
  * @title Список
17
- * @default {"benefitType": "list"}
18
16
  */
19
17
  export declare type ListBenefitDef = {
20
18
  /** @title Буллиты */
21
19
  bullets?: boolean;
22
20
  /**
23
21
  * @title Пункты
24
- * @example ["Пункт 1"]
22
+ * @default [
23
+ * "Пункт 1"
24
+ * ]
25
25
  */
26
26
  items?: string[];
27
+ /** @default list */
27
28
  benefitType?: 'list';
28
29
  };
29
30
  /**
@@ -33,18 +34,10 @@ export declare type DescriptionDef = EmptyOption | TextBenefitDef | ListBenefitD
33
34
  /**
34
35
  * @title Преимущество
35
36
  */
36
- export interface BenefitBlockItemProps {
37
- /** @title Название */
38
- label?: string;
37
+ export declare type BenefitBlockItemProps = LabelProps & IconProps & {
39
38
  /** @title Описание */
40
39
  description?: DescriptionDef;
41
- icon?: Picture;
42
- }
43
- /**
44
- * @title Цвет блока
45
- * @enumNames ["Основная", "Второстепенная"]
46
- */
47
- export declare type BenefitsBlockVersion = 'primary' | 'secondary';
40
+ };
48
41
  /**
49
42
  * @title Блок преимущества
50
43
  */
@@ -55,5 +48,5 @@ export declare type BenefitsBlockContent = TitleProps & {
55
48
  */
56
49
  benefitList?: BenefitBlockItemProps[];
57
50
  /** @default primary */
58
- benefitsBlockVersion?: BenefitsBlockVersion;
51
+ benefitsBlockVersion?: BlockVersion;
59
52
  };
@@ -3,6 +3,7 @@ import type { BonusContent } from './Bonus/BonusContent';
3
3
  import type { BonusBenefitsBlockContent } from './BonusBenefitsBlock/BonusBenefitsBlockContent';
4
4
  import type { CardTransferContent } from './CardTransfer/CardTransferContent';
5
5
  import type { ComparisonTableContent } from './ComparisonTable/ComparisonTableContent';
6
+ import type { ErrorBlockContent } from './ErrorBlock/ErrorBlockContent';
6
7
  import type { ExchangeRateTileContent } from './ExchangeRateTile/ExchangeRateTileContent';
7
8
  import type { FooterContent } from './Footer/FooterContent';
8
9
  import type { GalleryContent } from './Gallery/GalleryContent';
@@ -12,7 +13,6 @@ import type { InsuranceAmountBlockContent } from './InsuranceAmountBlock/Insuran
12
13
  import type { LinkDocsContent } from './LinkDocs/LinkDocsContent';
13
14
  import type { LinkListContent } from './LinkList/LinkListContent';
14
15
  import type { MobileAppTileContent } from './MobileAppTile/MobileAppTileContent';
15
- import type { NavigationContent } from './Navigation/NavigationContent';
16
16
  import type { OfficeServicesBlockContent } from './OfficeServicesBlock/OfficeServicesBlockContent';
17
17
  import type { PictureTextContent } from './PictureText/PictureTextContent';
18
18
  import type { PlaceholderContent } from './Placeholder/PlaceholderContent';
@@ -26,8 +26,7 @@ import type { TabsContent } from './Tabs/TabsContent';
26
26
  import type { TariffsTableContent } from './TariffsTable/TariffsTableContent';
27
27
  import type { TextBlockContent } from './TextBlock/TextBlockContent';
28
28
  import type { TileContent } from './Tile/TileContent';
29
- import type { ErrorBlockContent } from './ErrorBlock/ErrorBlockContent';
30
29
  /**
31
30
  * @hidden
32
31
  */
33
- export declare type BlockContent = BenefitsBlockContent | BonusContent | CardTransferContent | ComparisonTableContent | ExchangeRateTileContent | FooterContent | GalleryContent | GracePeriodContent | HeaderContent | InsuranceAmountBlockContent | LinkDocsContent | MobileAppTileContent | PictureTextContent | PlaceholderContent | ProductBlockContent | ProductGalleryContent | ProductTileContent | PromoTileContent | StepsBlockContent | TariffsTableContent | TextBlockContent | TileContent | NavigationContent | LinkListContent | BonusBenefitsBlockContent | SafeDepositRentalContent | TabsContent | ErrorBlockContent | OfficeServicesBlockContent;
32
+ export declare type BlockContent = BenefitsBlockContent | BonusContent | CardTransferContent | ComparisonTableContent | ExchangeRateTileContent | FooterContent | GalleryContent | GracePeriodContent | HeaderContent | InsuranceAmountBlockContent | LinkDocsContent | MobileAppTileContent | PictureTextContent | PlaceholderContent | ProductBlockContent | ProductGalleryContent | ProductTileContent | PromoTileContent | StepsBlockContent | TariffsTableContent | TextBlockContent | TileContent | LinkListContent | BonusBenefitsBlockContent | SafeDepositRentalContent | TabsContent | ErrorBlockContent | OfficeServicesBlockContent;
@@ -8,7 +8,7 @@ exports.Bonus = (0, uni_jsx_1.JSX)((props) => {
8
8
  const { context, className = '', title, description, bonusItems, ...rest } = props;
9
9
  return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `font-sans bg-white p-[50px] pb-9 ${className}`, context: context, ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center" }), (0, jsx_runtime_1.jsx)("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems
10
10
  ? bonusItems.map((_, i) => {
11
- return ((0, jsx_runtime_1.jsx)("div", { className: "flex-grow w-[49%] border border-gray pl-9 pt-9 pr-6 pb-6 mb-[14px] mx-[7px] even:mr-0 odd:ml-0 last:odd:mx-0", children: (0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between w-full", children: [(0, jsx_runtime_1.jsxs)("div", { className: "mr-4", children: [(0, jsx_runtime_1.jsx)("div", { className: "text-h4", children: _.title }), (0, jsx_runtime_1.jsx)("div", { className: "text-xl-light mt-[14px] max-w-[488px]", children: _.description })] }), _.bonusCount ? ((0, jsx_runtime_1.jsxs)("div", { className: "relative -bottom-3 h-auto flex items-end mt-14 shrink-0", children: [(0, jsx_runtime_1.jsx)("span", { className: "font-mohave -tracking-[5px] text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7", children: _.bonusCount }), (0, jsx_runtime_1.jsx)("span", { className: "text-[44px] bg-clip-text text-transparent bg-green-to-yellow", children: _.bonusName })] })) : null] }) }, String(i)));
11
+ return ((0, jsx_runtime_1.jsx)("div", { className: "flex-grow w-[49%] border border-gray pl-9 pt-9 pr-6 pb-6 mb-[14px] mx-[7px] even:mr-0 odd:ml-0 last:odd:mx-0", children: (0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between w-full", children: [(0, jsx_runtime_1.jsxs)("div", { className: "mr-4", children: [(0, jsx_runtime_1.jsx)("div", { className: "text-h4", children: _.title }), (0, jsx_runtime_1.jsx)("div", { className: "text-xl-light mt-[14px] max-w-[488px]", children: _.description })] }), _.bonusCount ? ((0, jsx_runtime_1.jsxs)("div", { className: "relative -bottom-3 h-auto flex items-end mt-14 shrink-0", children: [(0, jsx_runtime_1.jsx)("span", { className: "font-mohave -tracking-[5px] text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7", children: _.bonusCount }), (0, jsx_runtime_1.jsx)("span", { className: "text-h2 bg-clip-text text-transparent bg-green-to-yellow", children: _.bonusName })] })) : null] }) }, String(i)));
12
12
  })
13
13
  : null })] }) }));
14
14
  });
@@ -1 +1 @@
1
- {"version":3,"file":"Bonus.js","sourceRoot":"","sources":["../../../src/components/Bonus/Bonus.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,4DAAyD;AAGzD,mDAAgD;AAInC,QAAA,KAAK,GAAG,IAAA,aAAG,EAAa,CAAC,KAAK,EAAE,EAAE;IAC7C,MAAM,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAEnF,OAAO,CACL,uBAAC,2BAAY,IACX,SAAS,EAAE,oCAAoC,SAAS,EAAE,EAC1D,OAAO,EAAE,OAAO,KACZ,IAAI,YAER,iCAAK,SAAS,EAAC,WAAW,aACxB,uBAAC,mBAAQ,IACP,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,QAAQ,GACd,EACF,gCAAK,SAAS,EAAC,4BAA4B,YACxC,UAAU;wBACT,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;4BACtB,OAAO,CACL,gCAEE,SAAS,EAAC,8GAA8G,YAExH,iCAAK,SAAS,EAAC,6BAA6B,aAC1C,iCAAK,SAAS,EAAC,MAAM,aACnB,gCAAK,SAAS,EAAC,SAAS,YAAE,CAAC,CAAC,KAAK,GAAO,EACxC,gCAAK,SAAS,EAAC,uCAAuC,YAAE,CAAC,CAAC,WAAW,GAAO,IACxE,EACL,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CACd,iCAAK,SAAS,EAAC,yDAAyD,aACtE,iCAAM,SAAS,EAAC,qGAAqG,YAClH,CAAC,CAAC,UAAU,GACR,EACP,iCAAM,SAAS,EAAC,8DAA8D,YAC3E,CAAC,CAAC,SAAS,GACP,IACH,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,IAlBD,MAAM,CAAC,CAAC,CAAC,CAmBV,CACP,CAAC;wBACJ,CAAC,CAAC;wBACJ,CAAC,CAAC,IAAI,GACJ,IACF,GACO,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"Bonus.js","sourceRoot":"","sources":["../../../src/components/Bonus/Bonus.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,4DAAyD;AAGzD,mDAAgD;AAInC,QAAA,KAAK,GAAG,IAAA,aAAG,EAAa,CAAC,KAAK,EAAE,EAAE;IAC7C,MAAM,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAEnF,OAAO,CACL,uBAAC,2BAAY,IACX,SAAS,EAAE,oCAAoC,SAAS,EAAE,EAC1D,OAAO,EAAE,OAAO,KACZ,IAAI,YAER,iCAAK,SAAS,EAAC,WAAW,aACxB,uBAAC,mBAAQ,IACP,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,QAAQ,GACd,EACF,gCAAK,SAAS,EAAC,4BAA4B,YACxC,UAAU;wBACT,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;4BACtB,OAAO,CACL,gCAEE,SAAS,EAAC,8GAA8G,YAExH,iCAAK,SAAS,EAAC,6BAA6B,aAC1C,iCAAK,SAAS,EAAC,MAAM,aACnB,gCAAK,SAAS,EAAC,SAAS,YAAE,CAAC,CAAC,KAAK,GAAO,EACxC,gCAAK,SAAS,EAAC,uCAAuC,YAAE,CAAC,CAAC,WAAW,GAAO,IACxE,EACL,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CACd,iCAAK,SAAS,EAAC,yDAAyD,aACtE,iCAAM,SAAS,EAAC,qGAAqG,YAClH,CAAC,CAAC,UAAU,GACR,EACP,iCAAM,SAAS,EAAC,0DAA0D,YACvE,CAAC,CAAC,SAAS,GACP,IACH,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,IAlBD,MAAM,CAAC,CAAC,CAAC,CAmBV,CACP,CAAC;wBACJ,CAAC,CAAC;wBACJ,CAAC,CAAC,IAAI,GACJ,IACF,GACO,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,20 +1,17 @@
1
1
  import type { HeadlineCommonProps } from '../../model/HeadlineType';
2
- /** @title Плитка */
3
- interface BonusItems {
4
- /** @title Бонусы */
5
- title?: string;
6
- /** @title Описание плитки */
7
- description?: string;
2
+ /**
3
+ * @title Плитка
4
+ */
5
+ export declare type BonusItem = HeadlineCommonProps & {
8
6
  /** @title Количество баллов */
9
7
  bonusCount?: string;
10
8
  /** @title Наименование */
11
9
  bonusName?: string;
12
- }
10
+ };
13
11
  /**
14
12
  * @title Блок Бонусы
15
13
  */
16
14
  export declare type BonusContent = HeadlineCommonProps & {
17
15
  /** @title Список плиток */
18
- bonusItems?: BonusItems[];
16
+ bonusItems?: BonusItem[];
19
17
  };
20
- export {};
@@ -4,12 +4,10 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
6
  const Img_1 = require("../../ui-kit/Img/Img");
7
- const getElementsColsValue_1 = require("./getElementsColsValue");
8
7
  const Headline_1 = require("../Headline/Headline");
9
- exports.BonusBenefitsBlock = (0, uni_jsx_1.JSX)(({ context, className = '', title, subtitle, bonusBenefits, ...rest }) => {
10
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans text-primary-text bg-white p-50 flex flex-col text-center ${className}`, context: context, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { context: context, className: "!p-0", title: title, description: subtitle, headlineVersion: "M", align: "center" }), bonusBenefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `grid gap-1 mt-8 ${(0, getElementsColsValue_1.getElementsColsValue)(className)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] }));
11
- });
8
+ const getElementsColsValue_1 = require("./getElementsColsValue");
9
+ exports.BonusBenefitsBlock = (0, uni_jsx_1.JSX)(({ context, className = '', title, subtitle, bonusBenefits, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans text-primary-text bg-white p-[50px] flex flex-col text-center ${className}`, context: context, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { context: context, className: "!p-0", title: title, description: subtitle, headlineVersion: "M", align: "center" }), bonusBenefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `grid gap-1 mt-8 ${(0, getElementsColsValue_1.getElementsColsValue)(className)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] })));
12
10
  const renderBonusBenefit = (bonusBenefit, i) => {
13
- 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: "text-h6 m-0", children: bonusBenefit.label }) : null })] }, String(i)));
11
+ 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-[160px] w-[180px] min-w-[180px] min-h-[160px]", image: bonusBenefit.icon, width: "180", height: "160" })) : null, (0, jsx_runtime_1.jsx)("div", { children: bonusBenefit?.label ? (0, jsx_runtime_1.jsx)("span", { className: "text-h6 m-0", children: bonusBenefit.label }) : null })] }, String(i)));
14
12
  };
15
13
  //# sourceMappingURL=BonusBenefitsBlock.js.map