@hhgtech/hhg-components 1.29.500 → 1.29.501
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/build/{InputDate-857c4598.js → InputDate-835df468.js} +5 -5
- package/build/{LastPeriod-88d82546.js → LastPeriod-4147b1b0.js} +1 -1
- package/build/{MobileBottomNavigationIcon-2269d2be.js → MobileBottomNavigationIcon-3748b731.js} +3 -3
- package/build/{Spinner-48cbfc22.js → Spinner-f66182d6.js} +1 -1
- package/build/{WhatsApp-4be101c5.js → WhatsApp-7398dd1e.js} +1 -1
- package/build/adapters.js +20 -20
- package/build/atoms.js +50 -50
- package/build/babyGrowth.js +86 -86
- package/build/cache.js +2 -2
- package/build/care.js +18 -18
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/molecules/list/ListProvider.d.ts +1 -1
- package/build/components/molecules/list/type.d.ts +3 -0
- package/build/components/molecules/list/useList.d.ts +5 -2
- package/build/components/molecules/productDetail/generalInfo/GeneralInfo.d.ts +17 -2
- package/build/components/molecules/productDetail/generalInfo/index.styled.d.ts +31 -0
- package/build/components/molecules/productDetail/index.d.ts +1 -0
- package/build/components/molecules/productDetail/modalGallery/GalleryCarousel.d.ts +2 -0
- package/build/components/molecules/productDetail/modalGallery/GalleryThumbnails.d.ts +6 -0
- package/build/components/molecules/productDetail/modalGallery/GalleryTitle.d.ts +6 -0
- package/build/components/molecules/productDetail/modalGallery/ModalGalleryContent.d.ts +2 -0
- package/build/components/molecules/productDetail/modalGallery/ModalGalleryProvider.d.ts +3 -0
- package/build/components/molecules/productDetail/modalGallery/context.d.ts +4 -0
- package/build/components/molecules/productDetail/modalGallery/index.d.ts +7 -0
- package/build/components/molecules/productDetail/modalGallery/index.styled.d.ts +51 -0
- package/build/components/molecules/productDetail/modalGallery/type.d.ts +38 -0
- package/build/components/molecules/productDetail/modalGallery/useModalGallery.d.ts +9 -0
- package/build/components.js +107 -104
- package/build/{constants-092a094b.js → constants-19fa7411.js} +1 -1
- package/build/constants.js +3 -3
- package/build/constantsDomainLocales.js +1 -1
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-275b972a.js → core-fca89933.js} +1 -1
- package/build/{dataTransform-f6230995.js → dataTransform-900105a4.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-71920f9a.js → editor-3099ef17.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/embeddedHeathToolCards_bmi_bmi.js +27 -27
- package/build/embeddedHeathToolCards_bmrBmr.js +27 -27
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/{InputDate-3bcac7da.js → InputDate-b7985c8f.js} +5 -5
- package/build/esm/{LastPeriod-255c1963.js → LastPeriod-2dc53fc4.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-96fab749.js → MobileBottomNavigationIcon-851ce188.js} +3 -3
- package/build/esm/{Spinner-a128c345.js → Spinner-d10c2178.js} +1 -1
- package/build/esm/{WhatsApp-b9580db9.js → WhatsApp-408cf42b.js} +1 -1
- package/build/esm/adapters.js +20 -20
- package/build/esm/atoms.js +50 -50
- package/build/esm/babyGrowth.js +86 -86
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +18 -18
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components/molecules/list/ListProvider.d.ts +1 -1
- package/build/esm/components/molecules/list/type.d.ts +3 -0
- package/build/esm/components/molecules/list/useList.d.ts +5 -2
- package/build/esm/components/molecules/productDetail/generalInfo/GeneralInfo.d.ts +17 -2
- package/build/esm/components/molecules/productDetail/generalInfo/index.styled.d.ts +31 -0
- package/build/esm/components/molecules/productDetail/index.d.ts +1 -0
- package/build/esm/components/molecules/productDetail/modalGallery/GalleryCarousel.d.ts +2 -0
- package/build/esm/components/molecules/productDetail/modalGallery/GalleryThumbnails.d.ts +6 -0
- package/build/esm/components/molecules/productDetail/modalGallery/GalleryTitle.d.ts +6 -0
- package/build/esm/components/molecules/productDetail/modalGallery/ModalGalleryContent.d.ts +2 -0
- package/build/esm/components/molecules/productDetail/modalGallery/ModalGalleryProvider.d.ts +3 -0
- package/build/esm/components/molecules/productDetail/modalGallery/context.d.ts +4 -0
- package/build/esm/components/molecules/productDetail/modalGallery/index.d.ts +7 -0
- package/build/esm/components/molecules/productDetail/modalGallery/index.styled.d.ts +51 -0
- package/build/esm/components/molecules/productDetail/modalGallery/type.d.ts +38 -0
- package/build/esm/components/molecules/productDetail/modalGallery/useModalGallery.d.ts +9 -0
- package/build/esm/components.js +104 -104
- package/build/esm/{constants-c921e4e9.js → constants-279bb850.js} +1 -1
- package/build/esm/constants.js +3 -3
- package/build/esm/constantsDomainLocales.js +1 -1
- package/build/esm/constantsRiskScreener.js +2 -2
- package/build/esm/constantsSite.js +2 -2
- package/build/esm/{core-210535dc.js → core-aec56324.js} +1 -1
- package/build/esm/{dataTransform-39c36fce.js → dataTransform-cfcef1a0.js} +1 -1
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-770fd0ca.js → editor-b88faf81.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/esm/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +27 -27
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +27 -27
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/footer.js +22 -22
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-57e9fcee.js → healthTools-eb315cdb.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +20 -20
- package/build/esm/healthToolsForm.js +35 -35
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-26899a76.js → index-00051f71.js} +11 -11
- package/build/esm/{index-cf543620.js → index-03c4a131.js} +2 -2
- package/build/esm/{index-0cc8af30.js → index-049a3e45.js} +7 -7
- package/build/esm/{index-db34e5c4.js → index-053864dc.js} +7 -7
- package/build/esm/{index-bae79f7e.js → index-0783d1e6.js} +17 -17
- package/build/esm/{index-a9b01bfd.js → index-096e6319.js} +2 -2
- package/build/esm/{index-8e2cee8d.js → index-0a592a5d.js} +4 -4
- package/build/esm/{index-14a92066.js → index-0b05de86.js} +9 -9
- package/build/esm/{index-77f9649d.js → index-0e81107f.js} +2 -2
- package/build/esm/{index-abd28b8a.js → index-10e886ab.js} +1 -1
- package/build/esm/{index-dd4b69dc.js → index-11d191c0.js} +3 -3
- package/build/esm/{index-55340ddb.js → index-1333f992.js} +3 -3
- package/build/esm/{index-01f1e3bc.js → index-155bfe60.js} +517 -39
- package/build/esm/{index-b7c4b6fd.js → index-16bfc963.js} +1 -1
- package/build/esm/{index-b92a6dee.js → index-1ce8a64d.js} +3 -3
- package/build/esm/{index-30b5c155.js → index-24a93abf.js} +14 -14
- package/build/esm/{index-aad9135a.js → index-254048e4.js} +2 -2
- package/build/esm/{index-1794d957.js → index-258f0325.js} +2 -2
- package/build/esm/{index-60c34756.js → index-2799e92c.js} +1 -1
- package/build/esm/{index-2081a79a.js → index-2f56dab3.js} +18 -18
- package/build/esm/{index-e6da1de2.js → index-3591f651.js} +3 -3
- package/build/esm/{index-3b60db69.js → index-35d68630.js} +32 -32
- package/build/esm/{index-e9e744cd.js → index-375d6767.js} +14 -14
- package/build/esm/{index-78ddd518.js → index-3c674a3d.js} +10 -10
- package/build/esm/{index-93b22d82.js → index-41f86682.js} +16 -16
- package/build/esm/{index-ada0ea4d.js → index-5229bd0a.js} +1 -1
- package/build/esm/{index-7d44c495.js → index-526270bc.js} +6 -6
- package/build/esm/{index-c789fbd6.js → index-533faa37.js} +1 -1
- package/build/esm/{index-e4e50e2a.js → index-54058b12.js} +2 -2
- package/build/esm/{index-5a1286f9.js → index-540df940.js} +6 -6
- package/build/esm/{index-845a806a.js → index-54b75124.js} +3 -3
- package/build/esm/{index-7aedbf1b.js → index-5b8fe088.js} +8 -8
- package/build/esm/{index-260bb615.js → index-5d12089c.js} +16 -16
- package/build/esm/{index-ee297f1b.js → index-5e717db0.js} +1 -1
- package/build/esm/{index-daf988fc.js → index-639a8aaa.js} +2 -2
- package/build/esm/{index-526f9b4c.js → index-6cee8b00.js} +21 -21
- package/build/esm/{index-f4cfa393.js → index-6d684a3f.js} +3 -3
- package/build/esm/{index-3beb3a66.js → index-6e2b7b40.js} +2 -2
- package/build/esm/{index-1efce269.js → index-6ef87d4a.js} +2 -2
- package/build/esm/{index-7a75ed86.js → index-72745712.js} +2 -2
- package/build/esm/{index-ad3d163c.js → index-770ecdb6.js} +25 -25
- package/build/esm/{index-8ce4b868.js → index-7de71b88.js} +6 -6
- package/build/esm/{index-b21833b7.js → index-7df8063e.js} +6 -6
- package/build/esm/{index-9bb674d4.js → index-7eb31496.js} +30 -30
- package/build/esm/{index-64405ae9.js → index-8391e9c6.js} +14 -14
- package/build/esm/{index-d1f910f8.js → index-8ac2f866.js} +2 -2
- package/build/esm/{index-6668f0bb.js → index-8ba06146.js} +2 -2
- package/build/esm/{index-c329de11.js → index-8ee0e3c9.js} +4 -4
- package/build/esm/{index-7fd14ad5.js → index-935abc48.js} +15 -16
- package/build/esm/{index-d1f1934d.js → index-9bce48f0.js} +2 -2
- package/build/esm/{index-a110d74d.js → index-a905fa2d.js} +21 -21
- package/build/esm/{index-8a69c516.js → index-ac4ae686.js} +16 -16
- package/build/esm/{index-0e9cce24.js → index-ae72f00e.js} +22 -22
- package/build/esm/{index-cb736573.js → index-aeee6382.js} +13 -13
- package/build/esm/{index-85e13974.js → index-bbb2fa59.js} +3 -3
- package/build/esm/{index-c99d7c3b.js → index-c5938667.js} +5 -5
- package/build/esm/{index-d0cdd798.js → index-cbed13ba.js} +2 -2
- package/build/esm/{index-523c994c.js → index-cbed19a5.js} +18 -18
- package/build/esm/{index-32cfe072.js → index-d06736db.js} +5 -5
- package/build/esm/{index-9b41fd2e.js → index-d6b7210e.js} +19 -19
- package/build/esm/{index-b595549c.js → index-d783cfe6.js} +32 -32
- package/build/esm/{index-f17c1210.js → index-d7a7b7ea.js} +16 -16
- package/build/esm/{index-99b321ef.js → index-d7e91e70.js} +2 -2
- package/build/esm/{index-880a8911.js → index-dfa05053.js} +1 -1
- package/build/esm/{index-a0bcbe6a.js → index-e1b0a615.js} +13 -13
- package/build/esm/{index-269b0fd2.js → index-e97a9574.js} +3 -3
- package/build/esm/{index-4d21425c.js → index-eb0f142f.js} +2 -2
- package/build/esm/{index-b64841a5.js → index-f0fd3243.js} +2 -2
- package/build/esm/{index-bcbf14e8.js → index-f200f5a7.js} +15 -15
- package/build/esm/{index-c92587d5.js → index-f38fbade.js} +3 -3
- package/build/esm/{index-fd7aa2f8.js → index-f421b3cb.js} +9 -9
- package/build/esm/{index-e351d8f0.js → index-f96928af.js} +15 -15
- package/build/esm/index.js +124 -124
- package/build/esm/{labelSorting-61c62bfd.js → labelSorting-8f420b9b.js} +4 -4
- package/build/esm/lead.js +35 -35
- package/build/esm/{logoIcon-42ba190e.js → logoIcon-f3c24991.js} +2 -2
- package/build/esm/mantine.js +27 -27
- package/build/esm/misc.js +19 -19
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +79 -78
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +17 -17
- package/build/esm/navigation.js +47 -47
- package/build/esm/navigationLogoutPopup.js +11 -11
- package/build/esm/navigationProfileButton.js +27 -27
- package/build/esm/onboardingV2.js +30 -30
- package/build/esm/organisms.js +57 -57
- package/build/esm/{post-074bc746.js → post-ea9f662b.js} +2 -2
- package/build/esm/profileNavigation.js +20 -20
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +23 -23
- package/build/esm/ssoV2.js +31 -31
- package/build/esm/{store-03a17277.js → store-9daf5053.js} +3 -3
- package/build/esm/subot.js +40 -40
- package/build/esm/surveyOrPremiumBanner.js +34 -34
- package/build/esm/surveyQuestionCard.js +11 -11
- package/build/esm/{surveyThankyouCard-f56cda32.js → surveyThankyouCard-7cab4ddc.js} +5 -5
- package/build/esm/together.js +57 -57
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +31 -31
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +52 -52
- package/build/esm/togetherMoleculesCardAuthor.js +29 -29
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +40 -40
- package/build/esm/togetherOrganisms.js +51 -51
- package/build/esm/togetherRichTextEditor.js +18 -18
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{translationsProvider-9abe2ea5.js → translationsProvider-dfebf40d.js} +1 -1
- package/build/esm/{treePopoverMenu-7af326a6.js → treePopoverMenu-c04c5922.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useHealthToolCache-fc75e31d.js → useHealthToolCache-7250d9ce.js} +1 -1
- package/build/esm/{usePhoneValidator-7a3555ac.js → usePhoneValidator-dcd969e0.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-2eb6ff18.js → usePlacesAutocomplete-1479bc56.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-4dbead70.js → utils-21cf7c8f.js} +2 -2
- package/build/esm/{utils-77edd60e.js → utils-8efe4b42.js} +2 -2
- package/build/esm/{utils-aac824de.js → utils-b140555b.js} +5 -5
- package/build/esm/{utils-832ec2d2.js → utils-c910d8a5.js} +3 -3
- package/build/esm/vaccination.js +22 -22
- package/build/footer.js +22 -22
- package/build/gAssets.js +2 -2
- package/build/{healthTools-b108f22d.js → healthTools-5f5eb940.js} +1 -1
- package/build/healthToolsCardWrapper.js +20 -20
- package/build/healthToolsForm.js +35 -35
- package/build/hooks.js +13 -13
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-51161bde.js → index-0003cc3c.js} +2 -2
- package/build/{index-21631abb.js → index-047a9f04.js} +3 -3
- package/build/{index-3440d3d6.js → index-0743b09c.js} +2 -2
- package/build/{index-7223368d.js → index-08bd4f4e.js} +2 -2
- package/build/{index-e8b6202b.js → index-0fb63e9d.js} +2 -2
- package/build/{index-19d02253.js → index-13b3926c.js} +18 -18
- package/build/{index-79544fc5.js → index-14010b31.js} +16 -16
- package/build/{index-1d68a820.js → index-15a38c51.js} +1 -1
- package/build/{index-d0d1213a.js → index-18a21c60.js} +18 -18
- package/build/{index-c8cf00a7.js → index-18e53bb8.js} +14 -14
- package/build/{index-f9dfc14c.js → index-19e180ee.js} +1 -1
- package/build/{index-c5af29fd.js → index-1aad4fa2.js} +2 -2
- package/build/{index-341effc4.js → index-1dde839c.js} +9 -9
- package/build/{index-b6bf7a45.js → index-21bbfd7e.js} +15 -15
- package/build/{index-8715b934.js → index-404260bb.js} +19 -19
- package/build/{index-341fc2a3.js → index-437795ed.js} +2 -2
- package/build/{index-b80f1b64.js → index-45547093.js} +21 -21
- package/build/{index-684152f8.js → index-47780aae.js} +16 -16
- package/build/{index-1240e733.js → index-47efd5e7.js} +13 -13
- package/build/{index-e857b364.js → index-4b579926.js} +25 -25
- package/build/{index-3e3c4e5c.js → index-52447c5c.js} +2 -2
- package/build/{index-afe5b4d7.js → index-52b9b07f.js} +6 -6
- package/build/{index-38f73ff6.js → index-554cfa90.js} +2 -2
- package/build/{index-cbb9ecb9.js → index-58f1900c.js} +3 -3
- package/build/{index-c2e2679b.js → index-59274327.js} +2 -2
- package/build/{index-1af808e5.js → index-5d82132c.js} +22 -22
- package/build/{index-c8adef99.js → index-6007e099.js} +3 -3
- package/build/{index-a426ea14.js → index-61f7def2.js} +3 -3
- package/build/{index-93151a6e.js → index-6b924a8a.js} +3 -3
- package/build/{index-f845ec6e.js → index-6eab5dcc.js} +32 -32
- package/build/{index-f848ee26.js → index-70149680.js} +1 -1
- package/build/{index-05dd4e43.js → index-76b426ca.js} +3 -3
- package/build/{index-5ee8f08f.js → index-77b48c11.js} +16 -16
- package/build/{index-08a9bfca.js → index-7bafc7de.js} +6 -6
- package/build/{index-bfd8f23b.js → index-7de04606.js} +3 -3
- package/build/{index-4fdf82be.js → index-7ffa1d00.js} +2 -2
- package/build/{index-043e6207.js → index-82c86e1a.js} +4 -4
- package/build/{index-c14c419b.js → index-8361eb62.js} +2 -2
- package/build/{index-05a83b3f.js → index-83f0207d.js} +7 -7
- package/build/{index-689496bd.js → index-86385135.js} +2 -2
- package/build/{index-e90bbe00.js → index-8ec4faef.js} +14 -14
- package/build/{index-65bc602a.js → index-99227221.js} +8 -8
- package/build/{index-34dc8100.js → index-9b774e1f.js} +11 -11
- package/build/{index-9223c638.js → index-9c723eb0.js} +7 -7
- package/build/{index-6c650ac4.js → index-9c751136.js} +1 -1
- package/build/{index-998449e8.js → index-9cb1ee8f.js} +5 -5
- package/build/{index-248ff166.js → index-9dc8eff2.js} +8 -8
- package/build/{index-5e5b1d78.js → index-9e0f2645.js} +14 -14
- package/build/{index-d236d045.js → index-a82e7421.js} +518 -37
- package/build/{index-3c8a2741.js → index-ae72da9e.js} +16 -16
- package/build/{index-a24b8ff4.js → index-afe657c9.js} +1 -1
- package/build/{index-b37b7583.js → index-b7605380.js} +1 -1
- package/build/{index-945b70e4.js → index-bce29b15.js} +30 -30
- package/build/{index-7dca6243.js → index-bdb0e5f2.js} +13 -13
- package/build/{index-5c4d582b.js → index-c0ee35c6.js} +6 -6
- package/build/{index-8474f1a3.js → index-c7471177.js} +2 -2
- package/build/{index-03e1d5fd.js → index-c7954cd4.js} +2 -2
- package/build/{index-0cb74f84.js → index-c996e017.js} +4 -4
- package/build/{index-b07d38fb.js → index-c99be78a.js} +5 -5
- package/build/{index-51229c6c.js → index-d5da9573.js} +2 -2
- package/build/{index-6b3023a4.js → index-dc81f143.js} +1 -1
- package/build/{index-8fc85234.js → index-dd679c9c.js} +2 -2
- package/build/{index-fef96902.js → index-df7b43db.js} +3 -3
- package/build/{index-c70e131d.js → index-e01712cd.js} +10 -10
- package/build/{index-2fba47d1.js → index-e4dff9d8.js} +6 -6
- package/build/{index-500a4407.js → index-e7735a49.js} +15 -15
- package/build/{index-c71b11a8.js → index-f1c4fee9.js} +21 -21
- package/build/{index-43eb9a8f.js → index-f7d3920f.js} +2 -2
- package/build/{index-97074c90.js → index-f85b6020.js} +3 -3
- package/build/{index-f2f9228e.js → index-faca9309.js} +32 -32
- package/build/{index-789d20a1.js → index-fbeaa15c.js} +15 -16
- package/build/{index-8fd14974.js → index-feb66319.js} +17 -17
- package/build/index.js +127 -124
- package/build/{labelSorting-6ef8aae1.js → labelSorting-b35b1085.js} +4 -4
- package/build/lead.js +35 -35
- package/build/{logoIcon-6222068e.js → logoIcon-b512ba8f.js} +2 -2
- package/build/mantine.js +25 -25
- package/build/misc.js +19 -19
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +82 -78
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +17 -17
- package/build/navigation.js +47 -47
- package/build/navigationLogoutPopup.js +11 -11
- package/build/navigationProfileButton.js +27 -27
- package/build/onboardingV2.js +29 -29
- package/build/organisms.js +57 -57
- package/build/{post-2bab3150.js → post-de11079e.js} +2 -2
- package/build/profileNavigation.js +20 -20
- package/build/progressBar.js +1 -1
- package/build/pwg.js +23 -23
- package/build/ssoV2.js +29 -29
- package/build/{store-1c7baafb.js → store-4f508f1d.js} +3 -3
- package/build/subot.js +39 -39
- package/build/surveyOrPremiumBanner.js +34 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-7ecf7251.js → surveyThankyouCard-0e8f0d9b.js} +5 -5
- package/build/together.js +57 -57
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +31 -31
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +52 -52
- package/build/togetherMoleculesCardAuthor.js +29 -29
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +40 -40
- package/build/togetherOrganisms.js +51 -51
- package/build/togetherRichTextEditor.js +18 -18
- package/build/togetherShareBox.js +10 -10
- package/build/{translationsProvider-679e9496.js → translationsProvider-9fe7f4f3.js} +1 -1
- package/build/{treePopoverMenu-1031e15b.js → treePopoverMenu-7cca1ad9.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useHealthToolCache-52ff01c1.js → useHealthToolCache-73b767a3.js} +1 -1
- package/build/{usePhoneValidator-4e7cdd0f.js → usePhoneValidator-648160a0.js} +5 -5
- package/build/{usePlacesAutocomplete-107b82ca.js → usePlacesAutocomplete-87b5f3a5.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-2ea6b94b.js → utils-44d56050.js} +2 -2
- package/build/{utils-948a0765.js → utils-482f267b.js} +5 -5
- package/build/{utils-95a57727.js → utils-98f90b59.js} +3 -3
- package/build/{utils-fb3e27dd.js → utils-db7743c7.js} +2 -2
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-3659be4e.js → BMI_BOYS.percentile.monthly-8eeaa18d.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-d297fb3d.js → BMI_BOYS.percentile.weekly-8501badf.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-9b6c0bd2.js → BMI_BOYS.percentile.yearly-10f621b0.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-24227903.js → BMI_BOYS.zscore.monthly-272a5f25.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-73f92a39.js → BMI_BOYS.zscore.weekly-382b1f9a.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-2c2562d0.js → BMI_BOYS.zscore.yearly-8d5df99f.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-c39c9ac1.js → BMI_GIRLS.percentile.monthly-ed941b3a.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-874e7209.js → BMI_GIRLS.percentile.weekly-95bc5dc9.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-8621dd79.js → BMI_GIRLS.percentile.yearly-e5b4ad9b.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-a133a83d.js → BMI_GIRLS.zscore.monthly-49854b3b.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-4143a47a.js → BMI_GIRLS.zscore.weekly-8c1784f0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-f60d08b1.js → BMI_GIRLS.zscore.yearly-5f2e32b6.js} +0 -0
- /package/build/{ChevronDown-e42c76b2.js → ChevronDown-293dcf29.js} +0 -0
- /package/build/{Close-151ad795.js → Close-9cf24a74.js} +0 -0
- /package/build/{Google-de53aee8.js → Google-40c4aa73.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-8b4e1f59.js → HEAD CIRCUM_BOYS.percentile.monthly-a9b19893.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-a1ff258e.js → HEAD CIRCUM_BOYS.percentile.weekly-f7a153d1.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-e394ebe7.js → HEAD CIRCUM_BOYS.percentile.yearly-36656d23.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-81af9c79.js → HEAD CIRCUM_BOYS.zscore.monthly-cfae1e19.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-378fef54.js → HEAD CIRCUM_BOYS.zscore.weekly-4c3fbdec.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-daab842f.js → HEAD CIRCUM_BOYS.zscore.yearly-a851eafc.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-01a77dbc.js → HEAD CIRCUM_GIRLS.percentile.monthly-9569c9cb.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-936c6051.js → HEAD CIRCUM_GIRLS.percentile.weekly-751e7a50.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-c9db0c0e.js → HEAD CIRCUM_GIRLS.percentile.yearly-719b4375.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-20d71b2b.js → HEAD CIRCUM_GIRLS.zscore.monthly-09584b8a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-dfcf612e.js → HEAD CIRCUM_GIRLS.zscore.weekly-c263b2db.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-ee3b7614.js → HEAD CIRCUM_GIRLS.zscore.yearly-0e51f6e1.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-1d1a7eda.js → HEIGHT_BOYS.percentile.monthly-91c5fbf5.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-28a5d3fa.js → HEIGHT_BOYS.percentile.weekly-0cb7639e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-e588a4f2.js → HEIGHT_BOYS.percentile.yearly-d7731e59.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-c3766b15.js → HEIGHT_BOYS.zscore.monthly-cf4f7264.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-5ef5898e.js → HEIGHT_BOYS.zscore.weekly-c13de44b.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-a80e8f78.js → HEIGHT_BOYS.zscore.yearly-7dc7710b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-818c8e9c.js → HEIGHT_GIRLS.percentile.monthly-43ee54d4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-ff262ca2.js → HEIGHT_GIRLS.percentile.weekly-09e0edb1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-11562d05.js → HEIGHT_GIRLS.percentile.yearly-da4d9c28.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-983091ff.js → HEIGHT_GIRLS.zscore.monthly-0f1d2b8a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-c079dfe1.js → HEIGHT_GIRLS.zscore.weekly-173c7c03.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-7c9642fc.js → HEIGHT_GIRLS.zscore.yearly-ff8f50ff.js} +0 -0
- /package/build/{Locale-a4854278.js → Locale-68bec006.js} +0 -0
- /package/build/{Visible-8f0153e1.js → Visible-59e312cf.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-5d077a0e.js → WEIGHT_BOYS.percentile.monthly-98613224.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-c9cd0a05.js → WEIGHT_BOYS.percentile.weekly-0121dee8.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-bb10806f.js → WEIGHT_BOYS.percentile.yearly-456a8a21.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-b263c141.js → WEIGHT_BOYS.zscore.monthly-e28faaff.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-17a98532.js → WEIGHT_BOYS.zscore.weekly-1bc43569.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-9328deeb.js → WEIGHT_BOYS.zscore.yearly-4689056c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-12d5e0a2.js → WEIGHT_GIRLS.percentile.monthly-3c2b45ab.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-b1858139.js → WEIGHT_GIRLS.percentile.weekly-68f6e2cc.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-dd974cf3.js → WEIGHT_GIRLS.percentile.yearly-fdc36dea.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-b795d5ce.js → WEIGHT_GIRLS.zscore.monthly-63c19f76.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-bf517a99.js → WEIGHT_GIRLS.zscore.weekly-a93dc7ef.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-09dfa71b.js → WEIGHT_GIRLS.zscore.yearly-0943829f.js} +0 -0
- /package/build/{ageGenerate-e7469430.js → ageGenerate-5f4d58f6.js} +0 -0
- /package/build/{animation-1654973f.js → animation-61b86031.js} +0 -0
- /package/build/{constants-e2270644.js → constants-a875bdcd.js} +0 -0
- /package/build/{constants-04b49430.js → constants-d8ede4db.js} +0 -0
- /package/build/{constants-63e847d3.js → constants-f6d5f3e1.js} +0 -0
- /package/build/{context-60530f29.js → context-02826e87.js} +0 -0
- /package/build/{dataTransform-41b9e4ee.js → dataTransform-bcfb1e95.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-48c09795.js → BMI_BOYS.percentile.monthly-c643dd49.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-e5882dd2.js → BMI_BOYS.percentile.weekly-8ac59fe5.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-14a0bd3e.js → BMI_BOYS.percentile.yearly-576269e0.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-b0466654.js → BMI_BOYS.zscore.monthly-ebc88c6e.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-9323135e.js → BMI_BOYS.zscore.weekly-00a77aab.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-7bf32f30.js → BMI_BOYS.zscore.yearly-60be9cb4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-32fe20bb.js → BMI_GIRLS.percentile.monthly-ab1ac3db.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-5cf1a405.js → BMI_GIRLS.percentile.weekly-4e7a5b6b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-50dccaad.js → BMI_GIRLS.percentile.yearly-5139e77a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-787a9ffe.js → BMI_GIRLS.zscore.monthly-2f671a7c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-20f11664.js → BMI_GIRLS.zscore.weekly-62929a42.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-1e4bebfc.js → BMI_GIRLS.zscore.yearly-8fd8d2c9.js} +0 -0
- /package/build/esm/{ChevronDown-ac5be73d.js → ChevronDown-2aaa4536.js} +0 -0
- /package/build/esm/{Close-824e6681.js → Close-c2c60fd5.js} +0 -0
- /package/build/esm/{Google-99d93a54.js → Google-b413adc9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-89f9b61d.js → HEAD CIRCUM_BOYS.percentile.monthly-133751b0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-46a0f886.js → HEAD CIRCUM_BOYS.percentile.weekly-21688f6b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-6d89af84.js → HEAD CIRCUM_BOYS.percentile.yearly-656dd326.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-15c50cde.js → HEAD CIRCUM_BOYS.zscore.monthly-2cad9b02.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-96ed05d6.js → HEAD CIRCUM_BOYS.zscore.weekly-15bff92c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-8e280ff9.js → HEAD CIRCUM_BOYS.zscore.yearly-e9dd3ed2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-e32713b2.js → HEAD CIRCUM_GIRLS.percentile.monthly-4b227da7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-e4a68098.js → HEAD CIRCUM_GIRLS.percentile.weekly-0a9a69e8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-cff0a38d.js → HEAD CIRCUM_GIRLS.percentile.yearly-8a84ed89.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-d95293b7.js → HEAD CIRCUM_GIRLS.zscore.monthly-e576a37b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-152c71e7.js → HEAD CIRCUM_GIRLS.zscore.weekly-93ac7df8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-e59261f8.js → HEAD CIRCUM_GIRLS.zscore.yearly-66e40ddd.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-0594a453.js → HEIGHT_BOYS.percentile.monthly-17451065.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-8e824f64.js → HEIGHT_BOYS.percentile.weekly-0c323798.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-dc4b934b.js → HEIGHT_BOYS.percentile.yearly-26f7d525.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-830cc0aa.js → HEIGHT_BOYS.zscore.monthly-f77c7fb0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-14ce9c4a.js → HEIGHT_BOYS.zscore.weekly-3af3a5e2.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-eb9a70bb.js → HEIGHT_BOYS.zscore.yearly-a7f7b863.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-bb64f2b3.js → HEIGHT_GIRLS.percentile.monthly-38cffd6c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-f8b3e848.js → HEIGHT_GIRLS.percentile.weekly-a3d7fdad.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-36370bf6.js → HEIGHT_GIRLS.percentile.yearly-bef15cf3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-988aea4a.js → HEIGHT_GIRLS.zscore.monthly-6745aea0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-127fe806.js → HEIGHT_GIRLS.zscore.weekly-14d31d1c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-a8540b8c.js → HEIGHT_GIRLS.zscore.yearly-918ffffc.js} +0 -0
- /package/build/esm/{Locale-c0ccb529.js → Locale-0ff0c442.js} +0 -0
- /package/build/esm/{Visible-b7896590.js → Visible-1116ec63.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-40fa039d.js → WEIGHT_BOYS.percentile.monthly-7293196c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-c4b6b112.js → WEIGHT_BOYS.percentile.weekly-c1ff5416.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-33a35994.js → WEIGHT_BOYS.percentile.yearly-c01b587d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-765a028f.js → WEIGHT_BOYS.zscore.monthly-071cc9ed.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-0bb5d316.js → WEIGHT_BOYS.zscore.weekly-f2530032.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-f1291ad0.js → WEIGHT_BOYS.zscore.yearly-e1b54303.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-ab18ccfc.js → WEIGHT_GIRLS.percentile.monthly-393362cd.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-8f2a7cd7.js → WEIGHT_GIRLS.percentile.weekly-f95f1d6c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-ffc39958.js → WEIGHT_GIRLS.percentile.yearly-25e8f790.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-e3267ce3.js → WEIGHT_GIRLS.zscore.monthly-a5de7863.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-cb86d6c9.js → WEIGHT_GIRLS.zscore.weekly-2204fcaa.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-933389b1.js → WEIGHT_GIRLS.zscore.yearly-a01ecadc.js} +0 -0
- /package/build/esm/{ageGenerate-f786b0de.js → ageGenerate-f1aadc43.js} +0 -0
- /package/build/esm/{animation-88bb70fe.js → animation-c7681a8a.js} +0 -0
- /package/build/esm/{constants-b6e349c3.js → constants-02b41fc9.js} +0 -0
- /package/build/esm/{constants-4e5e59b6.js → constants-1ed05d9f.js} +0 -0
- /package/build/esm/{constants-37409c31.js → constants-cd76ca09.js} +0 -0
- /package/build/esm/{context-ccc8129d.js → context-79c904a5.js} +0 -0
- /package/build/esm/{dataTransform-627d92c6.js → dataTransform-65c74486.js} +0 -0
- /package/build/esm/{index-c66a920c.js → index-4e57156b.js} +0 -0
- /package/build/esm/{index-bb4ccebc.js → index-5f5af6cd.js} +0 -0
- /package/build/esm/{index-1b2a663b.js → index-6f2f322b.js} +0 -0
- /package/build/esm/{index-db8e8e7b.js → index-88c03ae9.js} +0 -0
- /package/build/esm/{index-9b31987c.js → index-94bafefe.js} +0 -0
- /package/build/esm/{index-7963fa7d.js → index-bae14b22.js} +0 -0
- /package/build/esm/{index-84620b42.js → index-bea83f5c.js} +0 -0
- /package/build/esm/{index-d8f59b87.js → index-de7197f0.js} +0 -0
- /package/build/esm/{index-a8abad6b.js → index-e97623f3.js} +0 -0
- /package/build/esm/{index.styles-2575877c.js → index.styles-aec3504c.js} +0 -0
- /package/build/esm/{localizeNumberFormat-5480968d.js → localizeNumberFormat-ee83ee7d.js} +0 -0
- /package/build/esm/{normalizeLink-8b659745.js → normalizeLink-c732fd1f.js} +0 -0
- /package/build/esm/{number-eb9ba550.js → number-98c478e4.js} +0 -0
- /package/build/esm/{paths-1a9f7c44.js → paths-d7cb9447.js} +0 -0
- /package/build/esm/{shared-a65f5c3c.js → shared-0e5ab93c.js} +0 -0
- /package/build/esm/{translationsContext-eaa23cd9.js → translationsContext-8d12d201.js} +0 -0
- /package/build/esm/{tslib.es6-b5ec78ee.js → tslib.es6-3951d926.js} +0 -0
- /package/build/esm/{types-ebfc69f4.js → types-0286d271.js} +0 -0
- /package/build/esm/{types-51d0c587.js → types-fc5ab2db.js} +0 -0
- /package/build/esm/{useIsInit-2d45731e.js → useIsInit-c9515b45.js} +0 -0
- /package/build/esm/{useOutsideClick-795bffea.js → useOutsideClick-414faeb9.js} +0 -0
- /package/build/esm/{useScrollbarSize-e9438c23.js → useScrollbarSize-43b79dc2.js} +0 -0
- /package/build/esm/{useUniqueId-b23018c5.js → useUniqueId-6294a5f6.js} +0 -0
- /package/build/esm/{utils-c5a1f614.js → utils-1666f74c.js} +0 -0
- /package/build/esm/{utils-966390d8.js → utils-d672c4cd.js} +0 -0
- /package/build/{index-9cfb5787.js → index-0d01c536.js} +0 -0
- /package/build/{index-2171ad3c.js → index-1fc8efef.js} +0 -0
- /package/build/{index-cc33fc35.js → index-51d35edc.js} +0 -0
- /package/build/{index-25007710.js → index-64eabc62.js} +0 -0
- /package/build/{index-ebaf2c19.js → index-6f691efd.js} +0 -0
- /package/build/{index-4fdb3ded.js → index-94fb8419.js} +0 -0
- /package/build/{index-cd6cc91e.js → index-c0082c53.js} +0 -0
- /package/build/{index-680a545b.js → index-f56ad53b.js} +0 -0
- /package/build/{index-93755791.js → index-fc5d7143.js} +0 -0
- /package/build/{index.styles-2fc37e7a.js → index.styles-38f5439f.js} +0 -0
- /package/build/{localizeNumberFormat-151dbf6d.js → localizeNumberFormat-ecfc6451.js} +0 -0
- /package/build/{normalizeLink-c4c5a609.js → normalizeLink-08081fb0.js} +0 -0
- /package/build/{number-fe162539.js → number-e0b8db9c.js} +0 -0
- /package/build/{paths-1db3c832.js → paths-005ff82d.js} +0 -0
- /package/build/{shared-13556acc.js → shared-86185726.js} +0 -0
- /package/build/{translationsContext-a5de37cf.js → translationsContext-0eaddf4d.js} +0 -0
- /package/build/{tslib.es6-7c7d06ab.js → tslib.es6-306bd046.js} +0 -0
- /package/build/{types-301f2bef.js → types-20af02f1.js} +0 -0
- /package/build/{types-75c5ac8a.js → types-d9f28a77.js} +0 -0
- /package/build/{useIsInit-dc168dd7.js → useIsInit-68888e0f.js} +0 -0
- /package/build/{useOutsideClick-d0f8fc88.js → useOutsideClick-c3a4a988.js} +0 -0
- /package/build/{useScrollbarSize-f05846fb.js → useScrollbarSize-ac76e44b.js} +0 -0
- /package/build/{useUniqueId-9dcc1d25.js → useUniqueId-e60ceba7.js} +0 -0
- /package/build/{utils-053ed913.js → utils-af957497.js} +0 -0
- /package/build/{utils-65bcd44e.js → utils-e8836774.js} +0 -0
|
@@ -1,54 +1,56 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-3951d926.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default, { useRef, useState, useEffect, useImperativeHandle, useMemo, Fragment, useCallback, forwardRef, memo, createContext, useContext } from 'react';
|
|
4
|
-
import { R as Radio } from './index-
|
|
5
|
-
import { Stack, Group, createStyles, getStylesRef, Box, Badge, rem, Divider, clsx, Button as Button$2, AspectRatio, Grid } from '@mantine/core';
|
|
4
|
+
import { R as Radio, a as Carousel } from './index-0b05de86.js';
|
|
5
|
+
import { Stack, Group, createStyles, getStylesRef, Box, Badge, rem, Divider, clsx, Button as Button$2, AspectRatio, Modal, Grid } from '@mantine/core';
|
|
6
6
|
import '@mantine/dates';
|
|
7
|
-
import { L as LOCALE_SPECS, F as FAVICONS } from './index-
|
|
8
|
-
import './index-
|
|
9
|
-
import { C as CommonGAssets } from './index-
|
|
10
|
-
import './index-
|
|
11
|
-
import { T as Text } from './index-
|
|
12
|
-
import { B as Button$1 } from './index-
|
|
13
|
-
import './index-
|
|
14
|
-
import './index.styles-
|
|
15
|
-
import './translationsContext-
|
|
7
|
+
import { L as LOCALE_SPECS, F as FAVICONS, Z as ZINDEX_SSO } from './index-d7e91e70.js';
|
|
8
|
+
import './index-10e886ab.js';
|
|
9
|
+
import { C as CommonGAssets } from './index-de7197f0.js';
|
|
10
|
+
import './index-5b8fe088.js';
|
|
11
|
+
import { T as Text } from './index-096e6319.js';
|
|
12
|
+
import { B as Button$1 } from './index-54b75124.js';
|
|
13
|
+
import './index-94bafefe.js';
|
|
14
|
+
import './index.styles-aec3504c.js';
|
|
15
|
+
import './translationsContext-8d12d201.js';
|
|
16
16
|
import '@mantine/hooks';
|
|
17
|
-
import { M as MediaQueries } from './utils-
|
|
18
|
-
import './index-
|
|
19
|
-
import { i as isInternalLink } from './index-
|
|
17
|
+
import { M as MediaQueries } from './utils-1666f74c.js';
|
|
18
|
+
import './index-e97a9574.js';
|
|
19
|
+
import { i as isInternalLink } from './index-3c674a3d.js';
|
|
20
20
|
import styled from '@emotion/styled';
|
|
21
21
|
import { theme } from './miscTheme.js';
|
|
22
|
-
import { C as Checkbox, a as PureInput, P as Pagination$1, b as SearchInput, I as ImageWrapV2 } from './index-
|
|
22
|
+
import { C as Checkbox, a as PureInput, P as Pagination$1, b as SearchInput, I as ImageWrapV2 } from './index-935abc48.js';
|
|
23
23
|
import { format, isBefore, startOfMonth, addMonths, subMonths, getDaysInMonth, isToday, isSameDay, isWithinInterval, isAfter, isPast } from 'date-fns';
|
|
24
24
|
import DayPickerInput from 'react-day-picker/DayPickerInput';
|
|
25
|
-
import { L as Logo } from './index-
|
|
25
|
+
import { L as Logo } from './index-526270bc.js';
|
|
26
26
|
import throttle from 'lodash/throttle';
|
|
27
27
|
import parse from 'html-react-parser';
|
|
28
28
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
29
29
|
import { isProduction } from './constantsIsProduction.js';
|
|
30
|
-
import { a as useOutsideClick } from './useOutsideClick-
|
|
30
|
+
import { a as useOutsideClick } from './useOutsideClick-414faeb9.js';
|
|
31
31
|
import enUS from 'date-fns/locale/en-US';
|
|
32
32
|
import id from 'date-fns/locale/id';
|
|
33
33
|
import vi from 'date-fns/locale/vi';
|
|
34
34
|
import zhTW from 'date-fns/locale/zh-TW';
|
|
35
|
-
import { B as Button } from './index-
|
|
36
|
-
import { u as useScreenSize, I as ImageWrap } from './index-
|
|
37
|
-
import { u as useTranslations } from './index-
|
|
35
|
+
import { B as Button } from './index-8ac2f866.js';
|
|
36
|
+
import { u as useScreenSize, I as ImageWrap } from './index-9bce48f0.js';
|
|
37
|
+
import { u as useTranslations } from './index-dfa05053.js';
|
|
38
38
|
import classNames from 'classnames';
|
|
39
|
-
import { D as Dropdown } from './index-
|
|
39
|
+
import { D as Dropdown } from './index-bae14b22.js';
|
|
40
40
|
import { getSocialList } from './miscGetSocialList.js';
|
|
41
|
-
import { I as Input } from './index-
|
|
42
|
-
import { D as Drawer } from './index-
|
|
41
|
+
import { I as Input } from './index-254048e4.js';
|
|
42
|
+
import { D as Drawer } from './index-1ce8a64d.js';
|
|
43
43
|
import { v4 } from 'uuid';
|
|
44
|
-
import { L as LOCALE } from './Locale-
|
|
44
|
+
import { L as LOCALE } from './Locale-0ff0c442.js';
|
|
45
45
|
import { ArrowRight } from '@hhgtech/icons/arrow';
|
|
46
46
|
import { MultiStar, Question } from '@hhgtech/icons/other';
|
|
47
47
|
import Lottie from 'lottie-light-react';
|
|
48
|
-
import { A as ArrowRightBlue } from './index-
|
|
49
|
-
import { L as Loading } from './index-
|
|
48
|
+
import { A as ArrowRightBlue } from './index-6d684a3f.js';
|
|
49
|
+
import { L as Loading } from './index-8ba06146.js';
|
|
50
50
|
import get from 'lodash/get';
|
|
51
51
|
import debounce from 'lodash/debounce';
|
|
52
|
+
import { C as Close } from './Close-c2c60fd5.js';
|
|
53
|
+
import { useAnimationOffsetEffect } from '@mantine/carousel';
|
|
52
54
|
|
|
53
55
|
const StarFull = (_a) => {
|
|
54
56
|
var { color, stroke } = _a, props = __rest(_a, ["color", "stroke"]);
|
|
@@ -4867,10 +4869,10 @@ function Item({ render, }) {
|
|
|
4867
4869
|
|
|
4868
4870
|
const DEFAULT_PAGE_SIZE = 10;
|
|
4869
4871
|
const DEFAULT_DEBOUNCE = 300;
|
|
4870
|
-
function useList({ fetcher, pageSize = DEFAULT_PAGE_SIZE, defaultSearch = '', defaultFilters = {}, debounceSearch = DEFAULT_DEBOUNCE, defaultLoading, }) {
|
|
4871
|
-
const [items, setItems] = useState([]);
|
|
4872
|
-
const [total, setTotal] = useState(0);
|
|
4873
|
-
const [page, setPage] = useState(1);
|
|
4872
|
+
function useList({ fetcher, pageSize = DEFAULT_PAGE_SIZE, defaultSearch = '', defaultFilters = {}, debounceSearch = DEFAULT_DEBOUNCE, defaultLoading, defaultItems, defaultTotal, defaultPage, }) {
|
|
4873
|
+
const [items, setItems] = useState(defaultItems || []);
|
|
4874
|
+
const [total, setTotal] = useState(defaultTotal !== null && defaultTotal !== void 0 ? defaultTotal : 0);
|
|
4875
|
+
const [page, setPage] = useState(defaultPage !== null && defaultPage !== void 0 ? defaultPage : 1);
|
|
4874
4876
|
const [searchSession, setSearchSession] = useState('');
|
|
4875
4877
|
const [search, setSearch] = useState(defaultSearch);
|
|
4876
4878
|
const [loading, setLoading] = useState(defaultLoading);
|
|
@@ -4992,7 +4994,7 @@ function useList({ fetcher, pageSize = DEFAULT_PAGE_SIZE, defaultSearch = '', de
|
|
|
4992
4994
|
};
|
|
4993
4995
|
}
|
|
4994
4996
|
|
|
4995
|
-
function ListProvider({ fetcher, children, defaultFilters, defaultSearch, pageSize, debounceSearch, defaultLoading, }) {
|
|
4997
|
+
function ListProvider({ fetcher, children, defaultFilters, defaultSearch, pageSize, debounceSearch, defaultLoading, defaultItems, defaultTotal, defaultPage, }) {
|
|
4996
4998
|
const listState = useList({
|
|
4997
4999
|
fetcher,
|
|
4998
5000
|
defaultFilters,
|
|
@@ -5000,6 +5002,9 @@ function ListProvider({ fetcher, children, defaultFilters, defaultSearch, pageSi
|
|
|
5000
5002
|
pageSize,
|
|
5001
5003
|
debounceSearch,
|
|
5002
5004
|
defaultLoading,
|
|
5005
|
+
defaultItems,
|
|
5006
|
+
defaultTotal,
|
|
5007
|
+
defaultPage,
|
|
5003
5008
|
});
|
|
5004
5009
|
const value = useMemo(() => (Object.assign({}, listState)), [
|
|
5005
5010
|
listState.items,
|
|
@@ -5301,7 +5306,7 @@ function CardListItem({ title, href, description, logo, defaultImage, LinkCompon
|
|
|
5301
5306
|
React__default.createElement(Text, { size: isMobile ? 'p2' : 'title2', color: 'gray700', weight: "regular", lineClamp: 2, as: as }, description))) : (description),
|
|
5302
5307
|
contentInfo),
|
|
5303
5308
|
React__default.createElement(LinkComponent, { href: href },
|
|
5304
|
-
React__default.createElement(AspectRatio, { ratio: 1,
|
|
5309
|
+
React__default.createElement(AspectRatio, { ratio: 1, className: "logo" },
|
|
5305
5310
|
React__default.createElement(StyledImageWrap, { src: logo || defaultImage, width: isMobile ? 84 : 148, height: isMobile ? 84 : 148, alt: altText || title, backupSrc: defaultImage }))),
|
|
5306
5311
|
children));
|
|
5307
5312
|
}
|
|
@@ -5399,14 +5404,119 @@ const ProductContent = styled.div `
|
|
|
5399
5404
|
flex-direction: column;
|
|
5400
5405
|
gap: 8px;
|
|
5401
5406
|
}
|
|
5407
|
+
`;
|
|
5408
|
+
const ImageCarouselContainer = styled.div `
|
|
5409
|
+
margin-top: 0.75rem;
|
|
5410
|
+
width: 100%;
|
|
5411
|
+
|
|
5412
|
+
${MediaQueries.mbUp} {
|
|
5413
|
+
margin-top: 12px;
|
|
5414
|
+
}
|
|
5415
|
+
`;
|
|
5416
|
+
const StyledImageCarousel = styled(Carousel) `
|
|
5417
|
+
height: 100%;
|
|
5418
|
+
flex: 1;
|
|
5419
|
+
|
|
5420
|
+
.mantine-Carousel-controls {
|
|
5421
|
+
padding-left: 4px;
|
|
5422
|
+
padding-right: 4px;
|
|
5423
|
+
}
|
|
5424
|
+
|
|
5425
|
+
.mantine-Carousel-control {
|
|
5426
|
+
background-color: #fff;
|
|
5427
|
+
border: none;
|
|
5428
|
+
box-shadow: none;
|
|
5429
|
+
padding: 0;
|
|
5430
|
+
align-items: center;
|
|
5431
|
+
justify-content: center;
|
|
5432
|
+
opacity: 1;
|
|
5433
|
+
width: auto;
|
|
5434
|
+
|
|
5435
|
+
&:hover {
|
|
5436
|
+
background-color: #fff;
|
|
5437
|
+
}
|
|
5438
|
+
|
|
5439
|
+
&:active {
|
|
5440
|
+
background-color: #fff;
|
|
5441
|
+
}
|
|
5442
|
+
|
|
5443
|
+
&[data-inactive] {
|
|
5444
|
+
opacity: 0.5;
|
|
5445
|
+
cursor: default;
|
|
5446
|
+
}
|
|
5447
|
+
}
|
|
5448
|
+
|
|
5449
|
+
.mantine-Carousel-indicators {
|
|
5450
|
+
gap: 0.375rem;
|
|
5451
|
+
bottom: 0.5rem;
|
|
5452
|
+
}
|
|
5453
|
+
|
|
5454
|
+
.mantine-Carousel-indicator {
|
|
5455
|
+
width: 5px;
|
|
5456
|
+
height: 5px;
|
|
5457
|
+
border-radius: 50%;
|
|
5458
|
+
background-color: ${theme.colors.gray200};
|
|
5459
|
+
opacity: 1;
|
|
5460
|
+
|
|
5461
|
+
&[data-active] {
|
|
5462
|
+
background-color: ${theme.colors.black};
|
|
5463
|
+
}
|
|
5464
|
+
}
|
|
5465
|
+
`;
|
|
5466
|
+
const CarouselImageItemWrapper = styled.div `
|
|
5467
|
+
width: 76px;
|
|
5468
|
+
height: 76px;
|
|
5469
|
+
border-radius: 0.5rem;
|
|
5470
|
+
cursor: pointer;
|
|
5471
|
+
|
|
5472
|
+
border: 1px solid ${theme.colors.gray300};
|
|
5473
|
+
transition: border-color 0.15s ease;
|
|
5474
|
+
overflow: hidden;
|
|
5475
|
+
|
|
5476
|
+
&:hover {
|
|
5477
|
+
border-color: ${theme.colors.primaryBase};
|
|
5478
|
+
}
|
|
5479
|
+
`;
|
|
5480
|
+
const CarouselImageItemWrapperMobile = styled.div `
|
|
5481
|
+
width: 100%;
|
|
5482
|
+
aspect-ratio: 375/190;
|
|
5483
|
+
border-radius: 0;
|
|
5484
|
+
cursor: pointer;
|
|
5485
|
+
transition: border-color 0.15s ease;
|
|
5486
|
+
overflow: hidden;
|
|
5487
|
+
`;
|
|
5488
|
+
const CarouselImageItem = styled(ImageWrapV2) `
|
|
5489
|
+
background-color: ${theme.colors.neutral50};
|
|
5490
|
+
width: 100%;
|
|
5491
|
+
height: 100%;
|
|
5492
|
+
object-fit: cover;
|
|
5493
|
+
object-position: center;
|
|
5402
5494
|
`;
|
|
5403
5495
|
|
|
5404
|
-
function GeneralInfo({ generalInfo, backupSrc, className, contentClassName, bannerProps = {}, imagesSelect, children, isMobile = false, }) {
|
|
5496
|
+
function GeneralInfo({ generalInfo, backupSrc, className, contentClassName, bannerProps = {}, imagesSelect, children, isMobile: isMobileProp = false, imageCarousel = [], carouselSlotProps, onCarouselImageClick, }) {
|
|
5497
|
+
const { isMobile: isMobileFromHook } = useScreenSize();
|
|
5498
|
+
// Use isMobile prop first, fallback to breakpoint detection (secondary priority)
|
|
5499
|
+
const isMobile = isMobileProp !== null && isMobileProp !== void 0 ? isMobileProp : isMobileFromHook;
|
|
5500
|
+
const showCarousel = imageCarousel.length > 1;
|
|
5501
|
+
const showCarouselControls = imageCarousel.length > 4 && !isMobile;
|
|
5502
|
+
const showCarouselIndicators = imageCarousel.length > 1 && isMobile;
|
|
5503
|
+
const { imageCarousel: imageCarouselSlotProps, slide: carouselSlideSlotProps, imageItemWrapper: carouselImageItemWrapperSlotProps, imageItem: carouselImageItemSlotProps, } = carouselSlotProps !== null && carouselSlotProps !== void 0 ? carouselSlotProps : {};
|
|
5405
5504
|
return (React__default.createElement(GeneralInfoContainer, { className: className },
|
|
5406
|
-
React__default.createElement("div", { id: "product-image-section" }, imagesSelect ? (imagesSelect) : (React__default.createElement(
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5505
|
+
React__default.createElement("div", { id: "product-image-section" }, imagesSelect ? (imagesSelect) : (React__default.createElement(React__default.Fragment, null, isMobile ? (React__default.createElement(StyledImageCarousel, Object.assign({ slidesToShow: 1, align: "start", withControls: false, withIndicators: showCarouselIndicators, dragFree: false, slideSize: "100%", slideGap: 0, draggable: showCarouselIndicators }, imageCarouselSlotProps), imageCarousel.map((imageUrl, index) => (React__default.createElement(Carousel.Slide, Object.assign({ key: index }, carouselSlideSlotProps),
|
|
5506
|
+
React__default.createElement(CarouselImageItemWrapperMobile, { onClick: () => onCarouselImageClick === null || onCarouselImageClick === void 0 ? void 0 : onCarouselImageClick(index) },
|
|
5507
|
+
React__default.createElement(CarouselImageItem, Object.assign({}, carouselImageItemSlotProps, { src: imageUrl, alt: `${generalInfo.altText || 'product'} - ${index + 1}`, backupSrc: backupSrc, isMobile: isMobile })))))))) : (React__default.createElement(React__default.Fragment, null,
|
|
5508
|
+
React__default.createElement(ProductImage, Object.assign({ backupSrc: backupSrc, src: generalInfo.banner || generalInfo.logo, alt: generalInfo.altText ||
|
|
5509
|
+
(typeof generalInfo.name === 'string'
|
|
5510
|
+
? generalInfo.name
|
|
5511
|
+
: 'product') }, bannerProps)),
|
|
5512
|
+
showCarousel && (React__default.createElement(ImageCarouselContainer, null,
|
|
5513
|
+
React__default.createElement(StyledImageCarousel, Object.assign({ slidesToShow: 4, align: "start", withControls: showCarouselControls, withIndicators: false, dragFree: true, controlSize: 24, slideSize: 76, slideGap: 10 }, imageCarouselSlotProps), imageCarousel.map((imageUrl, index) => (React__default.createElement(Carousel.Slide, Object.assign({ key: index }, carouselSlideSlotProps),
|
|
5514
|
+
React__default.createElement(CarouselImageItemWrapper, Object.assign({}, carouselImageItemWrapperSlotProps, { onClick: (event) => {
|
|
5515
|
+
var _a;
|
|
5516
|
+
(_a = carouselImageItemWrapperSlotProps === null || carouselImageItemWrapperSlotProps === void 0 ? void 0 : carouselImageItemWrapperSlotProps.onClick) === null || _a === void 0 ? void 0 : _a.call(carouselImageItemWrapperSlotProps, event);
|
|
5517
|
+
onCarouselImageClick === null || onCarouselImageClick === void 0 ? void 0 : onCarouselImageClick(index);
|
|
5518
|
+
} }),
|
|
5519
|
+
React__default.createElement(CarouselImageItem, Object.assign({}, carouselImageItemSlotProps, { src: imageUrl, alt: `${generalInfo.altText || 'product'} - ${index + 1}`, backupSrc: backupSrc, isMobile: isMobile })))))))))))))),
|
|
5410
5520
|
React__default.createElement(ProductContent, { className: contentClassName },
|
|
5411
5521
|
React__default.createElement("div", { className: "product-info" },
|
|
5412
5522
|
typeof generalInfo.name === 'string' ? (React__default.createElement(Text, { size: "h3", fw: 600, color: "gray1000", as: "h1" }, generalInfo.name)) : (generalInfo.name), generalInfo === null || generalInfo === void 0 ? void 0 :
|
|
@@ -5418,6 +5528,374 @@ GeneralInfo.Container = GeneralInfoContainer;
|
|
|
5418
5528
|
GeneralInfo.Image = ProductImage;
|
|
5419
5529
|
GeneralInfo.Content = ProductContent;
|
|
5420
5530
|
|
|
5531
|
+
const GalleryLayout = styled.div `
|
|
5532
|
+
max-width: 1128px;
|
|
5533
|
+
display: flex;
|
|
5534
|
+
flex-direction: column;
|
|
5535
|
+
gap: 0;
|
|
5536
|
+
height: 100%;
|
|
5537
|
+
|
|
5538
|
+
${MediaQueries.mbUp} {
|
|
5539
|
+
flex-direction: row;
|
|
5540
|
+
/* height: auto; */
|
|
5541
|
+
height: 100%;
|
|
5542
|
+
}
|
|
5543
|
+
`;
|
|
5544
|
+
const GalleryMain = styled.div `
|
|
5545
|
+
min-width: 0;
|
|
5546
|
+
height: calc(100% - 108px);
|
|
5547
|
+
width: 100%;
|
|
5548
|
+
${MediaQueries.mbUp} {
|
|
5549
|
+
height: auto;
|
|
5550
|
+
max-height: calc(100dvh - 10dvh);
|
|
5551
|
+
}
|
|
5552
|
+
`;
|
|
5553
|
+
const GallerySidebar = styled.div `
|
|
5554
|
+
width: 100%;
|
|
5555
|
+
flex-shrink: 0;
|
|
5556
|
+
display: flex;
|
|
5557
|
+
flex-direction: column;
|
|
5558
|
+
gap: 1.5rem;
|
|
5559
|
+
width: 412px;
|
|
5560
|
+
padding: 64px 36px 24px 40px;
|
|
5561
|
+
`;
|
|
5562
|
+
const ThumbnailsGrid = styled.div `
|
|
5563
|
+
flex-shrink: 0;
|
|
5564
|
+
display: flex;
|
|
5565
|
+
flex-direction: row;
|
|
5566
|
+
gap: 0.5rem;
|
|
5567
|
+
overflow-x: auto;
|
|
5568
|
+
overflow-y: hidden;
|
|
5569
|
+
scroll-snap-type: x mandatory;
|
|
5570
|
+
-webkit-overflow-scrolling: touch;
|
|
5571
|
+
padding: 16px;
|
|
5572
|
+
|
|
5573
|
+
scroll-padding: 0px 16px;
|
|
5574
|
+
|
|
5575
|
+
&::-webkit-scrollbar {
|
|
5576
|
+
display: none;
|
|
5577
|
+
}
|
|
5578
|
+
|
|
5579
|
+
scrollbar-width: none;
|
|
5580
|
+
|
|
5581
|
+
${MediaQueries.mbUp} {
|
|
5582
|
+
display: grid;
|
|
5583
|
+
grid-template-columns: repeat(4, 1fr);
|
|
5584
|
+
gap: 1rem;
|
|
5585
|
+
overflow: visible;
|
|
5586
|
+
scroll-snap-type: none;
|
|
5587
|
+
padding: 0;
|
|
5588
|
+
}
|
|
5589
|
+
`;
|
|
5590
|
+
const ThumbnailButton = styled.button `
|
|
5591
|
+
border-radius: 0.5rem;
|
|
5592
|
+
padding: 0;
|
|
5593
|
+
background-color: transparent;
|
|
5594
|
+
width: 72px;
|
|
5595
|
+
height: 72px;
|
|
5596
|
+
flex-shrink: 0;
|
|
5597
|
+
overflow: hidden;
|
|
5598
|
+
cursor: pointer;
|
|
5599
|
+
|
|
5600
|
+
scroll-snap-align: start;
|
|
5601
|
+
|
|
5602
|
+
${MediaQueries.mbUp} {
|
|
5603
|
+
scroll-snap-align: unset;
|
|
5604
|
+
}
|
|
5605
|
+
|
|
5606
|
+
&[data-active='true'] {
|
|
5607
|
+
outline: 2px solid ${theme.colors.primaryBase};
|
|
5608
|
+
outline-offset: -2px;
|
|
5609
|
+
}
|
|
5610
|
+
|
|
5611
|
+
&:hover {
|
|
5612
|
+
outline: 2px solid ${theme.colors.primaryBase};
|
|
5613
|
+
outline-offset: -2px;
|
|
5614
|
+
}
|
|
5615
|
+
`;
|
|
5616
|
+
const LargeImageWrapper = styled.div `
|
|
5617
|
+
width: 100%;
|
|
5618
|
+
height: 100%;
|
|
5619
|
+
overflow: hidden;
|
|
5620
|
+
background-color: ${theme.colors.neutral50};
|
|
5621
|
+
display: flex;
|
|
5622
|
+
align-items: center;
|
|
5623
|
+
justify-content: center;
|
|
5624
|
+
|
|
5625
|
+
${MediaQueries.mbUp} {
|
|
5626
|
+
height: 100%;
|
|
5627
|
+
aspect-ratio: 716 / 720;
|
|
5628
|
+
}
|
|
5629
|
+
`;
|
|
5630
|
+
const MainGalleryImage = styled(ImageWrapV2) `
|
|
5631
|
+
background-color: ${theme.colors.neutral50};
|
|
5632
|
+
width: 100%;
|
|
5633
|
+
height: 100%;
|
|
5634
|
+
object-fit: contain;
|
|
5635
|
+
object-position: center;
|
|
5636
|
+
`;
|
|
5637
|
+
const EmptyState = styled.div `
|
|
5638
|
+
display: flex;
|
|
5639
|
+
flex-direction: column;
|
|
5640
|
+
gap: 0.5rem;
|
|
5641
|
+
align-items: center;
|
|
5642
|
+
justify-content: center;
|
|
5643
|
+
min-height: 240px;
|
|
5644
|
+
text-align: center;
|
|
5645
|
+
`;
|
|
5646
|
+
const StyledModal = styled(Modal) `
|
|
5647
|
+
.mantine-Modal-header {
|
|
5648
|
+
padding: 12px 16px;
|
|
5649
|
+
border-bottom: 1px solid #0000001a;
|
|
5650
|
+
}
|
|
5651
|
+
|
|
5652
|
+
.mantine-Modal-close {
|
|
5653
|
+
width: 24px;
|
|
5654
|
+
height: 24px;
|
|
5655
|
+
& > svg {
|
|
5656
|
+
width: auto !important;
|
|
5657
|
+
height: auto !important;
|
|
5658
|
+
}
|
|
5659
|
+
}
|
|
5660
|
+
.mantine-Modal-title {
|
|
5661
|
+
font-weight: 600;
|
|
5662
|
+
font-size: 15px;
|
|
5663
|
+
line-height: 24px;
|
|
5664
|
+
letter-spacing: -0.3px;
|
|
5665
|
+
}
|
|
5666
|
+
.mantine-Modal-inner {
|
|
5667
|
+
left: 0;
|
|
5668
|
+
}
|
|
5669
|
+
|
|
5670
|
+
.mantine-Modal-content {
|
|
5671
|
+
${MediaQueries.mbDown} {
|
|
5672
|
+
display: grid;
|
|
5673
|
+
grid-template-rows: 48px calc(100% - 48px);
|
|
5674
|
+
grid-template-columns: 100%;
|
|
5675
|
+
height: 100dvh;
|
|
5676
|
+
}
|
|
5677
|
+
|
|
5678
|
+
${MediaQueries.mbUp} {
|
|
5679
|
+
border-radius: 12px;
|
|
5680
|
+
}
|
|
5681
|
+
}
|
|
5682
|
+
|
|
5683
|
+
.mantine-Modal-body {
|
|
5684
|
+
height: 100%;
|
|
5685
|
+
max-height: 100%;
|
|
5686
|
+
padding: 0;
|
|
5687
|
+
}
|
|
5688
|
+
|
|
5689
|
+
.closeModal {
|
|
5690
|
+
position: absolute;
|
|
5691
|
+
right: 16px;
|
|
5692
|
+
top: 16px;
|
|
5693
|
+
cursor: pointer;
|
|
5694
|
+
}
|
|
5695
|
+
`;
|
|
5696
|
+
const StyledCarousel = styled(Carousel) `
|
|
5697
|
+
height: 100%;
|
|
5698
|
+
|
|
5699
|
+
.mantine-Carousel-controls {
|
|
5700
|
+
padding-left: 1rem;
|
|
5701
|
+
padding-right: 1rem;
|
|
5702
|
+
}
|
|
5703
|
+
|
|
5704
|
+
.mantine-Carousel-control {
|
|
5705
|
+
background-color: #fff;
|
|
5706
|
+
border: none;
|
|
5707
|
+
box-shadow: none;
|
|
5708
|
+
padding: 0;
|
|
5709
|
+
align-items: center;
|
|
5710
|
+
justify-content: center;
|
|
5711
|
+
opacity: 1;
|
|
5712
|
+
width: auto;
|
|
5713
|
+
|
|
5714
|
+
&:hover {
|
|
5715
|
+
background-color: #fff;
|
|
5716
|
+
}
|
|
5717
|
+
|
|
5718
|
+
&:active {
|
|
5719
|
+
background-color: #fff;
|
|
5720
|
+
}
|
|
5721
|
+
|
|
5722
|
+
&[data-inactive] {
|
|
5723
|
+
opacity: 0.5;
|
|
5724
|
+
cursor: default;
|
|
5725
|
+
}
|
|
5726
|
+
}
|
|
5727
|
+
|
|
5728
|
+
.mantine-Carousel-indicators {
|
|
5729
|
+
gap: 0.375rem;
|
|
5730
|
+
bottom: 0.5rem;
|
|
5731
|
+
}
|
|
5732
|
+
|
|
5733
|
+
.mantine-Carousel-indicator {
|
|
5734
|
+
width: 5px;
|
|
5735
|
+
height: 5px;
|
|
5736
|
+
border-radius: 50%;
|
|
5737
|
+
background-color: ${theme.colors.gray200};
|
|
5738
|
+
opacity: 1;
|
|
5739
|
+
|
|
5740
|
+
&[data-active] {
|
|
5741
|
+
background-color: ${theme.colors.black};
|
|
5742
|
+
}
|
|
5743
|
+
}
|
|
5744
|
+
`;
|
|
5745
|
+
|
|
5746
|
+
const ModalGalleryContext = createContext(null);
|
|
5747
|
+
function useModalGalleryContext() {
|
|
5748
|
+
const ctx = useContext(ModalGalleryContext);
|
|
5749
|
+
if (!ctx)
|
|
5750
|
+
throw new Error('useModalGalleryContext must be used within ModalGalleryProvider');
|
|
5751
|
+
return ctx;
|
|
5752
|
+
}
|
|
5753
|
+
|
|
5754
|
+
const TRANSITION_DURATION$1 = 200;
|
|
5755
|
+
function GalleryCarousel() {
|
|
5756
|
+
const { galleryImages, altPrefix, backupSrc, isMobile, setActiveIndex, setEmbla, embla, initialSlide, } = useModalGalleryContext();
|
|
5757
|
+
useAnimationOffsetEffect(embla, TRANSITION_DURATION$1);
|
|
5758
|
+
const handleEmblaReady = (emblaApi) => {
|
|
5759
|
+
setEmbla(emblaApi);
|
|
5760
|
+
};
|
|
5761
|
+
const handleSlideChange = (index) => {
|
|
5762
|
+
setActiveIndex(index);
|
|
5763
|
+
};
|
|
5764
|
+
return (React__default.createElement(StyledCarousel, { align: "center", slideSize: "100%", withControls: galleryImages.length > 1 && !isMobile, withIndicators: false, dragFree: false, slideGap: 0, draggable: galleryImages.length > 1 && isMobile, getEmblaApi: handleEmblaReady, onSlideChange: handleSlideChange, loop: false, height: "100%", controlSize: 32, initialSlide: initialSlide }, galleryImages.map((imageUrl, index) => (React__default.createElement(Carousel.Slide, { key: `${imageUrl}-${index}` },
|
|
5765
|
+
React__default.createElement(LargeImageWrapper, null,
|
|
5766
|
+
React__default.createElement(MainGalleryImage, { src: imageUrl, alt: `${altPrefix} - ${index + 1}`, backupSrc: backupSrc })))))));
|
|
5767
|
+
}
|
|
5768
|
+
|
|
5769
|
+
function GalleryThumbnails({ isMobile }) {
|
|
5770
|
+
const { galleryImages, altPrefix, backupSrc, activeIndex, handleThumbnailClick, } = useModalGalleryContext();
|
|
5771
|
+
const itemRefs = useRef([]);
|
|
5772
|
+
useEffect(() => {
|
|
5773
|
+
const activeItem = itemRefs.current[activeIndex];
|
|
5774
|
+
if (activeItem && isMobile) {
|
|
5775
|
+
activeItem.scrollIntoView({
|
|
5776
|
+
behavior: 'smooth',
|
|
5777
|
+
block: 'nearest',
|
|
5778
|
+
inline: 'center',
|
|
5779
|
+
});
|
|
5780
|
+
}
|
|
5781
|
+
}, [activeIndex, isMobile]);
|
|
5782
|
+
return (React__default.createElement(ThumbnailsGrid, null, galleryImages.map((imageUrl, index) => (React__default.createElement(ThumbnailButton, { key: `${imageUrl}-${index}`, type: "button", "data-active": activeIndex === index, onClick: () => handleThumbnailClick(index), ref: (el) => (itemRefs.current[index] = el) },
|
|
5783
|
+
React__default.createElement(CarouselImageItem, { src: imageUrl, alt: `${altPrefix} thumbnail - ${index + 1}`, backupSrc: backupSrc, width: 72 }))))));
|
|
5784
|
+
}
|
|
5785
|
+
|
|
5786
|
+
function GalleryTitle({ isMobile }) {
|
|
5787
|
+
const { generalInfo } = useModalGalleryContext();
|
|
5788
|
+
// Mobile title is handled by Modal title prop
|
|
5789
|
+
if (isMobile) {
|
|
5790
|
+
return null;
|
|
5791
|
+
}
|
|
5792
|
+
if (typeof generalInfo.name === 'string') {
|
|
5793
|
+
return (React__default.createElement(Text, { size: "h5", fw: 600, color: "gray1000", as: "h2" }, generalInfo.name));
|
|
5794
|
+
}
|
|
5795
|
+
return React__default.createElement(React__default.Fragment, null, generalInfo.name);
|
|
5796
|
+
}
|
|
5797
|
+
|
|
5798
|
+
function ModalGalleryContent() {
|
|
5799
|
+
const { galleryImages, isMobile } = useModalGalleryContext();
|
|
5800
|
+
const hasImages = galleryImages.length > 0;
|
|
5801
|
+
if (!hasImages) {
|
|
5802
|
+
return (React__default.createElement(EmptyState, null,
|
|
5803
|
+
React__default.createElement(GalleryTitle, { isMobile: isMobile }),
|
|
5804
|
+
React__default.createElement(Text, { size: "p2", color: "gray600" }, "No images available.")));
|
|
5805
|
+
}
|
|
5806
|
+
return (React__default.createElement(GalleryLayout, null,
|
|
5807
|
+
React__default.createElement(GalleryMain, null,
|
|
5808
|
+
React__default.createElement(GalleryCarousel, null)),
|
|
5809
|
+
!isMobile && (React__default.createElement(GallerySidebar, null,
|
|
5810
|
+
React__default.createElement(GalleryTitle, { isMobile: isMobile }),
|
|
5811
|
+
React__default.createElement(GalleryThumbnails, { isMobile: isMobile }))),
|
|
5812
|
+
isMobile && React__default.createElement(GalleryThumbnails, { isMobile: isMobile })));
|
|
5813
|
+
}
|
|
5814
|
+
|
|
5815
|
+
const clampIndex = (index, length) => {
|
|
5816
|
+
if (!length || typeof index !== 'number')
|
|
5817
|
+
return 0;
|
|
5818
|
+
if (index < 0)
|
|
5819
|
+
return 0;
|
|
5820
|
+
if (index >= length)
|
|
5821
|
+
return length - 1;
|
|
5822
|
+
return index;
|
|
5823
|
+
};
|
|
5824
|
+
function useModalGallery({ generalInfo, imageCarousel = [], backupSrc, isMobile = false, initialSlide = 0, }) {
|
|
5825
|
+
const galleryImages = useMemo(() => {
|
|
5826
|
+
if (imageCarousel === null || imageCarousel === void 0 ? void 0 : imageCarousel.length)
|
|
5827
|
+
return imageCarousel;
|
|
5828
|
+
const fallbackImages = [generalInfo.banner, generalInfo.logo].filter((src) => Boolean(src));
|
|
5829
|
+
return fallbackImages;
|
|
5830
|
+
}, [generalInfo.banner, generalInfo.logo, imageCarousel]);
|
|
5831
|
+
const [activeIndex, setActiveIndex] = useState(() => clampIndex(initialSlide, galleryImages.length));
|
|
5832
|
+
const [embla, setEmbla] = useState(null);
|
|
5833
|
+
useEffect(() => {
|
|
5834
|
+
setActiveIndex(clampIndex(initialSlide, galleryImages.length));
|
|
5835
|
+
}, [galleryImages.length, initialSlide]);
|
|
5836
|
+
useEffect(() => {
|
|
5837
|
+
if (!embla || !galleryImages.length)
|
|
5838
|
+
return;
|
|
5839
|
+
const current = embla.selectedScrollSnap();
|
|
5840
|
+
if (current !== activeIndex) {
|
|
5841
|
+
embla.scrollTo(activeIndex);
|
|
5842
|
+
}
|
|
5843
|
+
}, [activeIndex, embla, galleryImages.length]);
|
|
5844
|
+
const altPrefix = generalInfo.altText ||
|
|
5845
|
+
(typeof generalInfo.name === 'string' ? generalInfo.name : 'product image');
|
|
5846
|
+
const handleThumbnailClick = useCallback((index) => {
|
|
5847
|
+
setActiveIndex(index);
|
|
5848
|
+
embla === null || embla === void 0 ? void 0 : embla.scrollTo(index);
|
|
5849
|
+
}, [embla]);
|
|
5850
|
+
return {
|
|
5851
|
+
generalInfo,
|
|
5852
|
+
imageCarousel,
|
|
5853
|
+
backupSrc,
|
|
5854
|
+
isMobile,
|
|
5855
|
+
activeIndex,
|
|
5856
|
+
embla,
|
|
5857
|
+
altPrefix,
|
|
5858
|
+
galleryImages,
|
|
5859
|
+
setActiveIndex,
|
|
5860
|
+
setEmbla,
|
|
5861
|
+
handleThumbnailClick,
|
|
5862
|
+
};
|
|
5863
|
+
}
|
|
5864
|
+
|
|
5865
|
+
function ModalGalleryProvider({ generalInfo, imageCarousel = [], backupSrc, isMobile = false, initialSlide = 0, children, }) {
|
|
5866
|
+
const galleryState = useModalGallery({
|
|
5867
|
+
generalInfo,
|
|
5868
|
+
imageCarousel,
|
|
5869
|
+
backupSrc,
|
|
5870
|
+
isMobile,
|
|
5871
|
+
initialSlide,
|
|
5872
|
+
});
|
|
5873
|
+
const value = useMemo(() => (Object.assign(Object.assign({}, galleryState), { initialSlide })), [
|
|
5874
|
+
galleryState.generalInfo,
|
|
5875
|
+
galleryState.imageCarousel,
|
|
5876
|
+
galleryState.backupSrc,
|
|
5877
|
+
galleryState.isMobile,
|
|
5878
|
+
galleryState.activeIndex,
|
|
5879
|
+
galleryState.embla,
|
|
5880
|
+
galleryState.altPrefix,
|
|
5881
|
+
galleryState.galleryImages,
|
|
5882
|
+
galleryState.handleThumbnailClick,
|
|
5883
|
+
]);
|
|
5884
|
+
return (React__default.createElement(ModalGalleryContext.Provider, { value: value }, children));
|
|
5885
|
+
}
|
|
5886
|
+
|
|
5887
|
+
const TRANSITION_DURATION = 200;
|
|
5888
|
+
function ModalGallery({ generalInfo, imageCarousel = [], backupSrc, isMobile = false, initialSlide = 0, isOpen = false, onOpenChange, modalProps = {}, title = 'Product gallery', }) {
|
|
5889
|
+
const handleClose = () => {
|
|
5890
|
+
onOpenChange === null || onOpenChange === void 0 ? void 0 : onOpenChange(false);
|
|
5891
|
+
};
|
|
5892
|
+
const modalTitle = isMobile ? title : undefined;
|
|
5893
|
+
return (React__default.createElement(StyledModal, Object.assign({ opened: isOpen, onClose: handleClose, zIndex: ZINDEX_SSO, withCloseButton: isMobile, centered: true, size: "auto", fullScreen: isMobile, title: modalTitle, autoFocus: false }, modalProps, { transitionProps: Object.assign({ duration: TRANSITION_DURATION }, modalProps.transitionProps) }),
|
|
5894
|
+
!isMobile && (React__default.createElement(Close, { onClick: handleClose, className: "closeModal", width: 24, height: 24, fill: "#212121" })),
|
|
5895
|
+
React__default.createElement(ModalGalleryProvider, { generalInfo: generalInfo, imageCarousel: imageCarousel, backupSrc: backupSrc, initialSlide: initialSlide, isMobile: isMobile },
|
|
5896
|
+
React__default.createElement(ModalGalleryContent, null))));
|
|
5897
|
+
}
|
|
5898
|
+
|
|
5421
5899
|
const StyledContainer$2 = styled.div `
|
|
5422
5900
|
border-radius: 12px;
|
|
5423
5901
|
padding: 0.875rem 0.75rem;
|
|
@@ -5624,4 +6102,4 @@ const AnsweredByDoctor = (props) => {
|
|
|
5624
6102
|
React__default.createElement(Text, { size: "p3", weight: "semiBold", color: theme.colors.gray800 }, doctorName))));
|
|
5625
6103
|
};
|
|
5626
6104
|
|
|
5627
|
-
export { AdBlock as A, Breadcrumbs as B, CategoryCard as C, DatePicker as D, FloatButtonGroup as F, GeneralInfo as G, HPVScreener as H, IconText as I, List as L,
|
|
6105
|
+
export { AdBlock as A, Breadcrumbs as B, CategoryCard as C, DatePicker as D, FloatButtonGroup as F, GeneralInfo as G, HPVScreener as H, IconText as I, List as L, ModalGallery as M, QuickFilter as Q, RadioGroup as R, ScrollList as S, Tabs as T, VoucherItem as V, WidgetChatbotAi as W, CheckboxGroup as a, StatisticCard as b, index as c, DoctorInfo as d, CookieAcceptConfirm as e, SeoHead as f, DateRangePicker as g, ShareContainer as h, index$1 as i, ShareDrawer as j, FixedBottomAdBlock as k, SummaryInfo as l, ListContext as m, useList as n, QuickFilterWrapLine as o, CardListItem as p, useModalGalleryContext as q, ModalGalleryProvider as r, CertificateItem as s, RatingStars as t, useListContext as u, RatingStarsInput as v, MAX_RATING as w, AnsweredByDoctor as x, StarFull as y, StarHalf as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
-
import { M as MediaQueries } from './utils-
|
|
3
|
+
import { M as MediaQueries } from './utils-1666f74c.js';
|
|
4
4
|
import { theme } from './miscTheme.js';
|
|
5
5
|
|
|
6
6
|
const StyledPopup = styled.div `
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React__default, { useRef, useEffect } from 'react';
|
|
2
2
|
import { Portal } from '@mantine/core';
|
|
3
|
-
import { t as toggleNoScroll } from './utils-
|
|
3
|
+
import { t as toggleNoScroll } from './utils-1666f74c.js';
|
|
4
4
|
import { css } from '@emotion/react';
|
|
5
5
|
import styled from '@emotion/styled';
|
|
6
6
|
import { theme } from './miscTheme.js';
|
|
7
|
-
import { s as slideInUp, e as slideOutDown, b as slideInLeft, f as slideOutLeft, c as slideInRight, g as slideOutRight, a as slideInDown, d as slideOutUp } from './animation-
|
|
8
|
-
import { T as Text } from './index-
|
|
7
|
+
import { s as slideInUp, e as slideOutDown, b as slideInLeft, f as slideOutLeft, c as slideInRight, g as slideOutRight, a as slideInDown, d as slideOutUp } from './animation-c7681a8a.js';
|
|
8
|
+
import { T as Text } from './index-096e6319.js';
|
|
9
9
|
|
|
10
10
|
const DURATION = '600ms';
|
|
11
11
|
const generateStyleBasedOnPlacement = (placement, open) => {
|