@redneckz/wildless-cms-uni-blocks 0.3.2 → 0.3.5
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/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +9 -9
- package/bundle/bundle.umd.min.js +1 -1
- package/cosmos-static/icons/ActualBalanceIcon.svg +1 -0
- package/cosmos-static/icons/AppleIcon.svg +1 -0
- package/cosmos-static/icons/AtmIcon.svg +1 -0
- package/cosmos-static/icons/BankIcon.svg +1 -0
- package/cosmos-static/icons/BurgerIcon.svg +1 -0
- package/cosmos-static/icons/BurgerIconWhite.svg +1 -0
- package/cosmos-static/icons/Calendar2Icon.svg +1 -0
- package/cosmos-static/icons/CalendarCircleIcon.svg +1 -0
- package/cosmos-static/icons/CalendarIcon.svg +1 -0
- package/cosmos-static/icons/CalendarTickIcon.svg +1 -0
- package/cosmos-static/icons/CalendarWhiteIcon.svg +1 -0
- package/cosmos-static/icons/CardIcon.svg +1 -0
- package/cosmos-static/icons/CardPosIcon.svg +1 -0
- package/cosmos-static/icons/CardTickIcon.svg +1 -0
- package/cosmos-static/icons/CardWithGemIcon.svg +1 -0
- package/cosmos-static/icons/ChartSquareIcon.svg +1 -0
- package/cosmos-static/icons/ClockIcon.svg +1 -0
- package/cosmos-static/icons/CloseIcon.svg +1 -0
- package/cosmos-static/icons/ComfortableCompIcon.svg +1 -0
- package/cosmos-static/icons/CreditCardsIcon.svg +1 -0
- package/cosmos-static/icons/DiscountShapeIcon.svg +1 -0
- package/cosmos-static/icons/DocIcon.svg +1 -0
- package/cosmos-static/icons/DocIconMonoColor.svg +1 -0
- package/cosmos-static/icons/DocumentTextIcon.svg +1 -0
- package/cosmos-static/icons/DollarIcon.svg +1 -0
- package/cosmos-static/icons/EarthIcon.svg +1 -0
- package/cosmos-static/icons/EmptyWalletChangeIcon.svg +1 -0
- package/cosmos-static/icons/EmptyWalletIcon.svg +1 -0
- package/cosmos-static/icons/EmptyWalletWhiteIcon.svg +1 -0
- package/cosmos-static/icons/EuroIcon.svg +1 -0
- package/cosmos-static/icons/GeolocationIcon.svg +1 -0
- package/cosmos-static/icons/GlassIcon.svg +1 -0
- package/cosmos-static/icons/GlobalIcon.svg +1 -0
- package/cosmos-static/icons/GridIcon.svg +1 -0
- package/cosmos-static/icons/GridIconWhite.svg +1 -0
- package/cosmos-static/icons/InterestGrowthIcon.svg +1 -0
- package/cosmos-static/icons/InterestIcon.svg +1 -0
- package/cosmos-static/icons/JCBIcon.svg +1 -0
- package/cosmos-static/icons/LoupeIcon.svg +1 -0
- package/cosmos-static/icons/MasterCardIcon.svg +1 -0
- package/cosmos-static/icons/MinusIcon.svg +1 -0
- package/cosmos-static/icons/MirIcon.svg +1 -0
- package/cosmos-static/icons/MoneyIcon.svg +1 -0
- package/cosmos-static/icons/MoneyInsuranceIcon.svg +1 -0
- package/cosmos-static/icons/MonitorMobileIcon.svg +1 -0
- package/cosmos-static/icons/NewDocIcon.svg +1 -0
- package/cosmos-static/icons/OfficeIcon.svg +1 -0
- package/cosmos-static/icons/OkIcon.svg +1 -0
- package/cosmos-static/icons/PassSendIcon.svg +1 -0
- package/cosmos-static/icons/PercentageRoundIcon.svg +1 -0
- package/cosmos-static/icons/PercentageSquareIcon.svg +1 -0
- package/cosmos-static/icons/PercentageSquareWhiteIcon.svg +1 -0
- package/cosmos-static/icons/PersonalCardIcon.svg +1 -0
- package/cosmos-static/icons/PlayMarketIcon.svg +1 -0
- package/cosmos-static/icons/PlusIcon.svg +1 -0
- package/cosmos-static/icons/Profile2UserIcon.svg +1 -0
- package/cosmos-static/icons/ProfileIcon.svg +1 -0
- package/cosmos-static/icons/RoundRubleIcon.svg +1 -0
- package/cosmos-static/icons/SafeIcon.svg +1 -0
- package/cosmos-static/icons/ShieldTickIcon.svg +1 -0
- package/cosmos-static/icons/SignDocsIcon.svg +1 -0
- package/cosmos-static/icons/SmallClockIcon.svg +1 -0
- package/cosmos-static/icons/TelegramIcon.svg +1 -0
- package/cosmos-static/icons/UnionPayIcon.svg +1 -0
- package/cosmos-static/icons/UserTickIcon.svg +1 -0
- package/cosmos-static/icons/VKIcon.svg +1 -0
- package/cosmos-static/icons/VisaIcon.svg +1 -0
- package/cosmos-static/icons/WalletAdd2Icon.svg +1 -0
- package/cosmos-static/icons/WalletAddIcon.svg +1 -0
- package/cosmos-static/icons/WalletIcon.svg +1 -0
- package/cosmos-static/icons/WalletWithMoneyIcon.svg +1 -0
- package/dist/components/Accordion/utils/isActiveHandler.js +1 -1
- package/dist/components/Accordion/utils/isActiveHandler.js.map +1 -1
- package/dist/components/Blocks.mobile.d.ts +3 -1
- package/dist/components/Blocks.mobile.js +5 -1
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.js +2 -2
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/ContentPage/isBlockInRegistry.d.ts +1 -2
- package/dist/components/ContentPage/isBlockInRegistry.js +2 -2
- package/dist/components/ContentPage/isBlockInRegistry.js.map +1 -1
- package/dist/components/ContentPage/normalizeBlock.d.ts +1 -1
- package/dist/components/ContentPage/normalizePage.js +1 -1
- package/dist/components/ContentPage/normalizePage.js.map +1 -1
- package/dist/components/ContentPage/normalizePage.mobile.js +1 -1
- package/dist/components/ContentPage/normalizePage.mobile.js.map +1 -1
- package/dist/components/Gallery/GalleryCardInner.js +1 -1
- package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/dist/components/Headline/HeadlineContent.d.ts +1 -1
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/dist/components/Placeholder/Placeholder.js +8 -3
- package/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/dist/components/Placeholder/PlaceholderContent.d.ts +2 -1
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -1
- package/dist/components/ProductTile/ProductTileContent.d.ts +1 -1
- package/dist/components/PromoTile/PromoTileContent.d.ts +1 -1
- package/dist/components/Tile/TileContent.d.ts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/ui-kit/Description/Description.d.ts +4 -1
- package/dist/ui-kit/Description/Description.js.map +1 -1
- package/{lib/ui-kit/Description/DescriptionProps.d.ts → dist/ui-kit/Description/DescriptionContent.d.ts} +0 -3
- package/dist/ui-kit/Description/{DescriptionProps.js → DescriptionContent.js} +1 -1
- package/dist/ui-kit/Description/DescriptionContent.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/Accordion/utils/isActiveHandler.js +1 -1
- package/lib/components/Accordion/utils/isActiveHandler.js.map +1 -1
- package/lib/components/Blocks.mobile.d.ts +3 -1
- package/lib/components/Blocks.mobile.js +5 -1
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/ContentPage/ContentPage.js +2 -2
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/ContentPage/isBlockInRegistry.d.ts +1 -2
- package/lib/components/ContentPage/isBlockInRegistry.js +2 -2
- package/lib/components/ContentPage/isBlockInRegistry.js.map +1 -1
- package/lib/components/ContentPage/normalizeBlock.d.ts +1 -1
- package/lib/components/ContentPage/normalizePage.js +1 -1
- package/lib/components/ContentPage/normalizePage.js.map +1 -1
- package/lib/components/ContentPage/normalizePage.mobile.js +1 -1
- package/lib/components/ContentPage/normalizePage.mobile.js.map +1 -1
- package/lib/components/Gallery/GalleryCardInner.js +1 -1
- package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/lib/components/Headline/HeadlineContent.d.ts +1 -1
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/lib/components/Placeholder/Placeholder.fixture.mobile.d.ts +2 -0
- package/lib/components/Placeholder/Placeholder.js +9 -4
- package/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/lib/components/Placeholder/PlaceholderContent.d.ts +2 -1
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -1
- package/lib/components/ProductTile/ProductTileContent.d.ts +1 -1
- package/lib/components/PromoTile/PromoTileContent.d.ts +1 -1
- package/lib/components/Tile/TileContent.d.ts +1 -1
- package/lib/types.d.ts +1 -1
- package/lib/ui-kit/Description/Description.d.ts +4 -1
- package/lib/ui-kit/Description/Description.js.map +1 -1
- package/{mobile/dist/ui-kit/Description/DescriptionProps.d.ts → lib/ui-kit/Description/DescriptionContent.d.ts} +0 -3
- package/lib/ui-kit/Description/DescriptionContent.js +2 -0
- package/lib/ui-kit/Description/DescriptionContent.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +204 -202
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/Accordion/utils/isActiveHandler.js +1 -1
- package/mobile/dist/components/Accordion/utils/isActiveHandler.js.map +1 -1
- package/mobile/dist/components/Blocks.d.ts +3 -1
- package/mobile/dist/components/Blocks.js +5 -1
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.js +2 -2
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/ContentPage/isBlockInRegistry.d.ts +1 -2
- package/mobile/dist/components/ContentPage/isBlockInRegistry.js +2 -2
- package/mobile/dist/components/ContentPage/isBlockInRegistry.js.map +1 -1
- package/mobile/dist/components/ContentPage/normalizePage.js +1 -1
- package/mobile/dist/components/ContentPage/normalizePage.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/mobile/dist/components/Placeholder/Placeholder.d.ts +1 -1
- package/mobile/dist/components/Placeholder/Placeholder.js +8 -3
- package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/mobile/dist/components/Placeholder/PlaceholderContent.d.ts +2 -1
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -1
- package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +1 -1
- package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +1 -1
- package/mobile/dist/components/Tile/TileContent.d.ts +1 -1
- package/mobile/dist/types.d.ts +1 -1
- package/mobile/dist/ui-kit/Description/Description.d.ts +4 -1
- package/mobile/dist/ui-kit/Description/Description.js.map +1 -1
- package/mobile/{lib/ui-kit/Description/DescriptionProps.d.ts → dist/ui-kit/Description/DescriptionContent.d.ts} +0 -3
- package/mobile/dist/ui-kit/Description/{DescriptionProps.js → DescriptionContent.js} +1 -1
- package/mobile/dist/ui-kit/Description/DescriptionContent.js.map +1 -0
- package/mobile/lib/components/Accordion/utils/isActiveHandler.js +1 -1
- package/mobile/lib/components/Accordion/utils/isActiveHandler.js.map +1 -1
- package/mobile/lib/components/Blocks.d.ts +3 -1
- package/mobile/lib/components/Blocks.js +5 -1
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.js +2 -2
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/ContentPage/isBlockInRegistry.d.ts +1 -2
- package/mobile/lib/components/ContentPage/isBlockInRegistry.js +2 -2
- package/mobile/lib/components/ContentPage/isBlockInRegistry.js.map +1 -1
- package/mobile/lib/components/ContentPage/normalizePage.js +1 -1
- package/mobile/lib/components/ContentPage/normalizePage.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/mobile/lib/components/Placeholder/Placeholder.d.ts +1 -1
- package/mobile/lib/components/Placeholder/Placeholder.js +9 -4
- package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/mobile/lib/components/Placeholder/PlaceholderContent.d.ts +2 -1
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -1
- package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +1 -1
- package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +1 -1
- package/mobile/lib/components/Tile/TileContent.d.ts +1 -1
- package/mobile/lib/types.d.ts +1 -1
- package/mobile/lib/ui-kit/Description/Description.d.ts +4 -1
- package/mobile/lib/ui-kit/Description/Description.js.map +1 -1
- package/{dist/ui-kit/Description/DescriptionProps.d.ts → mobile/lib/ui-kit/Description/DescriptionContent.d.ts} +0 -3
- package/mobile/lib/ui-kit/Description/DescriptionContent.js +2 -0
- package/mobile/lib/ui-kit/Description/DescriptionContent.js.map +1 -0
- package/mobile/src/components/Accordion/utils/isActiveHandler.ts +1 -2
- package/mobile/src/components/Blocks.ts +5 -1
- package/mobile/src/components/ContentPage/ContentPage.page.json +37 -43
- package/mobile/src/components/ContentPage/ContentPage.tsx +2 -2
- package/mobile/src/components/ContentPage/isBlockInRegistry.ts +2 -4
- package/mobile/src/components/ContentPage/normalizePage.ts +4 -1
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +1 -1
- package/mobile/src/components/Headline/HeadlineContent.ts +1 -1
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +1 -1
- package/mobile/src/components/Placeholder/Placeholder.tsx +36 -14
- package/mobile/src/components/Placeholder/PlaceholderContent.ts +2 -1
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +1 -1
- package/mobile/src/components/ProductTile/ProductTileContent.ts +1 -1
- package/mobile/src/components/PromoTile/PromoTileContent.ts +1 -1
- package/mobile/src/components/Tile/TileContent.ts +1 -1
- package/mobile/src/types.ts +1 -1
- package/mobile/src/ui-kit/Description/Description.tsx +5 -1
- package/mobile/src/ui-kit/Description/{DescriptionProps.ts → DescriptionContent.ts} +0 -4
- package/package.json +4 -5
- package/src/components/Accordion/utils/isActiveHandler.ts +1 -2
- package/src/components/Blocks.mobile.ts +5 -1
- package/src/components/ContentPage/ContentPage.page.json +37 -43
- package/src/components/ContentPage/ContentPage.tsx +2 -2
- package/src/components/ContentPage/isBlockInRegistry.ts +2 -4
- package/src/components/ContentPage/normalizePage.mobile.ts +4 -1
- package/src/components/ContentPage/normalizePage.ts +1 -1
- package/src/components/Gallery/GalleryCardInner.tsx +1 -1
- package/src/components/Headline/HeadlineContent.ts +1 -1
- package/src/components/MobileAppTile/MobileAppTileContent.ts +1 -1
- package/src/components/Placeholder/Placeholder.fixture.mobile.tsx +9 -0
- package/src/components/Placeholder/Placeholder.tsx +35 -8
- package/src/components/Placeholder/PlaceholderContent.ts +2 -1
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +6 -0
- package/src/components/ProductBlock/ProductBlockContent.ts +1 -1
- package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +8 -0
- package/src/components/ProductTile/ProductTileContent.ts +1 -1
- package/src/components/PromoTile/PromoTileContent.ts +1 -1
- package/src/components/Tile/TileContent.ts +1 -1
- package/src/types.ts +1 -1
- package/src/ui-kit/Description/Description.tsx +5 -1
- package/src/ui-kit/Description/{DescriptionProps.ts → DescriptionContent.ts} +0 -4
- package/dist/components/Placeholder/Placeholder.mobile.d.ts +0 -6
- package/dist/components/Placeholder/Placeholder.mobile.js +0 -15
- package/dist/components/Placeholder/Placeholder.mobile.js.map +0 -1
- package/dist/ui-kit/Description/DescriptionProps.js.map +0 -1
- package/lib/components/Placeholder/Placeholder.mobile.d.ts +0 -6
- package/lib/components/Placeholder/Placeholder.mobile.js +0 -13
- package/lib/components/Placeholder/Placeholder.mobile.js.map +0 -1
- package/lib/ui-kit/Description/DescriptionProps.js +0 -2
- package/lib/ui-kit/Description/DescriptionProps.js.map +0 -1
- package/mobile/dist/ui-kit/Description/DescriptionProps.js.map +0 -1
- package/mobile/lib/ui-kit/Description/DescriptionProps.js +0 -2
- package/mobile/lib/ui-kit/Description/DescriptionProps.js.map +0 -1
- package/src/components/Placeholder/Placeholder.mobile.tsx +0 -35
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function isBlockInRegistry<T>(block: BlockDef, registry: Record<string, T>): boolean;
|
|
1
|
+
export declare function isBlockInRegistry<T>(blockType: string | undefined, registry: Record<string, T>): boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.isBlockInRegistry = void 0;
|
|
3
|
-
function isBlockInRegistry(
|
|
4
|
-
return
|
|
3
|
+
function isBlockInRegistry(blockType, registry) {
|
|
4
|
+
return (blockType || '') in registry;
|
|
5
5
|
}
|
|
6
6
|
exports.isBlockInRegistry = isBlockInRegistry;
|
|
7
7
|
//# sourceMappingURL=isBlockInRegistry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isBlockInRegistry.js","sourceRoot":"","sources":["../../../src/components/ContentPage/isBlockInRegistry.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"isBlockInRegistry.js","sourceRoot":"","sources":["../../../src/components/ContentPage/isBlockInRegistry.ts"],"names":[],"mappings":";;AAAA,SAAgB,iBAAiB,CAAI,SAA6B,EAAE,QAA2B;IAC7F,OAAO,CAAC,SAAS,IAAI,EAAE,CAAC,IAAI,QAAQ,CAAC;AACvC,CAAC;AAFD,8CAEC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BlockDef } from '../../types';
|
|
2
2
|
export declare function normalizeBlock(block: BlockDef): {
|
|
3
|
-
type
|
|
3
|
+
type?: string | undefined;
|
|
4
4
|
style?: string[] | undefined;
|
|
5
5
|
content?: import("../BlockContent").BlockContent | undefined;
|
|
6
6
|
version?: import("../../model/BlockVersion").BlockVersion | undefined;
|
|
@@ -23,6 +23,6 @@ function normalizePage(contentPage) {
|
|
|
23
23
|
}
|
|
24
24
|
exports.normalizePage = normalizePage;
|
|
25
25
|
function getDesktopBlocks(blocks) {
|
|
26
|
-
return blocks?.filter((block) => (0, isBlockInRegistry_1.isBlockInRegistry)(block, Blocks_1.Blocks)).map(normalizeBlock_1.normalizeBlock);
|
|
26
|
+
return blocks?.filter((block) => (0, isBlockInRegistry_1.isBlockInRegistry)(block?.type, Blocks_1.Blocks)).map(normalizeBlock_1.normalizeBlock);
|
|
27
27
|
}
|
|
28
28
|
//# sourceMappingURL=normalizePage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalizePage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizePage.ts"],"names":[],"mappings":";;AACA,sCAAmC;AACnC,2DAAwD;AACxD,qDAAkD;AAElD,SAAgB,aAAa,CAC3B,WAAc;IAEd,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO,SAAgB,CAAC;KACzB;IAED,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,WAAW,CAAC;IAEtC,OAAO;QACL,GAAG,WAAW;QACd,MAAM,EAAE,gBAAgB,CAAC,MAAM,CAAC;QAChC,KAAK,EACH,KAAK;YACL,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CACvB,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;gBACb,GAAG,GAAG;gBACN,CAAC,GAAG,CAAC,EAAE;oBACL,GAAG,KAAK,CAAC,GAAG,CAAC;oBACb,MAAM,EAAE,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC;iBAC5C;aACF,CAAC,EACF,EAAE,CACH;KACJ,CAAC;AACJ,CAAC;AAzBD,sCAyBC;AAED,SAAS,gBAAgB,CAAC,MAAmB;IAC3C,OAAO,MAAM,EAAE,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,IAAA,qCAAiB,EAAC,KAAK,EAAE,eAAM,CAAC,CAAC,CAAC,GAAG,CAAC,+BAAc,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"normalizePage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizePage.ts"],"names":[],"mappings":";;AACA,sCAAmC;AACnC,2DAAwD;AACxD,qDAAkD;AAElD,SAAgB,aAAa,CAC3B,WAAc;IAEd,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO,SAAgB,CAAC;KACzB;IAED,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,WAAW,CAAC;IAEtC,OAAO;QACL,GAAG,WAAW;QACd,MAAM,EAAE,gBAAgB,CAAC,MAAM,CAAC;QAChC,KAAK,EACH,KAAK;YACL,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CACvB,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;gBACb,GAAG,GAAG;gBACN,CAAC,GAAG,CAAC,EAAE;oBACL,GAAG,KAAK,CAAC,GAAG,CAAC;oBACb,MAAM,EAAE,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC;iBAC5C;aACF,CAAC,EACF,EAAE,CACH;KACJ,CAAC;AACJ,CAAC;AAzBD,sCAyBC;AAED,SAAS,gBAAgB,CAAC,MAAmB;IAC3C,OAAO,MAAM,EAAE,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,IAAA,qCAAiB,EAAC,KAAK,EAAE,IAAI,EAAE,eAAM,CAAC,CAAC,CAAC,GAAG,CAAC,+BAAc,CAAC,CAAC;AAC/F,CAAC"}
|
|
@@ -24,7 +24,7 @@ function normalizePage(contentPage) {
|
|
|
24
24
|
exports.normalizePage = normalizePage;
|
|
25
25
|
function getMobileBlocks(blocks) {
|
|
26
26
|
return blocks
|
|
27
|
-
?.filter((block) => (0, isBlockInRegistry_1.isBlockInRegistry)(block, Blocks_1.Blocks) && !block.mobile?.hidden)
|
|
27
|
+
?.filter((block) => (0, isBlockInRegistry_1.isBlockInRegistry)(block?.type || block?.mobile?.type, Blocks_1.Blocks) && !block.mobile?.hidden)
|
|
28
28
|
.map(normalizeBlock_1.normalizeBlock);
|
|
29
29
|
}
|
|
30
30
|
//# sourceMappingURL=normalizePage.mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalizePage.mobile.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizePage.mobile.ts"],"names":[],"mappings":";;AACA,sCAAmC;AACnC,2DAAwD;AACxD,qDAAkD;AAElD,SAAgB,aAAa,CAC3B,WAA8C;IAE9C,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,WAAW,CAAC;IAEtC,OAAO;QACL,GAAG,WAAW;QACd,MAAM,EAAE,eAAe,CAAC,MAAM,CAAC;QAC/B,KAAK,EACH,KAAK;YACL,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CACvB,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;gBACb,GAAG,GAAG;gBACN,CAAC,GAAG,CAAC,EAAE;oBACL,GAAG,KAAK,CAAC,GAAG,CAAC;oBACb,MAAM,EAAE,eAAe,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC;iBAC3C;aACF,CAAC,EACF,EAAE,CACH;KACJ,CAAC;AACJ,CAAC;AAzBD,sCAyBC;AAED,SAAS,eAAe,CAAC,MAAmB;IAC1C,OAAO,MAAM;QACX,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"normalizePage.mobile.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizePage.mobile.ts"],"names":[],"mappings":";;AACA,sCAAmC;AACnC,2DAAwD;AACxD,qDAAkD;AAElD,SAAgB,aAAa,CAC3B,WAA8C;IAE9C,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,WAAW,CAAC;IAEtC,OAAO;QACL,GAAG,WAAW;QACd,MAAM,EAAE,eAAe,CAAC,MAAM,CAAC;QAC/B,KAAK,EACH,KAAK;YACL,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CACvB,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;gBACb,GAAG,GAAG;gBACN,CAAC,GAAG,CAAC,EAAE;oBACL,GAAG,KAAK,CAAC,GAAG,CAAC;oBACb,MAAM,EAAE,eAAe,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC;iBAC3C;aACF,CAAC,EACF,EAAE,CACH;KACJ,CAAC;AACJ,CAAC;AAzBD,sCAyBC;AAED,SAAS,eAAe,CAAC,MAAmB;IAC1C,OAAO,MAAM;QACX,EAAE,MAAM,CACN,CAAC,KAAK,EAAE,EAAE,CACR,IAAA,qCAAiB,EAAC,KAAK,EAAE,IAAI,IAAI,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,eAAM,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CACzF;SACA,GAAG,CAAC,+BAAc,CAAC,CAAC;AACzB,CAAC"}
|
|
@@ -7,7 +7,7 @@ const Button_1 = require("../../ui-kit/Button/Button");
|
|
|
7
7
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
8
8
|
exports.GalleryCardInner = (0, uni_jsx_1.JSX)(({ title, description, image, items, button, version }) => {
|
|
9
9
|
return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsxs)("div", { children: [image?.src ? ((0, jsx_runtime_1.jsx)("div", { className: "flex justify-center", children: (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mb-6", image: image }) })) : null, title && renderCardTitle(title, description, items), description ? (0, jsx_runtime_1.jsx)("div", { className: `font-normal text-sm mt-2`, children: description }) : null, items?.length ? ((0, jsx_runtime_1.jsx)("section", { className: `max-w-[308px] mt-2`, role: "list", children: items
|
|
10
|
-
.filter((item) => item
|
|
10
|
+
.filter((item) => item?.text)
|
|
11
11
|
.map((item, i) => renderItem(item.text, i, version)) })) : null] }), button?.text && (0, jsx_runtime_1.jsx)(Button_1.Button, { className: "mt-6", ...button })] }));
|
|
12
12
|
});
|
|
13
13
|
function renderCardTitle(title, description, items) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GalleryCardInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryCardInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,gEAA6D;AAC7D,uDAAoD;AACpD,8CAA2C;AAG9B,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;IACxD,OAAO,CACL,4CACE,4CACG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CACZ,gCAAK,SAAS,EAAC,qBAAqB,YAClC,uBAAC,SAAG,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,GAClC,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,IAAI,eAAe,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,CAAC,EACnD,WAAW,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAE,0BAA0B,YAAG,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,EACpF,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,oCAAS,SAAS,EAAE,oBAAoB,EAAE,IAAI,EAAC,MAAM,YAClD,KAAK;6BACH,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"GalleryCardInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryCardInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,gEAA6D;AAC7D,uDAAoD;AACpD,8CAA2C;AAG9B,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;IACxD,OAAO,CACL,4CACE,4CACG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC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ACb,CAAC;AACJ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BgColorVersion } from '../../model/BgColorVersion';
|
|
2
|
-
import type { DescriptionContent } from '../../ui-kit/Description/
|
|
2
|
+
import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
|
|
3
3
|
import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
|
|
4
4
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
5
5
|
import type { AlignType } from '../BaseTile/BaseTileProps';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
2
|
-
import type { DescriptionContent } from '../../ui-kit/Description/
|
|
2
|
+
import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
|
|
3
3
|
import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
|
|
4
4
|
/**
|
|
5
5
|
* @title QR код
|
|
@@ -2,10 +2,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.Placeholder = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const
|
|
5
|
+
const Description_1 = require("../../ui-kit/Description/Description");
|
|
6
|
+
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
7
|
+
const BaseTile_1 = require("../BaseTile/BaseTile");
|
|
8
|
+
const getTileHeadingType_1 = require("../BaseTile/getTileHeadingType");
|
|
9
|
+
const getTileMinHeight_1 = require("../BaseTile/getTileMinHeight");
|
|
10
|
+
const getTileRightPadding_1 = require("../BaseTile/getTileRightPadding");
|
|
6
11
|
const GOLDEN_RATIO = 1.618;
|
|
7
|
-
exports.Placeholder = (0, uni_jsx_1.JSX)(({ className, context, title }) => {
|
|
8
|
-
return ((0, jsx_runtime_1.jsx)(
|
|
12
|
+
exports.Placeholder = (0, uni_jsx_1.JSX)(({ className, context, title, description = 'Блок в разработке...' }) => {
|
|
13
|
+
return ((0, jsx_runtime_1.jsx)("section", { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${(0, getTileRightPadding_1.getTileRightPadding)(className)} ${(0, getTileMinHeight_1.getTileMinHeight)(className)} `, children: (0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { context: context, title: title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: (0, getTileHeadingType_1.getTileHeadingType)(className), title: title, className: `whitespace-pre-wrap max-w-[600px]` })) : null, children: [description ? ((0, jsx_runtime_1.jsx)(Description_1.Description, { className: "mt-4 max-w-[600px]", description: description })) : null, (0, jsx_runtime_1.jsx)("figure", { className: "m-0 min-w-[600px]", children: renderShimmer() })] }) }));
|
|
9
14
|
});
|
|
10
15
|
const renderShimmer = (size = 3) => goldenSequence(100, size)
|
|
11
16
|
.map((_) => Math.floor(_))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Placeholder.js","sourceRoot":"","sources":["../../../src/components/Placeholder/Placeholder.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"Placeholder.js","sourceRoot":"","sources":["../../../src/components/Placeholder/Placeholder.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,sEAAmE;AACnE,0DAAuD;AACvD,mDAAgD;AAChD,uEAAoE;AACpE,mEAAgE;AAChE,yEAAsE;AAMtE,MAAM,YAAY,GAAG,KAAK,CAAC;AAEd,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,GAAG,sBAAsB,EAAE,EAAE,EAAE;IACtE,OAAO,CACL,oCACE,SAAS,EAAE,uDAAuD,SAAS,IAAI,IAAA,yCAAmB,EAChG,SAAS,CACV,IAAI,IAAA,mCAAgB,EAAC,SAAS,CAAC,GAAG,YAEnC,wBAAC,mBAAQ,IACP,OAAO,E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import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
|
|
2
3
|
/**
|
|
3
4
|
* @hidden
|
|
4
5
|
*/
|
|
5
|
-
export declare type PlaceholderContent = HeadingContent;
|
|
6
|
+
export declare type PlaceholderContent = HeadingContent & DescriptionContent;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
2
|
import type { LinkProps } from '../../model/LinkProps';
|
|
3
3
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
4
|
-
import type { DescriptionContent } from '../../ui-kit/Description/
|
|
4
|
+
import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
|
|
5
5
|
import type { HeadingContent, HeadingTypeContent } from '../../ui-kit/Heading/HeadingContent';
|
|
6
6
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
7
7
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
2
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
3
|
-
import type { DescriptionContent } from '../../ui-kit/Description/
|
|
3
|
+
import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
|
|
4
4
|
import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
|
|
5
5
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
6
6
|
import type { TextBenefit } from '../BenefitsBlock/BenefitsBlockContent';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
2
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
3
|
-
import type { DescriptionContent } from '../../ui-kit/Description/
|
|
3
|
+
import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
|
|
4
4
|
import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
|
|
5
5
|
/**
|
|
6
6
|
* @title Акции
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
2
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
3
|
-
import type { DescriptionContent } from '../../ui-kit/Description/
|
|
3
|
+
import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
|
|
4
4
|
import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
|
|
5
5
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
6
6
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
package/dist/types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { ContentPageContext } from './components/ContentPage/ContentPageCon
|
|
|
3
3
|
import type { BlockVersion } from './model/BlockVersion';
|
|
4
4
|
export declare type ColorPalette = 'pc' | 'bc' | 'eo' | 'eo2' | 'eo3' | 'eo4';
|
|
5
5
|
export interface BaseBlockDef {
|
|
6
|
-
type
|
|
6
|
+
type?: string;
|
|
7
7
|
style?: string[];
|
|
8
8
|
content?: BlockContent;
|
|
9
9
|
version?: BlockVersion;
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DescriptionContent } from './DescriptionContent';
|
|
2
|
+
export interface DescriptionProps extends DescriptionContent {
|
|
3
|
+
className?: string;
|
|
4
|
+
}
|
|
2
5
|
export declare const Description: (props: import("@redneckz/uni-jsx").PropsWithChildren<DescriptionProps, any>, context?: any) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Description.js","sourceRoot":"","sources":["../../../src/ui-kit/Description/Description.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"Description.js","sourceRoot":"","sources":["../../../src/ui-kit/Description/Description.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAO3B,QAAA,WAAW,GAAG,IAAA,aAAG,EAAmB,CAAC,KAAK,EAAE,EAAE;IACzD,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAEzC,OAAO,gCAAK,SAAS,EAAE,yBAAyB,SAAS,IAAI,EAAE,EAAE,YAAG,WAAW,GAAO,CAAC;AACzF,CAAC,CAAC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
//# sourceMappingURL=
|
|
2
|
+
//# sourceMappingURL=DescriptionContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescriptionContent.js","sourceRoot":"","sources":["../../../src/ui-kit/Description/DescriptionContent.ts"],"names":[],"mappings":""}
|
package/lib/common.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "../fonts/ubuntu/ubuntu.css";[data-theme=pc]{--color-primary-main:66,171,68;--color-primary-hover:36,131,65;--color-primary-active:36,95,52;--color-secondary-hover:216,242,217;--color-secondary-active:197,226,198;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}[data-theme=bc]{--color-primary-main:131,184,62;--color-primary-hover:92,146,29;--color-primary-active:60,94,16;--color-secondary-hover:232,244,217;--color-secondary-active:216,227,202;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}[data-theme=eo]{--color-primary-main:221,182,61;--color-primary-hover:187,151,39;--color-primary-active:126,99,12;--color-secondary-hover:241,236,221;--color-secondary-active:229,222,199;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}[data-theme=eo2]{--color-primary-main:255,204,0;--color-primary-hover:187,151,39;--color-primary-active:126,99,12;--color-secondary-hover:241,236,221;--color-secondary-active:229,222,199;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}[data-theme=eo3]{--color-primary-main:225,186,30;--color-primary-hover:187,151,39;--color-primary-active:126,99,12;--color-secondary-hover:241,236,221;--color-secondary-active:229,222,199;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}[data-theme=eo4]{--color-primary-main:233,191,23;--color-primary-hover:187,151,39;--color-primary-active:126,99,12;--color-secondary-hover:241,236,221;--color-secondary-active:229,222,199;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}.container{margin-left:auto;margin-right:auto;width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.absolute{position:absolute}.relative{position:relative}.sticky{position:-webkit-sticky;position:sticky}.inset-x-0{left:0;right:0}.top-1{top:.25rem}.right-1{right:.25rem}.top-7{top:1.75rem}.right-7{right:1.75rem}.top-0{top:0}.right-0{right:0}.bottom-0{bottom:0}.top-4{top:1rem}.right-4{right:1rem}.left-0{left:0}.top-1\/2{top:50%}.left-8{left:2rem}.left-1{left:.25rem}.-bottom-3{bottom:-.75rem}.top-8{top:2rem}.z-10{z-index:10}.col-span-12{grid-column:span 12/span 12}.col-span-8{grid-column:span 8/span 8}.col-span-4{grid-column:span 4/span 4}.col-span-6{grid-column:span 6/span 6}.m-0{margin:0}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.mx-7{margin-left:1.75rem;margin-right:1.75rem}.my-4{margin-bottom:1rem;margin-top:1rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.my-3{margin-bottom:.75rem;margin-top:.75rem}.mb-2{margin-bottom:.5rem}.mb-5{margin-bottom:1.25rem}.mb-2\.5{margin-bottom:.625rem}.mb-4{margin-bottom:1rem}.mt-9{margin-top:2.25rem}.mt-2{margin-top:.5rem}.mb-9{margin-bottom:2.25rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mb-\[18px\]{margin-bottom:18px}.mt-auto{margin-top:auto}.mr-6{margin-right:1.5rem}.mr-\[42px\]{margin-right:42px}.mt-\[23px\]{margin-top:23px}.mb-7{margin-bottom:1.75rem}.mt-3{margin-top:.75rem}.mb-3{margin-bottom:.75rem}.mr-3{margin-right:.75rem}.mr-2{margin-right:.5rem}.ml-2{margin-left:.5rem}.mb-6{margin-bottom:1.5rem}.mt-6{margin-top:1.5rem}.mb-8{margin-bottom:2rem}.mt-2\.5{margin-top:.625rem}.mr-8{margin-right:2rem}.ml-auto{margin-left:auto}.mr-5{margin-right:1.25rem}.mr-7{margin-right:1.75rem}.mb-\[26px\]{margin-bottom:26px}.mr-2\.5{margin-right:.625rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.mt-\[19px\]{margin-top:19px}.mb-3\.5{margin-bottom:.875rem}.mr-1\.5{margin-right:.375rem}.mr-1{margin-right:.25rem}.ml-7{margin-left:1.75rem}.mb-1{margin-bottom:.25rem}.mt-1\.5{margin-top:.375rem}.mt-1{margin-top:.25rem}.mb-0\.5{margin-bottom:.125rem}.mb-0{margin-bottom:0}.ml-\[34px\]{margin-left:34px}.ml-\[24px\]{margin-left:24px}.ml-3{margin-left:.75rem}.mr-\[14px\]{margin-right:14px}.mr-auto{margin-right:auto}.ml-px{margin-left:1px}.mt-0\.5{margin-top:.125rem}.ml-0\.5{margin-left:.125rem}.mt-0{margin-top:0}.ml-0{margin-left:0}.ml-2\.5{margin-left:.625rem}.mt-\[22px\]{margin-top:22px}.box-border{box-sizing:border-box}.block{display:block}.\!block{display:block!important}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-full{height:100%}.h-\[20px\]{height:20px}.h-12{height:3rem}.h-\[70px\]{height:70px}.h-\[63px\]{height:63px}.h-8{height:2rem}.h-fit{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.h-10{height:2.5rem}.h-\[38px\]{height:38px}.h-\[50px\]{height:50px}.h-\[1px\]{height:1px}.h-\[24px\]{height:24px}.h-\[90px\]{height:90px}.h-\[48px\]{height:48px}.h-4{height:1rem}.h-\[25px\]{height:25px}.h-\[3px\]{height:3px}.h-0\.5{height:.125rem}.h-0{height:0}.h-\[100px\]{height:100px}.h-\[6px\]{height:6px}.h-2{height:.5rem}.h-5{height:1.25rem}.h-\[2px\]{height:2px}.h-1\.5{height:.375rem}.h-1{height:.25rem}.max-h-0{max-height:0}.max-h-6{max-height:1.5rem}.max-h-12{max-height:3rem}.min-h-\[300px\]{min-height:300px}.min-h-\[320px\]{min-height:320px}.min-h-\[360px\]{min-height:360px}.min-h-\[70px\]{min-height:70px}.min-h-\[63px\]{min-height:63px}.min-h-\[32px\]{min-height:32px}.min-h-6{min-height:1.5rem}.min-h-\[90px\]{min-height:90px}.min-h-0{min-height:0}.min-h-\[420px\]{min-height:420px}.min-h-\[50px\]{min-height:50px}.min-h-8{min-height:2rem}.min-h-\[100px\]{min-height:100px}.min-h-\[6px\]{min-height:6px}.min-h-2{min-height:.5rem}.min-h-12{min-height:3rem}.min-h-1\.5{min-height:.375rem}.min-h-1{min-height:.25rem}.w-\[20px\]{width:20px}.w-full{width:100%}.w-\[70px\]{width:70px}.w-\[84px\]{width:84px}.w-80{width:20rem}.w-\[63px\]{width:63px}.w-\[200px\]{width:200px}.w-8{width:2rem}.w-max{width:-webkit-max-content;width:-moz-max-content;width:max-content}.w-\[75px\]{width:75px}.w-\[280px\]{width:280px}.w-\[38px\]{width:38px}.w-\[364px\]{width:364px}.w-\[260px\]{width:260px}.w-\[24px\]{width:24px}.w-\[125px\]{width:125px}.w-fit{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.w-\[50px\]{width:50px}.w-\[33px\]{width:33px}.w-\[90px\]{width:90px}.w-\[48px\]{width:48px}.w-\[25px\]{width:25px}.w-\[2px\]{width:2px}.w-\[100px\]{width:100px}.w-\[276px\]{width:276px}.w-12{width:3rem}.w-\[354px\]{width:354px}.w-4{width:1rem}.w-\[6px\]{width:6px}.w-2{width:.5rem}.w-\[36px\]{width:36px}.w-5{width:1.25rem}.w-\[1280px\]{width:1280px}.w-10{width:2.5rem}.w-auto{width:auto}.w-1\.5{width:.375rem}.w-1{width:.25rem}.min-w-\[70px\]{min-width:70px}.min-w-\[63px\]{min-width:63px}.min-w-\[364px\]{min-width:364px}.min-w-\[260px\]{min-width:260px}.min-w-\[32px\]{min-width:32px}.min-w-6{min-width:1.5rem}.min-w-\[90px\]{min-width:90px}.min-w-\[600px\]{min-width:600px}.min-w-\[50px\]{min-width:50px}.min-w-\[100px\]{min-width:100px}.min-w-\[6px\]{min-width:6px}.min-w-2{min-width:.5rem}.min-w-1\.5{min-width:.375rem}.min-w-1{min-width:.25rem}.min-w-full{min-width:100%}.max-w-\[170px\]{max-width:170px}.max-w-\[47rem\]{max-width:47rem}.max-w-\[580px\]{max-width:580px}.max-w-\[600px\]{max-width:600px}.max-w-\[292px\]{max-width:292px}.max-w-\[308px\]{max-width:308px}.max-w-\[490px\]{max-width:490px}.max-w-\[149px\]{max-width:149px}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-\[calc\(50\%-20px\)\]{flex-basis:calc(50% - 20px)}.basis-0{flex-basis:0px}.basis-full{flex-basis:100%}.-translate-x-full{--tw-translate-x:-100%}.-translate-x-full,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@-webkit-keyframes progress{0%{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes progress{0%{transform:translateX(-100%)}to{transform:translateX(0)}}.animate-slide{-webkit-animation:progress linear;animation:progress linear}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.snap-center{scroll-snap-align:center}.snap-always{scroll-snap-stop:always}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-3\.5{gap:.875rem}.gap-3{gap:.75rem}.gap-5{gap:1.25rem}.gap-4{gap:1rem}.gap-1{gap:.25rem}.gap-\[54px\]{gap:54px}.gap-11{gap:2.75rem}.gap-\[14px\]{gap:14px}.gap-2{gap:.5rem}.gap-6{gap:1.5rem}.gap-\[6px\]{gap:6px}.gap-8{gap:2rem}.gap-x-5{-moz-column-gap:1.25rem;column-gap:1.25rem}.gap-y-\[26px\]{row-gap:26px}.gap-x-\[101px\]{-moz-column-gap:101px;column-gap:101px}.self-start{align-self:flex-start}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-hidden{overflow-y:hidden}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-3xl{border-radius:1.5rem}.rounded-\[40px\]{border-radius:40px}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.rounded-b-md{border-bottom-left-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-tl-lg{border-top-left-radius:.5rem}.border{border-width:1px}.border-0{border-width:0}.border-\[3px\]{border-width:3px}.border-2{border-width:2px}.border-y-0{border-bottom-width:0;border-top-width:0}.border-x-0{border-left-width:0;border-right-width:0}.border-y{border-top-width:1px}.border-b,.border-y{border-bottom-width:1px}.border-b-0{border-bottom-width:0}.border-t-0{border-top-width:0}.border-t{border-top-width:1px}.border-r{border-right-width:1px}.border-solid{border-style:solid}.border-none{border-style:none}.border-main-divider{--tw-border-opacity:1;border-color:rgba(235,237,240,var(--tw-border-opacity))}.border-main-stroke{--tw-border-opacity:1;border-color:rgba(201,202,204,var(--tw-border-opacity))}.border-primary-main{--tw-border-opacity:1;border-color:rgba(var(--color-primary-main),var(--tw-border-opacity))}.border-main{--tw-border-opacity:1;border-color:rgba(240,244,240,var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.border-black{--tw-border-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-y-main-divider{--tw-border-opacity:1;border-bottom-color:rgba(235,237,240,var(--tw-border-opacity));border-top-color:rgba(235,237,240,var(--tw-border-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-secondary-text{--tw-bg-opacity:1;background-color:rgba(125,126,127,var(--tw-bg-opacity))}.bg-main{--tw-bg-opacity:1;background-color:rgba(240,244,240,var(--tw-bg-opacity))}.bg-secondary-light{--tw-bg-opacity:1;background-color:rgba(245,247,249,var(--tw-bg-opacity))}.bg-primary-main{--tw-bg-opacity:1;background-color:rgba(var(--color-primary-main),var(--tw-bg-opacity))}.bg-main-divider{--tw-bg-opacity:1;background-color:rgba(235,237,240,var(--tw-bg-opacity))}.bg-inherit{background-color:inherit}.bg-white\/30{background-color:hsla(0,0%,100%,.3)}.bg-primary-main\/10{background-color:rgba(var(--color-primary-main),.1)}.bg-secondary-dark{--tw-bg-opacity:1;background-color:rgba(226,228,229,var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity))}.bg-opacity-to-white{background-image:linear-gradient(270deg,#fff 34.89%,hsla(0,0%,100%,0) 92.52%);}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-main-gradient-start{--tw-gradient-from:rgba(var(--color-gradient-from),1);--tw-gradient-to:rgba(var(--color-gradient-from),0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-white{--tw-gradient-from:#fff;--tw-gradient-to:hsla(0,0%,100%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.to-main-gradient-end{--tw-gradient-to:rgba(var(--color-gradient-to),1)}.to-transparent{--tw-gradient-to:transparent}.p-0{padding:0}.p-\[50px\]{padding:50px}.p-4{padding:1rem}.\!p-0{padding:0!important}.p-12{padding:3rem}.p-10{padding:2.5rem}.p-\[49px\]{padding:49px}.p-9{padding:2.25rem}.p-7{padding:1.75rem}.p-2{padding:.5rem}.p-14{padding:3.5rem}.p-\[12px\]{padding:12px}.p-\[10px\]{padding:10px}.p-\[26px\]{padding:26px}.px-9{padding-left:2.25rem;padding-right:2.25rem}.py-\[9px\]{padding-bottom:9px;padding-top:9px}.py-6{padding-bottom:1.5rem;padding-top:1.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-\[14px\]{padding-bottom:14px;padding-top:14px}.px-0{padding-left:0;padding-right:0}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.py-2\.5{padding-bottom:.625rem;padding-top:.625rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-\[50px\]{padding-bottom:50px;padding-top:50px}.py-\[11px\]{padding-bottom:11px;padding-top:11px}.px-7{padding-left:1.75rem;padding-right:1.75rem}.py-7{padding-bottom:1.75rem;padding-top:1.75rem}.py-\[26px\]{padding-bottom:26px;padding-top:26px}.py-10{padding-bottom:2.5rem;padding-top:2.5rem}.py-0{padding-bottom:0;padding-top:0}.px-20{padding-left:5rem;padding-right:5rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0\.5{padding-bottom:.125rem;padding-top:.125rem}.px-\[88px\]{padding-left:88px;padding-right:88px}.py-\[18px\]{padding-bottom:18px;padding-top:18px}.py-4{padding-bottom:1rem;padding-top:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-3\.5{padding-bottom:.875rem;padding-top:.875rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.pl-4{padding-left:1rem}.pl-12{padding-left:3rem}.pr-\[6\%\]{padding-right:6%}.pr-2\.5{padding-right:.625rem}.pr-2{padding-right:.5rem}.pb-5{padding-bottom:1.25rem}.pr-9{padding-right:2.25rem}.pr-\[4\.75rem\]{padding-right:4.75rem}.pr-\[9\.4rem\]{padding-right:9.4rem}.pb-2{padding-bottom:.5rem}.pl-\[50px\]{padding-left:50px}.pr-\[50px\]{padding-right:50px}.pt-7{padding-top:1.75rem}.pb-\[46px\]{padding-bottom:46px}.pt-6{padding-top:1.5rem}.pr-\[56px\]{padding-right:56px}.pl-11{padding-left:2.75rem}.pt-4{padding-top:1rem}.pt-0{padding-top:0}.pb-0{padding-bottom:0}.pb-4{padding-bottom:1rem}.pr-1{padding-right:.25rem}.pl-0\.5{padding-left:.125rem}.pl-0{padding-left:0}.pb-8{padding-bottom:2rem}.pt-\[3px\]{padding-top:3px}.pb-6{padding-bottom:1.5rem}.pt-\[30px\]{padding-top:30px}.pb-7{padding-bottom:1.75rem}.pt-5{padding-top:1.25rem}.pb-\[5px\]{padding-bottom:5px}.pt-\[5px\]{padding-top:5px}.pl-2{padding-left:.5rem}.pr-4{padding-right:1rem}.pl-3{padding-left:.75rem}.pr-0{padding-right:0}.pt-10{padding-top:2.5rem}.pb-\[50px\]{padding-bottom:50px}.pr-\[7\.5rem\]{padding-right:7.5rem}.pl-2\.5{padding-left:.625rem}.pt-2\.5{padding-top:.625rem}.pb-1\.5{padding-bottom:.375rem}.pr-\[6\.25rem\]{padding-right:6.25rem}.pt-2{padding-top:.5rem}.pb-1{padding-bottom:.25rem}.pb-\[2px\]{padding-bottom:2px}.pt-1{padding-top:.25rem}.pl-10{padding-left:2.5rem}.pb-3{padding-bottom:.75rem}.pt-1\.5{padding-top:.375rem}.pl-1{padding-left:.25rem}.pt-0\.5{padding-top:.125rem}.pr-3{padding-right:.75rem}.pr-28{padding-right:7rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-sans{font-family:Ubuntu,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.text-sm{font-size:.875rem;line-height:1.375rem}.text-base{font-size:1rem;line-height:1.5rem}.text-m-md{font-size:.9375rem;line-height:1.5rem}.text-m-title-xs{font-size:1.0625rem;line-height:1.375rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1.125rem}.text-lg{font-size:2.188rem;line-height:3rem}.text-2xs{font-size:.625rem;line-height:.625rem}.text-m-sm{font-size:.875rem;line-height:1.375rem}.text-m-base{font-size:1rem;line-height:1.5rem}.text-m-title{font-size:1.375rem;line-height:1.8125rem}.text-title-sm{font-size:1.75rem;line-height:2.5rem}.text-m-2xs{font-size:.75rem;line-height:1.125rem}.text-m-button{font-size:.875rem;line-height:1.25rem}.text-m-title-md{font-size:1.25rem;line-height:1.625rem}.text-title-lg{font-size:2.5rem;line-height:3rem}.text-title{font-size:2rem;line-height:2.5rem}.text-title-xs{font-size:1.5rem;line-height:1.875rem}.text-title-2xs{font-size:1.25rem;line-height:1.75rem}.font-normal{font-weight:400}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-\[14px\]{line-height:14px}.tracking-\[-0\.3px\]{letter-spacing:-.3px}.tracking-\[0\.2px\]{letter-spacing:.2px}.text-secondary-text{--tw-text-opacity:1;color:rgba(125,126,127,var(--tw-text-opacity))}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-primary-text{--tw-text-opacity:1;color:rgba(28,28,28,var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-primary-main{--tw-text-opacity:1;color:rgba(var(--color-primary-main),var(--tw-text-opacity))}.text-secondary-light{--tw-text-opacity:1;color:rgba(245,247,249,var(--tw-text-opacity))}.text-white\/80{color:hsla(0,0%,100%,.8)}.no-underline{-webkit-text-decoration-line:none;text-decoration-line:none}.opacity-80{opacity:.8}.opacity-60{opacity:.6}.opacity-30{opacity:.3}.opacity-0{opacity:0}.shadow-\[0_8px_32px_0px_\#00000014\]{--tw-shadow:0 8px 32px 0px #00000014;--tw-shadow-colored:0 8px 32px 0px var(--tw-shadow-color)}.shadow-\[0_4px_25px_rgba\(0\2c 0\2c 0\2c 0\.07\)\],.shadow-\[0_8px_32px_0px_\#00000014\]{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-\[0_4px_25px_rgba\(0\2c 0\2c 0\2c 0\.07\)\]{--tw-shadow:0 4px 25px rgba(0,0,0,.07);--tw-shadow-colored:0 4px 25px var(--tw-shadow-color)}.outline-none{outline:2px solid transparent;outline-offset:2px}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.duration-1000{transition-duration:1s}.rotate-180{transform:rotate(180deg)}.-translate-x-full{transform:translateX(-100%)}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.horizontal-list{-webkit-overflow-scrolling:touch;display:flex;overflow-x:scroll;overscroll-behavior:contain;scroll-snap-type:x mandatory;touch-action:pan-x}.horizontal-list-item{flex-shrink:0;scroll-snap-align:start;scroll-snap-stop:always;width:100%}input[type=range].slider{-webkit-appearance:none;background:transparent;background-image:linear-gradient(#42ab44,#42ab44);background-repeat:no-repeat;border-radius:5px;height:4px}input[type=range].slider::-webkit-slider-thumb{-webkit-appearance:none;background:#fff;border:3px solid #42ab44;border-radius:50%;box-shadow:none;cursor:pointer;height:18px;width:18px}input[type=range].slider::-moz-range-thumb{background:#fff;border:3px solid #42ab44;border-radius:50%;box-shadow:none;cursor:pointer;height:12px;width:12px}input[type=range].slider::-ms-thumb{background:#fff;border:3px solid #42ab44;border-radius:50%;box-shadow:none;cursor:pointer;height:18px;width:18px}.first\:rounded-tl-md:first-child{border-top-left-radius:.375rem}.first\:rounded-bl-md:first-child{border-bottom-left-radius:.375rem}.first\:pt-7:first-child{padding-top:1.75rem}.first\:pl-0:first-child{padding-left:0}.first\:pt-5:first-child{padding-top:1.25rem}.last\:mb-0:last-child{margin-bottom:0}.last\:mr-0:last-child{margin-right:0}.last\:rounded-tr-md:last-child{border-top-right-radius:.375rem}.last\:rounded-br-md:last-child{border-bottom-right-radius:.375rem}.last\:border-b-0:last-child{border-bottom-width:0}.last\:pb-7:last-child{padding-bottom:1.75rem}.last\:pb-5:last-child{padding-bottom:1.25rem}.visited\:text-secondary-text:visited{color:rgba(125,126,127,var(--tw-text-opacity))}.checked\:border-primary-main:checked{--tw-border-opacity:1;border-color:rgba(var(--color-primary-main),var(--tw-border-opacity))}.checked\:bg-primary-main:checked{--tw-bg-opacity:1;background-color:rgba(var(--color-primary-main),var(--tw-bg-opacity))}.hover\:border-primary-main:hover{--tw-border-opacity:1;border-color:rgba(var(--color-primary-main),var(--tw-border-opacity))}.hover\:bg-secondary-hover:hover{--tw-bg-opacity:1;background-color:rgba(var(--color-secondary-hover),var(--tw-bg-opacity))}.hover\:bg-primary-hover:hover{--tw-bg-opacity:1;background-color:rgba(var(--color-primary-hover),var(--tw-bg-opacity))}.hover\:fill-primary-main:hover{fill:rgba(var(--color-primary-main),1)}.hover\:text-primary-main:hover{--tw-text-opacity:1;color:rgba(var(--color-primary-main),var(--tw-text-opacity))}.hover\:text-primary-text:hover{--tw-text-opacity:1;color:rgba(28,28,28,var(--tw-text-opacity))}.hover\:text-secondary-hover:hover{--tw-text-opacity:1;color:rgba(var(--color-secondary-hover),var(--tw-text-opacity))}.focus\:border-primary-text:focus{--tw-border-opacity:1;border-color:rgba(28,28,28,var(--tw-border-opacity))}.active\:bg-secondary-active:active{--tw-bg-opacity:1;background-color:rgba(var(--color-secondary-active),var(--tw-bg-opacity))}.active\:bg-primary-active:active{--tw-bg-opacity:1;background-color:rgba(var(--color-primary-active),var(--tw-bg-opacity))}.group:last-child .group-last\:last\:pb-0:last-child{padding-bottom:0}.group:hover .group-hover\:text-primary-main{--tw-text-opacity:1;color:rgba(var(--color-primary-main),var(--tw-text-opacity))}.group:hover .group-hover\:text-primary-text{--tw-text-opacity:1;color:rgba(28,28,28,var(--tw-text-opacity))}.peer:checked~.peer-checked\:block{display:block}.peer:focus~.peer-focus\:visible{visibility:visible}@media (min-width:1280px) and (max-width:1535px){.xl\:w-\[220px\]{width:220px}.xl\:gap-8{gap:2rem}.xl\:gap-5{gap:1.25rem}}
|
|
1
|
+
@import "../fonts/ubuntu/ubuntu.css";[data-theme=pc]{--color-primary-main:66,171,68;--color-primary-hover:36,131,65;--color-primary-active:36,95,52;--color-secondary-hover:216,242,217;--color-secondary-active:197,226,198;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}[data-theme=bc]{--color-primary-main:131,184,62;--color-primary-hover:92,146,29;--color-primary-active:60,94,16;--color-secondary-hover:232,244,217;--color-secondary-active:216,227,202;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}[data-theme=eo]{--color-primary-main:221,182,61;--color-primary-hover:187,151,39;--color-primary-active:126,99,12;--color-secondary-hover:241,236,221;--color-secondary-active:229,222,199;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}[data-theme=eo2]{--color-primary-main:255,204,0;--color-primary-hover:187,151,39;--color-primary-active:126,99,12;--color-secondary-hover:241,236,221;--color-secondary-active:229,222,199;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}[data-theme=eo3]{--color-primary-main:225,186,30;--color-primary-hover:187,151,39;--color-primary-active:126,99,12;--color-secondary-hover:241,236,221;--color-secondary-active:229,222,199;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}[data-theme=eo4]{--color-primary-main:233,191,23;--color-primary-hover:187,151,39;--color-primary-active:126,99,12;--color-secondary-hover:241,236,221;--color-secondary-active:229,222,199;--color-gradient-from:141,189,76;--color-gradient-to:69,172,69}.container{margin-left:auto;margin-right:auto;width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.absolute{position:absolute}.relative{position:relative}.sticky{position:-webkit-sticky;position:sticky}.inset-x-0{left:0;right:0}.top-1{top:.25rem}.right-1{right:.25rem}.top-7{top:1.75rem}.right-7{right:1.75rem}.top-0{top:0}.right-0{right:0}.bottom-0{bottom:0}.top-4{top:1rem}.right-4{right:1rem}.left-0{left:0}.top-1\/2{top:50%}.left-8{left:2rem}.left-1{left:.25rem}.-bottom-3{bottom:-.75rem}.top-8{top:2rem}.z-10{z-index:10}.col-span-12{grid-column:span 12/span 12}.col-span-8{grid-column:span 8/span 8}.col-span-4{grid-column:span 4/span 4}.col-span-6{grid-column:span 6/span 6}.m-0{margin:0}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.mx-7{margin-left:1.75rem;margin-right:1.75rem}.my-4{margin-bottom:1rem;margin-top:1rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.my-3{margin-bottom:.75rem;margin-top:.75rem}.mb-2{margin-bottom:.5rem}.mb-5{margin-bottom:1.25rem}.mb-2\.5{margin-bottom:.625rem}.mb-4{margin-bottom:1rem}.mt-9{margin-top:2.25rem}.mt-2{margin-top:.5rem}.mb-9{margin-bottom:2.25rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mb-\[18px\]{margin-bottom:18px}.mt-auto{margin-top:auto}.mr-6{margin-right:1.5rem}.mr-\[42px\]{margin-right:42px}.mt-\[23px\]{margin-top:23px}.mb-7{margin-bottom:1.75rem}.mt-3{margin-top:.75rem}.mb-3{margin-bottom:.75rem}.mr-3{margin-right:.75rem}.mr-2{margin-right:.5rem}.ml-2{margin-left:.5rem}.mb-6{margin-bottom:1.5rem}.mt-6{margin-top:1.5rem}.mb-8{margin-bottom:2rem}.mt-2\.5{margin-top:.625rem}.mr-8{margin-right:2rem}.ml-auto{margin-left:auto}.mr-5{margin-right:1.25rem}.mr-7{margin-right:1.75rem}.mb-\[26px\]{margin-bottom:26px}.mr-2\.5{margin-right:.625rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.mt-\[19px\]{margin-top:19px}.mb-3\.5{margin-bottom:.875rem}.mr-1\.5{margin-right:.375rem}.mr-1{margin-right:.25rem}.ml-7{margin-left:1.75rem}.mb-1{margin-bottom:.25rem}.mt-1\.5{margin-top:.375rem}.mt-1{margin-top:.25rem}.mb-0\.5{margin-bottom:.125rem}.mb-0{margin-bottom:0}.ml-\[34px\]{margin-left:34px}.ml-\[24px\]{margin-left:24px}.ml-3{margin-left:.75rem}.mr-\[14px\]{margin-right:14px}.mr-auto{margin-right:auto}.ml-px{margin-left:1px}.mt-0\.5{margin-top:.125rem}.ml-0\.5{margin-left:.125rem}.mt-0{margin-top:0}.ml-0{margin-left:0}.ml-2\.5{margin-left:.625rem}.mt-\[22px\]{margin-top:22px}.box-border{box-sizing:border-box}.block{display:block}.\!block{display:block!important}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-full{height:100%}.h-\[20px\]{height:20px}.h-12{height:3rem}.h-\[70px\]{height:70px}.h-\[63px\]{height:63px}.h-8{height:2rem}.h-fit{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.h-10{height:2.5rem}.h-\[38px\]{height:38px}.h-\[50px\]{height:50px}.h-\[1px\]{height:1px}.h-\[24px\]{height:24px}.h-\[90px\]{height:90px}.h-\[48px\]{height:48px}.h-4{height:1rem}.h-\[25px\]{height:25px}.h-\[3px\]{height:3px}.h-0\.5{height:.125rem}.h-0{height:0}.h-\[100px\]{height:100px}.h-\[6px\]{height:6px}.h-2{height:.5rem}.h-5{height:1.25rem}.h-\[2px\]{height:2px}.h-1\.5{height:.375rem}.h-1{height:.25rem}.max-h-0{max-height:0}.max-h-6{max-height:1.5rem}.max-h-12{max-height:3rem}.min-h-\[300px\]{min-height:300px}.min-h-\[320px\]{min-height:320px}.min-h-\[360px\]{min-height:360px}.min-h-\[70px\]{min-height:70px}.min-h-\[63px\]{min-height:63px}.min-h-\[32px\]{min-height:32px}.min-h-6{min-height:1.5rem}.min-h-\[90px\]{min-height:90px}.min-h-\[420px\]{min-height:420px}.min-h-\[50px\]{min-height:50px}.min-h-8{min-height:2rem}.min-h-\[100px\]{min-height:100px}.min-h-\[6px\]{min-height:6px}.min-h-2{min-height:.5rem}.min-h-12{min-height:3rem}.min-h-1\.5{min-height:.375rem}.min-h-1{min-height:.25rem}.w-\[20px\]{width:20px}.w-full{width:100%}.w-\[70px\]{width:70px}.w-\[84px\]{width:84px}.w-80{width:20rem}.w-\[63px\]{width:63px}.w-\[200px\]{width:200px}.w-8{width:2rem}.w-max{width:-webkit-max-content;width:-moz-max-content;width:max-content}.w-\[75px\]{width:75px}.w-\[280px\]{width:280px}.w-\[38px\]{width:38px}.w-\[364px\]{width:364px}.w-\[260px\]{width:260px}.w-\[24px\]{width:24px}.w-\[125px\]{width:125px}.w-fit{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.w-\[50px\]{width:50px}.w-\[33px\]{width:33px}.w-\[90px\]{width:90px}.w-\[48px\]{width:48px}.w-\[25px\]{width:25px}.w-\[2px\]{width:2px}.w-\[100px\]{width:100px}.w-\[276px\]{width:276px}.w-12{width:3rem}.w-\[354px\]{width:354px}.w-4{width:1rem}.w-\[6px\]{width:6px}.w-2{width:.5rem}.w-\[36px\]{width:36px}.w-5{width:1.25rem}.w-\[1280px\]{width:1280px}.w-10{width:2.5rem}.w-auto{width:auto}.w-1\.5{width:.375rem}.w-1{width:.25rem}.min-w-\[70px\]{min-width:70px}.min-w-\[63px\]{min-width:63px}.min-w-\[364px\]{min-width:364px}.min-w-\[260px\]{min-width:260px}.min-w-\[32px\]{min-width:32px}.min-w-6{min-width:1.5rem}.min-w-\[90px\]{min-width:90px}.min-w-\[600px\]{min-width:600px}.min-w-\[50px\]{min-width:50px}.min-w-\[100px\]{min-width:100px}.min-w-\[6px\]{min-width:6px}.min-w-2{min-width:.5rem}.min-w-1\.5{min-width:.375rem}.min-w-1{min-width:.25rem}.min-w-full{min-width:100%}.max-w-\[170px\]{max-width:170px}.max-w-\[47rem\]{max-width:47rem}.max-w-\[580px\]{max-width:580px}.max-w-\[600px\]{max-width:600px}.max-w-\[292px\]{max-width:292px}.max-w-\[308px\]{max-width:308px}.max-w-\[490px\]{max-width:490px}.max-w-\[149px\]{max-width:149px}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-\[calc\(50\%-20px\)\]{flex-basis:calc(50% - 20px)}.basis-0{flex-basis:0px}.basis-full{flex-basis:100%}.-translate-x-full{--tw-translate-x:-100%}.-translate-x-full,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@-webkit-keyframes progress{0%{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes progress{0%{transform:translateX(-100%)}to{transform:translateX(0)}}.animate-slide{-webkit-animation:progress linear;animation:progress linear}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.snap-center{scroll-snap-align:center}.snap-always{scroll-snap-stop:always}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-3\.5{gap:.875rem}.gap-3{gap:.75rem}.gap-5{gap:1.25rem}.gap-4{gap:1rem}.gap-1{gap:.25rem}.gap-\[54px\]{gap:54px}.gap-11{gap:2.75rem}.gap-\[14px\]{gap:14px}.gap-2{gap:.5rem}.gap-6{gap:1.5rem}.gap-\[6px\]{gap:6px}.gap-8{gap:2rem}.gap-x-5{-moz-column-gap:1.25rem;column-gap:1.25rem}.gap-y-\[26px\]{row-gap:26px}.gap-x-\[101px\]{-moz-column-gap:101px;column-gap:101px}.self-start{align-self:flex-start}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-hidden{overflow-y:hidden}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-3xl{border-radius:1.5rem}.rounded-\[40px\]{border-radius:40px}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.rounded-b-md{border-bottom-left-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-tl-lg{border-top-left-radius:.5rem}.border{border-width:1px}.border-0{border-width:0}.border-\[3px\]{border-width:3px}.border-2{border-width:2px}.border-y-0{border-bottom-width:0;border-top-width:0}.border-x-0{border-left-width:0;border-right-width:0}.border-y{border-top-width:1px}.border-b,.border-y{border-bottom-width:1px}.border-b-0{border-bottom-width:0}.border-t-0{border-top-width:0}.border-t{border-top-width:1px}.border-r{border-right-width:1px}.border-solid{border-style:solid}.border-none{border-style:none}.border-main-divider{--tw-border-opacity:1;border-color:rgba(235,237,240,var(--tw-border-opacity))}.border-main-stroke{--tw-border-opacity:1;border-color:rgba(201,202,204,var(--tw-border-opacity))}.border-primary-main{--tw-border-opacity:1;border-color:rgba(var(--color-primary-main),var(--tw-border-opacity))}.border-main{--tw-border-opacity:1;border-color:rgba(240,244,240,var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.border-black{--tw-border-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-y-main-divider{--tw-border-opacity:1;border-bottom-color:rgba(235,237,240,var(--tw-border-opacity));border-top-color:rgba(235,237,240,var(--tw-border-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-secondary-text{--tw-bg-opacity:1;background-color:rgba(125,126,127,var(--tw-bg-opacity))}.bg-main{--tw-bg-opacity:1;background-color:rgba(240,244,240,var(--tw-bg-opacity))}.bg-secondary-light{--tw-bg-opacity:1;background-color:rgba(245,247,249,var(--tw-bg-opacity))}.bg-primary-main{--tw-bg-opacity:1;background-color:rgba(var(--color-primary-main),var(--tw-bg-opacity))}.bg-main-divider{--tw-bg-opacity:1;background-color:rgba(235,237,240,var(--tw-bg-opacity))}.bg-inherit{background-color:inherit}.bg-white\/30{background-color:hsla(0,0%,100%,.3)}.bg-primary-main\/10{background-color:rgba(var(--color-primary-main),.1)}.bg-secondary-dark{--tw-bg-opacity:1;background-color:rgba(226,228,229,var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity))}.bg-opacity-to-white{background-image:linear-gradient(270deg,#fff 34.89%,hsla(0,0%,100%,0) 92.52%);}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-main-gradient-start{--tw-gradient-from:rgba(var(--color-gradient-from),1);--tw-gradient-to:rgba(var(--color-gradient-from),0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-white{--tw-gradient-from:#fff;--tw-gradient-to:hsla(0,0%,100%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.to-main-gradient-end{--tw-gradient-to:rgba(var(--color-gradient-to),1)}.to-transparent{--tw-gradient-to:transparent}.p-0{padding:0}.p-\[50px\]{padding:50px}.p-4{padding:1rem}.\!p-0{padding:0!important}.p-12{padding:3rem}.p-10{padding:2.5rem}.p-\[49px\]{padding:49px}.p-9{padding:2.25rem}.p-7{padding:1.75rem}.p-2{padding:.5rem}.p-14{padding:3.5rem}.p-\[12px\]{padding:12px}.p-\[10px\]{padding:10px}.p-\[26px\]{padding:26px}.px-9{padding-left:2.25rem;padding-right:2.25rem}.py-\[9px\]{padding-bottom:9px;padding-top:9px}.py-6{padding-bottom:1.5rem;padding-top:1.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-\[14px\]{padding-bottom:14px;padding-top:14px}.px-0{padding-left:0;padding-right:0}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.py-2\.5{padding-bottom:.625rem;padding-top:.625rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-\[50px\]{padding-bottom:50px;padding-top:50px}.py-\[11px\]{padding-bottom:11px;padding-top:11px}.px-7{padding-left:1.75rem;padding-right:1.75rem}.py-7{padding-bottom:1.75rem;padding-top:1.75rem}.py-\[26px\]{padding-bottom:26px;padding-top:26px}.py-10{padding-bottom:2.5rem;padding-top:2.5rem}.py-0{padding-bottom:0;padding-top:0}.px-20{padding-left:5rem;padding-right:5rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0\.5{padding-bottom:.125rem;padding-top:.125rem}.px-\[88px\]{padding-left:88px;padding-right:88px}.py-\[18px\]{padding-bottom:18px;padding-top:18px}.py-4{padding-bottom:1rem;padding-top:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-3\.5{padding-bottom:.875rem;padding-top:.875rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.pl-4{padding-left:1rem}.pl-12{padding-left:3rem}.pr-\[6\%\]{padding-right:6%}.pr-2\.5{padding-right:.625rem}.pr-2{padding-right:.5rem}.pb-5{padding-bottom:1.25rem}.pr-9{padding-right:2.25rem}.pr-\[4\.75rem\]{padding-right:4.75rem}.pr-\[9\.4rem\]{padding-right:9.4rem}.pb-2{padding-bottom:.5rem}.pl-\[50px\]{padding-left:50px}.pr-\[50px\]{padding-right:50px}.pt-7{padding-top:1.75rem}.pb-\[46px\]{padding-bottom:46px}.pt-6{padding-top:1.5rem}.pr-\[56px\]{padding-right:56px}.pl-11{padding-left:2.75rem}.pt-4{padding-top:1rem}.pt-0{padding-top:0}.pb-0{padding-bottom:0}.pb-4{padding-bottom:1rem}.pr-1{padding-right:.25rem}.pl-0\.5{padding-left:.125rem}.pl-0{padding-left:0}.pb-8{padding-bottom:2rem}.pt-\[3px\]{padding-top:3px}.pb-6{padding-bottom:1.5rem}.pt-\[30px\]{padding-top:30px}.pb-7{padding-bottom:1.75rem}.pt-5{padding-top:1.25rem}.pb-\[5px\]{padding-bottom:5px}.pt-\[5px\]{padding-top:5px}.pl-2{padding-left:.5rem}.pr-4{padding-right:1rem}.pl-3{padding-left:.75rem}.pt-10{padding-top:2.5rem}.pb-\[50px\]{padding-bottom:50px}.pr-\[7\.5rem\]{padding-right:7.5rem}.pl-2\.5{padding-left:.625rem}.pt-2\.5{padding-top:.625rem}.pb-1\.5{padding-bottom:.375rem}.pr-\[6\.25rem\]{padding-right:6.25rem}.pt-2{padding-top:.5rem}.pb-1{padding-bottom:.25rem}.pb-\[2px\]{padding-bottom:2px}.pt-1{padding-top:.25rem}.pl-10{padding-left:2.5rem}.pb-3{padding-bottom:.75rem}.pt-1\.5{padding-top:.375rem}.pl-1{padding-left:.25rem}.pt-0\.5{padding-top:.125rem}.pr-3{padding-right:.75rem}.pr-28{padding-right:7rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-sans{font-family:Ubuntu,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.text-sm{font-size:.875rem;line-height:1.375rem}.text-base{font-size:1rem;line-height:1.5rem}.text-m-md{font-size:.9375rem;line-height:1.5rem}.text-m-title-xs{font-size:1.0625rem;line-height:1.375rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1.125rem}.text-lg{font-size:2.188rem;line-height:3rem}.text-2xs{font-size:.625rem;line-height:.625rem}.text-m-sm{font-size:.875rem;line-height:1.375rem}.text-m-base{font-size:1rem;line-height:1.5rem}.text-m-title{font-size:1.375rem;line-height:1.8125rem}.text-title-sm{font-size:1.75rem;line-height:2.5rem}.text-m-2xs{font-size:.75rem;line-height:1.125rem}.text-m-button{font-size:.875rem;line-height:1.25rem}.text-m-title-md{font-size:1.25rem;line-height:1.625rem}.text-title-lg{font-size:2.5rem;line-height:3rem}.text-title{font-size:2rem;line-height:2.5rem}.text-title-xs{font-size:1.5rem;line-height:1.875rem}.text-title-2xs{font-size:1.25rem;line-height:1.75rem}.font-normal{font-weight:400}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-\[14px\]{line-height:14px}.tracking-\[-0\.3px\]{letter-spacing:-.3px}.tracking-\[0\.2px\]{letter-spacing:.2px}.text-secondary-text{--tw-text-opacity:1;color:rgba(125,126,127,var(--tw-text-opacity))}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-primary-text{--tw-text-opacity:1;color:rgba(28,28,28,var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-primary-main{--tw-text-opacity:1;color:rgba(var(--color-primary-main),var(--tw-text-opacity))}.text-secondary-light{--tw-text-opacity:1;color:rgba(245,247,249,var(--tw-text-opacity))}.text-white\/80{color:hsla(0,0%,100%,.8)}.no-underline{-webkit-text-decoration-line:none;text-decoration-line:none}.opacity-80{opacity:.8}.opacity-60{opacity:.6}.opacity-30{opacity:.3}.opacity-0{opacity:0}.shadow-\[0_8px_32px_0px_\#00000014\]{--tw-shadow:0 8px 32px 0px #00000014;--tw-shadow-colored:0 8px 32px 0px var(--tw-shadow-color)}.shadow-\[0_4px_25px_rgba\(0\2c 0\2c 0\2c 0\.07\)\],.shadow-\[0_8px_32px_0px_\#00000014\]{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-\[0_4px_25px_rgba\(0\2c 0\2c 0\2c 0\.07\)\]{--tw-shadow:0 4px 25px rgba(0,0,0,.07);--tw-shadow-colored:0 4px 25px var(--tw-shadow-color)}.outline-none{outline:2px solid transparent;outline-offset:2px}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.duration-1000{transition-duration:1s}.rotate-180{transform:rotate(180deg)}.-translate-x-full{transform:translateX(-100%)}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.horizontal-list{-webkit-overflow-scrolling:touch;display:flex;overflow-x:scroll;overscroll-behavior:contain;scroll-snap-type:x mandatory;touch-action:pan-x}.horizontal-list-item{flex-shrink:0;scroll-snap-align:start;scroll-snap-stop:always;width:100%}input[type=range].slider{-webkit-appearance:none;background:transparent;background-image:linear-gradient(#42ab44,#42ab44);background-repeat:no-repeat;border-radius:5px;height:4px}input[type=range].slider::-webkit-slider-thumb{-webkit-appearance:none;background:#fff;border:3px solid #42ab44;border-radius:50%;box-shadow:none;cursor:pointer;height:18px;width:18px}input[type=range].slider::-moz-range-thumb{background:#fff;border:3px solid #42ab44;border-radius:50%;box-shadow:none;cursor:pointer;height:12px;width:12px}input[type=range].slider::-ms-thumb{background:#fff;border:3px solid #42ab44;border-radius:50%;box-shadow:none;cursor:pointer;height:18px;width:18px}.first\:rounded-tl-md:first-child{border-top-left-radius:.375rem}.first\:rounded-bl-md:first-child{border-bottom-left-radius:.375rem}.first\:pt-7:first-child{padding-top:1.75rem}.first\:pl-0:first-child{padding-left:0}.first\:pt-5:first-child{padding-top:1.25rem}.last\:mb-0:last-child{margin-bottom:0}.last\:mr-0:last-child{margin-right:0}.last\:rounded-tr-md:last-child{border-top-right-radius:.375rem}.last\:rounded-br-md:last-child{border-bottom-right-radius:.375rem}.last\:border-b-0:last-child{border-bottom-width:0}.last\:pb-7:last-child{padding-bottom:1.75rem}.last\:pb-5:last-child{padding-bottom:1.25rem}.visited\:text-secondary-text:visited{color:rgba(125,126,127,var(--tw-text-opacity))}.checked\:border-primary-main:checked{--tw-border-opacity:1;border-color:rgba(var(--color-primary-main),var(--tw-border-opacity))}.checked\:bg-primary-main:checked{--tw-bg-opacity:1;background-color:rgba(var(--color-primary-main),var(--tw-bg-opacity))}.hover\:border-primary-main:hover{--tw-border-opacity:1;border-color:rgba(var(--color-primary-main),var(--tw-border-opacity))}.hover\:bg-secondary-hover:hover{--tw-bg-opacity:1;background-color:rgba(var(--color-secondary-hover),var(--tw-bg-opacity))}.hover\:bg-primary-hover:hover{--tw-bg-opacity:1;background-color:rgba(var(--color-primary-hover),var(--tw-bg-opacity))}.hover\:fill-primary-main:hover{fill:rgba(var(--color-primary-main),1)}.hover\:text-primary-main:hover{--tw-text-opacity:1;color:rgba(var(--color-primary-main),var(--tw-text-opacity))}.hover\:text-primary-text:hover{--tw-text-opacity:1;color:rgba(28,28,28,var(--tw-text-opacity))}.hover\:text-secondary-hover:hover{--tw-text-opacity:1;color:rgba(var(--color-secondary-hover),var(--tw-text-opacity))}.focus\:border-primary-text:focus{--tw-border-opacity:1;border-color:rgba(28,28,28,var(--tw-border-opacity))}.active\:bg-secondary-active:active{--tw-bg-opacity:1;background-color:rgba(var(--color-secondary-active),var(--tw-bg-opacity))}.active\:bg-primary-active:active{--tw-bg-opacity:1;background-color:rgba(var(--color-primary-active),var(--tw-bg-opacity))}.group:last-child .group-last\:last\:pb-0:last-child{padding-bottom:0}.group:hover .group-hover\:text-primary-main{--tw-text-opacity:1;color:rgba(var(--color-primary-main),var(--tw-text-opacity))}.group:hover .group-hover\:text-primary-text{--tw-text-opacity:1;color:rgba(28,28,28,var(--tw-text-opacity))}.peer:checked~.peer-checked\:block{display:block}.peer:focus~.peer-focus\:visible{visibility:visible}@media (min-width:1280px) and (max-width:1535px){.xl\:w-\[220px\]{width:220px}.xl\:gap-8{gap:2rem}.xl\:gap-5{gap:1.25rem}}
|
|
@@ -2,7 +2,7 @@ export const isActiveHandler = ({ context, blocks }) => {
|
|
|
2
2
|
const [isActive, setIsActive] = context.useState(false);
|
|
3
3
|
const hasContent = blocks?.length;
|
|
4
4
|
const icon = isActive ? 'MinusIcon' : 'PlusIcon';
|
|
5
|
-
const getContentBlock = ({
|
|
5
|
+
const getContentBlock = ({ currentTarget }) => currentTarget.nextSibling;
|
|
6
6
|
const handleToggle = (e) => {
|
|
7
7
|
if (!hasContent) {
|
|
8
8
|
return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isActiveHandler.js","sourceRoot":"","sources":["../../../../src/components/Accordion/utils/isActiveHandler.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAA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12 +1,14 @@
|
|
|
1
1
|
export declare const Blocks: {
|
|
2
|
+
Accordion: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Accordion/Accordion").AccordionProps, any>, context?: any) => any;
|
|
2
3
|
ExchangeRateTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./ExchangeRateTile/ExchangeRateTile").ExchangeRateTileProps, any>, context?: any) => any;
|
|
3
4
|
Footer: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Footer/Footer").FooterProps, any>, context?: any) => any;
|
|
4
5
|
Header: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Header/Header").HeaderProps, any>, context?: any) => any;
|
|
5
6
|
Headline: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Headline/Headline").HeadlineProps, any>, context?: any) => any;
|
|
6
7
|
LinkDocs: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./LinkDocs/LinkDocs").LinkDocsProps, any>, context?: any) => any;
|
|
8
|
+
MobileAppTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./MobileAppTile/MobileAppTile").MobileAppTileProps, any>, context?: any) => any;
|
|
7
9
|
Placeholder: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Placeholder/Placeholder").PlaceholderProps, any>, context?: any) => any;
|
|
8
10
|
ProductBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./ProductBlock/ProductBlock").ProductBlockProps, any>, context?: any) => any;
|
|
9
11
|
ProductGallery: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./ProductGallery/ProductGallery").ProductGalleryProps, any>, context?: any) => any;
|
|
10
|
-
TextBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./TextBlock/TextBlock").TextBlockProps, any>, context?: any) => any;
|
|
11
12
|
StepsBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./StepsBlock/StepsBlock").StepsBlockProps, any>, context?: any) => any;
|
|
13
|
+
TextBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./TextBlock/TextBlock").TextBlockProps, any>, context?: any) => any;
|
|
12
14
|
};
|
|
@@ -1,23 +1,27 @@
|
|
|
1
|
+
import { Accordion } from './Accordion/Accordion.js';
|
|
1
2
|
import { ExchangeRateTile } from './ExchangeRateTile/ExchangeRateTile.js';
|
|
2
3
|
import { Footer } from './Footer/Footer.js';
|
|
3
4
|
import { Header } from './Header/Header.js';
|
|
4
5
|
import { Headline } from './Headline/Headline.js';
|
|
5
6
|
import { LinkDocs } from './LinkDocs/LinkDocs.js';
|
|
7
|
+
import { MobileAppTile } from './MobileAppTile/MobileAppTile.js';
|
|
6
8
|
import { Placeholder } from './Placeholder/Placeholder.js';
|
|
7
9
|
import { ProductBlock } from './ProductBlock/ProductBlock.js';
|
|
8
10
|
import { ProductGallery } from './ProductGallery/ProductGallery.js';
|
|
9
11
|
import { StepsBlock } from './StepsBlock/StepsBlock.js';
|
|
10
12
|
import { TextBlock } from './TextBlock/TextBlock.js';
|
|
11
13
|
export const Blocks = {
|
|
14
|
+
Accordion,
|
|
12
15
|
ExchangeRateTile,
|
|
13
16
|
Footer,
|
|
14
17
|
Header,
|
|
15
18
|
Headline,
|
|
16
19
|
LinkDocs,
|
|
20
|
+
MobileAppTile,
|
|
17
21
|
Placeholder,
|
|
18
22
|
ProductBlock,
|
|
19
23
|
ProductGallery,
|
|
20
|
-
TextBlock,
|
|
21
24
|
StepsBlock,
|
|
25
|
+
TextBlock,
|
|
22
26
|
};
|
|
23
27
|
//# sourceMappingURL=Blocks.mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blocks.mobile.js","sourceRoot":"","sources":["../../src/components/Blocks.mobile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,QAAQ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gBAAgB;IAChB,MAAM;IACN,MAAM;IACN,QAAQ;IACR,QAAQ;IACR,aAAa;IACb,WAAW;IACX,YAAY;IACZ,cAAc;IACd,UAAU;IACV,SAAS;CACV,CAAC"}
|
|
@@ -9,10 +9,10 @@ export const ContentPage = JSX(({ className, context, blocksRegistry, data: { st
|
|
|
9
9
|
});
|
|
10
10
|
function renderBlock({ block, blockDecorator, blocksRegistry, context }, i) {
|
|
11
11
|
const { type } = block;
|
|
12
|
-
if (!(type in blocksRegistry)) {
|
|
12
|
+
if (!(type && type in blocksRegistry)) {
|
|
13
13
|
console.warn(`No block with "${type}" is registered`);
|
|
14
14
|
}
|
|
15
|
-
const BlockComponent = blocksRegistry[type] || Placeholder;
|
|
15
|
+
const BlockComponent = blocksRegistry[type || 'Placeholder'] || Placeholder;
|
|
16
16
|
return blockDecorator({
|
|
17
17
|
blockClassName: style2className(block.style),
|
|
18
18
|
block,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentPage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/ContentPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAqB,MAAM,mBAAmB,CAAC;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAkCzD,MAAM,qBAAqB,GAAmB,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,CAClF,MAAM,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,CAAC;AAEpC,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EACC,SAAS,EACT,OAAO,EACP,cAAc,EACd,IAAI,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,GAAG,EAAE,EAAE,WAAW,EAAE,YAAY,GAAG,IAAI,EAAE,EAChF,cAAc,GAAG,qBAAqB,GACvC,EAAE,EAAE;IACH,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IAEzB,OAAO,CACL,mBACE,SAAS,EAAE,YAAY,eAAe,CAAC,SAAS,CAAC,IAAI,SAAS,IAAI,EAAE,EAAE,gBAC1D,YAAY,aAEvB,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CACxB,cAAK,SAAS,EAAE,GAAG,eAAe,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,YAChD,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAC9B,WAAW,CAAC,EAAE,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC,CACnE,GACG,CACP,CAAC,CAAC,CAAC,IAAI,EAEP,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAChB,cAAK,SAAS,EAAC,mCAAmC,YAC/C,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CACvB,WAAW,CAAC,EAAE,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC,CACnE,GACG,CACP,CAAC,CAAC,CAAC,IAAI,EAEP,WAAW,IAAI,CACd,cAAK,SAAS,EAAC,qEAAqE,YAClF,KAAC,WAAW,IACV,SAAS,EAAC,mDAAmD,EAC7D,OAAO,EAAE,OAAO,GAChB,GACE,CACP,IACO,CACX,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,WAAW,CAClB,EAAE,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,OAAO,EAAmB,EACnE,CAAS;IAET,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IACvB,IAAI,CAAC,CAAC,IAAI,IAAI,cAAc,CAAC,EAAE;
|
|
1
|
+
{"version":3,"file":"ContentPage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/ContentPage.tsx"],"names":[],"mappings":";A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
|
|
1
|
-
|
|
2
|
-
export declare function isBlockInRegistry<T>(block: BlockDef, registry: Record<string, T>): boolean;
|
|
1
|
+
export declare function isBlockInRegistry<T>(blockType: string | undefined, registry: Record<string, T>): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isBlockInRegistry.js","sourceRoot":"","sources":["../../../src/components/ContentPage/isBlockInRegistry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"isBlockInRegistry.js","sourceRoot":"","sources":["../../../src/components/ContentPage/isBlockInRegistry.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,iBAAiB,CAAI,SAA6B,EAAE,QAA2B;IAC7F,OAAO,CAAC,SAAS,IAAI,EAAE,CAAC,IAAI,QAAQ,CAAC;AACvC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BlockDef } from '../../types';
|
|
2
2
|
export declare function normalizeBlock(block: BlockDef): {
|
|
3
|
-
type
|
|
3
|
+
type?: string | undefined;
|
|
4
4
|
style?: string[] | undefined;
|
|
5
5
|
content?: import("../BlockContent").BlockContent | undefined;
|
|
6
6
|
version?: import("../../model/BlockVersion").BlockVersion | undefined;
|
|
@@ -20,6 +20,6 @@ export function normalizePage(contentPage) {
|
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
function getDesktopBlocks(blocks) {
|
|
23
|
-
return blocks?.filter((block) => isBlockInRegistry(block, Blocks)).map(normalizeBlock);
|
|
23
|
+
return blocks?.filter((block) => isBlockInRegistry(block?.type, Blocks)).map(normalizeBlock);
|
|
24
24
|
}
|
|
25
25
|
//# sourceMappingURL=normalizePage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalizePage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizePage.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,UAAU,aAAa,CAC3B,WAAc;IAEd,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO,SAAgB,CAAC;KACzB;IAED,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,WAAW,CAAC;IAEtC,OAAO;QACL,GAAG,WAAW;QACd,MAAM,EAAE,gBAAgB,CAAC,MAAM,CAAC;QAChC,KAAK,EACH,KAAK;YACL,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CACvB,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;gBACb,GAAG,GAAG;gBACN,CAAC,GAAG,CAAC,EAAE;oBACL,GAAG,KAAK,CAAC,GAAG,CAAC;oBACb,MAAM,EAAE,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC;iBAC5C;aACF,CAAC,EACF,EAAE,CACH;KACJ,CAAC;AACJ,CAAC;AAED,SAAS,gBAAgB,CAAC,MAAmB;IAC3C,OAAO,MAAM,EAAE,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,iBAAiB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"normalizePage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizePage.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,UAAU,aAAa,CAC3B,WAAc;IAEd,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO,SAAgB,CAAC;KACzB;IAED,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,WAAW,CAAC;IAEtC,OAAO;QACL,GAAG,WAAW;QACd,MAAM,EAAE,gBAAgB,CAAC,MAAM,CAAC;QAChC,KAAK,EACH,KAAK;YACL,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CACvB,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;gBACb,GAAG,GAAG;gBACN,CAAC,GAAG,CAAC,EAAE;oBACL,GAAG,KAAK,CAAC,GAAG,CAAC;oBACb,MAAM,EAAE,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC;iBAC5C;aACF,CAAC,EACF,EAAE,CACH;KACJ,CAAC;AACJ,CAAC;AAED,SAAS,gBAAgB,CAAC,MAAmB;IAC3C,OAAO,MAAM,EAAE,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,iBAAiB,CAAC,KAAK,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;AAC/F,CAAC"}
|
|
@@ -21,7 +21,7 @@ export function normalizePage(contentPage) {
|
|
|
21
21
|
}
|
|
22
22
|
function getMobileBlocks(blocks) {
|
|
23
23
|
return blocks
|
|
24
|
-
?.filter((block) => isBlockInRegistry(block, Blocks) && !block.mobile?.hidden)
|
|
24
|
+
?.filter((block) => isBlockInRegistry(block?.type || block?.mobile?.type, Blocks) && !block.mobile?.hidden)
|
|
25
25
|
.map(normalizeBlock);
|
|
26
26
|
}
|
|
27
27
|
//# sourceMappingURL=normalizePage.mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalizePage.mobile.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizePage.mobile.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,UAAU,aAAa,CAC3B,WAA8C;IAE9C,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,WAAW,CAAC;IAEtC,OAAO;QACL,GAAG,WAAW;QACd,MAAM,EAAE,eAAe,CAAC,MAAM,CAAC;QAC/B,KAAK,EACH,KAAK;YACL,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CACvB,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;gBACb,GAAG,GAAG;gBACN,CAAC,GAAG,CAAC,EAAE;oBACL,GAAG,KAAK,CAAC,GAAG,CAAC;oBACb,MAAM,EAAE,eAAe,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC;iBAC3C;aACF,CAAC,EACF,EAAE,CACH;KACJ,CAAC;AACJ,CAAC;AAED,SAAS,eAAe,CAAC,MAAmB;IAC1C,OAAO,MAAM;QACX,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"normalizePage.mobile.js","sourceRoot":"","sources":["../../../src/components/ContentPage/normalizePage.mobile.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,UAAU,aAAa,CAC3B,WAA8C;IAE9C,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,WAAW,CAAC;IAEtC,OAAO;QACL,GAAG,WAAW;QACd,MAAM,EAAE,eAAe,CAAC,MAAM,CAAC;QAC/B,KAAK,EACH,KAAK;YACL,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CACvB,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;gBACb,GAAG,GAAG;gBACN,CAAC,GAAG,CAAC,EAAE;oBACL,GAAG,KAAK,CAAC,GAAG,CAAC;oBACb,MAAM,EAAE,eAAe,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC;iBAC3C;aACF,CAAC,EACF,EAAE,CACH;KACJ,CAAC;AACJ,CAAC;AAED,SAAS,eAAe,CAAC,MAAmB;IAC1C,OAAO,MAAM;QACX,EAAE,MAAM,CACN,CAAC,KAAK,EAAE,EAAE,CACR,iBAAiB,CAAC,KAAK,EAAE,IAAI,IAAI,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CACzF;SACA,GAAG,CAAC,cAAc,CAAC,CAAC;AACzB,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { Button } from '../../ui-kit/Button/Button.js';
|
|
|
5
5
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
6
6
|
export const GalleryCardInner = JSX(({ title, description, image, items, button, version }) => {
|
|
7
7
|
return (_jsxs("div", { children: [_jsxs("div", { children: [image?.src ? (_jsx("div", { className: "flex justify-center", children: _jsx(Img, { className: "mb-6", image: image }) })) : null, title && renderCardTitle(title, description, items), description ? _jsx("div", { className: `font-normal text-sm mt-2`, children: description }) : null, items?.length ? (_jsx("section", { className: `max-w-[308px] mt-2`, role: "list", children: items
|
|
8
|
-
.filter((item) => item
|
|
8
|
+
.filter((item) => item?.text)
|
|
9
9
|
.map((item, i) => renderItem(item.text, i, version)) })) : null] }), button?.text && _jsx(Button, { className: "mt-6", ...button })] }));
|
|
10
10
|
});
|
|
11
11
|
function renderCardTitle(title, description, items) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GalleryCardInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryCardInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,SA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ACtD,eAAM,SAAS,EAAC,SAAS,YAAE,IAAI,GAAQ,IADzB,MAAM,CAAC,CAAC,CAAC,CAEb,CACb,CAAC;AACJ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BgColorVersion } from '../../model/BgColorVersion';
|
|
2
|
-
import type { DescriptionContent } from '../../ui-kit/Description/
|
|
2
|
+
import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
|
|
3
3
|
import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
|
|
4
4
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
5
5
|
import type { AlignType } from '../BaseTile/BaseTileProps';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
2
|
-
import type { DescriptionContent } from '../../ui-kit/Description/
|
|
2
|
+
import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
|
|
3
3
|
import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
|
|
4
4
|
/**
|
|
5
5
|
* @title QR код
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import {
|
|
3
|
+
import { Description } from '../../ui-kit/Description/Description.js';
|
|
4
|
+
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
5
|
+
import { BaseTile } from '../BaseTile/BaseTile.js';
|
|
6
|
+
import { getTileHeadingType } from '../BaseTile/getTileHeadingType.js';
|
|
7
|
+
import { getTileMinHeight } from '../BaseTile/getTileMinHeight.js';
|
|
8
|
+
import { getTileRightPadding } from '../BaseTile/getTileRightPadding.js';
|
|
4
9
|
const GOLDEN_RATIO = 1.618;
|
|
5
|
-
export const Placeholder = JSX(({ className, context, title }) => {
|
|
6
|
-
return (_jsx(
|
|
10
|
+
export const Placeholder = JSX(({ className, context, title, description = 'Блок в разработке...' }) => {
|
|
11
|
+
return (_jsx("section", { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, children: _jsxs(BaseTile, { context: context, title: title ? (_jsx(Heading, { headingType: getTileHeadingType(className), title: title, className: `whitespace-pre-wrap max-w-[600px]` })) : null, children: [description ? (_jsx(Description, { className: "mt-4 max-w-[600px]", description: description })) : null, _jsx("figure", { className: "m-0 min-w-[600px]", children: renderShimmer() })] }) }));
|
|
7
12
|
});
|
|
8
13
|
const renderShimmer = (size = 3) => goldenSequence(100, size)
|
|
9
14
|
.map((_) => Math.floor(_))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Placeholder.js","sourceRoot":"","sources":["../../../src/components/Placeholder/Placeholder.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Placeholder.js","sourceRoot":"","sources":["../../../src/components/Placeholder/Placeholder.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAMtE,MAAM,YAAY,GAAG,KAAK,CAAC;AAE3B,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,GAAG,sBAAsB,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