@redneckz/wildless-cms-uni-blocks 0.11.2 → 0.12.3
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.
- package/bin/migration-scripts/0.11.1.js +34 -0
- package/bin/migration-scripts/0.12.3.js +22 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +231 -282
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/bundle/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/bundle/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/bundle/components/CarouselCard/titleSize.d.ts +1 -0
- package/bundle/components/CarouselCard/titleSize.mobile.d.ts +1 -0
- package/bundle/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
- package/bundle/components/Footer/Contacts.d.ts +2 -2
- package/bundle/components/Footer/FooterContent.d.ts +9 -1
- package/bundle/components/Footer/FooterDataProps.d.ts +2 -2
- package/bundle/components/Headline/HeadlineContent.d.ts +0 -2
- package/bundle/components/MobileAppTile/renderDescription.d.ts +2 -0
- package/bundle/components/MobileAppTile/renderList.d.ts +2 -0
- package/bundle/components/PictureText/PictureTextContent.d.ts +2 -6
- package/bundle/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -22
- package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/bundle/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/bundle/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/bundle/components/RollupItem/renderRoundedIcon.d.ts +3 -0
- package/bundle/components/RollupItem/renderRoundedIcon.mobile.d.ts +4 -0
- package/bundle/components/Tile/TileContent.d.ts +2 -13
- package/bundle/model/Align.d.ts +5 -0
- package/bundle/model/AlignText.d.ts +3 -0
- package/bundle/model/AlignType.d.ts +2 -0
- package/bundle/model/HeadlineType.d.ts +8 -1
- package/bundle/model/JSXBlock.d.ts +12 -5
- package/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
- package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
- package/bundle/{components → ui-kit}/BaseTile/BaseTile.d.ts +2 -0
- package/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
- package/bundle/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
- package/bundle/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
- package/bundle/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/bundle/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
- package/bundle/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
- package/bundle/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
- package/bundle/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
- package/bundle/ui-kit/Icon/IconProps.d.ts +8 -3
- package/bundle/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/bundle/ui-kit/Img/Img.d.ts +2 -1
- package/bundle/ui-kit/Img/ImgProps.d.ts +0 -1
- package/bundle/ui-kit/List/ListContent.d.ts +6 -0
- package/bundle/ui-kit/List/ListItem.d.ts +1 -1
- package/bundle/ui-kit/List/ListProps.d.ts +0 -6
- package/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
- package/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
- package/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
- package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/bundle/ui-kit/Tags/Tags.d.ts +2 -2
- package/bundle/utils/avg.d.ts +1 -0
- package/bundle/utils/deviation.d.ts +1 -0
- package/dist/components/ApplicationForm/ApplicationForm.js +1 -2
- package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/dist/components/ApplicationForm/ResponseNotification.js +1 -1
- package/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js +3 -2
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/Blocks.js +2 -2
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.js +6 -0
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/Bonus/Bonus.js +2 -2
- package/dist/components/Bonus/Bonus.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/dist/components/BusinessBlock/BusinessBlock.js +1 -1
- package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/dist/components/BusinessBlock/BusinessCard.js +1 -1
- package/dist/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/dist/components/ButtonsBlock/ButtonsBlock.js +9 -0
- package/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
- package/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/dist/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
- package/dist/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
- package/dist/components/Calculator/Calculator.js +1 -1
- package/dist/components/Calculator/Calculator.js.map +1 -1
- package/dist/components/CardTransfer/CardTransfer.js +1 -1
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/Carousel/Carousel.js +1 -1
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/dist/components/CarouselCard/CarouselCard.js +9 -7
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/dist/components/CarouselCard/getCardWidth.js +18 -0
- package/dist/components/CarouselCard/getCardWidth.js.map +1 -0
- package/dist/components/CarouselCard/titleSize.d.ts +1 -0
- package/dist/components/CarouselCard/titleSize.js +4 -0
- package/dist/components/CarouselCard/titleSize.js.map +1 -0
- package/dist/components/CarouselCard/titleSize.mobile.d.ts +1 -0
- package/dist/components/CarouselCard/titleSize.mobile.js +4 -0
- package/dist/components/CarouselCard/titleSize.mobile.js.map +1 -0
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/dist/components/CarouselEventCard/CarouselEventCard.js +1 -1
- package/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -2
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/dist/components/CarouselLinks/CarouselLinks.js +3 -4
- package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.js +6 -6
- package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
- package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
- package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js +2 -1
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/dist/components/ContactsBlock/ContactsBlock.js +3 -2
- package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/dist/components/DepositFiltration/DepositFiltration.js +1 -1
- package/dist/components/DepositFiltration/DepositFiltration.js.map +1 -1
- package/dist/components/ErrorBlock/ErrorBlock.js +1 -1
- package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +2 -2
- package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js +3 -2
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/dist/components/Footer/Contacts.d.ts +2 -2
- package/dist/components/Footer/Contacts.js +4 -5
- package/dist/components/Footer/Contacts.js.map +1 -1
- package/dist/components/Footer/Footer.js +1 -1
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +2 -3
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/FooterContent.d.ts +9 -1
- package/dist/components/Footer/FooterDataProps.d.ts +2 -2
- package/dist/components/GracePeriod/GracePeriod.js +1 -1
- package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/dist/components/Header/Header.js +1 -1
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/Header.mobile.js +1 -1
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Headline/Headline.js +2 -3
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/Headline/HeadlineContent.d.ts +0 -2
- package/dist/components/Headline/headlineVersionStyles.js +9 -9
- package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
- package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/dist/components/ImgBlock/ImgBlock.js +1 -1
- package/dist/components/ImgBlock/ImgBlock.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.js +3 -3
- package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.js +1 -1
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -2
- package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +6 -12
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/renderButtonSection.d.ts +0 -0
- package/dist/components/MobileAppTile/renderButtonSection.js +1 -0
- package/dist/components/MobileAppTile/renderButtonSection.js.map +1 -0
- package/dist/components/MobileAppTile/renderDescription.d.ts +2 -0
- package/dist/components/MobileAppTile/renderDescription.js +7 -0
- package/dist/components/MobileAppTile/renderDescription.js.map +1 -0
- package/dist/components/MobileAppTile/renderList.d.ts +2 -0
- package/dist/components/MobileAppTile/renderList.js +9 -0
- package/dist/components/MobileAppTile/renderList.js.map +1 -0
- package/dist/components/MortgageFiltration/MortgageFiltration.js +1 -1
- package/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/dist/components/ParagraphBlock/ParagraphBlock.js +1 -1
- package/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
- package/dist/components/PictureText/PictureText.js +3 -14
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/PictureText/PictureTextContent.d.ts +2 -6
- package/dist/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/dist/components/PictureText/renderInsuranceSumMonth.js +9 -0
- package/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
- package/dist/components/Placeholder/Placeholder.js +1 -6
- package/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +3 -3
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -22
- package/dist/components/ProductGallery/ProductGallery.js +2 -2
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.mobile.js +5 -6
- package/dist/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
- package/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/dist/components/ProductTile/ProductTile.js +1 -2
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/PromoTile/PromoTile.js +2 -5
- package/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/dist/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/dist/components/RichTextBlock/RichTextBlock.js +1 -1
- package/dist/components/RichTextBlock/RichTextBlock.js.map +1 -1
- package/dist/components/RollupItem/RollupItem.js +14 -9
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/dist/components/RollupItem/renderRoundedIcon.d.ts +3 -0
- package/dist/components/RollupItem/renderRoundedIcon.js +6 -0
- package/dist/components/RollupItem/renderRoundedIcon.js.map +1 -0
- package/dist/components/RollupItem/renderRoundedIcon.mobile.d.ts +4 -0
- package/dist/components/RollupItem/renderRoundedIcon.mobile.js +7 -0
- package/dist/components/RollupItem/renderRoundedIcon.mobile.js.map +1 -0
- package/dist/components/SafeDepositRental/SafeDepositRental.js +2 -2
- package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.js +1 -1
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +1 -3
- package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/dist/components/Tabs/Tabs.js +1 -1
- package/dist/components/Tabs/Tabs.js.map +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +3 -6
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
- package/dist/components/TariffsTable/TableTileHeader.js +2 -2
- package/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +2 -1
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.mobile.js +3 -3
- package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableHorizontal.js +1 -1
- package/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableTileCell.js +2 -2
- package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/dist/components/TextBlock/TextBlock.js +1 -3
- package/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/dist/components/Tile/Tile.js +2 -14
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/components/Tile/TileContent.d.ts +2 -13
- package/dist/components/VerticalLayout/VerticalLayout.js +1 -1
- package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/dist/components/Video/Video.js +1 -2
- package/dist/components/Video/Video.js.map +1 -1
- package/dist/content-page-repository/transformDocumentLink.js +1 -1
- package/dist/content-page-repository/transformDocumentLink.js.map +1 -1
- package/dist/content-page-repository/transformImg.js +1 -1
- package/dist/content-page-repository/transformImg.js.map +1 -1
- package/dist/model/Align.d.ts +5 -0
- package/dist/{ui-kit/BenefitItem/BenefitItemProps.js → model/Align.js} +1 -1
- package/dist/model/Align.js.map +1 -0
- package/dist/model/AlignText.d.ts +3 -0
- package/dist/model/AlignText.js +3 -0
- package/dist/model/AlignText.js.map +1 -1
- package/dist/model/AlignType.d.ts +2 -0
- package/dist/model/HeadlineType.d.ts +8 -1
- package/dist/model/JSXBlock.d.ts +12 -5
- package/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js +18 -0
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -0
- package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
- package/dist/ui-kit/{SwipeListControl/SwipeListControlProps.js → BaseProductTile/BaseProductTileContent.js} +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTileContent.js.map +1 -0
- package/{lib/components → dist/ui-kit}/BaseTile/BaseTile.d.ts +2 -0
- package/dist/ui-kit/BaseTile/BaseTile.js +13 -0
- package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -0
- package/dist/ui-kit/BaseTile/getTileRightPadding.js.map +1 -0
- package/dist/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
- package/dist/ui-kit/BenefitItem/BenefitItem.js +7 -10
- package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/dist/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
- package/dist/{components/ButtonBlock/ButtonBlockContent.js → ui-kit/BenefitItem/BenefitItemContent.js} +1 -1
- package/dist/ui-kit/BenefitItem/BenefitItemContent.js.map +1 -0
- package/dist/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
- package/dist/ui-kit/BenefitItem/borderRadius.mobile.js +4 -0
- package/dist/ui-kit/BenefitItem/borderRadius.mobile.js.map +1 -0
- package/dist/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/dist/ui-kit/BenefitItem/labelSize.js +4 -0
- package/dist/ui-kit/BenefitItem/labelSize.js.map +1 -0
- package/dist/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
- package/dist/ui-kit/BenefitItem/labelSize.mobile.js +4 -0
- package/dist/ui-kit/BenefitItem/labelSize.mobile.js.map +1 -0
- package/dist/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
- package/dist/ui-kit/BenefitsList/BenefitsList.js +14 -0
- package/dist/ui-kit/BenefitsList/BenefitsList.js.map +1 -0
- package/dist/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
- package/dist/ui-kit/BenefitsList/BenefitsListContent.js +2 -0
- package/dist/ui-kit/BenefitsList/BenefitsListContent.js.map +1 -0
- package/dist/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
- package/dist/ui-kit/BenefitsList/renderBenefit.js +13 -0
- package/dist/ui-kit/BenefitsList/renderBenefit.js.map +1 -0
- package/dist/ui-kit/BlockWrapper.js +3 -3
- package/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/dist/ui-kit/Button/ButtonInner.js +1 -1
- package/dist/ui-kit/Button/renderButtonsSection.js +2 -2
- package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/dist/ui-kit/Heading/Heading.js +2 -1
- package/dist/ui-kit/Heading/Heading.js.map +1 -1
- package/dist/ui-kit/Icon/IconProps.d.ts +8 -3
- package/dist/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/dist/ui-kit/Icon/RoundedIcon.js +6 -2
- package/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/dist/ui-kit/Img/Img.d.ts +2 -1
- package/dist/ui-kit/Img/Img.js +10 -2
- package/dist/ui-kit/Img/Img.js.map +1 -1
- package/dist/ui-kit/Img/ImgAsPicture.js +6 -12
- package/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/dist/ui-kit/Img/ImgProps.d.ts +0 -1
- package/dist/ui-kit/List/List.js.map +1 -1
- package/dist/ui-kit/List/ListContent.d.ts +6 -0
- package/dist/ui-kit/List/ListItem.d.ts +1 -1
- package/dist/ui-kit/List/ListProps.d.ts +0 -6
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/dist/ui-kit/Tags/Tags.d.ts +2 -2
- package/dist/ui-kit/Tags/Tags.js +4 -5
- package/dist/ui-kit/Tags/Tags.js.map +1 -1
- package/dist/utils/avg.d.ts +1 -0
- package/dist/utils/avg.js +6 -0
- package/dist/utils/avg.js.map +1 -0
- package/dist/utils/deviation.d.ts +1 -0
- package/dist/utils/deviation.js +6 -0
- package/dist/utils/deviation.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationForm.js +1 -2
- package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/lib/components/ApplicationForm/ResponseNotification.js +1 -1
- package/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js +3 -2
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/Blocks.js +2 -2
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.js +6 -0
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/Bonus/Bonus.js +2 -2
- package/lib/components/Bonus/Bonus.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/lib/components/BusinessBlock/BusinessBlock.js +1 -1
- package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/lib/components/BusinessBlock/BusinessCard.js +1 -1
- package/lib/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/lib/components/ButtonsBlock/ButtonsBlock.fixture.mobile.d.ts +6 -0
- package/lib/components/{ButtonBlock/ButtonBlock.js → ButtonsBlock/ButtonsBlock.js} +2 -2
- package/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
- package/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/lib/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
- package/lib/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
- package/lib/components/Calculator/Calculator.js +1 -1
- package/lib/components/Calculator/Calculator.js.map +1 -1
- package/lib/components/CardTransfer/CardTransfer.fixture.mobile.d.ts +6 -0
- package/lib/components/CardTransfer/CardTransfer.js +1 -1
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/Carousel/Carousel.js +1 -1
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/lib/components/CarouselCard/CarouselCard.fixture.mobile.d.ts +8 -0
- package/lib/components/CarouselCard/CarouselCard.js +9 -7
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/lib/components/CarouselCard/getCardWidth.js +15 -0
- package/lib/components/CarouselCard/getCardWidth.js.map +1 -0
- package/lib/components/CarouselCard/titleSize.d.ts +1 -0
- package/lib/components/CarouselCard/titleSize.js +2 -0
- package/lib/components/CarouselCard/titleSize.js.map +1 -0
- package/lib/components/CarouselCard/titleSize.mobile.d.ts +1 -0
- package/lib/components/CarouselCard/titleSize.mobile.js +2 -0
- package/lib/components/CarouselCard/titleSize.mobile.js.map +1 -0
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/lib/components/CarouselEventCard/CarouselEventCard.js +1 -1
- package/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -2
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.js +3 -4
- package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.js +6 -6
- package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js +2 -1
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.js +3 -2
- package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/lib/components/DepositFiltration/DepositFiltration.js +1 -1
- package/lib/components/DepositFiltration/DepositFiltration.js.map +1 -1
- package/lib/components/ErrorBlock/ErrorBlock.js +1 -1
- package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +2 -2
- package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js +3 -2
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/lib/components/Footer/Contacts.d.ts +2 -2
- package/lib/components/Footer/Contacts.js +4 -5
- package/lib/components/Footer/Contacts.js.map +1 -1
- package/lib/components/Footer/Footer.js +1 -1
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +2 -3
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/FooterContent.d.ts +9 -1
- package/lib/components/Footer/FooterDataProps.d.ts +2 -2
- package/lib/components/GracePeriod/GracePeriod.js +1 -1
- package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/lib/components/Header/Header.js +1 -1
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mobile.js +1 -1
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Headline/Headline.js +2 -3
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/Headline/HeadlineContent.d.ts +0 -2
- package/lib/components/Headline/headlineVersionStyles.js +9 -9
- package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
- package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/lib/components/ImgBlock/ImgBlock.js +1 -1
- package/lib/components/ImgBlock/ImgBlock.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.js +3 -3
- package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.js +1 -1
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -2
- package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.fixture.mobile.d.ts +1 -0
- package/lib/components/MobileAppTile/MobileAppTile.js +6 -12
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/renderButtonSection.d.ts +0 -0
- package/lib/components/MobileAppTile/renderButtonSection.js +1 -0
- package/lib/components/MobileAppTile/renderButtonSection.js.map +1 -0
- package/lib/components/MobileAppTile/renderDescription.d.ts +1 -0
- package/lib/components/MobileAppTile/renderDescription.js +4 -0
- package/lib/components/MobileAppTile/renderDescription.js.map +1 -0
- package/lib/components/MobileAppTile/renderList.d.ts +1 -0
- package/lib/components/MobileAppTile/renderList.js +6 -0
- package/lib/components/MobileAppTile/renderList.js.map +1 -0
- package/lib/components/MortgageFiltration/MortgageFiltration.js +1 -1
- package/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/lib/components/ParagraphBlock/ParagraphBlock.js +1 -1
- package/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
- package/lib/components/PictureText/PictureText.fixture.mobile.d.ts +14 -0
- package/lib/components/PictureText/PictureText.js +4 -15
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/PictureText/PictureTextContent.d.ts +2 -6
- package/lib/components/PictureText/renderInsuranceSumMonth.d.ts +1 -0
- package/lib/components/PictureText/renderInsuranceSumMonth.js +6 -0
- package/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
- package/lib/components/Placeholder/Placeholder.js +1 -6
- package/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.js +3 -3
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -22
- package/lib/components/ProductGallery/ProductGallery.js +2 -2
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.mobile.js +5 -6
- package/lib/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
- package/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/lib/components/ProductTile/ProductTile.js +1 -2
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/PromoTile/PromoTile.js +2 -5
- package/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/lib/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/lib/components/RichTextBlock/RichTextBlock.js +1 -1
- package/lib/components/RichTextBlock/RichTextBlock.js.map +1 -1
- package/lib/components/RollupItem/RollupItem.fixture.mobile.d.ts +1 -0
- package/lib/components/RollupItem/RollupItem.js +14 -9
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/lib/components/RollupItem/renderRoundedIcon.d.ts +3 -0
- package/lib/components/RollupItem/renderRoundedIcon.js +3 -0
- package/lib/components/RollupItem/renderRoundedIcon.js.map +1 -0
- package/lib/components/RollupItem/renderRoundedIcon.mobile.d.ts +3 -0
- package/lib/components/RollupItem/renderRoundedIcon.mobile.js +4 -0
- package/lib/components/RollupItem/renderRoundedIcon.mobile.js.map +1 -0
- package/lib/components/SafeDepositRental/SafeDepositRental.js +2 -2
- package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.js +1 -1
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +1 -3
- package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/lib/components/Tabs/Tabs.js +1 -1
- package/lib/components/Tabs/Tabs.js.map +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +3 -6
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
- package/lib/components/TariffsTable/TableTileHeader.js +2 -2
- package/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.js +2 -1
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.mobile.js +3 -3
- package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableHorizontal.js +1 -1
- package/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableTileCell.js +2 -2
- package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.js +1 -3
- package/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/lib/components/Tile/Tile.js +3 -15
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/components/Tile/TileContent.d.ts +2 -13
- package/lib/components/VerticalLayout/VerticalLayout.js +1 -1
- package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/lib/components/Video/Video.js +1 -2
- package/lib/components/Video/Video.js.map +1 -1
- package/lib/content-page-repository/transformDocumentLink.js +1 -1
- package/lib/content-page-repository/transformDocumentLink.js.map +1 -1
- package/lib/content-page-repository/transformImg.js +1 -1
- package/lib/content-page-repository/transformImg.js.map +1 -1
- package/lib/model/Align.d.ts +5 -0
- package/lib/model/Align.js +2 -0
- package/lib/model/Align.js.map +1 -0
- package/lib/model/AlignText.d.ts +3 -0
- package/lib/model/AlignText.js +3 -0
- package/lib/model/AlignText.js.map +1 -1
- package/lib/model/AlignType.d.ts +2 -0
- package/lib/model/HeadlineType.d.ts +8 -1
- package/lib/model/JSXBlock.d.ts +12 -5
- package/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js +16 -0
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -0
- package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
- package/lib/ui-kit/BaseProductTile/BaseProductTileContent.js +2 -0
- package/lib/ui-kit/BaseProductTile/BaseProductTileContent.js.map +1 -0
- package/{mobile/bundle/components → lib/ui-kit}/BaseTile/BaseTile.d.ts +2 -0
- package/lib/ui-kit/BaseTile/BaseTile.js +11 -0
- package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -0
- package/lib/ui-kit/BaseTile/getTileRightPadding.js.map +1 -0
- package/lib/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
- package/lib/ui-kit/BenefitItem/BenefitItem.js +7 -10
- package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/lib/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
- package/lib/ui-kit/BenefitItem/BenefitItemContent.js +2 -0
- package/lib/ui-kit/BenefitItem/BenefitItemContent.js.map +1 -0
- package/lib/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
- package/lib/ui-kit/BenefitItem/borderRadius.mobile.js +2 -0
- package/lib/ui-kit/BenefitItem/borderRadius.mobile.js.map +1 -0
- package/lib/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/lib/ui-kit/BenefitItem/labelSize.js +2 -0
- package/lib/ui-kit/BenefitItem/labelSize.js.map +1 -0
- package/lib/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
- package/lib/ui-kit/BenefitItem/labelSize.mobile.js +2 -0
- package/lib/ui-kit/BenefitItem/labelSize.mobile.js.map +1 -0
- package/lib/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
- package/lib/ui-kit/BenefitsList/BenefitsList.js +12 -0
- package/lib/ui-kit/BenefitsList/BenefitsList.js.map +1 -0
- package/lib/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
- package/lib/ui-kit/BenefitsList/BenefitsListContent.js +2 -0
- package/lib/ui-kit/BenefitsList/BenefitsListContent.js.map +1 -0
- package/lib/ui-kit/BenefitsList/renderBenefit.d.ts +3 -0
- package/lib/ui-kit/BenefitsList/renderBenefit.js +10 -0
- package/lib/ui-kit/BenefitsList/renderBenefit.js.map +1 -0
- package/lib/ui-kit/BlockWrapper.js +3 -3
- package/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/lib/ui-kit/Button/ButtonInner.js +1 -1
- package/lib/ui-kit/Button/renderButtonsSection.js +2 -2
- package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/lib/ui-kit/Heading/Heading.js +2 -1
- package/lib/ui-kit/Heading/Heading.js.map +1 -1
- package/lib/ui-kit/Icon/IconProps.d.ts +8 -3
- package/lib/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/lib/ui-kit/Icon/RoundedIcon.js +6 -2
- package/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/lib/ui-kit/Img/Img.d.ts +2 -1
- package/lib/ui-kit/Img/Img.js +10 -1
- package/lib/ui-kit/Img/Img.js.map +1 -1
- package/lib/ui-kit/Img/ImgAsPicture.js +6 -12
- package/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/lib/ui-kit/Img/ImgProps.d.ts +0 -1
- package/lib/ui-kit/List/List.js.map +1 -1
- package/lib/ui-kit/List/ListContent.d.ts +6 -0
- package/lib/ui-kit/List/ListItem.d.ts +1 -1
- package/lib/ui-kit/List/ListProps.d.ts +0 -6
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/lib/ui-kit/Tags/Tags.d.ts +2 -2
- package/lib/ui-kit/Tags/Tags.js +4 -5
- package/lib/ui-kit/Tags/Tags.js.map +1 -1
- package/lib/utils/avg.d.ts +1 -0
- package/lib/utils/avg.js +3 -0
- package/lib/utils/avg.js.map +1 -0
- package/lib/utils/deviation.d.ts +1 -0
- package/lib/utils/deviation.js +3 -0
- package/lib/utils/deviation.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +603 -496
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/mobile/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/mobile/bundle/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/mobile/bundle/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/mobile/bundle/components/CarouselCard/titleSize.d.ts +1 -0
- package/mobile/bundle/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
- package/mobile/bundle/components/Footer/Contacts.d.ts +2 -2
- package/mobile/bundle/components/Footer/FooterContent.d.ts +9 -1
- package/mobile/bundle/components/Footer/FooterDataProps.d.ts +2 -2
- package/mobile/bundle/components/Headline/HeadlineContent.d.ts +0 -2
- package/mobile/bundle/components/MobileAppTile/renderDescription.d.ts +2 -0
- package/mobile/bundle/components/MobileAppTile/renderList.d.ts +2 -0
- package/mobile/bundle/components/PictureText/PictureTextContent.d.ts +2 -6
- package/mobile/bundle/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -22
- package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/mobile/bundle/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/mobile/bundle/components/RollupItem/renderRoundedIcon.d.ts +4 -0
- package/mobile/bundle/components/Tile/TileContent.d.ts +2 -13
- package/mobile/bundle/model/Align.d.ts +5 -0
- package/mobile/bundle/model/AlignText.d.ts +3 -0
- package/mobile/bundle/model/AlignType.d.ts +2 -0
- package/mobile/bundle/model/HeadlineType.d.ts +8 -1
- package/mobile/bundle/model/JSXBlock.d.ts +12 -5
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
- package/{dist/components → mobile/bundle/ui-kit}/BaseTile/BaseTile.d.ts +2 -0
- package/mobile/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
- package/mobile/bundle/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
- package/mobile/bundle/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/mobile/bundle/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
- package/mobile/bundle/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
- package/mobile/bundle/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
- package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +8 -3
- package/mobile/bundle/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/mobile/bundle/ui-kit/Img/ImgProps.d.ts +0 -1
- package/mobile/bundle/ui-kit/List/ListContent.d.ts +6 -0
- package/mobile/bundle/ui-kit/List/ListItem.d.ts +1 -1
- package/mobile/bundle/ui-kit/List/ListProps.d.ts +0 -6
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/mobile/bundle/ui-kit/Tags/Tags.d.ts +2 -2
- package/mobile/bundle/utils/avg.d.ts +1 -0
- package/mobile/bundle/utils/deviation.d.ts +1 -0
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js +1 -2
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ResponseNotification.js +1 -1
- package/mobile/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +3 -2
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/Blocks.js +6 -0
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/Bonus/Bonus.js +2 -2
- package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessBlock.js +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessCard.js +1 -1
- package/mobile/dist/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/mobile/dist/components/ButtonsBlock/ButtonsBlock.js +9 -0
- package/mobile/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
- package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
- package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
- package/mobile/dist/components/Calculator/Calculator.js +1 -1
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +1 -1
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js +9 -7
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/mobile/dist/components/CarouselCard/getCardWidth.js +18 -0
- package/mobile/dist/components/CarouselCard/getCardWidth.js.map +1 -0
- package/mobile/dist/components/CarouselCard/titleSize.d.ts +1 -0
- package/mobile/dist/components/CarouselCard/titleSize.js +4 -0
- package/mobile/dist/components/CarouselCard/titleSize.js.map +1 -0
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js +1 -1
- package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -2
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js +3 -4
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +6 -6
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js +3 -2
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/dist/components/DepositFiltration/DepositFiltration.js +1 -1
- package/mobile/dist/components/DepositFiltration/DepositFiltration.js.map +1 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js +1 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +2 -2
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +3 -2
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/dist/components/Footer/Contacts.d.ts +2 -2
- package/mobile/dist/components/Footer/Contacts.js +4 -5
- package/mobile/dist/components/Footer/Contacts.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.js +2 -3
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/FooterContent.d.ts +9 -1
- package/mobile/dist/components/Footer/FooterDataProps.d.ts +2 -2
- package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/dist/components/Header/Header.js +1 -1
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Headline/Headline.js +2 -3
- package/mobile/dist/components/Headline/Headline.js.map +1 -1
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +0 -2
- package/mobile/dist/components/Headline/headlineVersionStyles.js +9 -9
- package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
- package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/mobile/dist/components/ImgBlock/ImgBlock.js +1 -1
- package/mobile/dist/components/ImgBlock/ImgBlock.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +3 -3
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -2
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +11 -3
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/renderButtonSection.d.ts +0 -0
- package/mobile/dist/components/MobileAppTile/renderButtonSection.js +1 -0
- package/mobile/dist/components/MobileAppTile/renderButtonSection.js.map +1 -0
- package/mobile/dist/components/MobileAppTile/renderDescription.d.ts +2 -0
- package/mobile/dist/components/MobileAppTile/renderDescription.js +7 -0
- package/mobile/dist/components/MobileAppTile/renderDescription.js.map +1 -0
- package/mobile/dist/components/MobileAppTile/renderList.d.ts +2 -0
- package/mobile/dist/components/MobileAppTile/renderList.js +9 -0
- package/mobile/dist/components/MobileAppTile/renderList.js.map +1 -0
- package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js +1 -1
- package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js +1 -1
- package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
- package/mobile/dist/components/PictureText/PictureText.js +3 -14
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- package/mobile/dist/components/PictureText/PictureTextContent.d.ts +2 -6
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js +9 -0
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
- package/mobile/dist/components/Placeholder/Placeholder.js +1 -6
- package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js +3 -3
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -22
- package/mobile/dist/components/ProductGallery/ProductGallery.js +5 -6
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/mobile/dist/components/ProductTile/ProductTile.js +1 -2
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.js +2 -5
- package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/dist/components/RichTextBlock/RichTextBlock.js +1 -1
- package/mobile/dist/components/RichTextBlock/RichTextBlock.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItem.js +14 -9
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/mobile/dist/components/RollupItem/renderRoundedIcon.d.ts +4 -0
- package/mobile/dist/components/RollupItem/renderRoundedIcon.js +7 -0
- package/mobile/dist/components/RollupItem/renderRoundedIcon.js.map +1 -0
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +2 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +1 -3
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/mobile/dist/components/Tabs/Tabs.js +1 -1
- package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +3 -6
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TableTileHeader.js +2 -2
- package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.js +3 -3
- package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +2 -2
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/dist/components/TextBlock/TextBlock.js +1 -3
- package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/dist/components/Tile/Tile.js +2 -14
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/components/Tile/TileContent.d.ts +2 -13
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js +1 -1
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/dist/components/Video/Video.js +1 -2
- package/mobile/dist/components/Video/Video.js.map +1 -1
- package/mobile/dist/content-page-repository/transformDocumentLink.js +1 -1
- package/mobile/dist/content-page-repository/transformDocumentLink.js.map +1 -1
- package/mobile/dist/content-page-repository/transformImg.js +1 -1
- package/mobile/dist/content-page-repository/transformImg.js.map +1 -1
- package/mobile/dist/model/Align.d.ts +5 -0
- package/mobile/dist/{ui-kit/BenefitItem/BenefitItemProps.js → model/Align.js} +1 -1
- package/mobile/dist/model/Align.js.map +1 -0
- package/mobile/dist/model/AlignText.d.ts +3 -0
- package/mobile/dist/model/AlignText.js +3 -0
- package/mobile/dist/model/AlignText.js.map +1 -1
- package/mobile/dist/model/AlignType.d.ts +2 -0
- package/mobile/dist/model/HeadlineType.d.ts +8 -1
- package/mobile/dist/model/JSXBlock.d.ts +12 -5
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +18 -0
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -0
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.js +2 -0
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.js.map +1 -0
- package/mobile/dist/ui-kit/BaseTile/BaseTile.d.ts +14 -0
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js +13 -0
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -0
- package/mobile/dist/ui-kit/BaseTile/getTileRightPadding.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +7 -10
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
- package/mobile/dist/{components/ButtonBlock/ButtonBlockContent.js → ui-kit/BenefitItem/BenefitItemContent.js} +1 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItemContent.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/mobile/dist/ui-kit/BenefitItem/labelSize.js +4 -0
- package/mobile/dist/ui-kit/BenefitItem/labelSize.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
- package/mobile/dist/ui-kit/BenefitsList/BenefitsList.js +14 -0
- package/mobile/dist/ui-kit/BenefitsList/BenefitsList.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
- package/mobile/dist/ui-kit/BenefitsList/BenefitsListContent.js +2 -0
- package/mobile/dist/ui-kit/BenefitsList/BenefitsListContent.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
- package/mobile/dist/ui-kit/BenefitsList/renderBenefit.js +13 -0
- package/mobile/dist/ui-kit/BenefitsList/renderBenefit.js.map +1 -0
- package/mobile/dist/ui-kit/BlockWrapper.js +3 -3
- package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js +2 -2
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/dist/ui-kit/Heading/Heading.js +2 -1
- package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -1
- package/mobile/dist/ui-kit/Icon/IconProps.d.ts +8 -3
- package/mobile/dist/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/mobile/dist/ui-kit/Icon/RoundedIcon.js +6 -2
- package/mobile/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/mobile/dist/ui-kit/Img/Img.js +8 -2
- package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
- package/mobile/dist/ui-kit/Img/ImgAsPicture.js +6 -12
- package/mobile/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/mobile/dist/ui-kit/Img/ImgProps.d.ts +0 -1
- package/mobile/dist/ui-kit/List/List.js.map +1 -1
- package/mobile/dist/ui-kit/List/ListContent.d.ts +6 -0
- package/mobile/dist/ui-kit/List/ListItem.d.ts +1 -1
- package/mobile/dist/ui-kit/List/ListProps.d.ts +0 -6
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/mobile/dist/ui-kit/Tags/Tags.d.ts +2 -2
- package/mobile/dist/ui-kit/Tags/Tags.js +4 -5
- package/mobile/dist/ui-kit/Tags/Tags.js.map +1 -1
- package/mobile/dist/utils/avg.d.ts +1 -0
- package/mobile/dist/utils/avg.js +6 -0
- package/mobile/dist/utils/avg.js.map +1 -0
- package/mobile/dist/utils/deviation.d.ts +1 -0
- package/mobile/dist/utils/deviation.js +6 -0
- package/mobile/dist/utils/deviation.js.map +1 -0
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js +1 -2
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ResponseNotification.js +1 -1
- package/mobile/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +3 -2
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/Blocks.js +6 -0
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/Bonus/Bonus.js +2 -2
- package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessBlock.js +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessCard.js +1 -1
- package/mobile/lib/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/mobile/lib/components/{ButtonBlock/ButtonBlock.js → ButtonsBlock/ButtonsBlock.js} +2 -2
- package/mobile/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
- package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
- package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
- package/mobile/lib/components/Calculator/Calculator.js +1 -1
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +1 -1
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js +9 -7
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/mobile/lib/components/CarouselCard/getCardWidth.js +15 -0
- package/mobile/lib/components/CarouselCard/getCardWidth.js.map +1 -0
- package/mobile/lib/components/CarouselCard/titleSize.d.ts +1 -0
- package/mobile/lib/components/CarouselCard/titleSize.js +2 -0
- package/mobile/lib/components/CarouselCard/titleSize.js.map +1 -0
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js +1 -1
- package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -2
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js +3 -4
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +6 -6
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js +3 -2
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/lib/components/DepositFiltration/DepositFiltration.js +1 -1
- package/mobile/lib/components/DepositFiltration/DepositFiltration.js.map +1 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js +1 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +2 -2
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +3 -2
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/lib/components/Footer/Contacts.d.ts +2 -2
- package/mobile/lib/components/Footer/Contacts.js +4 -5
- package/mobile/lib/components/Footer/Contacts.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.js +2 -3
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/FooterContent.d.ts +9 -1
- package/mobile/lib/components/Footer/FooterDataProps.d.ts +2 -2
- package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/lib/components/Header/Header.js +1 -1
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Headline/Headline.js +2 -3
- package/mobile/lib/components/Headline/Headline.js.map +1 -1
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +0 -2
- package/mobile/lib/components/Headline/headlineVersionStyles.js +9 -9
- package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
- package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/mobile/lib/components/ImgBlock/ImgBlock.js +1 -1
- package/mobile/lib/components/ImgBlock/ImgBlock.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +3 -3
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -2
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +11 -3
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/renderButtonSection.d.ts +0 -0
- package/mobile/lib/components/MobileAppTile/renderButtonSection.js +1 -0
- package/mobile/lib/components/MobileAppTile/renderButtonSection.js.map +1 -0
- package/mobile/lib/components/MobileAppTile/renderDescription.d.ts +2 -0
- package/mobile/lib/components/MobileAppTile/renderDescription.js +4 -0
- package/mobile/lib/components/MobileAppTile/renderDescription.js.map +1 -0
- package/mobile/lib/components/MobileAppTile/renderList.d.ts +2 -0
- package/mobile/lib/components/MobileAppTile/renderList.js +6 -0
- package/mobile/lib/components/MobileAppTile/renderList.js.map +1 -0
- package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js +1 -1
- package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js +1 -1
- package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
- package/mobile/lib/components/PictureText/PictureText.js +4 -15
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- package/mobile/lib/components/PictureText/PictureTextContent.d.ts +2 -6
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js +6 -0
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
- package/mobile/lib/components/Placeholder/Placeholder.js +1 -6
- package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js +3 -3
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -22
- package/mobile/lib/components/ProductGallery/ProductGallery.js +5 -6
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/mobile/lib/components/ProductTile/ProductTile.js +1 -2
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.js +2 -5
- package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/lib/components/RichTextBlock/RichTextBlock.js +1 -1
- package/mobile/lib/components/RichTextBlock/RichTextBlock.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItem.js +14 -9
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/mobile/lib/components/RollupItem/renderRoundedIcon.d.ts +4 -0
- package/mobile/lib/components/RollupItem/renderRoundedIcon.js +4 -0
- package/mobile/lib/components/RollupItem/renderRoundedIcon.js.map +1 -0
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +2 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +1 -3
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/mobile/lib/components/Tabs/Tabs.js +1 -1
- package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +3 -6
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TableTileHeader.js +2 -2
- package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.js +3 -3
- package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +2 -2
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/lib/components/TextBlock/TextBlock.js +1 -3
- package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/lib/components/Tile/Tile.js +3 -15
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/components/Tile/TileContent.d.ts +2 -13
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js +1 -1
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/lib/components/Video/Video.js +1 -2
- package/mobile/lib/components/Video/Video.js.map +1 -1
- package/mobile/lib/content-page-repository/transformDocumentLink.js +1 -1
- package/mobile/lib/content-page-repository/transformDocumentLink.js.map +1 -1
- package/mobile/lib/content-page-repository/transformImg.js +1 -1
- package/mobile/lib/content-page-repository/transformImg.js.map +1 -1
- package/mobile/lib/model/Align.d.ts +5 -0
- package/mobile/lib/model/Align.js +2 -0
- package/mobile/lib/model/Align.js.map +1 -0
- package/mobile/lib/model/AlignText.d.ts +3 -0
- package/mobile/lib/model/AlignText.js +3 -0
- package/mobile/lib/model/AlignText.js.map +1 -1
- package/mobile/lib/model/AlignType.d.ts +2 -0
- package/mobile/lib/model/HeadlineType.d.ts +8 -1
- package/mobile/lib/model/JSXBlock.d.ts +12 -5
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +16 -0
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -0
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.js +2 -0
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.js.map +1 -0
- package/mobile/lib/ui-kit/BaseTile/BaseTile.d.ts +14 -0
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js +11 -0
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -0
- package/mobile/lib/ui-kit/BaseTile/getTileRightPadding.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +7 -10
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
- package/mobile/lib/ui-kit/BenefitItem/BenefitItemContent.js +2 -0
- package/mobile/lib/ui-kit/BenefitItem/BenefitItemContent.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/mobile/lib/ui-kit/BenefitItem/labelSize.js +2 -0
- package/mobile/lib/ui-kit/BenefitItem/labelSize.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
- package/mobile/lib/ui-kit/BenefitsList/BenefitsList.js +12 -0
- package/mobile/lib/ui-kit/BenefitsList/BenefitsList.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
- package/mobile/lib/ui-kit/BenefitsList/BenefitsListContent.js +2 -0
- package/mobile/lib/ui-kit/BenefitsList/BenefitsListContent.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
- package/mobile/lib/ui-kit/BenefitsList/renderBenefit.js +10 -0
- package/mobile/lib/ui-kit/BenefitsList/renderBenefit.js.map +1 -0
- package/mobile/lib/ui-kit/BlockWrapper.js +3 -3
- package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js +2 -2
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/lib/ui-kit/Heading/Heading.js +2 -1
- package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -1
- package/mobile/lib/ui-kit/Icon/IconProps.d.ts +8 -3
- package/mobile/lib/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/mobile/lib/ui-kit/Icon/RoundedIcon.js +6 -2
- package/mobile/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/mobile/lib/ui-kit/Img/Img.js +8 -2
- package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
- package/mobile/lib/ui-kit/Img/ImgAsPicture.js +6 -12
- package/mobile/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/mobile/lib/ui-kit/Img/ImgProps.d.ts +0 -1
- package/mobile/lib/ui-kit/List/List.js.map +1 -1
- package/mobile/lib/ui-kit/List/ListContent.d.ts +6 -0
- package/mobile/lib/ui-kit/List/ListItem.d.ts +1 -1
- package/mobile/lib/ui-kit/List/ListProps.d.ts +0 -6
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/mobile/lib/ui-kit/Tags/Tags.d.ts +2 -2
- package/mobile/lib/ui-kit/Tags/Tags.js +4 -5
- package/mobile/lib/ui-kit/Tags/Tags.js.map +1 -1
- package/mobile/lib/utils/avg.d.ts +1 -0
- package/mobile/lib/utils/avg.js +3 -0
- package/mobile/lib/utils/avg.js.map +1 -0
- package/mobile/lib/utils/deviation.d.ts +1 -0
- package/mobile/lib/utils/deviation.js +3 -0
- package/mobile/lib/utils/deviation.js.map +1 -0
- package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +1 -2
- package/mobile/src/components/ApplicationForm/ResponseNotification.tsx +1 -1
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +7 -2
- package/mobile/src/components/Blocks.ts +6 -0
- package/mobile/src/components/Bonus/Bonus.tsx +2 -2
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -1
- package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +8 -10
- package/mobile/src/components/BusinessBlock/BusinessCard.tsx +1 -1
- package/mobile/src/components/ButtonsBlock/ButtonsBlock.example.json +14 -0
- package/mobile/src/components/{ButtonBlock/ButtonBlock.tsx → ButtonsBlock/ButtonsBlock.tsx} +5 -5
- package/mobile/src/components/ButtonsBlock/ButtonsBlock.ui.json +14 -0
- package/mobile/src/components/ButtonsBlock/ButtonsBlockContent.ts +9 -0
- package/mobile/src/components/Calculator/Calculator.tsx +2 -1
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +14 -4
- package/mobile/src/components/Carousel/Carousel.tsx +1 -8
- package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +16 -12
- package/mobile/src/components/CarouselCard/getCardWidth.tsx +16 -0
- package/mobile/src/components/CarouselCard/titleSize.tsx +1 -0
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +5 -1
- package/mobile/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -1
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +9 -4
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +24 -24
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +11 -11
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +5 -1
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +2 -1
- package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +1 -1
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -5
- package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +9 -3
- package/mobile/src/components/DepositFiltration/DepositFiltration.example.json +1 -1
- package/mobile/src/components/DepositFiltration/DepositFiltration.tsx +6 -1
- package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +2 -5
- package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +4 -7
- package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +8 -8
- package/mobile/src/components/Footer/Contacts.tsx +20 -12
- package/mobile/src/components/Footer/Footer.tsx +2 -3
- package/mobile/src/components/Footer/FooterContent.ts +10 -1
- package/mobile/src/components/Footer/FooterDataProps.ts +2 -2
- package/mobile/src/components/GracePeriod/GracePeriod.tsx +1 -1
- package/mobile/src/components/Header/Header.tsx +2 -2
- package/mobile/src/components/Headline/Headline.tsx +7 -7
- package/mobile/src/components/Headline/HeadlineContent.ts +2 -4
- package/mobile/src/components/Headline/headlineVersionStyles.ts +9 -9
- package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +2 -7
- package/mobile/src/components/ImgBlock/ImgBlock.tsx +1 -1
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +3 -1
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +6 -6
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +1 -3
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +56 -20
- package/mobile/src/components/MobileAppTile/renderButtonSection.tsx +0 -0
- package/mobile/src/components/MobileAppTile/renderDescription.tsx +10 -0
- package/mobile/src/components/MobileAppTile/renderList.tsx +11 -0
- package/mobile/src/components/MortgageFiltration/MortgageFiltration.example.json +1 -1
- package/mobile/src/components/MortgageFiltration/MortgageFiltration.tsx +6 -1
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +2 -1
- package/mobile/src/components/ParagraphBlock/ParagraphBlock.tsx +1 -1
- package/mobile/src/components/PictureText/PictureText.tsx +14 -49
- package/mobile/src/components/PictureText/PictureTextContent.ts +2 -8
- package/mobile/src/components/PictureText/renderInsuranceSumMonth.tsx +21 -0
- package/mobile/src/components/Placeholder/Placeholder.tsx +13 -24
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +4 -3
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +3 -28
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +19 -26
- package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
- package/mobile/src/components/ProductTile/ProductTile.tsx +1 -3
- package/mobile/src/components/PromoTile/PromoTile.tsx +10 -23
- package/mobile/src/components/PromoTile/PromoTileContent.ts +2 -3
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +1 -5
- package/mobile/src/components/RichTextBlock/RichTextBlock.tsx +1 -1
- package/mobile/src/components/RollupItem/RollupItem.tsx +27 -19
- package/mobile/src/components/RollupItem/RollupItem.ui.json +7 -1
- package/mobile/src/components/RollupItem/RollupItemContent.ts +4 -2
- package/mobile/src/components/RollupItem/renderRoundedIcon.tsx +7 -0
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +2 -1
- package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +7 -9
- package/mobile/src/components/Tabs/Tabs.tsx +1 -0
- package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +8 -12
- package/mobile/src/components/TariffsTable/TableTileHeader.tsx +3 -3
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +11 -7
- package/mobile/src/components/TariffsTable/TariffsTableHorizontal.tsx +1 -1
- package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +3 -4
- package/mobile/src/components/TextBlock/TextBlock.tsx +23 -28
- package/mobile/src/components/Tile/Tile.tsx +10 -64
- package/mobile/src/components/Tile/TileContent.ts +2 -20
- package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
- package/mobile/src/components/Video/Video.tsx +2 -3
- package/mobile/src/content-page-repository/transformDocumentLink.ts +1 -1
- package/mobile/src/content-page-repository/transformImg.ts +1 -1
- package/mobile/src/model/Align.ts +5 -0
- package/mobile/src/model/AlignText.ts +3 -0
- package/mobile/src/model/AlignType.ts +2 -0
- package/mobile/src/model/HeadlineType.ts +11 -1
- package/mobile/src/model/JSXBlock.ts +13 -5
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +68 -0
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +30 -0
- package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +72 -0
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +22 -18
- package/mobile/src/ui-kit/BenefitItem/BenefitItemContent.ts +19 -0
- package/mobile/src/ui-kit/BenefitItem/labelSize.tsx +1 -0
- package/mobile/src/ui-kit/BenefitsList/BenefitsList.tsx +35 -0
- package/mobile/src/ui-kit/BenefitsList/BenefitsListContent.ts +15 -0
- package/mobile/src/ui-kit/BenefitsList/renderBenefit.tsx +14 -0
- package/mobile/src/ui-kit/BlockWrapper.tsx +17 -5
- package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +9 -3
- package/mobile/src/ui-kit/Heading/Heading.tsx +4 -1
- package/mobile/src/ui-kit/Icon/IconProps.ts +9 -4
- package/mobile/src/ui-kit/Icon/RoundedIcon.tsx +19 -7
- package/mobile/src/ui-kit/Img/Img.tsx +26 -2
- package/mobile/src/ui-kit/Img/ImgAsPicture.tsx +17 -30
- package/mobile/src/ui-kit/Img/ImgProps.ts +0 -1
- package/mobile/src/ui-kit/List/List.tsx +2 -1
- package/mobile/src/ui-kit/List/ListContent.ts +7 -0
- package/mobile/src/ui-kit/List/ListItem.tsx +1 -1
- package/mobile/src/ui-kit/List/ListProps.ts +0 -7
- package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +4 -2
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +12 -3
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +20 -7
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
- package/mobile/src/ui-kit/Tags/Tags.tsx +15 -13
- package/mobile/src/utils/avg.ts +3 -0
- package/mobile/src/utils/deviation.ts +4 -0
- package/package.json +1 -1
- package/src/components/ApplicationForm/ApplicationForm.tsx +1 -2
- package/src/components/ApplicationForm/ResponseNotification.tsx +1 -1
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +7 -2
- package/src/components/Blocks.mobile.ts +6 -0
- package/src/components/Blocks.ts +2 -2
- package/src/components/Bonus/Bonus.tsx +2 -2
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -1
- package/src/components/BusinessBlock/BusinessBlock.tsx +8 -10
- package/src/components/BusinessBlock/BusinessCard.tsx +1 -1
- package/src/components/ButtonsBlock/ButtonsBlock.example.json +14 -0
- package/src/components/ButtonsBlock/ButtonsBlock.fixture.mobile.tsx +26 -0
- package/src/components/ButtonsBlock/ButtonsBlock.fixture.tsx +26 -0
- package/src/components/{ButtonBlock/ButtonBlock.tsx → ButtonsBlock/ButtonsBlock.tsx} +5 -5
- package/src/components/ButtonsBlock/ButtonsBlock.ui.json +14 -0
- package/src/components/ButtonsBlock/ButtonsBlockContent.ts +9 -0
- package/src/components/Calculator/Calculator.tsx +2 -1
- package/src/components/CardTransfer/CardTransfer.fixture.mobile.tsx +18 -0
- package/src/components/CardTransfer/CardTransfer.tsx +14 -4
- package/src/components/Carousel/Carousel.tsx +1 -8
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
- package/src/components/CarouselCard/CarouselCard.fixture.mobile.tsx +28 -0
- package/src/components/CarouselCard/CarouselCard.tsx +16 -12
- package/src/components/CarouselCard/getCardWidth.tsx +16 -0
- package/src/components/CarouselCard/titleSize.mobile.tsx +1 -0
- package/src/components/CarouselCard/titleSize.tsx +1 -0
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +5 -1
- package/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -1
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +9 -4
- package/src/components/CarouselLinks/CarouselLinks.tsx +24 -24
- package/src/components/CarouselProductCard/CarouselProductCard.tsx +11 -11
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +5 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.tsx +2 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +2 -1
- package/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +1 -1
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -5
- package/src/components/ComparisonTable/ComparisonTable.tsx +6 -1
- package/src/components/ContactsBlock/ContactsBlock.tsx +9 -3
- package/src/components/DepositFiltration/DepositFiltration.example.json +1 -1
- package/src/components/DepositFiltration/DepositFiltration.fixture.tsx +1 -1
- package/src/components/DepositFiltration/DepositFiltration.tsx +6 -1
- package/src/components/ErrorBlock/ErrorBlock.tsx +2 -5
- package/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +4 -7
- package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
- package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +8 -8
- package/src/components/Footer/Contacts.tsx +20 -12
- package/src/components/Footer/Footer.mobile.tsx +2 -3
- package/src/components/Footer/Footer.tsx +2 -2
- package/src/components/Footer/FooterContent.ts +10 -1
- package/src/components/Footer/FooterDataProps.ts +2 -2
- package/src/components/GracePeriod/GracePeriod.tsx +1 -1
- package/src/components/Header/Header.mobile.tsx +2 -2
- package/src/components/Header/Header.tsx +1 -0
- package/src/components/Headline/Headline.tsx +7 -7
- package/src/components/Headline/HeadlineContent.ts +2 -4
- package/src/components/Headline/headlineVersionStyles.ts +9 -9
- package/src/components/HorizontalLayout/HorizontalLayout.tsx +2 -7
- package/src/components/ImgBlock/ImgBlock.tsx +1 -1
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +3 -1
- package/src/components/InvestmentInfo/InvestmentInfo.tsx +6 -6
- package/src/components/LinkDocs/LinkDocs.mobile.tsx +1 -3
- package/src/components/LinkDocs/LinkDocs.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +73 -2
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +2 -2
- package/src/components/MobileAppTile/MobileAppTile.tsx +23 -41
- package/src/components/MobileAppTile/renderButtonSection.tsx +0 -0
- package/src/components/MobileAppTile/renderDescription.tsx +10 -0
- package/src/components/MobileAppTile/renderList.tsx +11 -0
- package/src/components/MortgageFiltration/MortgageFiltration.example.json +1 -1
- package/src/components/MortgageFiltration/MortgageFiltration.fixture.tsx +1 -1
- package/src/components/MortgageFiltration/MortgageFiltration.tsx +6 -1
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +2 -1
- package/src/components/ParagraphBlock/ParagraphBlock.tsx +1 -1
- package/src/components/PictureText/PictureText.fixture.mobile.tsx +122 -0
- package/src/components/PictureText/PictureText.tsx +14 -49
- package/src/components/PictureText/PictureTextContent.ts +2 -8
- package/src/components/PictureText/renderInsuranceSumMonth.tsx +21 -0
- package/src/components/Placeholder/Placeholder.tsx +13 -24
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +5 -2
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +6 -3
- package/src/components/ProductBlock/ProductBlock.tsx +4 -3
- package/src/components/ProductBlock/ProductBlockContent.ts +3 -28
- package/src/components/ProductGallery/ProductGallery.mobile.tsx +19 -26
- package/src/components/ProductGallery/ProductGallery.tsx +8 -4
- package/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
- package/src/components/ProductTile/ProductTile.tsx +1 -3
- package/src/components/PromoTile/PromoTile.tsx +10 -23
- package/src/components/PromoTile/PromoTileContent.ts +2 -3
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +1 -5
- package/src/components/RichTextBlock/RichTextBlock.tsx +1 -1
- package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +15 -0
- package/src/components/RollupItem/RollupItem.tsx +27 -19
- package/src/components/RollupItem/RollupItem.ui.json +7 -1
- package/src/components/RollupItem/RollupItemContent.ts +4 -2
- package/src/components/RollupItem/renderRoundedIcon.mobile.tsx +7 -0
- package/src/components/RollupItem/renderRoundedIcon.tsx +5 -0
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +2 -1
- package/src/components/StepsBlock/StepsBlock.tsx +2 -6
- package/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +7 -9
- package/src/components/Tabs/Tabs.tsx +1 -0
- package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +8 -12
- package/src/components/TariffsTable/TableTileHeader.tsx +3 -3
- package/src/components/TariffsTable/TariffsTable.mobile.tsx +11 -7
- package/src/components/TariffsTable/TariffsTable.tsx +3 -1
- package/src/components/TariffsTable/TariffsTableHorizontal.tsx +1 -1
- package/src/components/TariffsTable/TariffsTableTileCell.tsx +3 -4
- package/src/components/TextBlock/TextBlock.tsx +23 -28
- package/src/components/Tile/Tile.fixture.tsx +1 -6
- package/src/components/Tile/Tile.tsx +10 -64
- package/src/components/Tile/TileContent.ts +2 -20
- package/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
- package/src/components/Video/Video.tsx +2 -3
- package/src/content-page-repository/transformDocumentLink.ts +1 -1
- package/src/content-page-repository/transformImg.ts +1 -1
- package/src/icons/IconName.ts +5 -381
- package/src/model/Align.ts +5 -0
- package/src/model/AlignText.ts +3 -0
- package/src/model/AlignType.ts +2 -0
- package/src/model/HeadlineType.ts +11 -1
- package/src/model/JSXBlock.ts +13 -5
- package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +68 -0
- package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +30 -0
- package/src/ui-kit/BaseTile/BaseTile.tsx +72 -0
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +22 -18
- package/src/ui-kit/BenefitItem/BenefitItemContent.ts +19 -0
- package/src/ui-kit/BenefitItem/borderRadius.mobile.tsx +1 -0
- package/src/ui-kit/BenefitItem/labelSize.mobile.tsx +1 -0
- package/src/ui-kit/BenefitItem/labelSize.tsx +1 -0
- package/src/ui-kit/BenefitsList/BenefitsList.tsx +35 -0
- package/src/ui-kit/BenefitsList/BenefitsListContent.ts +15 -0
- package/src/ui-kit/BenefitsList/renderBenefit.tsx +14 -0
- package/src/ui-kit/BlockWrapper.tsx +17 -5
- package/src/ui-kit/Button/Button.fixture.tsx +1 -1
- package/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/src/ui-kit/Button/renderButtonsSection.tsx +9 -3
- package/src/ui-kit/Heading/Heading.tsx +4 -1
- package/src/ui-kit/Icon/IconProps.ts +9 -4
- package/src/ui-kit/Icon/RoundedIcon.tsx +19 -7
- package/src/ui-kit/Img/Img.tsx +29 -1
- package/src/ui-kit/Img/ImgAsPicture.tsx +17 -30
- package/src/ui-kit/Img/ImgProps.ts +0 -1
- package/src/ui-kit/List/List.tsx +2 -1
- package/src/ui-kit/List/ListContent.ts +7 -0
- package/src/ui-kit/List/ListItem.tsx +1 -1
- package/src/ui-kit/List/ListProps.ts +0 -7
- package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +4 -2
- package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +12 -3
- package/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +20 -7
- package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
- package/src/ui-kit/Tags/Tags.tsx +15 -13
- package/src/utils/avg.ts +3 -0
- package/src/utils/deviation.ts +4 -0
- package/tailwind.config.cjs +19 -12
- package/bundle/components/BaseTile/getTileHeadingType.d.ts +0 -1
- package/bundle/components/BaseTile/getTileMinHeight.d.ts +0 -1
- package/bundle/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/bundle/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/bundle/components/MobileAppTile/MobileAppTile.mobile.d.ts +0 -5
- package/bundle/components/PictureText/renderBenefit.d.ts +0 -4
- package/bundle/components/ProductBlock/ProductBlockInner.d.ts +0 -4
- package/bundle/components/ProductBlock/renderBenefit.d.ts +0 -5
- package/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
- package/bundle/ui-kit/Img/Img.mobile.d.ts +0 -2
- package/bundle/ui-kit/Img/ImgInner.d.ts +0 -2
- package/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
- package/dist/components/BaseTile/BaseTile.js +0 -8
- package/dist/components/BaseTile/BaseTile.js.map +0 -1
- package/dist/components/BaseTile/getTileHeadingType.d.ts +0 -1
- package/dist/components/BaseTile/getTileHeadingType.js +0 -17
- package/dist/components/BaseTile/getTileHeadingType.js.map +0 -1
- package/dist/components/BaseTile/getTileMinHeight.d.ts +0 -1
- package/dist/components/BaseTile/getTileMinHeight.js +0 -17
- package/dist/components/BaseTile/getTileMinHeight.js.map +0 -1
- package/dist/components/BaseTile/getTileRightPadding.js.map +0 -1
- package/dist/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/dist/components/ButtonBlock/ButtonBlock.js +0 -9
- package/dist/components/ButtonBlock/ButtonBlock.js.map +0 -1
- package/dist/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/dist/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.d.ts +0 -5
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js +0 -10
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +0 -1
- package/dist/components/PictureText/renderBenefit.d.ts +0 -4
- package/dist/components/PictureText/renderBenefit.js +0 -26
- package/dist/components/PictureText/renderBenefit.js.map +0 -1
- package/dist/components/ProductBlock/ProductBlockInner.d.ts +0 -4
- package/dist/components/ProductBlock/ProductBlockInner.js +0 -17
- package/dist/components/ProductBlock/ProductBlockInner.js.map +0 -1
- package/dist/components/ProductBlock/renderBenefit.d.ts +0 -5
- package/dist/components/ProductBlock/renderBenefit.js +0 -7
- package/dist/components/ProductBlock/renderBenefit.js.map +0 -1
- package/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
- package/dist/ui-kit/BenefitItem/BenefitItemProps.js.map +0 -1
- package/dist/ui-kit/Img/Img.mobile.d.ts +0 -2
- package/dist/ui-kit/Img/Img.mobile.js +0 -7
- package/dist/ui-kit/Img/Img.mobile.js.map +0 -1
- package/dist/ui-kit/Img/ImgInner.d.ts +0 -2
- package/dist/ui-kit/Img/ImgInner.js +0 -13
- package/dist/ui-kit/Img/ImgInner.js.map +0 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
- package/dist/ui-kit/SwipeListControl/SwipeListControlProps.js.map +0 -1
- package/lib/components/BaseTile/BaseTile.js +0 -6
- package/lib/components/BaseTile/BaseTile.js.map +0 -1
- package/lib/components/BaseTile/getTileHeadingType.d.ts +0 -1
- package/lib/components/BaseTile/getTileHeadingType.js +0 -14
- package/lib/components/BaseTile/getTileHeadingType.js.map +0 -1
- package/lib/components/BaseTile/getTileMinHeight.d.ts +0 -1
- package/lib/components/BaseTile/getTileMinHeight.js +0 -14
- package/lib/components/BaseTile/getTileMinHeight.js.map +0 -1
- package/lib/components/BaseTile/getTileRightPadding.js.map +0 -1
- package/lib/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/lib/components/ButtonBlock/ButtonBlock.js.map +0 -1
- package/lib/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/lib/components/ButtonBlock/ButtonBlockContent.js +0 -2
- package/lib/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.d.ts +0 -5
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js +0 -8
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +0 -1
- package/lib/components/PictureText/renderBenefit.d.ts +0 -4
- package/lib/components/PictureText/renderBenefit.js +0 -23
- package/lib/components/PictureText/renderBenefit.js.map +0 -1
- package/lib/components/ProductBlock/ProductBlockInner.d.ts +0 -4
- package/lib/components/ProductBlock/ProductBlockInner.js +0 -15
- package/lib/components/ProductBlock/ProductBlockInner.js.map +0 -1
- package/lib/components/ProductBlock/renderBenefit.d.ts +0 -4
- package/lib/components/ProductBlock/renderBenefit.js +0 -4
- package/lib/components/ProductBlock/renderBenefit.js.map +0 -1
- package/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
- package/lib/ui-kit/BenefitItem/BenefitItemProps.js +0 -2
- package/lib/ui-kit/BenefitItem/BenefitItemProps.js.map +0 -1
- package/lib/ui-kit/Img/Img.mobile.d.ts +0 -2
- package/lib/ui-kit/Img/Img.mobile.js +0 -5
- package/lib/ui-kit/Img/Img.mobile.js.map +0 -1
- package/lib/ui-kit/Img/ImgInner.d.ts +0 -2
- package/lib/ui-kit/Img/ImgInner.js +0 -11
- package/lib/ui-kit/Img/ImgInner.js.map +0 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
- package/lib/ui-kit/SwipeListControl/SwipeListControlProps.js +0 -2
- package/lib/ui-kit/SwipeListControl/SwipeListControlProps.js.map +0 -1
- package/mobile/bundle/components/BaseTile/getTileHeadingType.d.ts +0 -1
- package/mobile/bundle/components/BaseTile/getTileMinHeight.d.ts +0 -1
- package/mobile/bundle/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/mobile/bundle/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/mobile/bundle/components/PictureText/renderBenefit.d.ts +0 -4
- package/mobile/bundle/components/ProductBlock/ProductBlockInner.d.ts +0 -4
- package/mobile/bundle/components/ProductBlock/renderBenefit.d.ts +0 -5
- package/mobile/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
- package/mobile/bundle/ui-kit/Img/ImgInner.d.ts +0 -2
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
- package/mobile/dist/components/BaseTile/BaseTile.d.ts +0 -12
- package/mobile/dist/components/BaseTile/BaseTile.js +0 -8
- package/mobile/dist/components/BaseTile/BaseTile.js.map +0 -1
- package/mobile/dist/components/BaseTile/getTileHeadingType.d.ts +0 -1
- package/mobile/dist/components/BaseTile/getTileHeadingType.js +0 -17
- package/mobile/dist/components/BaseTile/getTileHeadingType.js.map +0 -1
- package/mobile/dist/components/BaseTile/getTileMinHeight.d.ts +0 -1
- package/mobile/dist/components/BaseTile/getTileMinHeight.js +0 -17
- package/mobile/dist/components/BaseTile/getTileMinHeight.js.map +0 -1
- package/mobile/dist/components/BaseTile/getTileRightPadding.js.map +0 -1
- package/mobile/dist/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/mobile/dist/components/ButtonBlock/ButtonBlock.js +0 -9
- package/mobile/dist/components/ButtonBlock/ButtonBlock.js.map +0 -1
- package/mobile/dist/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/mobile/dist/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
- package/mobile/dist/components/PictureText/renderBenefit.d.ts +0 -4
- package/mobile/dist/components/PictureText/renderBenefit.js +0 -26
- package/mobile/dist/components/PictureText/renderBenefit.js.map +0 -1
- package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +0 -4
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js +0 -17
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +0 -1
- package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +0 -5
- package/mobile/dist/components/ProductBlock/renderBenefit.js +0 -7
- package/mobile/dist/components/ProductBlock/renderBenefit.js.map +0 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
- package/mobile/dist/ui-kit/BenefitItem/BenefitItemProps.js.map +0 -1
- package/mobile/dist/ui-kit/Img/ImgInner.d.ts +0 -2
- package/mobile/dist/ui-kit/Img/ImgInner.js +0 -13
- package/mobile/dist/ui-kit/Img/ImgInner.js.map +0 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.js +0 -2
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.js.map +0 -1
- package/mobile/lib/components/BaseTile/BaseTile.d.ts +0 -12
- package/mobile/lib/components/BaseTile/BaseTile.js +0 -6
- package/mobile/lib/components/BaseTile/BaseTile.js.map +0 -1
- package/mobile/lib/components/BaseTile/getTileHeadingType.d.ts +0 -1
- package/mobile/lib/components/BaseTile/getTileHeadingType.js +0 -14
- package/mobile/lib/components/BaseTile/getTileHeadingType.js.map +0 -1
- package/mobile/lib/components/BaseTile/getTileMinHeight.d.ts +0 -1
- package/mobile/lib/components/BaseTile/getTileMinHeight.js +0 -14
- package/mobile/lib/components/BaseTile/getTileMinHeight.js.map +0 -1
- package/mobile/lib/components/BaseTile/getTileRightPadding.js.map +0 -1
- package/mobile/lib/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/mobile/lib/components/ButtonBlock/ButtonBlock.js.map +0 -1
- package/mobile/lib/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/mobile/lib/components/ButtonBlock/ButtonBlockContent.js +0 -2
- package/mobile/lib/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
- package/mobile/lib/components/PictureText/renderBenefit.d.ts +0 -4
- package/mobile/lib/components/PictureText/renderBenefit.js +0 -23
- package/mobile/lib/components/PictureText/renderBenefit.js.map +0 -1
- package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +0 -4
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js +0 -15
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +0 -1
- package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +0 -5
- package/mobile/lib/components/ProductBlock/renderBenefit.js +0 -4
- package/mobile/lib/components/ProductBlock/renderBenefit.js.map +0 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
- package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.js +0 -2
- package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.js.map +0 -1
- package/mobile/lib/ui-kit/Img/ImgInner.d.ts +0 -2
- package/mobile/lib/ui-kit/Img/ImgInner.js +0 -11
- package/mobile/lib/ui-kit/Img/ImgInner.js.map +0 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.js +0 -2
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.js.map +0 -1
- package/mobile/src/components/BaseTile/BaseTile.tsx +0 -43
- package/mobile/src/components/BaseTile/getTileHeadingType.ts +0 -12
- package/mobile/src/components/BaseTile/getTileMinHeight.ts +0 -12
- package/mobile/src/components/ButtonBlock/ButtonBlock.example.json +0 -12
- package/mobile/src/components/ButtonBlock/ButtonBlock.ui.json +0 -12
- package/mobile/src/components/ButtonBlock/ButtonBlockContent.ts +0 -9
- package/mobile/src/components/PictureText/renderBenefit.tsx +0 -34
- package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +0 -63
- package/mobile/src/components/ProductBlock/renderBenefit.tsx +0 -9
- package/mobile/src/ui-kit/BenefitItem/BenefitItemProps.ts +0 -38
- package/mobile/src/ui-kit/Img/ImgInner.tsx +0 -30
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +0 -31
- package/src/components/BaseTile/BaseTile.tsx +0 -43
- package/src/components/BaseTile/getTileHeadingType.ts +0 -12
- package/src/components/BaseTile/getTileMinHeight.ts +0 -12
- package/src/components/ButtonBlock/ButtonBlock.example.json +0 -12
- package/src/components/ButtonBlock/ButtonBlock.fixture.tsx +0 -19
- package/src/components/ButtonBlock/ButtonBlock.ui.json +0 -12
- package/src/components/ButtonBlock/ButtonBlockContent.ts +0 -9
- package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +0 -33
- package/src/components/PictureText/renderBenefit.tsx +0 -34
- package/src/components/ProductBlock/ProductBlockInner.tsx +0 -63
- package/src/components/ProductBlock/renderBenefit.tsx +0 -9
- package/src/ui-kit/BenefitItem/BenefitItemProps.ts +0 -38
- package/src/ui-kit/Img/Img.mobile.tsx +0 -5
- package/src/ui-kit/Img/ImgInner.tsx +0 -30
- package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +0 -31
- /package/bundle/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
- /package/dist/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
- /package/dist/{components → ui-kit}/BaseTile/getTileRightPadding.js +0 -0
- /package/lib/components/{ButtonBlock/ButtonBlock.fixture.d.ts → ButtonsBlock/ButtonsBlock.fixture.d.ts} +0 -0
- /package/lib/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
- /package/lib/{components → ui-kit}/BaseTile/getTileRightPadding.js +0 -0
- /package/mobile/bundle/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
- /package/mobile/dist/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
- /package/mobile/dist/{components → ui-kit}/BaseTile/getTileRightPadding.js +0 -0
- /package/mobile/lib/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
- /package/mobile/lib/{components → ui-kit}/BaseTile/getTileRightPadding.js +0 -0
- /package/mobile/src/{components → ui-kit}/BaseTile/getTileRightPadding.ts +0 -0
- /package/src/{components → ui-kit}/BaseTile/getTileRightPadding.ts +0 -0
|
@@ -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 i=e=>(...i)=>t[e](...i),n=i("useState"),r=i("useEffect"),l=i("useCallback"),a=i("useMemo"),s=i("useRef");const o=e=>e&&!e.endsWith("/")?`${e}/`:e,c={PROD_BRANCH:"master"},d=new class{_=c;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||c.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 o(this._.CDN)}get BASE_PATH(){return o(this._.BASE_PATH)}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},h="likesToken";function m(){async function e(){try{const e=JSON.parse(globalThis.localStorage?.getItem(h)||"");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:i}=await e.json();return globalThis.localStorage?.setItem(h,JSON.stringify({token:t,name:i})),{token:t,name:i}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...t){if(!t.length)return[];const{token:i}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:i},body:JSON.stringify({node_ids:t})}),{likes:n}=await e.json();return n||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:i,name:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:i,UserID:n},body:JSON.stringify({node_id:t,user_name:n})}),{likes:r}=await e.json();return r||0}catch(e){return console.error(e),0}},dislike:async function(t){if(!t)return 0;const{token:i,name:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:i,UserID:n},body:JSON.stringify({node_id:t,user_name:n})}),{likes:r}=await e.json();return r||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,i){const{children:n,...r}=t||{},l=i?.slots?.default,a=n||l&&l();return e(Object.assign(r,a&&{children:a}),i)}return t.inheritAttrs=!1,t},x=(...e)=>e.flatMap((e=>e)).filter(Boolean).join(" "),f=({blockClassName:e,block:t,render:i})=>i({blockClassName:e,block:t}),y=[];function v(e,t,{className:i,...n}={}){const{key:r,blockDecorator:l=f,blocksRegistry:a={},ancestors:s=y}=t,{type:o}=e;o&&o in a||console.warn(`No block with "${o}" is registered`);const c=o&&a[o];return l({blockClassName:x("scroll-mt-12",i,e.style||"col-span-12"),block:e,ancestors:s,render:({block:i,blockClassName:l})=>{const{content:a}=i;return c?u(c,{className:l,block:e,options:t,...a,...n},r):null}},r)}const N=[],w=(e,{key:t,ancestors:i=N,slotName:n=null,renderProps:r=v,...l})=>(e||[]).map(((e,a)=>r(e,{...l,key:`${t||e.type}-${a}`,ancestors:l.parent?[...i||N,[l.parent,n]]:i})));function k({children:e,block:t,options:i,renderProps:n}){return e||(t&&i?w(t.blocks,{...i,parent:t,renderProps:n}):null)}class C{subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]=(this.subscribers[e]||[]).concat(t);const i=this.subjectsStateMap[e];return i&&t(i),()=>{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 C;function _(e,{sensitivity:t,rootRef:i}={}){const n=s(null),l=a((()=>({threshold:S(t),root:i?.current})),[t,i?.current]);return r((()=>{if(!n.current)return;const t=new IntersectionObserver(e,l);return t.observe(n.current),()=>{t.disconnect()}}),[e,l]),n}function S(e=0){const t=Math.round(10*e);return new Array(t).fill(0).map(((e,i)=>Math.min(i/t)),1).concat(1)}const I=new C;const R={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","":""},$=g((({className:e,version:t="primary",isTheme:i=!0,block:a,tag:s="section",role:o,children:c})=>{const d=s,h=function(e){return _(l((t=>{if(!e||!t?.length)return;const i=t[t.length-1];I.fire("intersection",{block:e,intersection:i})}),[e]),{sensitivity:1})}(a),[m,p]=n(!1);return r((()=>T.subscribe("tab",(e=>{p(Boolean(e.label&&a?.labels?.length&&!a.labels.includes(e.label)))}))),[a]),u(d,{className:x(A(Boolean(t&&i)),R[t],m?"hidden":"",e),...t&&i?{"data-ver":t}:{},...a?.anchor?{id:a.anchor,ref:h}:{},role:o,children:c})})),A=e=>e?"group":"",j=e=>({height:"calc(100vh - 242px)",minHeight:`${e||866}px`}),P=g((({className:e="",style:t,idx:i,activeIndex:n,observerOptions:r,children:a,onIntersection:s})=>{const o=_(l((e=>{e.length&&s&&s(i||0,e[e.length-1])}),[s,i]),r);return u("div",{className:`inline-block snap-always box-border ${e}`,style:t,"aria-current":Boolean(i===n),ref:o,children:a})})),L=["min-w-[100%]","min-w-[50%]","min-w-[33.33%]","min-w-[25%]"],B=g((({className:e="",containerRef:t,activeIndex:i,visibleItemCount:n=0,gap:r=0,padding:a=0,listType:o="horizontal-list",snapAlign:c="snap-center",minHeight:d,children:h,onVisibleItemsChange:m,onVisibleIndicesChange:p})=>{const g={sensitivity:1,rootRef:t},b=s([]),f=l(((e,t)=>{const i=[...b.current||[]];i[e]=t,b.current=i,m&&m(i),p&&p(z(i))}),[m,p]),y=n>0?r*Number(n)-1:0,v="vertical-list"===o,N="horizontal-list"===o,w={...N?D(a,y):{},...v?j(d):{},gap:`${r}px`};return u("div",{className:x("box-border overflow-auto no-scrollbar",o,e),style:w,ref:t,children:(k=(e,t)=>u(P,{className:x(c,n?L[n-1]:"",v?"h-full":""),style:N?D(a/4):{},activeIndex:i,idx:t,observerOptions:g,onIntersection:f,children:e},String(t)),e=>null==e?e:Array.isArray(e)?e.map(k):k(e,0))(h)});var k})),D=(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)),V={"horizontal-list":"mx-auto mt-5 w-fit","vertical-list":"absolute flex-col justify-center h-full top-0 left-4"},M={"horizontal-list":"w-6","vertical-list":"h-6"},O=g((({containerRef:e,activeIndex:t,dotCount:i=0,listType:n="horizontal-list",version:r})=>i?u("div",{className:x("flex gap-2",V[n],r?"group":""),...r?{"data-ver":r}:{},children:new Array(i).fill(null).map(((i,r)=>u("div",{className:`cursor-pointer rounded-full transition-width duration-300 bg-primary-main group-data-secondary:bg-white group-data-transparent:bg-white ${r===t?M[n]:"w-2 h-2 opacity-30"}`,role:"button","aria-hidden":!0,onClick:()=>(i=>{i!==t&&e?.current&&e.current.children[i]?.scrollIntoView({behavior:"smooth",block:"nearest"})})(r)},String(r))))}):null)),H=e=>e,E=(e=H)=>t=>t.reduceRight(((t,i)=>e(t)>e(i)?t:i)),F=(e=H)=>E((t=>-e(t))),U=e=>t=>e.scrollWidth/t,X=e=>(t,i)=>{e.scrollBy({left:i*U(e)(t),behavior:"smooth"})},J=({itemCount:e,isCyclic:t,onVisibleIndicesChange:i})=>{const r=s(null),[a,o]=n([]),c=l((e=>{o((t=>{return(i=t)===(n=e)||Boolean(i&&n&&i?.length===n?.length&&i.every(((e,t)=>e===n[t])))?t:e;var i,n})),i&&i(e)}),[e]),[d,h]=a.length?[F()(a),E()(a)]:[-1,-1],m=d>0,u=h<e-1,p=l((()=>{var i;r.current&&(t&&!m?(i=r.current).scrollTo({left:i.scrollWidth,behavior:"smooth"}):X(r.current)(e,-1))}),[t,e,m]),g=l((()=>{r.current&&(t&&!u?r.current.scrollTo({left:0,behavior:"smooth"}):X(r.current)(e,1))}),[e,t,u]);return[r,{scrollLeft:p,scrollRight:g,canScrollLeft:t||m,canScrollRight:t||u,visibleIndicesRange:[d,h],handleVisibleIndicesChange:c}]};function G(){return G._impl()}G._impl=()=>({href:globalThis.location?.href||"/",pathname:globalThis.location?.pathname||"/",query:{},push:()=>{},replace:()=>{}}),G.setup=e=>{G._impl=e};const W=e=>Boolean(e?.includes(":")),Y=(e,t)=>Boolean(e&&!W(e)&&(!t||"_self"===t)),K=(...e)=>e.filter(Boolean).join("/").replace(/\/+/g,"/");var q=Object.freeze({__proto__:null,isURL:W,isLocalURL:Y,isHash:e=>Boolean(e?.startsWith("#")),withoutQuery:e=>(e||"").replace(/\?.*/,"").replace(/\/$/,""),joinPath:K});const Q=e=>(t,i=d.BASE_PATH)=>{if(!t||W(t)||Z(t,d.CDN))return t;const n=t.startsWith("/");return K(Z(t,i)?"":i,n?"/":e.pathname?.split("/").slice(0,-1).join("/"),t)},Z=(e,t)=>t&&e&&e.startsWith(t),ee={normal:"",color:"text-primary-main",black:"text-black",white:"text-black"},te=g((({className:e="",imageClassName:t="",name:i="",alt:n=`Иконка ${i}`,title:r=n,iconVersion:l="color",...a})=>{const s=G(),o=Q(s)(K(d.CDN,"/icons",`${i}.svg`));return"normal"!==l?u(ne,{className:e,children:p("svg",{className:x(ie(a.width),ee[l],"white"===l?"invert":"",t),...a,"aria-hidden":"true",children:[r?u("title",{children:r}):null,n?u("desc",{children:n}):null,u("use",{href:`${o}#icon`,xlinkHref:`${o}#icon`})]})}):(e.includes("h-")||(a.style={height:`${a.height}px`}),u("img",{className:e,src:o,alt:n,title:r,"aria-hidden":"true",...a}))})),ie=e=>e?"":"w-full h-full",ne=g((({className:e,children:t})=>e?u("div",{className:e,children:t}):t)),re=(e,t)=>e?.media&&t?.media?e.media-t.media:0,le=g((({className:e="",image:t,imageClassName:i="",isMobile:n=!1,pathPrefix:r})=>{const l=G();return p("picture",{className:`${n?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.filter((e=>e?.src)).sort(re).map((({src:e,format:i,media:n},a)=>u("source",{srcSet:se(l,r)(e),type:oe(i),media:n?`(max-width: ${n}px)`:"",...t.size},`${a}_${e}`))):null,t?.src?ae({...t,src:se(l,r)(t.src)},i,n):null]})})),ae=(e,t="",i=!1)=>{const n={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"auto"},r=e.title||"",l=e.alt||e.title,a=i?"m-auto":"m-0";return u("img",{src:e.src,className:`${a} ${t}`,alt:l,title:r,style:n,...e.size})},se=(e,t)=>i=>i&&!W(i)?Q(e)(K(t,i)):i,oe=e=>e?`image/${String(e)}`:void 0,ce=g((({className:e="",image:t,imageClassName:i="",isMobile:n,pathPrefix:r,...l})=>t?.src||t?.icon?t.icon?u(te,{className:e,imageClassName:i,iconVersion:t?.iconVersion,name:t.icon,...l}):u(le,{className:e,imageClassName:i,image:t,isMobile:n,pathPrefix:r}):null)),de=g((e=>u(ce,{...e,isMobile:!0}))),he=(e,t)=>he._impl(e,t);function me(e={}){const{isRemote:t,basePath:i}=e,n=G(),{close:r}=((e="")=>({open:t=>T.fire("dialog",{type:"open",id:e,message:t}),close:()=>T.fire("dialog",{type:"close"})}))();return e=>({...e,href:t&&!i?e.href:Q(n)(e.href,i),"aria-label":e.text,onClick:he(l(e),e)});function l({href:e,target:i,onClick:l}){return a=>{l&&l(a),e&&!t&&Y(e,i)&&(r(),a?.preventDefault(),n.push(e))}}}he._impl=e=>e,he.setup=e=>{he._impl=e};const ue={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","":""},pe="bg-main-divider text-main-disabled",ge={primary:pe,secondary:pe,white:pe,link:"",transparent:"",gray:pe,"":""},be="text-center font-sans select-none",xe={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","":""},fe=g((e=>{const{text:t,aboveText:i,appendLeft:n,appendRight:r,version:l="primary"}=e;return p("div",{className:x(ye(e),"flex gap-2"),children:[n?u("div",{className:xe[l],children:n}):null,ve(e)?p("div",{children:[i?u("div",{className:"text-xs-light text-left",children:i}):null,u("div",{className:"text-left "+(i?"text-s -mt-0.5":"text-l"),children:t})]}):null,r?u("div",{className:xe[l],children:r}):null]})})),ye=e=>{const{version:t,aboveText:i,rounded:n}=e;if("link"===t)return"";const r=""+(i?"py-2.5 px-7":"py-4 px-4");return["group/btn items-center justify-center",ve(e)?r:"h-12 w-12",n?"rounded-full":""].join(" ")},ve=({text:e,aboveText:t,appendLeft:i})=>Boolean(e||t||!i),Ne=({className:e,rounded:t,version:i})=>["inline-block",be,i?ge[i]:"",t?"rounded-full":"rounded-md",e].join(" "),we=({className:e,rounded:t,version:i})=>[be,"border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border h-fit",i?ue[i]:"",t?"rounded-full":"rounded-md",e].join(" "),ke=g((({disabled:e,children:t,...i})=>{const n=me()(i),r=t??u(fe,{...n});return u(e?Te:Ce,{...n,children:r})})),Ce=g((({className:e="",href:t,rel:i,target:n,ariaLabel:r,version:l,rounded:a,onClick:s,children:o})=>u("a",{className:we({className:e,version:l,rounded:a}),href:t,rel:i,target:n,"aria-label":r,role:t?"link":"button",onClick:s,children:o}))),Te=g((({className:e,ariaLabel:t,version:i,rounded:n,children:r})=>u("div",{role:"button","aria-disabled":"true","aria-label":t,tabIndex:-1,className:Ne({className:e,rounded:n,version:i}),children:r}))),_e=g((({className:e,disabled:t,...i})=>u(ke,{rounded:!0,className:`group/btn shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${t?"bg-secondary-light text-secondary-text":"bg-white text-primary-text hover:text-primary-main"} ${e||""}`,disabled:t,...i,children:u(de,{className:"w-4 h-4 min-w-4 min-h-4 rounded-full box-border",image:{icon:"ArrowLeftIcon",iconVersion:"black"},imageClassName:"group-hover/btn:text-primary-main",width:"16",height:"16"})}))),Se=g((e=>u(_e,{...e,ariaLabel:"Пролистать влево","data-block-control":"scroll-left"}))),Ie=g((e=>u(_e,{...e,className:`${e.className||""} rotate-180`,ariaLabel:"Пролистать вправо","data-block-control":"scroll-right"}))),Re="absolute top-[calc(50%-24px)] z-40",$e="absolute top-0 bottom-0 z-40 w-[84px] pointer-events-none",Ae=g((({scroll:e,arrowsPadded:t,isBlur:i,onScrollLeft:n,onScrollRight:r,hasEdgeBlocks:a,activeIndex:s,itemCount:o})=>{const{canScrollLeft:c,canScrollRight:d,scrollLeft:h,scrollRight:m}=e,g=a?s>0:c,b=a?s<o-1:d,f=l((()=>{a?(c&&s!==o-1&&h(),n()):h()}),[h,n,a,c,s,o]),y=l((()=>{a?(d&&0!==s&&m(),r()):m()}),[m,r,a,c,s,o]);return p("div",{children:[je(i,e),g?u(Se,{className:x(Re,t?"left-8":"left-0"),onClick:f}):null,b?u(Ie,{className:x(Re,t?"right-8":"right-0"),onClick:y}):null]})})),je=(e,t)=>e?p("div",{children:[t.canScrollLeft?u("div",{className:x($e,"left-0 bg-opacity-from-white")}):null,t.canScrollRight?u("div",{className:x($e,"right-0 bg-opacity-to-white")}):null]}):null,Pe=g((({className:e="",itemCount:t,visibleItemCount:i,isBlur:r=!0,isCyclic:a=!1,arrowsPadded:s=!0,isPadding:o=!0,showDots:c=!1,isAlignCenter:d=!1,...h})=>{const{blocks:m=[]}=h.block||{},g=t||m?.length,[b,f]=n(Math.floor((i||0)/2)),y=l((()=>f((e=>e+1))),[]),N=l((()=>f((e=>e-1))),[]),[w,C]=J({itemCount:g,isCyclic:a}),[T]=C.visibleIndicesRange,_=m&&"CarouselBankHistoryCard"===m[0]?.type;return u($,{className:x(Le(o),"group-data-secondary:bg-primary-main group-data-secondary:text-white",e),...h,children:p("div",{className:x(Be(d),"relative max-w-full"),children:[u(B,{containerRef:w,visibleItemCount:i,snapAlign:"snap-start",gap:16,onVisibleIndicesChange:C.handleVisibleIndicesChange,children:k({...h,renderProps:_?(e,t)=>v(e,t,{blocksLength:m?.length,activeIndex:b}):v})}),u(Ae,{scroll:C,isBlur:r,arrowsPadded:s,onScrollLeft:N,onScrollRight:y,hasEdgeBlocks:_,activeIndex:b,itemCount:g}),c?De(w,T,g):null]})})}));Pe.childrenTypes=["CarouselCard","CarouselBankHistoryCard","CarouselCatalogCard","CarouselInvestmentCard","CarouselProductCard","CarouselProgramsCard","CarouselRecommendationCard","CarouselTariffsCard","CarouselRichTextCard","CarouselInvestmentCard","CarouselEventCard"];const Le=e=>e?"p-default":"",Be=e=>e?"flex justify-center":"",De=(e,t,i)=>u(O,{containerRef:e,activeIndex:t,dotCount:i,listType:"horizontal-list"}),ze={h1:"h1",h2:"h1",h3:"h2",h4:"h2",h5:"h3",h6:"h3"},Ve={h0:"text-h0",h1:"text-h1",h2:"text-h2",h3:"text-h3",h4:"text-h4",h5:"text-h5",h6:"text-h6"},Me=g((({className:e="",headingType:t="h3",as:i="h3",title:n,children:r})=>{const l=ze[i]||"h3";return u(l,{className:`font-sans m-0 ${Ve[t]} ${e}`,children:n||r})})),Oe=g((({className:e="",href:t,target:i,isRemote:n=!1,children:r})=>{const l=me({isRemote:n})({href:t,target:i});return u(t?"a":"div",{className:x("block",e),...t?l:{},children:r})})),He=g((({className:e="",title:t,icon:i,list:n=[],href:r,target:l,...a})=>u($,{className:x("border border-gray",e),...a,children:p(Oe,{className:"flex",href:r,target:l,children:[p("div",{className:"w-[200px] min-w-[200px] self-center",children:[i?.icon?u(de,{image:i}):null,i?.src?u(de,{image:i}):null]}),p("div",{className:"p-8 pl-3 w-full",children:[t?u(Me,{className:"mb-3.5",headingType:"h5",title:t}):null,n.length?u("div",{className:"flex flex-col gap-3",children:n?.map(Ee)}):null]})]})}))),Ee=(e,t)=>p("div",{className:"break-words",children:[e.title?u("div",{className:"text-h6",children:e.title}):null,e.description?u("span",{className:"text-l-light mt-1",children:e.description}):null]},String(t)),Fe={L:"w-1.5 h-1.5 mr-4",M:"w-1.5 h-1.5 mr-3",S:"w-1 h-1 mr-2"},Ue=g((({className:e,isDotted:t=!0,children:i,size:n="M"})=>p("div",{className:x("font-sans flex",e),role:"listitem",children:[t?u("div",{className:"shrink-0",children:u("div",{className:x("align-middle inline-block rounded-full bg-primary-text group-data-secondary:bg-white",Fe[n])})}):null,u("span",{children:i})]}))),Xe={S:"text-l-light",M:"text-h6",L:"text-h5"},Je={S:"ml-2",M:"ml-3",L:"ml-4"},Ge=g((({className:e,hasIndent:t,isDotted:i,items:n,listItemSize:r="M"})=>n?.length?u("section",{className:x("flex flex-col gap-2 text-left text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text",Xe[r],t?Je[r]:"",e),role:"list",children:n.map(((e,t)=>u(Ue,{isDotted:i,size:r,children:e},String(t))))}):null)),We={default:"w-24 h-14",small:"w-12 h-12"},Ye=(e,t)=>e?"":x("group/media flex items-center justify-center box-border",We[t]),Ke=[{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"}],qe=g((({buttonSize:e="default",rounded:t=!1,icon:i,...n})=>{const{href:r,version:l,text:a=""}=n,{iconMapped:s,label:o}=Ke.find((({origins:e})=>e.some((e=>r?.includes(e)))))||{},c=Qe(i)??s;return u(ke,{className:x(t?"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",Ye(a,e)),"aria-label":o,rel:"noopener noreferrer",target:"_blank",text:a,version:l,...n,children:c&&!a?u(de,{image:c,imageClassName:"group-hover/media:text-white",width:"24",height:"24"}):null})})),Qe=e=>e?.src||e?.icon?e:void 0,Ze=g((({className:e="",media:t})=>u("div",{className:`flex gap-2 items-start justify-start ${e}`,children:t?.map(((e,t)=>u(qe,{...e},String(t))))}))),et=g((({children:e,...t})=>u("p",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),tt={XXL:{title:{headingType:"h0",as:"h1"},descriptionSize:"text-h5",descriptionStyle:"mt-headline-xxl"},XL:{title:{headingType:"h1",as:"h1"},descriptionSize:"text-xl-light",descriptionStyle:"mt-headline-l"},L:{title:{headingType:"h2",as:"h2"},descriptionSize:"text-xl-light",descriptionStyle:"mt-headline-l"},M:{title:{headingType:"h3",as:"h3"},descriptionSize:"text-xl-light",descriptionStyle:"mt-headline-m"},S:{title:{headingType:"h4",as:"h4"},descriptionSize:"text-xl-light",descriptionStyle:"mt-headline-s"},XS:{title:{headingType:"h5",as:"h5"},descriptionSize:"text-l-light",descriptionStyle:"mt-headline-s"}},it=g((({className:e,title:t,description:i,headlineVersion:n="XL",align:r="text-center",as:l,isPadding:a=!0,isTheme:s=!1,version:o="",...c})=>{const d=tt[n],h=a?"p-default":"",m={marginTop:d.descriptionStyle};return p($,{className:x(h,e),version:o,isTheme:s,...c,children:[t?u(Me,{className:x("whitespace-pre-wrap",r),...d?.title,as:l||d?.title.as,title:t}):null,i?u(et,{size:d.descriptionSize,align:r,...m,children:i}):null]})})),nt=g((({className:e="",description:t,href:i,icon:n,items:r=[],socialMedia:l=[],target:a,title:s,align:o="text-left",...c})=>u($,{className:x("relative box-border p-default group-data-gray:bg-main-divider/50","border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider",e),...c,children:p(Oe,{href:i,target:a,children:[u(it,{className:"mb-2",title:s,description:t,headlineVersion:"S",isPadding:!1,align:o}),r.length?u(Ge,{className:"flex flex-col gap-2",items:r,listItemSize:"S"}):null,rt(n),l.length?u(Ze,{className:"mt-5",media:l}):null]})}))),rt=e=>e?.src||e?.icon?u("div",{children:u(de,{image:e})}):null,lt=g((({className:e="",isFoldButtonOnTop:t=!1,unfoldedByDefault:i=!1,renderFoldableSection:r,renderFoldButton:a})=>{const[s,o]=n(i),c=l((()=>{o((e=>!e))}),[]),d=r({isUnfolded:s,onToggle:c}),h=a?a({isUnfolded:s,onToggle:c}):null;return p("div",t?{className:e,children:[h,d]}:{className:e,children:[d,h]})})),at=g((({className:e="",isUnfolded:t,children:i})=>{const n=s(null);return r((()=>{n.current&&(n.current.style.maxHeight=t?`${n.current.scrollHeight}px`:"")}),[t,i?.length]),u("div",{ref:n,className:`transition-max-h duration-300 overflow-hidden ${n.current||!t?"max-h-0":""} ${e}`,children:i})})),st=(e=!1)=>e?"p-default mt-6":"mt-6 p-default",ot=(e,{className:t="",buttonClassName:i,isVertical:n}={})=>e?.length&&e.some((e=>e?.text||e?.icon?.icon))?u("div",{className:x("flex",n?"flex-col gap-2":"flex-wrap gap-4",t),children:e.map(ct(i))}):null,ct=(e="")=>(t,i)=>{const{text:n,icon:r,iconRight:l,version:a,...s}=t||{},o="secondary"===a?"color":"white",c=r?.iconVersion?r?.iconVersion:o;return n||r?.icon?u(ke,{className:e,appendLeft:dt({...r,iconVersion:c}),appendRight:dt({...l,iconVersion:c}),version:a,text:n,...s},i?String(i):""):null},dt=e=>e?.icon||e?.src?u(de,{image:e,width:String(e?.size?.width||24),height:String(24)}):null,ht=g((({children:e,...t})=>u("span",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),mt=(e,t)=>{const{title:i,description:n,buttons:r}=e;return p("div",{className:"py-5 border-b border-main-divider",children:[i?u("div",{className:"opacity-80",children:u(ht,{size:"text-m",color:"text-secondary-text",children:i})}):null,n?u("div",{className:"mt-1",children:u(ht,{size:"text-l",color:"text-primary-text",children:n})}):null,r?.length?u("div",{className:"text-primary-main",children:ot(r)}):null]},String(t))},ut=g((({className:e="",title:t,icon:i,isHighlighting:n=!1,button:r,cardCells:l=[],...a})=>{const s=l.map(mt),o=s.slice(0,1),c=s.slice(1);return p($,{className:x("relative border border-gray flex flex-col",st(n),e),...a,children:[n?bt():null,pt(i),t?u(Me,{className:"text-center pt-2",headingType:"h5",title:t}):null,r?u(ke,{className:"w-full mt-4",...r}):null,l.length?u(lt,{renderFoldableSection:({isUnfolded:e})=>p("div",{children:[o,u(at,{isUnfolded:e,children:c})]}),renderFoldButton:l.length>1?gt:null}):null]})})),pt=e=>u("div",{className:"w-[267px] min-w-[267px] self-center",children:e?.src||e?.icon?u(de,{image:e}):null}),gt=({isUnfolded:e,onToggle:t})=>p("button",{className:"w-full cursor-pointer text-primary-main pt-5 flex justify-between items-center",onClick:t,children:[u("div",{children:e?"Скрыть":"Подробнее о тарифе"}),u(te,{className:"text-primary-text",name:e?"ArrowUpIcon":"ArrowDownIcon",width:"16",height:"16"})]}),bt=()=>p("div",{className:"absolute -top-7 -right-4 h-[60px] w-[60px] bg-white flex flex-col items-center justify-center rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]",children:[u(te,{iconVersion:"black",name:"HeartIcon",width:"23",height:"22"}),u(et,{size:"text-s",font:"font-normal",align:"text-center",color:"text-primary-text",children:"ХИТ"})]}),xt=g((({className:e="",gap:t=14,padding:i=16,showDots:n=!0,minHeight:r,children:l,onVisibleIndicesChange:a,listType:s="horizontal-list",version:o})=>{const c=Array.isArray(l)?l.length:0,[d,h]=J({itemCount:c,onVisibleIndicesChange:a}),[m]=h.visibleIndicesRange;return p("div",{className:x(e,"vertical-list"===s?"relative h-full":""),children:[u(B,{containerRef:d,activeIndex:m,visibleItemCount:1,gap:t,padding:i,onVisibleIndicesChange:h.handleVisibleIndicesChange,listType:s,minHeight:r,children:l}),n?u(O,{containerRef:d,activeIndex:m,dotCount:c,listType:s,version:o}):null]})})),ft=(e=!1)=>e?"text-white":"",yt=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),vt=g((({icon:e,image:t,title:i,subtitle:n,isFillGradient:r})=>p("div",{role:"columnheader",children:[e?u(de,{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(de,{image:t})}),i?u(Me,{headingType:"h4",className:ft(r),title:i}):null,n?u("div",{className:yt(r),children:n}):null]}))),Nt=g((({cell:e,rowHeader:t,isFillGradient:i=!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(wt(i,t))})}))),wt=(e,t)=>({label:i,description:n},r)=>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:[i?u("div",{className:"text-right "+(e?"text-white":""),children:i}):null,n?u("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:n}):null]})]},String(r)),kt=g((({header:e,columnData:t,visibleRowLength:i=0,isFillGradient:n,showRow:r,onToggleColumn:l})=>{const a=t?.slice(0,r?t.length:i),s=n?"secondary":"primary";return p("div",{className:`border border-gray rounded-md p-4 mb-3.5 ${n?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[u(vt,{...e,isFillGradient:n}),a?.length?a.map((({rowHeader:e,cell:t},i)=>u(Nt,{cell:t,rowHeader:e,isFillGradient:n},String(i)))):null,r&&e?.link?u(ke,{href:e.link.href,target:e.link.target,version:s,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}):null,Ct({onToggleColumn:l,isFillGradient:n,showRow:r})]})})),Ct=({onToggleColumn:e,isFillGradient:t,showRow:i})=>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:i?"Скрыть":"Показать описание"})}),Tt=g((e=>{const{className:t,title:i}=e;return p("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${t||""}`,children:[i?u(Me,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:i}):null,u("div",{role:"table",children:u(_t,{...e})})]})})),_t=g((({columns:e=[],rowHeaders:t,isColoredFirstColumn:i,visibleRowLength:r,orientation:a,...s})=>{const[o,c]=n(new Array(e.length).fill(!r)),d=l((e=>{const t=(t,i)=>i===e?!t:t;c((e=>e.map(t)))}),[]),h=l((()=>c((e=>new Array(e.length).fill(!1)))),[]),m=e?.map((({data:e,header:n},l)=>{return u(kt,{visibleRowLength:r,showRow:o[l],header:n,columnData:(a=e,a?.map(((e,i)=>({cell:e,rowHeader:t?.[i]?.title})))),isFillGradient:0===l&&i,onToggleColumn:()=>d(l),...s},String(l));var a}));return"horizontal"===a?u(xt,{onVisibleIndicesChange:h,children:m}):m})),St=e=>null!=e,It=new Map;function Rt(e,t,{fallback:i,cache:l}={}){const s=a((()=>$t(e)),[e]),[o]=(e=>Boolean(e&&Array.isArray(e)&&1===e.length&&"string"==typeof e[0]))(s)?s:[],[c,d]=n(void 0),[h,m]=n(void 0);r((()=>{!s.some(St)||(async()=>{try{const e=await(o?((e,t=It)=>i=>{const n=t.get(i);if(St(n))return n;const r=e(i);return St(r)?t.set(i,Promise.resolve(r)):t.delete(i),r})(t,l)(o):t(...s));d(e),m(void 0)}catch(e){d(void 0),m(e)}})()}),[t,l,s]);const u=i&&o&&i[o];return{data:!c&&u?u:c,error:h,mutate:()=>Promise.resolve(void 0),isValidating:!1}}function $t(e){return Array.isArray(e)?e:e instanceof Function?$t(e()):[e]}async function At(e,t){const i=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await i.json()}const jt={};function Pt(e,t={}){const{data:i}=Rt(`/wcms-resources/${e}.json`,At,{fallback:t});return i||jt}const Lt=g((({className:e="",items:t})=>t?.length?u("ul",{className:x("flex flex-col p-0","",e),children:t.map(Bt)}):null)),Bt=(e,t)=>{const{text:i,...n}=e;return u("li",{className:"list-none mb-4 sm:mb-6 sm:last:mb-0",children:u("a",{className:"hover:text-primary-main sm:font-light",role:"link",...n,children:i||null})},`list_item_${String(t)}`)},Dt=g((({className:e="",label:t,icon:i,dataTheme:n="",disabled:r=!1,onClick:l})=>p("button",{className:x("flex justify-center w-full px-0 py-4 border border-transparent outline-none focus:border-primary-text",r?"bg-main-divider text-main-disabled hover:bg-main-divider":"bg-primary-main text-white hover:bg-primary-hove",e),onClick:l,disabled:r,"data-theme":n,children:[u("span",{className:"text-h4 pr-3",children:t}),i?u(de,{image:{icon:i,iconVersion:"white"},className:"flex-shrink-0 my-auto",width:"20",height:"20"}):null]}))),zt={primary:"bg-main-divider",secondary:"bg-white/30","secondary-light":"bg-secondary-light"},Vt=g((({iconBgVersion:e="primary",...t})=>u("div",{className:x("rounded-icon p-2.5 mr-3",zt[e]),children:u(te,{...t})}))),Mt=e=>e?"ArrowUpSolidIcon":"ArrowDownSolidIcon",Ot=g((({className:e="",label:t="Развернуть",labelIcon:i,isExpanded:n,isFoldButtonOnTop:r=!0,version:l="primary",...a})=>u($,{className:x("w-full","",e),tag:"div",version:"transparent",...a,children:u(lt,{isFoldButtonOnTop:r,unfoldedByDefault:n,renderFoldableSection:({isUnfolded:e})=>u(at,{className:x("gap-5 [&>*]:p-0","flex flex-wrap group-last:last:pb-0"),isUnfolded:e,children:k(a)}),renderFoldButton:({isUnfolded:e,onToggle:n})=>Ht({version:l,label:t,labelIcon:i,isUnfolded:e,onToggle:n})})})));Ot.childrenTypes={exclude:["RollupItem"]};const Ht=({version:e,label:t,labelIcon:i,isUnfolded:n,onToggle:r})=>{const l=t||(n?"Скрыть":"Развернуть");return"primary"===e?Et({label:l,labelIcon:i,icon:Mt(n),onToggle:r}):u(Dt,{label:l,icon:n?"ArrowUpIcon":"ArrowDownIcon",onClick:r})},Et=({label:e,icon:t,onToggle:i,labelIcon:n})=>{const r=String(n?.size?.width||24),l=String(n?.size?.height||24),a=n?.icon;return p("button",{className:x("border-none bg-transparent px-0 flex justify-between items-center w-full cursor-pointer group/button",a?"py-2":"py-5"),onClick:i,children:[p("div",{className:"flex items-center group-hover/button:text-primary-main",children:[a?u(Vt,{name:a,width:r,height:l,iconVersion:n?.iconVersion}):null,e?u(ht,{size:"text-l",font:"font-normal",children:e}):null]}),t?u(te,{name:t,iconVersion:"normal",width:"24",height:"24"}):null]})},Ft=g((({className:e="",items:t,hasButton:i})=>p("div",{className:e,children:[t?.length?t.map(Ut):null,i?u(ke,{version:"primary",className:"mb-6 w-full",href:"https://www.rshb.ru/feedback/question/",target:"_blank",ariaLabel:"Обратная связь",text:"Обратная связь"}):null]}))),Ut=(e,t)=>{const{type:i,text:n,description:r}=e;return p("div",{className:"mb-4",children:[u("div",{children:Xt(i,n)}),u("div",{className:"mt-1 text-s-light text-secondary-text",children:r})]},String(t))},Xt=(e,t="")=>{switch(e){case"tel":return u("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${Jt(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})}},Jt=e=>e.replaceAll(/\D/g,""),Gt=g((({className:e="",index:t,text:i,...n})=>{const r=me(),{href:l,target:a,onClick:s}=r(n);return u("a",{className:x("",e),href:l,target:a,onClick:s,children:i||`Документ ${t}`})})),Wt=g((({title:e,links:t,className:i=""})=>p("div",{className:i,children:[u(ht,{size:"text-h6",children:e}),t?.length?u("div",{className:"flex flex-col gap-6 mt-7",children:t.map(((e,t)=>u(Gt,{index:t,...e},String(t))))}):null]}))),Yt=g((({className:e="",index:t,...i})=>{const n=me({isRemote:!0}),{href:r,target:l,text:a,onClick:s}=n(i);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:r,target:l,onClick:s,children:a||`Документ ${t}`})})),Kt=g((({className:e="",links:t})=>p("div",{className:e,children:[u("div",{className:"pt-4 xl:pt-5",children:u(ht,{size:"text-s",color:"text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?u("div",{className:"flex justify-start items-start gap-5 pt-4",children:t.map(((e,t)=>u(Yt,{index:t,...e},String(t))))}):null]}))),qt=g((({className:e="",...t})=>{const i=t.options?.page?.fallback,n=Pt(d.SITEMAP||"sitemap",i),{documents:r,relatedEnterprises:l,contacts:a,socialMedia:s,horizontalNavigationTitle:o}=Pt(d.FOOTER||"footer",i);return p($,{tag:"footer",className:x("px-4 py-6",e),...t,children:[u("div",{className:"mb-4 pb-5 border-b border-main-divider",children:n.topItems?.map(((e,t)=>u(Ot,{label:e?.text,labelIcon:e?.icon,children:u(Lt,{items:e.items,className:"my-3"})},String(t))))}),u(Ft,{className:"overflow-hidden",items:a}),u(Ze,{className:"mb-4",media:s}),u(ke,{className:"w-full mb-4",text:"Google Play",version:"secondary",href:"/",target:"_blank"}),u(Wt,{className:"pt-4 pb-7 border-y border-main-divider",title:o,links:l}),u(Kt,{})]})})),Qt={"bg-white":"color",transparent:"white"},Zt={"bg-white":"text-primary-main",transparent:"text-white"},ei=(e,t,i)=>u(de,t?.src?{image:t,className:Zt[e],width:i?.width,height:i?.height,pathPrefix:"/wcms-resources/"}:{image:{icon:t?.icon||"LogoIcon",iconVersion:Qt[e]},className:Zt[e],width:i?.width,height:i?.height}),ti={"bg-white":"text-primary-text",transparent:"text-white"},ii=(e,t,i)=>u("span",{className:`${ti[t]} ml-2.5 font-medium ${i||""}`,children:e||"Россельхозбанк"}),ni=g((({bgColor:e="bg-white",children:t,className:i="",href:n,logo:r,showTitle:l=!0,targetBlank:a})=>p("a",{className:`inline-flex items-center font-sans no-underline ${i}`,href:n||"https://rshb.ru/",target:a?"_blank":"_self","aria-label":r?.title||"Россельхозбанк",children:[ei(e,r?.image,{width:"34",height:"34"}),l?ii(t||r?.title,e,"text-s"):null]}))),ri={default:"px-5 bg-main-divider rounded hover:text-primary-main",transparent:"text-white hover:text-primary-hover"},li=g((({bgColor:e,logo:t,internetBankUrl:i,version:n,mobileHeaderType:r,mobileTitle:l,mobileBackwardButtonTitle:a})=>{const s="none"===r,o="withTitle"===r;return p("div",{className:"flex items-center justify-between w-full",children:[s||o?u(ni,{bgColor:e,logo:t,showTitle:s}):null,o?l:null,"backwardButton"===r?p(ke,{className:"flex items-center text-l",children:[u(de,{className:"w-6 h-6",image:{icon:"ChevronLeft",iconVersion:"black"}}),a]}):null,i?u(ke,{href:i,ariaLabel:"Войти",target:"_blank",className:x("p-3 my-1 text-s whitespace-nowrap text-primary-main hover:text-primary-hover",ri["transparent"===n?"transparent":"default"]),children:"Войти"}):null]})})),ai={"bg-white":"primary",transparent:"transparent"},si=g((({bgColor:e="bg-white",version:t=ai[e],mobileHeaderType:i="none",...n})=>{const r=n.options?.page?.fallback,{logo:l,internetBankUrl:a}=Pt(d.SITEMAP||"sitemap",r);return u($,{tag:"header",version:t,...n,children:u("div",{className:"container px-4 py-1 box-border",children:u(li,{bgColor:e,logo:l,internetBankUrl:a,version:t,mobileHeaderType:i,...n})})})})),oi=g((e=>{const{className:t,image:i,...n}=e;return u($,{className:t,...n,children:u(de,{image:i})})})),ci=g((({doc:e,icon:t})=>{const{text:i,fileSize:n,...r}=e;return p("a",{className:"flex box-border gap-3 group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main",role:"link",...r,children:[t,i?p(ht,{size:"text-l",font:"font-light",children:[i,u(ht,{color:"text-secondary-text",children:r?.href&&di(hi(r.href),n)})]}):null]})})),di=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),hi=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},mi=g((({className:e="",title:t,description:i,icon:n={icon:"DocDownloadIcon",iconVersion:"black"},documents:r,align:l,...a})=>p($,{className:x("p-default",e),...a,children:[u(it,{isPadding:!1,title:t,description:i,align:l,headlineVersion:"M",as:"h2"}),r?.length?u("div",{className:"mt-5 flex flex-col gap-6",role:"list",children:r.map(((e,t)=>u("div",{role:"listitem",children:u(ci,{doc:e,icon:n?u(de,{className:"min-w-11 min-h-11 h-fit p-2.5 bg-main-divider rounded-md",image:n,width:"24",height:"24"}):null})},String(t))))}):null]}))),ui=g((({className:e="",title:t="Мобильное приложение",description:i,href:n="#"})=>u("div",{className:x("col-span-12 rounded-md cursor-pointer p-4 bg-secondary-light font-sans",e),children:n?p("div",{className:"flex",children:[u("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-12 h-12",children:u(ni,{className:"w-8",bgColor:"transparent",showTitle:!0})}),p("a",{href:n,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:i})]})]}):null}))),pi=e=>{const t="col-span-",i=e?.split(/\s+/).find((e=>e.startsWith(t)));return i?parseInt(i.substring(t.length),10):12};function gi(e=""){const t=pi(e);return t<=4?"S":t<=8?"M":"L"}function bi(e=""){const t=pi(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function xi(e=""){const t=pi(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const fi=g((({className:e,title:t,description:i="Блок в разработке...",...n})=>p($,{className:x("p-9 box-border",e,xi(e),bi(e)),...n,children:[u(it,{className:"!p-0 max-w-[600px]",title:t,description:i,headlineVersion:gi(e)}),u("figure",{className:"m-0 min-w-[80%]",children:yi()})]}))),yi=(e=3)=>Ni(100,e).map((e=>Math.floor(e))).map(vi),vi=(e,t)=>u("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),Ni=(e,t)=>[e].concat(t>0?Ni(e/1.618,t-1):[]),wi=g((e=>{const{__html:t="",richVersion:i=""}=e;return u("div",{className:x(i,"md-container"),dangerouslySetInnerHTML:{__html:t}})})),ki=g((({className:e,title:t="",insetTitle:i="",buttons:n,leftImage:r,rightImage:l,backImage:a,children:s})=>p("div",{className:x("relative flex flex-col font-sans",e),children:[a?u("div",{className:"absolute bottom-0 right-0 z-0",children:a}):null,t,p("div",{className:"grow relative flex flex-wrap sm:flex-nowrap justify-between items-stretch gap-8",children:[Ci(r),p("div",{className:x("flex flex-col gap-8",r?"":"grow"),children:[i,u("div",{className:"grow",children:s}),n]}),Ci(l,{className:"-order-1 sm:order-1"})]})]}))),Ci=(e,{className:t}={})=>e?u("div",{className:x("flex-none",t),children:e}):null,Ti=g((({className:e,icon:t,label:i,description:n,version:r="primary",benefitsVersion:l="normal"})=>p("div",{className:x("flex gap-5",n?"items-start":"items-center",e),children:[t?u("div",{className:_i(r,l),children:u(de,{className:"w-6 h-6",image:{...t,iconVersion:t.iconVersion||l}})}):null,p("div",{children:[i?u(ht,{size:"text-h6",color:"text-primary-text group-data-secondary:text-white",children:i}):null,n?u(et,{size:"text-m-light",color:"text-secondary-text group-data-secondary:text-white",children:n}):null]})]})));function _i(e,t){let i="bg-primary-main text-black";return"secondary"===e?i="bg-white/30 text-black":"normal"===t&&(i="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 ${i}`}const Si=(e="primary",t="normal")=>(i,n)=>u(Ti,{version:e,benefitsVersion:t,...i},String(n)),Ii=g((({className:e,version:t="primary",headlineVersion:i="L",title:n,description:r,benefits:l,benefitsVersion:a,items:s,isDotted:o=!0,__html:c,buttons:d,image:h,directionRight:m=!0})=>{const g=l?.filter((e=>e.label)),b=h?.src?u(de,{className:"mt-[-50px]",image:h}):null;return p(ki,{className:e,insetTitle:u(it,{className:"max-w-[600px] xl:max-w-[728px]",title:n,description:r,headlineVersion:i,align:"text-left",isPadding:!1}),...m?{rightImage:b}:{leftImage:b},buttons:ot(d),children:[g?.length?u("div",{className:"flex flex-wrap gap-6",children:g.map(Si(t,a))}):null,c?u("div",{className:"mt-5",children:u(wi,{__html:c})}):null,s?.length?u(Ge,{className:"mt-5",items:s,isDotted:o}):null]})}));function Ri({text:e,href:t,target:i,icon:n},r){const l="primary"===r?"white":"black",a={text:e,href:t,target:i,ariaLabel:e};return p("div",{className:"flex items-center gap-3",children:[u(ke,{className:"w-12 h-12 min-h-12 min-w-12 flex items-center justify-center",version:r,rounded:!0,...a,children:u(de,{className:"w-4 h-4",image:{...n,icon:n?.icon||"ArrowLeftIcon",iconVersion:n?.iconVersion||l}})}),u(ke,{version:"link",...a})]})}const $i=g((({className:e,backwardButton:t,...i})=>p($,{className:x("overflow-hidden p-default flex flex-col gap-10 box-border",e),...i,children:[t?.text?Ri(t,i.version&&"primary"!==i.version?"white":"primary"):null,u(Ii,{className:"grow",...i})]}))),Ai=g((({className:e="",slides:t=[],...i})=>{const n=t.map((e=>e.productBlock));return u($,{className:`box-border py-6 overflow-hidden relative w-100 mb-6 ${e}`,...i,children:u(xt,{gap:0,padding:0,children:n.map(((e,t)=>ji({...e,...i},t)))})})})),ji=(e,t)=>u(Ii,{className:"z-10 px-5 group-data-secondary:text-white",...e},String(t)),Pi=g((e=>{const{__html:t,richVersion:i,...n}=e;return u($,{...n,children:u(wi,{__html:t,richVersion:i})})}));function Li(e){throw new Error(e)}const Bi={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-12 w-12 min-w-12 min-h-12"},Di={normal:"min-h-[70px]",small:"min-h-12"},zi={description:"text-white/80 text-l-light group-data-primary:text-secondary-text group-data-gray:text-secondary-text",iconText:"text-white group-data-primary:text-secondary-text group-data-gray: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"},Vi=g((({className:e="",title:t,description:i,showLines:n=!0,steps:r,size:l="normal",version:a="primary",...s})=>p($,{className:`box-border px-4 py-6 flex flex-col ${e}`,version:a,...s,children:[t?u(Me,{headingType:"h3",className:"text-center",title:t}):null,i?u("p",{className:`text-m-light text-center ${zi.description} ${t?"mt-2":""}`,children:i}):null,r?.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:r.map(Mi(l,a,n))})}):null]}))),Mi=(e,t,i)=>(n,r,l)=>{const{type:a}=n;if("default"!==a&&"rte"!==a)return null;switch(a){case"default":return Oi(e,t,i)(n,r,l);case"rte":return u(wi,{__html:n.__html});default:Li(n)}},Oi=(e,t,i)=>(n,r,l)=>{const a=l.length-1===r,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:[Hi(e,t)(n,r),a?null:u("div",{className:`min-h-8 h-full w-0.5 ${i?zi.iconConnector:""} ${s}`})]}),p("div",{className:`flex flex-col justify-center h-fit ${Di[e]}`,children:[n.label?u("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:n.label}):null,n.description?u("div",{className:`text-s ${zi.description} text-left`,children:n.description}):null]})]})},String(r))},Hi=(e,t)=>(i,n)=>{const r="normal"===e?"38":"27",l="secondary"===t?"white":"color";return u("div",{className:`${Bi[e]} ${zi.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=i?.icon,Boolean(a?.icon||a?.src)?u(de,{image:{...i.icon,iconVersion:i.icon?.iconVersion||l},width:r,height:r}):u("span",{children:n+1}))})});var a},Ei={Buttons:({buttons:e})=>ot(e,{className:"mt-3",buttonClassName:"w-12 h-12"}),Img:({image:e})=>e?.src?u(de,{image:{...e,className:"m-0"}}):null,List:({isDotted:e,...t})=>u(Ge,{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]})},Fi=g((({title:e,icon:t})=>p("div",{className:"flex gap-2.5 mb-2",children:[e?u(Me,{headingType:"h3",className:"font-medium",title:e}):null,t?u(de,{className:"ml-auto min-w-6",image:t,width:"24",height:"24"}):null]}))),Ui=g((({tile:e,...t})=>p("div",{className:"rounded-md border-gray h-full box-border border p-4",children:[u(Fi,{...e?.header}),e?.data?.length?e.data.map(((e,i)=>p("div",{children:[i>0?u("div",{className:"h-5"}):null,Xi(e,t)]},String(i)))):null]})));function Xi(e,t){if(!e||!e.tableCellType||!(e.tableCellType in Ei))return null;const i=Ei[e.tableCellType];return u(i,{displayTable:()=>null,isVisible:!0,...e,...t})}const Ji=g((({tiles:e,...t})=>e?.length?u(xt,{...t,children:e.map(((e,i)=>u(Ui,{tile:e,...t},String(i))))}):null)),Gi=g((({tiles:e,...t})=>e?.length?u("div",{className:"flex flex-col gap-3.5",children:e.map(((e,i)=>u(Ui,{tile:e,...t},String(i))))}):null)),Wi=g((({className:e,title:t,description:i,tariffsColumns:n,rowHeaders:r,orientation:l="vertical",...a})=>{const s=Yi(n),o=Ki(r,s);return p("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[t?u(Me,{headingType:"h2",className:`text-center ${i?"mb-2":"mb-5"}`,title:t}):null,i?u("div",{className:"mb-5 text-center text-m",children:i}):null,u("vertical"===l?Gi:Ji,{tiles:o,...a})]})})),Yi=e=>e?.[0]?.data?e[0].data:[],Ki=(e,t)=>e?.map(((e,i)=>({header:e,data:t?.[i]||[{}]}))),qi=g((({className:e="",title:t,description:i,iconVersion:n,image:r,__html:l,items:a=[],...s})=>p($,{className:x("px-9 py-4 flex gap-3 bg-white group-data-secondary:bg-primary-main/10",e),...s,children:["small"===n?u("div",{className:"mt-1",children:Qi()}):null,"big"===n?Zi(r):null,p("div",{className:"flex flex-col w-fit gap-3",children:[t?u(ht,{size:"text-l",font:"font-medium",color:"text-primary-text group-data-secondary:text-white",children:t}):null,i?en(i):null,a?.length?tn(a,!0):null,l?u(wi,{__html:l}):null]})]}))),Qi=()=>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"}),Zi=e=>e?.src?u(de,{className:"h-fit",image:e}):null,en=e=>u(et,{size:"text-s",color:"text-secondary-text group-data-secondary:text-white",children:e}),tn=(e,t)=>u("ul",{className:x("text-secondary-text group-data-secondary:text-white/80",t?"list-disc pl-6":""),children:e.map(((e,t)=>u("li",{children:u(ht,{size:"text-s",font:"font-light",children:e})},`listItem-${t}`)))}),nn={XXL:"gap-12",XL:"gap-10",L:"gap-8",M:"gap-4",S:"gap-2",XS:"gap-1","":""},rn={stretch:"items-stretch",left:"items-start",center:"items-center",right:"items-end"},ln=g((({className:e="",gap:t="",align:i="stretch",isPadding:n=!1,isInnerPadding:r=!0,version:l="transparent",isTheme:a=!1,...s})=>{const o=r?"":"!p-0";return u($,{className:x("relative","flex flex-col [&>*]:max-w-full",n?"p-default":"",nn[t],i&&rn[i],e),version:l,isTheme:a,...s,children:k({...s,renderProps:(e,t)=>v(e,t,{className:o})})})}));ln.childrenTypes=[];const an={Carousel:Pe,CarouselTariffsCard:ut,ComparisonTable:Tt,Footer:qt,Header:si,Headline:it,ImgBlock:oi,LinkDocs:mi,MobileAppTile:ui,Placeholder:fi,ProductBlock:$i,StepsBlock:Vi,TariffsTable:Wi,TextBlock:qi,RichTextBlock:Pi,RollupItem:Ot,VerticalLayout:ln,CarouselRecommendationCard:nt,CarouselProgramsCard:He,ProductGallery:Ai};function sn(e=!1){const[t,i]=n(e),r=l((()=>i(!0)),[]),a=l((()=>i(!1)),[]),s=l((()=>i((e=>!e))),[]);return[t,{setValue:i,setTrue:r,setFalse:a,toggle:s}]}const on=["Header","Footer"],cn=([,{target:e}])=>Math.abs(e.getBoundingClientRect().top);function dn(e=globalThis){const t=s(new Map);r((()=>I.subscribe("intersection",(({block:e,intersection:i})=>{t.current&&t.current.set(e,i)}))),[]),r((()=>{const i=((e,t=600)=>{let i;const n=(...r)=>{n.dispose(),i=setTimeout((()=>{e(...r)}),t)};return n.dispose=()=>{i&&clearTimeout(i)},n})((()=>{!function(e){const t=`#${i=e?.anchor,i?.replace("#","")||""}`;var i;globalThis.location?.hash!==t&&globalThis.history?.replaceState(globalThis.history?.state,"",t)}(globalThis.scrollY>3*globalThis.innerHeight/4?function(e){const t=e.filter((([e])=>!on.includes(e.type||""))).filter((([,{intersectionRatio:e}])=>e>.01)),[i]=t.length>0?F(cn)(t):[];return i}([...t.current||[]]):void 0)}),100);return e.addEventListener("scroll",i),()=>{i.dispose(),e.removeEventListener("scroll",i)}}),[e])}const hn=g((({className:e,onClick:t})=>u("button",{className:x("flex justify-center items-center w-12 h-12 p-1 bg-transparent border-none",e),onClick:t,title:"Закрыть",children:u(de,{image:{icon:"CloseIcon"},width:"24",height:"24"})})));function mn({onOpen:e,onClose:t}={}){r((()=>T.subscribe("dialog",(i=>{switch(i.type){case"open":e&&e(i);break;case"close":t&&t();break;default:Li(i)}}))),[e,t])}const un="cookieClose",pn=g((({termLink:e,personalDataPolicyLink:t})=>{const{isOpened:i,onClose:r}=function(e,t=!1){const[i,{setTrue:r,setFalse:a}]=sn(t),[o,c]=n({id:e}),d=s(i);d.current||=i,mn({onOpen:l((t=>{t.id===e?(c(t),r()):a()}),[e]),onClose:a});const h=l((()=>{a(),T.fire("dialog",{type:"close"})}),[]);return{...o,isOpened:i,wasOpened:d.current,onClose:h}}("cookie",!globalThis.localStorage?.getItem(un)),a=l((()=>{globalThis.localStorage?.setItem(un,"true"),r&&r()}),[r]);return i?u("div",{className:"container z-40 fixed bottom-0 left-0 right-0 pointer-events-none",children:p("div",{className:"bg-white m-6 p-6 rounded-md flex items-center pointer-events-auto shadow-[0_4px_25px_rgba(0,0,0,0.07)]",children:[u("div",{className:"flex-1",children:p(et,{size:"text-s-light",color:"text-primary-text",children:["АО «Россельхозбанк» использует",u(Oe,{isRemote:!0,className:x(gn(e?.href)),...e,children:"cookie"}),"(файлы с данными о прошлых посещениях сайта) для персонализации сервисов и удобства пользователей. Вы можете запретить сохранение cookie в настройках своего браузера.",u(Oe,{isRemote:!0,className:x(gn(t?.href)),...t,children:"Обработка Ваших персональных данных"}),"производится в соответствии с требованиями Федерального закона от 27.07.2006 № 152-Ф3 «О персональных данных»."]})}),u("div",{className:"w-24 flex justify-end",children:u(hn,{className:"bg-main-gray rounded-md",onClick:a})})]})}):null})),gn=e=>["inline mx-1",e?"text-green-dark":""],bn=m();const xn=g((({className:e,onClick:t,ariaLabel:i})=>u("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":i,children:fn()}))),fn=()=>{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"})]})},yn=g((({className:e=""})=>{const t=function(e){const[t,i]=n(0);return r((()=>{(async()=>{const[t]=await bn.getLikeCount(e);i(t?.value||0)})()}),[e]),{likeCount:t,like:l((async()=>{i(await bn.like(e))}),[e]),dislike:l((async()=>{i(await bn.dislike(e))}),[e])}}(G().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(xn,{onClick:he(t.like),ariaLabel:"Поставить отметку «лайк»"}),u(xn,{onClick:he(t.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),u("span",{className:"select-none",children:t.likeCount})]})})),vn=g((e=>{const{className:t="",blocksRegistry:i,blockDecorator:n,data:r={}}=e,{style:l,blocks:a,slots:s,likeControl:o,colorPalette:c="pc"}=r,d={key:"",page:r,blocksRegistry:i,blockDecorator:n,parent:r};dn();const[h,{setTrue:m,setFalse:g}]=sn();return mn({onOpen:m,onClose:g}),p("section",{className:x("relative",l,t,h?"overflow-hidden h-screen":""),"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(a,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(yn,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto"})}):null,u(pn,{termLink:{href:"/pd-policy#cookie",target:"_blank"},personalDataPolicyLink:{href:"/pd-policy",target:"_blank"}})]})}));vn.childrenTypes=[],vn.slots=()=>["header","footer"];e.Blocks=an,e.ContentPage=vn,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))))))(),i=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await i.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.LikeAPI=m,e.handlerDecorator=he,e.joinList=e=>t=>t.reduce(((t,i,n)=>t.length?t.concat({...e,key:`sep-${n}`},i):[i]),[]),e.packageVersion="0.11.2",e.projectSettings=d,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=q,e.useRouter=G,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 i=e=>(...i)=>t[e](...i),n=i("useState"),l=i("useEffect"),r=i("useCallback"),a=i("useMemo"),s=i("useRef");const o=e=>e&&!e.endsWith("/")?`${e}/`:e,c={PROD_BRANCH:"master"},d=new class{_=c;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||c.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 o(this._.CDN)}get BASE_PATH(){return o(this._.BASE_PATH)}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},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:i}=await e.json();return globalThis.localStorage?.setItem(m,JSON.stringify({token:t,name:i})),{token:t,name:i}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...t){if(!t.length)return[];const{token:i}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:i},body:JSON.stringify({node_ids:t})}),{likes:n}=await e.json();return n||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:i,name:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:i,UserID:n},body:JSON.stringify({node_id:t,user_name:n})}),{likes:l}=await e.json();return l||0}catch(e){return console.error(e),0}},dislike:async function(t){if(!t)return 0;const{token:i,name:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:i,UserID:n},body:JSON.stringify({node_id:t,user_name:n})}),{likes:l}=await e.json();return l||0}catch(e){return console.error(e),0}}}}const u=(...e)=>globalThis._uni._jsx(...e),g=(...e)=>globalThis._uni._jsxs(...e),p=e=>{const t=e;return t._tmpl||(t._tmpl=globalThis.__UNI_REACT__?e:b(e)),t._tmpl},b=e=>{function t(t,i){const{children:n,...l}=t||{},r=i?.slots?.default,a=n||r&&r();return e(Object.assign(l,a&&{children:a}),i)}return t.inheritAttrs=!1,t};class f{subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]=(this.subscribers[e]||[]).concat(t);const i=this.subjectsStateMap[e];return i&&t(i),()=>{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 x=new f;function v(e,{sensitivity:t,rootRef:i}={}){const n=s(null),r=a((()=>({threshold:y(t),root:i?.current})),[t,i?.current]);return l((()=>{if(!n.current)return;const t=new IntersectionObserver(e,r);return t.observe(n.current),()=>{t.disconnect()}}),[e,r]),n}function y(e=0){const t=Math.round(10*e);return new Array(t).fill(0).map(((e,i)=>Math.min(i/t)),1).concat(1)}const N=new f;const w=(...e)=>e.flatMap((e=>e)).filter(Boolean).join(" "),k={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","":""},C=p((({className:e,version:t="primary",isTheme:i=!0,defaultPadding:a="p-m",padding:s,block:o,tag:c="section",role:d,children:m})=>{const h=c,g=function(e){return v(r((t=>{if(!e||!t?.length)return;const i=t[t.length-1];N.fire("intersection",{block:e,intersection:i})}),[e]),{sensitivity:1})}(o),[p,b]=n(!1);l((()=>x.subscribe("tab",(e=>{b(Boolean(e.label&&o?.labels?.length&&!o.labels.includes(e.label)))}))),[o]);const f=t&&i;return u(h,{className:w("font-sans",f?"group":"",k[t],p?"hidden":"",s||a,e),...f?{"data-ver":t}:{},...o?.anchor?{id:o.anchor,ref:g}:{},role:d,children:m})}));function T(){return T._impl()}T._impl=()=>({href:globalThis.location?.href||"/",pathname:globalThis.location?.pathname||"/",query:{},push:()=>{},replace:()=>{}}),T.setup=e=>{T._impl=e};const _=e=>Boolean(e?.includes(":")),S=(e,t)=>Boolean(e&&!_(e)&&(!t||"_self"===t)),I=(...e)=>e.filter(Boolean).join("/").replace(/\/+/g,"/");var P=Object.freeze({__proto__:null,isURL:_,isLocalURL:S,isHash:e=>Boolean(e?.startsWith("#")),withoutQuery:e=>(e||"").replace(/\?.*/,"").replace(/\/$/,""),joinPath:I});const R=e=>(t,i=d.BASE_PATH)=>{if(!t||_(t)||A(t,d.CDN))return t;const n=t.startsWith("/");return I(A(t,i)?"":i,n?"/":e.pathname?.split("/").slice(0,-1).join("/"),t)},A=(e,t)=>t&&e&&e.startsWith(t),B={normal:"",color:"text-primary-main",black:"text-black",white:"text-black"},j=p((({className:e="",imageClassName:t="",name:i="",alt:n=`Иконка ${i}`,title:l=n,iconVersion:r="color",...a})=>{const s=T(),o=R(s)(I(d.CDN,"/icons",`${i}.svg`));return"normal"!==r?u(V,{className:e,children:g("svg",{className:w(L(a.width),B[r],"white"===r?"invert":"",t),...a,"aria-hidden":"true",children:[l?u("title",{children:l}):null,n?u("desc",{children:n}):null,u("use",{href:`${o}#icon`,xlinkHref:`${o}#icon`})]})}):(e.includes("h-")||(a.style={height:`${a.height}px`}),u("img",{className:e,src:o,alt:n,title:l,"aria-hidden":"true",...a}))})),L=e=>e?"":"w-full h-full",V=p((({className:e,children:t})=>e?u("div",{className:e,children:t}):t)),z=(e,t)=>e?.media&&t?.media?e.media-t.media:0,$=p((({className:e="",image:t,imageClassName:i="",pathPrefix:n})=>{const l=T();return g("picture",{className:e,children:[t?.sources?.length?t.sources.filter((e=>e?.src)).sort(z).map((({src:e,format:i,media:r},a)=>u("source",{srcSet:O(l,n)(e),type:M(i),media:r?`(max-width: ${r}px)`:"",...t.size},`${a}_${e}`))):null,t?.src?D({...t,src:O(l,n)(t.src)},i):null]})})),D=(e,t="")=>u("img",{src:e.src,className:w("object-contain",t),alt:e.alt||e.title,title:e.title||"",style:{width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"auto"},...e.size}),O=(e,t)=>i=>i&&!_(i)?R(e)(I(t,i)):i,M=e=>e?`image/${String(e)}`:void 0,F=p((({className:e="",image:t,imageClassName:i="",pathPrefix:n,...l})=>t?.src||t?.icon?t.icon?u(j,{className:e,imageClassName:i,iconVersion:t?.iconVersion,name:t.icon,...l}):u($,{className:e,imageClassName:i,image:t,pathPrefix:n}):null)),H=(e,t)=>H._impl(e,t);function E(e={}){const{isRemote:t,basePath:i}=e,n=T(),{close:l}=((e="")=>({open:t=>x.fire("dialog",{type:"open",id:e,message:t}),close:()=>x.fire("dialog",{type:"close"})}))();return e=>({...e,href:t&&!i?e.href:R(n)(e.href,i),"aria-label":e.text,onClick:H(r(e),e)});function r({href:e,target:i,onClick:r}){return a=>{r&&r(a),e&&!t&&S(e,i)&&(l(),a?.preventDefault(),n.push(e))}}}H._impl=e=>e,H.setup=e=>{H._impl=e};const U={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","":""},X="bg-main-divider text-main-disabled",J={primary:X,secondary:X,white:X,link:"",transparent:"",gray:X,"":""},G="text-center font-sans select-none",Y={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","":""},W=p((e=>{const{text:t,aboveText:i,appendLeft:n,appendRight:l,version:r="primary"}=e;return g("div",{className:w(K(e),"flex gap-2"),children:[n?u("div",{className:Y[r],children:n}):null,q(e)?g("div",{children:[i?u("div",{className:"text-xs-light text-left",children:i}):null,u("div",{className:"text-left "+(i?"text-s -mt-0.5":"text-l"),children:t})]}):null,l?u("div",{className:Y[r],children:l}):null]})})),K=e=>{const{version:t,aboveText:i,rounded:n}=e;if("link"===t)return"";const l=""+(i?"py-2.5 px-9":"py-4 px-9");return["group/btn items-center justify-center",q(e)?l:"h-12 w-12",n?"rounded-full":""].join(" ")},q=({text:e,aboveText:t,appendLeft:i})=>Boolean(e||t||!i),Q=({className:e,rounded:t,version:i})=>["inline-block",G,i?J[i]:"",t?"rounded-full":"rounded-md",e].join(" "),Z=({className:e,rounded:t,version:i})=>[G,"border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border h-fit",i?U[i]:"",t?"rounded-full":"rounded-md",e].join(" "),ee=p((({disabled:e,children:t,...i})=>{const n=E()(i),l=t??u(W,{...n});return u(e?ie:te,{...n,children:l})})),te=p((({className:e="",href:t,rel:i,target:n,ariaLabel:l,version:r,rounded:a,onClick:s,children:o})=>u("a",{className:Z({className:e,version:r,rounded:a}),href:t,rel:i,target:n,"aria-label":l,role:t?"link":"button",onClick:s,children:o}))),ie=p((({className:e,ariaLabel:t,version:i,rounded:n,children:l})=>u("div",{role:"button","aria-disabled":"true","aria-label":t,tabIndex:-1,className:Q({className:e,rounded:n,version:i}),children:l}))),ne=(e,{className:t,buttonClassName:i,isVertical:n}={})=>e?.length&&e.some((e=>e?.text||e?.icon?.icon))?u("div",{className:w("flex",n?"flex-col gap-xs justify-items-stretch":"flex-wrap gap-s",t),children:e.map(le(i))}):null,le=(e="")=>(t,i)=>{const{text:n,icon:l,iconRight:r,version:a,...s}=t||{},o="secondary"===a?"color":"white",c=l?.iconVersion?l?.iconVersion:o;return n||l?.icon?u(ee,{className:w("basis-full sm:basis-auto",e),appendLeft:re({...l,iconVersion:c}),appendRight:re({...r,iconVersion:c}),version:a,text:n,...s},i?String(i):""):null},re=e=>e?.icon||e?.src?u(F,{image:e,width:String(e?.size?.width||24),height:String(24)}):null,ae=p((({buttons:e,className:t,...i})=>u(C,{className:w("!bg-transparent",t),defaultPadding:"p-0",...i,children:ne(e)}))),se=e=>e,oe=(e=0)=>(t=0)=>new Intl.NumberFormat("ru-RU",{minimumFractionDigits:0,maximumFractionDigits:e}).format(Number(t)||0),ce=p((({children:e,...t})=>u("span",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),de=p((({key:e,className:t="",inputClassName:i="",id:n,name:l,type:a="text",label:s,placeholder:o,value:c="",valid:d=!0,children:m,onChange:h,onFocus:p,onBlur:b,pattern:f})=>{const x=r((e=>{h&&h(e.target?.value||"")}),[h]),v=m?"pr-8":"",y=d?"border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text":"border-error";return g("div",{className:w("relative",t),children:[g("label",{children:[s?u("div",{className:"mb-2",children:u(ce,{size:"text-m",font:"font-light",children:s})}):null,u("input",{className:w("w-full border rounded-md text-primary-text outline-none p-4",v,y,i),id:n,name:l||n,placeholder:o,type:a,value:c,onInput:x,onFocus:p,onBlur:b,pattern:f},e)]}),m]})})),me=p((e=>{const{onChange:t,min:i,max:l,defaultValue:a="0",fractionDigits:s=0,...o}=e,c=((e,{normalize:t,format:i})=>{const{value:l,onFocus:a,onBlur:s,onChange:o}=e,[c,d]=n(!1),m=r((e=>{d(!0),a&&a(e)}),[]),h=r((()=>{d(!1),o&&o(t(l)),s&&s()}),[o,l]);return{value:c||!i?l:i(l),onFocus:m,onBlur:h}})(e,{normalize:(e=a)=>i&&l?String(((e,t,i)=>Math.max(t,Math.min(e,i)))(Number(he(e)),i,l)):he(e),format:oe(s)}),d=r((e=>t&&t(he(e))),[t]);return u(de,{onChange:d,...o,...c})})),he=(e="")=>e.replaceAll(",",".").replace(/[^\d.]/g,"").replace(/([^.]*\.[^.]*)\./,"$1"),ue=p((e=>u(me,{...e,fractionDigits:2,children:u("div",{className:"absolute right-4 bottom-4",children:u(ce,{size:"text-xl",font:"font-light",children:"₽"})})}))),ge={h1:"h1",h2:"h1",h3:"h2",h4:"h2",h5:"h3",h6:"h3"},pe={h0:"text-h0",h1:"text-h1",h2:"text-h2",h3:"text-h3",h4:"text-h4",h5:"text-h5",h6:"text-h6"},be=p((({className:e="",headingType:t="h3",as:i="h3",title:n,children:l})=>{const r=ge[i]||"h3";return u(r,{className:w("font-sans m-0",pe[t],e),children:n||l})})),fe="amount",xe={[fe]:1500},ve=p((({className:e="",title:t="Укажите сумму перевода",label:i="Сумма перевода",placeholder:l="1500",button:a,...o})=>{const[{amount:c},{field:d}]=((e,t)=>{const[i,l]=n(e),[a,o]=n(!1),[c,d]=n({}),m=s({}),h=r(((e,t)=>{const{parse:n=se,format:r=se}=t||{};return m.current||(m.current={}),m.current[e]||=t=>{l((i=>({...i,[e]:n(t)}))),d((t=>({...t,[e]:!0})))},{value:r(i[e]),isDirty:a||c[e],onChange:m.current[e]}}),[i,a,c]),u=r((()=>{l(e),o(!1),d({})}),[e]),g=r((e=>{e.preventDefault(),o(!0),t&&t(i)}),[t,i]);return[i,{isDirty:a||Object.values(c).some(Boolean),field:h,reset:u,onSubmit:g}]})(xe),m=c<=0,h=m?Q({version:a?.version}):Z({className:"text-white",version:a?.version}),p=E();return g(C,{className:w("flex flex-col items-center",e),defaultPadding:"p-default",...o,children:[t?u(be,{className:"pb-5 xl:pb-9 self-start xl:self-center",headingType:"h2",title:t}):null,g("form",{className:"w-full xl:max-w-[468px]",method:"POST",action:"https://www.rshb.ru/p2p/",children:[u(ue,{name:fe,valid:!m,placeholder:l,label:i,...d(fe,{parse:Number,format:String})}),a?.text?u("button",{type:"submit",className:w("w-full p-4 mt-5 xl:mt-6",h),disabled:m,...p(a),children:a.text}):null]})]})})),ye=({blockClassName:e,block:t,render:i})=>i({blockClassName:e,block:t}),Ne=[];function we(e,t,{className:i,...n}={}){const{key:l,blockDecorator:r=ye,blocksRegistry:a={},ancestors:s=Ne}=t,{type:o}=e;o&&o in a||console.warn(`No block with "${o}" is registered`);const c=o&&a[o];return r({blockClassName:w("scroll-mt-12",i,e.style||"col-span-12"),block:e,ancestors:s,render:({block:i,blockClassName:r})=>{const{content:a}=i;return c?u(c,{className:r,block:e,options:t,...a,...n},l):null}},l)}const ke=[],Ce=(e,{key:t,ancestors:i=ke,slotName:n=null,renderProps:l=we,...r})=>(e||[]).map(((e,a)=>l(e,{...r,key:`${t||e.type}-${a}`,ancestors:r.parent?[...i||ke,[r.parent,n]]:i})));function Te({children:e,block:t,options:i,renderProps:n}){return e||(t&&i?Ce(t.blocks,{...i,parent:t,renderProps:n}):null)}const _e=e=>({height:"calc(100vh - 242px)",minHeight:`${e||866}px`}),Se=p((({className:e="",style:t,idx:i,activeIndex:n,observerOptions:l,children:a,onIntersection:s})=>{const o=v(r((e=>{e.length&&s&&s(i||0,e[e.length-1])}),[s,i]),l);return u("div",{className:`inline-block snap-always box-border ${e}`,style:t,"aria-current":Boolean(i===n),ref:o,children:a})})),Ie=["min-w-[100%]","min-w-[50%]","min-w-[33.33%]","min-w-[25%]"],Pe=p((({className:e="",containerRef:t,activeIndex:i,visibleItemCount:n=0,gap:l=0,padding:a=0,listType:o="horizontal-list",snapAlign:c="snap-center",minHeight:d,children:m,onVisibleItemsChange:h,onVisibleIndicesChange:g})=>{const p={sensitivity:1,rootRef:t},b=s([]),f=r(((e,t)=>{const i=[...b.current||[]];i[e]=t,b.current=i,h&&h(i),g&&g(Ae(i))}),[h,g]),x=n>0?l*Number(n)-1:0,v="vertical-list"===o,y="horizontal-list"===o,N={...y?Re(a,x):{},...v?_e(d):{},gap:`${l}px`};return u("div",{className:w("box-border overflow-auto no-scrollbar",o,e),style:N,ref:t,children:(k=(e,t)=>u(Se,{className:w(c,n?Ie[n-1]:"",v?"h-full":""),style:y?Re(a/4):{},activeIndex:i,idx:t,observerOptions:p,onIntersection:f,children:e},String(t)),e=>null==e?e:Array.isArray(e)?e.map(k):k(e,0))(m)});var k})),Re=(e,t=0)=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e+t}px`}),Ae=e=>e.map(((e,t)=>[e,t])).filter((([e])=>e&&e.intersectionRatio>=.9)).map((([,e])=>e)),Be={"horizontal-list":"mx-auto mt-5 w-fit","vertical-list":"absolute flex-col justify-center h-full top-0 left-4"},je={"horizontal-list":"w-6","vertical-list":"h-6"},Le=p((({containerRef:e,activeIndex:t,dotCount:i=0,listType:n="horizontal-list",version:l})=>i?u("div",{className:w("flex gap-2",Be[n],l?"group":""),...l?{"data-ver":l}:{},children:new Array(i).fill(null).map(((i,l)=>u("div",{className:`cursor-pointer rounded-full transition-width duration-300 bg-primary-main group-data-secondary:bg-white group-data-transparent:bg-white ${l===t?je[n]:"w-2 h-2 opacity-30"}`,role:"button","aria-hidden":!0,onClick:()=>(i=>{i!==t&&e?.current&&e.current.children[i]?.scrollIntoView({behavior:"smooth",block:"nearest"})})(l)},String(l))))}):null)),Ve=e=>e,ze=(e=Ve)=>t=>t.reduceRight(((t,i)=>e(t)>e(i)?t:i)),$e=(e=Ve)=>ze((t=>-e(t))),De=e=>t=>e.scrollWidth/t,Oe=e=>(t,i)=>{e.scrollBy({left:i*De(e)(t),behavior:"smooth"})},Me=({itemCount:e,isCyclic:t,onVisibleIndicesChange:i})=>{const l=s(null),[a,o]=n([]),c=r((e=>{o((t=>{return(i=t)===(n=e)||Boolean(i&&n&&i?.length===n?.length&&i.every(((e,t)=>e===n[t])))?t:e;var i,n})),i&&i(e)}),[e]),[d,m]=a.length?[$e()(a),ze()(a)]:[-1,-1],h=d>0,u=m<e-1,g=r((()=>{var i;l.current&&(t&&!h?(i=l.current).scrollTo({left:i.scrollWidth,behavior:"smooth"}):Oe(l.current)(e,-1))}),[t,e,h]),p=r((()=>{l.current&&(t&&!u?l.current.scrollTo({left:0,behavior:"smooth"}):Oe(l.current)(e,1))}),[e,t,u]);return[l,{scrollLeft:g,scrollRight:p,canScrollLeft:t||h,canScrollRight:t||u,visibleIndicesRange:[d,m],handleVisibleIndicesChange:c}]},Fe=p((({className:e,disabled:t,...i})=>u(ee,{rounded:!0,className:`group/btn shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${t?"bg-secondary-light text-secondary-text":"bg-white text-primary-text hover:text-primary-main"} ${e||""}`,disabled:t,...i,children:u(F,{className:"w-4 h-4 min-w-4 min-h-4 rounded-full box-border",image:{icon:"ArrowLeftIcon",iconVersion:"black"},imageClassName:"group-hover/btn:text-primary-main",width:"16",height:"16"})}))),He=p((e=>u(Fe,{...e,ariaLabel:"Пролистать влево","data-block-control":"scroll-left"}))),Ee=p((e=>u(Fe,{...e,className:`${e.className||""} rotate-180`,ariaLabel:"Пролистать вправо","data-block-control":"scroll-right"}))),Ue="absolute top-[calc(50%-24px)] z-40",Xe="absolute top-0 bottom-0 z-40 w-[84px] pointer-events-none",Je=p((({scroll:e,arrowsPadded:t,isBlur:i,onScrollLeft:n,onScrollRight:l,hasEdgeBlocks:a,activeIndex:s,itemCount:o})=>{const{canScrollLeft:c,canScrollRight:d,scrollLeft:m,scrollRight:h}=e,p=a?s>0:c,b=a?s<o-1:d,f=r((()=>{a?(c&&s!==o-1&&m(),n()):m()}),[m,n,a,c,s,o]),x=r((()=>{a?(d&&0!==s&&h(),l()):h()}),[h,l,a,c,s,o]);return g("div",{children:[Ge(i,e),p?u(He,{className:w(Ue,t?"left-8":"left-0"),onClick:f}):null,b?u(Ee,{className:w(Ue,t?"right-8":"right-0"),onClick:x}):null]})})),Ge=(e,t)=>e?g("div",{children:[t.canScrollLeft?u("div",{className:w(Xe,"left-0 bg-opacity-from-white")}):null,t.canScrollRight?u("div",{className:w(Xe,"right-0 bg-opacity-to-white")}):null]}):null,Ye=p((({className:e="",itemCount:t,visibleItemCount:i,isBlur:l=!0,isCyclic:a=!1,arrowsPadded:s=!0,isPadding:o=!0,showDots:c=!1,isAlignCenter:d=!1,...m})=>{const{blocks:h=[]}=m.block||{},p=t||h?.length,[b,f]=n(Math.floor((i||0)/2)),x=r((()=>f((e=>e+1))),[]),v=r((()=>f((e=>e-1))),[]),[y,N]=Me({itemCount:p,isCyclic:a}),[k]=N.visibleIndicesRange,T=h&&"CarouselBankHistoryCard"===h[0]?.type;return u(C,{className:e,defaultPadding:We(o),...m,children:g("div",{className:w(Ke(d),"relative max-w-full"),children:[u(Pe,{containerRef:y,visibleItemCount:i,snapAlign:"snap-start",gap:16,onVisibleIndicesChange:N.handleVisibleIndicesChange,children:Te({...m,renderProps:T?(e,t)=>we(e,t,{blocksLength:h?.length,activeIndex:b}):we})}),u(Je,{scroll:N,isBlur:l,arrowsPadded:s,onScrollLeft:v,onScrollRight:x,hasEdgeBlocks:T,activeIndex:b,itemCount:p}),c?qe(y,k,p):null]})})}));Ye.childrenTypes=["CarouselCard","CarouselBankHistoryCard","CarouselCatalogCard","CarouselInvestmentCard","CarouselProductCard","CarouselProgramsCard","CarouselRecommendationCard","CarouselTariffsCard","CarouselRichTextCard","CarouselInvestmentCard","CarouselEventCard"];const We=e=>e?"p-default":"",Ke=e=>e?"flex justify-center":"",qe=(e,t,i)=>u(Le,{containerRef:e,activeIndex:t,dotCount:i,listType:"horizontal-list"}),Qe=p((({className:e="",href:t,target:i,isRemote:n=!1,children:l})=>{const r=E({isRemote:n})({href:t,target:i});return u(t?"a":"div",{className:w("block",e),...t?r:{},children:l})})),Ze=p((({className:e="",title:t,icon:i,list:n=[],href:l,target:r,...a})=>u(C,{className:w("border border-gray",e),defaultPadding:"p-0",...a,children:g(Qe,{className:"flex",href:l,target:r,children:[g("div",{className:"w-[200px] min-w-[200px] self-center",children:[i?.icon?u(F,{image:i}):null,i?.src?u(F,{image:i}):null]}),g("div",{className:"p-8 pl-3 w-full",children:[t?u(be,{className:"mb-3.5",headingType:"h5",title:t}):null,n.length?u("div",{className:"flex flex-col gap-3",children:n?.map(et)}):null]})]})}))),et=(e,t)=>g("div",{className:"break-words",children:[e.title?u("div",{className:"text-h6",children:e.title}):null,e.description?u("span",{className:"text-l-light mt-1",children:e.description}):null]},String(t)),tt={L:"w-1.5 h-1.5 mr-4",M:"w-1.5 h-1.5 mr-3",S:"w-1 h-1 mr-2"},it=p((({className:e,isDotted:t=!0,children:i,size:n="M"})=>g("div",{className:w("font-sans flex",e),role:"listitem",children:[t?u("div",{className:"shrink-0",children:u("div",{className:w("align-middle inline-block rounded-full bg-primary-text group-data-secondary:bg-white",tt[n])})}):null,u("span",{children:i})]}))),nt={S:"text-l-light",M:"text-h6",L:"text-h5"},lt={S:"ml-2",M:"ml-3",L:"ml-4"},rt=p((({className:e,hasIndent:t,isDotted:i,items:n,listItemSize:l="M"})=>n?.length?u("section",{className:w("flex flex-col gap-2 text-left text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text",nt[l],t?lt[l]:"",e),role:"list",children:n.map(((e,t)=>u(it,{isDotted:i,size:l,children:e},String(t))))}):null)),at={default:"w-24 h-14",small:"w-12 h-12"},st=(e,t)=>e?"":w("group/media flex items-center justify-center box-border",at[t]),ot=[{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"}],ct=p((({buttonSize:e="default",rounded:t=!1,icon:i,...n})=>{const{href:l,version:r,text:a=""}=n,{iconMapped:s,label:o}=ot.find((({origins:e})=>e.some((e=>l?.includes(e)))))||{},c=dt(i)??s;return u(ee,{className:w(t?"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",st(a,e)),"aria-label":o,rel:"noopener noreferrer",target:"_blank",text:a,version:r,...n,children:c&&!a?u(F,{image:c,imageClassName:"group-hover/media:text-white",width:"24",height:"24"}):null})})),dt=e=>e?.src||e?.icon?e:void 0,mt=p((({className:e="",media:t})=>u("div",{className:`flex gap-2 items-start justify-start ${e}`,children:t?.map(((e,t)=>u(ct,{...e},String(t))))}))),ht=p((({children:e,...t})=>u("p",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),ut={XXL:{title:{headingType:"h0",as:"h1"},descriptionSize:"text-h5",descriptionStyle:"mt-m"},XL:{title:{headingType:"h1",as:"h1"},descriptionSize:"text-xl-light",descriptionStyle:"mt-s"},L:{title:{headingType:"h2",as:"h2"},descriptionSize:"text-xl-light",descriptionStyle:"mt-s"},M:{title:{headingType:"h3",as:"h2"},descriptionSize:"text-xl-light",descriptionStyle:"mt-text"},S:{title:{headingType:"h4",as:"h2"},descriptionSize:"text-xl-light",descriptionStyle:"mt-xs"},XS:{title:{headingType:"h5",as:"h2"},descriptionSize:"text-l-light",descriptionStyle:"mt-xs"}},gt=p((({className:e,version:t="",headlineVersion:i="XL",title:n,description:l,align:r="text-center",as:a,isPadding:s=!0,isTheme:o=!1,...c})=>{const d=ut[i],m={marginTop:d.descriptionStyle};return g(C,{className:e,defaultPadding:s?"p-default":"",version:t,isTheme:o,...c,children:[n?u(be,{className:w("whitespace-pre-wrap",r),...d?.title,as:a||d?.title.as,title:n}):null,l?u(ht,{size:d.descriptionSize,align:r,...m,children:l}):null]})})),pt=p((({className:e="",description:t,href:i,icon:n,items:l=[],socialMedia:r=[],target:a,title:s,align:o="text-left",...c})=>u(C,{className:w("relative box-border group-data-gray:bg-main-divider/50","border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider",e),defaultPadding:"p-default",...c,children:g(Qe,{href:i,target:a,children:[u(gt,{className:"mb-2",title:s,description:t,headlineVersion:"S",isPadding:!1,align:o}),l.length?u(rt,{className:"flex flex-col gap-2",items:l,listItemSize:"S"}):null,bt(n),r.length?u(mt,{className:"mt-5",media:r}):null]})}))),bt=e=>e?.src||e?.icon?u("div",{children:u(F,{image:e})}):null,ft=p((({className:e="",isFoldButtonOnTop:t=!1,unfoldedByDefault:i=!1,renderFoldableSection:l,renderFoldButton:a})=>{const[s,o]=n(i),c=r((()=>{o((e=>!e))}),[]),d=l({isUnfolded:s,onToggle:c}),m=a?a({isUnfolded:s,onToggle:c}):null;return g("div",t?{className:e,children:[m,d]}:{className:e,children:[d,m]})})),xt=p((({className:e="",isUnfolded:t,children:i})=>{const n=s(null);return l((()=>{n.current&&(n.current.style.maxHeight=t?`${n.current.scrollHeight}px`:"")}),[t,i?.length]),u("div",{ref:n,className:`transition-max-h duration-300 overflow-hidden ${n.current||!t?"max-h-0":""} ${e}`,children:i})})),vt=(e=!1)=>e?"p-default mt-6":"mt-6 p-default",yt=(e,t)=>{const{title:i,description:n,buttons:l}=e;return g("div",{className:"py-5 border-b border-main-divider",children:[i?u("div",{className:"opacity-80",children:u(ce,{size:"text-m",color:"text-secondary-text",children:i})}):null,n?u("div",{className:"mt-1",children:u(ce,{size:"text-l",color:"text-primary-text",children:n})}):null,l?.length?u("div",{className:"text-primary-main",children:ne(l)}):null]},String(t))},Nt=p((({className:e="",title:t,icon:i,isHighlighting:n=!1,button:l,cardCells:r=[],...a})=>{const s=r.map(yt),o=s.slice(0,1),c=s.slice(1);return g(C,{className:w("relative border border-gray flex flex-col",e),defaultPadding:vt(n),...a,children:[n?Ct():null,wt(i),t?u(be,{className:"text-center pt-2",headingType:"h5",title:t}):null,l?u(ee,{className:"w-full mt-4",...l}):null,r.length?u(ft,{renderFoldableSection:({isUnfolded:e})=>g("div",{children:[o,u(xt,{isUnfolded:e,children:c})]}),renderFoldButton:r.length>1?kt:null}):null]})})),wt=e=>u("div",{className:"w-[267px] min-w-[267px] self-center",children:e?.src||e?.icon?u(F,{image:e}):null}),kt=({isUnfolded:e,onToggle:t})=>g("button",{className:"w-full cursor-pointer text-primary-main pt-5 flex justify-between items-center",onClick:t,children:[u("div",{children:e?"Скрыть":"Подробнее о тарифе"}),u(j,{className:"text-primary-text",name:e?"ArrowUpIcon":"ArrowDownIcon",width:"16",height:"16"})]}),Ct=()=>g("div",{className:"absolute -top-7 -right-4 h-[60px] w-[60px] bg-white flex flex-col items-center justify-center rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]",children:[u(j,{iconVersion:"black",name:"HeartIcon",width:"23",height:"22"}),u(ht,{size:"text-s",font:"font-normal",align:"text-center",color:"text-primary-text",children:"ХИТ"})]}),Tt=p((({className:e,version:t,gap:i=14,padding:n=16,showDots:l=!0,minHeight:r,children:a,onVisibleIndicesChange:s,listType:o="horizontal-list"})=>{const c=Array.isArray(a)?a.length:0,[d,m]=Me({itemCount:c,onVisibleIndicesChange:s}),[h]=m.visibleIndicesRange;return g("div",{className:w(e,"vertical-list"===o?"relative h-full":""),children:[u(Pe,{containerRef:d,activeIndex:h,visibleItemCount:1,gap:i,padding:n,onVisibleIndicesChange:m.handleVisibleIndicesChange,listType:o,minHeight:r,children:a}),l?u(Le,{containerRef:d,activeIndex:h,dotCount:c,listType:o,version:t}):null]})})),_t=(e=!1)=>e?"text-white":"",St=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),It=p((({icon:e,image:t,title:i,subtitle:n,isFillGradient:l})=>g("div",{role:"columnheader",children:[e?u(F,{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(F,{image:t})}),i?u(be,{headingType:"h4",className:_t(l),title:i}):null,n?u("div",{className:St(l),children:n}):null]}))),Pt=p((({cell:e,rowHeader:t,isFillGradient:i=!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(Rt(i,t))})}))),Rt=(e,t)=>({label:i,description:n},l)=>g("div",{className:"flex justify-between text-s py-3.5",children:[u("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),g("div",{className:"basis-1/2",children:[i?u("div",{className:"text-right "+(e?"text-white":""),children:i}):null,n?u("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:n}):null]})]},String(l)),At=p((({header:e,columnData:t,visibleRowLength:i=0,isFillGradient:n,showRow:l,onToggleColumn:r})=>{const a=t?.slice(0,l?t.length:i),s=n?"secondary":"primary";return g("div",{className:`border border-gray rounded-md p-4 mb-3.5 ${n?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[u(It,{...e,isFillGradient:n}),a?.length?a.map((({rowHeader:e,cell:t},i)=>u(Pt,{cell:t,rowHeader:e,isFillGradient:n},String(i)))):null,l&&e?.link?u(ee,{href:e.link.href,target:e.link.target,version:s,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}):null,Bt({onToggleColumn:r,isFillGradient:n,showRow:l})]})})),Bt=({onToggleColumn:e,isFillGradient:t,showRow:i})=>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:i?"Скрыть":"Показать описание"})}),jt=p((e=>{const{className:t,title:i}=e;return g("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${t||""}`,children:[i?u(be,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:i}):null,u("div",{role:"table",children:u(Lt,{...e})})]})})),Lt=p((({columns:e=[],rowHeaders:t,isColoredFirstColumn:i,visibleRowLength:l,orientation:a,...s})=>{const[o,c]=n(new Array(e.length).fill(!l)),d=r((e=>{const t=(t,i)=>i===e?!t:t;c((e=>e.map(t)))}),[]),m=r((()=>c((e=>new Array(e.length).fill(!1)))),[]),h=e?.map((({data:e,header:n},r)=>{return u(At,{visibleRowLength:l,showRow:o[r],header:n,columnData:(a=e,a?.map(((e,i)=>({cell:e,rowHeader:t?.[i]?.title})))),isFillGradient:0===r&&i,onToggleColumn:()=>d(r),...s},String(r));var a}));return"horizontal"===a?u(Tt,{onVisibleIndicesChange:m,children:h}):h})),Vt=e=>null!=e,zt=new Map;function $t(e,t,{fallback:i,cache:r}={}){const s=a((()=>Dt(e)),[e]),[o]=(e=>Boolean(e&&Array.isArray(e)&&1===e.length&&"string"==typeof e[0]))(s)?s:[],[c,d]=n(void 0),[m,h]=n(void 0);l((()=>{!s.some(Vt)||(async()=>{try{const e=await(o?((e,t=zt)=>i=>{const n=t.get(i);if(Vt(n))return n;const l=e(i);return Vt(l)?t.set(i,Promise.resolve(l)):t.delete(i),l})(t,r)(o):t(...s));d(e),h(void 0)}catch(e){d(void 0),h(e)}})()}),[t,r,s]);const u=i&&o&&i[o];return{data:!c&&u?u:c,error:m,mutate:()=>Promise.resolve(void 0),isValidating:!1}}function Dt(e){return Array.isArray(e)?e:e instanceof Function?Dt(e()):[e]}async function Ot(e,t){const i=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await i.json()}const Mt={};function Ft(e,t={}){const{data:i}=$t(`/wcms-resources/${e}.json`,Ot,{fallback:t});return i||Mt}const Ht=p((({className:e="",items:t})=>t?.length?u("ul",{className:w("flex flex-col p-0","",e),children:t.map(Et)}):null)),Et=(e,t)=>{const{text:i,...n}=e;return u("li",{className:"list-none mb-4 sm:mb-6 sm:last:mb-0",children:u("a",{className:"hover:text-primary-main sm:font-light",role:"link",...n,children:i||null})},`list_item_${String(t)}`)},Ut=p((({className:e="",label:t,icon:i,dataTheme:n="",disabled:l=!1,onClick:r})=>g("button",{className:w("flex justify-center w-full px-0 py-4 border border-transparent outline-none focus:border-primary-text",l?"bg-main-divider text-main-disabled hover:bg-main-divider":"bg-primary-main text-white hover:bg-primary-hove",e),onClick:r,disabled:l,"data-theme":n,children:[u("span",{className:"text-h4 pr-3",children:t}),i?u(F,{image:{icon:i,iconVersion:"white"},className:"flex-shrink-0 my-auto",width:"20",height:"20"}):null]}))),Xt=e=>e?"ArrowUpSolidIcon":"ArrowDownSolidIcon",Jt={primary:"bg-main-divider",secondary:"bg-white/30","secondary-light":"bg-secondary-light"},Gt=p((({iconBgVersion:e="primary",size:t,icon:i,...n})=>{const l=String(t?.width||24),r=String(t?.height||24);return i?u("div",{className:w("rounded-icon p-2.5",Jt[e]),children:u(j,{...n,width:l,height:r,name:i})}):null})),Yt=(e,t)=>u(Gt,{...e,iconBgVersion:t}),Wt=p((({className:e="",label:t="Развернуть",labelIcon:i,labelIconBgVersion:n,isExpanded:l,isFoldButtonOnTop:r=!0,version:a="primary",...s})=>u(C,{className:w("w-full","",e),defaultPadding:"p-0",tag:"div",version:"transparent",...s,children:u(ft,{isFoldButtonOnTop:r,unfoldedByDefault:l,renderFoldableSection:({isUnfolded:e})=>u(xt,{className:w("gap-5 [&>*]:p-0","flex flex-wrap group-last:last:pb-0"),isUnfolded:e,children:Te(s)}),renderFoldButton:({isUnfolded:e,onToggle:l})=>Kt({version:a,label:t,labelIcon:i,labelIconBgVersion:n,isUnfolded:e,onToggle:l})})})));Wt.childrenTypes={exclude:["RollupItem"]};const Kt=({version:e,label:t,labelIcon:i,labelIconBgVersion:n,isUnfolded:l,onToggle:r})=>{const a=t||(l?"Скрыть":"Развернуть");return"primary"===e?qt({label:a,labelIcon:i,labelIconBgVersion:n,icon:Xt(l),onToggle:r}):u(Ut,{label:a,icon:l?"ArrowUpIcon":"ArrowDownIcon",onClick:r})},qt=({label:e,labelIconBgVersion:t,icon:i,onToggle:n,labelIcon:l})=>g("button",{className:w("border-none bg-transparent px-0 flex justify-between items-center w-full group/button",l?.icon?"py-2":"py-5"),onClick:n,children:[g("div",{className:"flex items-center group-hover/button:text-primary-main",children:[Yt(l,t),e?u(ce,{size:"text-l",font:"font-normal",children:e}):null]}),i?u(j,{name:i,iconVersion:"normal",width:"24",height:"24"}):null]}),Qt=p((({className:e="",items:t,hasButton:i})=>g("div",{className:e,children:[t?.length?t.map(Zt):null,i?u(ee,{version:"primary",className:"mb-6 w-full",href:"https://www.rshb.ru/feedback/question/",target:"_blank",ariaLabel:"Обратная связь",text:"Обратная связь"}):null]}))),Zt=(e,t)=>g("div",{className:"mb-6",children:[u("div",{className:"mb-4",children:u(ce,{size:"text-l",font:"font-medium",children:e?.title})}),u("div",{children:e.items?.map(ei)})]},String(t)),ei=(e,t)=>g("div",{className:"mb-4",children:[u("div",{children:ti(e.type,e.text)}),u("div",{className:"mt-1 text-s-light text-secondary-text",children:e.description})]},String(t)),ti=(e,t="")=>{switch(e){case"tel":return u("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${ii(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})}},ii=e=>e.replaceAll(/\D/g,""),ni=p((({className:e="",index:t,text:i,...n})=>{const l=E(),{href:r,target:a,onClick:s}=l(n);return u("a",{className:w("",e),href:r,target:a,onClick:s,children:i||`Документ ${t}`})})),li=p((({title:e,links:t,className:i=""})=>g("div",{className:i,children:[u(ce,{size:"text-h6",children:e}),t?.length?u("div",{className:"flex flex-col gap-6 mt-7",children:t.map(((e,t)=>u(ni,{index:t,...e},String(t))))}):null]}))),ri=p((({className:e="",index:t,...i})=>{const n=E({isRemote:!0}),{href:l,target:r,text:a,onClick:s}=n(i);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:l,target:r,onClick:s,children:a||`Документ ${t}`})})),ai=p((({className:e="",links:t})=>g("div",{className:e,children:[u("div",{className:"pt-4 xl:pt-5",children:u(ce,{size:"text-s",color:"text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?u("div",{className:"flex justify-start items-start gap-5 pt-4",children:t.map(((e,t)=>u(ri,{index:t,...e},String(t))))}):null]}))),si=p((({className:e="",...t})=>{const i=t.options?.page?.fallback,n=Ft(d.SITEMAP||"sitemap",i),{relatedEnterprises:l,contacts:r,socialMedia:a,horizontalNavigationTitle:s}=Ft(d.FOOTER||"footer",i);return g(C,{tag:"footer",className:e,defaultPadding:"px-4 py-6",...t,children:[u("div",{className:"mb-4 pb-5 border-b border-main-divider",children:n.topItems?.map(((e,t)=>u(Wt,{label:e?.text,labelIcon:e?.icon,children:u(Ht,{items:e.items,className:"my-3"})},String(t))))}),u(Qt,{className:"overflow-hidden",items:r}),u(mt,{className:"mb-4",media:a}),u(ee,{className:"w-full mb-4",text:"Google Play",version:"secondary",href:"/",target:"_blank"}),u(li,{className:"pt-4 pb-7 border-y border-main-divider",title:s,links:l}),u(ai,{})]})})),oi={"bg-white":"color",transparent:"white"},ci={"bg-white":"text-primary-main",transparent:"text-white"},di=(e,t,i)=>u(F,t?.src?{image:t,className:ci[e],width:i?.width,height:i?.height,pathPrefix:"/wcms-resources/"}:{image:{icon:t?.icon||"LogoIcon",iconVersion:oi[e]},className:ci[e],width:i?.width,height:i?.height}),mi={"bg-white":"text-primary-text",transparent:"text-white"},hi=(e,t,i)=>u("span",{className:`${mi[t]} ml-2.5 font-medium ${i||""}`,children:e||"Россельхозбанк"}),ui=p((({bgColor:e="bg-white",children:t,className:i="",href:n,logo:l,showTitle:r=!0,targetBlank:a})=>g("a",{className:`inline-flex items-center font-sans no-underline ${i}`,href:n||"https://rshb.ru/",target:a?"_blank":"_self","aria-label":l?.title||"Россельхозбанк",children:[di(e,l?.image,{width:"34",height:"34"}),r?hi(t||l?.title,e,"text-s"):null]}))),gi={default:"px-5 bg-main-divider rounded hover:text-primary-main",transparent:"text-white hover:text-primary-hover"},pi=p((({bgColor:e,logo:t,internetBankUrl:i,version:n,mobileHeaderType:l,mobileTitle:r,mobileBackwardButtonTitle:a})=>{const s="none"===l,o="withTitle"===l;return g("div",{className:"flex items-center justify-between w-full",children:[s||o?u(ui,{bgColor:e,logo:t,showTitle:s}):null,o?r:null,"backwardButton"===l?g(ee,{className:"flex items-center text-l",children:[u(F,{className:"w-6 h-6",image:{icon:"ChevronLeft",iconVersion:"black"}}),a]}):null,i?u(ee,{href:i,ariaLabel:"Войти",target:"_blank",className:w("p-3 my-1 text-s whitespace-nowrap text-primary-main hover:text-primary-hover",gi["transparent"===n?"transparent":"default"]),children:"Войти"}):null]})})),bi={"bg-white":"primary",transparent:"transparent"},fi=p((({bgColor:e="bg-white",version:t=bi[e],mobileHeaderType:i="none",...n})=>{const l=n.options?.page?.fallback,{logo:r,internetBankUrl:a}=Ft(d.SITEMAP||"sitemap",l);return u(C,{tag:"header",defaultPadding:"",version:t,...n,children:u("div",{className:"container px-4 py-1 box-border",children:u(pi,{bgColor:e,logo:r,internetBankUrl:a,version:t,mobileHeaderType:i,...n})})})})),xi=p((e=>{const{className:t,image:i,...n}=e;return u(C,{className:t,defaultPadding:"p-0",...n,children:u(F,{image:i})})})),vi=p((({doc:e,icon:t})=>{const{text:i,fileSize:n,...l}=e;return g("a",{className:"flex box-border gap-3 group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main",role:"link",...l,children:[t,i?g(ce,{size:"text-l",font:"font-light",children:[i,u(ce,{color:"text-secondary-text",children:l?.href&&yi(Ni(l.href),n)})]}):null]})})),yi=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),Ni=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},wi=p((({className:e="",title:t,description:i,icon:n={icon:"DocDownloadIcon",iconVersion:"black"},documents:l,align:r,...a})=>g(C,{className:e,defaultPadding:"p-default",...a,children:[u(gt,{isPadding:!1,title:t,description:i,align:r,headlineVersion:"M"}),l?.length?u("div",{className:"mt-5 flex flex-col gap-6",role:"list",children:l.map(((e,t)=>u("div",{role:"listitem",children:u(vi,{doc:e,icon:n?u(F,{className:"min-w-11 min-h-11 h-fit p-2.5 bg-main-divider rounded-md",image:n,width:"24",height:"24"}):null})},String(t))))}):null]}))),ki={left:"text-left",center:"text-center",right:"text-right"},Ci={start:"self-start",center:"self-center",end:"self-end"},Ti=p((({className:e,defaultPadding:t,padding:i,title:n="",insetTitle:l="",buttons:r,leftImage:a,rightImage:s,imageAlign:o,backImage:c,children:d})=>g("div",{className:w("relative flex flex-col gap-lg font-sans overflow-hidden",i||t,e),children:[c?u("div",{className:"absolute bottom-0 right-0 z-0",children:c}):null,n?u("div",{className:"relative",children:n}):null,g("div",{className:"grow relative flex flex-wrap sm:flex-nowrap justify-between items-stretch gap-lg",children:[_i(a,{imageAlign:o}),g("div",{className:w("flex flex-col gap-lg max-w-[600px] xl:max-w-[728px]",a?"":"grow"),children:[l,u("div",{className:"grow",children:d}),r]}),_i(s,{className:"-order-1 sm:order-1",imageAlign:o})]})]}))),_i=(e,{className:t,imageAlign:i})=>e?u("div",{className:w("flex-shrink-0",i&&Ci[i],t),children:e}):null,Si=e=>e?u("div",{className:"mb-5 pt-0.5 sm:mb-0 sm:pt-0",children:u(ce,{size:"text-xl","font-weight":"light",children:e})}):null,Ii=e=>e?.length?u(rt,{items:e,className:"text-l-light mb-2 last:mb-0"}):u("span",{className:"text-m-light text-secondary-text",children:"Наведите камеру телефона на QR-код и скачайте приложение"}),Pi=p((({className:e,padding:t,alignTitle:i="left",buttons:n=[],description:l,headingType:r="h4",image:a,items:s,qr:o,title:c="Мобильное приложение",version:d="primary",...m})=>{const h="secondary"===d?"p-3.5 min-w-[120px]":"min-w-[92px]";return u(C,{className:w("min-h-80",e),defaultPadding:"p-0",version:d,...m,children:g(Ti,{className:"h-full",padding:t,defaultPadding:"p-default",title:c?u(be,{headingType:r,title:c,className:w("whitespace-pre-wrap",ki[i])}):null,backImage:a?.src?u(F,{image:a}):null,buttons:ne(n,{isVertical:n.length>3}),children:[Si(l),g("div",{className:"flex flex-1 gap-s items-center",children:[o?.src?u("div",{className:w("flex justify-center bg-white rounded-md",h),children:u(F,{className:"w-fit",image:o})}):null,Ii(s)]})]})})})),Ri=(e=[])=>e?.length?((e=[])=>e.reduce(((e,t)=>e+t),0))(e)/e.length:0,Ai=p((({className:e,icon:t,label:i,description:n,benefitsVersion:l="normal"})=>g("div",{className:w("flex gap-s",n?"items-start":"items-center",e),children:[t?u("div",{className:Bi(l),children:u(F,{className:"w-6 h-6",image:{...t,iconVersion:t.iconVersion||l}})}):null,g("div",{className:"gap-0.5",children:[i?u(ce,{color:"text-primary-text group-data-secondary:text-white",size:"text-l",children:i}):null,n?u(ht,{font:"font-light",size:"text-m",color:"text-secondary-text group-data-secondary:text-white",children:n}):null]})]})));function Bi(e){return w("w-12 h-12 min-w-12 p-2.5 box-border flex items-center justify-center rounded-icon","normal"===e?"bg-secondary-light text-primary-main":"bg-primary-main text-black group-data-secondary:bg-white/30 group-data-secondary:text-black")}const ji=p((e=>{const{__html:t="",richVersion:i=""}=e;return u("div",{className:w(i,"md-container"),dangerouslySetInnerHTML:{__html:t}})})),Li=e=>({type:t,...i},n)=>"rte"===t&&"__html"in i?u(ji,{__html:i.__html}):u(Ai,{benefitsVersion:e,...i},String(n)),Vi=e=>"rte"===e.type?e.__html?.length||0:Math.max(e.label?.length||0,e.description?.length||0),zi=e=>{return((t=e.map(Vi))?.length?Math.sqrt(Math.abs(Ri(t.map((e=>e**2)))-Ri(t)**2)):0)>16;var t},$i=p((({className:e,benefitsVersion:t="normal",benefits:i})=>i?.length?u("div",{className:w("flex gap-x-m gap-y-s",zi(i)?"flex-col":"flex-wrap",e),children:i.map(Li(t))}):null)),Di=p((({className:e,tags:t})=>t?.length?u("div",{className:w("flex flex-wrap gap-xs",e),role:"list",children:t.map(Oi)}):null)),Oi=(e,t)=>u("div",{className:"py-2 px-2.5 border-solid border rounded-md border-gray",role:"listitem",children:u(ce,{size:"text-m-light",children:e})},String(t)),Mi=p((({className:e,title:t,description:i,headlineVersion:n="L",align:l="text-left",isInsetTitle:r=!0,benefits:a,benefitsVersion:s,__html:o,items:c,isDotted:d=!0,listItemSize:m,tags:h,buttons:p,image:b,imageOptions:{imageAlign:f,directionRight:x=!0}={},children:v})=>{const y=b?.src?u(F,{image:b}):null,N=u(gt,{title:t,description:i,headlineVersion:n,align:l,isPadding:!1});return u(Ti,{className:e,...r?{insetTitle:N}:{title:N},...x?{rightImage:y}:{leftImage:y},imageAlign:f,buttons:ne(p),children:g("div",{className:"flex flex-col gap-m",children:[u($i,{benefitsVersion:s,benefits:a}),o?u(ji,{__html:o}):null,c?.length?u(rt,{items:c,isDotted:d,listItemSize:m}):null,v,h?.length?u(Di,{tags:h}):null]})})})),Fi=(e,t)=>e||t?g("div",{className:"flex flex-wrap xl:flex-nowrap xl:bg-main-divider xl:rounded-md p-xs gap-m",children:[Number(e)>0?Hi("Страховая сумма:",e):null,Number(t)>0?Hi("Ежемесячный лимит:",t):null]}):null,Hi=(e,t=0)=>g("div",{className:"basis-full flex flex-col-reverse sm:flex-row sm:justify-between items-baseline whitespace-pre",children:[u(ce,{font:"font-light",size:"text-l",children:e}),g(ce,{size:"text-h6",color:"text-primary-text",children:[oe(2)(t)," ₽"]})]}),Ei=p((({className:e,headlineVersion:t="M",align:i="text-center",sum:n,monthLimit:l,...r})=>u(C,{className:e,defaultPadding:"p-default",...r,children:u(Mi,{className:"h-full",headlineVersion:t,align:i,isInsetTitle:!1,...r,imageOptions:{directionRight:!1,imageAlign:"center",...r.imageOptions},children:Fi(Number(n),Number(l))})}))),Ui=p((({className:e,title:t,description:i="Блок в разработке...",...n})=>g(C,{className:w("box-border",e),...n,children:[u(gt,{className:"max-w-[600px]",title:t,description:i,headlineVersion:"L",align:"text-left",isPadding:!1}),u("figure",{className:"m-0 mt-m min-w-[80%]",children:Xi()})]}))),Xi=(e=3)=>Gi(100,e).map((e=>Math.floor(e))).map(Ji),Ji=(e,t)=>u("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),Gi=(e,t)=>[e].concat(t>0?Gi(e/1.618,t-1):[]);function Yi({text:e,href:t,target:i,icon:n},l){const r="primary"===l?"white":"black",a={text:e,href:t,target:i,ariaLabel:e};return g("div",{className:"flex items-center gap-3",children:[u(ee,{className:"w-12 h-12 min-h-12 min-w-12 flex items-center justify-center",version:l,rounded:!0,...a,children:u(F,{className:"w-4 h-4",image:{...n,icon:n?.icon||"ArrowLeftIcon",iconVersion:n?.iconVersion||r}})}),u(ee,{version:"link",...a})]})}const Wi=p((({className:e,backwardButton:t,...i})=>g(C,{className:w("overflow-hidden flex flex-col gap-lg box-border",e),defaultPadding:"p-default",...i,children:[t?.text?Yi(t,i.version&&"primary"!==i.version?"white":"primary"):null,u(Mi,{className:"grow h-full",...i})]}))),Ki=p((({className:e,slides:t=[],...i})=>u(C,{className:w("overflow-hidden relative",e),defaultPadding:"p-m",...i,children:u(Tt,{gap:0,padding:0,children:t.map((e=>e.productBlock)).map(((e,t)=>u("div",{className:"box-border h-full",role:"listitem",children:u(Mi,{className:"px-5 h-full",headlineVersion:"L",...e,...i})},String(t))))})}))),qi=p((e=>{const{__html:t,richVersion:i,...n}=e;return u(C,{defaultPadding:"p-0",...n,children:u(ji,{__html:t,richVersion:i})})}));function Qi(e){throw new Error(e)}const Zi={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-12 w-12 min-w-12 min-h-12"},en={normal:"min-h-[70px]",small:"min-h-12"},tn={description:"text-white/80 text-l-light group-data-primary:text-secondary-text group-data-gray:text-secondary-text",iconText:"text-white group-data-primary:text-secondary-text group-data-gray: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"},nn=p((({className:e="",title:t,description:i,showLines:n=!0,steps:l,size:r="normal",version:a="primary",...s})=>g(C,{className:`box-border flex flex-col ${e}`,defaultPadding:"px-4 py-6",version:a,...s,children:[t?u(be,{headingType:"h3",className:"text-center",title:t}):null,i?u("p",{className:`text-m-light text-center ${tn.description} ${t?"mt-2":""}`,children:i}):null,l?.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:l.map(ln(r,a,n))})}):null]}))),ln=(e,t,i)=>(n,l,r)=>{const{type:a}=n;if("default"!==a&&"rte"!==a)return null;switch(a){case"default":return rn(e,t,i)(n,l,r);case"rte":return u(ji,{__html:n.__html});default:Qi(n)}},rn=(e,t,i)=>(n,l,r)=>{const a=r.length-1===l,s="normal"===e?"ml-[34px]":"ml-6";return u("div",{children:g("div",{className:"flex flex-row text-center relative",children:[g("div",{className:"overflow-hidden flex-shrink-0",children:[an(e,t)(n,l),a?null:u("div",{className:`min-h-8 h-full w-0.5 ${i?tn.iconConnector:""} ${s}`})]}),g("div",{className:`flex flex-col justify-center h-fit ${en[e]}`,children:[n.label?u("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:n.label}):null,n.description?u("div",{className:`text-s ${tn.description} text-left`,children:n.description}):null]})]})},String(l))},an=(e,t)=>(i,n)=>{const l="normal"===e?"38":"27",r="secondary"===t?"white":"color";return u("div",{className:`${Zi[e]} ${tn.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=i?.icon,Boolean(a?.icon||a?.src)?u(F,{image:{...i.icon,iconVersion:i.icon?.iconVersion||r},width:l,height:l}):u("span",{children:n+1}))})});var a},sn={Buttons:({buttons:e})=>ne(e,{className:"mt-3",buttonClassName:"w-12 h-12"}),Img:({image:e})=>e?.src?u(F,{image:e,className:"m-0",imageClassName:"m-0"}):null,List:({isDotted:e,...t})=>u(rt,{className:"flex flex-col justify-between items-start text-m pl-2 text-base",isDotted:e??!0,...t}),LabelDescription:({label:e,description:t})=>g("div",{children:[e?u("div",{className:"mb-2",children:e}):null,t?u("div",{className:"text-s text-secondary-text",children:t}):null]})},on=p((({title:e,icon:t})=>g("div",{className:"mb-2",children:[e?u(ce,{size:"text-l-light",children:e}):null,t?u(F,{className:"ml-auto min-w-6",image:t,width:"24",height:"24"}):null]}))),cn=p((({tile:e,...t})=>g("div",{className:"h-full",children:[u(on,{title:e?.header?.title}),e?.data?.length?e.data.map(((e,i)=>u("div",{className:"mb-2",children:dn(e,t)},String(i)))):null]})));function dn(e,t){if(!e||!e.tableCellType||!(e.tableCellType in sn))return null;const i=sn[e.tableCellType];return u(i,{displayTable:()=>null,isVisible:!0,...e,...t})}const mn=p((({tiles:e,...t})=>e?.length?u(Tt,{...t,padding:void 0,children:e.map(((e,i)=>u(cn,{tile:e,...t},String(i))))}):null)),hn=p((({tiles:e,...t})=>e?.length?u("div",{className:"flex flex-col gap-3.5",children:e.map(((e,i)=>u(cn,{tile:e,...t},String(i))))}):null)),un=p((({className:e,title:t,description:i,tariffsColumns:n,rowHeaders:l,orientation:r="vertical",...a})=>{const s=gn(n),o=pn(l,s);return g("section",{className:`p-default bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[u(gt,{title:t,description:i,headlineVersion:"M",align:"text-left",isPadding:!1,className:"mb-8"}),u("vertical"===r?hn:mn,{tiles:o,...a})]})})),gn=e=>e?.[0]?.data?e[0].data:[],pn=(e,t)=>e?.map(((e,i)=>({header:e,data:t?.[i]||[{}]}))),bn=p((({className:e="",title:t,description:i,iconVersion:n,image:l,__html:r,items:a=[],...s})=>g(C,{className:w("flex gap-3 bg-white group-data-secondary:bg-primary-main/10",e),...s,children:["small"===n?u("div",{className:"mt-1",children:fn()}):null,"big"===n?xn(l):null,g("div",{className:"flex flex-col w-fit gap-3",children:[t?u(ce,{size:"text-l",font:"font-medium",color:"text-primary-text group-data-secondary:text-white",children:t}):null,i?vn(i):null,a?.length?yn(a,!0):null,r?u(ji,{__html:r}):null]})]}))),fn=()=>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"}),xn=e=>e?.src?u(F,{className:"h-fit",image:e}):null,vn=e=>u(ht,{size:"text-s",color:"text-secondary-text group-data-secondary:text-white",children:e}),yn=(e,t)=>u("ul",{className:w("text-secondary-text group-data-secondary:text-white/80",t?"list-disc pl-6":""),children:e.map(((e,t)=>u("li",{children:u(ce,{size:"text-s",font:"font-light",children:e})},`listItem-${t}`)))}),Nn={XXL:"gap-12",XL:"gap-10",L:"gap-8",M:"gap-4",S:"gap-2",XS:"gap-1","":""},wn={stretch:"items-stretch",left:"items-start",center:"items-center",right:"items-end"},kn=p((({className:e="",gap:t="",align:i="stretch",isPadding:n=!1,isInnerPadding:l=!0,version:r="transparent",isTheme:a=!1,...s})=>{const o=l?"":"!p-0";return u(C,{className:w("relative","flex flex-col [&>*]:max-w-full",Nn[t],i&&wn[i],e),defaultPadding:n?"p-default":"",version:r,isTheme:a,...s,children:Te({...s,renderProps:(e,t)=>we(e,t,{className:o})})})}));kn.childrenTypes=[];const Cn={ButtonsBlock:ae,CardTransfer:ve,Carousel:Ye,CarouselTariffsCard:Nt,ComparisonTable:jt,Footer:si,Header:fi,Headline:gt,ImgBlock:xi,LinkDocs:wi,MobileAppTile:Pi,PictureText:Ei,Placeholder:Ui,ProductBlock:Wi,StepsBlock:nn,TariffsTable:un,TextBlock:bn,RichTextBlock:qi,RollupItem:Wt,VerticalLayout:kn,CarouselRecommendationCard:pt,CarouselProgramsCard:Ze,ProductGallery:Ki};function Tn(e=!1){const[t,i]=n(e),l=r((()=>i(!0)),[]),a=r((()=>i(!1)),[]),s=r((()=>i((e=>!e))),[]);return[t,{setValue:i,setTrue:l,setFalse:a,toggle:s}]}const _n=["Header","Footer"],Sn=([,{target:e}])=>Math.abs(e.getBoundingClientRect().top);function In(e=globalThis){const t=s(new Map);l((()=>N.subscribe("intersection",(({block:e,intersection:i})=>{t.current&&t.current.set(e,i)}))),[]),l((()=>{const i=((e,t=600)=>{let i;const n=(...l)=>{n.dispose(),i=setTimeout((()=>{e(...l)}),t)};return n.dispose=()=>{i&&clearTimeout(i)},n})((()=>{!function(e){const t=`#${i=e?.anchor,i?.replace("#","")||""}`;var i;globalThis.location?.hash!==t&&globalThis.history?.replaceState(globalThis.history?.state,"",t)}(globalThis.scrollY>3*globalThis.innerHeight/4?function(e){const t=e.filter((([e])=>!_n.includes(e.type||""))).filter((([,{intersectionRatio:e}])=>e>.01)),[i]=t.length>0?$e(Sn)(t):[];return i}([...t.current||[]]):void 0)}),100);return e.addEventListener("scroll",i),()=>{i.dispose(),e.removeEventListener("scroll",i)}}),[e])}const Pn=p((({className:e,onClick:t})=>u("button",{className:w("flex justify-center items-center w-12 h-12 p-1 bg-transparent border-none",e),onClick:t,title:"Закрыть",children:u(F,{image:{icon:"CloseIcon"},width:"24",height:"24"})})));function Rn({onOpen:e,onClose:t}={}){l((()=>x.subscribe("dialog",(i=>{switch(i.type){case"open":e&&e(i);break;case"close":t&&t();break;default:Qi(i)}}))),[e,t])}const An="cookieClose",Bn=p((({termLink:e,personalDataPolicyLink:t})=>{const{isOpened:i,onClose:l}=function(e,t=!1){const[i,{setTrue:l,setFalse:a}]=Tn(t),[o,c]=n({id:e}),d=s(i);d.current||=i,Rn({onOpen:r((t=>{t.id===e?(c(t),l()):a()}),[e]),onClose:a});const m=r((()=>{a(),x.fire("dialog",{type:"close"})}),[]);return{...o,isOpened:i,wasOpened:d.current,onClose:m}}("cookie",!globalThis.localStorage?.getItem(An)),a=r((()=>{globalThis.localStorage?.setItem(An,"true"),l&&l()}),[l]);return i?u("div",{className:"container z-40 fixed bottom-0 left-0 right-0 pointer-events-none",children:g("div",{className:"bg-white m-6 p-6 rounded-md flex items-center pointer-events-auto shadow-[0_4px_25px_rgba(0,0,0,0.07)]",children:[u("div",{className:"flex-1",children:g(ht,{size:"text-s-light",color:"text-primary-text",children:["АО «Россельхозбанк» использует",u(Qe,{isRemote:!0,className:w(jn(e?.href)),...e,children:"cookie"}),"(файлы с данными о прошлых посещениях сайта) для персонализации сервисов и удобства пользователей. Вы можете запретить сохранение cookie в настройках своего браузера.",u(Qe,{isRemote:!0,className:w(jn(t?.href)),...t,children:"Обработка Ваших персональных данных"}),"производится в соответствии с требованиями Федерального закона от 27.07.2006 № 152-Ф3 «О персональных данных»."]})}),u("div",{className:"w-24 flex justify-end",children:u(Pn,{className:"bg-main-gray rounded-md",onClick:a})})]})}):null})),jn=e=>["inline mx-1",e?"text-green-dark":""],Ln=h();const Vn=p((({className:e,onClick:t,ariaLabel:i})=>u("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":i,children:zn()}))),zn=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return g("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"})]})},$n=p((({className:e=""})=>{const t=function(e){const[t,i]=n(0);return l((()=>{(async()=>{const[t]=await Ln.getLikeCount(e);i(t?.value||0)})()}),[e]),{likeCount:t,like:r((async()=>{i(await Ln.like(e))}),[e]),dislike:r((async()=>{i(await Ln.dislike(e))}),[e])}}(T().pathname);return g("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(Vn,{onClick:H(t.like),ariaLabel:"Поставить отметку «лайк»"}),u(Vn,{onClick:H(t.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),u("span",{className:"select-none",children:t.likeCount})]})})),Dn=p((e=>{const{className:t="",blocksRegistry:i,blockDecorator:n,data:l={}}=e,{style:r,blocks:a,slots:s,likeControl:o,colorPalette:c="pc"}=l,d={key:"",page:l,blocksRegistry:i,blockDecorator:n,parent:l};In();const[m,{setTrue:h,setFalse:p}]=Tn();return Rn({onOpen:h,onClose:p}),g("section",{className:w("relative",r,t,m?"overflow-hidden h-screen":""),"data-theme":c,children:[s?.header?u("div",{className:"mb-5 shadow-[0_8px_32px_0px_#00000014]",children:Ce(s?.header,{...d,slotName:"header"})}):null,g("div",{className:"container grid grid-cols-12 gap-1",children:[Ce(a,d),s?.footer?Ce(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($n,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto"})}):null,u(Bn,{termLink:{href:"/pd-policy#cookie",target:"_blank"},personalDataPolicyLink:{href:"/pd-policy",target:"_blank"}})]})}));Dn.childrenTypes=[],Dn.slots=()=>["header","footer"];e.Blocks=Cn,e.ContentPage=Dn,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))))))(),i=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await i.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.LikeAPI=h,e.handlerDecorator=H,e.joinList=e=>t=>t.reduce(((t,i,n)=>t.length?t.concat({...e,key:`sep-${n}`},i):[i]),[]),e.packageVersion="0.12.3",e.projectSettings=d,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=P,e.useRouter=T,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
+
import type { ButtonsBlockContent } from './ButtonsBlockContent';
|
|
3
|
+
interface ButtonsBlockProps extends ButtonsBlockContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const ButtonsBlock: import("@redneckz/uni-jsx").UNIComponent<ButtonsBlockProps, any, any>;
|
|
6
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
1
|
import type { CarouselCardContent } from './CarouselCardContent';
|
|
2
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
export interface CarouselCardProps extends CarouselCardContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
5
|
export declare const CarouselCard: import("@redneckz/uni-jsx").UNIComponent<CarouselCardProps, any, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getCardWidth(className?: string, carouselVersion?: string): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const titleSize = "XS";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
1
|
import type { CarouselProductCardContent } from './CarouselProductCardContent';
|
|
2
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
export interface CarouselProductCardProps extends CarouselProductCardContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
5
|
export declare const CarouselProductCard: import("@redneckz/uni-jsx").UNIComponent<CarouselProductCardProps, any, any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ContactGroup } from './FooterContent';
|
|
2
2
|
export interface ContactsProps {
|
|
3
3
|
className?: string;
|
|
4
|
-
items?:
|
|
4
|
+
items?: ContactGroup[];
|
|
5
5
|
hasButton?: boolean;
|
|
6
6
|
}
|
|
7
7
|
export declare const Contacts: import("@redneckz/uni-jsx").UNIComponent<ContactsProps, any, any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DescriptionProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
2
3
|
import type { LinkProps } from '../../model/LinkProps';
|
|
3
4
|
import type { IconProps } from '../../model/Picture';
|
|
4
|
-
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
5
5
|
/**
|
|
6
6
|
* @title Тип контакта
|
|
7
7
|
* @enumNames [
|
|
@@ -18,6 +18,14 @@ export declare type ContactInfo = DescriptionProps & {
|
|
|
18
18
|
text?: string;
|
|
19
19
|
type?: ContactType;
|
|
20
20
|
};
|
|
21
|
+
/**
|
|
22
|
+
* @title Группа контактов
|
|
23
|
+
*/
|
|
24
|
+
export declare type ContactGroup = {
|
|
25
|
+
/** @title Имя */
|
|
26
|
+
title?: string;
|
|
27
|
+
items?: ContactInfo[];
|
|
28
|
+
};
|
|
21
29
|
/**
|
|
22
30
|
* @title Пункт подменю
|
|
23
31
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { LinkCommonProps, LinkProps } from '../../model/LinkProps';
|
|
2
2
|
import type { Picture } from '../../model/Picture';
|
|
3
3
|
import type { SitemapData } from '../../services/sitemap/SitemapData';
|
|
4
|
-
import type {
|
|
4
|
+
import type { ContactGroup, SubMenuItem } from './FooterContent';
|
|
5
5
|
export interface FooterDataProps extends SitemapData {
|
|
6
6
|
documents?: LinkProps[];
|
|
7
7
|
relatedEnterprises?: LinkProps[];
|
|
8
|
-
contacts?:
|
|
8
|
+
contacts?: ContactGroup[];
|
|
9
9
|
socialMedia?: LinkCommonProps[];
|
|
10
10
|
mobileApps?: LinkCommonProps[];
|
|
11
11
|
horizontalNavigationTitle?: string;
|
|
@@ -2,12 +2,10 @@ import type { HeadlineProps } from '../../model/HeadlineType';
|
|
|
2
2
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
3
|
import type { HeadingTagType } from '../../ui-kit/Heading/HeadingProps';
|
|
4
4
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
5
|
-
import type { TextAlign } from '../../ui-kit/Text/TextProps';
|
|
6
5
|
/**
|
|
7
6
|
* @title Заголовок
|
|
8
7
|
*/
|
|
9
8
|
export declare type HeadlineContent = UniBlockContent & HeadlineProps & ImageContent & {
|
|
10
|
-
align?: TextAlign;
|
|
11
9
|
/** @hidden */
|
|
12
10
|
as?: HeadingTagType;
|
|
13
11
|
/** @title Внутренний отступ блока */
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
2
1
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
-
import
|
|
4
|
-
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
2
|
+
import { BaseProductTileContent } from '../../ui-kit/BaseProductTile/BaseProductTileContent';
|
|
5
3
|
/**
|
|
6
4
|
* @title Картинка с текстом
|
|
7
5
|
*/
|
|
8
|
-
export declare type PictureTextContent = UniBlockContent &
|
|
9
|
-
/** @title Картинка справа/текст слева */
|
|
10
|
-
directionRight?: boolean;
|
|
6
|
+
export declare type PictureTextContent = UniBlockContent & BaseProductTileContent & {
|
|
11
7
|
/** @title Ежемесячный лимит */
|
|
12
8
|
monthLimit?: number;
|
|
13
9
|
/** @title Страховая сумма */
|
|
@@ -1,29 +1,10 @@
|
|
|
1
|
-
import type { BulletsProps } from '../../model/Bullets';
|
|
2
|
-
import type { HeadlineProps } from '../../model/HeadlineType';
|
|
3
|
-
import type { IconVersion } from '../../model/IconVersion';
|
|
4
1
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
5
|
-
import type {
|
|
6
|
-
import type { BackwardButtonProps
|
|
7
|
-
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
8
|
-
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
9
|
-
import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
10
|
-
export declare type ProductBlockInnerContent = HeadlineProps & RichTextProps & ListContent & ButtonContent & ImageContent & BulletsProps & {
|
|
11
|
-
/**
|
|
12
|
-
* @title Список преимуществ
|
|
13
|
-
* @minItems 2
|
|
14
|
-
* @maxItems 4
|
|
15
|
-
*/
|
|
16
|
-
benefits?: BenefitItemProps[];
|
|
17
|
-
benefitsVersion?: IconVersion;
|
|
18
|
-
/** @title Лейбл (моб.) */
|
|
19
|
-
label?: string;
|
|
20
|
-
/** @title Картинка справа/текст слева */
|
|
21
|
-
directionRight?: boolean;
|
|
22
|
-
};
|
|
2
|
+
import type { BaseProductTileContent } from '../../ui-kit/BaseProductTile/BaseProductTileContent';
|
|
3
|
+
import type { BackwardButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
23
4
|
/**
|
|
24
5
|
* @title Продуктовый блок
|
|
25
6
|
*/
|
|
26
|
-
export declare type ProductBlockContent = UniBlockContent &
|
|
7
|
+
export declare type ProductBlockContent = UniBlockContent & BaseProductTileContent & {
|
|
27
8
|
/** @title Кнопка возврата */
|
|
28
9
|
backwardButton?: BackwardButtonProps;
|
|
29
10
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
2
|
-
import type {
|
|
2
|
+
import type { BaseProductTileContent } from '../../ui-kit/BaseProductTile/BaseProductTileContent';
|
|
3
3
|
/** @title Кнопка под слайдом */
|
|
4
4
|
export interface ProductGalleryNav {
|
|
5
5
|
/** @title Заголовок */
|
|
@@ -14,7 +14,7 @@ export interface ProductSlide {
|
|
|
14
14
|
/** @title Превью содержимого слайда на навигации */
|
|
15
15
|
nav?: ProductGalleryNav;
|
|
16
16
|
/** @title Содержимое слайда */
|
|
17
|
-
productBlock:
|
|
17
|
+
productBlock: BaseProductTileContent;
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
20
|
* @title Продуктовая галерея
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import type { DescriptionProps } from '../../model/HeadlineType';
|
|
1
|
+
import type { DescriptionProps, HeadlineProps } from '../../model/HeadlineType';
|
|
2
2
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
3
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
4
|
-
import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
|
|
5
4
|
/**
|
|
6
5
|
* @title Акции
|
|
7
6
|
*/
|
|
8
|
-
export declare type PromoTileContent = UniBlockContent &
|
|
7
|
+
export declare type PromoTileContent = UniBlockContent & HeadlineProps & DescriptionProps & ButtonContent & {
|
|
9
8
|
/** @title Дата публикации */
|
|
10
9
|
date?: string;
|
|
11
10
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { LabelProps } from '../../model/HeadlineType';
|
|
2
2
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
-
import type {
|
|
3
|
+
import type { Picture } from '../../model/Picture';
|
|
4
|
+
import type { IconBgVersion } from '../../ui-kit/Icon/IconProps';
|
|
4
5
|
/**
|
|
5
6
|
* @title Сворачивающаяся секция
|
|
6
7
|
*/
|
|
@@ -9,5 +10,6 @@ export declare type RollupItemContent = UniBlockContent & LabelProps & {
|
|
|
9
10
|
isExpanded?: boolean;
|
|
10
11
|
/** @title Кнопка сверху */
|
|
11
12
|
isFoldButtonOnTop?: boolean;
|
|
12
|
-
labelIcon?:
|
|
13
|
+
labelIcon?: Picture;
|
|
14
|
+
labelIconBgVersion?: IconBgVersion;
|
|
13
15
|
};
|
|
@@ -1,17 +1,6 @@
|
|
|
1
|
-
import type { BulletsProps } from '../../model/Bullets';
|
|
2
1
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
-
import type {
|
|
4
|
-
import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
|
|
5
|
-
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
6
|
-
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
7
|
-
import type { ListItemSize } from '../../ui-kit/List/ListProps';
|
|
8
|
-
import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
9
|
-
import type { TagsContent } from '../../ui-kit/Tags/TagsContent';
|
|
2
|
+
import type { BaseProductTileContent } from '../../ui-kit/BaseProductTile/BaseProductTileContent';
|
|
10
3
|
/**
|
|
11
4
|
* @title Плитка
|
|
12
5
|
*/
|
|
13
|
-
export declare type TileContent = UniBlockContent &
|
|
14
|
-
listItemSize?: ListItemSize;
|
|
15
|
-
/** @title Картинка справа/текст слева */
|
|
16
|
-
directionRight?: boolean;
|
|
17
|
-
};
|
|
6
|
+
export declare type TileContent = UniBlockContent & BaseProductTileContent;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @title Выравнивание
|
|
3
|
+
* @deprecated
|
|
3
4
|
* @enumNames [
|
|
4
5
|
* "По левому краю",
|
|
5
6
|
* "По центру",
|
|
@@ -9,6 +10,7 @@
|
|
|
9
10
|
export declare type AlignType = 'left' | 'center' | 'right';
|
|
10
11
|
/**
|
|
11
12
|
* @title Выравнивание
|
|
13
|
+
* @deprecated
|
|
12
14
|
* @enumNames [
|
|
13
15
|
* "Во всю ширину",
|
|
14
16
|
* "По левому краю",
|