@zenpatient-org/healthspan-marketing-ui 0.1.20 → 0.1.22
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/README.md +18 -16
- package/dist/_virtual/Popover.cjs.js +1 -0
- package/dist/_virtual/Popover.es.js +5 -0
- package/dist/_virtual/Popover.es2.js +4 -0
- package/dist/_virtual/{jsx-runtime.cjs2.js → PopoverPortal.cjs.js} +1 -1
- package/dist/_virtual/PopoverPortal.es.js +4 -0
- package/dist/_virtual/useArrowContainer.cjs.js +1 -0
- package/dist/_virtual/useArrowContainer.es.js +4 -0
- package/dist/_virtual/useElementRef.cjs.js +1 -0
- package/dist/_virtual/useHandlePrevValues.cjs.js +1 -0
- package/dist/_virtual/useHandlePrevValues.es.js +4 -0
- package/dist/_virtual/useMemoizedArray.cjs.js +1 -0
- package/dist/_virtual/useMemoizedArray.es.js +4 -0
- package/dist/_virtual/usePopover.cjs.js +1 -0
- package/dist/_virtual/usePopover.es.js +4 -0
- package/dist/_virtual/util.cjs.js +1 -0
- package/dist/_virtual/util.es.js +4 -0
- package/dist/components/Benefit/Benefit.cjs.js +1 -0
- package/dist/components/Benefit/Benefit.es.js +13 -0
- package/dist/components/Benefit/benefit.module.css.cjs.js +1 -0
- package/dist/components/Benefit/benefit.module.css.es.js +9 -0
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.es.js +13 -13
- package/dist/components/Callback/Callback.cjs.js +1 -1
- package/dist/components/Callback/Callback.es.js +34 -35
- package/dist/components/ComplexTooltip/ComplexTooltip.cjs.js +1 -0
- package/dist/components/ComplexTooltip/ComplexTooltip.d.ts +5 -13
- package/dist/components/ComplexTooltip/ComplexTooltip.es.js +60 -0
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.cjs.js +1 -0
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.d.ts +10 -0
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.es.js +50 -0
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/complexTooltipContent.module.css.cjs.js +1 -0
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/complexTooltipContent.module.css.es.js +15 -0
- package/dist/components/ComplexTooltip/components/ComplexTooltipContent/index.d.ts +1 -0
- package/dist/components/ComplexTooltip/index.d.ts +1 -0
- package/dist/components/ComplexTooltip/types.d.ts +13 -0
- package/dist/components/ContentTabs/ContentTabs.cjs.js +1 -1
- package/dist/components/ContentTabs/ContentTabs.es.js +19 -19
- package/dist/components/Cursor/Cursor.cjs.js +1 -0
- package/dist/components/Cursor/Cursor.es.js +9 -0
- package/dist/components/Cursor/components/ClientCursor.cjs.js +1 -0
- package/dist/components/Cursor/components/ClientCursor.es.js +42 -0
- package/dist/components/Cursor/components/ServerCursor.cjs.js +1 -0
- package/dist/components/Cursor/components/ServerCursor.es.js +4 -0
- package/dist/components/Cursor/cursor.module.css.cjs.js +1 -0
- package/dist/components/Cursor/cursor.module.css.es.js +11 -0
- package/dist/components/FilterMenu/FilterMenu.cjs.js +1 -1
- package/dist/components/FilterMenu/FilterMenu.es.js +18 -17
- package/dist/components/HighlightedTitle/HighlightedTitle.cjs.js +1 -1
- package/dist/components/HighlightedTitle/HighlightedTitle.d.ts +1 -1
- package/dist/components/HighlightedTitle/HighlightedTitle.es.js +22 -33
- package/dist/components/Icon/Icon.cjs.js +1 -1
- package/dist/components/Icon/Icon.es.js +7 -16
- package/dist/components/Icon/iconsMap.cjs.js +1 -0
- package/dist/components/Icon/iconsMap.d.ts +4 -0
- package/dist/components/Icon/iconsMap.es.js +110 -0
- package/dist/components/IconButton/IconButton.cjs.js +1 -1
- package/dist/components/IconButton/IconButton.es.js +12 -13
- package/dist/components/InfiniteScroll/InfiniteScroll.cjs.js +1 -1
- package/dist/components/InfiniteScroll/InfiniteScroll.es.js +34 -33
- package/dist/components/Label/Label.cjs.js +1 -1
- package/dist/components/Label/Label.es.js +8 -8
- package/dist/components/ProductGallery/ProductGallery.cjs.js +1 -1
- package/dist/components/ProductGallery/ProductGallery.es.js +46 -45
- package/dist/components/ProductGalleryCard/ProductGalleryCard.cjs.js +1 -1
- package/dist/components/ProductGalleryCard/ProductGalleryCard.d.ts +5 -1
- package/dist/components/ProductGalleryCard/ProductGalleryCard.es.js +16 -15
- package/dist/components/ProductGalleryCard/productGalleryCard.module.css.cjs.js +1 -1
- package/dist/components/ProductGalleryCard/productGalleryCard.module.css.es.js +14 -12
- package/dist/components/ProductListing/ProductListing.cjs.js +1 -0
- package/dist/components/ProductListing/ProductListing.es.js +30 -0
- package/dist/components/ProductListing/productListing.module.css.cjs.js +1 -0
- package/dist/components/ProductListing/productListing.module.css.es.js +29 -0
- package/dist/components/ProductPairs/ProductPairs.cjs.js +1 -0
- package/dist/components/ProductPairs/ProductPairs.d.ts +7 -0
- package/dist/components/ProductPairs/ProductPairs.es.js +55 -0
- package/dist/components/ProductPairs/index.d.ts +1 -0
- package/dist/components/ProductPairs/productPairs.module.css.cjs.js +1 -0
- package/dist/components/ProductPairs/productPairs.module.css.es.js +17 -0
- package/dist/components/ProgramCard/ProgramCard.cjs.js +1 -0
- package/dist/components/ProgramCard/ProgramCard.es.js +48 -0
- package/dist/components/ProgramCard/assets/program_card_bg.png.cjs.js +1 -0
- package/dist/components/ProgramCard/assets/program_card_bg.png.es.js +4 -0
- package/dist/components/ProgramCard/programCard.module.css.cjs.js +1 -0
- package/dist/components/ProgramCard/programCard.module.css.es.js +7 -0
- package/dist/components/ProgressButton/ProgressButton.cjs.js +1 -1
- package/dist/components/ProgressButton/ProgressButton.es.js +18 -19
- package/dist/components/StepsCarousel/StepsCarousel.cjs.js +1 -0
- package/dist/components/StepsCarousel/StepsCarousel.d.ts +13 -0
- package/dist/components/StepsCarousel/StepsCarousel.es.js +92 -0
- package/dist/components/StepsCarousel/index.d.ts +1 -0
- package/dist/components/StepsCarousel/stepsCarousel.module.css.cjs.js +1 -0
- package/dist/components/StepsCarousel/stepsCarousel.module.css.es.js +31 -0
- package/dist/components/StudyGridCard/StudyGridCard.cjs.js +1 -0
- package/dist/components/StudyGridCard/StudyGridCard.es.js +61 -0
- package/dist/components/StudyGridCard/studyGridCard.module.css.cjs.js +1 -0
- package/dist/components/StudyGridCard/studyGridCard.module.css.es.js +19 -0
- package/dist/components/Tabs/Tabs.cjs.js +1 -1
- package/dist/components/Tabs/Tabs.es.js +20 -20
- package/dist/components/Tabs/TabsWithFade.cjs.js +1 -1
- package/dist/components/Tabs/TabsWithFade.es.js +16 -15
- package/dist/components/Tag/Tag.cjs.js +1 -1
- package/dist/components/Tag/Tag.es.js +15 -15
- package/dist/components/TextButton/TextButton.cjs.js +1 -1
- package/dist/components/TextButton/TextButton.es.js +18 -18
- package/dist/components/TypeBadge/TypeBadge.cjs.js +1 -1
- package/dist/components/TypeBadge/TypeBadge.es.js +4 -4
- package/dist/components/Typography/Typography.cjs.js +1 -1
- package/dist/components/Typography/Typography.es.js +9 -9
- package/dist/components/index.d.ts +0 -26
- package/dist/healthspan-marketing-ui.css +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +0 -3
- package/dist/index.es.js +2 -55
- package/dist/modules/Benefits/Benefits.cjs.js +1 -0
- package/dist/modules/Benefits/Benefits.d.ts +14 -0
- package/dist/modules/Benefits/Benefits.es.js +53 -0
- package/dist/modules/Benefits/benefits.module.css.cjs.js +1 -0
- package/dist/modules/Benefits/benefits.module.css.es.js +25 -0
- package/dist/modules/Benefits/components/BenefitItem/BenefitItem.cjs.js +1 -0
- package/dist/modules/Benefits/components/BenefitItem/BenefitItem.d.ts +7 -0
- package/dist/modules/Benefits/components/BenefitItem/BenefitItem.es.js +37 -0
- package/dist/modules/Benefits/components/BenefitItem/benefitItem.module.css.cjs.js +1 -0
- package/dist/modules/Benefits/components/BenefitItem/benefitItem.module.css.es.js +11 -0
- package/dist/modules/Benefits/components/BenefitItem/index.d.ts +1 -0
- package/dist/modules/Benefits/components/BenefitTag/BenefitTag.cjs.js +1 -0
- package/dist/modules/Benefits/components/BenefitTag/BenefitTag.d.ts +6 -0
- package/dist/modules/Benefits/components/BenefitTag/BenefitTag.es.js +17 -0
- package/dist/modules/Benefits/components/BenefitTag/benefitTag.module.css.cjs.js +1 -0
- package/dist/modules/Benefits/components/BenefitTag/benefitTag.module.css.es.js +9 -0
- package/dist/modules/Benefits/components/BenefitTag/index.d.ts +1 -0
- package/dist/modules/Benefits/components/index.d.ts +2 -0
- package/dist/modules/Benefits/index.d.ts +1 -0
- package/dist/modules/Callback/Callback.cjs.js +1 -0
- package/dist/modules/Callback/Callback.d.ts +1 -1
- package/dist/modules/Callback/Callback.es.js +36 -0
- package/dist/modules/Callback/callback.module.css.cjs.js +1 -0
- package/dist/modules/Callback/callback.module.css.es.js +13 -0
- package/dist/modules/Comparison/Comparison.cjs.js +1 -0
- package/dist/modules/Comparison/Comparison.es.js +86 -0
- package/dist/modules/Comparison/assets/company-logo.svg.cjs.js +1 -0
- package/dist/modules/Comparison/assets/company-logo.svg.es.js +5 -0
- package/dist/modules/Comparison/comparison.module.css.cjs.js +1 -0
- package/dist/modules/Comparison/comparison.module.css.es.js +39 -0
- package/dist/modules/Comparison/components/ComparisonMobileView/ComparisonMobileView.cjs.js +1 -0
- package/dist/modules/Comparison/components/ComparisonMobileView/ComparisonMobileView.es.js +42 -0
- package/dist/modules/Comparison/components/ComparisonMobileView/comparisonMobileView.module.css.cjs.js +1 -0
- package/dist/modules/Comparison/components/ComparisonMobileView/comparisonMobileView.module.css.es.js +27 -0
- package/dist/modules/Comparison/utils.cjs.js +1 -0
- package/dist/modules/Comparison/utils.es.js +4 -0
- package/dist/modules/FeaturedIn/FeaturedIn.cjs.js +1 -0
- package/dist/modules/FeaturedIn/FeaturedIn.es.js +54 -0
- package/dist/modules/FeaturedIn/featuredIn.module.css.cjs.js +1 -0
- package/dist/modules/FeaturedIn/featuredIn.module.css.es.js +37 -0
- package/dist/modules/FeaturesGallery/FeaturesGallery.cjs.js +1 -0
- package/dist/modules/FeaturesGallery/FeaturesGallery.es.js +22 -0
- package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.cjs.js +1 -0
- package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.es.js +29 -0
- package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.module.css.cjs.js +1 -0
- package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.module.css.es.js +21 -0
- package/dist/modules/FeaturesGallery/featuresGallery.module.css.cjs.js +1 -0
- package/dist/modules/FeaturesGallery/featuresGallery.module.css.es.js +21 -0
- package/dist/modules/FollowTheScience/FollowTheScience.cjs.js +1 -0
- package/dist/modules/FollowTheScience/FollowTheScience.es.js +73 -0
- package/dist/modules/FollowTheScience/followTheScience.module.css.cjs.js +1 -0
- package/dist/modules/FollowTheScience/followTheScience.module.css.es.js +15 -0
- package/dist/modules/HowItWorks/HowItWorks.cjs.js +1 -0
- package/dist/modules/HowItWorks/HowItWorks.es.js +16 -0
- package/dist/modules/HowItWorks/components/Content/Content.cjs.js +1 -0
- package/dist/modules/HowItWorks/components/Content/Content.es.js +65 -0
- package/dist/modules/HowItWorks/components/Content/content.module.css.cjs.js +1 -0
- package/dist/modules/HowItWorks/components/Content/content.module.css.es.js +21 -0
- package/dist/modules/HowItWorks/howItWorks.module.css.cjs.js +1 -0
- package/dist/modules/HowItWorks/howItWorks.module.css.es.js +13 -0
- package/dist/modules/OptimalHealth/OptimalHealth.cjs.js +1 -0
- package/dist/modules/OptimalHealth/OptimalHealth.es.js +19 -0
- package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.cjs.js +1 -0
- package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.es.js +37 -0
- package/dist/modules/OptimalHealth/components/ClockImages/clockImages.module.css.cjs.js +1 -0
- package/dist/modules/OptimalHealth/components/ClockImages/clockImages.module.css.es.js +15 -0
- package/dist/modules/OptimalHealth/components/ClockImages/hooks.cjs.js +1 -0
- package/dist/modules/OptimalHealth/components/ClockImages/hooks.es.js +13 -0
- package/dist/modules/OptimalHealth/optimalHealth.module.css.cjs.js +1 -0
- package/dist/modules/OptimalHealth/optimalHealth.module.css.es.js +19 -0
- package/dist/modules/OurProcess/OurProcess.cjs.js +1 -0
- package/dist/modules/OurProcess/OurProcess.d.ts +2 -2
- package/dist/modules/OurProcess/OurProcess.es.js +15 -0
- package/dist/modules/OurProcess/ourProcess.module.css.cjs.js +1 -0
- package/dist/modules/OurProcess/ourProcess.module.css.es.js +11 -0
- package/dist/modules/PairedProducts/PairedProducts.cjs.js +1 -0
- package/dist/modules/PairedProducts/PairedProducts.d.ts +12 -0
- package/dist/modules/PairedProducts/PairedProducts.es.js +17 -0
- package/dist/modules/PairedProducts/index.d.ts +1 -0
- package/dist/modules/PairedProducts/pairedProducts.module.css.cjs.js +1 -0
- package/dist/modules/PairedProducts/pairedProducts.module.css.es.js +17 -0
- package/dist/modules/ProductsDisplay/ProductsDisplay.cjs.js +1 -1
- package/dist/modules/ProductsDisplay/ProductsDisplay.d.ts +1 -1
- package/dist/modules/ProductsDisplay/ProductsDisplay.es.js +17 -22
- package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.cjs.js +1 -1
- package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.d.ts +1 -1
- package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.es.js +9 -19
- package/dist/modules/ProductsDisplay/types.d.ts +2 -2
- package/dist/modules/ProductsDisplay/useProductsData.cjs.js +1 -1
- package/dist/modules/ProductsDisplay/useProductsData.d.ts +2 -1
- package/dist/modules/ProductsDisplay/useProductsData.es.js +8 -7
- package/dist/modules/Studies/Studies.cjs.js +1 -0
- package/dist/modules/Studies/Studies.es.js +26 -0
- package/dist/modules/Studies/studies.module.css.cjs.js +1 -0
- package/dist/modules/Studies/studies.module.css.es.js +15 -0
- package/dist/modules/TargetedPrograms/TargetedPrograms.cjs.js +1 -0
- package/dist/modules/TargetedPrograms/TargetedPrograms.es.js +67 -0
- package/dist/modules/TargetedPrograms/targetedPrograms.module.css.cjs.js +1 -0
- package/dist/modules/TargetedPrograms/targetedPrograms.module.css.es.js +15 -0
- package/dist/modules/TotalCare/TotalCare.cjs.js +1 -1
- package/dist/modules/TotalCare/TotalCare.d.ts +1 -1
- package/dist/modules/TotalCare/TotalCare.es.js +18 -27
- package/dist/modules/TypesOfTests/TypesOfTests.cjs.js +1 -0
- package/dist/modules/TypesOfTests/TypesOfTests.d.ts +10 -0
- package/dist/modules/TypesOfTests/TypesOfTests.es.js +67 -0
- package/dist/modules/TypesOfTests/index.d.ts +1 -0
- package/dist/modules/TypesOfTests/types.d.ts +4 -0
- package/dist/modules/TypesOfTests/typesOfTests.module.css.cjs.js +1 -0
- package/dist/modules/TypesOfTests/typesOfTests.module.css.es.js +29 -0
- package/dist/modules/YourProtocol/YourProtocol.cjs.js +1 -1
- package/dist/modules/YourProtocol/YourProtocol.es.js +19 -30
- package/dist/modules/YourProtocol/components/ProtocolTags/ProtocolTags.cjs.js +1 -1
- package/dist/modules/YourProtocol/components/ProtocolTags/ProtocolTags.es.js +19 -27
- package/dist/modules/index.d.ts +0 -3
- package/dist/node_modules/react-tiny-popover/dist/ArrowContainer.cjs.js +1 -0
- package/dist/node_modules/react-tiny-popover/dist/ArrowContainer.es.js +37 -0
- package/dist/node_modules/react-tiny-popover/dist/Popover.cjs.js +1 -0
- package/dist/node_modules/react-tiny-popover/dist/Popover.es.js +147 -0
- package/dist/node_modules/react-tiny-popover/dist/PopoverPortal.cjs.js +1 -0
- package/dist/node_modules/react-tiny-popover/dist/PopoverPortal.es.js +20 -0
- package/dist/node_modules/react-tiny-popover/dist/useArrowContainer.cjs.js +1 -0
- package/dist/node_modules/react-tiny-popover/dist/useArrowContainer.es.js +86 -0
- package/dist/node_modules/react-tiny-popover/dist/useElementRef.cjs.js +1 -0
- package/dist/node_modules/react-tiny-popover/dist/useElementRef.es.js +22 -0
- package/dist/node_modules/react-tiny-popover/dist/useHandlePrevValues.cjs.js +1 -0
- package/dist/node_modules/react-tiny-popover/dist/useHandlePrevValues.es.js +34 -0
- package/dist/node_modules/react-tiny-popover/dist/useMemoizedArray.cjs.js +1 -0
- package/dist/node_modules/react-tiny-popover/dist/useMemoizedArray.es.js +24 -0
- package/dist/node_modules/react-tiny-popover/dist/usePopover.cjs.js +1 -0
- package/dist/node_modules/react-tiny-popover/dist/usePopover.es.js +140 -0
- package/dist/node_modules/react-tiny-popover/dist/util.cjs.js +1 -0
- package/dist/node_modules/react-tiny-popover/dist/util.es.js +81 -0
- package/dist/utils/index.d.ts +0 -4
- package/dist/utils/isHsIcon/isHsIcon.cjs.js +1 -0
- package/dist/utils/{isHsIcon.es.js → isHsIcon/isHsIcon.es.js} +1 -1
- package/dist/utils/useIsMobile.cjs.js +1 -0
- package/dist/utils/useIsMobile.d.ts +1 -0
- package/dist/utils/useIsMobile.es.js +12 -0
- package/package.json +210 -4
- package/dist/_virtual/dynamic-import-helper.cjs.js +0 -1
- package/dist/_virtual/dynamic-import-helper.es.js +0 -16
- package/dist/_virtual/jsx-runtime.cjs.js +0 -1
- package/dist/_virtual/jsx-runtime.es.js +0 -5
- package/dist/_virtual/jsx-runtime.es2.js +0 -4
- package/dist/icons/map/pin-drop.svg.cjs.js +0 -1
- package/dist/icons/map/pin-drop.svg.es.js +0 -5
- package/dist/modules/OurProcess/components/StepCards/StepCards.d.ts +0 -9
- package/dist/modules/OurProcess/components/StepCards/index.d.ts +0 -1
- package/dist/modules/OurProcess/types.d.ts +0 -5
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs.js +0 -22
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.es.js +0 -604
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs.js +0 -9
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.es.js +0 -28
- package/dist/node_modules/react/jsx-runtime.cjs.js +0 -1
- package/dist/node_modules/react/jsx-runtime.es.js +0 -10
- package/dist/utils/isHsIcon.cjs.js +0 -1
- package/dist/utils.cjs.js +0 -1
- package/dist/utils.es.js +0 -10
- /package/dist/_virtual/{react-jsx-runtime.development.cjs.js → ArrowContainer.cjs.js} +0 -0
- /package/dist/_virtual/{react-jsx-runtime.production.min.es.js → ArrowContainer.es.js} +0 -0
- /package/dist/_virtual/{react-jsx-runtime.production.min.cjs.js → Popover.cjs2.js} +0 -0
- /package/dist/_virtual/{react-jsx-runtime.development.es.js → useElementRef.es.js} +0 -0
- /package/dist/{utils → lib}/useSwiper.d.ts +0 -0
- /package/dist/utils/{cn.cjs.js → cn/cn.cjs.js} +0 -0
- /package/dist/utils/{cn.es.js → cn/cn.es.js} +0 -0
- /package/dist/utils/{formatUnits.cjs.js → formatUnits/formatUnits.cjs.js} +0 -0
- /package/dist/utils/{formatUnits.es.js → formatUnits/formatUnits.es.js} +0 -0
- /package/dist/utils/{useSwiper.cjs.js → useSwiper/useSwiper.cjs.js} +0 -0
- /package/dist/utils/{useSwiper.es.js → useSwiper/useSwiper.es.js} +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const o = "comparisonMobileView-module__root___sSosN", e = "comparisonMobileView-module__table___2J5UL", l = "comparisonMobileView-module__headers___8E-5n", _ = "comparisonMobileView-module__feature___ErASb", i = "comparisonMobileView-module__row___0rP2u", c = "comparisonMobileView-module__cell___c-kqb", n = "comparisonMobileView-module__cellHighlighted___dS4jy", s = "comparisonMobileView-module__companyLogo___FOuDV", t = "comparisonMobileView-module__iconCell___Agxvq", a = "comparisonMobileView-module__iconCellHighlighted___xVD1a", r = "comparisonMobileView-module__icon___hLpTA", m = {
|
|
2
|
+
root: o,
|
|
3
|
+
table: e,
|
|
4
|
+
headers: l,
|
|
5
|
+
feature: _,
|
|
6
|
+
row: i,
|
|
7
|
+
cell: c,
|
|
8
|
+
cellHighlighted: n,
|
|
9
|
+
companyLogo: s,
|
|
10
|
+
iconCell: t,
|
|
11
|
+
iconCellHighlighted: a,
|
|
12
|
+
icon: r
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
c as cell,
|
|
16
|
+
n as cellHighlighted,
|
|
17
|
+
s as companyLogo,
|
|
18
|
+
m as default,
|
|
19
|
+
_ as feature,
|
|
20
|
+
l as headers,
|
|
21
|
+
r as icon,
|
|
22
|
+
t as iconCell,
|
|
23
|
+
a as iconCellHighlighted,
|
|
24
|
+
o as root,
|
|
25
|
+
i as row,
|
|
26
|
+
e as table
|
|
27
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=e=>e.toLowerCase()==="healthspan";exports.isHealthspan=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("react"),c=require("../../components/InfiniteScroll/InfiniteScroll.cjs.js"),l=require("../../components/Typography/Typography.cjs.js"),s=require("../../utils/cn/cn.cjs.js"),a=require("./featuredIn.module.css.cjs.js");function o({media:n}){return e.jsx("div",{className:a.default.mediaFeaturedInBlock,children:n.filter(r=>!!r.logo).map(({logo:r,url:t},d)=>{const u=t?"a":"div";return e.jsx(u,{href:t,target:"_blank",rel:"noopener noreferrer",className:a.default.mediaFeaturedInImageContainer,children:e.jsx("div",{className:a.default.mediaFeaturedInImage,style:{backgroundImage:`url(${r})`}})},`${t}_${d}`)})})}function m({quote:n}){return e.jsx("div",{className:a.default.quoteFeaturedInBlock,children:e.jsxs(l.Typography,{as:"p",defaultVariant:"headingSm",mobileVariant:"headingXxs",className:a.default.quoteFeaturedInText,children:["“",n,"”"]})})}function f({button_label:n}){return e.jsx("a",{href:"https://app.gethealthspan.com",className:a.default.ctaFeaturedIn,children:e.jsx("p",{className:a.default.ctaFeaturedInText,children:n})})}function p({label:n,content:r}){return e.jsxs("div",{className:a.default.container,children:[e.jsx("p",{className:s.cn(a.default.title,a.default.customTitle),children:"(Featured In)"}),e.jsx(l.Typography,{as:"p",emphasis:!0,defaultVariant:"displayMd",className:s.cn(a.default.title,a.default.defaultTitle),children:"(Featured In)"}),e.jsx(l.Typography,{as:"p",emphasis:!0,defaultVariant:"labelMd",mobileVariant:"labelSm",className:a.default.label,children:n}),e.jsx(c.InfiniteScroll,{items:r,contentClassName:a.default.content,itemClassName:a.default.item,rootClassName:a.default.scrollRoot,renderItem:t=>e.jsxs(i.Fragment,{children:[t.type==="media"&&e.jsx(o,{media:t.media}),t.type==="quote"&&e.jsx(m,{quote:t.quote}),t.type==="cta"&&e.jsx(f,{button_label:t.button_label}),e.jsx("div",{className:a.default.spacer})]},t.type)})]})}exports.FeaturedIn=p;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { jsxs as l, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { Fragment as d } from "react";
|
|
3
|
+
import { InfiniteScroll as m } from "../../components/InfiniteScroll/InfiniteScroll.es.js";
|
|
4
|
+
import { Typography as i } from "../../components/Typography/Typography.es.js";
|
|
5
|
+
import { cn as s } from "../../utils/cn/cn.es.js";
|
|
6
|
+
import e from "./featuredIn.module.css.es.js";
|
|
7
|
+
function c({ media: r }) {
|
|
8
|
+
return /* @__PURE__ */ a("div", { className: e.mediaFeaturedInBlock, children: r.filter((n) => !!n.logo).map(({ logo: n, url: t }, o) => /* @__PURE__ */ a(
|
|
9
|
+
t ? "a" : "div",
|
|
10
|
+
{
|
|
11
|
+
href: t,
|
|
12
|
+
target: "_blank",
|
|
13
|
+
rel: "noopener noreferrer",
|
|
14
|
+
className: e.mediaFeaturedInImageContainer,
|
|
15
|
+
children: /* @__PURE__ */ a("div", { className: e.mediaFeaturedInImage, style: { backgroundImage: `url(${n})` } })
|
|
16
|
+
},
|
|
17
|
+
`${t}_${o}`
|
|
18
|
+
)) });
|
|
19
|
+
}
|
|
20
|
+
function u({ quote: r }) {
|
|
21
|
+
return /* @__PURE__ */ a("div", { className: e.quoteFeaturedInBlock, children: /* @__PURE__ */ l(i, { as: "p", defaultVariant: "headingSm", mobileVariant: "headingXxs", className: e.quoteFeaturedInText, children: [
|
|
22
|
+
"“",
|
|
23
|
+
r,
|
|
24
|
+
"”"
|
|
25
|
+
] }) });
|
|
26
|
+
}
|
|
27
|
+
function p({ button_label: r }) {
|
|
28
|
+
return /* @__PURE__ */ a("a", { href: "https://app.gethealthspan.com", className: e.ctaFeaturedIn, children: /* @__PURE__ */ a("p", { className: e.ctaFeaturedInText, children: r }) });
|
|
29
|
+
}
|
|
30
|
+
function y({ label: r, content: n }) {
|
|
31
|
+
return /* @__PURE__ */ l("div", { className: e.container, children: [
|
|
32
|
+
/* @__PURE__ */ a("p", { className: s(e.title, e.customTitle), children: "(Featured In)" }),
|
|
33
|
+
/* @__PURE__ */ a(i, { as: "p", emphasis: !0, defaultVariant: "displayMd", className: s(e.title, e.defaultTitle), children: "(Featured In)" }),
|
|
34
|
+
/* @__PURE__ */ a(i, { as: "p", emphasis: !0, defaultVariant: "labelMd", mobileVariant: "labelSm", className: e.label, children: r }),
|
|
35
|
+
/* @__PURE__ */ a(
|
|
36
|
+
m,
|
|
37
|
+
{
|
|
38
|
+
items: n,
|
|
39
|
+
contentClassName: e.content,
|
|
40
|
+
itemClassName: e.item,
|
|
41
|
+
rootClassName: e.scrollRoot,
|
|
42
|
+
renderItem: (t) => /* @__PURE__ */ l(d, { children: [
|
|
43
|
+
t.type === "media" && /* @__PURE__ */ a(c, { media: t.media }),
|
|
44
|
+
t.type === "quote" && /* @__PURE__ */ a(u, { quote: t.quote }),
|
|
45
|
+
t.type === "cta" && /* @__PURE__ */ a(p, { button_label: t.button_label }),
|
|
46
|
+
/* @__PURE__ */ a("div", { className: e.spacer })
|
|
47
|
+
] }, t.type)
|
|
48
|
+
}
|
|
49
|
+
)
|
|
50
|
+
] });
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
y as FeaturedIn
|
|
54
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="featuredIn-module__container___WFzUN",t="featuredIn-module__label___RaWYk",a="featuredIn-module__scrollRoot___kFYfd",n="featuredIn-module__item___RskSp",u="featuredIn-module__title___LRXHK",o="featuredIn-module__customTitle___R5G6Z",_="featuredIn-module__defaultTitle___s7UOV",d="featuredIn-module__content___XhQ45",r="featuredIn-module__mediaFeaturedInBlock___t7JKi",l="featuredIn-module__mediaFeaturedInImageContainer___mUgw0",c="featuredIn-module__mediaFeaturedInImage___xjFq3",I="featuredIn-module__quoteFeaturedInBlock___Rykyr",m="featuredIn-module__quoteFeaturedInText___GvOUa",i="featuredIn-module__ctaFeaturedIn___zAyLU",s="featuredIn-module__ctaFeaturedInText___9XABT",F="featuredIn-module__spacer___uImPI",f={container:e,label:t,scrollRoot:a,item:n,title:u,customTitle:o,defaultTitle:_,content:d,mediaFeaturedInBlock:r,mediaFeaturedInImageContainer:l,mediaFeaturedInImage:c,quoteFeaturedInBlock:I,quoteFeaturedInText:m,ctaFeaturedIn:i,ctaFeaturedInText:s,spacer:F};exports.container=e;exports.content=d;exports.ctaFeaturedIn=i;exports.ctaFeaturedInText=s;exports.customTitle=o;exports.default=f;exports.defaultTitle=_;exports.item=n;exports.label=t;exports.mediaFeaturedInBlock=r;exports.mediaFeaturedInImage=c;exports.mediaFeaturedInImageContainer=l;exports.quoteFeaturedInBlock=I;exports.quoteFeaturedInText=m;exports.scrollRoot=a;exports.spacer=F;exports.title=u;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
const e = "featuredIn-module__container___WFzUN", t = "featuredIn-module__label___RaWYk", _ = "featuredIn-module__scrollRoot___kFYfd", a = "featuredIn-module__item___RskSp", n = "featuredIn-module__title___LRXHK", d = "featuredIn-module__customTitle___R5G6Z", o = "featuredIn-module__defaultTitle___s7UOV", u = "featuredIn-module__content___XhQ45", r = "featuredIn-module__mediaFeaturedInBlock___t7JKi", l = "featuredIn-module__mediaFeaturedInImageContainer___mUgw0", I = "featuredIn-module__mediaFeaturedInImage___xjFq3", c = "featuredIn-module__quoteFeaturedInBlock___Rykyr", m = "featuredIn-module__quoteFeaturedInText___GvOUa", s = "featuredIn-module__ctaFeaturedIn___zAyLU", i = "featuredIn-module__ctaFeaturedInText___9XABT", F = "featuredIn-module__spacer___uImPI", f = {
|
|
2
|
+
container: e,
|
|
3
|
+
label: t,
|
|
4
|
+
scrollRoot: _,
|
|
5
|
+
item: a,
|
|
6
|
+
title: n,
|
|
7
|
+
customTitle: d,
|
|
8
|
+
defaultTitle: o,
|
|
9
|
+
content: u,
|
|
10
|
+
mediaFeaturedInBlock: r,
|
|
11
|
+
mediaFeaturedInImageContainer: l,
|
|
12
|
+
mediaFeaturedInImage: I,
|
|
13
|
+
quoteFeaturedInBlock: c,
|
|
14
|
+
quoteFeaturedInText: m,
|
|
15
|
+
ctaFeaturedIn: s,
|
|
16
|
+
ctaFeaturedInText: i,
|
|
17
|
+
spacer: F
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
e as container,
|
|
21
|
+
u as content,
|
|
22
|
+
s as ctaFeaturedIn,
|
|
23
|
+
i as ctaFeaturedInText,
|
|
24
|
+
d as customTitle,
|
|
25
|
+
f as default,
|
|
26
|
+
o as defaultTitle,
|
|
27
|
+
a as item,
|
|
28
|
+
t as label,
|
|
29
|
+
r as mediaFeaturedInBlock,
|
|
30
|
+
I as mediaFeaturedInImage,
|
|
31
|
+
l as mediaFeaturedInImageContainer,
|
|
32
|
+
c as quoteFeaturedInBlock,
|
|
33
|
+
m as quoteFeaturedInText,
|
|
34
|
+
_ as scrollRoot,
|
|
35
|
+
F as spacer,
|
|
36
|
+
n as title
|
|
37
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),u=require("../../components/InfiniteScroll/InfiniteScroll.cjs.js"),c=require("../../components/Typography/Typography.cjs.js"),d=require("./components/FeatureGrid/FeatureGrid.cjs.js"),a=require("./featuresGallery.module.css.cjs.js"),h=({label:t,url:r})=>e.jsx("a",{href:r,className:a.default.label,children:e.jsx(c.Typography,{defaultVariant:"labelMd",emphasis:!0,mobileVariant:"labelSm",weight:"regular",children:t})}),m=({title:t,description:r,features:i,labels:n})=>e.jsxs("section",{className:a.default.root,children:[e.jsxs("div",{className:a.default.container,children:[e.jsxs("div",{className:a.default.header,children:[e.jsx(o.HighlightedTitle,{title:t,className:a.default.title,defaultVariant:"displayMd",mobileVariant:"headingXl"}),r&&e.jsx(c.Typography,{as:"p",defaultVariant:"bodyLg",mobileVariant:"bodySm",children:r})]}),e.jsxs("div",{className:a.default.features,children:[e.jsx("div",{className:a.default.primaryFeatures,children:i.slice(0,2).map((l,s)=>e.jsx(d.FeatureGrid,{feature:l,index:s,type:"primary"},l.label))}),i.length>2&&e.jsx("div",{className:a.default.secondaryFeatures,children:i.slice(2).map((l,s)=>e.jsx(d.FeatureGrid,{feature:l,index:s,type:"secondary"},l.label))})]})]}),n.length>0&&e.jsx("div",{className:a.default.footer,children:e.jsx(u.InfiniteScroll,{items:n,renderItem:h})})]});exports.FeaturesGallery=m;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { HighlightedTitle as c } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
|
|
3
|
+
import { InfiniteScroll as h } from "../../components/InfiniteScroll/InfiniteScroll.es.js";
|
|
4
|
+
import { Typography as o } from "../../components/Typography/Typography.es.js";
|
|
5
|
+
import { FeatureGrid as n } from "./components/FeatureGrid/FeatureGrid.es.js";
|
|
6
|
+
import a from "./featuresGallery.module.css.es.js";
|
|
7
|
+
const p = ({ label: t, url: l }) => /* @__PURE__ */ e("a", { href: l, className: a.label, children: /* @__PURE__ */ e(o, { defaultVariant: "labelMd", emphasis: !0, mobileVariant: "labelSm", weight: "regular", children: t }) }), v = ({ title: t, description: l, features: s, labels: d }) => /* @__PURE__ */ i("section", { className: a.root, children: [
|
|
8
|
+
/* @__PURE__ */ i("div", { className: a.container, children: [
|
|
9
|
+
/* @__PURE__ */ i("div", { className: a.header, children: [
|
|
10
|
+
/* @__PURE__ */ e(c, { title: t, className: a.title, defaultVariant: "displayMd", mobileVariant: "headingXl" }),
|
|
11
|
+
l && /* @__PURE__ */ e(o, { as: "p", defaultVariant: "bodyLg", mobileVariant: "bodySm", children: l })
|
|
12
|
+
] }),
|
|
13
|
+
/* @__PURE__ */ i("div", { className: a.features, children: [
|
|
14
|
+
/* @__PURE__ */ e("div", { className: a.primaryFeatures, children: s.slice(0, 2).map((r, m) => /* @__PURE__ */ e(n, { feature: r, index: m, type: "primary" }, r.label)) }),
|
|
15
|
+
s.length > 2 && /* @__PURE__ */ e("div", { className: a.secondaryFeatures, children: s.slice(2).map((r, m) => /* @__PURE__ */ e(n, { feature: r, index: m, type: "secondary" }, r.label)) })
|
|
16
|
+
] })
|
|
17
|
+
] }),
|
|
18
|
+
d.length > 0 && /* @__PURE__ */ e("div", { className: a.footer, children: /* @__PURE__ */ e(h, { items: d, renderItem: p }) })
|
|
19
|
+
] });
|
|
20
|
+
export {
|
|
21
|
+
v as FeaturesGallery
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("../../../../components/Icon/constants.cjs.js"),s=require("../../../../components/IconButton/IconButton.cjs.js"),c=require("../../../../components/Typography/Typography.cjs.js"),d=require("../../../../utils/cn/cn.cjs.js"),a=require("./FeatureGrid.module.css.cjs.js"),r={primary:{default:"headingXl",mobile:"headingXs"},secondary:{default:"headingSm",mobile:"headingXxs"}},u=({feature:t,className:i,index:l,type:n})=>e.jsxs("a",{className:d.cn(a.default.root,a.default[n],i),style:{backgroundImage:`url("${t.image}")`},href:t.url,children:[e.jsx("div",{className:a.default.smoke,"data-smoke":l%3}),e.jsxs("div",{className:a.default.content,children:[e.jsx(c.Typography,{as:"h3",defaultVariant:r[n].default,mobileVariant:r[n].mobile,className:a.default.label,children:t.label}),e.jsx("div",{className:a.default.desktop,children:e.jsx(s.IconButton,{iconName:o.EIconName.ARROW_FORWARD,variant:"muted-invert",size:n==="primary"?"lg":"md"})}),e.jsx("div",{className:a.default.mobile,children:e.jsx(s.IconButton,{iconName:o.EIconName.ARROW_FORWARD,variant:"muted-invert",size:"sm"})})]})]});exports.FeatureGrid=u;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { EIconName as o } from "../../../../components/Icon/constants.es.js";
|
|
3
|
+
import { IconButton as l } from "../../../../components/IconButton/IconButton.es.js";
|
|
4
|
+
import { Typography as d } from "../../../../components/Typography/Typography.es.js";
|
|
5
|
+
import { cn as c } from "../../../../utils/cn/cn.es.js";
|
|
6
|
+
import a from "./FeatureGrid.module.css.es.js";
|
|
7
|
+
const s = {
|
|
8
|
+
primary: { default: "headingXl", mobile: "headingXs" },
|
|
9
|
+
secondary: { default: "headingSm", mobile: "headingXxs" }
|
|
10
|
+
}, R = ({ feature: m, className: n, index: t, type: i }) => /* @__PURE__ */ r("a", { className: c(a.root, a[i], n), style: { backgroundImage: `url("${m.image}")` }, href: m.url, children: [
|
|
11
|
+
/* @__PURE__ */ e("div", { className: a.smoke, "data-smoke": t % 3 }),
|
|
12
|
+
/* @__PURE__ */ r("div", { className: a.content, children: [
|
|
13
|
+
/* @__PURE__ */ e(
|
|
14
|
+
d,
|
|
15
|
+
{
|
|
16
|
+
as: "h3",
|
|
17
|
+
defaultVariant: s[i].default,
|
|
18
|
+
mobileVariant: s[i].mobile,
|
|
19
|
+
className: a.label,
|
|
20
|
+
children: m.label
|
|
21
|
+
}
|
|
22
|
+
),
|
|
23
|
+
/* @__PURE__ */ e("div", { className: a.desktop, children: /* @__PURE__ */ e(l, { iconName: o.ARROW_FORWARD, variant: "muted-invert", size: i === "primary" ? "lg" : "md" }) }),
|
|
24
|
+
/* @__PURE__ */ e("div", { className: a.mobile, children: /* @__PURE__ */ e(l, { iconName: o.ARROW_FORWARD, variant: "muted-invert", size: "sm" }) })
|
|
25
|
+
] })
|
|
26
|
+
] });
|
|
27
|
+
export {
|
|
28
|
+
R as FeatureGrid
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="FeatureGrid-module__root___gF05S",o="FeatureGrid-module__primary___iInww",t="FeatureGrid-module__secondary___PXhy5",_="FeatureGrid-module__smoke___ilSJj",r="FeatureGrid-module__content___LpANj",l="FeatureGrid-module__label___-yx-D",d="FeatureGrid-module__mobile___4rSXl",s="FeatureGrid-module__desktop___wvfEO",a={root:e,primary:o,secondary:t,smoke:_,content:r,label:l,mobile:d,desktop:s};exports.content=r;exports.default=a;exports.desktop=s;exports.label=l;exports.mobile=d;exports.primary=o;exports.root=e;exports.secondary=t;exports.smoke=_;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const e = "FeatureGrid-module__root___gF05S", _ = "FeatureGrid-module__primary___iInww", o = "FeatureGrid-module__secondary___PXhy5", t = "FeatureGrid-module__smoke___ilSJj", r = "FeatureGrid-module__content___LpANj", d = "FeatureGrid-module__label___-yx-D", l = "FeatureGrid-module__mobile___4rSXl", s = "FeatureGrid-module__desktop___wvfEO", a = {
|
|
2
|
+
root: e,
|
|
3
|
+
primary: _,
|
|
4
|
+
secondary: o,
|
|
5
|
+
smoke: t,
|
|
6
|
+
content: r,
|
|
7
|
+
label: d,
|
|
8
|
+
mobile: l,
|
|
9
|
+
desktop: s
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
r as content,
|
|
13
|
+
a as default,
|
|
14
|
+
s as desktop,
|
|
15
|
+
d as label,
|
|
16
|
+
l as mobile,
|
|
17
|
+
_ as primary,
|
|
18
|
+
e as root,
|
|
19
|
+
o as secondary,
|
|
20
|
+
t as smoke
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="featuresGallery-module__root___yTaXS",r="featuresGallery-module__container___pKoZa",a="featuresGallery-module__header___DTriD",t="featuresGallery-module__features___bl4GE",o="featuresGallery-module__primaryFeatures___vrd5c",_="featuresGallery-module__secondaryFeatures___IMF1X",l="featuresGallery-module__footer___pAZ39",s="featuresGallery-module__label___jasDl",u={root:e,container:r,header:a,features:t,primaryFeatures:o,secondaryFeatures:_,footer:l,label:s};exports.container=r;exports.default=u;exports.features=t;exports.footer=l;exports.header=a;exports.label=s;exports.primaryFeatures=o;exports.root=e;exports.secondaryFeatures=_;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const e = "featuresGallery-module__root___yTaXS", r = "featuresGallery-module__container___pKoZa", a = "featuresGallery-module__header___DTriD", _ = "featuresGallery-module__features___bl4GE", t = "featuresGallery-module__primaryFeatures___vrd5c", o = "featuresGallery-module__secondaryFeatures___IMF1X", l = "featuresGallery-module__footer___pAZ39", s = "featuresGallery-module__label___jasDl", u = {
|
|
2
|
+
root: e,
|
|
3
|
+
container: r,
|
|
4
|
+
header: a,
|
|
5
|
+
features: _,
|
|
6
|
+
primaryFeatures: t,
|
|
7
|
+
secondaryFeatures: o,
|
|
8
|
+
footer: l,
|
|
9
|
+
label: s
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
r as container,
|
|
13
|
+
u as default,
|
|
14
|
+
_ as features,
|
|
15
|
+
l as footer,
|
|
16
|
+
a as header,
|
|
17
|
+
s as label,
|
|
18
|
+
t as primaryFeatures,
|
|
19
|
+
e as root,
|
|
20
|
+
o as secondaryFeatures
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime");;/* empty css */;/* empty css */;/* empty css */const w=require("../../node_modules/swiper/modules/navigation.cjs.js"),l=require("../../node_modules/swiper/swiper-react.cjs.js"),x=require("../../components/Benefit/Benefit.cjs.js"),f=require("../../components/Icon/constants.cjs.js"),g=require("../../components/Label/Label.cjs.js"),c=require("../../components/ProgressButton/ProgressButton.cjs.js"),_=require("../../components/TextButton/TextButton.cjs.js"),q=require("../../utils/useSwiper/useSwiper.cjs.js"),i=require("./followTheScience.module.css.cjs.js"),j=[w.default];function B({labelText:d,benefits:a}){const{activeIndex:n,setIsEnd:u,isEnd:t,handleSlideChange:h,handlePrevClick:r,handleNextClick:o,onSwiperInit:p,handleSwiperResize:S}=q.useSwiper();return e.jsxs("div",{className:i.default.container,children:[e.jsxs("div",{className:i.default.heading,children:[e.jsx(g.Label,{color:"white",size:"lg",children:d}),e.jsx("div",{className:i.default.progressButtons,"data-device":"desktop",children:e.jsx(c.ProgressButton,{left:{onClick:r,disabled:n<=0},right:{disabled:t,onClick:o}})})]}),e.jsx("div",{children:e.jsx(l.Swiper,{onSwiper:p,onResize:S,onSlideChange:h,onReachEnd:()=>u(!0),modules:j,spaceBetween:0,slidesPerView:"auto",className:i.default.swiper,children:a.map((s,m)=>e.jsx(l.SwiperSlide,{className:i.default.swiperSlide,children:e.jsx(x.Benefit,{title:s.title,description:s.description,button:e.jsx(_.TextButton,{as:"a",size:"sm",color:"white",suffixIcon:f.EIconName.ARROW_FORWARD,href:s.link,children:"READ THE STUDY"})})},m))})}),e.jsx("div",{className:i.default.progressButtons,"data-device":"mobile",children:e.jsx(c.ProgressButton,{left:{onClick:r,disabled:n<=0},right:{onClick:o,disabled:t}})})]})}exports.FollowTheScience=B;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
3
|
+
/* empty css */
|
|
4
|
+
/* empty css */
|
|
5
|
+
/* empty css */
|
|
6
|
+
import u from "../../node_modules/swiper/modules/navigation.es.js";
|
|
7
|
+
import { Swiper as w, SwiperSlide as g } from "../../node_modules/swiper/swiper-react.es.js";
|
|
8
|
+
import { Benefit as v } from "../../components/Benefit/Benefit.es.js";
|
|
9
|
+
import { EIconName as N } from "../../components/Icon/constants.es.js";
|
|
10
|
+
import { Label as R } from "../../components/Label/Label.es.js";
|
|
11
|
+
import { ProgressButton as d } from "../../components/ProgressButton/ProgressButton.es.js";
|
|
12
|
+
import { TextButton as k } from "../../components/TextButton/TextButton.es.js";
|
|
13
|
+
import { useSwiper as C } from "../../utils/useSwiper/useSwiper.es.js";
|
|
14
|
+
import i from "./followTheScience.module.css.es.js";
|
|
15
|
+
const E = [u];
|
|
16
|
+
function L({ labelText: a, benefits: c }) {
|
|
17
|
+
const { activeIndex: r, setIsEnd: m, isEnd: t, handleSlideChange: p, handlePrevClick: s, handleNextClick: n, onSwiperInit: h, handleSwiperResize: f } = C();
|
|
18
|
+
return /* @__PURE__ */ l("div", { className: i.container, children: [
|
|
19
|
+
/* @__PURE__ */ l("div", { className: i.heading, children: [
|
|
20
|
+
/* @__PURE__ */ e(R, { color: "white", size: "lg", children: a }),
|
|
21
|
+
/* @__PURE__ */ e("div", { className: i.progressButtons, "data-device": "desktop", children: /* @__PURE__ */ e(
|
|
22
|
+
d,
|
|
23
|
+
{
|
|
24
|
+
left: {
|
|
25
|
+
onClick: s,
|
|
26
|
+
disabled: r <= 0
|
|
27
|
+
},
|
|
28
|
+
right: {
|
|
29
|
+
disabled: t,
|
|
30
|
+
onClick: n
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
) })
|
|
34
|
+
] }),
|
|
35
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
36
|
+
w,
|
|
37
|
+
{
|
|
38
|
+
onSwiper: h,
|
|
39
|
+
onResize: f,
|
|
40
|
+
onSlideChange: p,
|
|
41
|
+
onReachEnd: () => m(!0),
|
|
42
|
+
modules: E,
|
|
43
|
+
spaceBetween: 0,
|
|
44
|
+
slidesPerView: "auto",
|
|
45
|
+
className: i.swiper,
|
|
46
|
+
children: c.map((o, S) => /* @__PURE__ */ e(g, { className: i.swiperSlide, children: /* @__PURE__ */ e(
|
|
47
|
+
v,
|
|
48
|
+
{
|
|
49
|
+
title: o.title,
|
|
50
|
+
description: o.description,
|
|
51
|
+
button: /* @__PURE__ */ e(k, { as: "a", size: "sm", color: "white", suffixIcon: N.ARROW_FORWARD, href: o.link, children: "READ THE STUDY" })
|
|
52
|
+
}
|
|
53
|
+
) }, S))
|
|
54
|
+
}
|
|
55
|
+
) }),
|
|
56
|
+
/* @__PURE__ */ e("div", { className: i.progressButtons, "data-device": "mobile", children: /* @__PURE__ */ e(
|
|
57
|
+
d,
|
|
58
|
+
{
|
|
59
|
+
left: {
|
|
60
|
+
onClick: s,
|
|
61
|
+
disabled: r <= 0
|
|
62
|
+
},
|
|
63
|
+
right: {
|
|
64
|
+
onClick: n,
|
|
65
|
+
disabled: t
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
) })
|
|
69
|
+
] });
|
|
70
|
+
}
|
|
71
|
+
export {
|
|
72
|
+
L as FollowTheScience
|
|
73
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="followTheScience-module__container___Aur-g",o="followTheScience-module__heading___R9F6F",s="followTheScience-module__swiper___iUsAd",i="followTheScience-module__swiperSlide___YMeah",n="followTheScience-module__progressButtons___mzqTh",t={container:e,heading:o,swiper:s,swiperSlide:i,progressButtons:n};exports.container=e;exports.default=t;exports.heading=o;exports.progressButtons=n;exports.swiper=s;exports.swiperSlide=i;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const e = "followTheScience-module__container___Aur-g", o = "followTheScience-module__heading___R9F6F", s = "followTheScience-module__swiper___iUsAd", _ = "followTheScience-module__swiperSlide___YMeah", n = "followTheScience-module__progressButtons___mzqTh", i = {
|
|
2
|
+
container: e,
|
|
3
|
+
heading: o,
|
|
4
|
+
swiper: s,
|
|
5
|
+
swiperSlide: _,
|
|
6
|
+
progressButtons: n
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
e as container,
|
|
10
|
+
i as default,
|
|
11
|
+
o as heading,
|
|
12
|
+
n as progressButtons,
|
|
13
|
+
s as swiper,
|
|
14
|
+
_ as swiperSlide
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../../components/Button/Button.cjs.js"),n=require("../../components/Typography/Typography.cjs.js"),i=require("./components/Content/Content.cjs.js"),t=require("./howItWorks.module.css.cjs.js"),l=({title:o,getStartedLink:s,items:a})=>e.jsxs("section",{className:t.default.root,children:[e.jsxs("div",{className:t.default.headerContainer,children:[e.jsx(n.Typography,{as:"h2",defaultVariant:"displayMd",mobileVariant:"headingXl",children:o}),s&&e.jsx("div",{className:t.default.desktop,children:e.jsx(r.Button,{as:"a",href:s,variant:"muted",size:"lg",children:"Get started"})}),s&&e.jsx("div",{className:t.default.mobile,children:e.jsx(r.Button,{as:"a",href:s,variant:"muted",size:"sm",children:"Get started"})})]}),e.jsx(i.Content,{items:a})]});exports.HowItWorks=l;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsxs as s, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Button as i } from "../../components/Button/Button.es.js";
|
|
3
|
+
import { Typography as m } from "../../components/Typography/Typography.es.js";
|
|
4
|
+
import { Content as l } from "./components/Content/Content.es.js";
|
|
5
|
+
import a from "./howItWorks.module.css.es.js";
|
|
6
|
+
const f = ({ title: o, getStartedLink: e, items: t }) => /* @__PURE__ */ s("section", { className: a.root, children: [
|
|
7
|
+
/* @__PURE__ */ s("div", { className: a.headerContainer, children: [
|
|
8
|
+
/* @__PURE__ */ r(m, { as: "h2", defaultVariant: "displayMd", mobileVariant: "headingXl", children: o }),
|
|
9
|
+
e && /* @__PURE__ */ r("div", { className: a.desktop, children: /* @__PURE__ */ r(i, { as: "a", href: e, variant: "muted", size: "lg", children: "Get started" }) }),
|
|
10
|
+
e && /* @__PURE__ */ r("div", { className: a.mobile, children: /* @__PURE__ */ r(i, { as: "a", href: e, variant: "muted", size: "sm", children: "Get started" }) })
|
|
11
|
+
] }),
|
|
12
|
+
/* @__PURE__ */ r(l, { items: t })
|
|
13
|
+
] });
|
|
14
|
+
export {
|
|
15
|
+
f as HowItWorks
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),w=require("../../../../node_modules/swiper/modules/navigation.cjs.js"),r=require("../../../../node_modules/swiper/swiper-react.cjs.js"),j=require("../../../../components/ProgressButton/ProgressButton.cjs.js"),s=require("../../../../components/Typography/Typography.cjs.js"),y=require("../../../../utils/useSwiper/useSwiper.cjs.js");;/* empty css */;/* empty css */;/* empty css */const i=require("./content.module.css.cjs.js"),q=[w.default],x=({items:l})=>{const{isEnd:t,isBeginning:d,hideNav:o,handleSlideChange:c,handlePrevClick:u,handleNextClick:h,onSwiperInit:g,handleSwiperResize:p,handleReachEnd:S,handleReachBeginning:m,handleSlideTo:f}=y.useSwiper();return e.jsxs("div",{className:i.default.root,children:[e.jsx("div",{className:i.default.carouselArea,children:e.jsx(r.Swiper,{onSwiper:g,onResize:p,onSlideChange:c,onReachEnd:S,onReachBeginning:m,modules:q,spaceBetween:0,slidesPerView:"auto",className:i.default.swiper,children:l.map((a,n)=>e.jsx(r.SwiperSlide,{className:i.default.swiperSlide,children:e.jsxs("div",{className:i.default.card,onClick:()=>f(n),children:[e.jsxs("div",{className:i.default.cardHeader,children:[e.jsx("img",{src:a.image,className:i.default.cardImage,alt:a.title}),e.jsx(s.Typography,{as:"h3",defaultVariant:"headingLg",mobileVariant:"headingXs",children:a.title})]}),e.jsx(s.Typography,{as:"p",defaultVariant:"bodyLg",mobileVariant:"bodySm",children:a.description})]})},`${a.title}_${n}`))})}),!o&&e.jsx("div",{className:i.default.navigation,children:e.jsx(j.ProgressButton,{left:{disabled:d,onClick:u},right:{disabled:t,onClick:h}})})]})};exports.Content=x;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import w from "../../../../node_modules/swiper/modules/navigation.es.js";
|
|
4
|
+
import { Swiper as u, SwiperSlide as v } from "../../../../node_modules/swiper/swiper-react.es.js";
|
|
5
|
+
import { ProgressButton as C } from "../../../../components/ProgressButton/ProgressButton.es.js";
|
|
6
|
+
import { Typography as l } from "../../../../components/Typography/Typography.es.js";
|
|
7
|
+
import { useSwiper as R } from "../../../../utils/useSwiper/useSwiper.es.js";
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
import i from "./content.module.css.es.js";
|
|
12
|
+
const b = [w], z = ({ items: o }) => {
|
|
13
|
+
const {
|
|
14
|
+
isEnd: d,
|
|
15
|
+
isBeginning: s,
|
|
16
|
+
hideNav: t,
|
|
17
|
+
handleSlideChange: c,
|
|
18
|
+
handlePrevClick: m,
|
|
19
|
+
handleNextClick: h,
|
|
20
|
+
onSwiperInit: p,
|
|
21
|
+
handleSwiperResize: g,
|
|
22
|
+
handleReachEnd: S,
|
|
23
|
+
handleReachBeginning: N,
|
|
24
|
+
handleSlideTo: f
|
|
25
|
+
} = R();
|
|
26
|
+
return /* @__PURE__ */ n("div", { className: i.root, children: [
|
|
27
|
+
/* @__PURE__ */ e("div", { className: i.carouselArea, children: /* @__PURE__ */ e(
|
|
28
|
+
u,
|
|
29
|
+
{
|
|
30
|
+
onSwiper: p,
|
|
31
|
+
onResize: g,
|
|
32
|
+
onSlideChange: c,
|
|
33
|
+
onReachEnd: S,
|
|
34
|
+
onReachBeginning: N,
|
|
35
|
+
modules: b,
|
|
36
|
+
spaceBetween: 0,
|
|
37
|
+
slidesPerView: "auto",
|
|
38
|
+
className: i.swiper,
|
|
39
|
+
children: o.map((a, r) => /* @__PURE__ */ e(v, { className: i.swiperSlide, children: /* @__PURE__ */ n("div", { className: i.card, onClick: () => f(r), children: [
|
|
40
|
+
/* @__PURE__ */ n("div", { className: i.cardHeader, children: [
|
|
41
|
+
/* @__PURE__ */ e("img", { src: a.image, className: i.cardImage, alt: a.title }),
|
|
42
|
+
/* @__PURE__ */ e(l, { as: "h3", defaultVariant: "headingLg", mobileVariant: "headingXs", children: a.title })
|
|
43
|
+
] }),
|
|
44
|
+
/* @__PURE__ */ e(l, { as: "p", defaultVariant: "bodyLg", mobileVariant: "bodySm", children: a.description })
|
|
45
|
+
] }) }, `${a.title}_${r}`))
|
|
46
|
+
}
|
|
47
|
+
) }),
|
|
48
|
+
!t && /* @__PURE__ */ e("div", { className: i.navigation, children: /* @__PURE__ */ e(
|
|
49
|
+
C,
|
|
50
|
+
{
|
|
51
|
+
left: {
|
|
52
|
+
disabled: s,
|
|
53
|
+
onClick: m
|
|
54
|
+
},
|
|
55
|
+
right: {
|
|
56
|
+
disabled: d,
|
|
57
|
+
onClick: h
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
) })
|
|
61
|
+
] });
|
|
62
|
+
};
|
|
63
|
+
export {
|
|
64
|
+
z as Content
|
|
65
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="content-module__root___qfzkV",o="content-module__carouselArea___milox",t="content-module__swiper___6bohy",_="content-module__swiperSlide___O31RT",r="content-module__card___-FmJI",a="content-module__cardHeader___6bvv8",n="content-module__cardImage___85ki9",c="content-module__navigation___gF-nP",d={root:e,carouselArea:o,swiper:t,swiperSlide:_,card:r,cardHeader:a,cardImage:n,navigation:c};exports.card=r;exports.cardHeader=a;exports.cardImage=n;exports.carouselArea=o;exports.default=d;exports.navigation=c;exports.root=e;exports.swiper=t;exports.swiperSlide=_;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const e = "content-module__root___qfzkV", o = "content-module__carouselArea___milox", _ = "content-module__swiper___6bohy", t = "content-module__swiperSlide___O31RT", n = "content-module__card___-FmJI", a = "content-module__cardHeader___6bvv8", c = "content-module__cardImage___85ki9", r = "content-module__navigation___gF-nP", d = {
|
|
2
|
+
root: e,
|
|
3
|
+
carouselArea: o,
|
|
4
|
+
swiper: _,
|
|
5
|
+
swiperSlide: t,
|
|
6
|
+
card: n,
|
|
7
|
+
cardHeader: a,
|
|
8
|
+
cardImage: c,
|
|
9
|
+
navigation: r
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
n as card,
|
|
13
|
+
a as cardHeader,
|
|
14
|
+
c as cardImage,
|
|
15
|
+
o as carouselArea,
|
|
16
|
+
d as default,
|
|
17
|
+
r as navigation,
|
|
18
|
+
e as root,
|
|
19
|
+
_ as swiper,
|
|
20
|
+
t as swiperSlide
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="howItWorks-module__root___tgV6H",e="howItWorks-module__headerContainer___iw1t-",t="howItWorks-module__mobile___c4I-i",_="howItWorks-module__desktop___bZESp",r={root:o,headerContainer:e,mobile:t,desktop:_};exports.default=r;exports.desktop=_;exports.headerContainer=e;exports.mobile=t;exports.root=o;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const o = "howItWorks-module__root___tgV6H", t = "howItWorks-module__headerContainer___iw1t-", e = "howItWorks-module__mobile___c4I-i", _ = "howItWorks-module__desktop___bZESp", s = {
|
|
2
|
+
root: o,
|
|
3
|
+
headerContainer: t,
|
|
4
|
+
mobile: e,
|
|
5
|
+
desktop: _
|
|
6
|
+
};
|
|
7
|
+
export {
|
|
8
|
+
s as default,
|
|
9
|
+
_ as desktop,
|
|
10
|
+
t as headerContainer,
|
|
11
|
+
e as mobile,
|
|
12
|
+
o as root
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("../../components/Button/Button.cjs.js"),o=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),c=require("../../components/Typography/Typography.cjs.js"),s=require("../../utils/cn/cn.cjs.js"),d=require("./components/ClockImages/ClockImages.cjs.js"),t=require("./optimalHealth.module.css.cjs.js"),u=({title:l,description:r,link:a,images:n})=>e.jsx("section",{className:t.default.root,children:e.jsxs("div",{className:t.default.container,children:[e.jsx(d.ClockImages,{images:n}),e.jsxs("div",{className:t.default.content,children:[e.jsx(o.HighlightedTitle,{title:l,className:t.default.title,defaultVariant:"displaySm",mobileVariant:"headingLg"}),e.jsx(c.Typography,{as:"p",defaultVariant:"bodyLg",mobileVariant:"bodySm",className:t.default.description,children:r}),e.jsx("div",{className:s.cn(t.default.actions,t.default.desktop),children:e.jsx(i.Button,{as:"a",variant:"primary",size:"lg",href:a,children:"LEARN MORE"})}),e.jsx("div",{className:s.cn(t.default.actions,t.default.mobile),children:e.jsx(i.Button,{as:"a",variant:"primary",size:"sm",href:a,children:"LEARN MORE"})})]})]})});exports.OptimalHealth=u;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as i, jsxs as e } from "react/jsx-runtime";
|
|
2
|
+
import { Button as t } from "../../components/Button/Button.es.js";
|
|
3
|
+
import { HighlightedTitle as n } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
|
|
4
|
+
import { Typography as c } from "../../components/Typography/Typography.es.js";
|
|
5
|
+
import { cn as o } from "../../utils/cn/cn.es.js";
|
|
6
|
+
import { ClockImages as d } from "./components/ClockImages/ClockImages.es.js";
|
|
7
|
+
import a from "./optimalHealth.module.css.es.js";
|
|
8
|
+
const b = ({ title: s, description: m, link: r, images: l }) => /* @__PURE__ */ i("section", { className: a.root, children: /* @__PURE__ */ e("div", { className: a.container, children: [
|
|
9
|
+
/* @__PURE__ */ i(d, { images: l }),
|
|
10
|
+
/* @__PURE__ */ e("div", { className: a.content, children: [
|
|
11
|
+
/* @__PURE__ */ i(n, { title: s, className: a.title, defaultVariant: "displaySm", mobileVariant: "headingLg" }),
|
|
12
|
+
/* @__PURE__ */ i(c, { as: "p", defaultVariant: "bodyLg", mobileVariant: "bodySm", className: a.description, children: m }),
|
|
13
|
+
/* @__PURE__ */ i("div", { className: o(a.actions, a.desktop), children: /* @__PURE__ */ i(t, { as: "a", variant: "primary", size: "lg", href: r, children: "LEARN MORE" }) }),
|
|
14
|
+
/* @__PURE__ */ i("div", { className: o(a.actions, a.mobile), children: /* @__PURE__ */ i(t, { as: "a", variant: "primary", size: "sm", href: r, children: "LEARN MORE" }) })
|
|
15
|
+
] })
|
|
16
|
+
] }) });
|
|
17
|
+
export {
|
|
18
|
+
b as OptimalHealth
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),n=require("../../../../utils/cn/cn.cjs.js"),o=require("./hooks.cjs.js"),e=require("./clockImages.module.css.cjs.js"),I=10,d=2*Math.PI/I,i=-Math.PI/2,q=[{key:"smallSquareImage1",className:e.default.smallSquareImage},{key:"rectImage2",className:e.default.rectImage},{key:"smallSquareImage3",className:e.default.smallSquareImage},{key:"largeSquareImage4",className:e.default.largeSquareImage},{key:"rectImage5",className:e.default.rectImage},{key:"smallSquareImage6",className:e.default.smallSquareImage},{key:"rectImage7",className:e.default.rectImage},{key:"smallSquareImage8",className:e.default.smallSquareImage},{key:"rectImage9",className:e.default.rectImage},{key:"largeSquareImage10",className:e.default.largeSquareImage}],N=({images:r})=>{const s=o.useResponsiveRadius();return l.jsx("div",{className:e.default.root,children:q.map(({key:a,className:m},c)=>{const t=i+c*d,u=s*Math.cos(t),g=s*Math.sin(t);return l.jsx("img",{src:r[a],className:n.cn(e.default.image,m),style:{transform:`translate(-50%, -50%) translate(${u}px, ${g}px)`},alt:a},a)})})};exports.ClockImages=N;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
3
|
+
import { cn as o } from "../../../../utils/cn/cn.es.js";
|
|
4
|
+
import { useResponsiveRadius as n } from "./hooks.es.js";
|
|
5
|
+
import a from "./clockImages.module.css.es.js";
|
|
6
|
+
const u = 10, N = 2 * Math.PI / u, S = -Math.PI / 2, i = [
|
|
7
|
+
{ key: "smallSquareImage1", className: a.smallSquareImage },
|
|
8
|
+
{ key: "rectImage2", className: a.rectImage },
|
|
9
|
+
{ key: "smallSquareImage3", className: a.smallSquareImage },
|
|
10
|
+
{ key: "largeSquareImage4", className: a.largeSquareImage },
|
|
11
|
+
{ key: "rectImage5", className: a.rectImage },
|
|
12
|
+
{ key: "smallSquareImage6", className: a.smallSquareImage },
|
|
13
|
+
{ key: "rectImage7", className: a.rectImage },
|
|
14
|
+
{ key: "smallSquareImage8", className: a.smallSquareImage },
|
|
15
|
+
{ key: "rectImage9", className: a.rectImage },
|
|
16
|
+
{ key: "largeSquareImage10", className: a.largeSquareImage }
|
|
17
|
+
], h = ({ images: t }) => {
|
|
18
|
+
const s = n();
|
|
19
|
+
return /* @__PURE__ */ r("div", { className: a.root, children: i.map(({ key: e, className: l }, c) => {
|
|
20
|
+
const m = S + c * N, g = s * Math.cos(m), I = s * Math.sin(m);
|
|
21
|
+
return /* @__PURE__ */ r(
|
|
22
|
+
"img",
|
|
23
|
+
{
|
|
24
|
+
src: t[e],
|
|
25
|
+
className: o(a.image, l),
|
|
26
|
+
style: {
|
|
27
|
+
transform: `translate(-50%, -50%) translate(${g}px, ${I}px)`
|
|
28
|
+
},
|
|
29
|
+
alt: e
|
|
30
|
+
},
|
|
31
|
+
e
|
|
32
|
+
);
|
|
33
|
+
}) });
|
|
34
|
+
};
|
|
35
|
+
export {
|
|
36
|
+
h as ClockImages
|
|
37
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="clockImages-module__root___EP8LS",a="clockImages-module__image___MtqIw",m="clockImages-module__smallSquareImage___NkpW3",l="clockImages-module__largeSquareImage___mPBhn",o="clockImages-module__rectImage___GMy9G",g={root:e,image:a,smallSquareImage:m,largeSquareImage:l,rectImage:o};exports.default=g;exports.image=a;exports.largeSquareImage=l;exports.rectImage=o;exports.root=e;exports.smallSquareImage=m;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const e = "clockImages-module__root___EP8LS", a = "clockImages-module__image___MtqIw", m = "clockImages-module__smallSquareImage___NkpW3", _ = "clockImages-module__largeSquareImage___mPBhn", o = "clockImages-module__rectImage___GMy9G", l = {
|
|
2
|
+
root: e,
|
|
3
|
+
image: a,
|
|
4
|
+
smallSquareImage: m,
|
|
5
|
+
largeSquareImage: _,
|
|
6
|
+
rectImage: o
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
l as default,
|
|
10
|
+
a as image,
|
|
11
|
+
_ as largeSquareImage,
|
|
12
|
+
o as rectImage,
|
|
13
|
+
e as root,
|
|
14
|
+
m as smallSquareImage
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),i=e=>e&&window.innerWidth<=768?280:480;function o(){const e=typeof window<"u",[s,r]=t.useState(i(e));return t.useEffect(()=>{if(!e)return;const n=()=>r(i(e));return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),s}exports.useResponsiveRadius=o;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { useState as r, useEffect as o } from "react";
|
|
2
|
+
const t = (e) => e && window.innerWidth <= 768 ? 280 : 480;
|
|
3
|
+
function u() {
|
|
4
|
+
const e = typeof window < "u", [i, s] = r(t(e));
|
|
5
|
+
return o(() => {
|
|
6
|
+
if (!e) return;
|
|
7
|
+
const n = () => s(t(e));
|
|
8
|
+
return window.addEventListener("resize", n), () => window.removeEventListener("resize", n);
|
|
9
|
+
}, [e]), i;
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
u as useResponsiveRadius
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="optimalHealth-module__root___l-DfB",o="optimalHealth-module__container___Nc-Cv",e="optimalHealth-module__content___5ntd8",_="optimalHealth-module__description___3MlIW",l="optimalHealth-module__actions___IWhyr",n="optimalHealth-module__mobile___8lH1x",i="optimalHealth-module__desktop___Nh1ZJ",c={root:t,container:o,content:e,description:_,actions:l,mobile:n,desktop:i};exports.actions=l;exports.container=o;exports.content=e;exports.default=c;exports.description=_;exports.desktop=i;exports.mobile=n;exports.root=t;
|