@redneckz/wildless-cms-uni-blocks 0.8.24 → 0.8.26

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 (325) hide show
  1. package/bin/migration-scripts/0.6.43.js +4 -1
  2. package/bin/migration-scripts/0.7.8.js +4 -1
  3. package/bin/migration-scripts/0.8.15.js +4 -1
  4. package/bundle/blocks.schema.json +1 -1
  5. package/bundle/bundle.umd.js +165 -184
  6. package/bundle/bundle.umd.min.js +1 -1
  7. package/bundle/components/Headline/HeadlineContent.d.ts +2 -0
  8. package/bundle/components/RollupItem/RollupItem.mobile.d.ts +5 -0
  9. package/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -1
  10. package/dist/components/Accordion/Accordion.js +2 -3
  11. package/dist/components/Accordion/Accordion.js.map +1 -1
  12. package/dist/components/Accordion/Accordion.mobile.js +2 -3
  13. package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
  14. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
  15. package/dist/components/ApplicationForm/ApplicationFormCredit.js +2 -2
  16. package/dist/components/ApplicationForm/ApplicationFormWed.js +2 -2
  17. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  18. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  19. package/dist/components/Blocks.js +0 -4
  20. package/dist/components/Blocks.js.map +1 -1
  21. package/dist/components/Blocks.mobile.js +4 -2
  22. package/dist/components/Blocks.mobile.js.map +1 -1
  23. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -1
  24. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  25. package/dist/components/CarouselLinks/CarouselLinks.js +1 -1
  26. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  27. package/dist/components/Footer/Footer.mobile.js +3 -3
  28. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  29. package/dist/components/Header/Header.mobile.js +2 -3
  30. package/dist/components/Header/Header.mobile.js.map +1 -1
  31. package/dist/components/Headline/Headline.js +3 -2
  32. package/dist/components/Headline/Headline.js.map +1 -1
  33. package/dist/components/Headline/HeadlineContent.d.ts +2 -0
  34. package/dist/components/RollupItem/RollupItem.js +9 -4
  35. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  36. package/dist/components/RollupItem/RollupItem.mobile.d.ts +5 -0
  37. package/dist/components/RollupItem/RollupItem.mobile.js +33 -0
  38. package/dist/components/RollupItem/RollupItem.mobile.js.map +1 -0
  39. package/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -1
  40. package/dist/ui-kit/Icon/Icon.js +4 -1
  41. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  42. package/dist/ui-kit/List/List.js +1 -1
  43. package/dist/ui-kit/List/List.js.map +1 -1
  44. package/dist/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
  45. package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  46. package/dist/ui-kit/SwipeListControl/SwipeListItem.js +1 -1
  47. package/dist/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
  48. package/lib/common.css +1 -1
  49. package/lib/components/Accordion/Accordion.fixture.d.ts +0 -2
  50. package/lib/components/Accordion/Accordion.fixture.mobile.d.ts +1 -1
  51. package/lib/components/Accordion/Accordion.js +2 -3
  52. package/lib/components/Accordion/Accordion.js.map +1 -1
  53. package/lib/components/Accordion/Accordion.mobile.js +2 -3
  54. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  55. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
  56. package/lib/components/ApplicationForm/ApplicationFormCredit.js +2 -2
  57. package/lib/components/ApplicationForm/ApplicationFormWed.js +2 -2
  58. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  59. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  60. package/lib/components/Blocks.js +0 -4
  61. package/lib/components/Blocks.js.map +1 -1
  62. package/lib/components/Blocks.mobile.js +4 -2
  63. package/lib/components/Blocks.mobile.js.map +1 -1
  64. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -1
  65. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  66. package/lib/components/CarouselLinks/CarouselLinks.js +1 -1
  67. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  68. package/lib/components/Footer/Footer.mobile.js +3 -3
  69. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  70. package/lib/components/Header/Header.mobile.js +2 -3
  71. package/lib/components/Header/Header.mobile.js.map +1 -1
  72. package/lib/components/Headline/Headline.js +3 -2
  73. package/lib/components/Headline/Headline.js.map +1 -1
  74. package/lib/components/Headline/HeadlineContent.d.ts +2 -0
  75. package/lib/components/{AccordionItem/AccordionItem.fixture.d.ts → RollupItem/RollupItem.fixture.mobile.d.ts} +2 -0
  76. package/lib/components/RollupItem/RollupItem.js +9 -4
  77. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  78. package/lib/components/RollupItem/RollupItem.mobile.d.ts +5 -0
  79. package/lib/components/RollupItem/RollupItem.mobile.js +31 -0
  80. package/lib/components/RollupItem/RollupItem.mobile.js.map +1 -0
  81. package/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -1
  82. package/lib/ui-kit/Foldable/DefaultFoldButton.d.ts +0 -1
  83. package/lib/ui-kit/Icon/Icon.js +4 -1
  84. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  85. package/lib/ui-kit/List/List.js +1 -1
  86. package/lib/ui-kit/List/List.js.map +1 -1
  87. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
  88. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  89. package/lib/ui-kit/SwipeListControl/SwipeListItem.js +1 -1
  90. package/lib/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
  91. package/mobile/bundle/bundle.umd.js +204 -154
  92. package/mobile/bundle/bundle.umd.min.js +1 -1
  93. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +2 -0
  94. package/mobile/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -1
  95. package/mobile/dist/components/Accordion/Accordion.js +2 -3
  96. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  97. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
  98. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +2 -2
  99. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +2 -2
  100. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  101. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  102. package/mobile/dist/components/Blocks.js +4 -2
  103. package/mobile/dist/components/Blocks.js.map +1 -1
  104. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -1
  105. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  106. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +1 -1
  107. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  108. package/mobile/dist/components/Footer/Footer.js +3 -3
  109. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  110. package/mobile/dist/components/Header/Header.js +2 -3
  111. package/mobile/dist/components/Header/Header.js.map +1 -1
  112. package/mobile/dist/components/Headline/Headline.js +3 -2
  113. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  114. package/mobile/dist/components/Headline/HeadlineContent.d.ts +2 -0
  115. package/mobile/dist/components/RollupItem/RollupItem.js +17 -5
  116. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  117. package/mobile/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -1
  118. package/mobile/dist/ui-kit/Icon/Icon.js +4 -1
  119. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  120. package/mobile/dist/ui-kit/List/List.js +1 -1
  121. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  122. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
  123. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  124. package/mobile/dist/ui-kit/SwipeListControl/SwipeListItem.js +1 -1
  125. package/mobile/dist/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
  126. package/mobile/lib/components/Accordion/Accordion.js +2 -3
  127. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  128. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
  129. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +2 -2
  130. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +2 -2
  131. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  132. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  133. package/mobile/lib/components/Blocks.js +4 -2
  134. package/mobile/lib/components/Blocks.js.map +1 -1
  135. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -1
  136. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  137. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +1 -1
  138. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  139. package/mobile/lib/components/Footer/Footer.js +3 -3
  140. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  141. package/mobile/lib/components/Header/Header.js +2 -3
  142. package/mobile/lib/components/Header/Header.js.map +1 -1
  143. package/mobile/lib/components/Headline/Headline.js +3 -2
  144. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  145. package/mobile/lib/components/Headline/HeadlineContent.d.ts +2 -0
  146. package/mobile/lib/components/RollupItem/RollupItem.js +17 -5
  147. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  148. package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -1
  149. package/mobile/lib/ui-kit/Icon/Icon.js +4 -1
  150. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  151. package/mobile/lib/ui-kit/List/List.js +1 -1
  152. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  153. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
  154. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  155. package/mobile/lib/ui-kit/SwipeListControl/SwipeListItem.js +1 -1
  156. package/mobile/lib/ui-kit/SwipeListControl/SwipeListItem.js.map +1 -1
  157. package/mobile/src/components/Accordion/Accordion.example.json +3 -3
  158. package/mobile/src/components/Accordion/Accordion.tsx +2 -3
  159. package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +2 -2
  160. package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +2 -2
  161. package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +2 -2
  162. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  163. package/mobile/src/components/Blocks.ts +4 -2
  164. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +10 -3
  165. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +1 -1
  166. package/mobile/src/components/Footer/Footer.tsx +9 -9
  167. package/mobile/src/components/Header/Header.tsx +5 -6
  168. package/mobile/src/components/Headline/Headline.tsx +4 -1
  169. package/mobile/src/components/Headline/HeadlineContent.ts +2 -0
  170. package/mobile/src/components/PictureText/PictureText.example.json +2 -0
  171. package/mobile/src/components/RollupItem/RollupItem.tsx +77 -28
  172. package/mobile/src/components/StepsBlock/StepsBlock.example.json +4 -1
  173. package/mobile/src/ui-kit/BenefitItem/BenefitItemProps.ts +1 -1
  174. package/mobile/src/ui-kit/Icon/Icon.tsx +4 -1
  175. package/mobile/src/ui-kit/List/List.tsx +1 -1
  176. package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +0 -1
  177. package/mobile/src/ui-kit/SwipeListControl/SwipeListItem.tsx +1 -2
  178. package/package.json +1 -1
  179. package/src/components/Accordion/Accordion.example.json +3 -3
  180. package/src/components/Accordion/Accordion.fixture.mobile.tsx +20 -11
  181. package/src/components/Accordion/Accordion.fixture.tsx +42 -27
  182. package/src/components/Accordion/Accordion.mobile.tsx +2 -3
  183. package/src/components/Accordion/Accordion.tsx +2 -3
  184. package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +2 -2
  185. package/src/components/ApplicationForm/ApplicationFormCredit.tsx +2 -2
  186. package/src/components/ApplicationForm/ApplicationFormWed.tsx +2 -2
  187. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  188. package/src/components/Blocks.mobile.ts +4 -2
  189. package/src/components/Blocks.ts +0 -4
  190. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +10 -3
  191. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.tsx +2 -2
  192. package/src/components/CarouselLinks/CarouselLinks.tsx +1 -1
  193. package/src/components/Footer/Footer.mobile.tsx +9 -9
  194. package/src/components/Header/Header.mobile.tsx +5 -6
  195. package/src/components/Headline/Headline.tsx +4 -1
  196. package/src/components/Headline/HeadlineContent.ts +2 -0
  197. package/src/components/OtherProducts/OtherProducts.fixture.tsx +15 -14
  198. package/src/components/PictureText/PictureText.example.json +2 -0
  199. package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +33 -0
  200. package/src/components/RollupItem/RollupItem.mobile.tsx +143 -0
  201. package/src/components/RollupItem/RollupItem.tsx +17 -13
  202. package/src/components/StepsBlock/StepsBlock.example.json +4 -1
  203. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +1 -0
  204. package/src/ui-kit/BenefitItem/BenefitItemProps.ts +1 -1
  205. package/src/ui-kit/Icon/Icon.tsx +4 -1
  206. package/src/ui-kit/List/List.tsx +1 -1
  207. package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +0 -1
  208. package/src/ui-kit/SwipeListControl/SwipeListItem.tsx +1 -2
  209. package/bundle/components/Accordion/AccordionItemsList.d.ts +0 -1
  210. package/bundle/components/AccordionItem/AccordionItem.d.ts +0 -3
  211. package/bundle/components/AccordionItem/AccordionItem.mobile.d.ts +0 -3
  212. package/bundle/components/AccordionItem/AccordionItemContent.d.ts +0 -14
  213. package/bundle/components/AccordionItem/AccordionItemProps.d.ts +0 -4
  214. package/bundle/components/OtherProductsItem/OtherProductsItem.d.ts +0 -5
  215. package/bundle/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -12
  216. package/dist/components/Accordion/AccordionItemsList.d.ts +0 -1
  217. package/dist/components/Accordion/AccordionItemsList.js +0 -6
  218. package/dist/components/Accordion/AccordionItemsList.js.map +0 -1
  219. package/dist/components/AccordionItem/AccordionItem.d.ts +0 -3
  220. package/dist/components/AccordionItem/AccordionItem.js +0 -14
  221. package/dist/components/AccordionItem/AccordionItem.js.map +0 -1
  222. package/dist/components/AccordionItem/AccordionItem.mobile.d.ts +0 -3
  223. package/dist/components/AccordionItem/AccordionItem.mobile.js +0 -19
  224. package/dist/components/AccordionItem/AccordionItem.mobile.js.map +0 -1
  225. package/dist/components/AccordionItem/AccordionItemContent.d.ts +0 -14
  226. package/dist/components/AccordionItem/AccordionItemContent.js +0 -2
  227. package/dist/components/AccordionItem/AccordionItemContent.js.map +0 -1
  228. package/dist/components/AccordionItem/AccordionItemProps.d.ts +0 -4
  229. package/dist/components/AccordionItem/AccordionItemProps.js +0 -2
  230. package/dist/components/AccordionItem/AccordionItemProps.js.map +0 -1
  231. package/dist/components/OtherProductsItem/OtherProductsItem.d.ts +0 -5
  232. package/dist/components/OtherProductsItem/OtherProductsItem.js +0 -18
  233. package/dist/components/OtherProductsItem/OtherProductsItem.js.map +0 -1
  234. package/dist/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -12
  235. package/dist/components/OtherProductsItem/OtherProductsItemContent.js +0 -2
  236. package/dist/components/OtherProductsItem/OtherProductsItemContent.js.map +0 -1
  237. package/lib/components/Accordion/AccordionItemsList.d.ts +0 -1
  238. package/lib/components/Accordion/AccordionItemsList.js +0 -4
  239. package/lib/components/Accordion/AccordionItemsList.js.map +0 -1
  240. package/lib/components/AccordionItem/AccordionItem.d.ts +0 -3
  241. package/lib/components/AccordionItem/AccordionItem.fixture.mobile.d.ts +0 -5
  242. package/lib/components/AccordionItem/AccordionItem.js +0 -12
  243. package/lib/components/AccordionItem/AccordionItem.js.map +0 -1
  244. package/lib/components/AccordionItem/AccordionItem.mobile.d.ts +0 -3
  245. package/lib/components/AccordionItem/AccordionItem.mobile.js +0 -17
  246. package/lib/components/AccordionItem/AccordionItem.mobile.js.map +0 -1
  247. package/lib/components/AccordionItem/AccordionItemContent.d.ts +0 -14
  248. package/lib/components/AccordionItem/AccordionItemContent.js +0 -2
  249. package/lib/components/AccordionItem/AccordionItemContent.js.map +0 -1
  250. package/lib/components/AccordionItem/AccordionItemProps.d.ts +0 -4
  251. package/lib/components/AccordionItem/AccordionItemProps.js +0 -2
  252. package/lib/components/AccordionItem/AccordionItemProps.js.map +0 -1
  253. package/lib/components/OtherProductsItem/OtherProductsItem.d.ts +0 -5
  254. package/lib/components/OtherProductsItem/OtherProductsItem.fixture.d.ts +0 -5
  255. package/lib/components/OtherProductsItem/OtherProductsItem.js +0 -16
  256. package/lib/components/OtherProductsItem/OtherProductsItem.js.map +0 -1
  257. package/lib/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -12
  258. package/lib/components/OtherProductsItem/OtherProductsItemContent.js +0 -2
  259. package/lib/components/OtherProductsItem/OtherProductsItemContent.js.map +0 -1
  260. package/mobile/bundle/components/Accordion/AccordionItemsList.d.ts +0 -1
  261. package/mobile/bundle/components/AccordionItem/AccordionItem.d.ts +0 -3
  262. package/mobile/bundle/components/AccordionItem/AccordionItemContent.d.ts +0 -14
  263. package/mobile/bundle/components/AccordionItem/AccordionItemProps.d.ts +0 -4
  264. package/mobile/bundle/components/OtherProductsItem/OtherProductsItem.d.ts +0 -5
  265. package/mobile/bundle/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -12
  266. package/mobile/dist/components/Accordion/AccordionItemsList.d.ts +0 -1
  267. package/mobile/dist/components/Accordion/AccordionItemsList.js +0 -6
  268. package/mobile/dist/components/Accordion/AccordionItemsList.js.map +0 -1
  269. package/mobile/dist/components/AccordionItem/AccordionItem.d.ts +0 -3
  270. package/mobile/dist/components/AccordionItem/AccordionItem.js +0 -19
  271. package/mobile/dist/components/AccordionItem/AccordionItem.js.map +0 -1
  272. package/mobile/dist/components/AccordionItem/AccordionItemContent.d.ts +0 -14
  273. package/mobile/dist/components/AccordionItem/AccordionItemContent.js +0 -2
  274. package/mobile/dist/components/AccordionItem/AccordionItemContent.js.map +0 -1
  275. package/mobile/dist/components/AccordionItem/AccordionItemProps.d.ts +0 -4
  276. package/mobile/dist/components/AccordionItem/AccordionItemProps.js +0 -2
  277. package/mobile/dist/components/AccordionItem/AccordionItemProps.js.map +0 -1
  278. package/mobile/dist/components/OtherProductsItem/OtherProductsItem.d.ts +0 -5
  279. package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js +0 -18
  280. package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js.map +0 -1
  281. package/mobile/dist/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -12
  282. package/mobile/dist/components/OtherProductsItem/OtherProductsItemContent.js +0 -2
  283. package/mobile/dist/components/OtherProductsItem/OtherProductsItemContent.js.map +0 -1
  284. package/mobile/lib/components/Accordion/AccordionItemsList.d.ts +0 -1
  285. package/mobile/lib/components/Accordion/AccordionItemsList.js +0 -4
  286. package/mobile/lib/components/Accordion/AccordionItemsList.js.map +0 -1
  287. package/mobile/lib/components/AccordionItem/AccordionItem.d.ts +0 -3
  288. package/mobile/lib/components/AccordionItem/AccordionItem.js +0 -17
  289. package/mobile/lib/components/AccordionItem/AccordionItem.js.map +0 -1
  290. package/mobile/lib/components/AccordionItem/AccordionItemContent.d.ts +0 -14
  291. package/mobile/lib/components/AccordionItem/AccordionItemContent.js +0 -2
  292. package/mobile/lib/components/AccordionItem/AccordionItemContent.js.map +0 -1
  293. package/mobile/lib/components/AccordionItem/AccordionItemProps.d.ts +0 -4
  294. package/mobile/lib/components/AccordionItem/AccordionItemProps.js +0 -2
  295. package/mobile/lib/components/AccordionItem/AccordionItemProps.js.map +0 -1
  296. package/mobile/lib/components/OtherProductsItem/OtherProductsItem.d.ts +0 -5
  297. package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js +0 -16
  298. package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js.map +0 -1
  299. package/mobile/lib/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -12
  300. package/mobile/lib/components/OtherProductsItem/OtherProductsItemContent.js +0 -2
  301. package/mobile/lib/components/OtherProductsItem/OtherProductsItemContent.js.map +0 -1
  302. package/mobile/src/components/Accordion/AccordionItemsList.tsx +0 -5
  303. package/mobile/src/components/AccordionItem/AccordionItem.example.json +0 -25
  304. package/mobile/src/components/AccordionItem/AccordionItem.tsx +0 -90
  305. package/mobile/src/components/AccordionItem/AccordionItem.ui.json +0 -7
  306. package/mobile/src/components/AccordionItem/AccordionItemContent.ts +0 -15
  307. package/mobile/src/components/AccordionItem/AccordionItemProps.ts +0 -4
  308. package/mobile/src/components/OtherProductsItem/OtherProductsItem.example.json +0 -22
  309. package/mobile/src/components/OtherProductsItem/OtherProductsItem.tsx +0 -50
  310. package/mobile/src/components/OtherProductsItem/OtherProductsItem.ui.json +0 -1
  311. package/mobile/src/components/OtherProductsItem/OtherProductsItemContent.ts +0 -13
  312. package/src/components/Accordion/AccordionItemsList.tsx +0 -5
  313. package/src/components/AccordionItem/AccordionItem.example.json +0 -25
  314. package/src/components/AccordionItem/AccordionItem.fixture.mobile.tsx +0 -17
  315. package/src/components/AccordionItem/AccordionItem.fixture.tsx +0 -17
  316. package/src/components/AccordionItem/AccordionItem.mobile.tsx +0 -90
  317. package/src/components/AccordionItem/AccordionItem.tsx +0 -58
  318. package/src/components/AccordionItem/AccordionItem.ui.json +0 -7
  319. package/src/components/AccordionItem/AccordionItemContent.ts +0 -15
  320. package/src/components/AccordionItem/AccordionItemProps.ts +0 -4
  321. package/src/components/OtherProductsItem/OtherProductsItem.example.json +0 -22
  322. package/src/components/OtherProductsItem/OtherProductsItem.fixture.tsx +0 -20
  323. package/src/components/OtherProductsItem/OtherProductsItem.tsx +0 -50
  324. package/src/components/OtherProductsItem/OtherProductsItem.ui.json +0 -1
  325. package/src/components/OtherProductsItem/OtherProductsItemContent.ts +0 -13
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UniMobileBlocks={})}(this,(function(e){"use strict";let t;const n=e=>(...n)=>t[e](...n),r=n("useState"),i=n("useEffect"),a=n("useCallback"),l=n("useMemo"),s=n("useRef");const o={PROD_BRANCH:"master"},c=new class{_=o;setup(e){this._=e}get TEST_BRANCH(){return this._.TEST_BRANCH}get RC_BRANCH(){return this._.RC_BRANCH}get PROD_BRANCH(){return this._.PROD_BRANCH||o.PROD_BRANCH}get FORCED_DRAFT_FLOW(){return this._.FORCED_DRAFT_FLOW}get ASSIST_PROJECT_ID(){return this._.ASSIST_PROJECT_ID}get SITEMAP(){return this._.SITEMAP}get FOOTER(){return this._.FOOTER}get CHAT_BOT(){return this._.CHAT_BOT}get CDN(){return d(this._.CDN)}get BASE_PATH(){return d(this._.BASE_PATH)}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},d=e=>e&&!e.endsWith("/")?`${e}/`:e,m="likesToken";function h(){async function e(){try{const e=JSON.parse(globalThis.localStorage?.getItem(m)||"");if(e?.token)return e}catch(e){}try{const e=await fetch("/assist/v1/public/auth",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:t,name:n}=await e.json();return globalThis.localStorage?.setItem(m,JSON.stringify({token:t,name:n})),{token:t,name:n}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...t){if(!t.length)return[];const{token:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n},body:JSON.stringify({node_ids:t})}),{likes:r}=await e.json();return r||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:n,name:r}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:r},body:JSON.stringify({node_id:t,user_name:r})}),{likes:i}=await e.json();return i||0}catch(e){return console.error(e),0}},dislike:async function(t){if(!t)return 0;const{token:n,name:r}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:r},body:JSON.stringify({node_id:t,user_name:r})}),{likes:i}=await e.json();return i||0}catch(e){return console.error(e),0}}}}const u=(...e)=>globalThis._uni._jsx(...e),p=(...e)=>globalThis._uni._jsxs(...e),g=e=>{const t=e;return t._tmpl||(t._tmpl=globalThis.__UNI_REACT__?e:b(e)),t._tmpl},b=e=>{function t(t,n){const{children:r,...i}=t||{},a=n?.slots?.default,l=r||a&&a();return e(Object.assign(i,l&&{children:l}),n)}return t.inheritAttrs=!1,t},x=(...e)=>e.flatMap((e=>e)).filter(Boolean).join(" "),f=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),N=[];function y(e,t){const{key:n,blockDecorator:r=f,blocksRegistry:i={},ancestors:a=N,className:l="",extraProps:s={}}=t,{type:o}=e;o&&o in i||console.warn(`No block with "${o}" is registered`);const c=o&&i[o];return r({blockClassName:x("scroll-mt-12",l,e.style||"col-span-12"),block:e,ancestors:a,render:({block:r,blockClassName:i})=>{const{content:a}=r;return c?u(c,{className:i,block:e,options:t,...a,...s},n):null}},n)}const v=[],w=(e,{key:t,ancestors:n=v,slotName:r=null,renderProps:i=y,...a})=>(e||[]).map(((e,l)=>i(e,{...a,key:`${t||e.type}-${l}`,ancestors:a.parent?[...n||v,[a.parent,r]]:n})));function k({children:e,block:t,options:n,renderProps:r}){return e||(t&&n?w(t.blocks,{...n,parent:t,renderProps:r}):null)}class S{subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]=(this.subscribers[e]||[]).concat(t);const n=this.subjectsStateMap[e];return n&&t(n),()=>{this.unsubscribe(e,t)}}unsubscribe(e,t){this.subscribers[e]=this.subscribers[e]?.filter((e=>e!==t))}fire(e,t){e in this.subjectsStateMap&&(this.subjectsStateMap[e]=t),this.subscribers[e]?.forEach((e=>e(t)))}subject(e,t){this.subjectsStateMap[e]=t}}const C=new S;function T(e,{sensitivity:t,rootRef:n}={}){const r=s(null),a=l((()=>({threshold:_(t),root:n?.current})),[t,n?.current]);return i((()=>{if(!r.current)return;const t=new IntersectionObserver(e,a);return t.observe(r.current),()=>{t.disconnect()}}),[e,a]),r}function _(e=0){const t=Math.round(10*e);return new Array(t).fill(0).map(((e,n)=>Math.min(n/t)),1).concat(1)}const $=new S;const I={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white",gray:"bg-main-divider text-primary-text",transparent:"bg-transparent text-primary-text","":""},A=g((({className:e="",version:t="primary",block:n,tag:l="section",role:s,isTheme:o=!0,children:c})=>{const d=l,m=function(e){return T(a((t=>{if(!e||!t?.length)return;const n=t[t.length-1];$.fire("intersection",{block:e,intersection:n})}),[e]),{sensitivity:1})}(n),[h,p]=r(!1);return i((()=>C.subscribe("tab",(e=>{p(Boolean(e.label&&n?.labels?.length&&!n.labels.includes(e.label)))}))),[n]),u(d,{className:x(o?"group":"",I[t],h?"hidden":"",e),...t&&o?{"data-ver":t}:{},...n?.anchor?{id:n.anchor,ref:m}:{},role:s,children:c})})),j={h0:"text-m-title",h1:"text-m-title",h2:"text-m-title",h3:"text-h6",h4:"text-m-title-xs",h5:"text-m-title-xs",h6:"text-m-title-xs"},R=g((e=>{const{className:t,headingType:n="h3",title:r,as:i="h3"}=e;return u(i,{className:`font-sans font-medium m-0 ${j[n]} ${t||""}`,children:r})})),D=g((({children:e,...t})=>u("p",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),M=g((({children:e})=>u("ul",{className:"list-none m-0 p-0",children:e}))),V=g((({title:e,description:t,className:n="",...r})=>p(A,{className:`py-6 px-4 ${n}`,...r,children:[e?u(R,{headingType:"h3",className:"mb-2 text-center",title:e}):null,t?u("div",{className:"mb-5",children:u(D,{size:"text-m",font:"font-light",align:"text-center",children:t})}):null,u(M,{children:k(r)})]})));V.childrenTypes=["AccordionItem"];const B=g((({className:e="",isFoldButtonOnTop:t=!1,unfoldedByDefault:n=!1,renderFoldableSection:i,renderFoldButton:l})=>{const[s,o]=r(n),c=a((()=>{o((e=>!e))}),[]),d=i({isUnfolded:s,onToggle:c}),m=l?l({isUnfolded:s,onToggle:c}):null;return p("div",t?{className:e,children:[m,d]}:{className:e,children:[d,m]})})),L=g((({className:e="",isUnfolded:t,children:n})=>{const r=s(null);return i((()=>{r.current&&(r.current.style.maxHeight=t?`${r.current.scrollHeight}px`:"")}),[t,n?.length]),u("div",{ref:r,className:`transition-max-h duration-300 overflow-hidden ${r.current||!t?"max-h-0":""} ${e}`,children:n})}));function O(){return O._impl()}O._impl=()=>({href:globalThis.location?.href||"/",pathname:globalThis.location?.pathname||"/",query:{},push:()=>{},replace:()=>{}}),O.setup=e=>{O._impl=e};const P=e=>Boolean(e?.includes(":")),z=(e,t)=>Boolean(e&&!P(e)&&(!t||"_self"===t)),E=e=>(e||"").replace(/\?.*/,"").replace(/\/$/,""),H=(...e)=>e.filter(Boolean).join("/").replace(/\/+/g,"/");var F=Object.freeze({__proto__:null,isURL:P,isLocalURL:z,isHash:e=>Boolean(e?.startsWith("#")),withoutQuery:E,joinPath:H});const G=e=>t=>{if(!t||P(t)||c.CDN&&t.startsWith(c.CDN))return t;const n=t.startsWith("/");return H(c.BASE_PATH,n?"/":e.pathname?.split("/").slice(0,-1).join("/"),t)},J={normal:"",color:"text-primary-main",black:"text-black",white:"text-black"},U=g((({className:e="",imageClassName:t="",name:n="",alt:r=`Иконка ${n}`,title:i=r,iconVersion:a="color",asSVG:l,...s})=>{const o=O(),d=G(o)(H(c.CDN,"/icons",`${n}.svg`));return l&&"normal"!==a?u(Y,{className:e,children:p("svg",{className:x(W(s.width),J[a],"white"===a?"invert":"",t),...s,"aria-hidden":"true",children:[i?u("title",{children:i}):null,r?u("desc",{children:r}):null,u("use",{href:`${d}#icon`,xlinkHref:`${d}#icon`})]})}):u("img",{className:e,src:d,alt:r,title:i,...s,"aria-hidden":"true"})})),W=e=>e?"":"w-full h-full",Y=g((({className:e,children:t})=>e?u("div",{className:e,children:t}):t)),X=(e,t)=>e?.media&&t?.media?e.media-t.media:0,K=g((({className:e="",image:t,imageClassName:n="",isMobile:r=!1,pathPrefix:i})=>{const a=O();return p("picture",{className:`${r?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.filter((e=>e?.src)).sort(X).map((({src:e,format:n,media:r},l)=>u("source",{srcSet:Q(a,i)(e),type:Z(n),media:r?`(max-width: ${r}px)`:"",...t.size},`${l}_${e}`))):null,t?.src?q({...t,src:Q(a,i)(t.src)},n,r):null]})})),q=(e,t="",n=!1)=>{const r={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"100%"},i=e.title||"",a=e.alt||e.title,l=n?"m-auto":"m-0";return u("img",{src:e.src,className:`${l} ${t}`,alt:a,title:i,style:r,...e.size})},Q=(e,t)=>n=>n&&!P(n)?G(e)(H(t,n)):n,Z=e=>e?`image/${String(e)}`:void 0,ee=g((({className:e="",image:t,imageClassName:n="",isMobile:r,pathPrefix:i,...a})=>t?.src||t?.icon?t.icon?u(U,{className:e,imageClassName:n,iconVersion:t?.iconVersion||"normal",name:t.icon,...a}):u(K,{className:e,imageClassName:n,image:t,isMobile:r,pathPrefix:i}):null)),te=g((e=>u(ee,{...e,isMobile:!0}))),ne=g((({children:e,...t})=>u("span",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),re=(e,t="primary")=>({...e,iconVersion:e?.iconVersion??("secondary"===t?"white":"color")}),ie=["PlusIcon","MinusIcon"],ae=g((({className:e="",label:t="",labelIcon:n,isExpanded:r,...i})=>{const{bordered:a}=function(e,t){const{content:n}=function(e){return e?.parent||{}}(e);return n||t}(i.options,{});return u("li",{className:`${a?"border p-4 rounded mb-4":"border-0 border-b last:border-b-0"} border-solid border-main-divider ${e}`,children:u(B,{isFoldButtonOnTop:!0,unfoldedByDefault:r,renderFoldableSection:({isUnfolded:e})=>u(L,{className:"flex flex-wrap group-last:last:pb-0 gap-5 [&>*]:p-0",isUnfolded:e,children:k(i)}),renderFoldButton:({isUnfolded:e,onToggle:r})=>u(le,{className:a?"":"py-3.5 px-0",label:t,icon:ie[Number(e)],primaryIcon:n,onClick:r})})})}));ae.childrenTypes=[];const le=g((({className:e,icon:t,label:n,primaryIcon:r,onClick:i})=>p("button",{className:`border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text group cursor-pointer ${e}`,onClick:i,children:[p("div",{className:"flex group-hover:text-primary-main",children:[r?u(te,{image:re(r),className:"mr-3 flex-shrink-0",width:"24",height:"24",asSVG:!0}):null,u(ne,{size:"text-m-title-xs",font:"font-medium",children:n})]}),u(te,{className:"flex-shrink-0",image:re({icon:t}),width:"24",height:"24",asSVG:!0})]}))),se=e=>({height:"calc(100vh - 242px)",minHeight:`${e||866}px`}),oe=g((({className:e="",style:t,idx:n,activeIndex:r,observerOptions:i,children:l,onIntersection:s})=>{const o=T(a((e=>{e.length&&s&&s(n||0,e[e.length-1])}),[s,n]),i);return u("div",{className:`inline-block snap-always box-border ${e}`,style:t,role:"listitem","aria-current":Boolean(n===r),ref:o,children:l})})),ce=["min-w-[100%]","min-w-[50%]","min-w-[33.33%]","min-w-[25%]"],de=g((({className:e="",containerRef:t,activeIndex:n,visibleItemCount:r=0,gap:i=0,padding:l=0,listType:o="horizontal-list",snapAlign:c="snap-center",minHeight:d,children:m,onVisibleItemsChange:h,onVisibleIndicesChange:p})=>{const g={sensitivity:1,rootRef:t},b=s([]),f=a(((e,t)=>{const n=[...b.current||[]];n[e]=t,b.current=n,h&&h(n),p&&p(he(n))}),[h,p]),N=r>0?i*Number(r)-1:0,y="vertical-list"===o,v="horizontal-list"===o,w={...v?me(l,N):{},...y?se(d):{},gap:`${i}px`};return u("div",{className:x("box-border overflow-auto no-scrollbar",o,e),style:w,role:"list",ref:t,children:(k=(e,t)=>u(oe,{className:x(c,r?ce[r-1]:"",y?"h-full":""),style:v?me(l/4):{},activeIndex:n,idx:t,observerOptions:g,onIntersection:f,children:e},String(t)),e=>null==e?e:Array.isArray(e)?e.map(k):k(e,0))(m)});var k})),me=(e,t=0)=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e+t}px`}),he=e=>e.map(((e,t)=>[e,t])).filter((([e])=>e&&e.intersectionRatio>=.9)).map((([,e])=>e)),ue={"horizontal-list":"mx-auto mt-5 w-fit","vertical-list":"absolute flex-col justify-center h-full top-0 left-4"},pe={"horizontal-list":"w-6","vertical-list":"h-6"},ge=g((({containerRef:e,activeIndex:t,dotCount:n=0,listType:r="horizontal-list",version:i})=>n?u("div",{className:x("flex gap-2",ue[r],i?"group":""),...i?{"data-ver":i}:{},children:new Array(n).fill(null).map(((n,i)=>u("div",{className:`cursor-pointer rounded-full transition-width duration-300 bg-primary-main group-data-secondary:bg-white group-data-transparent:bg-white ${i===t?pe[r]:"w-2 h-2 opacity-30"}`,role:"button","aria-hidden":!0,onClick:()=>(n=>{n!==t&&e?.current&&e.current.children[n]?.scrollIntoView({behavior:"smooth",block:"nearest"})})(i)},String(i))))}):null)),be=e=>e,xe=(e=be)=>t=>t.reduceRight(((t,n)=>e(t)>e(n)?t:n)),fe=(e=be)=>xe((t=>-e(t))),Ne=e=>t=>e.scrollWidth/t,ye=e=>(t,n)=>{e.scrollBy({left:n*Ne(e)(t),behavior:"smooth"})},ve=({itemCount:e,isCyclic:t,onVisibleIndicesChange:n})=>{const i=s(null),[l,o]=r([]),c=a((e=>{o((t=>{return(n=t)===(r=e)||Boolean(n&&r&&n?.length===r?.length&&n.every(((e,t)=>e===r[t])))?t:e;var n,r})),n&&n(e)}),[e]),[d,m]=l.length?[fe()(l),xe()(l)]:[-1,-1],h=d>0,u=m<e-1,p=a((()=>{var n;i.current&&(t&&!h?(n=i.current).scrollTo({left:n.scrollWidth,behavior:"smooth"}):ye(i.current)(e,-1))}),[t,e,h]),g=a((()=>{i.current&&(t&&!u?i.current.scrollTo({left:0,behavior:"smooth"}):ye(i.current)(e,1))}),[e,t,u]);return[i,{scrollLeft:p,scrollRight:g,canScrollLeft:t||h,canScrollRight:t||u,visibleIndicesRange:[d,m],handleVisibleIndicesChange:c}]},we=g((({className:e="",gap:t=14,padding:n=16,showDots:r=!0,minHeight:i,children:a,onVisibleIndicesChange:l,listType:s="horizontal-list",version:o})=>{const c=Array.isArray(a)?a.length:0,[d,m]=ve({itemCount:c,onVisibleIndicesChange:l}),[h]=m.visibleIndicesRange;return p("div",{className:x(e,"vertical-list"===s?"relative h-full":""),children:[u(de,{containerRef:d,activeIndex:h,visibleItemCount:1,gap:t,padding:n,onVisibleIndicesChange:m.handleVisibleIndicesChange,listType:s,minHeight:i,children:a}),r?u(ge,{containerRef:d,activeIndex:h,dotCount:c,listType:s,version:o}):null]})})),ke=(e,t)=>ke._impl(e,t);function Se(e=!1){const t=O();return r=>({...r,href:e?r.href:G(t)(r.href),"aria-label":r.text,onClick:ke(n(r),r)});function n({href:n,target:r,onClick:i}){return a=>{i&&i(a),n&&!e&&z(n,r)&&(a?.preventDefault(),t.push(n))}}}ke._impl=e=>e,ke.setup=e=>{ke._impl=e};const Ce={primary:"text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active",secondary:"text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active",white:"text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main",link:"",transparent:"",gray:"text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active","":""},Te="bg-main-divider text-main-disabled",_e={primary:Te,secondary:Te,white:Te,link:"",transparent:"",gray:Te,"":""},$e="text-center font-sans select-none",Ie={primary:"group-hover/btn:brightness-0 group-hover/btn:invert",secondary:"group-hover/btn:brightness-0 group-hover/btn:invert",white:"group-hover/btn:brightness-0 group-hover/btn:invert",link:"",transparent:"",gray:"group-hover/btn:brightness-0 group-hover/btn:invert","":""},Ae=g((e=>{const{text:t,aboveText:n,appendLeft:r,appendRight:i,version:a="primary"}=e;return p("div",{className:je(e),children:[r?u("div",{className:Ie[a],children:r}):null,Re(e)?p("div",{children:[n?u("div",{className:"text-xs-light text-left",children:n}):null,u("div",{className:"text-left "+(n?"text-s -mt-0.5":"text-l"),children:t})]}):null,i?u("div",{className:Ie[a],children:i}):null]})})),je=e=>{const{version:t,aboveText:n,rounded:r}=e;if("link"===t)return"";const i="gap-2 "+(n?"py-2.5 px-7":"py-4 px-4");return["group/btn flex items-center justify-center",Re(e)?i:"h-12 w-12",r?"rounded-full":""].join(" ")},Re=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),De=({className:e,rounded:t,version:n})=>["inline-block",$e,n?_e[n]:"",t?"rounded-full":"rounded-md",e].join(" "),Me=({className:e,rounded:t,version:n})=>[$e,"border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border",n?Ce[n]:"",t?"rounded-full":"rounded-md",e].join(" "),Ve=g((({disabled:e,children:t,...n})=>{const r=Se()(n),i=t??u(Ae,{...r});return u(e?Le:Be,{...r,children:i})})),Be=g((({className:e="",href:t,rel:n,target:r,ariaLabel:i,version:a,rounded:l,onClick:s,children:o})=>u("a",{className:Me({className:e,version:a,rounded:l}),href:t,rel:n,target:r,"aria-label":i,role:t?"link":"button",onClick:s,children:o}))),Le=g((({className:e,ariaLabel:t,version:n,rounded:r,children:i})=>u("div",{role:"button","aria-disabled":"true","aria-label":t,tabIndex:-1,className:De({className:e,rounded:r,version:n}),children:i}))),Oe=(e=!1)=>e?"text-white":"",Pe=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),ze=g((({icon:e,image:t,title:n,subtitle:r,isFillGradient:i})=>p("div",{role:"columnheader",children:[e?u(te,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}):null,t?.src&&u("div",{className:"mb-3.5",children:u(te,{image:t})}),n?u(R,{headingType:"h4",className:Oe(i),title:n}):null,r?u("div",{className:Pe(i),children:r}):null]}))),Ee=g((({cell:e,rowHeader:t,isFillGradient:n=!1})=>u("div",{className:"box-border flex flex-col",role:"cell",children:u("div",{className:"h-full border-main-divider border border-t-0 border-x-0",children:e.map(He(n,t))})}))),He=(e,t)=>({label:n,description:r},i)=>p("div",{className:"flex justify-between text-s py-3.5",children:[u("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),p("div",{className:"basis-1/2",children:[n?u("div",{className:"text-right "+(e?"text-white":""),children:n}):null,r?u("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:r}):null]})]},String(i)),Fe=g((({header:e,columnData:t,visibleRowLength:n=0,isFillGradient:r,showRow:i,onToggleColumn:a})=>{const l=t?.slice(0,i?t.length:n),s=r?"secondary":"primary";return p("div",{className:`border border-gray rounded-md p-4 mb-3.5 ${r?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[u(ze,{...e,isFillGradient:r}),l?.length?l.map((({rowHeader:e,cell:t},n)=>u(Ee,{cell:t,rowHeader:e,isFillGradient:r},String(n)))):null,i&&e?.link?u(Ve,{href:e.link.href,target:e.link.target,version:s,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}):null,Ge({onToggleColumn:a,isFillGradient:r,showRow:i})]})})),Ge=({onToggleColumn:e,isFillGradient:t,showRow:n})=>u("div",{className:"mt-5",role:"cell",children:u("a",{role:"link",onClick:e,className:"text-s font-medium cursor-pointer "+(t?"text-white/80":"text-primary-main"),children:n?"Скрыть":"Показать описание"})}),Je=g((e=>{const{className:t,title:n}=e;return p("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${t||""}`,children:[n?u(R,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:n}):null,u("div",{role:"table",children:u(Ue,{...e})})]})})),Ue=g((({columns:e=[],rowHeaders:t,isColoredFirstColumn:n,visibleRowLength:i,orientation:l,...s})=>{const[o,c]=r(new Array(e.length).fill(!i)),d=a((e=>{const t=(t,n)=>n===e?!t:t;c((e=>e.map(t)))}),[]),m=a((()=>c((e=>new Array(e.length).fill(!1)))),[]),h=e?.map((({data:e,header:r},a)=>{return u(Fe,{visibleRowLength:i,showRow:o[a],header:r,columnData:(l=e,l?.map(((e,n)=>({cell:e,rowHeader:t?.[n]?.title})))),isFillGradient:0===a&&n,onToggleColumn:()=>d(a),...s},String(a));var l}));return"horizontal"===l?u(we,{onVisibleIndicesChange:m,children:h}):h})),We=new Map;function Ye(e,t,{fallback:n}={}){const a=l((()=>Xe(e)),[e]),[s,o]=r(),[c,d]=r(),m=e=>{o(e),d(void 0)},h=e=>{o(void 0),d(e)};i((()=>{if(!a.every((e=>null===e)))try{const e=t(...a);"then"in e?(e=>{e.then((e=>We.get(a)||e)).then(m).catch(h)})(e):m(e)}catch(e){h(e)}}),[t,...a]);const u=a[0],p=n&&"string"==typeof u&&n[u];return{data:!s&&p?p:s,error:c,mutate:()=>Promise.resolve(void 0),isValidating:!1}}function Xe(e){return e?Array.isArray(e)?e:e instanceof Function?Xe(e()):[e]:[e]}async function Ke(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await n.json()}function qe(e,t={}){const{data:n}=Ye(`/wcms-resources/${e}.json`,Ke,{fallback:t});return n||{}}const Qe=g((({className:e,isMobile:t=!1})=>{const{term:n,setTerm:i}=(()=>{const[e,t]=r("");return{term:e,setTerm:e=>t(e)}})(),a=t?"text-s":"text-l-light",l=t?" placeholder-transparent":"h-full",s=t?"some search":void 0;return p("form",{className:`font-sans relative ${e}`,children:[p("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[u("div",{className:t?"w-5 h-5":"w-6 h-6",children:u(te,{image:{icon:"LoupeIcon"},width:"24",height:"24"})}),n?null:u("label",{htmlFor:"search-bar-input",className:`text-secondary-text ${a}`,children:"Поиск по сайту"})]}),u("input",{id:"search-bar-input",className:`h-12 pl-12 w-full peer text-l text-black border border-solid rounded-md box-border\n outline-none pr-[6%] border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text ${l}`,value:n,onChange:e=>i(e.target.value),type:"text",name:"search-bar-input",placeholder:s}),t?u("button",{className:"visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none",onClick:e=>{e.preventDefault(),i("")},children:u(te,{image:{icon:"CloseIcon"},width:"24",height:"24"})}):u(Ve,{version:"primary",text:"Найти",className:"invisible peer-focus:visible absolute top-[3px] right-1",onClick:e=>{e?.preventDefault(),console.log("click")},children:u("div",{className:"text-s px-9 py-2.5",children:"Найти"})})]})})),Ze=g((e=>u(Qe,{...e,isMobile:!0}))),et=g((({className:e="",documents:t,...n})=>u(A,{className:`mt-2.5 ${e}`,...n,children:u("ul",{className:"flex flex-col text-s text-secondary-text p-0",children:t?.length?tt(t):null})}))),tt=e=>e.map(((e,t)=>{const{text:n,...r}=e;return u("li",{className:"mb-4 list-none",children:u("a",{className:"hover:text-primary-main",role:"link",...r,children:n||null})},`list_item_${String(t)}`)})),nt={"bg-white":"color",transparent:"white"},rt={"bg-white":"text-primary-main",transparent:"text-white"},it=(e,t,n)=>u(te,t?.src?{image:t,className:rt[e],width:n?.width,height:n?.height,pathPrefix:"/wcms-resources/",asSVG:!0}:{image:{icon:t?.icon||"LogoIcon",iconVersion:nt[e]},className:rt[e],width:n?.width,height:n?.height,asSVG:!0}),at={"bg-white":"text-primary-text",transparent:"text-white"},lt=(e,t,n)=>u("span",{className:`${at[t]} ml-2.5 font-medium ${n||""}`,children:e||"Россельхозбанк"}),st=g((({bgColor:e="bg-white",children:t,className:n="",href:r,logo:i,showTitle:a=!0,targetBlank:l})=>p("a",{className:`inline-flex items-center font-sans no-underline ${n}`,href:r||"https://rshb.ru/",target:l?"_blank":"_self","aria-label":i?.title||"Россельхозбанк",children:[it(e,i?.image,{width:"34",height:"34"}),a?lt(t||i?.title,e,"text-s"):null]}))),ot=g((({className:e="",title:t="Мобильное приложение",description:n,href:r="#"})=>u("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light font-sans ${e}`,children:r?p("div",{className:"flex",children:[u("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-12 h-12",children:u(st,{className:"w-8",bgColor:"transparent",showTitle:!0})}),p("a",{href:r,target:"_blank",className:"flex flex-col justify-center pl-3",children:[u("div",{className:"text-s font-medium mb-[3px]",children:t}),u("div",{className:"text-s text-secondary-text",children:n})]})]}):null}))),ct=g((({className:e="",items:t,hasButton:n})=>p("div",{className:e,children:[t?.length?t.map(dt):null,n?u(Ve,{version:"primary",className:"mb-6 w-full",href:"https://www.rshb.ru/feedback/question/",target:"_blank",ariaLabel:"Обратная связь",text:"Обратная связь"}):null]}))),dt=(e,t)=>{const{type:n,text:r,description:i}=e;return p("div",{className:"mb-4",children:[u("div",{children:mt(n,r)}),u("div",{className:"mt-1 text-s-light text-secondary-text",children:i})]},String(t))},mt=(e,t="")=>{switch(e){case"tel":return u("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${ht(t)}`,children:t});case"email":return u("a",{className:"text-xl-light text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return u("span",{children:t})}},ht=e=>e.replaceAll(/\D/g,""),ut=g((({className:e="",index:t,text:n,...r})=>{const i=Se(),{href:a,target:l,onClick:s}=i(r);return u("a",{className:`text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:a,target:l,onClick:s,children:n||`Документ ${t}`})})),pt=g((({title:e,links:t,className:n=""})=>p("div",{className:n,children:[u("span",{className:"text-primary-text text-s font-medium",children:e}),t?.length?u("div",{className:"flex flex-col gap-2 pt-3",children:t.map(((e,t)=>u(ut,{index:t,className:"text-s",...e},String(t))))}):null]}))),gt=[{origins:["t.me","telegram.org"],iconMapped:{icon:"TelegramIcon"},label:"Телеграм"},{origins:["vk.com"],iconMapped:{icon:"VKIcon"},label:"ВКонтакте"},{origins:["ok.ru"],iconMapped:{icon:"OkIcon"},label:"Одноклассники"},{origins:["apps.apple.com"],iconMapped:{icon:"AppleIcon"},label:"App Store"},{origins:["play.google.com"],iconMapped:{icon:"PlayMarketIcon"},label:"Google Play"},{origins:["youtube.com"],iconMapped:{icon:"YoutubeIcon"},label:"Youtube"}],bt={default:"w-14 h-14",small:"w-12 h-12"},xt=g((({iconVersion:e="color",buttonSize:t="default",rounded:n=!1,icon:r,...i})=>{const{href:a,version:l}=i,{iconMapped:s,label:o}=gt.find((({origins:e})=>e.some((e=>a?.includes(e)))))||{},c=r??s,d=c?{...re(c),iconVersion:e}:void 0;return u(Ve,{className:x("group/media flex items-center justify-center box-border",bt[t],n?"rounded-full":"rounded-md","border border-solid hover:border-transparent","group-data-primary:border-main-divider","hover:bg-primary-main hover:text-black","group-data-secondary:bg-white border-main-divider group-data-secondary:hover:bg-secondary-hover","group-data-gray:border-green",bt[t]),"aria-label":o,target:"_blank",rel:"noopener noreferrer",version:l,...i,children:d?u(te,{image:d,imageClassName:"group-hover/media:text-white",width:"24",height:"24",asSVG:!0}):null})})),ft=g((({className:e="",media:t})=>u("div",{className:`flex gap-2 items-start justify-start pt-6 pb-6 ${e}`,children:t?.map(((e,t)=>u(xt,{...e},String(t))))}))),Nt=g((({className:e="",index:t,...n})=>{const r=Se(),{href:i,target:a,text:l,onClick:s}=r(n);return u("a",{className:`text-xs-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${e}`,href:i,target:a,onClick:s,children:l||`Документ ${t}`})})),yt=g((({className:e="",links:t})=>p("div",{className:e,children:[u("div",{className:"py-6",children:u("span",{className:"text-xs-light text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?u("div",{className:"flex flex-col justify-start items-start gap-2",children:t.map(((e,t)=>u(Nt,{index:t,...e},String(t))))}):null]}))),vt=g((({className:e="",...t})=>{const n=t.options?.page?.fallback,r=qe(c.SITEMAP||"sitemap",n),{documents:i,relatedEnterprises:a,contacts:l,socialMedia:s,horizontalNavigationTitle:o}=qe(c.FOOTER||"footer",n);return p("footer",{className:`font-sans px-4 py-[26px] bg-white ${e}`,children:[u(ct,{className:"overflow-hidden",items:l,hasButton:!0}),u(M,{children:r.topItems?.map(((e,t)=>u(ae,{label:e.text,children:u(et,{documents:e.items})},String(t))))}),u("div",{children:r?.dispositions?.map(wt)}),u(ot,{title:"Мобильное приложение",description:"Загрузить для IOS и Android",...t}),u(Ze,{className:"grow"}),u(ft,{className:"pb-4",media:s}),u(pt,{title:o,links:a}),u(yt,{links:i})]})})),wt=(e,t)=>{const{icon:n,href:r,text:i}=e;return p(Ve,{version:"link",href:r,className:"flex text-s mb-4 w-6",children:[n?u(te,{className:"pr-1",image:re(n),width:"24",height:"24",asSVG:!0}):null,u("span",{className:"pl-2.5 font-medium text-primary-text",children:i})]},`footer-${t}`)},kt=e=>({href:t})=>E(P(t)?e.href:e.pathname).startsWith(E(t)),St=g((({className:e="",active:t,dataItemName:n,children:r,...i})=>{const a=Se(),{href:l,target:s,text:o,onClick:c}=a(i);return p("a",{className:x("relative inline-block bg-transparent text-center no-underline",e),href:l,target:s,"data-item-name":n,onClick:c,children:[u("span",{className:Ct(t),children:o||r}),t?u("div",{className:"absolute left-0 -bottom-3 w-full h-0.5 bg-primary-main group-data-transparent:bg-transparent"}):null]})})),Ct=(e=!1)=>x("font-sans text-s",e?"text-primary-main":"text-secondary-text hover:text-primary-main","group-data-transparent:text-white group-data-transparent:hover:text-primary-hover"),Tt=864e5;function _t(e,t,n=globalThis?.localStorage){const r=a((async(...r)=>{const i=`async:${e}`,a=function(e){const{data:t=null,timestamp:n=null}=e?JSON.parse(e):{};return t&&Date.now()-n<Tt?t:void 0}(n.getItem(i));if(a)return a;const l=await t(...r);return n.setItem(i,JSON.stringify({data:l,timestamp:Date.now()})),l}),[e,t]);return Ye(e,r)}const $t=()=>{const e=globalThis.localStorage?.getItem("location");try{return e?JSON.parse(e):null}catch(e){return null}},It=g((({burgerSubMenu:e,onClick:t,defaultLocation:n="",children:l})=>{const[s]=function(e){const t=$t(),[n,l]=r(t?.region??{name:e}),{data:s}=_t("/api/v1/region",Ke);return i((()=>{l(t?.region&&t?.manual?t.region:s||{name:e})}),[s]),[n,a((e=>{globalThis.localStorage?.setItem("location",JSON.stringify({manual:!0,region:e})),l(e)}),[l])]}(n);return p("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20",children:[u("button",{className:"absolute top-4 right-4 border-none bg-transparent cursor-pointer",onClick:t,children:u(te,{image:{icon:"CloseIcon"},width:"24",height:"24",asSVG:!0})}),p("button",{className:"flex items-center text-s p-0 mb-4 bg-transparent cursor-pointer",children:[u(te,{image:{icon:"GeolocationIcon"},width:"20",height:"20",className:"text-primary-main box-border mr-2",asSVG:!0}),u(ne,{color:"text-secondary-text",children:s.name})]}),l,u("div",{className:"mb-7",children:e?.map(At)}),u(Ze,{className:"grow"})]})})),At=(e,t)=>{const{icon:n,href:r,text:i}=e;return p("a",{href:r,className:"flex text-s mb-4 hover:text-primary-main",children:[n?u(te,{className:"text-primary-main pr-1",image:n,width:"24",height:"24",asSVG:!0}):null,u("span",{className:"font-medium pl-0.5",children:i})]},`headerSubMenu-${t}`)},jt=g((({onClick:e,bgColor:t,logo:n})=>p("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-12",children:[p("div",{className:"flex items-center",children:[u("button",{className:"pl-0 pr-4 border-0 bg-transparent cursor-pointer",onClick:e,"aria-label":"Открыть меню",children:u(te,{image:{icon:"BurgerIcon",iconVersion:"bg-white"===t?"black":"white"},className:"text-primary-text w-6 h-6",width:"24",height:"24",asSVG:!0})}),u(st,{className:"mr-8",bgColor:t,logo:n})]}),u("button",{className:"text-primary-main group-data-transparent:text-white group-data-transparent:hover:text-primary-hover text-s border-0 bg-transparent",children:"Войти"})]}))),Rt={"bg-white":"primary",transparent:"transparent"},Dt=g((({bgColor:e="bg-white",version:t=Rt[e],...n})=>{const i=O(),l=n.options?.page?.fallback,{topItems:s,dispositions:o,defaultLocation:d,logo:m}=qe(c.SITEMAP||"sitemap",l),h=s?.find((e=>kt(c.BASE_PATH?{pathname:c.BASE_PATH}:e))(i)),g=h?.items,b=(e=>(t=[])=>{const n=t?.filter(kt(e));return n?.length?xe((e=>e.href?.length||0))(n):void 0})(i)(g),[x,f]=r(!1),N=a((()=>f((e=>!e))),[]);return p(A,{tag:"header",version:t,...n,children:[p("div",{className:"container px-4 py-0 box-border",children:[u(jt,{onClick:N,bgColor:e,logo:m}),u("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-12",children:u("div",{className:"flex no-scrollbar horizontal-list h-full items-center",children:g?.map(((e,t)=>u(St,{className:"mr-8 whitespace-nowrap text-s",active:e===b,...e},String(t))))})})]}),x?u(It,{onClick:N,burgerSubMenu:o,defaultLocation:d,children:u(M,{children:s?.map(((e,t)=>u(ae,{label:e.text,children:u(et,{documents:e.items})},String(t))))})}):null]})})),Mt={XXL:{wrapper:"gap-[18px]",title:{headingType:"h0",as:"h1"},descriptionSize:"text-h5"},XL:{wrapper:"gap-4",title:{headingType:"h1",as:"h1"},descriptionSize:"text-xl-light"},L:{wrapper:"gap-4",title:{headingType:"h2",as:"h2"},descriptionSize:"text-xl-light"},M:{wrapper:"gap-3",title:{headingType:"h3",as:"h3"},descriptionSize:"text-xl-light"},S:{wrapper:"gap-2",title:{headingType:"h4",as:"h4"},descriptionSize:"text-xl-light"},XS:{wrapper:"gap-2",title:{headingType:"h5",as:"h5"},descriptionSize:"text-l-light"}},Vt=g((({className:e,title:t,description:n,headlineVersion:r="XL",align:i="text-center",as:a,...l})=>{const s=Mt[r];return p(A,{className:x("flex flex-col p-12 group-data-secondary:bg-primary-main group-data-secondary:text-white",s.wrapper,e),...l,children:[t?u(R,{className:x("whitespace-pre-wrap",i),...s?.title,as:a||s?.title.as,title:t}):null,n?u(D,{color:"group-data-secondary:text-white/80",size:s.descriptionSize,align:i,children:n}):null]})})),Bt=g((({className:e,iconClassName:t,textClassName:n,suffixClassName:r,doc:i,icon:a})=>{const{text:l,fileSize:s,...o}=i;return p("a",{className:e,role:"link",...o,children:[a?u(te,{className:t,image:re(a),width:"24px",height:"24px",asSVG:!0}):null,l?p("span",{className:n,children:[l,u("span",{className:r,children:o?.href&&Lt(Ot(o.href),s)})]}):null]})})),Lt=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),Ot=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},Pt=g((({className:e="",doc:t,icon:n})=>u(Bt,{className:`flex h-full box-border ${e}`,iconClassName:"mr-3 min-w-6 min-h-6",doc:t,icon:n}))),zt=g((({hasBorder:e=!0,documents:t,icon:n})=>u(we,{className:"text-s text-primary-main mt-5",children:t?.length?t.map(((t,r)=>u(Pt,{className:e?"rounded-md border-gray border border-solid p-4":"",doc:t,icon:n},String(r)))):null}))),Et=g((({hasBorder:e=!0,documents:t,icon:n})=>u("div",{className:"text-s text-primary-main flex flex-col mt-5 "+(e?"gap-3.5":"gap-2"),role:"list",children:t?.length?t.map(((t,r)=>u("div",{role:"listitem",children:u(Pt,{className:e?"rounded-md border-gray border border-solid p-4":"",doc:t,icon:n})},String(r)))):null}))),Ht=g((({className:e="",title:t,description:n,icon:r={icon:"DocIconMonoColor"},documents:i,orientation:a="vertical",hasBorder:l=!0,align:s,...o})=>p(A,{className:x("py-6 px-4 overflow-x-hidden",e),...o,children:[u(Vt,{className:"!p-0 "+(n?"gap-2":"gap-5"),title:t,description:n,align:s,headlineVersion:"M",as:"h2"}),u("vertical"===a?Et:zt,{hasBorder:l,documents:i,icon:r})]}))),Ft=e=>{const t="col-span-",n=e?.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function Gt(e=""){const t=Ft(e);return t<=4?"S":t<=8?"M":"L"}function Jt(e=""){const t=Ft(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function Ut(e=""){const t=Ft(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const Wt=g((({className:e,title:t,description:n="Блок в разработке...",...r})=>p(A,{className:x("p-9 box-border",e,Ut(e),Jt(e)),...r,children:[u(Vt,{className:"!p-0 max-w-[600px]",title:t,description:n,headlineVersion:Gt(e)}),u("figure",{className:"m-0 min-w-[80%]",children:Yt()})]}))),Yt=(e=3)=>Kt(100,e).map((e=>Math.floor(e))).map(Xt),Xt=(e,t)=>u("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),Kt=(e,t)=>[e].concat(t>0?Kt(e/1.618,t-1):[]),qt=(e,{className:t="",buttonClassName:n,isVertical:r}={})=>e?.length&&e.some((e=>e?.text))?u("div",{className:x("flex",r?"flex-col gap-2":"gap-4",t),children:e.map(Qt(n))}):null,Qt=(e="")=>(t,n)=>{const{text:r,icon:i,iconRight:a,version:l,...s}=t||{},o="secondary"===l?"color":"white";return r?u(Ve,{className:e,appendLeft:Zt({...i,iconVersion:o}),appendRight:Zt({...a,iconVersion:o}),version:l,text:r,...s},n?String(n):""):null},Zt=e=>e?.icon||e?.src?u(te,{image:e,width:String(e?.size?.width||24),height:String(24),asSVG:!0}):null,en={L:"w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-4",M:"w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-3",S:"w-1 h-1 min-w-1 min-h-1 mr-2"},tn=g((({className:e="",isDotted:t=!0,children:n,size:r="M"})=>p("div",{className:`font-sans flex items-baseline ${e}`,role:"listitem",children:[t?u("div",{children:u("div",{className:`rounded-full align-middle inline-block bg-primary-text group-data-secondary:bg-white ${en[r]}`})}):null,u("span",{children:n})]}))),nn={S:"text-l-light",M:"text-h6",L:"text-h5"},rn={S:"ml-2",M:"ml-3",L:"ml-4"},an=g((({className:e="",hasIndent:t,isDotted:n,itemClassName:r="",items:i,listItemSize:a="M"})=>i?.length?u("section",{className:`text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text ${nn[a]} ${t?rn[a]:""} ${e}`,role:"list",children:i.map(((e,t)=>u(tn,{className:`${r} mb-1.5`,isDotted:n,size:a,children:e},String(t))))}):null)),ln=g((({className:e="",title:t="",buttons:n,image:r,children:i})=>p("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,children:[t,p("div",{className:"flex grow w-full justify-between",children:[p("div",{className:"flex flex-col justify-between w-full",children:[u("div",{className:"h-full",children:i}),n?u("div",{className:"mt-auto pt-8",children:n}):null]}),r]})]}))),sn=g((e=>{const{className:t="",icon:n,label:r,description:i,version:a="primary",benefitsVersion:l="normal"}=e,s="white"===l?"secondary":"primary";return p("div",{className:`flex gap-5 ${i?"items-start":"items-center"} ${t}`,children:[n?u("div",{className:on(a,l),children:u(te,{className:"w-6 h-6",image:re(n,s),asSVG:!0})}):null,p("div",{className:"gap-0.5",children:[r?u("div",{className:"text-h6 text-primary-text group-data-secondary:text-white",children:r}):null,i?u("div",{className:"text-m-light text-secondary-text group-data-secondary:text-white",children:i}):null]})]})}));function on(e,t){let n="bg-primary-main text-black";return"secondary"===e?n="bg-white/30 text-black":"normal"===t&&(n="bg-secondary-light text-primary-main"),`w-12 h-12 min-w-12 rounded-full p-2.5 box-border flex items-center justify-center ${n}`}const cn=(e="primary",t="normal")=>({icon:n,label:r,description:i},a)=>u(sn,{icon:n,label:r,description:i,version:e,benefitsVersion:t},String(a)),dn=g((({className:e="",headlineVersion:t="L",benefits:n,benefitsVersion:r="normal",buttons:i,image:a,items:l,isDotted:s=!0,label:o,title:c,description:d,...m})=>p(A,{className:`w-full ${e}`,...m,children:[p("div",{children:[o?hn(o):null,u(Vt,{className:"!p-0 max-w-[600px]",title:c,description:d,headlineVersion:t,align:"text-left"}),p(ln,{buttons:qt(i,{className:"mt-5",isVertical:!0}),children:[n?.filter((e=>e.label))?.length?u("div",{className:"mt-3",children:n.map(cn("primary",r))}):null,l?.length?u(an,{className:"mt-3 text-m",items:l,isDotted:s}):null]})]}),mn(a)]})));function mn(e){return e?.src?u(te,{imageClassName:"mt-5 mx-auto block",image:{className:"block",...e}}):null}const hn=e=>u("div",{className:"w-fit px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid border-secondary-hover",children:u(ne,{color:"text-primary-main group-data-secondary:text-white/80",children:e})}),un=g((e=>{const{className:t="",...n}=e;return u(A,{className:`px-4 py-6 ${t}`,...n,children:u(dn,{...e})})})),pn=g((e=>{const{__html:t=""}=e;return u("div",{className:"md-container",dangerouslySetInnerHTML:{__html:t}})}));const gn={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-12 w-12 min-w-12 min-h-12"},bn={normal:"min-h-[70px]",small:"min-h-12"},xn={description:"text-white/80 text-l-light group-data-primary:text-secondary-text",iconText:"text-white group-data-primary:text-secondary-text",iconBackground:"bg-white/30 group-data-primary:bg-main-divider",iconConnector:"bg-white group-data-primary:bg-secondary-light",dot:"bg-white/80 group-data-primary:bg-secondary-text"},fn=g((({className:e="",title:t,description:n,showLines:r=!0,steps:i,size:a="normal",version:l="primary",...s})=>p(A,{className:`box-border px-4 py-6 flex flex-col ${e}`,version:l,...s,children:[t?u(R,{headingType:"h3",className:"text-center",title:t}):null,n?u("p",{className:`text-m-light text-center ${xn.description} ${t?"mt-2":""}`,children:n}):null,i?.length?u("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:u("div",{className:"flex flex-col justify-between gap-x-[101px]",children:i.map(Nn(a,l,r))})}):null]}))),Nn=(e,t,n)=>(r,i,a)=>{const{type:l}=r;if("default"!==l&&"rte"!==l)return null;switch(l){case"default":return yn(e,t,n)(r,i,a);case"rte":return u(pn,{__html:r.__html});default:!function(e){throw new Error(e)}(r)}},yn=(e,t,n)=>(r,i,a)=>{const l=a.length-1===i,s="normal"===e?"ml-[34px]":"ml-6";return u("div",{children:p("div",{className:"flex flex-row text-center relative",children:[p("div",{className:"overflow-hidden flex-shrink-0",children:[vn(e,t)(r,i),l?null:u("div",{className:`min-h-8 h-full w-0.5 ${n?xn.iconConnector:""} ${s}`})]}),p("div",{className:`flex flex-col justify-center h-fit ${bn[e]}`,children:[r.label?u("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:r.label}):null,r.description?u("div",{className:`text-s ${xn.description} text-left`,children:r.description}):null]})]})},String(i))},vn=(e,t)=>(n,r)=>{const i="normal"===e?"38":"27";return u("div",{className:`${gn[e]} ${xn.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:u("span",{className:`font-medium flex self-center ${"normal"===e?"text-m-title":"text-m-title-xs"}`,children:(a=n?.icon,Boolean(a?.icon||a?.src)?u(te,{image:re({...n.icon},t),width:i,height:i,asSVG:!0}):u("span",{children:r+1}))})});var a},wn={Buttons:({buttons:e})=>qt(e,{className:"mt-3",buttonClassName:"w-12 h-12"}),Img:({image:e})=>e?.src?u(te,{image:{...e,className:"m-0"}}):null,List:({isDotted:e,...t})=>u(an,{className:"flex flex-col justify-between items-start text-m",isDotted:e??!0,...t}),LabelDescription:({label:e,description:t})=>p("div",{children:[e?u("div",{className:"text-xl font-medium m-0 "+(t?"mb-1":""),children:e}):null,t?u("div",{className:"text-s text-secondary-text",children:t}):null]})},kn=g((({title:e,icon:t})=>p("div",{className:"flex gap-2.5 mb-2",children:[e?u(R,{headingType:"h3",className:"font-medium",title:e}):null,t?u(te,{className:"ml-auto max-w-6 max-h-6",image:t,width:"24px",height:"24px"}):null]}))),Sn=g((({tile:e,...t})=>p("div",{className:"rounded-md border-gray h-full box-border border p-4",children:[u(kn,{...e?.header}),e?.data?.length?e.data.map(((e,n)=>p("div",{children:[n>0?u("div",{className:"h-5"}):null,Cn(e,t)]},String(n)))):null]})));function Cn(e,t){if(!e||!e.tableCellType||!(e.tableCellType in wn))return null;const n=wn[e.tableCellType];return u(n,{displayTable:()=>null,isVisible:!0,...e,...t})}const Tn=g((({tiles:e,...t})=>e?.length?u(we,{...t,children:e.map(((e,n)=>u(Sn,{tile:e,...t},String(n))))}):null)),_n=g((({tiles:e,...t})=>e?.length?u("div",{className:"flex flex-col gap-3.5",children:e.map(((e,n)=>u(Sn,{tile:e,...t},String(n))))}):null)),$n=g((({className:e,title:t,description:n,tariffsColumns:r,rowHeaders:i,orientation:a="vertical",...l})=>{const s=In(r),o=An(i,s);return p("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[t?u(R,{headingType:"h2",className:`text-center ${n?"mb-2":"mb-5"}`,title:t}):null,n?u("div",{className:"mb-5 text-center text-m",children:n}):null,u("vertical"===a?_n:Tn,{tiles:o,...l})]})})),In=e=>e?.[0]?.data?e[0].data:[],An=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),jn=g((({title:e,description:t,iconVersion:n,image:r,className:i="",items:a,isDotted:l=!0})=>p("section",{className:`font-sans px-4 py-[18px] flex flex-col bg-white group-data-secondary:bg-primary-main ${i}`,children:["small"===n?u("div",{className:"mb-3",children:u("div",{className:"rounded-full h-4 w-4 text-center text-xs-light bg-primary-main text-white group-data-secondary:bg-white group-data-secondary:text-primary-main",children:"i"})}):null,"big"===n?Rn(r):null,p("div",{className:"py-0.5 text-secondary-text group-data-secondary:text-white",children:[e?u("div",{className:"text-l font-medium mb-1",children:e}):null,t?u("div",{className:"text-s ",children:t}):null,a?.length?u(an,{className:"mt-1 text-m",items:a,isDotted:l}):null]})]})));function Rn(e){return e?.src?u(te,{className:"pb-3 mr-auto",image:e}):null}const Dn={Accordion:V,AccordionItem:ae,ComparisonTable:Je,Footer:vt,Header:Dt,Headline:Vt,LinkDocs:Ht,LinkList:et,MobileAppTile:ot,ProductBlock:un,StepsBlock:fn,TariffsTable:$n,TextBlock:jn,Placeholder:Wt};const Mn=["Header","Footer"],Vn=([,{target:e}])=>Math.abs(e.getBoundingClientRect().top);function Bn(e=globalThis){const t=s(new Map);i((()=>$.subscribe("intersection",(({block:e,intersection:n})=>{t.current&&t.current.set(e,n)}))),[]),i((()=>{const n=((e,t=600)=>{let n;const r=(...i)=>{r.dispose(),n=setTimeout((()=>{e(...i)}),t)};return r.dispose=()=>{n&&clearTimeout(n)},r})((()=>{!function(e){const t=`#${n=e?.anchor,n?.replace("#","")||""}`;var n;globalThis.location?.hash!==t&&globalThis.history?.replaceState(globalThis.history?.state,"",t)}(globalThis.scrollY>3*globalThis.innerHeight/4?function(e){const t=e.filter((([e])=>!Mn.includes(e.type||""))).filter((([,{intersectionRatio:e}])=>e>.01)),[n]=t.length>0?fe(Vn)(t):[];return n}([...t.current||[]]):void 0)}),100);return e.addEventListener("scroll",n),()=>{n.dispose(),e.removeEventListener("scroll",n)}}),[e])}const Ln=h();const On=g((({className:e,onClick:t,ariaLabel:n})=>u("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":n,children:Pn()}))),Pn=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[u("path",{...e,strokeMiterlimit:"10",d:"M21.48 11.95c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1 6.1M7.48 18.35l3.1 2.4c.4.4 1.3.6 1.9.6h3.8c1.2 0 2.5-.9 2.8-2.1l1.24-3.77"}),u("path",{...e,d:"M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z"})]})},zn=g((({className:e=""})=>{const t=function(e){const[t,n]=r(0);return i((()=>{(async()=>{const[t]=await Ln.getLikeCount(e);n(t?.value||0)})()}),[e]),{likeCount:t,like:a((async()=>{n(await Ln.like(e))}),[e]),dislike:a((async()=>{n(await Ln.dislike(e))}),[e])}}(O().pathname);return p("div",{className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e}`,children:[u(On,{onClick:ke(t.like),ariaLabel:"Поставить отметку «лайк»"}),u(On,{onClick:ke(t.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),u("span",{className:"select-none",children:t.likeCount})]})})),En=g((e=>{const{className:t="",blocksRegistry:n,blockDecorator:r,data:i={}}=e,{style:a,blocks:l,slots:s,likeControl:o,colorPalette:c="pc"}=i,d={key:"",page:i,blocksRegistry:n,blockDecorator:r,parent:i};return Bn(),p("section",{className:x("relative",a,t),"data-theme":c,children:[s?.header?u("div",{className:"mb-5 shadow-[0_8px_32px_0px_#00000014]",children:w(s?.header,{...d,slotName:"header"})}):null,p("div",{className:"container grid grid-cols-12 gap-1",children:[w(l,d),s?.footer?w(s?.footer,{...d,slotName:"footer"}):null]}),o?u("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:u(zn,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto"})}):null]})}));En.childrenTypes=[],En.slots=()=>["header","footer"];e.Blocks=Dn,e.ContentPage=En,e.DaDataAPI=function(e=""){return{getFetcherAddress:async function(){if(!("geolocation"in navigator))return null;try{const t=await(async()=>new Promise((e=>navigator.geolocation.getCurrentPosition((({coords:t})=>e(t))))))(),n=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await n.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.LikeAPI=h,e.handlerDecorator=ke,e.joinList=function(e){return t=>t.reduce(((t,n,r)=>t.length?t.concat({...e,key:r},n):[n]),[])},e.packageVersion="0.8.24",e.projectSettings=c,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=F,e.useRouter=O,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UniMobileBlocks={})}(this,(function(e){"use strict";let t;const n=e=>(...n)=>t[e](...n),r=n("useState"),i=n("useEffect"),a=n("useCallback"),l=n("useMemo"),s=n("useRef");const o={PROD_BRANCH:"master"},c=new class{_=o;setup(e){this._=e}get TEST_BRANCH(){return this._.TEST_BRANCH}get RC_BRANCH(){return this._.RC_BRANCH}get PROD_BRANCH(){return this._.PROD_BRANCH||o.PROD_BRANCH}get FORCED_DRAFT_FLOW(){return this._.FORCED_DRAFT_FLOW}get ASSIST_PROJECT_ID(){return this._.ASSIST_PROJECT_ID}get SITEMAP(){return this._.SITEMAP}get FOOTER(){return this._.FOOTER}get CHAT_BOT(){return this._.CHAT_BOT}get CDN(){return d(this._.CDN)}get BASE_PATH(){return d(this._.BASE_PATH)}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},d=e=>e&&!e.endsWith("/")?`${e}/`:e,m="likesToken";function h(){async function e(){try{const e=JSON.parse(globalThis.localStorage?.getItem(m)||"");if(e?.token)return e}catch(e){}try{const e=await fetch("/assist/v1/public/auth",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:t,name:n}=await e.json();return globalThis.localStorage?.setItem(m,JSON.stringify({token:t,name:n})),{token:t,name:n}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...t){if(!t.length)return[];const{token:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n},body:JSON.stringify({node_ids:t})}),{likes:r}=await e.json();return r||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:n,name:r}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:r},body:JSON.stringify({node_id:t,user_name:r})}),{likes:i}=await e.json();return i||0}catch(e){return console.error(e),0}},dislike:async function(t){if(!t)return 0;const{token:n,name:r}=await e();try{const e=await fetch(`/assist/v1/public/projects/${c.ASSIST_PROJECT_ID}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:r},body:JSON.stringify({node_id:t,user_name:r})}),{likes:i}=await e.json();return i||0}catch(e){return console.error(e),0}}}}const u=(...e)=>globalThis._uni._jsx(...e),p=(...e)=>globalThis._uni._jsxs(...e),g=e=>{const t=e;return t._tmpl||(t._tmpl=globalThis.__UNI_REACT__?e:b(e)),t._tmpl},b=e=>{function t(t,n){const{children:r,...i}=t||{},a=n?.slots?.default,l=r||a&&a();return e(Object.assign(i,l&&{children:l}),n)}return t.inheritAttrs=!1,t},x=(...e)=>e.flatMap((e=>e)).filter(Boolean).join(" "),f=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),N=[];function y(e,t){const{key:n,blockDecorator:r=f,blocksRegistry:i={},ancestors:a=N,className:l="",extraProps:s={}}=t,{type:o}=e;o&&o in i||console.warn(`No block with "${o}" is registered`);const c=o&&i[o];return r({blockClassName:x("scroll-mt-12",l,e.style||"col-span-12"),block:e,ancestors:a,render:({block:r,blockClassName:i})=>{const{content:a}=r;return c?u(c,{className:i,block:e,options:t,...a,...s},n):null}},n)}const v=[],w=(e,{key:t,ancestors:n=v,slotName:r=null,renderProps:i=y,...a})=>(e||[]).map(((e,l)=>i(e,{...a,key:`${t||e.type}-${l}`,ancestors:a.parent?[...n||v,[a.parent,r]]:n})));function k({children:e,block:t,options:n,renderProps:r}){return e||(t&&n?w(t.blocks,{...n,parent:t,renderProps:r}):null)}class S{subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]=(this.subscribers[e]||[]).concat(t);const n=this.subjectsStateMap[e];return n&&t(n),()=>{this.unsubscribe(e,t)}}unsubscribe(e,t){this.subscribers[e]=this.subscribers[e]?.filter((e=>e!==t))}fire(e,t){e in this.subjectsStateMap&&(this.subjectsStateMap[e]=t),this.subscribers[e]?.forEach((e=>e(t)))}subject(e,t){this.subjectsStateMap[e]=t}}const T=new S;function C(e,{sensitivity:t,rootRef:n}={}){const r=s(null),a=l((()=>({threshold:_(t),root:n?.current})),[t,n?.current]);return i((()=>{if(!r.current)return;const t=new IntersectionObserver(e,a);return t.observe(r.current),()=>{t.disconnect()}}),[e,a]),r}function _(e=0){const t=Math.round(10*e);return new Array(t).fill(0).map(((e,n)=>Math.min(n/t)),1).concat(1)}const $=new S;const I={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white",gray:"bg-main-divider text-primary-text",transparent:"bg-transparent text-primary-text","":""},A=g((({className:e="",version:t="primary",block:n,tag:l="section",role:s,isTheme:o=!0,children:c})=>{const d=l,m=function(e){return C(a((t=>{if(!e||!t?.length)return;const n=t[t.length-1];$.fire("intersection",{block:e,intersection:n})}),[e]),{sensitivity:1})}(n),[h,p]=r(!1);return i((()=>T.subscribe("tab",(e=>{p(Boolean(e.label&&n?.labels?.length&&!n.labels.includes(e.label)))}))),[n]),u(d,{className:x(o?"group":"",I[t],h?"hidden":"",e),...t&&o?{"data-ver":t}:{},...n?.anchor?{id:n.anchor,ref:m}:{},role:s,children:c})})),j={h0:"text-m-title",h1:"text-m-title",h2:"text-m-title",h3:"text-h6",h4:"text-m-title-xs",h5:"text-m-title-xs",h6:"text-m-title-xs"},R=g((e=>{const{className:t,headingType:n="h3",title:r,as:i="h3"}=e;return u(i,{className:`font-sans font-medium m-0 ${j[n]} ${t||""}`,children:r})})),D=g((({children:e,...t})=>u("p",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),M=g((({title:e,description:t,className:n="",...r})=>p(A,{className:`py-6 px-4 ${n}`,...r,children:[e?u(R,{headingType:"h3",className:"mb-2 text-center",title:e}):null,t?u("div",{className:"mb-5",children:u(D,{size:"text-m",font:"font-light",align:"text-center",children:t})}):null,u("div",{className:"list-none m-0 p-0",children:k(r)})]})));M.childrenTypes=["Accordion"];const L=e=>({height:"calc(100vh - 242px)",minHeight:`${e||866}px`}),V=g((({className:e="",style:t,idx:n,activeIndex:r,observerOptions:i,children:l,onIntersection:s})=>{const o=C(a((e=>{e.length&&s&&s(n||0,e[e.length-1])}),[s,n]),i);return u("div",{className:`inline-block snap-always box-border ${e}`,style:t,"aria-current":Boolean(n===r),ref:o,children:l})})),P=["min-w-[100%]","min-w-[50%]","min-w-[33.33%]","min-w-[25%]"],O=g((({className:e="",containerRef:t,activeIndex:n,visibleItemCount:r=0,gap:i=0,padding:l=0,listType:o="horizontal-list",snapAlign:c="snap-center",minHeight:d,children:m,onVisibleItemsChange:h,onVisibleIndicesChange:p})=>{const g={sensitivity:1,rootRef:t},b=s([]),f=a(((e,t)=>{const n=[...b.current||[]];n[e]=t,b.current=n,h&&h(n),p&&p(z(n))}),[h,p]),N=r>0?i*Number(r)-1:0,y="vertical-list"===o,v="horizontal-list"===o,w={...v?B(l,N):{},...y?L(d):{},gap:`${i}px`};return u("div",{className:x("box-border overflow-auto no-scrollbar",o,e),style:w,ref:t,children:(k=(e,t)=>u(V,{className:x(c,r?P[r-1]:"",y?"h-full":""),style:v?B(l/4):{},activeIndex:n,idx:t,observerOptions:g,onIntersection:f,children:e},String(t)),e=>null==e?e:Array.isArray(e)?e.map(k):k(e,0))(m)});var k})),B=(e,t=0)=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e+t}px`}),z=e=>e.map(((e,t)=>[e,t])).filter((([e])=>e&&e.intersectionRatio>=.9)).map((([,e])=>e)),E={"horizontal-list":"mx-auto mt-5 w-fit","vertical-list":"absolute flex-col justify-center h-full top-0 left-4"},H={"horizontal-list":"w-6","vertical-list":"h-6"},F=g((({containerRef:e,activeIndex:t,dotCount:n=0,listType:r="horizontal-list",version:i})=>n?u("div",{className:x("flex gap-2",E[r],i?"group":""),...i?{"data-ver":i}:{},children:new Array(n).fill(null).map(((n,i)=>u("div",{className:`cursor-pointer rounded-full transition-width duration-300 bg-primary-main group-data-secondary:bg-white group-data-transparent:bg-white ${i===t?H[r]:"w-2 h-2 opacity-30"}`,role:"button","aria-hidden":!0,onClick:()=>(n=>{n!==t&&e?.current&&e.current.children[n]?.scrollIntoView({behavior:"smooth",block:"nearest"})})(i)},String(i))))}):null)),G=e=>e,J=(e=G)=>t=>t.reduceRight(((t,n)=>e(t)>e(n)?t:n)),U=(e=G)=>J((t=>-e(t))),X=e=>t=>e.scrollWidth/t,W=e=>(t,n)=>{e.scrollBy({left:n*X(e)(t),behavior:"smooth"})},Y=({itemCount:e,isCyclic:t,onVisibleIndicesChange:n})=>{const i=s(null),[l,o]=r([]),c=a((e=>{o((t=>{return(n=t)===(r=e)||Boolean(n&&r&&n?.length===r?.length&&n.every(((e,t)=>e===r[t])))?t:e;var n,r})),n&&n(e)}),[e]),[d,m]=l.length?[U()(l),J()(l)]:[-1,-1],h=d>0,u=m<e-1,p=a((()=>{var n;i.current&&(t&&!h?(n=i.current).scrollTo({left:n.scrollWidth,behavior:"smooth"}):W(i.current)(e,-1))}),[t,e,h]),g=a((()=>{i.current&&(t&&!u?i.current.scrollTo({left:0,behavior:"smooth"}):W(i.current)(e,1))}),[e,t,u]);return[i,{scrollLeft:p,scrollRight:g,canScrollLeft:t||h,canScrollRight:t||u,visibleIndicesRange:[d,m],handleVisibleIndicesChange:c}]},K=g((({className:e="",gap:t=14,padding:n=16,showDots:r=!0,minHeight:i,children:a,onVisibleIndicesChange:l,listType:s="horizontal-list",version:o})=>{const c=Array.isArray(a)?a.length:0,[d,m]=Y({itemCount:c,onVisibleIndicesChange:l}),[h]=m.visibleIndicesRange;return p("div",{className:x(e,"vertical-list"===s?"relative h-full":""),children:[u(O,{containerRef:d,activeIndex:h,visibleItemCount:1,gap:t,padding:n,onVisibleIndicesChange:m.handleVisibleIndicesChange,listType:s,minHeight:i,children:a}),r?u(F,{containerRef:d,activeIndex:h,dotCount:c,listType:s,version:o}):null]})})),q=e=>Boolean(e?.includes(":")),Q=(e,t)=>Boolean(e&&!q(e)&&(!t||"_self"===t)),Z=e=>(e||"").replace(/\?.*/,"").replace(/\/$/,""),ee=(...e)=>e.filter(Boolean).join("/").replace(/\/+/g,"/");var te=Object.freeze({__proto__:null,isURL:q,isLocalURL:Q,isHash:e=>Boolean(e?.startsWith("#")),withoutQuery:Z,joinPath:ee});const ne=e=>t=>{if(!t||q(t)||c.CDN&&t.startsWith(c.CDN))return t;const n=t.startsWith("/");return ee(c.BASE_PATH,n?"/":e.pathname?.split("/").slice(0,-1).join("/"),t)},re=(e,t)=>re._impl(e,t);function ie(){return ie._impl()}function ae(e=!1){const t=ie();return r=>({...r,href:e?r.href:ne(t)(r.href),"aria-label":r.text,onClick:re(n(r),r)});function n({href:n,target:r,onClick:i}){return a=>{i&&i(a),n&&!e&&Q(n,r)&&(a?.preventDefault(),t.push(n))}}}re._impl=e=>e,re.setup=e=>{re._impl=e},ie._impl=()=>({href:globalThis.location?.href||"/",pathname:globalThis.location?.pathname||"/",query:{},push:()=>{},replace:()=>{}}),ie.setup=e=>{ie._impl=e};const le={primary:"text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active",secondary:"text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active",white:"text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main",link:"",transparent:"",gray:"text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active","":""},se="bg-main-divider text-main-disabled",oe={primary:se,secondary:se,white:se,link:"",transparent:"",gray:se,"":""},ce="text-center font-sans select-none",de={primary:"group-hover/btn:brightness-0 group-hover/btn:invert",secondary:"group-hover/btn:brightness-0 group-hover/btn:invert",white:"group-hover/btn:brightness-0 group-hover/btn:invert",link:"",transparent:"",gray:"group-hover/btn:brightness-0 group-hover/btn:invert","":""},me=g((e=>{const{text:t,aboveText:n,appendLeft:r,appendRight:i,version:a="primary"}=e;return p("div",{className:he(e),children:[r?u("div",{className:de[a],children:r}):null,ue(e)?p("div",{children:[n?u("div",{className:"text-xs-light text-left",children:n}):null,u("div",{className:"text-left "+(n?"text-s -mt-0.5":"text-l"),children:t})]}):null,i?u("div",{className:de[a],children:i}):null]})})),he=e=>{const{version:t,aboveText:n,rounded:r}=e;if("link"===t)return"";const i="gap-2 "+(n?"py-2.5 px-7":"py-4 px-4");return["group/btn flex items-center justify-center",ue(e)?i:"h-12 w-12",r?"rounded-full":""].join(" ")},ue=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),pe=({className:e,rounded:t,version:n})=>["inline-block",ce,n?oe[n]:"",t?"rounded-full":"rounded-md",e].join(" "),ge=({className:e,rounded:t,version:n})=>[ce,"border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border",n?le[n]:"",t?"rounded-full":"rounded-md",e].join(" "),be=g((({disabled:e,children:t,...n})=>{const r=ae()(n),i=t??u(me,{...r});return u(e?fe:xe,{...r,children:i})})),xe=g((({className:e="",href:t,rel:n,target:r,ariaLabel:i,version:a,rounded:l,onClick:s,children:o})=>u("a",{className:ge({className:e,version:a,rounded:l}),href:t,rel:n,target:r,"aria-label":i,role:t?"link":"button",onClick:s,children:o}))),fe=g((({className:e,ariaLabel:t,version:n,rounded:r,children:i})=>u("div",{role:"button","aria-disabled":"true","aria-label":t,tabIndex:-1,className:pe({className:e,rounded:r,version:n}),children:i}))),Ne={normal:"",color:"text-primary-main",black:"text-black",white:"text-black"},ye=g((({className:e="",imageClassName:t="",name:n="",alt:r=`Иконка ${n}`,title:i=r,iconVersion:a="color",asSVG:l,...s})=>{const o=ie(),d=ne(o)(ee(c.CDN,"/icons",`${n}.svg`));return l&&"normal"!==a?u(we,{className:e,children:p("svg",{className:x(ve(s.width),Ne[a],"white"===a?"invert":"",t),...s,"aria-hidden":"true",children:[i?u("title",{children:i}):null,r?u("desc",{children:r}):null,u("use",{href:`${d}#icon`,xlinkHref:`${d}#icon`})]})}):(e.includes("h-")||(s.style={height:`${s.height}px`}),u("img",{className:e,src:d,alt:r,title:i,"aria-hidden":"true",...s}))})),ve=e=>e?"":"w-full h-full",we=g((({className:e,children:t})=>e?u("div",{className:e,children:t}):t)),ke=(e,t)=>e?.media&&t?.media?e.media-t.media:0,Se=g((({className:e="",image:t,imageClassName:n="",isMobile:r=!1,pathPrefix:i})=>{const a=ie();return p("picture",{className:`${r?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.filter((e=>e?.src)).sort(ke).map((({src:e,format:n,media:r},l)=>u("source",{srcSet:Ce(a,i)(e),type:_e(n),media:r?`(max-width: ${r}px)`:"",...t.size},`${l}_${e}`))):null,t?.src?Te({...t,src:Ce(a,i)(t.src)},n,r):null]})})),Te=(e,t="",n=!1)=>{const r={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"100%"},i=e.title||"",a=e.alt||e.title,l=n?"m-auto":"m-0";return u("img",{src:e.src,className:`${l} ${t}`,alt:a,title:i,style:r,...e.size})},Ce=(e,t)=>n=>n&&!q(n)?ne(e)(ee(t,n)):n,_e=e=>e?`image/${String(e)}`:void 0,$e=g((({className:e="",image:t,imageClassName:n="",isMobile:r,pathPrefix:i,...a})=>t?.src||t?.icon?t.icon?u(ye,{className:e,imageClassName:n,iconVersion:t?.iconVersion||"normal",name:t.icon,...a}):u(Se,{className:e,imageClassName:n,image:t,isMobile:r,pathPrefix:i}):null)),Ie=g((e=>u($e,{...e,isMobile:!0}))),Ae=(e=!1)=>e?"text-white":"",je=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),Re=g((({icon:e,image:t,title:n,subtitle:r,isFillGradient:i})=>p("div",{role:"columnheader",children:[e?u(Ie,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}):null,t?.src&&u("div",{className:"mb-3.5",children:u(Ie,{image:t})}),n?u(R,{headingType:"h4",className:Ae(i),title:n}):null,r?u("div",{className:je(i),children:r}):null]}))),De=g((({cell:e,rowHeader:t,isFillGradient:n=!1})=>u("div",{className:"box-border flex flex-col",role:"cell",children:u("div",{className:"h-full border-main-divider border border-t-0 border-x-0",children:e.map(Me(n,t))})}))),Me=(e,t)=>({label:n,description:r},i)=>p("div",{className:"flex justify-between text-s py-3.5",children:[u("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),p("div",{className:"basis-1/2",children:[n?u("div",{className:"text-right "+(e?"text-white":""),children:n}):null,r?u("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:r}):null]})]},String(i)),Le=g((({header:e,columnData:t,visibleRowLength:n=0,isFillGradient:r,showRow:i,onToggleColumn:a})=>{const l=t?.slice(0,i?t.length:n),s=r?"secondary":"primary";return p("div",{className:`border border-gray rounded-md p-4 mb-3.5 ${r?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[u(Re,{...e,isFillGradient:r}),l?.length?l.map((({rowHeader:e,cell:t},n)=>u(De,{cell:t,rowHeader:e,isFillGradient:r},String(n)))):null,i&&e?.link?u(be,{href:e.link.href,target:e.link.target,version:s,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}):null,Ve({onToggleColumn:a,isFillGradient:r,showRow:i})]})})),Ve=({onToggleColumn:e,isFillGradient:t,showRow:n})=>u("div",{className:"mt-5",role:"cell",children:u("a",{role:"link",onClick:e,className:"text-s font-medium cursor-pointer "+(t?"text-white/80":"text-primary-main"),children:n?"Скрыть":"Показать описание"})}),Pe=g((e=>{const{className:t,title:n}=e;return p("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${t||""}`,children:[n?u(R,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:n}):null,u("div",{role:"table",children:u(Oe,{...e})})]})})),Oe=g((({columns:e=[],rowHeaders:t,isColoredFirstColumn:n,visibleRowLength:i,orientation:l,...s})=>{const[o,c]=r(new Array(e.length).fill(!i)),d=a((e=>{const t=(t,n)=>n===e?!t:t;c((e=>e.map(t)))}),[]),m=a((()=>c((e=>new Array(e.length).fill(!1)))),[]),h=e?.map((({data:e,header:r},a)=>{return u(Le,{visibleRowLength:i,showRow:o[a],header:r,columnData:(l=e,l?.map(((e,n)=>({cell:e,rowHeader:t?.[n]?.title})))),isFillGradient:0===a&&n,onToggleColumn:()=>d(a),...s},String(a));var l}));return"horizontal"===l?u(K,{onVisibleIndicesChange:m,children:h}):h})),Be=new Map;function ze(e,t,{fallback:n}={}){const a=l((()=>Ee(e)),[e]),[s,o]=r(),[c,d]=r(),m=e=>{o(e),d(void 0)},h=e=>{o(void 0),d(e)};i((()=>{if(!a.every((e=>null===e)))try{const e=t(...a);"then"in e?(e=>{e.then((e=>Be.get(a)||e)).then(m).catch(h)})(e):m(e)}catch(e){h(e)}}),[t,...a]);const u=a[0],p=n&&"string"==typeof u&&n[u];return{data:!s&&p?p:s,error:c,mutate:()=>Promise.resolve(void 0),isValidating:!1}}function Ee(e){return e?Array.isArray(e)?e:e instanceof Function?Ee(e()):[e]:[e]}async function He(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await n.json()}function Fe(e,t={}){const{data:n}=ze(`/wcms-resources/${e}.json`,He,{fallback:t});return n||{}}const Ge=g((({className:e,isMobile:t=!1})=>{const{term:n,setTerm:i}=(()=>{const[e,t]=r("");return{term:e,setTerm:e=>t(e)}})(),a=t?"text-s":"text-l-light",l=t?" placeholder-transparent":"h-full",s=t?"some search":void 0;return p("form",{className:`font-sans relative ${e}`,children:[p("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[u("div",{className:t?"w-5 h-5":"w-6 h-6",children:u(Ie,{image:{icon:"LoupeIcon"},width:"24",height:"24"})}),n?null:u("label",{htmlFor:"search-bar-input",className:`text-secondary-text ${a}`,children:"Поиск по сайту"})]}),u("input",{id:"search-bar-input",className:`h-12 pl-12 w-full peer text-l text-black border border-solid rounded-md box-border\n outline-none pr-[6%] border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text ${l}`,value:n,onChange:e=>i(e.target.value),type:"text",name:"search-bar-input",placeholder:s}),t?u("button",{className:"visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none",onClick:e=>{e.preventDefault(),i("")},children:u(Ie,{image:{icon:"CloseIcon"},width:"24",height:"24"})}):u(be,{version:"primary",text:"Найти",className:"invisible peer-focus:visible absolute top-[3px] right-1",onClick:e=>{e?.preventDefault(),console.log("click")},children:u("div",{className:"text-s px-9 py-2.5",children:"Найти"})})]})})),Je=g((e=>u(Ge,{...e,isMobile:!0}))),Ue=(e,t="primary")=>({...e,iconVersion:e?.iconVersion??("secondary"===t?"white":"color")}),Xe=g((({className:e="",documents:t,...n})=>u(A,{className:`mt-2.5 ${e}`,...n,children:u("ul",{className:"flex flex-col text-s text-secondary-text p-0",children:t?.length?We(t):null})}))),We=e=>e.map(((e,t)=>{const{text:n,...r}=e;return u("li",{className:"mb-4 list-none",children:u("a",{className:"hover:text-primary-main",role:"link",...r,children:n||null})},`list_item_${String(t)}`)})),Ye={"bg-white":"color",transparent:"white"},Ke={"bg-white":"text-primary-main",transparent:"text-white"},qe=(e,t,n)=>u(Ie,t?.src?{image:t,className:Ke[e],width:n?.width,height:n?.height,pathPrefix:"/wcms-resources/",asSVG:!0}:{image:{icon:t?.icon||"LogoIcon",iconVersion:Ye[e]},className:Ke[e],width:n?.width,height:n?.height,asSVG:!0}),Qe={"bg-white":"text-primary-text",transparent:"text-white"},Ze=(e,t,n)=>u("span",{className:`${Qe[t]} ml-2.5 font-medium ${n||""}`,children:e||"Россельхозбанк"}),et=g((({bgColor:e="bg-white",children:t,className:n="",href:r,logo:i,showTitle:a=!0,targetBlank:l})=>p("a",{className:`inline-flex items-center font-sans no-underline ${n}`,href:r||"https://rshb.ru/",target:l?"_blank":"_self","aria-label":i?.title||"Россельхозбанк",children:[qe(e,i?.image,{width:"34",height:"34"}),a?Ze(t||i?.title,e,"text-s"):null]}))),tt=g((({className:e="",title:t="Мобильное приложение",description:n,href:r="#"})=>u("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light font-sans ${e}`,children:r?p("div",{className:"flex",children:[u("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-12 h-12",children:u(et,{className:"w-8",bgColor:"transparent",showTitle:!0})}),p("a",{href:r,target:"_blank",className:"flex flex-col justify-center pl-3",children:[u("div",{className:"text-s font-medium mb-[3px]",children:t}),u("div",{className:"text-s text-secondary-text",children:n})]})]}):null})));const nt=g((({className:e="",label:t,icon:n,dataTheme:r="",onClick:i})=>p("button",{className:["border border-transparent bg-primary-main font-sans text-white cursor-pointer","hover:bg-primary-hover focus:border-primary-text active:bg-primary-active outline-none","flex justify-center w-full px-0 py-5",e].join(" "),"data-theme":r,onClick:i,children:[u("span",{className:"text-h4 pr-3",children:t}),n?u(Ie,{image:{icon:n,iconVersion:"white"},className:"flex-shrink-0 my-auto",width:"20",height:"20",asSVG:!0}):null]}))),rt=g((({className:e="",isFoldButtonOnTop:t=!1,unfoldedByDefault:n=!1,renderFoldableSection:i,renderFoldButton:l})=>{const[s,o]=r(n),c=a((()=>{o((e=>!e))}),[]),d=i({isUnfolded:s,onToggle:c}),m=l?l({isUnfolded:s,onToggle:c}):null;return p("div",t?{className:e,children:[m,d]}:{className:e,children:[d,m]})})),it=g((({className:e="",isUnfolded:t,children:n})=>{const r=s(null);return i((()=>{r.current&&(r.current.style.maxHeight=t?`${r.current.scrollHeight}px`:"")}),[t,n?.length]),u("div",{ref:r,className:`transition-max-h duration-300 overflow-hidden ${r.current||!t?"max-h-0":""} ${e}`,children:n})})),at=g((({children:e,...t})=>u("span",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),lt=g((({className:e="",label:t="Развернуть",isExpanded:n,isFoldButtonOnTop:r=!0,version:i="primary",...a})=>{const{bordered:l}=function(e,t){const{content:n}=function(e){return e?.parent||{}}(e);return n||t}(a.options,{});return u(A,{className:x("border-b border-solid border-main-divider w-full",l?"border p-4 rounded mb-4":"border-0 border-b last:border-b-0",e),tag:"div",version:"transparent",...a,children:u(rt,{isFoldButtonOnTop:r,unfoldedByDefault:n,renderFoldableSection:({isUnfolded:e})=>u(it,{className:"flex flex-wrap group-last:last:pb-0 gap-5 [&>*]:p-0",isUnfolded:e,children:k(a)}),renderFoldButton:({isUnfolded:e,onToggle:n})=>st({version:i,label:t,isUnfolded:e,onToggle:n})})})}));lt.childrenTypes={exclude:["RollupItem","Accordion","OtherProducts"]};const st=({version:e,label:t,isUnfolded:n,onToggle:r,className:i="",primaryIcon:a})=>{const l=t||(n?"Скрыть":"Развернуть");return"primary"===e?ot({label:l,icon:n?"MinusIcon":"PlusIcon",onToggle:r,className:i,primaryIcon:a}):u(nt,{label:l,icon:n?"ArrowUpIcon":"ArrowDownIcon",onClick:r})},ot=({label:e,icon:t,primaryIcon:n,onToggle:r})=>p("button",{className:"border-none bg-transparent flex justify-between text-left w-full text-primary-text group cursor-pointer py-3.5 px-0",onClick:r,children:[p("div",{className:"flex group-hover:text-primary-main",children:[n?u(Ie,{image:{...Ue({...n})},className:"mr-3 flex-shrink-0",width:"24",height:"24",asSVG:!0}):null,u(at,{size:"text-m-title-xs",font:"font-medium",children:e})]}),u(Ie,{className:"flex-shrink-0",image:{...Ue({icon:t})},width:"24",height:"24",asSVG:!0})]}),ct=g((({className:e="",items:t,hasButton:n})=>p("div",{className:e,children:[t?.length?t.map(dt):null,n?u(be,{version:"primary",className:"mb-6 w-full",href:"https://www.rshb.ru/feedback/question/",target:"_blank",ariaLabel:"Обратная связь",text:"Обратная связь"}):null]}))),dt=(e,t)=>{const{type:n,text:r,description:i}=e;return p("div",{className:"mb-4",children:[u("div",{children:mt(n,r)}),u("div",{className:"mt-1 text-s-light text-secondary-text",children:i})]},String(t))},mt=(e,t="")=>{switch(e){case"tel":return u("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${ht(t)}`,children:t});case"email":return u("a",{className:"text-xl-light text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return u("span",{children:t})}},ht=e=>e.replaceAll(/\D/g,""),ut=g((({className:e="",index:t,text:n,...r})=>{const i=ae(),{href:a,target:l,onClick:s}=i(r);return u("a",{className:`text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:a,target:l,onClick:s,children:n||`Документ ${t}`})})),pt=g((({title:e,links:t,className:n=""})=>p("div",{className:n,children:[u("span",{className:"text-primary-text text-s font-medium",children:e}),t?.length?u("div",{className:"flex flex-col gap-2 pt-3",children:t.map(((e,t)=>u(ut,{index:t,className:"text-s",...e},String(t))))}):null]}))),gt=[{origins:["t.me","telegram.org"],iconMapped:{icon:"TelegramIcon"},label:"Телеграм"},{origins:["vk.com"],iconMapped:{icon:"VKIcon"},label:"ВКонтакте"},{origins:["ok.ru"],iconMapped:{icon:"OkIcon"},label:"Одноклассники"},{origins:["apps.apple.com"],iconMapped:{icon:"AppleIcon"},label:"App Store"},{origins:["play.google.com"],iconMapped:{icon:"PlayMarketIcon"},label:"Google Play"},{origins:["youtube.com"],iconMapped:{icon:"YoutubeIcon"},label:"Youtube"}],bt={default:"w-14 h-14",small:"w-12 h-12"},xt=g((({iconVersion:e="color",buttonSize:t="default",rounded:n=!1,icon:r,...i})=>{const{href:a,version:l}=i,{iconMapped:s,label:o}=gt.find((({origins:e})=>e.some((e=>a?.includes(e)))))||{},c=r??s,d=c?{...Ue(c),iconVersion:e}:void 0;return u(be,{className:x("group/media flex items-center justify-center box-border",bt[t],n?"rounded-full":"rounded-md","border border-solid hover:border-transparent","group-data-primary:border-main-divider","hover:bg-primary-main hover:text-black","group-data-secondary:bg-white border-main-divider group-data-secondary:hover:bg-secondary-hover","group-data-gray:border-green",bt[t]),"aria-label":o,target:"_blank",rel:"noopener noreferrer",version:l,...i,children:d?u(Ie,{image:d,imageClassName:"group-hover/media:text-white",width:"24",height:"24",asSVG:!0}):null})})),ft=g((({className:e="",media:t})=>u("div",{className:`flex gap-2 items-start justify-start pt-6 pb-6 ${e}`,children:t?.map(((e,t)=>u(xt,{...e},String(t))))}))),Nt=g((({className:e="",index:t,...n})=>{const r=ae(),{href:i,target:a,text:l,onClick:s}=r(n);return u("a",{className:`text-xs-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${e}`,href:i,target:a,onClick:s,children:l||`Документ ${t}`})})),yt=g((({className:e="",links:t})=>p("div",{className:e,children:[u("div",{className:"py-6",children:u("span",{className:"text-xs-light text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?u("div",{className:"flex flex-col justify-start items-start gap-2",children:t.map(((e,t)=>u(Nt,{index:t,...e},String(t))))}):null]}))),vt=g((({className:e="",...t})=>{const n=t.options?.page?.fallback,r=Fe(c.SITEMAP||"sitemap",n),{documents:i,relatedEnterprises:a,contacts:l,socialMedia:s,horizontalNavigationTitle:o}=Fe(c.FOOTER||"footer",n);return p(A,{tag:"footer",className:`px-4 py-[26px] ${e}`,...t,children:[u(ct,{className:"overflow-hidden",items:l,hasButton:!0}),u("div",{className:"m-0 p-0",children:r.topItems?.map(((e,t)=>u(lt,{label:e?.text,children:u(Xe,{documents:e.items})},String(t))))}),u("div",{children:r?.dispositions?.map(wt)}),u(tt,{title:"Мобильное приложение",description:"Загрузить для IOS и Android",...t}),u(Je,{className:"grow"}),u(ft,{className:"pb-4",media:s}),u(pt,{title:o,links:a}),u(yt,{links:i})]})})),wt=(e,t)=>{const{icon:n,href:r,text:i}=e;return p(be,{version:"link",href:r,className:"flex text-s mb-4 w-6",children:[n?u(Ie,{className:"pr-1",image:Ue(n),width:"24",height:"24",asSVG:!0}):null,u("span",{className:"pl-2.5 font-medium text-primary-text",children:i})]},`footer-${t}`)},kt=e=>({href:t})=>Z(q(t)?e.href:e.pathname).startsWith(Z(t)),St=g((({className:e="",active:t,dataItemName:n,children:r,...i})=>{const a=ae(),{href:l,target:s,text:o,onClick:c}=a(i);return p("a",{className:x("relative inline-block bg-transparent text-center no-underline",e),href:l,target:s,"data-item-name":n,onClick:c,children:[u("span",{className:Tt(t),children:o||r}),t?u("div",{className:"absolute left-0 -bottom-3 w-full h-0.5 bg-primary-main group-data-transparent:bg-transparent"}):null]})})),Tt=(e=!1)=>x("font-sans text-s",e?"text-primary-main":"text-secondary-text hover:text-primary-main","group-data-transparent:text-white group-data-transparent:hover:text-primary-hover"),Ct=864e5;function _t(e,t,n=globalThis?.localStorage){const r=a((async(...r)=>{const i=`async:${e}`,a=function(e){const{data:t=null,timestamp:n=null}=e?JSON.parse(e):{};return t&&Date.now()-n<Ct?t:void 0}(n.getItem(i));if(a)return a;const l=await t(...r);return n.setItem(i,JSON.stringify({data:l,timestamp:Date.now()})),l}),[e,t]);return ze(e,r)}const $t=()=>{const e=globalThis.localStorage?.getItem("location");try{return e?JSON.parse(e):null}catch(e){return null}},It=g((({burgerSubMenu:e,onClick:t,defaultLocation:n="",children:l})=>{const[s]=function(e){const t=$t(),[n,l]=r(t?.region??{name:e}),{data:s}=_t("/api/v1/region",He);return i((()=>{l(t?.region&&t?.manual?t.region:s||{name:e})}),[s]),[n,a((e=>{globalThis.localStorage?.setItem("location",JSON.stringify({manual:!0,region:e})),l(e)}),[l])]}(n);return p("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20",children:[u("button",{className:"absolute top-4 right-4 border-none bg-transparent cursor-pointer",onClick:t,children:u(Ie,{image:{icon:"CloseIcon"},width:"24",height:"24",asSVG:!0})}),p("button",{className:"flex items-center text-s p-0 mb-4 bg-transparent cursor-pointer",children:[u(Ie,{image:{icon:"GeolocationIcon"},width:"20",height:"20",className:"text-primary-main box-border mr-2",asSVG:!0}),u(at,{color:"text-secondary-text",children:s.name})]}),l,u("div",{className:"mb-7",children:e?.map(At)}),u(Je,{className:"grow"})]})})),At=(e,t)=>{const{icon:n,href:r,text:i}=e;return p("a",{href:r,className:"flex text-s mb-4 hover:text-primary-main",children:[n?u(Ie,{className:"text-primary-main pr-1",image:n,width:"24",height:"24",asSVG:!0}):null,u("span",{className:"font-medium pl-0.5",children:i})]},`headerSubMenu-${t}`)},jt=g((({onClick:e,bgColor:t,logo:n})=>p("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-12",children:[p("div",{className:"flex items-center",children:[u("button",{className:"pl-0 pr-4 border-0 bg-transparent cursor-pointer",onClick:e,"aria-label":"Открыть меню",children:u(Ie,{image:{icon:"BurgerIcon",iconVersion:"bg-white"===t?"black":"white"},className:"text-primary-text w-6 h-6",width:"24",height:"24",asSVG:!0})}),u(et,{className:"mr-8",bgColor:t,logo:n})]}),u("button",{className:"text-primary-main group-data-transparent:text-white group-data-transparent:hover:text-primary-hover text-s border-0 bg-transparent",children:"Войти"})]}))),Rt={"bg-white":"primary",transparent:"transparent"},Dt=g((({bgColor:e="bg-white",version:t=Rt[e],...n})=>{const i=ie(),l=n.options?.page?.fallback,{topItems:s,dispositions:o,defaultLocation:d,logo:m}=Fe(c.SITEMAP||"sitemap",l),h=s?.find((e=>kt(c.BASE_PATH?{pathname:c.BASE_PATH}:e))(i)),g=h?.items,b=(e=>(t=[])=>{const n=t?.filter(kt(e));return n?.length?J((e=>e.href?.length||0))(n):void 0})(i)(g),[x,f]=r(!1),N=a((()=>f((e=>!e))),[]);return p(A,{tag:"header",version:t,...n,children:[p("div",{className:"container px-4 py-0 box-border",children:[u(jt,{onClick:N,bgColor:e,logo:m}),u("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-12",children:u("div",{className:"flex no-scrollbar horizontal-list h-full items-center",children:g?.map(((e,t)=>u(St,{className:"mr-8 whitespace-nowrap text-s",active:e===b,...e},String(t))))})})]}),x?u(It,{onClick:N,burgerSubMenu:o,defaultLocation:d,children:u("div",{className:"list-none m-0 p-0",children:s?.map(((e,t)=>u(lt,{label:e.text,children:u(Xe,{documents:e.items})},String(t))))})}):null]})})),Mt={XXL:{wrapper:"gap-[18px]",title:{headingType:"h0",as:"h1"},descriptionSize:"text-h5"},XL:{wrapper:"gap-4",title:{headingType:"h1",as:"h1"},descriptionSize:"text-xl-light"},L:{wrapper:"gap-4",title:{headingType:"h2",as:"h2"},descriptionSize:"text-xl-light"},M:{wrapper:"gap-3",title:{headingType:"h3",as:"h3"},descriptionSize:"text-xl-light"},S:{wrapper:"gap-2",title:{headingType:"h4",as:"h4"},descriptionSize:"text-xl-light"},XS:{wrapper:"gap-2",title:{headingType:"h5",as:"h5"},descriptionSize:"text-l-light"}},Lt=g((({className:e,title:t,description:n,headlineVersion:r="XL",align:i="text-center",as:a,isPadding:l=!0,...s})=>{const o=Mt[r];return p(A,{className:x("flex flex-col group-data-secondary:bg-primary-main group-data-secondary:text-white",l?"p-12":"",o.wrapper,e),...s,children:[t?u(R,{className:x("whitespace-pre-wrap",i),...o?.title,as:a||o?.title.as,title:t}):null,n?u(D,{color:"group-data-secondary:text-white/80",size:o.descriptionSize,align:i,children:n}):null]})})),Vt=g((({className:e,iconClassName:t,textClassName:n,suffixClassName:r,doc:i,icon:a})=>{const{text:l,fileSize:s,...o}=i;return p("a",{className:e,role:"link",...o,children:[a?u(Ie,{className:t,image:Ue(a),width:"24px",height:"24px",asSVG:!0}):null,l?p("span",{className:n,children:[l,u("span",{className:r,children:o?.href&&Pt(Ot(o.href),s)})]}):null]})})),Pt=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),Ot=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},Bt=g((({className:e="",doc:t,icon:n})=>u(Vt,{className:`flex h-full box-border ${e}`,iconClassName:"mr-3 min-w-6 min-h-6",doc:t,icon:n}))),zt=g((({hasBorder:e=!0,documents:t,icon:n})=>u(K,{className:"text-s text-primary-main mt-5",children:t?.length?t.map(((t,r)=>u(Bt,{className:e?"rounded-md border-gray border border-solid p-4":"",doc:t,icon:n},String(r)))):null}))),Et=g((({hasBorder:e=!0,documents:t,icon:n})=>u("div",{className:"text-s text-primary-main flex flex-col mt-5 "+(e?"gap-3.5":"gap-2"),role:"list",children:t?.length?t.map(((t,r)=>u("div",{role:"listitem",children:u(Bt,{className:e?"rounded-md border-gray border border-solid p-4":"",doc:t,icon:n})},String(r)))):null}))),Ht=g((({className:e="",title:t,description:n,icon:r={icon:"DocIconMonoColor"},documents:i,orientation:a="vertical",hasBorder:l=!0,align:s,...o})=>p(A,{className:x("py-6 px-4 overflow-x-hidden",e),...o,children:[u(Lt,{className:"!p-0 "+(n?"gap-2":"gap-5"),title:t,description:n,align:s,headlineVersion:"M",as:"h2"}),u("vertical"===a?Et:zt,{hasBorder:l,documents:i,icon:r})]}))),Ft=e=>{const t="col-span-",n=e?.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function Gt(e=""){const t=Ft(e);return t<=4?"S":t<=8?"M":"L"}function Jt(e=""){const t=Ft(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function Ut(e=""){const t=Ft(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const Xt=g((({className:e,title:t,description:n="Блок в разработке...",...r})=>p(A,{className:x("p-9 box-border",e,Ut(e),Jt(e)),...r,children:[u(Lt,{className:"!p-0 max-w-[600px]",title:t,description:n,headlineVersion:Gt(e)}),u("figure",{className:"m-0 min-w-[80%]",children:Wt()})]}))),Wt=(e=3)=>Kt(100,e).map((e=>Math.floor(e))).map(Yt),Yt=(e,t)=>u("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),Kt=(e,t)=>[e].concat(t>0?Kt(e/1.618,t-1):[]),qt=(e,{className:t="",buttonClassName:n,isVertical:r}={})=>e?.length&&e.some((e=>e?.text))?u("div",{className:x("flex",r?"flex-col gap-2":"gap-4",t),children:e.map(Qt(n))}):null,Qt=(e="")=>(t,n)=>{const{text:r,icon:i,iconRight:a,version:l,...s}=t||{},o="secondary"===l?"color":"white";return r?u(be,{className:e,appendLeft:Zt({...i,iconVersion:o}),appendRight:Zt({...a,iconVersion:o}),version:l,text:r,...s},n?String(n):""):null},Zt=e=>e?.icon||e?.src?u(Ie,{image:e,width:String(e?.size?.width||24),height:String(24),asSVG:!0}):null,en={L:"w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-4",M:"w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-3",S:"w-1 h-1 min-w-1 min-h-1 mr-2"},tn=g((({className:e="",isDotted:t=!0,children:n,size:r="M"})=>p("div",{className:`font-sans flex items-baseline ${e}`,role:"listitem",children:[t?u("div",{children:u("div",{className:`rounded-full align-middle inline-block bg-primary-text group-data-secondary:bg-white ${en[r]}`})}):null,u("span",{children:n})]}))),nn={S:"text-l-light",M:"text-h6",L:"text-h5"},rn={S:"ml-2",M:"ml-3",L:"ml-4"},an=g((({className:e="",hasIndent:t,isDotted:n,itemClassName:r="",items:i,listItemSize:a="M"})=>i?.length?u("section",{className:`text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text ${nn[a]} ${t?rn[a]:""} ${e}`,role:"list",children:i.map(((e,t)=>u(tn,{className:r,isDotted:n,size:a,children:e},String(t))))}):null)),ln=g((({className:e="",title:t="",buttons:n,image:r,children:i})=>p("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,children:[t,p("div",{className:"flex grow w-full justify-between",children:[p("div",{className:"flex flex-col justify-between w-full",children:[u("div",{className:"h-full",children:i}),n?u("div",{className:"mt-auto pt-8",children:n}):null]}),r]})]}))),sn=g((e=>{const{className:t="",icon:n,label:r,description:i,version:a="primary",benefitsVersion:l="normal"}=e,s="white"===l?"secondary":"primary";return p("div",{className:`flex gap-5 ${i?"items-start":"items-center"} ${t}`,children:[n?u("div",{className:on(a,l),children:u(Ie,{className:"w-6 h-6",image:Ue(n,s),asSVG:!0})}):null,p("div",{className:"gap-0.5",children:[r?u("div",{className:"text-h6 text-primary-text group-data-secondary:text-white",children:r}):null,i?u("div",{className:"text-m-light text-secondary-text group-data-secondary:text-white",children:i}):null]})]})}));function on(e,t){let n="bg-primary-main text-black";return"secondary"===e?n="bg-white/30 text-black":"normal"===t&&(n="bg-secondary-light text-primary-main"),`w-12 h-12 min-w-12 rounded-full p-2.5 box-border flex items-center justify-center ${n}`}const cn=(e="primary",t="normal")=>({icon:n,label:r,description:i},a)=>u(sn,{icon:n,label:r,description:i,version:e,benefitsVersion:t},String(a)),dn=g((({className:e="",headlineVersion:t="L",benefits:n,benefitsVersion:r="normal",buttons:i,image:a,items:l,isDotted:s=!0,label:o,title:c,description:d,...m})=>p(A,{className:`w-full ${e}`,...m,children:[p("div",{children:[o?hn(o):null,u(Lt,{className:"!p-0 max-w-[600px]",title:c,description:d,headlineVersion:t,align:"text-left"}),p(ln,{buttons:qt(i,{className:"mt-5",isVertical:!0}),children:[n?.filter((e=>e.label))?.length?u("div",{className:"mt-3",children:n.map(cn("primary",r))}):null,l?.length?u(an,{className:"mt-3 text-m",items:l,isDotted:s}):null]})]}),mn(a)]})));function mn(e){return e?.src?u(Ie,{imageClassName:"mt-5 mx-auto block",image:{className:"block",...e}}):null}const hn=e=>u("div",{className:"w-fit px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid border-secondary-hover",children:u(at,{color:"text-primary-main group-data-secondary:text-white/80",children:e})}),un=g((e=>{const{className:t="",...n}=e;return u(A,{className:`px-4 py-6 ${t}`,...n,children:u(dn,{...e})})})),pn=g((e=>{const{__html:t=""}=e;return u("div",{className:"md-container",dangerouslySetInnerHTML:{__html:t}})}));const gn={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-12 w-12 min-w-12 min-h-12"},bn={normal:"min-h-[70px]",small:"min-h-12"},xn={description:"text-white/80 text-l-light group-data-primary:text-secondary-text",iconText:"text-white group-data-primary:text-secondary-text",iconBackground:"bg-white/30 group-data-primary:bg-main-divider",iconConnector:"bg-white group-data-primary:bg-secondary-light",dot:"bg-white/80 group-data-primary:bg-secondary-text"},fn=g((({className:e="",title:t,description:n,showLines:r=!0,steps:i,size:a="normal",version:l="primary",...s})=>p(A,{className:`box-border px-4 py-6 flex flex-col ${e}`,version:l,...s,children:[t?u(R,{headingType:"h3",className:"text-center",title:t}):null,n?u("p",{className:`text-m-light text-center ${xn.description} ${t?"mt-2":""}`,children:n}):null,i?.length?u("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:u("div",{className:"flex flex-col justify-between gap-x-[101px]",children:i.map(Nn(a,l,r))})}):null]}))),Nn=(e,t,n)=>(r,i,a)=>{const{type:l}=r;if("default"!==l&&"rte"!==l)return null;switch(l){case"default":return yn(e,t,n)(r,i,a);case"rte":return u(pn,{__html:r.__html});default:!function(e){throw new Error(e)}(r)}},yn=(e,t,n)=>(r,i,a)=>{const l=a.length-1===i,s="normal"===e?"ml-[34px]":"ml-6";return u("div",{children:p("div",{className:"flex flex-row text-center relative",children:[p("div",{className:"overflow-hidden flex-shrink-0",children:[vn(e,t)(r,i),l?null:u("div",{className:`min-h-8 h-full w-0.5 ${n?xn.iconConnector:""} ${s}`})]}),p("div",{className:`flex flex-col justify-center h-fit ${bn[e]}`,children:[r.label?u("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:r.label}):null,r.description?u("div",{className:`text-s ${xn.description} text-left`,children:r.description}):null]})]})},String(i))},vn=(e,t)=>(n,r)=>{const i="normal"===e?"38":"27";return u("div",{className:`${gn[e]} ${xn.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:u("span",{className:`font-medium flex self-center ${"normal"===e?"text-m-title":"text-m-title-xs"}`,children:(a=n?.icon,Boolean(a?.icon||a?.src)?u(Ie,{image:Ue({...n.icon},t),width:i,height:i,asSVG:!0}):u("span",{children:r+1}))})});var a},wn={Buttons:({buttons:e})=>qt(e,{className:"mt-3",buttonClassName:"w-12 h-12"}),Img:({image:e})=>e?.src?u(Ie,{image:{...e,className:"m-0"}}):null,List:({isDotted:e,...t})=>u(an,{className:"flex flex-col justify-between items-start text-m",isDotted:e??!0,...t}),LabelDescription:({label:e,description:t})=>p("div",{children:[e?u("div",{className:"text-xl font-medium m-0 "+(t?"mb-1":""),children:e}):null,t?u("div",{className:"text-s text-secondary-text",children:t}):null]})},kn=g((({title:e,icon:t})=>p("div",{className:"flex gap-2.5 mb-2",children:[e?u(R,{headingType:"h3",className:"font-medium",title:e}):null,t?u(Ie,{className:"ml-auto max-w-6 max-h-6",image:t,width:"24px",height:"24px"}):null]}))),Sn=g((({tile:e,...t})=>p("div",{className:"rounded-md border-gray h-full box-border border p-4",children:[u(kn,{...e?.header}),e?.data?.length?e.data.map(((e,n)=>p("div",{children:[n>0?u("div",{className:"h-5"}):null,Tn(e,t)]},String(n)))):null]})));function Tn(e,t){if(!e||!e.tableCellType||!(e.tableCellType in wn))return null;const n=wn[e.tableCellType];return u(n,{displayTable:()=>null,isVisible:!0,...e,...t})}const Cn=g((({tiles:e,...t})=>e?.length?u(K,{...t,children:e.map(((e,n)=>u(Sn,{tile:e,...t},String(n))))}):null)),_n=g((({tiles:e,...t})=>e?.length?u("div",{className:"flex flex-col gap-3.5",children:e.map(((e,n)=>u(Sn,{tile:e,...t},String(n))))}):null)),$n=g((({className:e,title:t,description:n,tariffsColumns:r,rowHeaders:i,orientation:a="vertical",...l})=>{const s=In(r),o=An(i,s);return p("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[t?u(R,{headingType:"h2",className:`text-center ${n?"mb-2":"mb-5"}`,title:t}):null,n?u("div",{className:"mb-5 text-center text-m",children:n}):null,u("vertical"===a?_n:Cn,{tiles:o,...l})]})})),In=e=>e?.[0]?.data?e[0].data:[],An=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),jn=g((({title:e,description:t,iconVersion:n,image:r,className:i="",items:a,isDotted:l=!0})=>p("section",{className:`font-sans px-4 py-[18px] flex flex-col bg-white group-data-secondary:bg-primary-main ${i}`,children:["small"===n?u("div",{className:"mb-3",children:u("div",{className:"rounded-full h-4 w-4 text-center text-xs-light bg-primary-main text-white group-data-secondary:bg-white group-data-secondary:text-primary-main",children:"i"})}):null,"big"===n?Rn(r):null,p("div",{className:"py-0.5 text-secondary-text group-data-secondary:text-white",children:[e?u("div",{className:"text-l font-medium mb-1",children:e}):null,t?u("div",{className:"text-s ",children:t}):null,a?.length?u(an,{className:"mt-1 text-m",items:a,isDotted:l}):null]})]})));function Rn(e){return e?.src?u(Ie,{className:"pb-3 mr-auto",image:e}):null}const Dn={XXL:"gap-12",XL:"gap-10",L:"gap-8",M:"gap-4",S:"gap-2",XS:"gap-1","":""},Mn={stretch:"items-stretch",left:"items-start",center:"items-center",right:"items-end"},Ln=g((({className:e="",gap:t="",align:n="stretch",isPadding:r=!1,isInnerPadding:i=!0,version:a="transparent",options:l,...s})=>{const o=i?"":"!p-0";return u(A,{className:x("flex flex-col [&>*]:max-w-full",r?"p-12":"",Dn[t],n&&Mn[n],e),version:a,...s,children:k({...s,options:{...l,className:o}})})}));Ln.childrenTypes=[];const Vn={Accordion:M,ComparisonTable:Pe,Footer:vt,Header:Dt,Headline:Lt,LinkDocs:Ht,LinkList:Xe,MobileAppTile:tt,ProductBlock:un,RollupItem:lt,StepsBlock:fn,TariffsTable:$n,TextBlock:jn,Placeholder:Xt,VerticalLayout:Ln};const Pn=["Header","Footer"],On=([,{target:e}])=>Math.abs(e.getBoundingClientRect().top);function Bn(e=globalThis){const t=s(new Map);i((()=>$.subscribe("intersection",(({block:e,intersection:n})=>{t.current&&t.current.set(e,n)}))),[]),i((()=>{const n=((e,t=600)=>{let n;const r=(...i)=>{r.dispose(),n=setTimeout((()=>{e(...i)}),t)};return r.dispose=()=>{n&&clearTimeout(n)},r})((()=>{!function(e){const t=`#${n=e?.anchor,n?.replace("#","")||""}`;var n;globalThis.location?.hash!==t&&globalThis.history?.replaceState(globalThis.history?.state,"",t)}(globalThis.scrollY>3*globalThis.innerHeight/4?function(e){const t=e.filter((([e])=>!Pn.includes(e.type||""))).filter((([,{intersectionRatio:e}])=>e>.01)),[n]=t.length>0?U(On)(t):[];return n}([...t.current||[]]):void 0)}),100);return e.addEventListener("scroll",n),()=>{n.dispose(),e.removeEventListener("scroll",n)}}),[e])}const zn=h();const En=g((({className:e,onClick:t,ariaLabel:n})=>u("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":n,children:Hn()}))),Hn=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[u("path",{...e,strokeMiterlimit:"10",d:"M21.48 11.95c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1 6.1M7.48 18.35l3.1 2.4c.4.4 1.3.6 1.9.6h3.8c1.2 0 2.5-.9 2.8-2.1l1.24-3.77"}),u("path",{...e,d:"M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z"})]})},Fn=g((({className:e=""})=>{const t=function(e){const[t,n]=r(0);return i((()=>{(async()=>{const[t]=await zn.getLikeCount(e);n(t?.value||0)})()}),[e]),{likeCount:t,like:a((async()=>{n(await zn.like(e))}),[e]),dislike:a((async()=>{n(await zn.dislike(e))}),[e])}}(ie().pathname);return p("div",{className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e}`,children:[u(En,{onClick:re(t.like),ariaLabel:"Поставить отметку «лайк»"}),u(En,{onClick:re(t.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),u("span",{className:"select-none",children:t.likeCount})]})})),Gn=g((e=>{const{className:t="",blocksRegistry:n,blockDecorator:r,data:i={}}=e,{style:a,blocks:l,slots:s,likeControl:o,colorPalette:c="pc"}=i,d={key:"",page:i,blocksRegistry:n,blockDecorator:r,parent:i};return Bn(),p("section",{className:x("relative",a,t),"data-theme":c,children:[s?.header?u("div",{className:"mb-5 shadow-[0_8px_32px_0px_#00000014]",children:w(s?.header,{...d,slotName:"header"})}):null,p("div",{className:"container grid grid-cols-12 gap-1",children:[w(l,d),s?.footer?w(s?.footer,{...d,slotName:"footer"}):null]}),o?u("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:u(Fn,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto"})}):null]})}));Gn.childrenTypes=[],Gn.slots=()=>["header","footer"];e.Blocks=Vn,e.ContentPage=Gn,e.DaDataAPI=function(e=""){return{getFetcherAddress:async function(){if(!("geolocation"in navigator))return null;try{const t=await(async()=>new Promise((e=>navigator.geolocation.getCurrentPosition((({coords:t})=>e(t))))))(),n=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await n.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.LikeAPI=h,e.handlerDecorator=re,e.joinList=function(e){return t=>t.reduce(((t,n,r)=>t.length?t.concat({...e,key:r},n):[n]),[])},e.packageVersion="0.8.26",e.projectSettings=c,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=te,e.useRouter=ie,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -10,4 +10,6 @@ export declare type HeadlineContent = UniBlockContent & HeadlineProps & ImageCon
10
10
  align?: TextAlign;
11
11
  /** @hidden */
12
12
  as?: HeadingTagType;
13
+ /** @title Внутренний отступ блока */
14
+ isPadding?: boolean;
13
15
  };
