@redneckz/wildless-cms-uni-blocks 0.10.0 → 0.10.2

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 (493) hide show
  1. package/bin/migration-scripts/0.10.2.js +31 -0
  2. package/bin/migration-scripts/0.9.10.js +30 -0
  3. package/bundle/blocks.schema.json +1 -1
  4. package/bundle/bundle.umd.js +60 -58
  5. package/bundle/bundle.umd.min.js +1 -1
  6. package/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
  7. package/bundle/components/Footer/FooterContent.d.ts +1 -1
  8. package/bundle/components/LinkDocs/LinkDocsContent.d.ts +0 -4
  9. package/bundle/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
  10. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +1 -2
  11. package/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  12. package/bundle/components/ProductTile/ProductTileContent.d.ts +1 -1
  13. package/bundle/components/ProductTile/renderImage.d.ts +1 -1
  14. package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
  15. package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
  16. package/bundle/components/StepsBlock/StepsBlock.d.ts +1 -1
  17. package/bundle/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
  18. package/bundle/components/Tile/TileContent.d.ts +2 -0
  19. package/dist/components/Blocks.js +2 -0
  20. package/dist/components/Blocks.js.map +1 -1
  21. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  22. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  23. package/dist/components/CarouselEventCard/CarouselEventCard.js +1 -2
  24. package/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  25. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  26. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  27. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -2
  28. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  29. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +6 -3
  30. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  31. package/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
  32. package/dist/components/ComparisonTable/HeaderCell.js +1 -2
  33. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  34. package/dist/components/Footer/Footer.mobile.js +1 -2
  35. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  36. package/dist/components/Footer/FooterContent.d.ts +1 -1
  37. package/dist/components/Footer/MediaButton.js +1 -3
  38. package/dist/components/Footer/MediaButton.js.map +1 -1
  39. package/dist/components/Headline/Headline.js +1 -1
  40. package/dist/components/Headline/Headline.js.map +1 -1
  41. package/dist/components/LinkDocs/LinkDocs.js +5 -4
  42. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  43. package/dist/components/LinkDocs/LinkDocs.mobile.js +3 -3
  44. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  45. package/dist/components/LinkDocs/LinkDocsContent.d.ts +0 -4
  46. package/dist/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
  47. package/dist/components/LinkDocs/LinkDocsListItem.js +18 -2
  48. package/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  49. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -2
  50. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  51. package/dist/components/ProductBlock/ProductBlock.js +2 -3
  52. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  53. package/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -2
  54. package/dist/components/ProductBlock/ProductBlockInner.js +2 -2
  55. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  56. package/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  57. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  58. package/dist/components/ProductTile/ProductTile.js +4 -2
  59. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  60. package/dist/components/ProductTile/ProductTileContent.d.ts +1 -1
  61. package/dist/components/ProductTile/renderImage.d.ts +1 -1
  62. package/dist/components/ProductTile/renderImage.js +3 -2
  63. package/dist/components/ProductTile/renderImage.js.map +1 -1
  64. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
  65. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +21 -0
  66. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -0
  67. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
  68. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +2 -0
  69. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +1 -0
  70. package/dist/components/RollupItem/RollupItem.js +1 -2
  71. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  72. package/dist/components/RollupItem/RollupItem.mobile.js +1 -2
  73. package/dist/components/RollupItem/RollupItem.mobile.js.map +1 -1
  74. package/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
  75. package/dist/components/StepsBlock/StepsBlock.js +5 -5
  76. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  77. package/dist/components/StepsBlock/StepsBlock.mobile.js +2 -2
  78. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  79. package/dist/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
  80. package/dist/components/StepsBlock/checkCanRenderIcon.js.map +1 -1
  81. package/dist/components/TariffsTable/TariffsTableRow.js +1 -2
  82. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  83. package/dist/components/Tile/Tile.js +5 -4
  84. package/dist/components/Tile/Tile.js.map +1 -1
  85. package/dist/components/Tile/TileContent.d.ts +2 -0
  86. package/dist/content-page-repository/transformImg.js +11 -3
  87. package/dist/content-page-repository/transformImg.js.map +1 -1
  88. package/dist/ui-kit/BenefitItem/BenefitItem.js +1 -3
  89. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  90. package/dist/ui-kit/Button/ButtonInner.js +4 -3
  91. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  92. package/dist/ui-kit/Button/renderButtonsSection.js +2 -1
  93. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  94. package/dist/ui-kit/Img/ImgInner.js +1 -1
  95. package/dist/ui-kit/Img/ImgInner.js.map +1 -1
  96. package/lib/common.css +1 -1
  97. package/lib/components/Blocks.js +2 -0
  98. package/lib/components/Blocks.js.map +1 -1
  99. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  100. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  101. package/lib/components/CarouselEventCard/CarouselEventCard.js +1 -2
  102. package/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  103. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  104. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  105. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -2
  106. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  107. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +6 -3
  108. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  109. package/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
  110. package/lib/components/ComparisonTable/HeaderCell.js +1 -2
  111. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  112. package/lib/components/Footer/Footer.mobile.js +1 -2
  113. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  114. package/lib/components/Footer/FooterContent.d.ts +1 -1
  115. package/lib/components/Footer/MediaButton.js +1 -3
  116. package/lib/components/Footer/MediaButton.js.map +1 -1
  117. package/lib/components/Headline/Headline.js +1 -1
  118. package/lib/components/Headline/Headline.js.map +1 -1
  119. package/lib/components/LinkDocs/LinkDocs.fixture.mobile.d.ts +1 -3
  120. package/lib/components/LinkDocs/LinkDocs.js +5 -4
  121. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  122. package/lib/components/LinkDocs/LinkDocs.mobile.js +3 -3
  123. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  124. package/lib/components/LinkDocs/LinkDocsContent.d.ts +0 -4
  125. package/lib/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
  126. package/lib/components/LinkDocs/LinkDocsListItem.js +19 -3
  127. package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  128. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -2
  129. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  130. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +0 -1
  131. package/lib/components/ProductBlock/ProductBlock.js +2 -3
  132. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  133. package/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -2
  134. package/lib/components/ProductBlock/ProductBlockInner.js +2 -2
  135. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  136. package/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  137. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  138. package/lib/components/ProductTile/ProductTile.js +4 -2
  139. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  140. package/lib/components/ProductTile/ProductTileContent.d.ts +1 -1
  141. package/lib/components/ProductTile/renderImage.d.ts +1 -1
  142. package/lib/components/ProductTile/renderImage.js +3 -2
  143. package/lib/components/ProductTile/renderImage.js.map +1 -1
  144. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
  145. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.d.ts +6 -0
  146. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +19 -0
  147. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -0
  148. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
  149. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +2 -0
  150. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +1 -0
  151. package/lib/components/RollupItem/RollupItem.js +1 -2
  152. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  153. package/lib/components/RollupItem/RollupItem.mobile.js +1 -2
  154. package/lib/components/RollupItem/RollupItem.mobile.js.map +1 -1
  155. package/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
  156. package/lib/components/StepsBlock/StepsBlock.js +5 -5
  157. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  158. package/lib/components/StepsBlock/StepsBlock.mobile.js +2 -2
  159. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  160. package/lib/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
  161. package/lib/components/StepsBlock/checkCanRenderIcon.js.map +1 -1
  162. package/lib/components/TariffsTable/TariffsTableRow.js +1 -2
  163. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  164. package/lib/components/Tile/Tile.fixture.d.ts +1 -0
  165. package/lib/components/Tile/Tile.js +5 -4
  166. package/lib/components/Tile/Tile.js.map +1 -1
  167. package/lib/components/Tile/TileContent.d.ts +2 -0
  168. package/lib/content-page-repository/transformImg.js +11 -3
  169. package/lib/content-page-repository/transformImg.js.map +1 -1
  170. package/lib/ui-kit/BenefitItem/BenefitItem.js +1 -3
  171. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  172. package/lib/ui-kit/Button/ButtonInner.js +4 -3
  173. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  174. package/lib/ui-kit/Button/renderButtonsSection.js +2 -1
  175. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  176. package/lib/ui-kit/Img/ImgInner.js +1 -1
  177. package/lib/ui-kit/Img/ImgInner.js.map +1 -1
  178. package/mobile/bundle/bundle.umd.js +17 -34
  179. package/mobile/bundle/bundle.umd.min.js +1 -1
  180. package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
  181. package/mobile/bundle/components/Footer/FooterContent.d.ts +1 -1
  182. package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +0 -4
  183. package/mobile/bundle/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
  184. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +1 -2
  185. package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  186. package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +1 -1
  187. package/mobile/bundle/components/ProductTile/renderImage.d.ts +1 -1
  188. package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
  189. package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
  190. package/mobile/bundle/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
  191. package/mobile/bundle/components/Tile/TileContent.d.ts +2 -0
  192. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  193. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  194. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js +1 -2
  195. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  196. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  197. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  198. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -2
  199. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  200. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +6 -3
  201. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  202. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
  203. package/mobile/dist/components/Footer/Footer.js +1 -2
  204. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  205. package/mobile/dist/components/Footer/FooterContent.d.ts +1 -1
  206. package/mobile/dist/components/Footer/MediaButton.js +1 -3
  207. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  208. package/mobile/dist/components/Headline/Headline.js +1 -1
  209. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  210. package/mobile/dist/components/LinkDocs/LinkDocs.js +3 -3
  211. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  212. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +0 -4
  213. package/mobile/dist/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
  214. package/mobile/dist/components/LinkDocs/LinkDocsListItem.js +18 -2
  215. package/mobile/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  216. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -2
  217. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  218. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -2
  219. package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  220. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  221. package/mobile/dist/components/ProductTile/ProductTile.js +4 -2
  222. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  223. package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +1 -1
  224. package/mobile/dist/components/ProductTile/renderImage.d.ts +1 -1
  225. package/mobile/dist/components/ProductTile/renderImage.js +3 -2
  226. package/mobile/dist/components/ProductTile/renderImage.js.map +1 -1
  227. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
  228. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +21 -0
  229. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -0
  230. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
  231. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +2 -0
  232. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +1 -0
  233. package/mobile/dist/components/RollupItem/RollupItem.js +1 -2
  234. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  235. package/mobile/dist/components/StepsBlock/StepsBlock.js +2 -2
  236. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  237. package/mobile/dist/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
  238. package/mobile/dist/components/StepsBlock/checkCanRenderIcon.js.map +1 -1
  239. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +1 -2
  240. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  241. package/mobile/dist/components/Tile/Tile.js +5 -4
  242. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  243. package/mobile/dist/components/Tile/TileContent.d.ts +2 -0
  244. package/mobile/dist/content-page-repository/transformImg.js +11 -3
  245. package/mobile/dist/content-page-repository/transformImg.js.map +1 -1
  246. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +1 -3
  247. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  248. package/mobile/dist/ui-kit/Button/ButtonInner.js +4 -3
  249. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  250. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +2 -1
  251. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  252. package/mobile/dist/ui-kit/Img/ImgInner.js +1 -1
  253. package/mobile/dist/ui-kit/Img/ImgInner.js.map +1 -1
  254. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  255. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  256. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js +1 -2
  257. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  258. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  259. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  260. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -2
  261. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  262. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +6 -3
  263. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  264. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +9 -2
  265. package/mobile/lib/components/Footer/Footer.js +1 -2
  266. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  267. package/mobile/lib/components/Footer/FooterContent.d.ts +1 -1
  268. package/mobile/lib/components/Footer/MediaButton.js +1 -3
  269. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  270. package/mobile/lib/components/Headline/Headline.js +1 -1
  271. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  272. package/mobile/lib/components/LinkDocs/LinkDocs.js +3 -3
  273. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  274. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +0 -4
  275. package/mobile/lib/components/LinkDocs/LinkDocsListItem.d.ts +6 -1
  276. package/mobile/lib/components/LinkDocs/LinkDocsListItem.js +19 -3
  277. package/mobile/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  278. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -2
  279. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  280. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -2
  281. package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  282. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  283. package/mobile/lib/components/ProductTile/ProductTile.js +4 -2
  284. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  285. package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +1 -1
  286. package/mobile/lib/components/ProductTile/renderImage.d.ts +1 -1
  287. package/mobile/lib/components/ProductTile/renderImage.js +3 -2
  288. package/mobile/lib/components/ProductTile/renderImage.js.map +1 -1
  289. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
  290. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +19 -0
  291. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -0
  292. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
  293. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +2 -0
  294. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +1 -0
  295. package/mobile/lib/components/RollupItem/RollupItem.js +1 -2
  296. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  297. package/mobile/lib/components/StepsBlock/StepsBlock.js +2 -2
  298. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  299. package/mobile/lib/components/StepsBlock/checkCanRenderIcon.d.ts +3 -1
  300. package/mobile/lib/components/StepsBlock/checkCanRenderIcon.js.map +1 -1
  301. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -2
  302. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  303. package/mobile/lib/components/Tile/Tile.js +5 -4
  304. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  305. package/mobile/lib/components/Tile/TileContent.d.ts +2 -0
  306. package/mobile/lib/content-page-repository/transformImg.js +11 -3
  307. package/mobile/lib/content-page-repository/transformImg.js.map +1 -1
  308. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +1 -3
  309. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  310. package/mobile/lib/ui-kit/Button/ButtonInner.js +4 -3
  311. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  312. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +2 -1
  313. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  314. package/mobile/lib/ui-kit/Img/ImgInner.js +1 -1
  315. package/mobile/lib/ui-kit/Img/ImgInner.js.map +1 -1
  316. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +4 -2
  317. package/mobile/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -2
  318. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -2
  319. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -2
  320. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +10 -2
  321. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +23 -14
  322. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.ui.json +18 -1
  323. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +10 -2
  324. package/mobile/src/components/Footer/Footer.tsx +1 -4
  325. package/mobile/src/components/Footer/FooterContent.ts +1 -1
  326. package/mobile/src/components/Footer/MediaButton.tsx +2 -5
  327. package/mobile/src/components/Headline/Headline.tsx +1 -5
  328. package/mobile/src/components/LinkDocs/LinkDocs.example.json +0 -2
  329. package/mobile/src/components/LinkDocs/LinkDocs.tsx +27 -12
  330. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +0 -5
  331. package/mobile/src/components/LinkDocs/LinkDocsListItem.tsx +48 -11
  332. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -2
  333. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +0 -2
  334. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +1 -1
  335. package/mobile/src/components/ProductTile/ProductTile.tsx +11 -6
  336. package/mobile/src/components/ProductTile/ProductTileContent.ts +1 -1
  337. package/mobile/src/components/ProductTile/renderImage.tsx +3 -2
  338. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +10 -0
  339. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +81 -0
  340. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.ui.json +20 -0
  341. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +22 -0
  342. package/mobile/src/components/RollupItem/RollupItem.tsx +2 -15
  343. package/mobile/src/components/StepsBlock/StepsBlock.tsx +3 -2
  344. package/mobile/src/components/StepsBlock/checkCanRenderIcon.ts +2 -1
  345. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -8
  346. package/mobile/src/components/Tile/Tile.example.json +2 -1
  347. package/mobile/src/components/Tile/Tile.tsx +26 -17
  348. package/mobile/src/components/Tile/TileContent.ts +2 -0
  349. package/mobile/src/content-page-repository/transformImg.ts +14 -4
  350. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -3
  351. package/mobile/src/ui-kit/Button/ButtonInner.tsx +4 -3
  352. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +2 -1
  353. package/mobile/src/ui-kit/Img/ImgInner.tsx +1 -1
  354. package/package.json +2 -2
  355. package/src/components/Blocks.ts +2 -0
  356. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +4 -2
  357. package/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -2
  358. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -2
  359. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -2
  360. package/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +10 -2
  361. package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +9 -1
  362. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +23 -14
  363. package/src/components/CarouselTariffsCard/CarouselTariffsCard.ui.json +18 -1
  364. package/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +10 -2
  365. package/src/components/ComparisonTable/HeaderCell.tsx +1 -2
  366. package/src/components/Footer/Footer.mobile.tsx +1 -4
  367. package/src/components/Footer/FooterContent.ts +1 -1
  368. package/src/components/Footer/MediaButton.tsx +2 -5
  369. package/src/components/Headline/Headline.tsx +1 -5
  370. package/src/components/LinkDocs/LinkDocs.example.json +0 -2
  371. package/src/components/LinkDocs/LinkDocs.fixture.mobile.tsx +1 -11
  372. package/src/components/LinkDocs/LinkDocs.mobile.tsx +27 -12
  373. package/src/components/LinkDocs/LinkDocs.tsx +24 -9
  374. package/src/components/LinkDocs/LinkDocsContent.ts +0 -5
  375. package/src/components/LinkDocs/LinkDocsListItem.tsx +48 -13
  376. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -2
  377. package/src/components/ProductBlock/ProductBlock.fixture.tsx +14 -22
  378. package/src/components/ProductBlock/ProductBlock.tsx +5 -6
  379. package/src/components/ProductBlock/ProductBlockContent.ts +0 -2
  380. package/src/components/ProductBlock/ProductBlockInner.tsx +21 -25
  381. package/src/components/ProductBlock/renderBackwardButton.tsx +1 -1
  382. package/src/components/ProductTile/ProductTile.fixture.tsx +6 -2
  383. package/src/components/ProductTile/ProductTile.tsx +11 -6
  384. package/src/components/ProductTile/ProductTileContent.ts +1 -1
  385. package/src/components/ProductTile/renderImage.tsx +3 -2
  386. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +10 -0
  387. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +37 -0
  388. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +81 -0
  389. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.ui.json +20 -0
  390. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +22 -0
  391. package/src/components/RollupItem/RollupItem.mobile.tsx +2 -15
  392. package/src/components/RollupItem/RollupItem.tsx +1 -2
  393. package/src/components/StepsBlock/StepsBlock.mobile.tsx +3 -2
  394. package/src/components/StepsBlock/StepsBlock.tsx +14 -8
  395. package/src/components/StepsBlock/checkCanRenderIcon.ts +2 -1
  396. package/src/components/TariffsTable/TariffsTableRow.tsx +1 -8
  397. package/src/components/Tile/Tile.example.json +2 -1
  398. package/src/components/Tile/Tile.fixture.tsx +5 -0
  399. package/src/components/Tile/Tile.tsx +26 -17
  400. package/src/components/Tile/TileContent.ts +2 -0
  401. package/src/content-page-repository/transformImg.ts +14 -4
  402. package/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -3
  403. package/src/ui-kit/Button/ButtonInner.tsx +4 -3
  404. package/src/ui-kit/Button/renderButtonsSection.tsx +2 -1
  405. package/src/ui-kit/Img/ImgInner.tsx +1 -1
  406. package/bundle/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
  407. package/bundle/components/LinkDocs/LinkDocsList.d.ts +0 -9
  408. package/bundle/components/LinkDocs/LinkDocsListItem.mobile.d.ts +0 -2
  409. package/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
  410. package/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
  411. package/bundle/utils/getIconWithVersion.d.ts +0 -3
  412. package/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
  413. package/dist/components/LinkDocs/LinkDocsHorizontalList.js +0 -10
  414. package/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +0 -1
  415. package/dist/components/LinkDocs/LinkDocsList.d.ts +0 -9
  416. package/dist/components/LinkDocs/LinkDocsList.js +0 -9
  417. package/dist/components/LinkDocs/LinkDocsList.js.map +0 -1
  418. package/dist/components/LinkDocs/LinkDocsListItem.mobile.d.ts +0 -2
  419. package/dist/components/LinkDocs/LinkDocsListItem.mobile.js +0 -7
  420. package/dist/components/LinkDocs/LinkDocsListItem.mobile.js.map +0 -1
  421. package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
  422. package/dist/components/LinkDocs/LinkDocsListItemBase.js +0 -24
  423. package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +0 -1
  424. package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
  425. package/dist/components/LinkDocs/LinkDocsVerticalList.js +0 -11
  426. package/dist/components/LinkDocs/LinkDocsVerticalList.js.map +0 -1
  427. package/dist/utils/getIconWithVersion.d.ts +0 -3
  428. package/dist/utils/getIconWithVersion.js +0 -8
  429. package/dist/utils/getIconWithVersion.js.map +0 -1
  430. package/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
  431. package/lib/components/LinkDocs/LinkDocsHorizontalList.js +0 -8
  432. package/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +0 -1
  433. package/lib/components/LinkDocs/LinkDocsList.d.ts +0 -9
  434. package/lib/components/LinkDocs/LinkDocsList.js +0 -7
  435. package/lib/components/LinkDocs/LinkDocsList.js.map +0 -1
  436. package/lib/components/LinkDocs/LinkDocsListItem.mobile.d.ts +0 -2
  437. package/lib/components/LinkDocs/LinkDocsListItem.mobile.js +0 -5
  438. package/lib/components/LinkDocs/LinkDocsListItem.mobile.js.map +0 -1
  439. package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
  440. package/lib/components/LinkDocs/LinkDocsListItemBase.js +0 -22
  441. package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +0 -1
  442. package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
  443. package/lib/components/LinkDocs/LinkDocsVerticalList.js +0 -9
  444. package/lib/components/LinkDocs/LinkDocsVerticalList.js.map +0 -1
  445. package/lib/utils/getIconWithVersion.d.ts +0 -3
  446. package/lib/utils/getIconWithVersion.js +0 -5
  447. package/lib/utils/getIconWithVersion.js.map +0 -1
  448. package/mobile/bundle/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
  449. package/mobile/bundle/components/LinkDocs/LinkDocsList.d.ts +0 -9
  450. package/mobile/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
  451. package/mobile/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
  452. package/mobile/bundle/utils/getIconWithVersion.d.ts +0 -3
  453. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
  454. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js +0 -10
  455. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +0 -1
  456. package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +0 -9
  457. package/mobile/dist/components/LinkDocs/LinkDocsList.js +0 -9
  458. package/mobile/dist/components/LinkDocs/LinkDocsList.js.map +0 -1
  459. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
  460. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js +0 -24
  461. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +0 -1
  462. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
  463. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js +0 -11
  464. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js.map +0 -1
  465. package/mobile/dist/utils/getIconWithVersion.d.ts +0 -3
  466. package/mobile/dist/utils/getIconWithVersion.js +0 -8
  467. package/mobile/dist/utils/getIconWithVersion.js.map +0 -1
  468. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +0 -2
  469. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js +0 -8
  470. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +0 -1
  471. package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +0 -9
  472. package/mobile/lib/components/LinkDocs/LinkDocsList.js +0 -7
  473. package/mobile/lib/components/LinkDocs/LinkDocsList.js.map +0 -1
  474. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +0 -13
  475. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js +0 -22
  476. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +0 -1
  477. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +0 -8
  478. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js +0 -9
  479. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js.map +0 -1
  480. package/mobile/lib/utils/getIconWithVersion.d.ts +0 -3
  481. package/mobile/lib/utils/getIconWithVersion.js +0 -5
  482. package/mobile/lib/utils/getIconWithVersion.js.map +0 -1
  483. package/mobile/src/components/LinkDocs/LinkDocsHorizontalList.tsx +0 -21
  484. package/mobile/src/components/LinkDocs/LinkDocsList.tsx +0 -33
  485. package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +0 -63
  486. package/mobile/src/components/LinkDocs/LinkDocsVerticalList.tsx +0 -33
  487. package/mobile/src/utils/getIconWithVersion.ts +0 -7
  488. package/src/components/LinkDocs/LinkDocsHorizontalList.tsx +0 -21
  489. package/src/components/LinkDocs/LinkDocsList.tsx +0 -33
  490. package/src/components/LinkDocs/LinkDocsListItem.mobile.tsx +0 -12
  491. package/src/components/LinkDocs/LinkDocsListItemBase.tsx +0 -63
  492. package/src/components/LinkDocs/LinkDocsVerticalList.tsx +0 -33
  493. package/src/utils/getIconWithVersion.ts +0 -7
