@redneckz/wildless-cms-uni-blocks 0.15.338 → 0.15.340

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 (609) hide show
  1. package/bin/migration-scripts/0.14.213.js +1 -1
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +199 -135
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +4 -1
  6. package/bundle/components/CalculatorCredit/CalculatorCredit.d.ts +1 -2
  7. package/bundle/components/CalculatorCredit/CalculatorCreditContent.d.ts +22 -1
  8. package/bundle/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.d.ts +1 -2
  9. package/bundle/components/CalculatorCredit/defaultCreditCalculatorParams.d.ts +2 -0
  10. package/bundle/components/CalculatorCredit/getCreditCalculatorLimitParams.d.ts +1 -2
  11. package/bundle/components/CalculatorCredit/getCreditCalculatorParams.d.ts +1 -24
  12. package/bundle/components/CalculatorCredit/getCreditCalculatorRateParams.d.ts +1 -2
  13. package/bundle/components/CalculatorDeposit/CalculatorDepositContent.d.ts +1 -1
  14. package/bundle/components/ContentPage/computeAPIFallback.d.ts +1 -2
  15. package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  16. package/bundle/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
  17. package/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
  18. package/bundle/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
  19. package/bundle/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +3 -0
  20. package/bundle/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +7 -0
  21. package/bundle/components/OfficesAtmsMap/useOffices.d.ts +5 -2
  22. package/bundle/components/ProductGallery/ProductGallery.d.ts +1 -1
  23. package/bundle/content-page-repository/ContentPageRepository.d.ts +6 -2
  24. package/bundle/content-page-repository/TransformationOptions.d.ts +1 -0
  25. package/bundle/content-page-repository/copy.d.ts +1 -0
  26. package/bundle/data/FooterData.d.ts +0 -1
  27. package/bundle/data/SitemapData.d.ts +1 -10
  28. package/bundle/icons/IconName.d.ts +4 -2
  29. package/bundle/model/Fallback.d.ts +0 -1
  30. package/bundle/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
  31. package/bundle/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
  32. package/bundle/ui-kit/Heading/HeadingProps.d.ts +1 -3
  33. package/bundle/ui-kit/TabsControl/TabItem.d.ts +1 -2
  34. package/bundle/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
  35. package/bundle/ui-kit/YandexMap/YandexMap.d.ts +1 -1
  36. package/bundle/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
  37. package/bundle/utils/getVersion.d.ts +1 -0
  38. package/cosmos-static/icons/MapMarkerClusterYellowIcon.svg +1 -0
  39. package/cosmos-static/icons/sprites.svg +1 -0
  40. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +4 -1
  41. package/dist/components/CalculatorCredit/CalculatorCredit.d.ts +1 -2
  42. package/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  43. package/dist/components/CalculatorCredit/CalculatorCreditContent.d.ts +22 -1
  44. package/dist/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.d.ts +1 -2
  45. package/dist/components/CalculatorCredit/defaultCreditCalculatorParams.d.ts +2 -0
  46. package/dist/components/CalculatorCredit/defaultCreditCalculatorParams.js +17 -0
  47. package/dist/components/CalculatorCredit/defaultCreditCalculatorParams.js.map +1 -0
  48. package/dist/components/CalculatorCredit/getCreditCalculatorLimitParams.d.ts +1 -2
  49. package/dist/components/CalculatorCredit/getCreditCalculatorLimitParams.js.map +1 -1
  50. package/dist/components/CalculatorCredit/getCreditCalculatorParams.d.ts +1 -24
  51. package/dist/components/CalculatorCredit/getCreditCalculatorParams.js +3 -16
  52. package/dist/components/CalculatorCredit/getCreditCalculatorParams.js.map +1 -1
  53. package/dist/components/CalculatorCredit/getCreditCalculatorRateParams.d.ts +1 -2
  54. package/dist/components/CalculatorCredit/getCreditCalculatorRateParams.js +2 -2
  55. package/dist/components/CalculatorCredit/getCreditCalculatorRateParams.js.map +1 -1
  56. package/dist/components/CalculatorDeposit/CalculatorDepositContent.d.ts +1 -1
  57. package/dist/components/ContactsBlock/ContactsBlock.js +1 -1
  58. package/dist/components/ContentPage/ContentPage.js +1 -1
  59. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  60. package/dist/components/ContentPage/computeAPIFallback.d.ts +1 -2
  61. package/dist/components/ContentPage/computeAPIFallback.js +2 -16
  62. package/dist/components/ContentPage/computeAPIFallback.js.map +1 -1
  63. package/dist/components/Footer/Footer.js +2 -9
  64. package/dist/components/Footer/Footer.js.map +1 -1
  65. package/dist/components/Footer/Footer.mobile.js +1 -9
  66. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  67. package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  68. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  69. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  70. package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
  71. package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +30 -20
  72. package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
  73. package/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
  74. package/dist/components/OfficesAtmsMap/OfficesMap.js +12 -9
  75. package/dist/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  76. package/dist/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
  77. package/dist/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +3 -0
  78. package/dist/components/OfficesAtmsMap/renderDescriptionBlock.js +9 -0
  79. package/dist/components/OfficesAtmsMap/renderDescriptionBlock.js.map +1 -0
  80. package/dist/components/OfficesAtmsMap/renderFiltrationForm.js +2 -1
  81. package/dist/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  82. package/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +7 -0
  83. package/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +35 -0
  84. package/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -0
  85. package/dist/components/OfficesAtmsMap/useOffices.d.ts +5 -2
  86. package/dist/components/OfficesAtmsMap/useOffices.js +4 -2
  87. package/dist/components/OfficesAtmsMap/useOffices.js.map +1 -1
  88. package/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
  89. package/dist/components/ProductGallery/ProductGallery.js +12 -5
  90. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  91. package/dist/components/StickyBottomMenu/BurgerMenuDialog.js +8 -1
  92. package/dist/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  93. package/dist/components/TabsLayout/TabsLayout.js +17 -11
  94. package/dist/components/TabsLayout/TabsLayout.js.map +1 -1
  95. package/dist/components/TabsLayout/renderTabsLayout.js +14 -12
  96. package/dist/components/TabsLayout/renderTabsLayout.js.map +1 -1
  97. package/dist/content-page-repository/ContentPageRepository.d.ts +6 -2
  98. package/dist/content-page-repository/ContentPageRepository.js +27 -5
  99. package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  100. package/dist/content-page-repository/TransformationOptions.d.ts +1 -0
  101. package/dist/content-page-repository/copy.d.ts +1 -0
  102. package/dist/content-page-repository/copy.js +16 -0
  103. package/dist/content-page-repository/copy.js.map +1 -0
  104. package/dist/content-page-repository/transformAttachmentLink.js +8 -7
  105. package/dist/content-page-repository/transformAttachmentLink.js.map +1 -1
  106. package/dist/content-page-repository/transformDocument.js +3 -5
  107. package/dist/content-page-repository/transformDocument.js.map +1 -1
  108. package/dist/content-page-repository/transformImg.js +4 -1
  109. package/dist/content-page-repository/transformImg.js.map +1 -1
  110. package/dist/data/FooterData.d.ts +0 -1
  111. package/dist/data/SitemapData.d.ts +1 -10
  112. package/dist/icons/IconName.d.ts +4 -2
  113. package/dist/icons/IconName.js +3 -1
  114. package/dist/icons/IconName.js.map +1 -1
  115. package/dist/model/Fallback.d.ts +0 -1
  116. package/dist/ui-kit/Badge/Badge.js +1 -3
  117. package/dist/ui-kit/Badge/Badge.js.map +1 -1
  118. package/dist/ui-kit/BaseFiltration/useHotFilters.js +3 -3
  119. package/dist/ui-kit/BaseFiltration/useHotFilters.js.map +1 -1
  120. package/dist/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
  121. package/dist/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
  122. package/dist/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
  123. package/dist/ui-kit/Calculator/renderMonthsInput.js +1 -1
  124. package/dist/ui-kit/Calculator/renderMonthsInput.js.map +1 -1
  125. package/dist/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
  126. package/dist/ui-kit/CookiePopup/CookiePopup.js +2 -2
  127. package/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  128. package/dist/ui-kit/Heading/HeadingProps.d.ts +1 -3
  129. package/dist/ui-kit/TabsControl/ScrollableTabsControl.js +9 -4
  130. package/dist/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
  131. package/dist/ui-kit/TabsControl/TabItem.d.ts +1 -2
  132. package/dist/ui-kit/TabsControl/TabItem.js.map +1 -1
  133. package/dist/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
  134. package/dist/ui-kit/TabsControl/TabItemInner.js +4 -2
  135. package/dist/ui-kit/TabsControl/TabItemInner.js.map +1 -1
  136. package/dist/ui-kit/YandexMap/YandexMap.d.ts +1 -1
  137. package/dist/ui-kit/YandexMap/YandexMap.js +2 -2
  138. package/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  139. package/dist/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
  140. package/dist/ui-kit/YandexMap/renderClusterer.js +33 -14
  141. package/dist/ui-kit/YandexMap/renderClusterer.js.map +1 -1
  142. package/dist/utils/getVersion.d.ts +1 -0
  143. package/dist/utils/getVersion.js +5 -0
  144. package/dist/utils/getVersion.js.map +1 -0
  145. package/lib/common.css +1 -1
  146. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +4 -1
  147. package/lib/components/CalculatorCredit/CalculatorCredit.d.ts +1 -2
  148. package/lib/components/CalculatorCredit/CalculatorCredit.js +1 -1
  149. package/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  150. package/lib/components/CalculatorCredit/CalculatorCreditContent.d.ts +22 -1
  151. package/lib/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.d.ts +1 -2
  152. package/lib/components/CalculatorCredit/defaultCreditCalculatorParams.d.ts +2 -0
  153. package/lib/components/CalculatorCredit/defaultCreditCalculatorParams.js +15 -0
  154. package/lib/components/CalculatorCredit/defaultCreditCalculatorParams.js.map +1 -0
  155. package/lib/components/CalculatorCredit/getCreditCalculatorLimitParams.d.ts +1 -2
  156. package/lib/components/CalculatorCredit/getCreditCalculatorLimitParams.js.map +1 -1
  157. package/lib/components/CalculatorCredit/getCreditCalculatorParams.d.ts +1 -24
  158. package/lib/components/CalculatorCredit/getCreditCalculatorParams.js +1 -14
  159. package/lib/components/CalculatorCredit/getCreditCalculatorParams.js.map +1 -1
  160. package/lib/components/CalculatorCredit/getCreditCalculatorRateParams.d.ts +1 -2
  161. package/lib/components/CalculatorCredit/getCreditCalculatorRateParams.js +1 -1
  162. package/lib/components/CalculatorCredit/getCreditCalculatorRateParams.js.map +1 -1
  163. package/lib/components/CalculatorDeposit/CalculatorDepositContent.d.ts +1 -1
  164. package/lib/components/ContactsBlock/ContactsBlock.js +1 -1
  165. package/lib/components/ContentPage/ContentPage.js +1 -1
  166. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  167. package/lib/components/ContentPage/computeAPIFallback.d.ts +1 -2
  168. package/lib/components/ContentPage/computeAPIFallback.js +2 -16
  169. package/lib/components/ContentPage/computeAPIFallback.js.map +1 -1
  170. package/lib/components/Footer/Footer.js +2 -9
  171. package/lib/components/Footer/Footer.js.map +1 -1
  172. package/lib/components/Footer/Footer.mobile.js +1 -9
  173. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  174. package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  175. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  176. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  177. package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
  178. package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +30 -20
  179. package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
  180. package/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
  181. package/lib/components/OfficesAtmsMap/OfficesMap.js +12 -9
  182. package/lib/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  183. package/lib/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
  184. package/lib/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +2 -0
  185. package/lib/components/OfficesAtmsMap/renderDescriptionBlock.js +6 -0
  186. package/lib/components/OfficesAtmsMap/renderDescriptionBlock.js.map +1 -0
  187. package/lib/components/OfficesAtmsMap/renderFiltrationForm.js +2 -1
  188. package/lib/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  189. package/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +6 -0
  190. package/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +31 -0
  191. package/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -0
  192. package/lib/components/OfficesAtmsMap/useOffices.d.ts +5 -2
  193. package/lib/components/OfficesAtmsMap/useOffices.js +4 -2
  194. package/lib/components/OfficesAtmsMap/useOffices.js.map +1 -1
  195. package/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
  196. package/lib/components/ProductGallery/ProductGallery.js +12 -5
  197. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  198. package/lib/components/StickyBottomMenu/BurgerMenuDialog.js +8 -1
  199. package/lib/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  200. package/lib/components/TabsLayout/TabsLayout.fixture.d.ts +4 -3
  201. package/lib/components/TabsLayout/TabsLayout.fixture.mobile.d.ts +4 -2
  202. package/lib/components/TabsLayout/TabsLayout.js +17 -11
  203. package/lib/components/TabsLayout/TabsLayout.js.map +1 -1
  204. package/lib/components/TabsLayout/renderTabsLayout.js +14 -12
  205. package/lib/components/TabsLayout/renderTabsLayout.js.map +1 -1
  206. package/lib/content-page-repository/ContentPageRepository.d.ts +6 -2
  207. package/lib/content-page-repository/ContentPageRepository.js +26 -4
  208. package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  209. package/lib/content-page-repository/TransformationOptions.d.ts +1 -0
  210. package/lib/content-page-repository/copy.d.ts +1 -0
  211. package/lib/content-page-repository/copy.js +10 -0
  212. package/lib/content-page-repository/copy.js.map +1 -0
  213. package/lib/content-page-repository/transformAttachmentLink.js +8 -7
  214. package/lib/content-page-repository/transformAttachmentLink.js.map +1 -1
  215. package/lib/content-page-repository/transformDocument.js +3 -5
  216. package/lib/content-page-repository/transformDocument.js.map +1 -1
  217. package/lib/content-page-repository/transformImg.js +4 -1
  218. package/lib/content-page-repository/transformImg.js.map +1 -1
  219. package/lib/data/FooterData.d.ts +0 -1
  220. package/lib/data/SitemapData.d.ts +1 -10
  221. package/lib/icons/IconName.d.ts +4 -2
  222. package/lib/icons/IconName.js +3 -1
  223. package/lib/icons/IconName.js.map +1 -1
  224. package/lib/model/Fallback.d.ts +0 -1
  225. package/lib/ui-kit/Badge/Badge.js +1 -3
  226. package/lib/ui-kit/Badge/Badge.js.map +1 -1
  227. package/lib/ui-kit/BaseFiltration/useHotFilters.js +3 -3
  228. package/lib/ui-kit/BaseFiltration/useHotFilters.js.map +1 -1
  229. package/lib/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
  230. package/lib/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
  231. package/lib/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
  232. package/lib/ui-kit/Calculator/renderMonthsInput.js +1 -1
  233. package/lib/ui-kit/Calculator/renderMonthsInput.js.map +1 -1
  234. package/lib/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
  235. package/lib/ui-kit/CookiePopup/CookiePopup.js +2 -2
  236. package/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  237. package/lib/ui-kit/Heading/HeadingProps.d.ts +1 -3
  238. package/lib/ui-kit/TabsControl/ScrollableTabsControl.js +9 -4
  239. package/lib/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
  240. package/lib/ui-kit/TabsControl/TabItem.d.ts +1 -2
  241. package/lib/ui-kit/TabsControl/TabItem.js.map +1 -1
  242. package/lib/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
  243. package/lib/ui-kit/TabsControl/TabItemInner.js +4 -2
  244. package/lib/ui-kit/TabsControl/TabItemInner.js.map +1 -1
  245. package/lib/ui-kit/YandexMap/YandexMap.d.ts +1 -1
  246. package/lib/ui-kit/YandexMap/YandexMap.js +2 -2
  247. package/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  248. package/lib/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
  249. package/lib/ui-kit/YandexMap/renderClusterer.js +32 -13
  250. package/lib/ui-kit/YandexMap/renderClusterer.js.map +1 -1
  251. package/lib/utils/getVersion.d.ts +1 -0
  252. package/lib/utils/getVersion.js +2 -0
  253. package/lib/utils/getVersion.js.map +1 -0
  254. package/mobile/bundle/bundle.umd.js +194 -128
  255. package/mobile/bundle/bundle.umd.min.js +1 -1
  256. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +4 -1
  257. package/mobile/bundle/components/CalculatorCredit/CalculatorCredit.d.ts +1 -2
  258. package/mobile/bundle/components/CalculatorCredit/CalculatorCreditContent.d.ts +22 -1
  259. package/mobile/bundle/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.d.ts +1 -2
  260. package/mobile/bundle/components/CalculatorCredit/defaultCreditCalculatorParams.d.ts +2 -0
  261. package/mobile/bundle/components/CalculatorCredit/getCreditCalculatorLimitParams.d.ts +1 -2
  262. package/mobile/bundle/components/CalculatorCredit/getCreditCalculatorParams.d.ts +1 -24
  263. package/mobile/bundle/components/CalculatorCredit/getCreditCalculatorRateParams.d.ts +1 -2
  264. package/mobile/bundle/components/CalculatorDeposit/CalculatorDepositContent.d.ts +1 -1
  265. package/mobile/bundle/components/ContentPage/computeAPIFallback.d.ts +1 -2
  266. package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  267. package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
  268. package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
  269. package/mobile/bundle/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
  270. package/mobile/bundle/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +3 -0
  271. package/mobile/bundle/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +7 -0
  272. package/mobile/bundle/components/OfficesAtmsMap/useOffices.d.ts +5 -2
  273. package/mobile/bundle/content-page-repository/ContentPageRepository.d.ts +6 -2
  274. package/mobile/bundle/content-page-repository/TransformationOptions.d.ts +1 -0
  275. package/mobile/bundle/content-page-repository/copy.d.ts +1 -0
  276. package/mobile/bundle/data/FooterData.d.ts +0 -1
  277. package/mobile/bundle/data/SitemapData.d.ts +1 -10
  278. package/mobile/bundle/icons/IconName.d.ts +4 -2
  279. package/mobile/bundle/model/Fallback.d.ts +0 -1
  280. package/mobile/bundle/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
  281. package/mobile/bundle/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
  282. package/mobile/bundle/ui-kit/Heading/HeadingProps.d.ts +1 -3
  283. package/mobile/bundle/ui-kit/TabsControl/TabItem.d.ts +1 -2
  284. package/mobile/bundle/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
  285. package/mobile/bundle/ui-kit/YandexMap/YandexMap.d.ts +1 -1
  286. package/mobile/bundle/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
  287. package/mobile/bundle/utils/getVersion.d.ts +1 -0
  288. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +4 -1
  289. package/mobile/dist/components/CalculatorCredit/CalculatorCredit.d.ts +1 -2
  290. package/mobile/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  291. package/mobile/dist/components/CalculatorCredit/CalculatorCreditContent.d.ts +22 -1
  292. package/mobile/dist/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.d.ts +1 -2
  293. package/mobile/dist/components/CalculatorCredit/defaultCreditCalculatorParams.d.ts +2 -0
  294. package/mobile/dist/components/CalculatorCredit/defaultCreditCalculatorParams.js +17 -0
  295. package/mobile/dist/components/CalculatorCredit/defaultCreditCalculatorParams.js.map +1 -0
  296. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorLimitParams.d.ts +1 -2
  297. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorLimitParams.js.map +1 -1
  298. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorParams.d.ts +1 -24
  299. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorParams.js +3 -16
  300. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorParams.js.map +1 -1
  301. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorRateParams.d.ts +1 -2
  302. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorRateParams.js +2 -2
  303. package/mobile/dist/components/CalculatorCredit/getCreditCalculatorRateParams.js.map +1 -1
  304. package/mobile/dist/components/CalculatorDeposit/CalculatorDepositContent.d.ts +1 -1
  305. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +1 -1
  306. package/mobile/dist/components/ContentPage/ContentPage.js +1 -1
  307. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  308. package/mobile/dist/components/ContentPage/computeAPIFallback.d.ts +1 -2
  309. package/mobile/dist/components/ContentPage/computeAPIFallback.js +2 -16
  310. package/mobile/dist/components/ContentPage/computeAPIFallback.js.map +1 -1
  311. package/mobile/dist/components/Footer/Footer.js +1 -9
  312. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  313. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  314. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  315. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  316. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
  317. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +30 -20
  318. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
  319. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
  320. package/mobile/dist/components/OfficesAtmsMap/OfficesMap.js +12 -9
  321. package/mobile/dist/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  322. package/mobile/dist/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
  323. package/mobile/dist/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +3 -0
  324. package/mobile/dist/components/OfficesAtmsMap/renderDescriptionBlock.js +9 -0
  325. package/mobile/dist/components/OfficesAtmsMap/renderDescriptionBlock.js.map +1 -0
  326. package/mobile/dist/components/OfficesAtmsMap/renderFiltrationForm.js +2 -1
  327. package/mobile/dist/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  328. package/mobile/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +7 -0
  329. package/mobile/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +35 -0
  330. package/mobile/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -0
  331. package/mobile/dist/components/OfficesAtmsMap/useOffices.d.ts +5 -2
  332. package/mobile/dist/components/OfficesAtmsMap/useOffices.js +4 -2
  333. package/mobile/dist/components/OfficesAtmsMap/useOffices.js.map +1 -1
  334. package/mobile/dist/components/StickyBottomMenu/BurgerMenuDialog.js +8 -1
  335. package/mobile/dist/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  336. package/mobile/dist/components/TabsLayout/TabsLayout.js +17 -11
  337. package/mobile/dist/components/TabsLayout/TabsLayout.js.map +1 -1
  338. package/mobile/dist/components/TabsLayout/renderTabsLayout.js +14 -12
  339. package/mobile/dist/components/TabsLayout/renderTabsLayout.js.map +1 -1
  340. package/mobile/dist/content-page-repository/ContentPageRepository.d.ts +6 -2
  341. package/mobile/dist/content-page-repository/ContentPageRepository.js +27 -5
  342. package/mobile/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  343. package/mobile/dist/content-page-repository/TransformationOptions.d.ts +1 -0
  344. package/mobile/dist/content-page-repository/copy.d.ts +1 -0
  345. package/mobile/dist/content-page-repository/copy.js +16 -0
  346. package/mobile/dist/content-page-repository/copy.js.map +1 -0
  347. package/mobile/dist/content-page-repository/transformAttachmentLink.js +8 -7
  348. package/mobile/dist/content-page-repository/transformAttachmentLink.js.map +1 -1
  349. package/mobile/dist/content-page-repository/transformDocument.js +3 -5
  350. package/mobile/dist/content-page-repository/transformDocument.js.map +1 -1
  351. package/mobile/dist/content-page-repository/transformImg.js +4 -1
  352. package/mobile/dist/content-page-repository/transformImg.js.map +1 -1
  353. package/mobile/dist/data/FooterData.d.ts +0 -1
  354. package/mobile/dist/data/SitemapData.d.ts +1 -10
  355. package/mobile/dist/icons/IconName.d.ts +4 -2
  356. package/mobile/dist/icons/IconName.js +3 -1
  357. package/mobile/dist/icons/IconName.js.map +1 -1
  358. package/mobile/dist/model/Fallback.d.ts +0 -1
  359. package/mobile/dist/ui-kit/Badge/Badge.js +1 -3
  360. package/mobile/dist/ui-kit/Badge/Badge.js.map +1 -1
  361. package/mobile/dist/ui-kit/BaseFiltration/useHotFilters.js +3 -3
  362. package/mobile/dist/ui-kit/BaseFiltration/useHotFilters.js.map +1 -1
  363. package/mobile/dist/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
  364. package/mobile/dist/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
  365. package/mobile/dist/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
  366. package/mobile/dist/ui-kit/Calculator/renderMonthsInput.js +1 -1
  367. package/mobile/dist/ui-kit/Calculator/renderMonthsInput.js.map +1 -1
  368. package/mobile/dist/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
  369. package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js +2 -2
  370. package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  371. package/mobile/dist/ui-kit/Heading/HeadingProps.d.ts +1 -3
  372. package/mobile/dist/ui-kit/TabsControl/ScrollableTabsControl.js +9 -4
  373. package/mobile/dist/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
  374. package/mobile/dist/ui-kit/TabsControl/TabItem.d.ts +1 -2
  375. package/mobile/dist/ui-kit/TabsControl/TabItem.js.map +1 -1
  376. package/mobile/dist/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
  377. package/mobile/dist/ui-kit/TabsControl/TabItemInner.js +4 -2
  378. package/mobile/dist/ui-kit/TabsControl/TabItemInner.js.map +1 -1
  379. package/mobile/dist/ui-kit/YandexMap/YandexMap.d.ts +1 -1
  380. package/mobile/dist/ui-kit/YandexMap/YandexMap.js +2 -2
  381. package/mobile/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
  382. package/mobile/dist/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
  383. package/mobile/dist/ui-kit/YandexMap/renderClusterer.js +33 -14
  384. package/mobile/dist/ui-kit/YandexMap/renderClusterer.js.map +1 -1
  385. package/mobile/dist/utils/getVersion.d.ts +1 -0
  386. package/mobile/dist/utils/getVersion.js +5 -0
  387. package/mobile/dist/utils/getVersion.js.map +1 -0
  388. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +4 -1
  389. package/mobile/lib/components/CalculatorCredit/CalculatorCredit.d.ts +1 -2
  390. package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js +1 -1
  391. package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  392. package/mobile/lib/components/CalculatorCredit/CalculatorCreditContent.d.ts +22 -1
  393. package/mobile/lib/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.d.ts +1 -2
  394. package/mobile/lib/components/CalculatorCredit/defaultCreditCalculatorParams.d.ts +2 -0
  395. package/mobile/lib/components/CalculatorCredit/defaultCreditCalculatorParams.js +15 -0
  396. package/mobile/lib/components/CalculatorCredit/defaultCreditCalculatorParams.js.map +1 -0
  397. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorLimitParams.d.ts +1 -2
  398. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorLimitParams.js.map +1 -1
  399. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorParams.d.ts +1 -24
  400. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorParams.js +1 -14
  401. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorParams.js.map +1 -1
  402. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorRateParams.d.ts +1 -2
  403. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorRateParams.js +1 -1
  404. package/mobile/lib/components/CalculatorCredit/getCreditCalculatorRateParams.js.map +1 -1
  405. package/mobile/lib/components/CalculatorDeposit/CalculatorDepositContent.d.ts +1 -1
  406. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +1 -1
  407. package/mobile/lib/components/ContentPage/ContentPage.js +1 -1
  408. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  409. package/mobile/lib/components/ContentPage/computeAPIFallback.d.ts +1 -2
  410. package/mobile/lib/components/ContentPage/computeAPIFallback.js +2 -16
  411. package/mobile/lib/components/ContentPage/computeAPIFallback.js.map +1 -1
  412. package/mobile/lib/components/Footer/Footer.js +1 -9
  413. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  414. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  415. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  416. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  417. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +5 -2
  418. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +30 -20
  419. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
  420. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +15 -0
  421. package/mobile/lib/components/OfficesAtmsMap/OfficesMap.js +12 -9
  422. package/mobile/lib/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
  423. package/mobile/lib/components/OfficesAtmsMap/YandexMapProps.d.ts +1 -0
  424. package/mobile/lib/components/OfficesAtmsMap/renderDescriptionBlock.d.ts +3 -0
  425. package/mobile/lib/components/OfficesAtmsMap/renderDescriptionBlock.js +6 -0
  426. package/mobile/lib/components/OfficesAtmsMap/renderDescriptionBlock.js.map +1 -0
  427. package/mobile/lib/components/OfficesAtmsMap/renderFiltrationForm.js +2 -1
  428. package/mobile/lib/components/OfficesAtmsMap/renderFiltrationForm.js.map +1 -1
  429. package/mobile/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.d.ts +7 -0
  430. package/mobile/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +31 -0
  431. package/mobile/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -0
  432. package/mobile/lib/components/OfficesAtmsMap/useOffices.d.ts +5 -2
  433. package/mobile/lib/components/OfficesAtmsMap/useOffices.js +4 -2
  434. package/mobile/lib/components/OfficesAtmsMap/useOffices.js.map +1 -1
  435. package/mobile/lib/components/StickyBottomMenu/BurgerMenuDialog.js +8 -1
  436. package/mobile/lib/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  437. package/mobile/lib/components/TabsLayout/TabsLayout.js +17 -11
  438. package/mobile/lib/components/TabsLayout/TabsLayout.js.map +1 -1
  439. package/mobile/lib/components/TabsLayout/renderTabsLayout.js +14 -12
  440. package/mobile/lib/components/TabsLayout/renderTabsLayout.js.map +1 -1
  441. package/mobile/lib/content-page-repository/ContentPageRepository.d.ts +6 -2
  442. package/mobile/lib/content-page-repository/ContentPageRepository.js +26 -4
  443. package/mobile/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  444. package/mobile/lib/content-page-repository/TransformationOptions.d.ts +1 -0
  445. package/mobile/lib/content-page-repository/copy.d.ts +1 -0
  446. package/mobile/lib/content-page-repository/copy.js +10 -0
  447. package/mobile/lib/content-page-repository/copy.js.map +1 -0
  448. package/mobile/lib/content-page-repository/transformAttachmentLink.js +8 -7
  449. package/mobile/lib/content-page-repository/transformAttachmentLink.js.map +1 -1
  450. package/mobile/lib/content-page-repository/transformDocument.js +3 -5
  451. package/mobile/lib/content-page-repository/transformDocument.js.map +1 -1
  452. package/mobile/lib/content-page-repository/transformImg.js +4 -1
  453. package/mobile/lib/content-page-repository/transformImg.js.map +1 -1
  454. package/mobile/lib/data/FooterData.d.ts +0 -1
  455. package/mobile/lib/data/SitemapData.d.ts +1 -10
  456. package/mobile/lib/icons/IconName.d.ts +4 -2
  457. package/mobile/lib/icons/IconName.js +3 -1
  458. package/mobile/lib/icons/IconName.js.map +1 -1
  459. package/mobile/lib/model/Fallback.d.ts +0 -1
  460. package/mobile/lib/ui-kit/Badge/Badge.js +1 -3
  461. package/mobile/lib/ui-kit/Badge/Badge.js.map +1 -1
  462. package/mobile/lib/ui-kit/BaseFiltration/useHotFilters.js +3 -3
  463. package/mobile/lib/ui-kit/BaseFiltration/useHotFilters.js.map +1 -1
  464. package/mobile/lib/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
  465. package/mobile/lib/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
  466. package/mobile/lib/ui-kit/Calculator/renderMonthsInput.d.ts +1 -1
  467. package/mobile/lib/ui-kit/Calculator/renderMonthsInput.js +1 -1
  468. package/mobile/lib/ui-kit/Calculator/renderMonthsInput.js.map +1 -1
  469. package/mobile/lib/ui-kit/CookiePopup/CookiePopup.d.ts +1 -0
  470. package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js +2 -2
  471. package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
  472. package/mobile/lib/ui-kit/Heading/HeadingProps.d.ts +1 -3
  473. package/mobile/lib/ui-kit/TabsControl/ScrollableTabsControl.js +9 -4
  474. package/mobile/lib/ui-kit/TabsControl/ScrollableTabsControl.js.map +1 -1
  475. package/mobile/lib/ui-kit/TabsControl/TabItem.d.ts +1 -2
  476. package/mobile/lib/ui-kit/TabsControl/TabItem.js.map +1 -1
  477. package/mobile/lib/ui-kit/TabsControl/TabItemInner.d.ts +1 -0
  478. package/mobile/lib/ui-kit/TabsControl/TabItemInner.js +4 -2
  479. package/mobile/lib/ui-kit/TabsControl/TabItemInner.js.map +1 -1
  480. package/mobile/lib/ui-kit/YandexMap/YandexMap.d.ts +1 -1
  481. package/mobile/lib/ui-kit/YandexMap/YandexMap.js +2 -2
  482. package/mobile/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
  483. package/mobile/lib/ui-kit/YandexMap/renderClusterer.d.ts +5 -1
  484. package/mobile/lib/ui-kit/YandexMap/renderClusterer.js +32 -13
  485. package/mobile/lib/ui-kit/YandexMap/renderClusterer.js.map +1 -1
  486. package/mobile/lib/utils/getVersion.d.ts +1 -0
  487. package/mobile/lib/utils/getVersion.js +2 -0
  488. package/mobile/lib/utils/getVersion.js.map +1 -0
  489. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +4 -1
  490. package/mobile/src/components/CalculatorCredit/CalculatorCredit.tsx +3 -5
  491. package/mobile/src/components/CalculatorCredit/CalculatorCreditContent.ts +31 -0
  492. package/mobile/src/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.ts +2 -2
  493. package/mobile/src/components/CalculatorCredit/defaultCreditCalculatorParams.ts +19 -0
  494. package/mobile/src/components/CalculatorCredit/getCreditCalculatorLimitParams.ts +3 -3
  495. package/mobile/src/components/CalculatorCredit/getCreditCalculatorParams.ts +7 -53
  496. package/mobile/src/components/CalculatorCredit/getCreditCalculatorRateParams.ts +4 -4
  497. package/mobile/src/components/CalculatorDeposit/CalculatorDepositContent.ts +1 -1
  498. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  499. package/mobile/src/components/ContactsBlock/ContactsBlock.ui.json +36 -1
  500. package/mobile/src/components/ContentPage/ContentPage.tsx +1 -0
  501. package/mobile/src/components/ContentPage/computeAPIFallback.ts +3 -35
  502. package/mobile/src/components/Footer/Footer.tsx +0 -16
  503. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  504. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +0 -4
  505. package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx +37 -47
  506. package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +15 -0
  507. package/mobile/src/components/OfficesAtmsMap/OfficesMap.tsx +28 -12
  508. package/mobile/src/components/OfficesAtmsMap/YandexMapProps.ts +1 -0
  509. package/mobile/src/components/OfficesAtmsMap/renderDescriptionBlock.tsx +29 -0
  510. package/mobile/src/components/OfficesAtmsMap/renderFiltrationForm.tsx +2 -1
  511. package/mobile/src/components/OfficesAtmsMap/renderRemoteWorkplaceCard.tsx +86 -0
  512. package/mobile/src/components/OfficesAtmsMap/useOffices.ts +11 -4
  513. package/mobile/src/components/StickyBottomMenu/BurgerMenuDialog.tsx +9 -1
  514. package/mobile/src/components/TabsLayout/TabsLayout.tsx +21 -11
  515. package/mobile/src/components/TabsLayout/renderTabsLayout.tsx +24 -20
  516. package/mobile/src/content-page-repository/ContentPageRepository.ts +36 -4
  517. package/mobile/src/content-page-repository/TransformationOptions.ts +1 -0
  518. package/mobile/src/content-page-repository/copy.ts +11 -0
  519. package/mobile/src/content-page-repository/transformAttachmentLink.ts +7 -8
  520. package/mobile/src/content-page-repository/transformDocument.ts +3 -5
  521. package/mobile/src/content-page-repository/transformImg.ts +6 -1
  522. package/mobile/src/data/FooterData.ts +0 -1
  523. package/mobile/src/data/SitemapData.ts +1 -11
  524. package/mobile/src/icons/IconName.ts +5 -5
  525. package/mobile/src/icons/MapMarkerClusterYellowIcon.svg +1 -0
  526. package/mobile/src/model/Fallback.ts +0 -1
  527. package/mobile/src/ui-kit/Badge/Badge.tsx +13 -15
  528. package/mobile/src/ui-kit/BaseFiltration/useHotFilters.tsx +3 -7
  529. package/mobile/src/ui-kit/BenefitItem/renderBenefitIcon.tsx +1 -1
  530. package/mobile/src/ui-kit/Calculator/renderMonthsInput.tsx +2 -2
  531. package/mobile/src/ui-kit/CookiePopup/CookiePopup.tsx +52 -42
  532. package/mobile/src/ui-kit/Heading/HeadingProps.ts +1 -3
  533. package/mobile/src/ui-kit/TabsControl/ScrollableTabsControl.tsx +13 -16
  534. package/mobile/src/ui-kit/TabsControl/TabItem.tsx +1 -2
  535. package/mobile/src/ui-kit/TabsControl/TabItemInner.tsx +9 -2
  536. package/mobile/src/ui-kit/YandexMap/YandexMap.tsx +3 -3
  537. package/mobile/src/ui-kit/YandexMap/renderClusterer.ts +62 -16
  538. package/mobile/src/utils/getVersion.ts +1 -0
  539. package/package.json +1 -1
  540. package/src/components/ApplicationForm/ApplicationFormContent.ts +4 -1
  541. package/src/components/CalculatorCredit/CalculatorCredit.tsx +3 -5
  542. package/src/components/CalculatorCredit/CalculatorCreditContent.ts +31 -0
  543. package/src/components/CalculatorCredit/checkCreditSourceBookRowCommonParams.ts +2 -2
  544. package/src/components/CalculatorCredit/defaultCreditCalculatorParams.ts +19 -0
  545. package/src/components/CalculatorCredit/getCreditCalculatorLimitParams.ts +3 -3
  546. package/src/components/CalculatorCredit/getCreditCalculatorParams.ts +7 -53
  547. package/src/components/CalculatorCredit/getCreditCalculatorRateParams.ts +4 -4
  548. package/src/components/CalculatorDeposit/CalculatorDepositContent.ts +1 -1
  549. package/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
  550. package/src/components/ContactsBlock/ContactsBlock.ui.json +36 -1
  551. package/src/components/ContentPage/ContentPage.tsx +1 -0
  552. package/src/components/ContentPage/computeAPIFallback.ts +3 -35
  553. package/src/components/Footer/Footer.mobile.tsx +0 -16
  554. package/src/components/Footer/Footer.tsx +0 -19
  555. package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
  556. package/src/components/MobileAppTile/MobileAppTileContent.ts +0 -4
  557. package/src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx +37 -47
  558. package/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +15 -0
  559. package/src/components/OfficesAtmsMap/OfficesMap.tsx +28 -12
  560. package/src/components/OfficesAtmsMap/YandexMapProps.ts +1 -0
  561. package/src/components/OfficesAtmsMap/renderDescriptionBlock.tsx +29 -0
  562. package/src/components/OfficesAtmsMap/renderFiltrationForm.tsx +2 -1
  563. package/src/components/OfficesAtmsMap/renderRemoteWorkplaceCard.tsx +86 -0
  564. package/src/components/OfficesAtmsMap/useOffices.ts +11 -4
  565. package/src/components/ProductGallery/ProductGallery.tsx +37 -7
  566. package/src/components/StickyBottomMenu/BurgerMenuDialog.tsx +9 -1
  567. package/src/components/TabsLayout/TabsLayout.fixture.mobile.tsx +70 -24
  568. package/src/components/TabsLayout/TabsLayout.fixture.tsx +33 -29
  569. package/src/components/TabsLayout/TabsLayout.tsx +21 -11
  570. package/src/components/TabsLayout/renderTabsLayout.tsx +24 -20
  571. package/src/content-page-repository/ContentPageRepository.ts +36 -4
  572. package/src/content-page-repository/TransformationOptions.ts +1 -0
  573. package/src/content-page-repository/copy.ts +11 -0
  574. package/src/content-page-repository/transformAttachmentLink.ts +7 -8
  575. package/src/content-page-repository/transformDocument.ts +3 -5
  576. package/src/content-page-repository/transformImg.ts +6 -1
  577. package/src/data/FooterData.ts +0 -1
  578. package/src/data/SitemapData.ts +1 -11
  579. package/src/icons/IconName.ts +5 -5
  580. package/src/icons/MapMarkerClusterYellowIcon.svg +1 -0
  581. package/src/model/Fallback.ts +0 -1
  582. package/src/ui-kit/Badge/Badge.tsx +13 -15
  583. package/src/ui-kit/BaseFiltration/useHotFilters.tsx +3 -7
  584. package/src/ui-kit/BenefitItem/renderBenefitIcon.tsx +1 -1
  585. package/src/ui-kit/Calculator/renderMonthsInput.tsx +2 -2
  586. package/src/ui-kit/CookiePopup/CookiePopup.tsx +52 -42
  587. package/src/ui-kit/Heading/HeadingProps.ts +1 -3
  588. package/src/ui-kit/TabsControl/ScrollableTabsControl.tsx +13 -16
  589. package/src/ui-kit/TabsControl/TabItem.tsx +1 -2
  590. package/src/ui-kit/TabsControl/TabItemInner.tsx +9 -2
  591. package/src/ui-kit/YandexMap/YandexMap.tsx +3 -3
  592. package/src/ui-kit/YandexMap/renderClusterer.ts +62 -16
  593. package/src/utils/getVersion.ts +1 -0
  594. package/bundle/components/ContentPage/loadModuleFallback.d.ts +0 -2
  595. package/dist/components/ContentPage/loadModuleFallback.d.ts +0 -2
  596. package/dist/components/ContentPage/loadModuleFallback.js +0 -36
  597. package/dist/components/ContentPage/loadModuleFallback.js.map +0 -1
  598. package/lib/components/ContentPage/loadModuleFallback.d.ts +0 -2
  599. package/lib/components/ContentPage/loadModuleFallback.js +0 -10
  600. package/lib/components/ContentPage/loadModuleFallback.js.map +0 -1
  601. package/mobile/bundle/components/ContentPage/loadModuleFallback.d.ts +0 -2
  602. package/mobile/dist/components/ContentPage/loadModuleFallback.d.ts +0 -2
  603. package/mobile/dist/components/ContentPage/loadModuleFallback.js +0 -36
  604. package/mobile/dist/components/ContentPage/loadModuleFallback.js.map +0 -1
  605. package/mobile/lib/components/ContentPage/loadModuleFallback.d.ts +0 -2
  606. package/mobile/lib/components/ContentPage/loadModuleFallback.js +0 -10
  607. package/mobile/lib/components/ContentPage/loadModuleFallback.js.map +0 -1
  608. package/mobile/src/components/ContentPage/loadModuleFallback.ts +0 -11
  609. package/src/components/ContentPage/loadModuleFallback.ts +0 -11