@@ -19,7 +19,7 @@ export declare type BenefitItemProps = DescriptionProps & LabelProps & IconProps
19
19
  declare type DefaultBenefit = BenefitItemProps & DefaultListItemType;
20
20
  /**
21
21
  * @title Преимущество
22
- * @default{
22
+ * @default {
23
23
  * "type": "default"
24
24
  * }
25
25
  */
@@ -6,7 +6,6 @@ const renderChildren_1 = require("../../BlockRenderer/renderChildren");
6
6
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
7
7
  const Heading_1 = require("../../ui-kit/Heading/Heading");
8
8
  const Paragraph_1 = require("../../ui-kit/Paragraph/Paragraph");
9
- const AccordionItemsList_1 = require("./AccordionItemsList");
10
- exports.Accordion = (0, uni_jsx_1.JSX)(({ title, description, className = '', ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `py-6 px-4 ${className}`, ...rest, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", className: "mb-2 text-center", title: title }) : null, description ? ((0, jsx_runtime_1.jsx)("div", { className: "mb-5", children: (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { size: "text-m", font: "font-light", align: "text-center", children: description }) })) : null, (0, jsx_runtime_1.jsx)(AccordionItemsList_1.AccordionItemsList, { children: (0, renderChildren_1.renderChildren)(rest) })] })));
11
- exports.Accordion.childrenTypes = ['AccordionItem'];
9
+ exports.Accordion = (0, uni_jsx_1.JSX)(({ title, description, className = '', ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `py-6 px-4 ${className}`, ...rest, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", className: "mb-2 text-center", title: title }) : null, description ? ((0, jsx_runtime_1.jsx)("div", { className: "mb-5", children: (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { size: "text-m", font: "font-light", align: "text-center", children: description }) })) : null, (0, jsx_runtime_1.jsx)("div", { className: "list-none m-0 p-0", children: (0, renderChildren_1.renderChildren)(rest) })] })));
10
+ exports.Accordion.childrenTypes = ['Accordion'];
12
11
  //# sourceMappingURL=Accordion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Accordion.js","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uEAAoE;AAEpE,4DAAyD;AACzD,0DAAuD;AACvD,gEAA6D;AAE7D,6DAA0D;AAI7C,QAAA,SAAS,GAA6B,IAAA,aAAG,EACpD,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACnD,wBAAC,2BAAY,IAAC,SAAS,EAAE,aAAa,SAAS,EAAE,KAAM,IAAI,aACxD,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACtF,WAAW,CAAC,CAAC,CAAC,CACb,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,qBAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,aAAa,YAC3D,WAAW,GACF,GACR,CACP,CAAC,CAAC,CAAC,IAAI,EACR,uBAAC,uCAAkB,cAAE,IAAA,+BAAc,EAAC,IAAI,CAAC,GAAsB,IAClD,CAChB,CACF,CAAC;AAEF,iBAAS,CAAC,aAAa,GAAG,CAAC,eAAe,CAAC,CAAC"}
1
+ {"version":3,"file":"Accordion.js","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uEAAoE;AAEpE,4DAAyD;AACzD,0DAAuD;AACvD,gEAA6D;AAKhD,QAAA,SAAS,GAA6B,IAAA,aAAG,EACpD,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACnD,wBAAC,2BAAY,IAAC,SAAS,EAAE,aAAa,SAAS,EAAE,KAAM,IAAI,aACxD,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACtF,WAAW,CAAC,CAAC,CAAC,CACb,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,qBAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,aAAa,YAC3D,WAAW,GACF,GACR,CACP,CAAC,CAAC,CAAC,IAAI,EACR,gCAAK,SAAS,EAAC,mBAAmB,YAAE,IAAA,+BAAc,EAAC,IAAI,CAAC,GAAO,IAClD,CAChB,CACF,CAAC;AAEF,iBAAS,CAAC,aAAa,GAAG,CAAC,WAAW,CAAC,CAAC"}
@@ -39,12 +39,12 @@ exports.ApplicationFormAcquiring = (0, uni_jsx_1.JSX)((props) => {
39
39
  }, []);
40
40
  const onSubmit = async (e) => {
41
41
  e.preventDefault();
42
- const PartnerComments = `Вид эквайринга=${acquiringType}/Онлайн касса=${onlineСheckout}/POS-терминал=${posTerminal}`;
42
+ const partnerComments = `Вид эквайринга=${acquiringType}/Онлайн касса=${onlineСheckout}/POS-терминал=${posTerminal}`;
43
43
  handleSubmit &&
44
44
  (await handleSubmit({
45
45
  typeForm: 'acqr',
46
46
  region: regions.find((_) => _.code === selectedRegion)?.name || '',
47
- PartnerComments,
47
+ partnerComments,
48
48
  fullName,
49
49
  inn,
50
50
  name,
@@ -42,7 +42,7 @@ exports.ApplicationFormCredit = (0, uni_jsx_1.JSX)((props) => {
42
42
  }, [formState.region, handleChange]);
43
43
  const onSubmit = async (e) => {
44
44
  e.preventDefault();
45
- const PartnerComments = `Сумма=${amount}/Срок=${term}/Выручка=${annualRevenue}`;
45
+ const partnerComments = `Сумма=${amount}/Срок=${term}/Выручка=${annualRevenue}`;
46
46
  handleSubmit &&
47
47
  (await handleSubmit({
48
48
  typeForm: 'cred',
@@ -53,7 +53,7 @@ exports.ApplicationFormCredit = (0, uni_jsx_1.JSX)((props) => {
53
53
  mail,
54
54
  region: regions.find((_) => _.code === selectedRegion)?.name || '',
55
55
  department: branches.find((_) => _.branchCode === department)?.address || '',
56
- PartnerComments,
56
+ partnerComments,
57
57
  }));
58
58
  };
59
59
  return ((0, jsx_runtime_1.jsxs)("form", { onSubmit: onSubmit, className: "container", children: [(0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h6", title: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u043A\u0440\u0435\u0434\u0438\u0442\u0430", className: "text-center mb-4" }), (0, renderCreditParameters_1.renderCreditParameters)({ amount, term, handleChange }), (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h6", title: "\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", className: "text-center mb-4" }), (0, renderDataOrganization_1.renderDataOrganization)({ fullName, inn, name, phone, mail, annualRevenue, handleChange }), (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h6", title: "\u041E\u0444\u0438\u0441 \u0431\u0430\u043D\u043A\u0430", className: "text-center mb-4" }), (0, renderBankOffices_1.renderBankOffices)({
@@ -28,7 +28,7 @@ exports.ApplicationFormWed = (0, uni_jsx_1.JSX)((props) => {
28
28
  });
29
29
  const onSubmit = async (e) => {
30
30
  e.preventDefault();
31
- const PartnerComments = `Валютный контроль=${currencyControl}/Документарные операции=${documentaryOperations}/Конверсионные операции=${conversionOperations}/Доп инф=${text}`;
31
+ const partnerComments = `Валютный контроль=${currencyControl}/Документарные операции=${documentaryOperations}/Конверсионные операции=${conversionOperations}/Доп инф=${text}`;
32
32
  handleSubmit &&
33
33
  (await handleSubmit({
34
34
  typeForm: 'kved',
@@ -36,7 +36,7 @@ exports.ApplicationFormWed = (0, uni_jsx_1.JSX)((props) => {
36
36
  name,
37
37
  phone,
38
38
  mail,
39
- PartnerComments,
39
+ partnerComments,
40
40
  }));
41
41
  };
42
42
  return ((0, jsx_runtime_1.jsxs)("form", { onSubmit: onSubmit, className: "container", children: [(0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h6", title: "\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", className: "text-center mb-4" }), renderDataOrganization({ fullName, name, phone, mail, handleChange }), (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h6", title: "\u0418\u043D\u0442\u0435\u0440\u0435\u0441\u0443\u044E\u0449\u0438\u0439 \u0432\u043E\u043F\u0440\u043E\u0441", className: "text-center mb-4" }), (0, renderQuestionsInterested_1.renderQuestionsInterested)({
@@ -8,7 +8,7 @@ const Img_1 = require("../../ui-kit/Img/Img");
8
8
  exports.BenefitsBlock = (0, uni_jsx_1.JSX)(({ className = '', title, benefitList, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `p-12 flex flex-col items-center ${className}`, ...rest, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", as: "h2", className: "max-w-[47rem] text-center", title: title })) : null, benefitList?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-wrap w-full justify-center gap-x-20 mt-8", children: benefitList.map(renderStep) })) : null] })));
9
9
  const renderStep = (benefit, i) => {
10
10
  const description = benefit.description;
11
- return ((0, jsx_runtime_1.jsxs)("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider text-primary-main group-data-secondary:bg-white/30 group-data-secondary:text-black", image: benefit.icon, asSVG: true })) : null, benefit?.icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: benefit.icon }) : null, (0, jsx_runtime_1.jsxs)("div", { className: "ml-5", children: [benefit?.label ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h6", children: benefit.label }) : null, renderDescription(description)] })] }, String(i)));
11
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider text-primary-main group-data-secondary:bg-white/30 group-data-secondary:text-black", image: benefit.icon, asSVG: true })) : null, benefit?.icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: benefit.icon }) : null, (0, jsx_runtime_1.jsxs)("div", { className: "ml-5 h-full", children: [benefit?.label ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h6", children: benefit.label }) : null, renderDescription(description)] })] }, String(i)));
12
12
  };
13
13
  const renderDescription = (description) => {
14
14
  const benefitType = description?.benefitType || null;
@@ -1 +1 @@
1
- {"version":3,"file":"BenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/BenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,0DAAuD;AACvD,8CAA2C;AAW9B,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACnD,wBAAC,2BAAY,IAAC,SAAS,EAAE,mCAAmC,SAAS,EAAE,KAAM,IAAI,aAC9E,KAAK,CAAC,CAA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tF,WAAW,KAAK,MAAM;YACrB,CAAC,CAAC,iBAAiB,CAAC,WAA6B,CAAC;YAClD,CAAC,CAAC,iBAAiB,CAAC,WAA6B,CAAC,GAChD,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,WAA4B,EAAE,EAAE,CAAC,WAAW,EAAE,IAAI,IAAI,IAAI,CAAC;AAEtF,MAAM,iBAAiB,GAAG,CAAC,WAA4B,EAAE,EAAE;IACzD,MAAM,aAAa,GAAG,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC;IAEnE,OAAO,WAAW,EAAE,KAAK,IAAI,WAAW,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAC1D,+BAAI,SAAS,EAAE,aAAa,YACzB,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAC/B,yCAAkC,CAAC,IAA1B,mBAAmB,CAAC,EAAE,CAAU,CAC1C,CAAC,GACC,CACN,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC"}
@@ -1,7 +1,6 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.Blocks = void 0;
3
3
  const Accordion_1 = require("./Accordion/Accordion");
4
- const AccordionItem_1 = require("./AccordionItem/AccordionItem");
5
4
  const ComparisonTable_1 = require("./ComparisonTable/ComparisonTable");
6
5
  const Footer_1 = require("./Footer/Footer");
7
6
  const Header_1 = require("./Header/Header");
@@ -11,12 +10,13 @@ const LinkList_1 = require("./LinkList/LinkList");
11
10
  const MobileAppTile_1 = require("./MobileAppTile/MobileAppTile");
12
11
  const Placeholder_1 = require("./Placeholder/Placeholder");
13
12
  const ProductBlock_1 = require("./ProductBlock/ProductBlock");
13
+ const RollupItem_1 = require("./RollupItem/RollupItem");
14
14
  const StepsBlock_1 = require("./StepsBlock/StepsBlock");
15
15
  const TariffsTable_1 = require("./TariffsTable/TariffsTable");
16
16
  const TextBlock_1 = require("./TextBlock/TextBlock");
17
+ const VerticalLayout_1 = require("./VerticalLayout/VerticalLayout");
17
18
  exports.Blocks = {
18
19
  Accordion: Accordion_1.Accordion,
19
- AccordionItem: AccordionItem_1.AccordionItem,
20
20
  ComparisonTable: ComparisonTable_1.ComparisonTable,
21
21
  Footer: Footer_1.Footer,
22
22
  Header: Header_1.Header,
@@ -25,9 +25,11 @@ exports.Blocks = {
25
25
  LinkList: LinkList_1.LinkList,
26
26
  MobileAppTile: MobileAppTile_1.MobileAppTile,
27
27
  ProductBlock: ProductBlock_1.ProductBlock,
28
+ RollupItem: RollupItem_1.RollupItem,
28
29
  StepsBlock: StepsBlock_1.StepsBlock,
29
30
  TariffsTable: TariffsTable_1.TariffsTable,
30
31
  TextBlock: TextBlock_1.TextBlock,
31
32
  Placeholder: Placeholder_1.Placeholder,
33
+ VerticalLayout: VerticalLayout_1.VerticalLayout,
32
34
  };
33
35
  //# sourceMappingURL=Blocks.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../../src/components/Blocks.ts"],"names":[],"mappings":";;AACA,qDAAkD;AAClD,iEAA8D;AAC9D,uEAAoE;AACpE,4CAAyC;AACzC,4CAAyC;AACzC,kDAA+C;AAC/C,kDAA+C;AAC/C,kDAA+C;AAC/C,iEAA8D;AAC9D,2DAAwD;AACxD,8DAA2D;AAC3D,wDAAqD;AACrD,8DAA2D;AAC3D,qDAAkD;AAErC,QAAA,MAAM,GAAmB;IACpC,SAAS,EAAT,qBAAS;IACT,aAAa,EAAb,6BAAa;IACb,eAAe,EAAf,iCAAe;IACf,MAAM,EAAN,eAAM;IACN,MAAM,EAAN,eAAM;IACN,QAAQ,EAAR,mBAAQ;IACR,QAAQ,EAAR,mBAAQ;IACR,QAAQ,EAAR,mBAAQ;IACR,aAAa,EAAb,6BAAa;IACb,YAAY,EAAZ,2BAAY;IACZ,UAAU,EAAV,uBAAU;IACV,YAAY,EAAZ,2BAAY;IACZ,SAAS,EAAT,qBAAS;IACT,WAAW,EAAX,yBAAW;CACZ,CAAC"}
1
+ {"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../../src/components/Blocks.ts"],"names":[],"mappings":";;AACA,qDAAkD;AAClD,uEAAoE;AACpE,4CAAyC;AACzC,4CAAyC;AACzC,kDAA+C;AAC/C,kDAA+C;AAC/C,kDAA+C;AAC/C,iEAA8D;AAC9D,2DAAwD;AACxD,8DAA2D;AAC3D,wDAAqD;AACrD,wDAAqD;AACrD,8DAA2D;AAC3D,qDAAkD;AAClD,oEAAiE;AAEpD,QAAA,MAAM,GAAmB;IACpC,SAAS,EAAT,qBAAS;IACT,eAAe,EAAf,iCAAe;IACf,MAAM,EAAN,eAAM;IACN,MAAM,EAAN,eAAM;IACN,QAAQ,EAAR,mBAAQ;IACR,QAAQ,EAAR,mBAAQ;IACR,QAAQ,EAAR,mBAAQ;IACR,aAAa,EAAb,6BAAa;IACb,YAAY,EAAZ,2BAAY;IACZ,UAAU,EAAV,uBAAU;IACV,UAAU,EAAV,uBAAU;IACV,YAAY,EAAZ,2BAAY;IACZ,SAAS,EAAT,qBAAS;IACT,WAAW,EAAX,yBAAW;IACX,cAAc,EAAd,+BAAc;CACf,CAAC"}
@@ -6,9 +6,10 @@ const AlignText_1 = require("../../model/AlignText");
6
6
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
7
7
  const Img_1 = require("../../ui-kit/Img/Img");
8
8
  const Headline_1 = require("../Headline/Headline");
9
+ const style_1 = require("../../utils/style");
9
10
  exports.BonusBenefitsBlock = (0, uni_jsx_1.JSX)(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans text-primary-text bg-white p-12 flex flex-col text-center ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0 mb-8", title: title, description: subtitle, headlineVersion: "M" }), bonusBenefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `grid gap-1 ${AlignText_1.AlignText[cardTextAlign]} ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] })));
10
11
  const renderBonusBenefit = ({ icon, title, description }, i) => {
11
- return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center text-h6", children: [title ? (0, jsx_runtime_1.jsx)("span", { children: title }) : null, icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, height: "180", width: "auto", className: "h-[180px] w-auto" }) : null, (0, jsx_runtime_1.jsx)("div", { children: description ? (0, jsx_runtime_1.jsx)("span", { children: description }) : null })] }, String(i)));
12
+ return ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('flex flex-col items-center text-h6', !description && !title ? 'justify-center' : ''), children: [title ? (0, jsx_runtime_1.jsx)("span", { children: title }) : null, icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, height: "180", width: "auto", className: "w-auto" }) : null, description ? (0, jsx_runtime_1.jsx)("span", { children: description }) : null] }, String(i)));
12
13
  };
13
14
  const getElementsColsValue = (colValue) => {
14
15
  switch (colValue) {
@@ -1 +1 @@
1
- {"version":3,"file":"BonusBenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAAkD;AAElD,4DAAyD;AACzD,8CAA2C;AAC3C,mDAAgD;AASnC,QAAA,kBAAkB,GAAG,IAAA,aAAG,EACnC,CAAC,EACC,aAAa,EACb,aAAa,GAAG,QAAQ,EACxB,SAAS,GAAG,EAAE,EACd,YAAY,GAAG,GAAG,EAClB,QAAQ,EACR,KAAK,EACL,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IACX,SAAS,EAAE,uEAAuE,SA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SAAS,EAAC,QAAQ,GAAG,CAAC,CAAC,CAAC,IAAI,EAC/E,WAAW,CAAC,CAAC,CAAC,2CAAO,WAAW,GAAQ,CAAC,CAAC,CAAC,IAAI,KAR3C,MAAM,CAAC,CAAC,CAAC,CASV,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,oBAAoB,GAAG,CAAC,QAAsB,EAAE,EAAE;IACtD,QAAQ,QAAQ,EAAE;QAChB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB;YACE,OAAO,aAAa,CAAC;KACxB;AACH,CAAC,CAAC"}
@@ -9,7 +9,7 @@ const Carousel_1 = require("../Carousel/Carousel");
9
9
  const Headline_1 = require("../Headline/Headline");
10
10
  const MAX_LINKS_COUNT = 10;
11
11
  exports.CarouselLinks = (0, uni_jsx_1.JSX)(({ className = '', additionalDescription, description, links, title, ...rest }) => {
12
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `flex w-full p-10 overflow-hidden justify-between ${className}`, ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col max-w-96 pr-9 text-white text-xl-light", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "p-0", title: title, description: description, as: "h1", align: "text-left" }), additionalDescription ? ((0, jsx_runtime_1.jsx)("div", { className: "pt-6", children: (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { children: additionalDescription }) })) : null] }), links?.length ? renderLinks(links) : null] }));
12
+ return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `flex w-full p-10 overflow-hidden justify-between ${className}`, ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col max-w-96 pr-9 text-white text-xl-light", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { isPadding: false, title: title, description: description, as: "h1", align: "text-left" }), additionalDescription ? ((0, jsx_runtime_1.jsx)("div", { className: "pt-6", children: (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { children: additionalDescription }) })) : null] }), links?.length ? renderLinks(links) : null] }));
13
13
  });
14
14
  const renderLinks = (links) => {
15
15
  const itemCount = Math.ceil(links.length / MAX_LINKS_COUNT);
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselLinks.js","sourceRoot":"","sources":["../../../src/components/CarouselLinks/CarouselLinks.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,4DAAyD;AACzD,mEAAgE;AAChE,gEAA6D;AAC7D,mDAAgD;AAChD,mDAAgD;AAKhD,MAAM,eAAe,GAAG,EAAE,CAAC;AAEd,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,qBAAqB,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAChF,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,oDAAoD,SAAS,EAAE,KACtE,IAAI,aAER,iCAAK,SAAS,EAAC,sDAAsD,aACnE,uBAAC,mBAAQ,IACP,SAAS,EAAC,KAAK,EACf,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,EAAE,EAAC,IAAI,EACP,KAAK,EAAC,WAAW,GACjB,EACD,qBAAqB,CAAC,CAAC,CAAC,CACvB,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,qBAAS,cAAE,qBAAqB,GAAa,GAC1C,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,IAC7B,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,KAAkB,EAAE,EAAE;IACzC,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,C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sx_1 = require("@redneckz/uni-jsx");
5
5
  const ProjectSettings_1 = require("../../ProjectSettings");
6
6
  const useSWRResource_1 = require("../../services/sitemap/useSWRResource");
7
+ const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
7
8
  const Button_1 = require("../../ui-kit/Button/Button");
8
9
  const Img_1 = require("../../ui-kit/Img/Img");
9
10
  const SearchBar_1 = require("../../ui-kit/SearchBar/SearchBar");
10
11
  const getIconWithVersion_1 = require("../../utils/getIconWithVersion");
11
- const AccordionItemsList_1 = require("../Accordion/AccordionItemsList");
12
- const AccordionItem_1 = require("../AccordionItem/AccordionItem");
13
12
  const LinkList_1 = require("../LinkList/LinkList");
14
13
  const MobileAppTile_1 = require("../MobileAppTile/MobileAppTile");
14
+ const RollupItem_1 = require("../RollupItem/RollupItem");
15
15
  const Contacts_1 = require("./Contacts");
16
16
  const HorizontalNavigation_1 = require("./HorizontalNavigation");
17
17
  const SocialMedia_1 = require("./SocialMedia");
@@ -20,7 +20,7 @@ exports.Footer = (0, uni_jsx_1.JSX)(({ className = '', ...rest }) => {
20
20
  const fallback = rest.options?.page?.fallback;
21
21
  const sitemap = (0, useSWRResource_1.useSWRResource)(ProjectSettings_1.projectSettings.SITEMAP || 'sitemap', fallback);
22
22
  const { documents, relatedEnterprises, contacts, socialMedia, horizontalNavigationTitle } = (0, useSWRResource_1.useSWRResource)(ProjectSettings_1.projectSettings.FOOTER || 'footer', fallback);
23
- return ((0, jsx_runtime_1.jsxs)("footer", { className: `font-sans px-4 py-[26px] bg-white ${className}`, children: [(0, jsx_runtime_1.jsx)(Contacts_1.Contacts, { className: "overflow-hidden", items: contacts, hasButton: true }), (0, jsx_runtime_1.jsx)(AccordionItemsList_1.AccordionItemsList, { children: sitemap.topItems?.map((item, i) => ((0, jsx_runtime_1.jsx)(AccordionItem_1.AccordionItem, { label: item.text, children: (0, jsx_runtime_1.jsx)(LinkList_1.LinkList, { documents: item.items }) }, String(i)))) }), (0, jsx_runtime_1.jsx)("div", { children: sitemap?.dispositions?.map(renderSubMenuItem) }), (0, jsx_runtime_1.jsx)(MobileAppTile_1.MobileAppTile, { title: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435", description: "\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0434\u043B\u044F IOS \u0438 Android", ...rest }), (0, jsx_runtime_1.jsx)(SearchBar_1.SearchBar, { className: "grow" }), (0, jsx_runtime_1.jsx)(SocialMedia_1.SocialMedia, { className: "pb-4", media: socialMedia }), (0, jsx_runtime_1.jsx)(HorizontalNavigation_1.HorizontalNavigation, { title: horizontalNavigationTitle, links: relatedEnterprises }), (0, jsx_runtime_1.jsx)(TextInformation_1.TextInformation, { links: documents })] }));
23
+ return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { tag: "footer", className: `px-4 py-[26px] ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Contacts_1.Contacts, { className: "overflow-hidden", items: contacts, hasButton: true }), (0, jsx_runtime_1.jsx)("div", { className: "m-0 p-0", children: sitemap.topItems?.map((item, i) => ((0, jsx_runtime_1.jsx)(RollupItem_1.RollupItem, { label: item?.text, children: (0, jsx_runtime_1.jsx)(LinkList_1.LinkList, { documents: item.items }) }, String(i)))) }), (0, jsx_runtime_1.jsx)("div", { children: sitemap?.dispositions?.map(renderSubMenuItem) }), (0, jsx_runtime_1.jsx)(MobileAppTile_1.MobileAppTile, { title: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435", description: "\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0434\u043B\u044F IOS \u0438 Android", ...rest }), (0, jsx_runtime_1.jsx)(SearchBar_1.SearchBar, { className: "grow" }), (0, jsx_runtime_1.jsx)(SocialMedia_1.SocialMedia, { className: "pb-4", media: socialMedia }), (0, jsx_runtime_1.jsx)(HorizontalNavigation_1.HorizontalNavigation, { title: horizontalNavigationTitle, links: relatedEnterprises }), (0, jsx_runtime_1.jsx)(TextInformation_1.TextInformation, { links: documents })] }));
24
24
  });
25
25
  const renderSubMenuItem = (menu, i) => {
26
26
  const { icon, href, text } = menu;
@@ -1 +1 @@
1
- {"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../../src/components/Footer/Footer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,2DAAwD;AAGxD,0EAAuE;AACvE,uDAAoD;AACpD,8CAA2C;AAC3C,gEAA6D;AAC7D,uEAAoE;AACpE,wEAAqE;AACrE,kEAA+D;AAC/D,mDAAgD;AAChD,kEAA+D;AAC/D,yCAAsC;AAGtC,iEAA8D;AAC9D,+CAA4C;AAC5C,uDAAoD;AAIvC,QAAA,MAAM,GAAG,IAAA,aAAG,EAAc,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACrE,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,QAAQ,CAAC;IAE9C,MAAM,OAAO,GAAG,IAAA,+BAAc,EAAmB,iCAAe,CAAC,OAAO,IAAI,SAAS,EAAE,QAAQ,CAAC,CAAC;IACjG,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,QAAQ,EAAE,WAAW,EAAE,yBAAyB,EAAE,GACvF,IAAA,+BAAc,EAAkB,iCAAe,CAAC,MAAM,IAAI,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAEhF,OAAO,CACL,oCAAQ,SAAS,EAAE,qCAAqC,SAAS,EAAE,aACjE,uBAAC,mBAAQ,IAAC,SAAS,EAAC,iBAAiB,EAAC,KAAK,EAAE,QAAQ,EAAE,SAAS,SAAG,EACnE,uBAAC,uCAAkB,cAChB,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAClC,uBAAC,6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AAO,EAAE,YAAY,EAAE,GAAG,CAAC,iBAAiB,CAAC,GAAO,EAC1D,uBAAC,6BAAa,IACZ,KAAK,EAAC,qHAAsB,EAC5B,WAAW,EAAC,8FAA6B,KACrC,IAAI,GACR,EACF,uBAAC,qBAAS,IAAC,SAAS,EAAC,MAAM,GAAG,EAC9B,uBAAC,yBAAW,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,WAAW,GAAI,EACpD,uBAAC,2CAAoB,IAAC,KAAK,EAAE,yBAAyB,EAAE,KAAK,EAAE,kBAAkB,GAAI,EACrF,uBAAC,iCAAe,IAAC,KAAK,EAAE,SAAS,GAAI,IACxB,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,iBAAiB,GAAG,CAAC,IAAiB,EAAE,CAAS,EAAE,EAAE;IACzD,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAElC,OAAO,CACL,wBAAC,eAAM,IAAC,OAAO,EAAC,MAAM,EAAqB,IAAI,EAAE,IAAI,EAAE,SAAS,EAAC,sBAAsB,aACpF,IAAI,CAAC,CAAC,CAAC,CACN,uBAAC,SAAG,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,IAAA,uCAAkB,EAAC,IAAI,CAAC,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CACvF,CAAC,CAAC,CAAC,IAAI,EACR,iCAAM,SAAS,EAAC,sCAAsC,YAAE,IAAI,GAAQ,KAJ1C,UAAU,CAAC,EAAE,CAKhC,CACV,CAAC;AACJ,CAAC,CAAC"}
@@ -10,9 +10,8 @@ const isTopItemActive_1 = require("../../services/sitemap/isTopItemActive");
10
10
  const useSWRResource_1 = require("../../services/sitemap/useSWRResource");
11
11
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
12
12
  const HeaderItem_1 = require("../../ui-kit/HeaderItem/HeaderItem");
13
- const AccordionItemsList_1 = require("../Accordion/AccordionItemsList");
14
- const AccordionItem_1 = require("../AccordionItem/AccordionItem");
15
13
  const LinkList_1 = require("../LinkList/LinkList");
14
+ const RollupItem_1 = require("../RollupItem/RollupItem");
16
15
  const HeaderBurger_1 = require("./HeaderBurger");
17
16
  const HeaderTop_1 = require("./HeaderTop");
18
17
  const BG_COLOR_TO_BLOCK_VERSION = {
@@ -28,6 +27,6 @@ exports.Header = (0, uni_jsx_1.JSX)(({ bgColor = 'bg-white', version = BG_COLOR_
28
27
  const activeSubItem = (0, findActiveSubItem_1.findActiveSubItem)(router)(subItems);
29
28
  const [burgerMenuShow, setBurgerMenuShow] = (0, hooks_1.useState)(false);
30
29
  const handleBurgerMenuShow = (0, hooks_1.useCallback)(() => setBurgerMenuShow((_) => !_), []);
31
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { tag: "header", version: version, ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: "container px-4 py-0 box-border", children: [(0, jsx_runtime_1.jsx)(HeaderTop_1.HeaderTop, { onClick: handleBurgerMenuShow, bgColor: bgColor, logo: logo }), (0, jsx_runtime_1.jsx)("nav", { className: "flex items-center m-0 p-0 overflow-y-hidden w-full h-12", children: (0, jsx_runtime_1.jsx)("div", { className: "flex no-scrollbar horizontal-list h-full items-center", children: subItems?.map((_, i) => ((0, jsx_runtime_1.jsx)(HeaderItem_1.HeaderItem, { className: "mr-8 whitespace-nowrap text-s", active: _ === activeSubItem, ..._ }, String(i)))) }) })] }), burgerMenuShow ? ((0, jsx_runtime_1.jsx)(HeaderBurger_1.HeaderBurger, { onClick: handleBurgerMenuShow, burgerSubMenu: dispositions, defaultLocation: defaultLocation, children: (0, jsx_runtime_1.jsx)(AccordionItemsList_1.AccordionItemsList, { children: topItems?.map((item, i) => ((0, jsx_runtime_1.jsx)(AccordionItem_1.AccordionItem, { label: item.text, children: (0, jsx_runtime_1.jsx)(LinkList_1.LinkList, { documents: item.items }) }, String(i)))) }) })) : null] }));
30
+ return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { tag: "header", version: version, ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: "container px-4 py-0 box-border", children: [(0, jsx_runtime_1.jsx)(HeaderTop_1.HeaderTop, { onClick: handleBurgerMenuShow, bgColor: bgColor, logo: logo }), (0, jsx_runtime_1.jsx)("nav", { className: "flex items-center m-0 p-0 overflow-y-hidden w-full h-12", children: (0, jsx_runtime_1.jsx)("div", { className: "flex no-scrollbar horizontal-list h-full items-center", children: subItems?.map((_, i) => ((0, jsx_runtime_1.jsx)(HeaderItem_1.HeaderItem, { className: "mr-8 whitespace-nowrap text-s", active: _ === activeSubItem, ..._ }, String(i)))) }) })] }), burgerMenuShow ? ((0, jsx_runtime_1.jsx)(HeaderBurger_1.HeaderBurger, { onClick: handleBurgerMenuShow, burgerSubMenu: dispositions, defaultLocation: defaultLocation, children: (0, jsx_runtime_1.jsx)("div", { className: "list-none m-0 p-0", children: topItems?.map((item, i) => ((0, jsx_runtime_1.jsx)(RollupItem_1.RollupItem, { label: item.text, children: (0, jsx_runtime_1.jsx)(LinkList_1.LinkList, { documents: item.items }) }, String(i)))) }) })) : null] }));
32
31
  });
33
32
  //# sourceMappingURL=Header.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../src/components/Header/Header.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,qDAAkD;AAKlD,2DAAwD;AACxD,gFAA6E;AAC7E,4EAAyE;AAEzE,0EAAuE;AACvE,4DAAyD;AACzD,mEAAgE;AAChE,wEAAqE;AACrE,kEAA+D;AAC/D,mDAAgD;AAChD,iDAA8C;AAE9C,2CAAwC;AAIxC,MAAM,yBAAyB,GAAyC;IACtE,UAAU,EAAE,SAAS;IACrB,WAAW,EAAE,aAAa;CAC3B,CAAC;AAEW,QAAA,MAAM,GAAG,IAAA,aAAG,EACvB,CAAC,EAAE,OAAO,GAAG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