@@ -559,16 +559,16 @@
559
559
 
560
560
  const ButtonInner = JSX((props) => {
561
561
  const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
562
- return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? jsx("div", { className: iconStyleMap[version], children: appendLeft }) : null, isWithText(props) ? (jsxs("div", { children: [aboveText ? jsx("div", { className: "text-xs-light text-left", children: aboveText }) : null, jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-0.5' : 'text-l'}`, children: text })] })) : null, appendRight ? jsx("div", { className: iconStyleMap[version], children: appendRight }) : null] }));
562
+ return (jsxs("div", { className: style(getButtonStyle(props), 'flex gap-2'), children: [appendLeft ? jsx("div", { className: iconStyleMap[version], children: appendLeft }) : null, isWithText(props) ? (jsxs("div", { children: [aboveText ? jsx("div", { className: "text-xs-light text-left", children: aboveText }) : null, jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-0.5' : 'text-l'}`, children: text })] })) : null, appendRight ? jsx("div", { className: iconStyleMap[version], children: appendRight }) : null] }));
563
563
  });
564
564
  const getButtonStyle = (props) => {
565
565
  const { version, aboveText, rounded } = props;
566
566
  if (version === 'link') {
567
567
  return '';
568
568
  }
569
- const withTextStyle = `gap-2 ${aboveText ? 'py-2.5 px-7' : 'py-4 px-4'}`;
569
+ const withTextStyle = `${aboveText ? 'py-2.5 px-7' : 'py-4 px-4'}`;
570
570
  return [
571
- 'group/btn flex items-center justify-center',
571
+ 'group/btn items-center justify-center',
572
572
  isWithText(props) ? withTextStyle : 'h-12 w-12',
573
573
  rounded ? 'rounded-full' : '',
574
574
  ].join(' ');
@@ -1085,7 +1085,7 @@
1085
1085
  if (!image?.src && !image?.icon) {
1086
1086
  return null;
1087
1087
  }
1088
- return image.icon ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: image?.iconVersion || 'normal', name: image.icon, ...iconProps })) : (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image, isMobile: isMobile, pathPrefix: pathPrefix }));
1088
+ return image.icon ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: image?.iconVersion, name: image.icon, ...iconProps })) : (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image, isMobile: isMobile, pathPrefix: pathPrefix }));
1089
1089
  });
1090
1090
 
1091
1091
  const renderContacts = () => (jsxs("div", { className: "flex", children: [jsxs("a", { className: "flex items-center text-primary-text no-underline mr-6", href: `tel:8 (800) 200-78-70`, "aria-label": "8 (800) 200-78-70", children: [jsx(ImgInner, { image: { icon: 'PhoneIcon' }, width: "24", height: "24", className: "mr-3" }), jsx("span", { children: "8 (800) 200-78-70" })] }), jsxs("a", { className: "flex items-center text-primary-text no-underline", "aria-label": "ved@rshb.ru", href: `mailto:ved@rshb.ru`, children: [jsx(ImgInner, { image: { icon: 'MailIcon' }, width: "24", height: "24", className: "mr-3" }), jsx("span", { children: "ved@rshb.ru" })] })] }));
@@ -1210,7 +1210,8 @@
1210
1210
  const renderButtonsSection = (buttons, { className = '', buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (jsx("div", { className: style('flex', isVertical ? 'flex-col gap-2' : 'gap-4', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
1211
1211
  const renderButton = (buttonClassName = '') => (button, index) => {
1212
1212
  const { text, icon, iconRight, version, ...rest } = button || {};
1213
- const iconVersion = version === 'secondary' ? 'color' : 'white';
1213
+ const iconVersionDefault = version === 'secondary' ? 'color' : 'white';
1214
+ const iconVersion = icon?.iconVersion ? icon?.iconVersion : iconVersionDefault;
1214
1215
  return text || icon?.icon ? (jsx(Button, { className: buttonClassName, appendLeft: renderButtonIcon({ ...icon, iconVersion }), appendRight: renderButtonIcon({ ...iconRight, iconVersion }), version: version, text: text, ...rest }, index ? String(index) : '')) : null;
1215
1216
  };
1216
1217
  const DEFAULT_ICON_W = 24;
@@ -1263,7 +1264,7 @@
1263
1264
  const Headline = JSX(({ className, title, description, headlineVersion = 'XL', align = 'text-center', as, isPadding = true, isTheme = false, version = '', ...rest }) => {
1264
1265
  const versionStyle = headlineVersionStyles[headlineVersion];
1265
1266
  const paddingStyle = isPadding ? 'p-12' : '';
1266
- return (jsxs(BlockWrapper, { className: style('flex flex-col', paddingStyle, versionStyle.wrapper, className), version: version, isTheme: isTheme, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-pre-wrap', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { color: "group-data-secondary:text-white/80", size: versionStyle.descriptionSize, align: align, children: description })) : null] }));
1267
+ return (jsxs(BlockWrapper, { className: style('flex flex-col', paddingStyle, versionStyle.wrapper, className), version: version, isTheme: isTheme, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-pre-wrap', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { size: versionStyle.descriptionSize, align: align, children: description })) : null] }));
1267
1268
  });
1268
1269
 
1269
1270
  const Bonus = JSX((props) => {
@@ -2036,7 +2037,7 @@
2036
2037
 
2037
2038
  const DEFAULT_ANCESTORS = [];
2038
2039
  const defaultStyle = 'col-span-12';
2039
- function renderBlock(block, options, { className, ...extraProps } = {}) {
2040
+ function renderBlock$1(block, options, { className, ...extraProps } = {}) {
2040
2041
  const { key, blockDecorator = defaultBlockDecorator, blocksRegistry = {}, ancestors = DEFAULT_ANCESTORS, } = options;
2041
2042
  const { type } = block;
2042
2043
  if (!(type && type in blocksRegistry)) {
@@ -2059,7 +2060,7 @@
2059
2060
  const DEFAULT_SLOT_NAME = null;
2060
2061
 
2061
2062
  const EMPTY_ANCESTORS = [];
2062
- const renderBlocksList = (blocks, { key, ancestors = EMPTY_ANCESTORS, slotName = DEFAULT_SLOT_NAME, renderProps = renderBlock, ...options }) => (blocks || []).map((_, j) => renderProps(_, {
2063
+ const renderBlocksList = (blocks, { key, ancestors = EMPTY_ANCESTORS, slotName = DEFAULT_SLOT_NAME, renderProps = renderBlock$1, ...options }) => (blocks || []).map((_, j) => renderProps(_, {
2063
2064
  ...options,
2064
2065
  key: `${key ? key : _.type}-${j}`,
2065
2066
  ancestors: options.parent
@@ -2267,11 +2268,11 @@
2267
2268
  return (jsx(BlockWrapper, { className: style(getPaddingStyle(isPadding), 'group-data-secondary:bg-primary-main group-data-secondary:text-white', className), ...rest, children: jsxs("div", { className: style(getAlignStyle(isAlignCenter), 'relative max-w-full'), children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderChildren({
2268
2269
  ...rest,
2269
2270
  renderProps: isBankHistoryCarousel
2270
- ? (block, options) => renderBlock(block, options, {
2271
+ ? (block, options) => renderBlock$1(block, options, {
2271
2272
  blocksLength: childBlocks?.length,
2272
2273
  activeIndex: activeIndex,
2273
2274
  })
2274
- : renderBlock,
2275
+ : renderBlock$1,
2275
2276
  }) }), jsx(CarouselScrollButtons, { scroll: scroll, isBlur: isBlur, arrowsPadded: arrowsPadded, onScrollLeft: decreaseActiveIndex, onScrollRight: increaseActiveIndex, hasEdgeBlocks: isBankHistoryCarousel, activeIndex: activeIndex, itemCount: count }), showDots ? renderDots(containerRef, dotsActiveIndex, itemCount) : null] }) }));
2276
2277
  });
2277
2278
  Carousel.childrenTypes = [
@@ -2343,7 +2344,7 @@
2343
2344
  black: 'bg-black',
2344
2345
  white: 'bg-white',
2345
2346
  };
2346
- const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors, ...rest }) => (jsxs(BlockWrapper, { className: `border box-border border-gray p-7 min-w-[392px] h-full flex flex-col justify-left ${className}`, ...rest, children: [image?.src ? jsx(ImgInner, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? (jsx("div", { className: "mb-4", children: jsx(Paragraph, { size: "text-m", align: "text-left", font: "font-light", children: description }) })) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: jsx(Text, { children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }) }), colors.map(renderColorOption)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null, renderButtonsSection([button], { buttonClassName: 'mt-5 w-full' })] })));
2347
+ const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors, ...rest }) => (jsxs(BlockWrapper, { className: `border box-border border-gray p-7 min-w-[392px] h-full flex flex-col justify-left ${className}`, ...rest, children: [image?.src ? jsx(ImgInner, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? (jsx("div", { className: "mb-4", children: jsx(Paragraph, { size: "text-m", align: "text-left", font: "font-light", children: description }) })) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: jsx(Text, { size: "text-s", align: "text-left", font: "font-light", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430:" }) }), colors.map(renderColorOption)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null, renderButtonsSection([button], { buttonClassName: 'mt-5 w-full' })] })));
2347
2348
  const renderColorOption = (color, i) => (jsx("div", { role: "figure", className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
2348
2349
 
2349
2350
  const LinkWrapper = JSX(({ className = '', href, target, children }) => {
@@ -2353,13 +2354,8 @@
2353
2354
  return (jsx(Tag, { className: style('block', className), ...(href ? linkProps : {}), children: children }));
2354
2355
  });
2355
2356
 
2356
- const getIconWithVersion = (icon, version = 'primary') => ({
2357
- ...icon,
2358
- iconVersion: icon?.iconVersion ?? (version === 'secondary' ? 'white' : 'color'),
2359
- });
2360
-
2361
2357
  const CarouselEventCard = JSX(({ className = '', icon, title, description, href, target, ...rest }) => {
2362
- return (jsx(BlockWrapper, { className: style('w-[365px]', className), ...rest, children: jsxs(LinkWrapper, { className: "flex flex-col", href: href, target: target, children: [icon?.icon ? jsx(ImgInner, { image: getIconWithVersion(icon), asSVG: true }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left pt-3 mb-2", title: title })) : null, description ? (jsx("div", { className: "mb-4", children: jsx(Text, { font: "font-light", size: "text-m", color: "text-secondary-text", children: description }) })) : null] }) }));
2358
+ return (jsx(BlockWrapper, { className: style('w-[365px]', className), ...rest, children: jsxs(LinkWrapper, { className: "flex flex-col", href: href, target: target, children: [icon?.icon ? jsx(ImgInner, { image: icon, asSVG: true }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left pt-3 mb-2", title: title })) : null, description ? (jsx("div", { className: "mb-4", children: jsx(Text, { font: "font-light", size: "text-m", color: "text-secondary-text", children: description }) })) : null] }) }));
2363
2359
  });
2364
2360
 
2365
2361
  const BaseTile = JSX(({ className = '', title = '', buttons, image, children }) => (jsxs("div", { className: `font-sans flex flex-col grow h-full items-start ${className}`, children: [title, jsxs("div", { className: "flex grow w-full justify-between", children: [jsxs("div", { className: "flex flex-col justify-between w-full", children: [jsx("div", { className: "h-full", children: children }), buttons ? jsx("div", { className: "mt-auto pt-8", children: buttons }) : null] }), image] })] })));
@@ -2437,7 +2433,7 @@
2437
2433
  const renderItems = (items, isDotted, version = 'primary') => items?.length ? (jsx(List, { className: `max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted })) : null;
2438
2434
 
2439
2435
  const CarouselProgramsCard = JSX(({ className = '', title, icon, list = [], href, target, ...rest }) => {
2440
- return (jsx(BlockWrapper, { className: style('border border-gray', className), ...rest, children: jsxs(LinkWrapper, { className: "flex", href: href, target: target, children: [jsxs("div", { className: "w-[200px] min-w-[200px] self-center", children: [icon?.icon ? jsx(ImgInner, { image: getIconWithVersion(icon), asSVG: true }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null] }), jsxs("div", { className: "p-8 pl-3 w-full", children: [title ? jsx(Heading, { className: "mb-3.5", headingType: "h5", title: title }) : null, list.length ? (jsx("div", { className: "flex flex-col gap-3", children: list?.map(renderList$1) })) : null] })] }) }));
2436
+ return (jsx(BlockWrapper, { className: style('border border-gray', className), ...rest, children: jsxs(LinkWrapper, { className: "flex", href: href, target: target, children: [jsxs("div", { className: "w-[200px] min-w-[200px] self-center", children: [icon?.icon ? jsx(ImgInner, { image: icon, asSVG: true }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null] }), jsxs("div", { className: "p-8 pl-3 w-full", children: [title ? jsx(Heading, { className: "mb-3.5", headingType: "h5", title: title }) : null, list.length ? (jsx("div", { className: "flex flex-col gap-3", children: list?.map(renderList$1) })) : null] })] }) }));
2441
2437
  });
2442
2438
  const renderList$1 = (_, i) => (jsxs("div", { className: "break-words", children: [_.title ? jsx("div", { className: "text-h6", children: _.title }) : null, _.description ? jsx("span", { className: "text-l-light mt-1", children: _.description }) : null] }, String(i)));
2443
2439
 
@@ -2484,8 +2480,7 @@
2484
2480
  const { href, version, text = '' } = rest;
2485
2481
  const { iconMapped, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
2486
2482
  const iconCustom = getFilteredIcon(icon) ?? iconMapped;
2487
- const iconWithVersion = iconCustom ? getIconWithVersion(iconCustom) : undefined;
2488
- return (jsx(Button, { className: style(rounded ? 'rounded-full' : 'rounded-md', 'border border-solid hover:border-transparent', 'group-data-primary:border-main-divider', 'hover:bg-primary-main hover:text-black', 'group-data-secondary:bg-white border-main-divider group-data-secondary:hover:bg-secondary-hover', 'group-data-gray:border-green', buttonStylesWithText(text, buttonSize)), "aria-label": label, rel: "noopener noreferrer", target: "_blank", text: text, version: version, ...rest, children: iconWithVersion && !text ? (jsx(ImgInner, { image: iconWithVersion, imageClassName: "group-hover/media:text-white", width: "24", height: "24", asSVG: true })) : null }));
2483
+ return (jsx(Button, { className: style(rounded ? 'rounded-full' : 'rounded-md', 'border border-solid hover:border-transparent', 'group-data-primary:border-main-divider', 'hover:bg-primary-main hover:text-black', 'group-data-secondary:bg-white border-main-divider group-data-secondary:hover:bg-secondary-hover', 'group-data-gray:border-green', buttonStylesWithText(text, buttonSize)), "aria-label": label, rel: "noopener noreferrer", target: "_blank", text: text, version: version, ...rest, children: iconCustom && !text ? (jsx(ImgInner, { image: iconCustom, imageClassName: "group-hover/media:text-white", width: "24", height: "24", asSVG: true })) : null }));
2489
2484
  });
2490
2485
  const getFilteredIcon = (icon) => (icon?.src || icon?.icon ? icon : undefined);
2491
2486
 
@@ -2493,9 +2488,9 @@
2493
2488
 
2494
2489
  const BORDER_STYLE = 'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider';
2495
2490
  const CarouselRecommendationCard = JSX(({ className = '', description, href, icon, items = [], socialMedia = [], target, title, align = 'text-left', version = 'primary', ...rest }) => {
2496
- return (jsx(BlockWrapper, { className: style('relative p-7 min-w-[524px] min-h-[218px] h-full box-border group-data-gray:bg-main-divider/50', BORDER_STYLE, className), version: version, ...rest, children: jsxs(LinkWrapper, { href: href, target: target, children: [jsx(Headline, { className: "mb-4", title: title, description: description, headlineVersion: "S", isPadding: false, align: align }), jsxs("div", { className: "w-1/2 h-full flex flex-col flex-1 justify-end", children: [items.length ? (jsx(List, { className: "flex flex-col gap-2", itemClassName: "text-l-light", items: items })) : null, socialMedia.length ? jsx(SocialMedia, { className: "pt-10", media: socialMedia }) : null] }), renderIconBlock$1(icon)] }) }));
2491
+ return (jsx(BlockWrapper, { className: style('relative p-7 min-w-[524px] min-h-[218px] h-full box-border group-data-gray:bg-main-divider/50', BORDER_STYLE, className), version: version, ...rest, children: jsxs(LinkWrapper, { href: href, target: target, children: [jsx(Headline, { className: "mb-4", title: title, description: description, headlineVersion: "S", isPadding: false, align: align }), jsxs("div", { className: "w-1/2 h-full flex flex-col flex-1 justify-end", children: [items.length ? (jsx(List, { className: "flex flex-col gap-2", itemClassName: "text-l-light", items: items })) : null, socialMedia.length ? jsx(SocialMedia, { className: "pt-10", media: socialMedia }) : null] }), renderIconBlock$2(icon)] }) }));
2497
2492
  });
2498
- const renderIconBlock$1 = (icon) => (jsxs("div", { className: "absolute bottom-0 right-0", children: [icon?.icon ? jsx(ImgInner, { image: getIconWithVersion(icon), asSVG: true }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null] }));
2493
+ const renderIconBlock$2 = (icon) => (jsxs("div", { className: "absolute bottom-0 right-0", children: [icon?.icon ? jsx(ImgInner, { image: icon, asSVG: true }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null] }));
2499
2494
 
2500
2495
  const RichText = JSX((props) => {
2501
2496
  const { __html = '', richVersion = '' } = props;
@@ -2531,12 +2526,15 @@
2531
2526
  const cellsNode = cardCells.map(renderCardInfo);
2532
2527
  const visibleCells = cellsNode.slice(0, VISIBLE_CELLS_COUNT);
2533
2528
  const hiddenCells = cellsNode.slice(VISIBLE_CELLS_COUNT);
2534
- return (jsxs(BlockWrapper, { className: style('relative border border-gray p-8 flex flex-col', getHitStyle(isHighlighting), className), ...rest, children: [isHighlighting ? renderHitIcon() : null, renderIconBlock(icon), title ? jsx(Heading, { className: "text-center pt-2", headingType: "h5", title: title }) : null, button ? jsx(Button, { className: "w-full mt-4", ...button }) : null, cardCells.length ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [visibleCells, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton$1 : null })) : null] }));
2529
+ return (jsxs(BlockWrapper, { className: style('relative border border-gray p-8 flex flex-col', getHitStyle(isHighlighting), className), ...rest, children: [isHighlighting ? renderHitIcon() : null, renderIconBlock$1(icon), title ? jsx(Heading, { className: "text-center pt-2", headingType: "h5", title: title }) : null, button ? jsx(Button, { className: "w-full mt-4", ...button }) : null, cardCells.length ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [visibleCells, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton$1 : null })) : null] }));
2535
2530
  });
2536
- const renderIconBlock = (icon) => (jsxs("div", { className: "w-[267px] min-w-[267px] self-center", children: [icon?.src ? jsx(ImgInner, { image: icon }) : null, icon?.icon ? jsx(ImgInner, { image: getIconWithVersion(icon), asSVG: true }) : null] }));
2531
+ const renderIconBlock$1 = (icon) => (jsxs("div", { className: "w-[267px] min-w-[267px] self-center", children: [icon?.src ? jsx(ImgInner, { image: icon }) : null, icon?.icon ? jsx(ImgInner, { image: icon, asSVG: true }) : null] }));
2537
2532
  const getHitStyle = (isHighlighting) => isHighlighting ? 'mt-8 pt-20' : 'mt-20 pt-8';
2538
2533
  const renderFoldButton$1 = ({ isUnfolded, onToggle }) => (jsxs("button", { className: "w-full cursor-pointer text-primary-main pt-5 flex justify-between items-center", onClick: onToggle, children: [jsx("div", { children: isUnfolded ? 'Скрыть' : 'Подробнее о тарифе' }), jsx(Icon, { className: "text-primary-text", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16", asSVG: true })] }));
2539
- const renderCardInfo = (cell, i) => (jsxs("div", { className: "py-5 border-b border-main-divider", children: [cell?.title ? (jsx("div", { className: "text-secondary-text text-m-light opacity-80", children: cell.title })) : null, cell?.description ? (jsx("div", { className: "text-primary-text text-h6 mt-1", children: cell.description })) : null] }, String(i)));
2534
+ const renderCardInfo = (cell, i) => {
2535
+ const { title, description, buttons } = cell;
2536
+ return (jsxs("div", { className: "py-5 border-b border-main-divider", children: [title ? (jsx("div", { className: "text-secondary-text text-m-light opacity-80", children: cell.title })) : null, description ? (jsx("div", { className: "text-primary-text text-h6 mt-1", children: cell.description })) : null, buttons?.length ? (jsx("div", { className: "text-primary-main", children: renderButtonsSection(buttons) })) : null] }, String(i)));
2537
+ };
2540
2538
  const renderHitIcon = () => (jsxs("div", { className: "absolute -top-7 -right-4 h-[60px] w-[60px] bg-white flex flex-col items-center justify-center rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]", children: [jsx(Icon, { iconVersion: "black", name: "HeartIcon", width: "23", height: "22", asSVG: true }), jsx(Paragraph, { size: "text-s", font: "font-normal", align: "text-center", color: "text-primary-text", children: "\u0425\u0418\u0422" })] }));
2541
2539
 
2542
2540
  const GRADIENT = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
@@ -2546,7 +2544,7 @@
2546
2544
  const COLS_LENGTH_FOR_SCROLL$1 = 3;
2547
2545
  const COLUMN_WIDTH$2 = 4 * 80 + 4 * 4; // w-80 + gap-4 = 336px
2548
2546
 
2549
- const HeaderCell = JSX(({ icon, image, title, link }) => (jsxs("div", { className: `w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-[46px] ${BORDER_CLASSES} ${GRADIENT}`, role: "columnheader", children: [icon && !image?.src && (jsx(ImgInner, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", image: getIconWithVersion(icon), width: "63", height: "63", asSVG: true })), image?.src && jsx(ImgInner, { className: "mb-[18px]", image: image }), title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "text-center text-white", title: title })) : null, link?.text && (jsx("div", { className: "mt-auto w-full", children: jsx(Button, { href: link.href, target: link.target, className: "mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active", children: jsx("div", { className: "text-xs-light font-medium py-[11px]", children: link.text }) }) }))] })));
2547
+ const HeaderCell = JSX(({ icon, image, title, link }) => (jsxs("div", { className: `w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-[46px] ${BORDER_CLASSES} ${GRADIENT}`, role: "columnheader", children: [icon && !image?.src && (jsx(ImgInner, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", image: icon, width: "63", height: "63", asSVG: true })), image?.src && jsx(ImgInner, { className: "mb-[18px]", image: image }), title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "text-center text-white", title: title })) : null, link?.text && (jsx("div", { className: "mt-auto w-full", children: jsx(Button, { href: link.href, target: link.target, className: "mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active", children: jsx("div", { className: "text-xs-light font-medium py-[11px]", children: link.text }) }) }))] })));
2550
2548
 
2551
2549
  const carouselContainerClassesMap = {
2552
2550
  comparison: 'flex gap-4 duration-1000',
@@ -3710,9 +3708,9 @@
3710
3708
  return (jsx("div", { className: `flex-1 max-w-[180px] text-center px-2 ${isFirstColumn ? 'pl-9' : ''} ${isLastColumn ? 'mr-3.5' : ' '}`, children: column.title }, `title_${i}`));
3711
3709
  };
3712
3710
 
3713
- const LinkDocsListItemBase = JSX(({ className, iconClassName, textClassName, suffixClassName, doc, icon }) => {
3711
+ const LinkDocsListItem = JSX(({ doc, icon }) => {
3714
3712
  const { text, fileSize, ...linkProps } = doc;
3715
- return (jsxs("a", { className: className, role: "link", ...linkProps, children: [icon ? (jsx(ImgInner, { className: iconClassName, image: getIconWithVersion(icon), width: "24", height: "24", asSVG: true })) : null, text ? (jsxs("span", { className: textClassName, children: [text, jsx("span", { className: suffixClassName, children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] }));
3713
+ return (jsxs("a", { className: "flex box-border gap-3 group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main", role: "link", ...linkProps, children: [icon, text ? (jsxs(Text, { size: "text-l", font: "font-light", children: [text, jsx(Text, { color: "text-secondary-text", children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] }));
3716
3714
  });
3717
3715
  const formatSuffix = (ext, fileSize) => {
3718
3716
  const prefix = ext || fileSize ? ',' : '';
@@ -3728,17 +3726,11 @@
3728
3726
  return index !== -1 ? href.substring(index + 1) : '';
3729
3727
  };
3730
3728
 
3731
- const LinkDocsListItem = JSX(({ className = '', doc, icon }) => (jsx(LinkDocsListItemBase, { className: `flex h-full box-border ${className}`, iconClassName: "mr-2.5 min-w-6 min-h-6", textClassName: "self-center text-l-light", suffixClassName: "text-secondary-text group-hover/item:text-primary-main", doc: doc, icon: icon })));
3732
-
3733
- const LinkDocsList = JSX(({ className, documents, columnsMode = 'double', icon }) => {
3734
- return documents?.length ? (jsx("div", { className: className, role: "list", children: documents.map((doc, i) => (jsx("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: jsx(LinkDocsListItem, { className: "group/item flex align-middle h-fit w-fit text-primary-text no-underline hover:text-primary-main", doc: doc, icon: icon }) }, String(i)))) })) : null;
3735
- });
3736
-
3737
3729
  const linkColumnsModeStyleMap = {
3738
- double: 'flex gap-x-5 gap-y-[26px] flex-wrap',
3739
- single: 'flex gap-3.5 flex-col',
3730
+ double: 'flex-wrap',
3731
+ single: 'flex-col',
3740
3732
  };
3741
- const LinkDocs = JSX(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => (jsxs(BlockWrapper, { className: style('p-12', className), ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, align: align, headlineVersion: "M", as: "h2" }), jsx(LinkDocsList, { className: `mt-8 ${linkColumnsModeStyleMap[columnsMode]}`, columnsMode: columnsMode, documents: documents, icon: icon })] })));
3733
+ const LinkDocs = JSX(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => (jsxs(BlockWrapper, { className: style('p-12', className), ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, align: align, headlineVersion: "M", as: "h2" }), documents?.length ? (jsx("div", { className: style('mt-8 flex gap-6', linkColumnsModeStyleMap[columnsMode]), role: "list", children: documents.map((doc, i) => (jsx("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: jsx(LinkDocsListItem, { doc: doc, icon: icon ? (jsx(ImgInner, { className: "min-w-6 min-h-6", image: icon, width: "24", height: "24", asSVG: true })) : null }) }, String(i)))) })) : null] })));
3742
3734
 
3743
3735
  const getColSpan = (className) => {
3744
3736
  const colSpanPrefix = 'col-span-';
@@ -4140,15 +4132,14 @@
4140
4132
  });
4141
4133
 
4142
4134
  const OfficeServicesBlock = JSX(({ className = '', title, servicesList, ...rest }) => (jsxs(BlockWrapper, { className: `p-8 flex flex-col ${className}`, ...rest, children: [title ? jsx(Heading, { headingType: "h5", className: "mb-5", title: title }) : null, servicesList?.length ? (jsx("ul", { className: "list-none m-0 p-0", children: servicesList.map(renderListItems) })) : null] })));
4143
- const renderListItems = (itemList, i) => (jsxs("li", { className: "flex mb-5 last:mb-0 list-none", children: [itemList.icon ? (jsx(ImgInner, { className: "mr-3 min-w-6 min-h-6 w-6 h-6", width: "24", height: "24", asSVG: true, image: getIconWithVersion(itemList.icon) })) : null, itemList.label ? jsx("span", { className: "text-l-light", children: itemList.label }) : null] }, `list_item_${String(i)}`));
4135
+ const renderListItems = (itemList, i) => (jsxs("li", { className: "flex mb-5 last:mb-0 list-none", children: [itemList.icon ? (jsx(ImgInner, { className: "mr-3 min-w-6 min-h-6 w-6 h-6", width: "24", height: "24", asSVG: true, image: itemList.icon })) : null, itemList.label ? jsx("span", { className: "text-l-light", children: itemList.label }) : null] }, `list_item_${String(i)}`));
4144
4136
 
4145
4137
  const ParagraphBlock = JSX(({ text, size, align, font, children, ...rest }) => (jsx(BlockWrapper, { ...rest, children: jsx(Paragraph, { size: size, align: align, font: font, children: text || children }) })));
4146
4138
 
4147
4139
  const BenefitItem = JSX((props) => {
4148
4140
  const { className = '', icon, label, description, version = 'primary', benefitsVersion = 'normal', } = props;
4149
4141
  const listItemAlign = description ? 'items-start' : 'items-center';
4150
- const calcVersion = benefitsVersion === 'white' ? 'secondary' : 'primary';
4151
- return (jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (jsx("div", { className: getBenefitIconBgStyle(version, benefitsVersion), children: jsx(ImgInner, { className: "w-6 h-6", image: getIconWithVersion(icon, calcVersion), asSVG: true }) })) : null, jsxs("div", { className: "gap-0.5", children: [label ? (jsx("div", { className: "text-h6 text-primary-text group-data-secondary:text-white", children: label })) : null, description ? (jsx("div", { className: "text-m-light text-secondary-text group-data-secondary:text-white", children: description })) : null] })] }));
4142
+ return (jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (jsx("div", { className: getBenefitIconBgStyle(version, benefitsVersion), children: jsx(ImgInner, { className: "w-6 h-6", image: { ...icon, iconVersion: icon.iconVersion || benefitsVersion }, asSVG: true }) })) : null, jsxs("div", { className: "gap-0.5", children: [label ? (jsx("div", { className: "text-h6 text-primary-text group-data-secondary:text-white", children: label })) : null, description ? (jsx("div", { className: "text-m-light text-secondary-text group-data-secondary:text-white", children: description })) : null] })] }));
4152
4143
  });
4153
4144
  function getBenefitIconBgStyle(version, benefitsVersion) {
4154
4145
  let bgColorStyle = 'bg-primary-main text-black';
@@ -4235,10 +4226,10 @@
4235
4226
 
4236
4227
  const renderBenefit$1 = (version = 'primary', benefitsVersion = 'normal') => ({ icon, label, description }, i) => (jsx(BenefitItem, { icon: icon, label: label, description: description, version: version, benefitsVersion: benefitsVersion }, String(i)));
4237
4228
 
4238
- const ProductBlockInner = JSX(({ className = '', title, headlineVersion = 'L', description, benefitsCountOfRow = 3, benefits, benefitsVersion, buttons, footnote, image, __html, items, version = 'primary', isDotted = true, textBlockClassName = '', directionRight = true, }) => {
4229
+ const ProductBlockInner = JSX(({ className = '', title, headlineVersion = 'L', description, benefitsCountOfRow = 3, benefits, benefitsVersion, buttons, image, __html, items, version = 'primary', isDotted = true, textBlockClassName = '', directionRight = true, }) => {
4239
4230
  const benefitsCount = benefits?.filter((_) => _.label)?.length;
4240
4231
  const benefitsContainerStyles = getBenefitsContainerStyles(benefitsCountOfRow);
4241
- return (jsxs("div", { className: style('flex grow justify-between items-stretch h-full', className), children: [image?.src ? (jsx(ImgInner, { className: `mt-[-50px] ${directionRight ? 'order-2' : ''}`, image: image })) : null, jsxs("div", { className: style('flex flex-col', textBlockClassName), children: [jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: headlineVersion, align: "text-left" }), jsxs("div", { className: "flex flex-col justify-between h-full", children: [jsxs(BaseTile, { buttons: renderButtonsSection(buttons), children: [benefitsCount ? (jsx("div", { className: benefitsContainerStyles, children: benefits?.map(renderBenefit$1(version, benefitsVersion)) })) : null, __html ? (jsx("div", { className: "mt-5", children: jsx(RichText, { __html: __html }) })) : null, items?.length ? (jsx(List, { className: "mt-5 text-h6", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }), footnote ? jsx("p", { className: "text-m-light pt-12", children: footnote }) : null] })] })] }));
4232
+ return (jsxs("div", { className: style('flex grow justify-between items-stretch h-full', className), children: [image?.src ? (jsx(ImgInner, { className: style('mt-[-50px]', directionRight ? 'order-2' : ''), image: image })) : null, jsxs("div", { className: style('flex flex-col', textBlockClassName), children: [jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: headlineVersion, align: "text-left" }), jsxs(BaseTile, { buttons: renderButtonsSection(buttons), children: [benefitsCount ? (jsx("div", { className: benefitsContainerStyles, children: benefits?.map(renderBenefit$1(version, benefitsVersion)) })) : null, __html ? (jsx("div", { className: "mt-5", children: jsx(RichText, { __html: __html }) })) : null, items?.length ? (jsx(List, { className: "mt-5 text-h6", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] })] })] }));
4242
4233
  });
4243
4234
  const getBenefitsContainerStyles = (benefitsCountOfRow = 2) => `gap-6 mt-6 ${benefitsCountOfRow > 2
4244
4235
  ? 'inline-grid grid-cols-[auto_auto_auto]'
@@ -4255,9 +4246,7 @@
4255
4246
  const ProductBlock = JSX((props) => {
4256
4247
  const { className = '', breadcrumbs, backwardButton, version = 'primary', ...rest } = props;
4257
4248
  const buttonVersion = version === 'primary' ? version : 'white';
4258
- return (jsxs(BlockWrapper, { className: `overflow-hidden p-12 flex flex-col box-border min-h-[454px] ${className}`, version: version, ...rest, children: [backwardButton?.text
4259
- ? renderBackwardButton(backwardButton, buttonVersion, 'mb-10 -mt-2.5')
4260
- : null, breadcrumbs?.length ? (jsx("div", { className: "text-xs-light mb-6", children: joinList(jsx("span", { className: `mx-2 ${breadcrumbStyle}`, children: "/" }))(breadcrumbs.map((breadcrumb, i) => (jsx(Breadcrumb, { className: breadcrumbStyle, ...breadcrumb }, String(i))))) })) : null, jsx(ProductBlockInner, { version: version, ...rest })] }));
4249
+ return (jsxs(BlockWrapper, { className: style('overflow-hidden p-12 flex flex-col box-border min-h-[454px]', className), version: version, ...rest, children: [backwardButton?.text ? renderBackwardButton(backwardButton, buttonVersion) : null, breadcrumbs?.length ? (jsx("div", { className: "text-xs-light mb-6", children: joinList(jsx("span", { className: style('mx-2', breadcrumbStyle), children: "/" }))(breadcrumbs.map((breadcrumb, i) => (jsx(Breadcrumb, { className: breadcrumbStyle, ...breadcrumb }, String(i))))) })) : null, jsx(ProductBlockInner, { className: "mt-10", version: version, ...rest })] }));
4261
4250
  });
4262
4251
 
4263
4252
  const ProductGallery = JSX(({ className = '', slides = [], ...rest }) => {
@@ -4319,21 +4308,23 @@
4319
4308
  }
4320
4309
  };
4321
4310
 
4322
- function renderImage$1(image, isImageOnRightSide) {
4311
+ function renderImage$1(image, directionRight) {
4323
4312
  if (!image?.src) {
4324
4313
  return null;
4325
4314
  }
4326
- return (jsx(ImgInner, { className: `absolute ${isImageOnRightSide ? 'right-0' : 'left-0'} bottom-0`, image: image }));
4315
+ return (jsx(ImgInner, { className: style('absolute', directionRight ? 'right-0' : 'left-0', 'bottom-0'), image: image }));
4327
4316
  }
4328
4317
 
4329
- const ProductTile = JSX(({ className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, isImageOnRightSide = true, ...rest }) => (jsxs(BlockWrapper, { className: style('overflow-hidden p-9 box-border relative min-h-[364px]', getTileRightPadding(className), className), ...rest, children: [jsxs("div", { className: style('flex flex-col', isImageOnRightSide ? '' : 'items-end'), children: [jsx(Headline, { className: style('!p-0 !bg-transparent z-10', title || description ? 'mb-3.5' : ''), title: title, description: description, headlineVersion: headlineVersion, as: "h2", align: "text-left" }), renderBenefits(benefits, image), renderAdditionalDescription(additionalDescription, image), renderButtonsSection(buttons, { className: 'mt-5 z-10 text-l' })] }), renderImage$1(image, isImageOnRightSide)] })));
4318
+ const ProductTile = JSX(({ className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, directionRight = true, ...rest }) => (jsxs(BlockWrapper, { className: style('overflow-hidden p-9 box-border relative min-h-[364px] flex flex-col justify-between', getTileRightPadding(className), className), ...rest, children: [jsxs("div", { className: style('flex flex-col', directionRight ? '' : 'items-end'), children: [jsx(Headline, { className: style('!p-0 !bg-transparent z-10', title || description ? 'mb-3.5' : ''), title: title, description: description, headlineVersion: headlineVersion, as: "h2", align: "text-left" }), renderBenefits(benefits, image), renderAdditionalDescription(additionalDescription, image)] }), renderButtonsSection(buttons, {
4319
+ className: style('mt-5 text-l', directionRight ? '' : 'justify-end'),
4320
+ }), renderImage$1(image, directionRight)] })));
4330
4321
  function renderBenefits(benefits, image) {
4331
4322
  if (!benefits.length) {
4332
4323
  return null;
4333
4324
  }
4334
4325
  // picture width = 242px. Text can overlay picture 20px deep. Outer paddings_x = 36px. 242-36-20 = 186px
4335
4326
  const benefitsWidth = image?.src ? 'max-w-[calc(100%-186px)]' : '100%';
4336
- return (jsx("div", { className: `z-10 grid grid-cols-[max-content_1fr] auto-rows-auto gap-x-6 gap-y-2.5 items-baseline ${benefitsWidth}`, children: benefits.length ? benefits.map(renderBenefit) : null }));
4327
+ return (jsx("div", { className: style('z-10 grid grid-cols-[max-content_1fr] auto-rows-auto gap-x-6 gap-y-2.5 items-baseline', benefitsWidth), children: benefits.length ? benefits.map(renderBenefit) : null }));
4337
4328
  }
4338
4329
 
4339
4330
  const PromoTile = JSX(({ className = '', title = 'Акции и спецпредложения', date, description, as, buttons = [], ...rest }) => (jsx(BlockWrapper, { className: style('p-9 box-border', className, getTileRightPadding(className), getTileMinHeight(className)), ...rest, children: jsx(BaseTile, { title: title ? (jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, headlineVersion: getTileHeadingType(className), align: "text-left", as: as || 'h2' })) : null, buttons: renderButtonsSection(buttons), children: jsxs("div", { className: "mt-1.5", children: [date ? jsx("div", { className: "text-s mb-2", children: formatDate(date) }) : null, jsx("div", { className: "text-l", children: description })] }) }) })));
@@ -4364,7 +4355,7 @@
4364
4355
  onToggle,
4365
4356
  })) : (jsx(DefaultFoldButton, { label: label, icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: onToggle }));
4366
4357
  };
4367
- const renderPrimaryFoldButton = ({ label, icon, onToggle }) => (jsxs("button", { className: `border-none bg-transparent px-0 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 cursor-pointer`, onClick: onToggle, children: [jsx(Text, { size: "text-xl", font: "font-medium", children: label }), icon ? jsx(ImgInner, { image: getIconWithVersion({ icon }), width: "24", height: "24", asSVG: true }) : null] }));
4358
+ const renderPrimaryFoldButton = ({ label, icon, onToggle }) => (jsxs("button", { className: `border-none bg-transparent px-0 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 cursor-pointer`, onClick: onToggle, children: [jsx(Text, { size: "text-xl", font: "font-medium", children: label }), icon ? jsx(ImgInner, { image: { icon }, width: "24", height: "24", asSVG: true }) : null] }));
4368
4359
 
4369
4360
  const SAFEBOXES_URL = '/api/v1/safeboxes';
4370
4361
  const EMPTY_VALUE = [];
@@ -4536,7 +4527,8 @@
4536
4527
  const renderStepIcon = (styleMap, size, stepVersion) => ({ icon }, i) => {
4537
4528
  const styleStepIconSize = size === 'normal' ? 'h-[100px] w-[100px]' : 'h-[63px] w-[63px]';
4538
4529
  const stepVersionIconTextStyles = stepVersion === 'secondary' ? 'group-data-primary:text-white' : 'text-secondary-text';
4539
- return (jsx(BlockWrapper, { className: `${styleStepIconSize} flex justify-center items-center text-center rounded-full p-[26px] box-border z-10`, version: stepVersion, children: checkCanRenderIcon(icon) ? (jsx(ImgInner, { image: getIconWithVersion(icon || {}, stepVersion), width: "48", height: "48", asSVG: true })) : (jsx("span", { className: style('text-h4', stepVersion === 'transparent' ? styleMap.iconText : stepVersionIconTextStyles), children: i + 1 })) }, String(i)));
4530
+ const iconVersion = stepVersion === 'secondary' ? 'white' : 'color';
4531
+ return (jsx(BlockWrapper, { className: `${styleStepIconSize} flex justify-center items-center text-center rounded-full p-[26px] box-border z-10`, version: stepVersion, children: checkCanRenderIcon(icon) ? (jsx(ImgInner, { image: { ...icon, iconVersion: icon.iconVersion || iconVersion }, width: "48", height: "48", asSVG: true })) : (jsx("span", { className: style('text-h4', stepVersion === 'transparent' ? styleMap.iconText : stepVersionIconTextStyles), children: i + 1 })) }, String(i)));
4540
4532
  };
4541
4533
 
4542
4534
  const DEFAULT_GAP = 14;
@@ -4872,7 +4864,7 @@
4872
4864
  const [openTableInnerIdx, setOpenTableInnerIdx] = useState(undefined);
4873
4865
  const handleOpenTableInnerIdx = useCallback((_) => setOpenTableInnerIdx(_), []);
4874
4866
  const onHideContentClick = () => setTableInner(undefined);
4875
- return (jsxs(TariffsTableRowContainer, { onHideContentClick: onHideContentClick, tableInner: tableInner, ...rest, children: [jsx("div", { className: `text-s py-5 ${FIRST_CELL_CLASSES} ${DIVIDER_CLASSES}`, children: jsxs("div", { className: "flex items-center text-primary-text", role: "cell", children: [header?.icon ? (jsx(ImgInner, { className: "mr-3.5 max-w-6", image: getIconWithVersion(header.icon), width: "24", height: "24", asSVG: true })) : null, header?.title ? jsx("div", { className: "text-m-light", children: header?.title }) : null] }) }), data?.length ? (jsx(TableCarouselContainer, { activeIndex: activeIndex, columnWidth: COLUMN_WIDTH$1, version: "tariff", children: data.map((cells, i) => (jsx(TariffsTableCell, { cells: cells, rowIdx: rowIdx, cellIdx: i, setTableInner: handleSetTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: handleOpenTableInnerIdx, ...rest }, String(i)))) })) : null] }));
4867
+ return (jsxs(TariffsTableRowContainer, { onHideContentClick: onHideContentClick, tableInner: tableInner, ...rest, children: [jsx("div", { className: `text-s py-5 ${FIRST_CELL_CLASSES} ${DIVIDER_CLASSES}`, children: jsxs("div", { className: "flex items-center text-primary-text", role: "cell", children: [header?.icon ? (jsx(ImgInner, { className: "mr-3.5 max-w-6", image: header.icon, width: "24", height: "24", asSVG: true })) : null, header?.title ? jsx("div", { className: "text-m-light", children: header?.title }) : null] }) }), data?.length ? (jsx(TableCarouselContainer, { activeIndex: activeIndex, columnWidth: COLUMN_WIDTH$1, version: "tariff", children: data.map((cells, i) => (jsx(TariffsTableCell, { cells: cells, rowIdx: rowIdx, cellIdx: i, setTableInner: handleSetTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: handleOpenTableInnerIdx, ...rest }, String(i)))) })) : null] }));
4876
4868
  });
4877
4869
 
4878
4870
  const TariffsTable = JSX(({ className = '', title, description, rowHeaders, tariffsColumns: columns, hiddenRowsNum = 0, ...rest }) => {
@@ -4919,10 +4911,10 @@
4919
4911
  });
4920
4912
  const renderTag = (tag, key) => (jsx("span", { className: "text-m-light py-2 px-2.5 border-solid border rounded-md border-gray", children: tag }, String(key)));
4921
4913
 
4922
- const Tile = JSX(({ title, headingType = 'h3', __html, items, buttons, image, isDotted = true, listItemSize = 'M', className = '', tags, children, ...rest }) => (jsx(BlockWrapper, { className: `overflow-hidden p-9 pr-3 box-border ${getTileRightPadding(className)} ${getTileMinHeight(className)} ${className}`, ...rest, children: jsxs(BaseTile, { title: title ? (jsx(Heading, { headingType: headingType, as: "h2", title: title, className: `whitespace-pre-wrap max-w-[600px]` })) : null, buttons: renderButtonsSection(buttons, {
4923
- className: 'mt-8',
4924
- buttonClassName: 'min-w-[158px]',
4925
- }), image: image?.src ? jsx(ImgInner, { className: "mt-auto ml-7", image: image }) : null, children: [__html ? (jsx("div", { className: "max-w-[600px] mt-2.5", children: jsx(RichText, { __html: __html }) })) : null, children, jsx(List, { className: "mt-2.5", itemClassName: "mb-1.5", items: items, isDotted: isDotted, listItemSize: listItemSize }), tags?.length ? jsx(Tags, { tags: tags, className: "mt-5" }) : null] }) })));
4914
+ const Tile = JSX(({ title, headingType = 'h3', __html, items, buttons, image, isDotted = true, listItemSize = 'M', className = '', tags, children, directionRight = true, ...rest }) => (jsxs(BlockWrapper, { className: style('flex grow justify-between items-stretch h-full p-9 pr-3 box-border', getTileRightPadding(className), getTileMinHeight(className), className), ...rest, children: [image?.src ? (jsx(ImgInner, { className: style('mt-auto ml-7', directionRight ? 'order-2' : ''), image: image })) : null, jsx(BaseTile, { title: title ? (jsx(Heading, { headingType: headingType, as: "h2", title: title, className: `whitespace-pre-wrap max-w-[600px]` })) : null, buttons: renderButtonsSection(buttons, {
4915
+ className: 'mt-8',
4916
+ buttonClassName: 'min-w-[158px]',
4917
+ }), children: jsxs("div", { children: [__html ? (jsx("div", { className: "max-w-[600px] mt-2.5", children: jsx(RichText, { __html: __html }) })) : null, children, jsx(List, { className: "mt-2.5", itemClassName: "mb-1.5", items: items, isDotted: isDotted, listItemSize: listItemSize }), tags?.length ? jsx(Tags, { tags: tags, className: "mt-5" }) : null] }) })] })));
4926
4918
 
4927
4919
  const alignStyle = {
4928
4920
  stretch: 'items-stretch',
@@ -4934,7 +4926,7 @@
4934
4926
  const innerPaddingStyle = isInnerPadding ? '' : '!p-0';
4935
4927
  return (jsx(BlockWrapper, { className: style('flex flex-col [&>*]:max-w-full', isPadding ? 'p-12' : '', gapStyles[gap], align && alignStyle[align], className), version: version, isTheme: isTheme, ...rest, children: renderChildren({
4936
4928
  ...rest,
4937
- renderProps: (block, options) => renderBlock(block, options, { className: innerPaddingStyle }),
4929
+ renderProps: (block, options) => renderBlock$1(block, options, { className: innerPaddingStyle }),
4938
4930
  }) }));
4939
4931
  });
4940
4932
  VerticalLayout.childrenTypes = [];
@@ -4947,6 +4939,15 @@
4947
4939
  return (jsxs(BlockWrapper, { className: style(getPaddings(className), className), ...rest, children: [jsx(Headline, { title: title, headlineVersion: "M" }), url ? (jsx("video", { className: "m-auto w-full object-fill", preload: "metadata", poster: adjustHref(router)(previewImg?.src), style: { maxHeight: 524 }, controls: true, children: jsx("source", { src: adjustHref(router)(url) }) })) : null] }));
4948
4940
  });
4949
4941
 
4942
+ const RepresentativeOfficeInfo = JSX(({ address, email, telephone, button, className = '', __html, icon, title, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border text-left p-9', className), version: version, ...rest, children: [jsxs("div", { className: "w-full flex justify-between", children: [title ? jsx(Heading, { headingType: "h4", as: "h3", className: "mb-6", title: title }) : null, renderIconBlock(icon)] }), jsxs("div", { className: "w-full", children: [__html ? renderDescriptionBlock(__html) : null, renderBlock('Адрес', address, 'GeolocationIcon'), renderBlock('Телефон', telephone, 'PhoneIcon'), renderBlock('E-mail', email, 'MailIcon'), button?.text
4943
+ ? renderButtonsSection([button], {
4944
+ className: 'mb-6',
4945
+ })
4946
+ : null] })] })));
4947
+ const renderIconBlock = (icon) => (jsxs("div", { className: "self-end", children: [icon?.src ? jsx(ImgInner, { image: icon }) : null, icon?.icon ? jsx(ImgInner, { image: icon, asSVG: true }) : null] }));
4948
+ const renderDescriptionBlock = (__html) => (jsx("div", { className: "border-b border-main-divider pb-5 my-5", children: jsx(RichText, { __html: __html }) }));
4949
+ const renderBlock = (blockName, data, iconName) => (jsxs("div", { className: "flex mb-4", children: [jsx(Icon, { className: "pr-4", iconVersion: "black", name: iconName, width: "24", height: "24", asSVG: true }), jsxs("div", { className: "flex flex-col first:pb-1", children: [jsx(Text, { size: "text-m-light", children: blockName }), data ? (jsx(Text, { size: "text-h6", color: "text-green", children: data })) : null] })] }));
4950
+
4950
4951
  const Blocks = {
4951
4952
  ApplicationForm,
4952
4953
  BenefitsBlock,
@@ -5004,6 +5005,7 @@
5004
5005
  VerticalLayout,
5005
5006
  Video,
5006
5007
  ExchangeRateOffice,
5008
+ RepresentativeOfficeInfo,
5007
5009
  };
5008
5010
 
5009
5011
  const debounce = (fn, delay = 600) => {
@@ -5134,7 +5136,7 @@
5134
5136
  return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto" }) }));
5135
5137
  }
5136
5138
 
5137
- const packageVersion = "0.10.0";
5139
+ const packageVersion = "0.10.2";
5138
5140
 
5139
5141
  exports.Blocks = Blocks;
5140
5142
  exports.ContentPage = ContentPage;