@@ -578,7 +578,7 @@
578
578
 
579
579
  const deviation = (items) => items?.length ? Math.sqrt(Math.abs(avg(items.map((_) => _ ** 2)) - avg(items) ** 2)) : 0;
580
580
 
581
- const renderBenefitIcon = (icon, benefitsVersion = 'normal') => icon ? (jsx("div", { className: style('sm:w-12 sm:h-12 sm:min-w-12 w-11 h-11 min-w-11 box-border flex items-center justify-center rounded-icon', benefitsVersion === 'normal'
581
+ const renderBenefitIcon = (icon, benefitsVersion = 'normal') => icon?.icon || icon?.src ? (jsx("div", { className: style('sm:w-12 sm:h-12 sm:min-w-12 w-11 h-11 min-w-11 box-border flex items-center justify-center rounded-icon', benefitsVersion === 'normal'
582
582
  ? 'bg-secondary-light text-primary-main'
583
583
  : 'bg-primary-main text-black group-data-secondary:bg-white/30 group-data-secondary:text-black'), children: jsx(Img, { className: "w-6 h-6", image: { ...icon, iconVersion: icon.iconVersion || benefitsVersion } }) })) : null;
584
584
 
@@ -2157,7 +2157,7 @@
2157
2157
  /** @deprecated */
2158
2158
  const ScrollRightButton = JSX((props) => (jsx(ArrowButton, { ...props, className: `${props.className || ''} rotate-180`, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E", "data-block-control": "scroll-right" })));
2159
2159
 
2160
- const scrollButtonStyle$1 = 'absolute top-[calc(50%-24px)] z-40';
2160
+ const scrollButtonStyle$2 = 'absolute top-[calc(50%-24px)] z-40';
2161
2161
  const blurBaseStyle = 'absolute top-0 bottom-0 z-40 hidden @lg:block w-20 pointer-events-none';
2162
2162
  const CarouselScrollButtons = JSX(({ scroll, activeIndex, itemCount, arrowsPadded, hasEdgeBlocks, onScrollLeft, onScrollRight, }) => {
2163
2163
  const { canScrollLeft, canScrollRight, scrollLeft, scrollRight } = scroll;
@@ -2181,7 +2181,7 @@
2181
2181
  onScrollRight();
2182
2182
  }
2183
2183
  }, [scrollRight, onScrollRight, hasEdgeBlocks, canScrollLeft, activeIndex, itemCount]);
2184
- return (jsxs("div", { className: "m:hidden block", children: [renderBlur(scroll), canMoveLeft ? (jsx(ScrollLeftButton, { className: style(scrollButtonStyle$1, arrowsPadded ? 'left-1 m:left-8' : 'left-0'), onClick: handleScrollLeft })) : null, canMoveRight ? (jsx(ScrollRightButton, { className: style(scrollButtonStyle$1, arrowsPadded ? 'right-1 m:right-8' : 'right-0'), onClick: handleScrollRight })) : null] }));
2184
+ return (jsxs("div", { className: "m:hidden block", children: [renderBlur(scroll), canMoveLeft ? (jsx(ScrollLeftButton, { className: style(scrollButtonStyle$2, arrowsPadded ? 'left-1 m:left-8' : 'left-0'), onClick: handleScrollLeft })) : null, canMoveRight ? (jsx(ScrollRightButton, { className: style(scrollButtonStyle$2, arrowsPadded ? 'right-1 m:right-8' : 'right-0'), onClick: handleScrollRight })) : null] }));
2185
2185
  });
2186
2186
  const renderBlur = (scroll) => (jsxs("div", { children: [scroll.canScrollLeft ? (jsx("div", { className: style(blurBaseStyle, 'left-0 bg-opacity-from-white group-data-secondary:bg-none') })) : null, scroll.canScrollRight ? (jsx("div", { className: style(blurBaseStyle, 'right-0 bg-opacity-to-white group-data-secondary:bg-none') })) : null] }));
2187
2187
 
@@ -2816,6 +2816,20 @@
2816
2816
  }
2817
2817
  };
2818
2818
 
2819
+ const DEFAULT_MIN_SUM$2 = 10000;
2820
+ const DEFAULT_MAX_SUM$1 = 5000000;
2821
+ const DEFAULT_CREDIT_CALCULATOR_PARAMS = {
2822
+ minSum: DEFAULT_MIN_SUM$2,
2823
+ maxSum: DEFAULT_MAX_SUM$1,
2824
+ minMonths: DEFAULT_MIN_MONTHS,
2825
+ maxMonths: DEFAULT_MAX_MONTHS,
2826
+ rate: 0,
2827
+ isSalaryClient: false,
2828
+ isPensionClient: false,
2829
+ isStateEmployee: false,
2830
+ isInsurance: true,
2831
+ };
2832
+
2819
2833
  const checkCreditSourceBookRowCommonParams = (props) => checkRowParam$1({
2820
2834
  ...props,
2821
2835
  fieldKey: 'isSalaryClient',
@@ -2855,19 +2869,6 @@
2855
2869
  checkRangeByKeys(moneyValue, ['minSum', 'maxSum'], row) &&
2856
2870
  checkRangeByKeys(monthsValue, ['minMonths', 'maxMonths'], row)) || DEFAULT_CREDIT_CALCULATOR_PARAMS;
2857
2871
 
2858
- const DEFAULT_MIN_SUM$2 = 10000;
2859
- const DEFAULT_MAX_SUM$1 = 5000000;
2860
- const DEFAULT_CREDIT_CALCULATOR_PARAMS = {
2861
- minSum: DEFAULT_MIN_SUM$2,
2862
- maxSum: DEFAULT_MAX_SUM$1,
2863
- minMonths: DEFAULT_MIN_MONTHS,
2864
- maxMonths: DEFAULT_MAX_MONTHS,
2865
- rate: 0,
2866
- isSalaryClient: false,
2867
- isPensionClient: false,
2868
- isStateEmployee: false,
2869
- isInsurance: true,
2870
- };
2871
2872
  const getCreditCalculatorParams = (userInputParams, calcSource, paramsViewSettings) => {
2872
2873
  const { moneyValue, monthsValue } = userInputParams;
2873
2874
  const rateRows = calcSource?.rateRows || [DEFAULT_CREDIT_CALCULATOR_PARAMS];
@@ -3509,7 +3510,7 @@
3509
3510
 
3510
3511
  const ContactsBlock = JSX(({ className, contacts, info, version = 'secondary', ...rest }) => (jsxs(BlockWrapper, { className: style('flex', className), defaultPadding: "p-6xl", version: version, ...rest, children: [info?.length ? renderBlocks(info) : null, contacts?.length ? renderBlocks(contacts) : null] })));
3511
3512
  const renderBlocks = (info) => (jsx("div", { className: "flex gap-5xl grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index })) }));
3512
- const renderBlocksColumn = ({ column, index }) => column ? (jsx("div", { className: "flex flex-col gap-xl grow basis-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => (jsxs("div", { children: [jsx(Headline, { title: title, description: description, headlineVersion: "XS", align: "text-left", isEmbedded: true }), additionalDescription ? (jsx("div", { className: "mt-xs opacity-80", children: jsx(Paragraph, { size: "text-m", font: "font-light", children: additionalDescription }) })) : null, button?.href ? jsx(LinkButton, { className: "mt-xl", ...button }) : null] }, String(key)))) }, `col-${String(index)}`)) : null;
3513
+ const renderBlocksColumn = ({ column, index }) => column ? (jsx("div", { className: "flex flex-col gap-xl grow basis-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => (jsxs("div", { children: [jsx(Headline, { title: title, description: description, headlineVersion: "XS", align: "text-left", isEmbedded: true }), additionalDescription ? (jsx("div", { className: "mt-xs opacity-80", children: jsx(Paragraph, { size: "text-m", font: "font-light", children: additionalDescription }) })) : null, button?.text ? jsx(LinkButton, { className: "mt-xl", ...button }) : null] }, String(key)))) }, `col-${String(index)}`)) : null;
3513
3514
 
3514
3515
  const isRateRow = (rateRow) => {
3515
3516
  return typeof rateRow?.minMonths === 'number' && typeof rateRow?.maxMonths === 'number';
@@ -4111,14 +4112,6 @@
4111
4112
  });
4112
4113
  const isQueryLongEnough = (_) => _ && _.length >= MIN_QUERY_LEN;
4113
4114
 
4114
- const mapCookie = (name, mapper) => {
4115
- const cookies = globalThis.document?.cookie.split(';') ?? [];
4116
- const [, value] = cookies.map((_) => _.split('=')).find(([key]) => key.trim() === name) || [];
4117
- if (mapper(value)) {
4118
- globalThis.document.cookie = `${name}=${mapper(value)}`;
4119
- }
4120
- };
4121
-
4122
4115
  const Contacts = JSX(({ className = '', items = [] }) => items?.length ? (jsx("div", { className: style('space-y-m', className), children: items.map(renderContactsGroup) })) : null);
4123
4116
  const renderContactsGroup = (item, i) => (jsxs("div", { className: "space-y-m", children: [jsx("div", { children: jsx(Text, { size: "text-l", font: "font-medium", children: item?.title }) }), jsx("div", { className: "space-y-m", children: item.items?.map(renderContact) })] }, String(i)));
4124
4117
  const renderContact = (item, index) => (jsxs("div", { className: "space-y-2xs", children: [jsx("div", { children: renderText(item.type, item.text) }), jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: item.description })] }, String(index)));
@@ -4134,8 +4127,6 @@
4134
4127
  };
4135
4128
  const formatTel = (s) => s.replaceAll(/\D/g, '');
4136
4129
 
4137
- const COOKIE_REPLACE = ['split_version', 'New', 'Old'];
4138
-
4139
4130
  const horizontalNavigationLinkStyles = 'text-secondary-text';
4140
4131
 
4141
4132
  const HorizontalNavigationLink = JSX(({ className = '', index, text, ...rest }) => {
@@ -4159,13 +4150,9 @@
4159
4150
  const sitemap = rest.options?.page?.sitemap ?? {};
4160
4151
  const { logo } = sitemap;
4161
4152
  const { dataFooter, ...logoProps } = logo ?? {};
4162
- const { documents, relatedEnterprises, contacts, mediaLinks = [], feedbackButton, isOldVersionButton, license, otherLinks = [], } = footer ?? {};
4163
- const handleOnClick = useCallback(() => {
4164
- const [name, oldValue, newValue] = COOKIE_REPLACE;
4165
- mapCookie(name, (value) => value?.replace(oldValue, newValue));
4166
- }, []);
4153
+ const { documents, relatedEnterprises, contacts, mediaLinks = [], feedbackButton, license, otherLinks = [], } = footer ?? {};
4167
4154
  const linkStyle = '!text-left text-s font-light';
4168
- return (jsxs(BlockWrapper, { tag: "footer", className: style('space-y-xl', className), ...rest, children: [jsxs("div", { className: "flex items-stretch gap-3xl", children: [jsx(Logo, { className: LEFT_COL_WIDTH, logo: logoProps, data: dataFooter }), jsx(SearchBar$1, { className: "grow", ...sitemap })] }), jsxs("div", { className: "flex items-center @lg:items-stretch gap-6xl flex-col @lg:flex-row", children: [jsxs("div", { className: style(LEFT_COL_WIDTH, 'flex flex-col shrink-0 overflow-hidden space-y-xl'), children: [jsx(Contacts, { items: contacts }), feedbackButton ? (jsx(LinkButton, { className: "w-full", version: "primary", ...feedbackButton })) : null, mediaLinks.map((_, i) => (jsx(SocialMedia, { media: _?.links ?? [], showButtonText: false, children: _?.title }, String(i)))), isOldVersionButton ? (jsx(LinkButton, { version: "link", href: "https://old.rshb.ru", className: linkStyle, onClick: handleOnClick, children: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430 \u043F\u0440\u0435\u0436\u043D\u044E\u044E \u0432\u0435\u0440\u0441\u0438\u044E \u0441\u0430\u0439\u0442\u0430" })) : null, otherLinks.map((_, i) => (jsx(LinkButton, { className: linkStyle, version: "link", ..._, children: _?.text }, String(i))))] }), jsx(Sitemap, { className: "flex-grow flex-wrap", ...sitemap })] }), jsx(HorizontalNavigation, { links: relatedEnterprises }), jsx(TextInformation, { links: documents, license: license })] }));
4155
+ return (jsxs(BlockWrapper, { tag: "footer", className: style('space-y-xl', className), ...rest, children: [jsxs("div", { className: "flex items-stretch gap-3xl", children: [jsx(Logo, { className: LEFT_COL_WIDTH, logo: logoProps, data: dataFooter }), jsx(SearchBar$1, { className: "grow", ...sitemap })] }), jsxs("div", { className: "flex items-center @lg:items-stretch gap-6xl flex-col @lg:flex-row", children: [jsxs("div", { className: style(LEFT_COL_WIDTH, 'flex flex-col shrink-0 overflow-hidden space-y-xl'), children: [jsx(Contacts, { items: contacts }), feedbackButton ? (jsx(LinkButton, { className: "w-full", version: "primary", ...feedbackButton })) : null, mediaLinks.map((_, i) => (jsx(SocialMedia, { media: _?.links ?? [], showButtonText: false, children: _?.title }, String(i)))), otherLinks.map((_, i) => (jsx(LinkButton, { className: linkStyle, version: "link", ..._, children: _?.text }, String(i))))] }), jsx(Sitemap, { className: "flex-grow flex-wrap", ...sitemap })] }), jsx(HorizontalNavigation, { links: relatedEnterprises }), jsx(TextInformation, { links: documents, license: license })] }));
4169
4156
  });
4170
4157
 
4171
4158
  const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (jsxs(BlockWrapper, { className: style('space-y-m', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, headlineVersion: "M", isEmbedded: true }), calendar ? renderCalendar(calendar) : null] })));
@@ -4668,23 +4655,13 @@
4668
4655
  return docFormat.includes('/') ? docFormat.replace(regexp, '') : docFormat;
4669
4656
  };
4670
4657
 
4671
- const MobileAppTile = UniBlock(({ className, padding, align = 'text-left', buttons = [], description, image, items, qr, headingType, additionalDescription = '', title = 'Мобильное приложение', version = 'primary', ...rest }) => {
4658
+ const MobileAppTile = UniBlock(({ className, padding, align = 'text-left', buttons = [], description, image, items, headingType, qr, additionalDescription = '', title = 'Мобильное приложение', version = 'primary', ...rest }) => {
4672
4659
  const containerStyle = version === 'secondary' ? 'p-m min-w-32' : 'min-w-24';
4673
4660
  const img = image?.src ? jsx(Img, { className: "hidden lg:block", image: image }) : null;
4674
4661
  return (jsx(BlockWrapper, { className: style('min-h-80', className), padding: "p-0", version: version, ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-6xl", title: jsx(Heading, { headingType: headingType, title: title, className: style('whitespace-pre-wrap', align) }), rightImage: img, buttons: renderButtonsSection(buttons, { className: 'flex-wrap' }), children: [description ? (jsx(Text, { size: "text-xl", "font-weight": "font-light", children: description })) : null, jsxs("div", { className: style('gap-m', 'flex flex-1 flex-col', 'flex-col items-start @xl:flex-row @xl:items-center'), children: [jsx(List, { items: items, listItemSize: "M" }), jsx(Text, { size: "text-m", "font-weight": "font-light", color: "text-secondary-text", children: additionalDescription }), qr?.src ? (jsx("div", { className: style('flex justify-center bg-white rounded-md @xl:-order-1', containerStyle), children: jsx(Img, { className: "w-fit", image: qr }) })) : null, image?.src ? jsx(Img, { className: "lg:hidden", image: image }) : null] })] }) }));
4675
4662
  });
4676
4663
 
4677
- const badgeBgStyleMap = {
4678
- primary: 'bg-white/30',
4679
- secondary: 'bg-main-divider',
4680
- };
4681
- const badgeTextColorStyleMap = {
4682
- primary: 'text-white',
4683
- secondary: 'text-secondary-text',
4684
- };
4685
- const Badge$1 = JSX(({ count, version = 'secondary' }) => {
4686
- return (jsx("div", { className: style('w-6 h-6 rounded-full flex items-center justify-center', badgeBgStyleMap[version]), role: "status", children: jsx(Text, { size: "text-xs", color: badgeTextColorStyleMap[version], children: count }) }));
4687
- });
4664
+ const getVersion = (isPrimary) => (isPrimary ? 'primary' : 'secondary');
4688
4665
 
4689
4666
  const getBadgeCount = (blocks = [], filter = {}) => blocks.filter(({ content = {} }) => targetMatchPattern(filter, content)).length;
4690
4667
 
@@ -4707,7 +4684,8 @@
4707
4684
  const activeItemIndex = useMemo(() => Math.max(0, hotFilters.findIndex((_) => hotFilterRecordCmp(_.filter, filtrationState))), [hotFilters, filtrationState]);
4708
4685
  const items = useMemo(() => hotFilters.map((_) => ({
4709
4686
  text: _.text,
4710
- appendRight: (jsx(Badge$1, { version: _ === hotFilters[activeItemIndex] ? 'primary' : 'secondary', count: getBadgeCount(blocks, _.filter) })),
4687
+ count: getBadgeCount(blocks, _.filter),
4688
+ version: getVersion(_ === hotFilters[activeItemIndex]),
4711
4689
  })), [hotFilters, blocks, activeItemIndex]);
4712
4690
  const handleChange = useCallback((_) => {
4713
4691
  onFiltrationStateChange(hotFilters[items.indexOf(_)].filter);
@@ -4719,6 +4697,16 @@
4719
4697
  };
4720
4698
  };
4721
4699
 
4700
+ const badgeBgStyleMap = {
4701
+ primary: 'bg-white/30',
4702
+ secondary: 'bg-main-divider',
4703
+ };
4704
+ const badgeTextColorStyleMap = {
4705
+ primary: 'text-white',
4706
+ secondary: 'text-secondary-text',
4707
+ };
4708
+ const Badge$1 = JSX(({ count, version = 'secondary' }) => (jsx("div", { className: style('w-6 h-6 rounded-full flex items-center justify-center', badgeBgStyleMap[version]), role: "status", children: jsx(Text, { size: "text-xs", color: badgeTextColorStyleMap[version], children: count }) })));
4709
+
4722
4710
  const getButtonClassNames = (isActive) => ({
4723
4711
  btn: `w-96 ${isActive ? 'p-m border-none bg-primary-main text-white' : 'p-s ease-in duration-300 bg-white'}`,
4724
4712
  text: isActive ? 'mb-xs text-xl' : 'mb-2xs text-l text-primary-text',
@@ -4759,14 +4747,14 @@
4759
4747
  };
4760
4748
  const TabItemInner = JSX(({ tag = 'div', item = {}, isActive = false, type = 'default', onClick }) => {
4761
4749
  const Tag = tag;
4762
- const { text, description, icon, appendRight, ...link } = item;
4750
+ const { text, description, icon, count, ...link } = item;
4763
4751
  return (jsx(Tag, { className: style('h-12', 'block flex-1', 'cursor-pointer', tabPaddingStyleMap[type], isActive ? activeTabBgStyleMap[type] : tabBgStyleMap[type]), role: "tablist", onClick: onClick, ...link, children: jsxs("div", { className: style('h-full', 'flex justify-center items-center', 'text-center whitespace-nowrap', isActive ? activeTabTextStyleMap[type] : tabTextStyle), children: [renderTabItemInner({
4764
4752
  text,
4765
4753
  description,
4766
4754
  icon,
4767
4755
  isActive,
4768
4756
  type,
4769
- }), appendRight ? jsx("div", { className: "ml-xs", children: appendRight }) : null] }) }));
4757
+ }), Number.isInteger(count) ? (jsx("div", { className: "ml-xs", children: jsx(Badge$1, { count: count, version: getVersion(isActive) }) })) : null] }) }));
4770
4758
  });
4771
4759
 
4772
4760
  const TabItem = JSX((props) => props?.item?.href ? jsx(LinkTabItem, { ...props }) : jsx(ButtonTabItem, { ...props }));
@@ -4814,13 +4802,37 @@
4814
4802
  childSchema: (content) => content?.filtrationSchema || {},
4815
4803
  });
4816
4804
 
4817
- function renderClusterer(yandexMaps, map, points) {
4805
+ const MapMarkerClusterIcon = '/icons/MapMarkerClusterIcon.svg';
4806
+ const MapMarkerClusterYellowIcon = '/icons/MapMarkerClusterYellowIcon.svg';
4807
+ function renderClusterer({ yandexMaps, map, points, }) {
4818
4808
  map.geoObjects.removeAll();
4819
4809
  const clusterIconContentLayout = yandexMaps.templateLayoutFactory.createClass('<div style="margin-top: -3px;">{{properties.geoObjects.length}}</div>');
4820
- const clusterer = new yandexMaps.Clusterer({
4810
+ const officeClusterer = defineClusterer('offices', yandexMaps, clusterIconContentLayout);
4811
+ if (points.length && points.every((_) => 'type' in _)) {
4812
+ const remoteWorkplaceClusterer = defineClusterer('workplaces', yandexMaps, clusterIconContentLayout);
4813
+ const remoteWorkplaceGeoObjects = defineGeoObjects(points.filter((_) => _.type === 'workplaces'), 'workplaces', yandexMaps);
4814
+ const officesGeoObjects = defineGeoObjects(points.filter((_) => _.type === 'offices'), 'offices', yandexMaps);
4815
+ officeClusterer.add(officesGeoObjects);
4816
+ remoteWorkplaceClusterer.add(remoteWorkplaceGeoObjects);
4817
+ map.geoObjects.add(remoteWorkplaceClusterer);
4818
+ map.geoObjects.add(officeClusterer);
4819
+ }
4820
+ else {
4821
+ const geoObjects = defineGeoObjects(points, 'offices', yandexMaps);
4822
+ officeClusterer.add(geoObjects);
4823
+ map.geoObjects.add(officeClusterer);
4824
+ }
4825
+ map.setBounds(yandexMaps.util.bounds.fromPoints(points.map((_) => _.coords))).then(() => {
4826
+ if (map.getZoom() > 10) {
4827
+ map.setZoom(10);
4828
+ }
4829
+ });
4830
+ }
4831
+ const defineClusterer = (type, yandexMaps, clusterIconContentLayout) => {
4832
+ return new yandexMaps.Clusterer({
4821
4833
  clusterIcons: [
4822
4834
  {
4823
- href: '/icons/MapMarkerClusterIcon.svg',
4835
+ href: type === 'offices' ? MapMarkerClusterIcon : MapMarkerClusterYellowIcon,
4824
4836
  size: [78, 84],
4825
4837
  offset: [-35, -50],
4826
4838
  },
@@ -4829,25 +4841,20 @@
4829
4841
  clusterHideIconOnBalloonOpen: false,
4830
4842
  geoObjectHideIconOnBalloonOpen: false,
4831
4843
  });
4832
- const geoObjects = points.map(({ coords, content }) => new yandexMaps.Placemark(coords, {
4844
+ };
4845
+ const defineGeoObjects = (pointArr, type, yandexMaps) => {
4846
+ return pointArr.map(({ coords, content }) => new yandexMaps.Placemark(coords, {
4833
4847
  balloonContentHeader: content?.header,
4834
4848
  balloonContentBody: content?.body,
4835
4849
  balloonContentFooter: content?.footer,
4836
4850
  hintContent: content?.hint,
4837
4851
  }, {
4838
4852
  iconLayout: 'default#image',
4839
- iconImageHref: '/icons/MapMarkerSingleIcon.svg',
4853
+ iconImageHref: type === 'offices' ? MapMarkerClusterIcon : MapMarkerClusterYellowIcon,
4840
4854
  iconImageSize: [78, 84],
4841
4855
  iconImageOffset: [-35, -50],
4842
4856
  }));
4843
- clusterer.add(geoObjects);
4844
- map.geoObjects.add(clusterer);
4845
- map.setBounds(yandexMaps.util.bounds.fromPoints(points.map((_) => _.coords))).then(() => {
4846
- if (map.getZoom() > 10) {
4847
- map.setZoom(10);
4848
- }
4849
- });
4850
- }
4857
+ };
4851
4858
 
4852
4859
  const styles$1 = {
4853
4860
  focus: 'focus:border-primary-text focus:border',
@@ -4920,11 +4927,11 @@
4920
4927
  controls: [],
4921
4928
  suppressMapOpenBlock: true,
4922
4929
  });
4923
- renderClusterer(yandexMaps, map.current, points);
4930
+ renderClusterer({ yandexMaps, map: map.current, points });
4924
4931
  });
4925
4932
  }
4926
4933
  else if (yandexMaps) {
4927
- renderClusterer(yandexMaps, map.current, points);
4934
+ renderClusterer({ yandexMaps, map: map.current, points });
4928
4935
  if (!points?.length) {
4929
4936
  map.current.setCenter(DEFAULT_CENTER_COORDS);
4930
4937
  }
@@ -4943,6 +4950,8 @@
4943
4950
  const mapByIndex = (points, index) => points.map((_) => _.coords[index]);
4944
4951
  const getArraySumAndAverage = (arr) => arr.length && arr.reduce((a, b) => a + b) / arr.length;
4945
4952
 
4953
+ const renderDescriptionBlock$1 = ({ __html, list }) => __html || list?.length ? (jsxs("div", { className: "mb-2xl border-b sm:border border-main-divider sm:rounded-md", children: [__html ? (jsx("div", { className: "mb-2xl", children: jsx(RichText, { __html: __html }) })) : null, list?.length ? (jsx("div", { className: "flex flex-col sm:flex-row gap-2xl sm:flex-wrap pb-2xl sm:pb-xl", children: list.map((item, i) => (jsxs("div", { className: "flex gap-xs items-center", children: [item?.image ? jsx(Img, { image: item.image }) : null, item?.text ? (jsx(Text, { size: "text-m", font: "font-light", children: item.text })) : null] }, String(i)))) })) : null] })) : null;
4954
+
4946
4955
  const FILTRATION_LABELS = {
4947
4956
  safeBoxCaseVolumes: 'Аренда индивидуальных сейфовых ячеек',
4948
4957
  workingSaturday: 'Открыты по субботам',
@@ -4957,14 +4966,14 @@
4957
4966
  bullionOperations: 'Операции со слитками',
4958
4967
  preciousMetalsOperations: 'Операции с драгоценными металлами',
4959
4968
  transferringDataToBiometricSystem: 'Передача фото и голоса в Единую биометрическую систему',
4969
+ remoteWorkplace: 'Удаленное рабочее место',
4960
4970
  };
4961
4971
  const COMMON_FILTERS_STYLES = 'flex flex-col sm:flex-row sm:flex-wrap gap-3xl pb-2xl';
4962
4972
  const renderFiltrationForm = (filters, { field, reset }, onlyOffice) => {
4963
- const visibleFiltersNum = onlyOffice ? 3 : 4;
4973
+ const visibleFiltersNum = 4;
4964
4974
  const filtersCheckbox = (filters || []).map((key) => (jsx(Checkbox, { text: FILTRATION_LABELS[key], ...field(key) }, key)));
4965
- const [visibleFilters, hiddenFilters] = visibleFiltersNum > 0
4966
- ? [filtersCheckbox.slice(0, visibleFiltersNum), filtersCheckbox.slice(visibleFiltersNum)]
4967
- : [filtersCheckbox, []];
4975
+ const [visibleFilters, hiddenFilters] = [filtersCheckbox.slice(0, visibleFiltersNum), filtersCheckbox.slice(visibleFiltersNum)]
4976
+ ;
4968
4977
  return (jsx("div", { children: filters?.length ? (jsx("div", { children: jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [jsx("div", { className: COMMON_FILTERS_STYLES, children: visibleFilters }), jsx(FoldableSection, { className: COMMON_FILTERS_STYLES, isUnfolded: isUnfolded, children: hiddenFilters })] })), renderFoldButton: renderFoldButton$2(reset, onlyOffice) }) })) : null }));
4969
4978
  };
4970
4979
  const renderFoldButton$2 = (reset, onlyOffice) => ({ isUnfolded, onToggle }) => {
@@ -4976,37 +4985,47 @@
4976
4985
  const defaultEmptyFunction = () => void 0;
4977
4986
  const defaultFilterItems = () => [];
4978
4987
  const filtersVisibleStyles = (activeButton) => activeButton === 'all' ? 'block' : 'hidden';
4979
- const OfficesAtmsMapLayout = JSX(({ className, data = [], renderCard = defaultEmptyFunction, filterItems = defaultFilterItems, getBalloon = defaultEmptyFunction, initFilterState = {}, descriptionData, title, }) => {
4988
+ const OfficesAtmsMapLayout = JSX(({ className, data = [], remoteWorkplaces = [], renderCard = defaultEmptyFunction, renderRemoteWorkplaceCard = defaultEmptyFunction, filterItems = defaultFilterItems, getBalloon = defaultEmptyFunction, getBalloonRemoteWorkplaces = defaultEmptyFunction, initFilterState = {}, descriptionData, title, }) => {
4980
4989
  const onlyOffice = title?.includes('Офис');
4981
4990
  const [filtrationState, { field, reset }] = useForm(initFilterState);
4982
- const [filteredItems, points, lengthItems] = useMemo(() => {
4991
+ const [filteredItems, points, filteredRemoteWorkplaces, lengthItems] = useMemo(() => {
4983
4992
  const _filteredItems = filterItems(data, filtrationState);
4984
- const _points = _filteredItems
4985
- .map((_) => ({
4986
- coords: [Number(_.gpsLatitude), Number(_.gpsLongitude)]?.filter(Boolean),
4987
- content: getBalloon(_),
4988
- }))
4989
- .filter((_) => _.coords && _.coords.length === 2);
4990
- return [_filteredItems, _points, _filteredItems.length];
4991
- }, [data, filtrationState]);
4993
+ const _filteredRemoteWorkplaces = filterItems(remoteWorkplaces, filtrationState);
4994
+ const _points = [
4995
+ ..._filteredItems.map((_) => ({
4996
+ type: 'offices',
4997
+ coords: [Number(_.gpsLatitude), Number(_.gpsLongitude)]?.filter(Boolean),
4998
+ content: getBalloon(_),
4999
+ })),
5000
+ ..._filteredRemoteWorkplaces.map((_) => ({
5001
+ type: 'workplaces',
5002
+ coords: [Number(_.gpsLatitude), Number(_.gpsLongitude)]?.filter(Boolean),
5003
+ content: getBalloonRemoteWorkplaces({
5004
+ address: _.address,
5005
+ workScheduleDescription: _.workScheduleDescription,
5006
+ }),
5007
+ })),
5008
+ ].filter((_) => _.coords && _.coords.length === 2);
5009
+ const itemsLength = _filteredItems.length + _filteredRemoteWorkplaces?.length;
5010
+ return [_filteredItems, _points, _filteredRemoteWorkplaces, itemsLength];
5011
+ }, [data, remoteWorkplaces, filtrationState]);
4992
5012
  const [activeButton, setActiveButton] = useState('all');
4993
- return (jsxs("div", { className: style('space-y-1', className), children: [jsxs("div", { className: "bg-white", children: [jsxs("div", { className: "p-6xl pb-0", children: [jsx("div", { className: "flex flex-col sm:flex-row gap-xs mb-2xl", children: jsxs(Heading, { headingType: "h2", children: [title, lengthItems ? (jsx(Text, { size: "text-h2", color: "text-secondary-text", children: ` (${lengthItems})` })) : null] }) }), descriptionData ? renderDescriptionBlock$1(descriptionData) : null, onlyOffice && renderButtonsGroup(data, activeButton, setActiveButton), jsx("div", { className: style('pb-2xl', filtersVisibleStyles(activeButton)), children: renderFiltrationForm(Object.keys(initFilterState), { field, reset }, onlyOffice) })] }), jsx("div", { className: "h-[600px]", children: jsx(ClientOnly, { children: jsx(YandexMap, { points: points, className: "h-full" }) }) })] }), filteredItems.map(renderCard)] }));
5013
+ return (jsxs("div", { className: style('space-y-1', className), children: [jsxs("div", { className: "bg-white", children: [jsxs("div", { className: "p-6xl pb-0", children: [jsx("div", { className: "flex flex-col sm:flex-row gap-xs mb-2xl", children: jsxs(Heading, { headingType: "h2", children: [title, lengthItems ? (jsx(Text, { size: "text-h2", color: "text-secondary-text", children: ` (${lengthItems})` })) : null] }) }), descriptionData ? renderDescriptionBlock$1(descriptionData) : null, onlyOffice && renderButtonsGroup(data, activeButton, setActiveButton), jsx("div", { className: style('pb-2xl', filtersVisibleStyles(activeButton)), children: renderFiltrationForm(Object.keys(initFilterState), { field, reset }, onlyOffice) })] }), jsx("div", { className: "h-[600px]", children: jsx(ClientOnly, { children: jsx(YandexMap, { points: points, className: "h-full" }) }) })] }), filteredItems.map(renderCard), filteredRemoteWorkplaces.map(renderRemoteWorkplaceCard)] }));
4994
5014
  });
4995
- const renderButtonsGroup = (data, activeButton, setActiveButton) => {
4996
- const allButtonVersion = activeButton === 'all' ? 'primary' : 'secondary';
4997
- const businessButtonVersion = activeButton === 'business' ? 'primary' : 'secondary';
4998
- const handleOnClick = (e, key, branches) => {
5015
+ const renderButtonsGroup = (data, activeButton, onButtonClick) => {
5016
+ const allButtonVersion = getVersion(activeButton === 'all');
5017
+ const businessButtonVersion = getVersion(activeButton === 'business');
5018
+ const handleClick = (e, key, branches) => {
4999
5019
  if (e.currentTarget === e.target && key === 'business') {
5000
5020
  branches.filter((branch) => branch.workSchedule &&
5001
5021
  branch.workSchedule.businessScheduleVisibleTag &&
5002
5022
  !branch.workSchedule.businessScheduleDescription);
5003
5023
  }
5004
- setActiveButton(key);
5024
+ onButtonClick(key);
5005
5025
  return branches;
5006
5026
  };
5007
- return (jsxs("div", { className: "flex gap-lg flex-col sm:flex-row pb-lg", children: [jsx(Button, { "data-id": "all", onClick: (e) => handleOnClick(e, 'all', data), version: allButtonVersion, children: "\u0414\u043B\u044F \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446" }), jsx(Button, { "data-id": "business", onClick: (e) => handleOnClick(e, 'business', data), version: businessButtonVersion, children: "\u0414\u043B\u044F \u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446" })] }));
5008
- };
5009
- const renderDescriptionBlock$1 = ({ __html, list }) => __html || list?.length ? (jsxs("div", { className: "mb-2xl border-b sm:border border-main-divider sm:rounded-md", children: [__html ? (jsx("div", { className: "mb-2xl", children: jsx(RichText, { __html: __html }) })) : null, list?.length ? (jsx("div", { className: "flex flex-col sm:flex-row gap-2xl sm:flex-wrap pb-2xl sm:pb-xl", children: list.map((item, i) => (jsxs("div", { className: "flex gap-xs items-center", children: [item?.image ? jsx(Img, { image: item.image }) : null, item?.text ? (jsx(Text, { size: "text-m", font: "font-light", children: item.text })) : null] }, String(i)))) })) : null] })) : null;
5027
+ return (jsxs("div", { className: "flex gap-lg flex-col sm:flex-row pb-lg", children: [jsx(Button, { "data-id": "all", onClick: (e) => handleClick(e, 'all', data), version: allButtonVersion, children: "\u0414\u043B\u044F \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446" }), jsx(Button, { "data-id": "business", onClick: (e) => handleClick(e, 'business', data), version: businessButtonVersion, children: "\u0414\u043B\u044F \u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446" })] }));
5028
+ };
5010
5029
 
5011
5030
  const colorStyle = {
5012
5031
  yellow: { border: 'border-yellow-light', text: 'text-yellow' },
@@ -5230,7 +5249,7 @@
5230
5249
  return null;
5231
5250
  }
5232
5251
  const workScheduleWeek = getWorkScheduleWeek(workSchedule);
5233
- return (jsxs("div", { className: "bg-white col-span-12 p-3xl sm:border-green sm:border", children: [jsxs("div", { className: "sm:flex sm:justify-between", children: [jsxs("div", { children: [jsx(Text, { size: "text-h4", children: name }), address ? (jsxs("div", { className: "flex pb-xl pt-xs gap-2xs", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24" }), jsx(Text, { size: "text-l", children: address })] })) : null] }), renderCurrentDaySchedule(workScheduleWeek)] }), jsx("div", { className: "hidden sm:block", children: renderCardContent({
5252
+ return (jsxs("div", { className: "bg-white col-span-12 p-3xl sm:border-green sm:border", children: [jsxs("div", { className: "sm:flex sm:justify-between", children: [jsxs("div", { children: [jsx(Text, { size: "text-h4", children: name }), address ? (jsxs("div", { className: "flex pb-xl pt-xs gap-2xs", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24" }), jsx(Text, { size: "text-l", children: address })] })) : null] }), renderCurrentDaySchedule(workScheduleWeek)] }), jsx("div", { className: "hidden sm:block", children: renderCardContent$1({
5234
5253
  phone,
5235
5254
  fax,
5236
5255
  phoneBusiness,
@@ -5240,7 +5259,7 @@
5240
5259
  workSchedule,
5241
5260
  exchangeRate,
5242
5261
  }) }), jsx(Foldable, { className: "block sm:hidden", renderFoldableSection: ({ isUnfolded }) => {
5243
- return (jsx(FoldableSection, { isUnfolded: isUnfolded, children: renderCardContent({
5262
+ return (jsx(FoldableSection, { isUnfolded: isUnfolded, children: renderCardContent$1({
5244
5263
  phone,
5245
5264
  fax,
5246
5265
  phoneBusiness,
@@ -5254,7 +5273,7 @@
5254
5273
  //** TODO: remove styles with refactoring DefaultFoldButton*/
5255
5274
  renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton$1({ isUnfolded, onToggle }) })] }, String(index)));
5256
5275
  };
5257
- const renderCardContent = ({ phone, fax, phoneBusiness, phoneNatural, phoneCallCentre, phoneCurrencyControl, workSchedule, exchangeRate, }) => {
5276
+ const renderCardContent$1 = ({ phone, fax, phoneBusiness, phoneNatural, phoneCallCentre, phoneCurrencyControl, workSchedule, exchangeRate, }) => {
5258
5277
  const workScheduleWeek = getWorkScheduleWeek(workSchedule);
5259
5278
  const labelSchedule = workSchedule?.businessScheduleVisibleTag
5260
5279
  ? 'Для физических лиц'
@@ -5270,13 +5289,38 @@
5270
5289
  return { header, body };
5271
5290
  };
5272
5291
 
5292
+ const renderRemoteWorkplaceCard = ({ address, workScheduleDescription }, index) => {
5293
+ if (!workScheduleDescription) {
5294
+ return null;
5295
+ }
5296
+ return (jsxs("div", { className: "bg-white col-span-12 p-3xl sm:border-green sm:border", children: [jsx("div", { className: "sm:flex sm:justify-between", children: jsxs("div", { children: [jsx(Text, { size: "text-h4", children: "\u0423\u0434\u0430\u043B\u0435\u043D\u043D\u043E\u0435 \u0440\u0430\u0431\u043E\u0447\u0435\u0435 \u043C\u0435\u0441\u0442\u043E" }), address ? (jsxs("div", { className: "flex pb-xl pt-xs gap-2xs", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24" }), jsx(Text, { size: "text-l", children: address })] })) : null] }) }), jsx("div", { className: "hidden sm:block", children: renderCardContent({
5297
+ workScheduleDescription,
5298
+ }) }), jsx(Foldable, { className: "block sm:hidden", renderFoldableSection: ({ isUnfolded }) => {
5299
+ return (jsx(FoldableSection, { isUnfolded: isUnfolded, children: renderCardContent({
5300
+ workScheduleDescription,
5301
+ }) }));
5302
+ },
5303
+ //** TODO: remove styles with refactoring DefaultFoldButton*/
5304
+ renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton$1({ isUnfolded, onToggle }) })] }, String(index)));
5305
+ };
5306
+ const renderCardContent = ({ workScheduleDescription }) => {
5307
+ return (jsxs("div", { children: [jsxs(CardRow, { className: "flex", children: [jsx(CardCell, { label: "\u041E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446", children: jsx(Text, { children: "\u041E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0438 \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u043A\u0440\u0435\u0434\u0438\u0442\u043E\u0432, \u0441\u0447\u0435\u0442\u043E\u0432, \u0432\u043A\u043B\u0430\u0434\u043E\u0432" }) }), jsx(CardCell, { label: "\u041E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446", children: jsx(Text, { children: "\u041E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0438 \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u043E\u0432\u0441\u043A\u0438\u0445 \u043A\u0430\u0440\u0442" }) }), jsx(CardCell, { label: "\u041E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446", children: jsx(Text, { children: "\u0418\u043D\u0432\u0435\u0441\u0442\u0438\u0446\u0438\u043E\u043D\u043D\u043E\u0435 \u0438 \u043D\u0430\u043A\u043E\u043F\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u043D\u0438\u0435" }) }), jsx(CardCell, { label: "\u041E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043B\u0438\u0446", children: jsx(Text, { children: "\u0411\u0435\u0437\u043D\u0430\u043B\u0438\u0447\u043D\u044B\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u0432 \u0440\u0443\u0431\u043B\u044F\u0445, \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u044B \u0431\u0435\u0437 \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F \u0441\u0447\u0451\u0442\u0430" }) })] }), jsx(CardCell, { label: "\u0420\u0435\u0436\u0438\u043C \u0440\u0430\u0431\u043E\u0442\u044B", className: "max-w-none", children: jsx(Text, { children: workScheduleDescription }) })] }));
5308
+ };
5309
+ const getRemoteWorkplacePoint = ({ address = '', workScheduleDescription, }) => {
5310
+ const header = 'Удаленное рабочее место';
5311
+ const body = `${address} ${workScheduleDescription}`;
5312
+ return { header, body };
5313
+ };
5314
+
5273
5315
  const EMPTY_VALUE$1 = [];
5274
5316
  function useOffices(regionCode) {
5275
- const { data = EMPTY_VALUE$1 } = useAsyncData(`/api/v1/branches?regionCode=${regionCode}`, fetchMap);
5317
+ const { data = EMPTY_VALUE$1 } = useAsyncData(`/api/v1/branchesAndRemoteWorkplaces?regionCode=${regionCode}`, fetchMap);
5276
5318
  return data;
5277
5319
  }
5278
5320
  const fetchMap = async (url) => {
5279
- const result = await fetchJSON(url, { method: 'GET' });
5321
+ const result = await fetchJSON(url, {
5322
+ method: 'GET',
5323
+ });
5280
5324
  return Array.isArray(result) ? result : EMPTY_VALUE$1;
5281
5325
  };
5282
5326
 
@@ -5284,6 +5328,7 @@
5284
5328
  workingSaturday: false,
5285
5329
  premiumService: false,
5286
5330
  privateBanking: false,
5331
+ remoteWorkplace: false,
5287
5332
  sellingCoins: false,
5288
5333
  buyingCoins: false,
5289
5334
  bullionOperations: false,
@@ -5291,20 +5336,21 @@
5291
5336
  transferringDataToBiometricSystem: false,
5292
5337
  };
5293
5338
  const FILTRATION_PREDICATES = {
5294
- workingSaturday: (item) => Boolean(item.workSchedule?.workingSaturday),
5295
- premiumService: (item) => Boolean(item.premiumService),
5296
- privateBanking: (item) => Boolean(item.privateBanking),
5297
- sellingCoins: (item) => Boolean(item.sellingCoins),
5298
- buyingCoins: (item) => Boolean(item.buyingCoins),
5299
- bullionOperations: (item) => Boolean(item.bullionOperations),
5300
- preciousMetalsOperations: (item) => Boolean(item.preciousMetalsOperations),
5301
- transferringDataToBiometricSystem: (item) => Boolean(item.transferringDataToBiometricSystem),
5339
+ workingSaturday: (item) => Boolean('workSchedule' in item && item.workSchedule?.workingSaturday),
5340
+ premiumService: (item) => Boolean('premiumService' in item && item.premiumService),
5341
+ privateBanking: (item) => Boolean('privateBanking' in item && item.privateBanking),
5342
+ remoteWorkplace: (item) => Boolean('workScheduleDescription' in item),
5343
+ sellingCoins: (item) => Boolean('sellingCoins' in item && item.sellingCoins),
5344
+ buyingCoins: (item) => Boolean('buyingCoins' in item && item.buyingCoins),
5345
+ bullionOperations: (item) => Boolean('bullionOperations' in item && item.bullionOperations),
5346
+ preciousMetalsOperations: (item) => Boolean('preciousMetalsOperations' in item && item.preciousMetalsOperations),
5347
+ transferringDataToBiometricSystem: (item) => Boolean('transferringDataToBiometricSystem' in item && item.transferringDataToBiometricSystem),
5302
5348
  };
5303
5349
  const OfficesMap = JSX(({ className }) => {
5304
5350
  const [currentLocation] = useLocation();
5305
5351
  const regionCode = currentLocation?.code ?? '000';
5306
5352
  const officesData = useOffices(regionCode);
5307
- return (jsx(OfficesAtmsMapLayout, { className: className, filterItems: filterItems, data: officesData, initFilterState: INITIAL_FILTRATION_STATE, renderCard: renderOfficeCard, getBalloon: getOfficePoint, title: `Офисы филиала ${currentLocation?.name}` }));
5353
+ return (jsx(OfficesAtmsMapLayout, { className: className, filterItems: filterItems, data: officesData[0]?.branches, remoteWorkplaces: officesData[0]?.remoteWorkplaces, initFilterState: INITIAL_FILTRATION_STATE, renderCard: renderOfficeCard, renderRemoteWorkplaceCard: renderRemoteWorkplaceCard, getBalloon: getOfficePoint, getBalloonRemoteWorkplaces: getRemoteWorkplacePoint, title: `Офисы филиала ${currentLocation?.name}` }));
5308
5354
  });
5309
5355
  const filterItems = (data, filtrationState) => {
5310
5356
  const truthyFilters = Object.keys(filtrationState).filter((key) => filtrationState[key]);
@@ -5318,22 +5364,26 @@
5318
5364
 
5319
5365
  const Placeholder = JSX(({ className, title, description = 'Блок в разработке...', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border', className), ...rest, children: [jsx(Headline, { className: "max-w-[600px]", title: title, description: description, headlineVersion: "L", align: "text-left", isEmbedded: true }), jsx(Shimmer, {})] })));
5320
5366
 
5321
- const ProductGallery = JSX(({ className = '', padding, slides = [], ...rest }) => {
5367
+ const scrollButtonStyle$1 = 'hidden sm:flex absolute z-40 top-10';
5368
+ const ProductGallery = UniBlock(({ className = '', padding, slides = [], ...rest }) => {
5322
5369
  const [activeSlideIndex, setActiveSlideIndex] = useState(0);
5323
- return (jsxs(BlockWrapper, { className: style('box-border overflow-hidden', className), defaultPadding: "py-6xl", padding: padding, ...rest, children: [jsx("div", { className: "flex duration-1000", style: { transform: `translateX(-${activeSlideIndex * 100}%)` }, role: "list", children: slides.map(({ productBlock }, i) => (jsx("div", { className: "box-border grow-0 shrink-0 basis-full", role: "listitem", children: jsx(BaseProductTile, { className: "pl-6xl h-full", headlineVersion: "M", isFullWidthTitle: false, ...productBlock, ...rest }) }, String(i)))) }), jsx("div", { className: "h-28 px-xs mt-m -mb-m flex gap-xs box-border", children: slides.map(renderNavButton({ activeSlideIndex, onClick: setActiveSlideIndex })) })] }));
5370
+ const [containerRef, scroll] = useSwipeListScroll({
5371
+ itemCount: slides?.length || 0,
5372
+ });
5373
+ return (jsxs(BlockWrapper, { className: style('box-border overflow-hidden', className), defaultPadding: "pt-6xl", padding: padding, ...rest, children: [jsx("div", { className: "flex duration-1000", style: { transform: `translateX(-${activeSlideIndex * 100}%)` }, role: "list", children: slides.map(({ productBlock }, i) => (jsx("div", { className: "box-border grow-0 shrink-0 basis-full", role: "listitem", children: jsx(BaseProductTile, { className: "pl-6xl h-full", headlineVersion: "M", isFullWidthTitle: false, ...productBlock, ...rest }) }, String(i)))) }), jsxs("div", { className: "relative pr-xs mt-m -mb-m flex gap-xs box-border", children: [jsx(SwipeListContainer, { containerRef: containerRef, snapAlign: "snap-start", onVisibleIndicesChange: scroll.handleVisibleIndicesChange, itemClassName: 'h-40 flex items-stretch w-screen', gap: 8, children: slides.map(renderNavButton({ activeSlideIndex, onClick: setActiveSlideIndex })) }), scroll.canScrollLeft ? (jsx(ScrollLeftButton, { className: style('left-6', scrollButtonStyle$1), onClick: scroll.scrollLeft })) : null, scroll.canScrollRight ? (jsx(ScrollRightButton, { className: style('right-6', scrollButtonStyle$1), onClick: scroll.scrollRight })) : null] })] }));
5324
5374
  });
5325
5375
  const renderNavButton = ({ activeSlideIndex, onClick }) => ({ nav }, i) => {
5326
5376
  const isActive = i === activeSlideIndex;
5327
5377
  const btnClassName = isActive
5328
5378
  ? 'min-w-[350px] bg-white shadow-dark-blue border-none p-6'
5329
- : 'min-w-72 ease-in duration-300 bg-white/10 px-xl py-lg hover:py-xl backdrop-blur';
5379
+ : 'min-w-72 ease-in duration-300 bg-white/10 px-xl py-lg hover:backdrop-blur';
5330
5380
  const btnTitleClassName = isActive
5331
5381
  ? 'text-primary-text text-h6 py-xs'
5332
5382
  : 'text-l pb-2xs text-secondary-text group-data-secondary:text-white';
5333
5383
  const btnDescClassName = isActive
5334
5384
  ? 'text-secondary-text text-l font-light'
5335
5385
  : 'text-secondary-text text-m font-light group-data-secondary:text-white/80';
5336
- return (jsxs("button", { type: "button", onClick: () => onClick(i), "aria-label": nav?.title, className: style('relative px-xl box-border overflow-hidden text-left grow basis-0 border border-gray group-data-secondary:border-white/50', btnClassName), children: [jsx("div", { className: btnTitleClassName, children: nav?.title }), jsx("div", { className: btnDescClassName, children: nav?.description })] }, String(i)));
5386
+ return (jsxs("button", { type: "button", onClick: () => onClick(i), "aria-label": nav?.title, className: style('max-h-28 mt-xs ml-xs relative px-xl box-border overflow-hidden text-left grow basis-0 border border-gray group-data-secondary:border-white/50 whitespace-nowrap', btnClassName), children: [jsx("div", { className: btnTitleClassName, children: nav?.title }), jsx("div", { className: btnDescClassName, children: nav?.description })] }, String(i)));
5337
5387
  };
5338
5388
 
5339
5389
  const RepresentativeOfficeInfo = JSX(({ address, email, telephone, button, className = '', __html, icon, title, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border text-left space-y-s', className), version: version, ...rest, children: [jsxs("div", { className: "w-full flex justify-between flex-row-reverse", children: [isIcon(icon) ? (jsx("div", { className: 'w-10 h-7 sm:w-24 sm:h-16', children: jsx(Img, { image: icon }) })) : null, title ? jsx(Heading, { headingType: "h3", as: "h3", title: title }) : null] }), jsxs("div", { className: "w-full space-y-m", children: [__html ? renderDescriptionBlock(__html) : null, renderBlock({
@@ -5590,14 +5640,19 @@
5590
5640
  const SwipeListControlBlock = UniBlock(({ listType, showDots, options, version, ...rest }) => (jsx(BlockWrapper, { version: version, defaultPadding: "p-0", ...rest, children: jsx(SwipeListControl, { listType: listType, showDots: showDots, version: version, children: renderChildren({ ...rest, options }) }) })), { childrenTypes: { exclude: ['SwipeListControlBlock'] } });
5591
5641
 
5592
5642
  const scrollButtonStyle = 'hidden sm:flex absolute z-40';
5593
- const scrollStyleType = {
5643
+ const scrollStyle = {
5644
+ default: {
5645
+ item: 'flex-1',
5646
+ gap: 0,
5647
+ buttonTop: 'top-0',
5648
+ },
5594
5649
  animated: {
5595
- itemClassName: 'flex',
5650
+ item: 'flex',
5596
5651
  gap: 8,
5597
5652
  buttonTop: 'top-5',
5598
5653
  },
5599
5654
  underlined: {
5600
- itemClassName: '',
5655
+ item: '',
5601
5656
  gap: 0,
5602
5657
  buttonTop: 'top-0',
5603
5658
  },
@@ -5606,7 +5661,7 @@
5606
5661
  const [containerRef, scroll] = useSwipeListScroll({
5607
5662
  itemCount: items?.length || 0,
5608
5663
  });
5609
- return (jsxs("div", { className: style('relative overflow-x-auto no-scrollbar', className), children: [jsx(SwipeListContainer, { containerRef: containerRef, snapAlign: "snap-start", onVisibleIndicesChange: scroll.handleVisibleIndicesChange, itemClassName: scrollStyleType[tabsType].itemClassName, gap: scrollStyleType[tabsType].gap, children: items.map(renderTab(value, onChange, tabsType)) }), scroll.canScrollLeft ? (jsx(ScrollLeftButton, { className: style('left-6', scrollButtonStyle, scrollStyleType[tabsType].buttonTop), onClick: scroll.scrollLeft })) : null, scroll.canScrollRight ? (jsx(ScrollRightButton, { className: style('right-6', scrollButtonStyle, scrollStyleType[tabsType].buttonTop), onClick: scroll.scrollRight })) : null] }));
5664
+ return (jsxs("div", { className: style('relative overflow-x-auto no-scrollbar', className), children: [jsx(SwipeListContainer, { containerRef: containerRef, snapAlign: "snap-start", onVisibleIndicesChange: scroll.handleVisibleIndicesChange, itemClassName: scrollStyle[tabsType].item, gap: scrollStyle[tabsType].gap, children: items.map(renderTab(value, onChange, tabsType)) }), scroll.canScrollLeft ? (jsx(ScrollLeftButton, { className: style('left-6', scrollButtonStyle, scrollStyle[tabsType].buttonTop), onClick: scroll.scrollLeft })) : null, scroll.canScrollRight ? (jsx(ScrollRightButton, { className: style('right-6', scrollButtonStyle, scrollStyle[tabsType].buttonTop), onClick: scroll.scrollRight })) : null] }));
5610
5665
  });
5611
5666
 
5612
5667
  const renderTabs = ({ tabsMode, ...props }) => {
@@ -5683,32 +5738,41 @@
5683
5738
  };
5684
5739
  const normalizeTab = (_) => _?.type === 'group' ? { text: _.title, name: _.ref } : _;
5685
5740
 
5686
- const renderTabsLayout = ({ tabsType = 'animated', ...props }) => {
5687
- switch (tabsType) {
5688
- case 'default':
5689
- return jsx(TabsControl, { ...props });
5690
- case 'underlined':
5691
- return (jsx("div", { className: "flex", children: jsx(TabsControl, { className: "m-auto", tabsType: "underlined", ...props }) }));
5692
- case 'animated':
5693
- return (jsx("div", { className: "border-b-8 border-primary-main", children: jsx(ScrollableTabsControl, { className: "m-auto", ...props, tabsType: "animated" }) }));
5694
- default:
5695
- return null;
5696
- }
5697
- };
5741
+ const tabsStyle = {
5742
+ default: {
5743
+ wrapper: '',
5744
+ component: '',
5745
+ },
5746
+ animated: {
5747
+ wrapper: 'border-b-8 border-primary-main bg-white',
5748
+ component: 'm-auto',
5749
+ },
5750
+ underlined: {
5751
+ wrapper: 'flex',
5752
+ component: 'm-auto',
5753
+ },
5754
+ };
5755
+ const renderTabsLayout = ({ tabsType = 'animated', ...props }) => tabsType ? (jsx("div", { className: tabsStyle[tabsType].wrapper, children: jsx(ScrollableTabsControl, { className: tabsStyle[tabsType].component, tabsType: tabsType, ...props }) })) : null;
5698
5756
 
5699
5757
  const TAB_QUERY_PARAM_KEY = 'tab';
5700
- const TabsLayout = UniBlock(({ className = '', tabs = [], block, tabsType, ...rest }) => {
5758
+ const TabsLayout = UniBlock(({ className = '', tabs = [], block, tabsType, showCounter = false, ...rest }) => {
5701
5759
  const router = useRouter();
5702
- const [activeTabIndex, setActiveTabIndex] = useState(getInitSelectedIndex(tabs));
5703
- const defaultSelectedTab = tabs.findIndex((_) => Boolean(_.selected));
5760
+ const tabsCounted = showCounter
5761
+ ? tabs.map((_) => ({
5762
+ ..._,
5763
+ count: block?.slots?.[_?.text ?? '']?.length ?? 0,
5764
+ }))
5765
+ : tabs;
5766
+ const [activeTabIndex, setActiveTabIndex] = useState(getInitSelectedIndex(tabsCounted));
5767
+ const defaultSelectedTab = tabsCounted.findIndex((_) => Boolean(_.selected));
5704
5768
  useEffect(() => {
5705
- const query = new URLSearchParams(globalThis?.location?.search || '');
5769
+ const query = new URLSearchParams(globalThis?.location?.search);
5706
5770
  const defaultTabIndex = query.get(TAB_QUERY_PARAM_KEY)
5707
- ? tabs.findIndex((_, index) => _.type === 'group' && String(index) === query.get(TAB_QUERY_PARAM_KEY))
5771
+ ? tabsCounted.findIndex((_, index) => _.type === 'group' && String(index) === query.get(TAB_QUERY_PARAM_KEY))
5708
5772
  : defaultSelectedTab;
5709
5773
  setActiveTabIndex(defaultTabIndex === -1 ? 0 : defaultTabIndex);
5710
5774
  }, [defaultSelectedTab]);
5711
- const slotName = getSlotName(tabs[activeTabIndex], activeTabIndex);
5775
+ const slotName = getSlotName(tabsCounted[activeTabIndex], activeTabIndex);
5712
5776
  const updateUrlSearchTabParam = (_, index) => {
5713
5777
  const searchParams = new URLSearchParams(globalThis?.location?.search || '');
5714
5778
  if (_.text) {
@@ -5720,16 +5784,16 @@
5720
5784
  router.replace(`${router.pathname}?${searchParams}`, { scroll: false });
5721
5785
  };
5722
5786
  const handleChange = useCallback((_) => {
5723
- const index = tabs.indexOf(_);
5724
- const tab = tabs[index];
5787
+ const index = tabsCounted.indexOf(_);
5788
+ const tab = tabsCounted[index];
5725
5789
  setActiveTabIndex(index);
5726
5790
  if (tab.type === 'group') {
5727
5791
  updateUrlSearchTabParam(_, index);
5728
5792
  }
5729
- }, [tabs]);
5793
+ }, [tabsCounted]);
5730
5794
  return (jsxs(BlockWrapper, { className: style(className), defaultPadding: "p-0", ...rest, children: [renderTabsLayout({
5731
- items: tabs,
5732
- value: tabs[activeTabIndex],
5795
+ items: tabsCounted,
5796
+ value: tabsCounted[activeTabIndex],
5733
5797
  tabsType,
5734
5798
  onChange: handleChange,
5735
5799
  }), jsx("div", { className: "space-y-px @5xl:space-y-0 @5xl:grid @5xl:grid-cols-12 @5xl:gap-2xs", children: renderBlocksList(block?.slots?.[slotName], {
@@ -6029,7 +6093,7 @@
6029
6093
 
6030
6094
  const COOKIE_DIALOG_ID = 'cookie';
6031
6095
  const DIALOG_INITIAL_DELAY = 3 * 1000;
6032
- const CookiePopup = JSX(({ termLink, personalDataPolicyLink }) => {
6096
+ const CookiePopup = JSX(({ termLink, personalDataPolicyLink, recommendationLink }) => {
6033
6097
  const [opened, { setTrue: open, setFalse: close }] = useBool();
6034
6098
  useDebouncedEffect(() => {
6035
6099
  if (!globalThis.localStorage?.getItem(COOKIE_DIALOG_ID)) {
@@ -6040,7 +6104,7 @@
6040
6104
  globalThis.localStorage?.setItem(COOKIE_DIALOG_ID, 'true');
6041
6105
  close();
6042
6106
  }, []);
6043
- return opened ? (jsx("div", { className: "container fixed left-0 right-0 bottom-0 z-50", role: "dialog", children: jsxs("div", { className: "bg-white m-xl p-xl rounded-md flex sm:items-center shadow-main-black", children: [jsx("div", { className: "sm:flex-1", children: jsxs(Paragraph, { size: "text-s", font: "font-light", color: "text-primary-text", children: ["\u0410\u041E \u00AB\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u00BB \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442", jsx(LinkWrapper, { isRemote: true, className: linkWrapperStyle(termLink?.href), ...termLink, children: "cookie" }), "(\u0444\u0430\u0439\u043B\u044B \u0441 \u0434\u0430\u043D\u043D\u044B\u043C\u0438 \u043E \u043F\u0440\u043E\u0448\u043B\u044B\u0445 \u043F\u043E\u0441\u0435\u0449\u0435\u043D\u0438\u044F\u0445 \u0441\u0430\u0439\u0442\u0430) \u0434\u043B\u044F \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u043E\u0432 \u0438 \u0443\u0434\u043E\u0431\u0441\u0442\u0432\u0430 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u0430\u043F\u0440\u0435\u0442\u0438\u0442\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435 cookie \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0441\u0432\u043E\u0435\u0433\u043E \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.", jsx(LinkWrapper, { isRemote: true, className: linkWrapperStyle(personalDataPolicyLink?.href), ...personalDataPolicyLink, children: "\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430 \u0412\u0430\u0448\u0438\u0445 \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445" }), "\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u0438\u044F\u043C\u0438 \u0424\u0435\u0434\u0435\u0440\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0437\u0430\u043A\u043E\u043D\u0430 \u043E\u0442 27.07.2006 \u2116 152-\u04243 \u00AB\u041E \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445\u00BB."] }) }), jsx("div", { className: "ml-s sm:ml-0 w-24 flex justify-end", children: jsx(CloseButton, { className: "bg-main-gray rounded-md", onClose: handleClose }) })] }) })) : null;
6107
+ return opened ? (jsx("div", { className: "container fixed left-0 right-0 bottom-0 z-50", role: "dialog", children: jsxs("div", { className: "bg-white m-xl p-xl rounded-md flex sm:items-center shadow-main-black", children: [jsx("div", { className: "sm:flex-1", children: jsxs(Paragraph, { size: "text-s", font: "font-light", color: "text-primary-text", children: ["\u0410\u041E \u00AB\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u00BB \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442", jsx(LinkWrapper, { isRemote: true, className: linkWrapperStyle(termLink?.href), ...termLink, children: "cookie" }), "(\u0444\u0430\u0439\u043B\u044B \u0441 \u0434\u0430\u043D\u043D\u044B\u043C\u0438 \u043E \u043F\u0440\u043E\u0448\u043B\u044B\u0445 \u043F\u043E\u0441\u0435\u0449\u0435\u043D\u0438\u044F\u0445 \u0441\u0430\u0439\u0442\u0430) \u0434\u043B\u044F \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u043E\u0432 \u0438 \u0443\u0434\u043E\u0431\u0441\u0442\u0432\u0430 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u0430\u043F\u0440\u0435\u0442\u0438\u0442\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435 cookie \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0441\u0432\u043E\u0435\u0433\u043E \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.", jsx(LinkWrapper, { isRemote: true, className: linkWrapperStyle(personalDataPolicyLink?.href), ...personalDataPolicyLink, children: "\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430 \u0412\u0430\u0448\u0438\u0445 \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445" }), "\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u0438\u044F\u043C\u0438 \u0424\u0435\u0434\u0435\u0440\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0437\u0430\u043A\u043E\u043D\u0430 \u043E\u0442 27.07.2006 \u2116 152-\u04243 \u00AB\u041E \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445\u00BB. \u041D\u0430 \u0441\u0430\u0439\u0442\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0442\u0441\u044F \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u0438 \u0441\u043E\u0433\u043B\u0430\u0441\u043D\u043E", jsx(LinkWrapper, { isRemote: true, className: linkWrapperStyle(recommendationLink?.href), ...recommendationLink, children: "\u041F\u0440\u0430\u0432\u0438\u043B\u0430\u043C \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0445 \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u0439." })] }) }), jsx("div", { className: "ml-s sm:ml-0 w-24 flex justify-end", children: jsx(CloseButton, { className: "bg-main-gray rounded-md", onClose: handleClose }) })] }) })) : null;
6044
6108
  });
6045
6109
  const linkWrapperStyle = (href) => style('inline mx-2xs', href ? 'text-green-dark' : '');
6046
6110
 
@@ -6170,14 +6234,14 @@
6170
6234
  }), renderBlocksList(slots?.[FOOTER_SLOT], { ...options, slotName: FOOTER_SLOT })] })] }), slots?.[STICKY_FOOTER_SLOT]?.length ? (jsx("div", { className: "fixed w-full bottom-0 left-0 z-[100]", children: renderBlocksList(slots?.[STICKY_FOOTER_SLOT], {
6171
6235
  ...options,
6172
6236
  slotName: STICKY_FOOTER_SLOT,
6173
- }) })) : null, jsx(DialogManager, {}), jsx(PopupManager, {}), jsx(CookiePopup, { termLink: { href: '/pd-policy#cookie', target: '_blank' }, personalDataPolicyLink: { href: '/pd-policy', target: '_blank' } })] }));
6237
+ }) })) : null, jsx(DialogManager, {}), jsx(PopupManager, {}), jsx(CookiePopup, { termLink: { href: '/pd-policy#cookie', target: '_blank' }, recommendationLink: { href: '/recommendation', target: '_blank' }, personalDataPolicyLink: { href: '/pd-policy', target: '_blank' } })] }));
6174
6238
  });
6175
6239
  Object.assign(ContentPage, {
6176
6240
  childrenTypes: [],
6177
6241
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
6178
6242
  });
6179
6243
 
6180
- const packageVersion = "0.15.337";
6244
+ const packageVersion = "0.15.340";
6181
6245
 
6182
6246
  exports.Blocks = Blocks;
6183
6247
  exports.ContentPage = ContentPage;