@hhgtech/hhg-components 1.28.26 → 1.28.28
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/Subot-1722467d.js +1 -0
- package/build/babyGrowth.js +24 -24
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/{constants-d9ea113d.js → constants-32fce788.js} +1 -1
- package/build/{constants-206f3b70.js → constants-40e42f36.js} +1 -1
- package/build/constants.js +1 -1
- package/build/{core-1e5dc399.js → core-9daa2b6d.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/Subot-3e26682c.js +1 -0
- package/build/esm/babyGrowth.js +37 -37
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/{constants-b1321698.js → constants-cf8d2b27.js} +2 -2
- package/build/esm/{constants-f9d7aa8c.js → constants-f17c72d7.js} +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-f858b620.js → core-469917c1.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-07d36d83.js +1 -0
- package/build/esm/getSocialList-52e734b5.js +1 -0
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -1
- package/build/esm/{index-f4cf350a.js → index-0914cf85.js} +1 -1
- package/build/esm/index-0f17b8aa.js +1 -0
- package/build/esm/index-36c96e53.js +1 -0
- package/build/esm/index-539f568d.js +1 -0
- package/build/esm/index-59321c99.js +1 -0
- package/build/esm/{index-48404b57.js → index-5ff5ccf6.js} +1 -1
- package/build/esm/index-63cb82b7.js +1 -0
- package/build/esm/index-6a242131.js +177 -0
- package/build/esm/index-6db1bd1f.js +1 -0
- package/build/esm/index-70255978.js +1 -0
- package/build/esm/{index-6bfa1218.js → index-7532b0c5.js} +1 -1
- package/build/esm/{index-ee15c33c.js → index-7af053cd.js} +3 -3
- package/build/esm/index-8727c628.js +1 -0
- package/build/esm/{index-a192f489.js → index-992c1d4f.js} +1 -1
- package/build/esm/index-9e8718ca.js +3533 -0
- package/build/esm/index-a53e5cc5.js +1 -0
- package/build/esm/index-a5572feb.js +1 -0
- package/build/esm/index-ab913381.js +1 -0
- package/build/esm/index-bb64c9f3.js +1 -0
- package/build/esm/index-d97b7f95.js +1 -0
- package/build/esm/{index-11fea400.js → index-dce8c446.js} +1 -1
- package/build/esm/index-e9742f34.js +1 -0
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-2bdbb16a.js → index.styled-82281f59.js} +135 -135
- package/build/esm/index.styled-83170533.js +50 -0
- package/build/esm/{index.styled-7ef36c68.js → index.styled-8642a0c0.js} +1 -1
- package/build/esm/index.styled-bd0daa57.js +1755 -0
- package/build/esm/{index.styles-07a11ccd.js → index.styles-309a8680.js} +2 -2
- package/build/esm/interfaces/constants/index.d.ts +16 -0
- package/build/esm/interfaces/types/Subot.d.ts +302 -0
- package/build/esm/interfaces/types/SubotInline.d.ts +40 -0
- package/build/esm/interfaces/types/index.d.ts +3 -0
- package/build/esm/lead/api/paths.d.ts +11 -0
- package/build/esm/lead/api/utils.d.ts +5 -0
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc/fastdom.d.ts +41 -0
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboardingV2.js +9 -9
- package/build/esm/pwg.js +3 -3
- package/build/esm/{routing-a4e59b08.js → routing-910eb4da.js} +1 -1
- package/build/esm/subot/api/paths.d.ts +19 -0
- package/build/esm/subot/api/utils.d.ts +13 -0
- package/build/esm/subot/components/PhoneInput/index.d.ts +17 -0
- package/build/esm/subot/components/markdown/index.d.ts +5 -0
- package/build/esm/subot/components/markdown/index.styled.d.ts +1 -0
- package/build/esm/subot/components/otpInfoForm/countDown.d.ts +19 -0
- package/build/esm/subot/components/otpInfoForm/index.d.ts +18 -0
- package/build/esm/subot/components/otpInfoForm/index.styled.d.ts +2 -0
- package/build/esm/subot/components/userInfoForm/GoogleAddressField.d.ts +34 -0
- package/build/esm/subot/components/userInfoForm/SelectItem.d.ts +8 -0
- package/build/esm/subot/components/userInfoForm/index.d.ts +20 -0
- package/build/esm/subot/components/userInfoForm/index.styled.d.ts +3 -0
- package/build/esm/subot/components/userInfoForm/utils.d.ts +9 -0
- package/build/esm/subot/hooks/useAddressMultipleLevelData/index.d.ts +13 -0
- package/build/esm/subot/hooks/useCurrentUrl.d.ts +1 -0
- package/build/esm/subot/hooks/useDescriptionPollNode.d.ts +6 -0
- package/build/esm/subot/hooks/useValidationMultiOption.d.ts +5 -0
- package/build/esm/subot/index.d.ts +2 -0
- package/build/esm/subot/subotInlineRevamp/assets/check-circle-green.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/checkbox.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/chevron-down.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/chevron-left.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/chevron-right.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/close.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/delete-icon.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/icon-edit.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/info-error.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/info.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/location.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/references.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/refresh.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/common/styles.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/common/subotInlineVoucherLeftUI/index.d.ts +10 -0
- package/build/esm/subot/subotInlineRevamp/container.d.ts +4 -0
- package/build/esm/subot/subotInlineRevamp/context.d.ts +4 -0
- package/build/esm/subot/subotInlineRevamp/friso.utils.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/index.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/styled.d.ts +2 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionImageChoice/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionSSO/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionTextChoice/index.d.ts +8 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionTextChoice/styles.d.ts +21 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlinePollChoice/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlinePollChoice/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlinePollChoiceImage/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/utils.d.ts +8 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineDisclaimer/index.d.ts +6 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineDisclaimer/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineFooter/index.d.ts +6 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineFooter/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineInfoSection/index.d.ts +16 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotButton/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotButton/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotEventSubmission/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotImage/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotImage/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotRelatedArticle/index.d.ts +9 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotRelatedArticle/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/SubotInlineServiceDisclaimer/index.d.ts +9 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/SubotInlineServiceDisclaimer/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotText/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotText/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotTitle/index.d.ts +11 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotTitle/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentSSO/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentSSO/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentUrl/index.d.ts +4 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentUrl/styles.d.ts +4 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/utils.d.ts +8 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/container.d.ts +9 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/context.d.ts +13 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/index.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinal/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinal/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalStandard/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalStandard/styles.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalStandard/sub-inline-intent.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalThankYou/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalThankYou/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeForm/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeForm/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeImage/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeImage/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeMultiple/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeMultiple/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodePoll/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodePoll/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeSSO/index.d.ts +8 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeSSO/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeStart/container.d.ts +11 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeStart/index.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeStart/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeText/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeText/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/utils.d.ts +5 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/view.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/types.d.ts +60 -0
- package/build/esm/subot/subotInlineRevamp/utils.d.ts +52 -0
- package/build/esm/subot/subotInlineRevamp/view.d.ts +4 -0
- package/build/esm/subot/utils/dynamicScore.utils.d.ts +12 -0
- package/build/esm/subot/utils/fpixel.d.ts +2 -0
- package/build/esm/subot/utils/index.d.ts +24 -0
- package/build/esm/subot.js +1709 -0
- package/build/esm/together/api/utils.d.ts +2 -2
- package/build/esm/together/interfaces/types.d.ts +1 -0
- package/build/esm/together/togetherComponentGlobalContext.d.ts +9 -1
- package/build/esm/together.js +1 -1
- package/build/esm/types-225e1b02.js +1 -0
- package/build/esm/{types-de6c8d61.js → types-f83118a3.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/useCategory-28c9abc6.js +1 -0
- package/build/esm/useHealthToolCache-e117dfc4.js +1 -0
- package/build/esm/usePlacesAutocomplete-e30f1118.js +1 -0
- package/build/esm/{useRafState-1446e72b.js → useRafState-10da1fd9.js} +1 -1
- package/build/esm/{useTranslations-28b19550.js → useTranslations-d8b9e866.js} +1 -1
- package/build/esm/utils-a7d6d7bd.js +1 -0
- package/build/esm/{utils-4dd7269c.js → utils-c6957af3.js} +1 -1
- package/build/esm/vaccination.js +5 -5
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-de43b3f5.js +1 -0
- package/build/getSocialList-9fc8841e.js +1 -0
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-f7536bc6.js → index-08284f8f.js} +2 -2
- package/build/{index-781bee17.js → index-289338c5.js} +1 -1
- package/build/index-2efa93f4.js +1 -0
- package/build/index-377f90fc.js +1 -0
- package/build/{index-2922fa49.js → index-48ac2384.js} +1 -1
- package/build/index-494c572e.js +1 -0
- package/build/index-542a0aa1.js +1 -0
- package/build/index-64661797.js +1 -0
- package/build/index-701c4a92.js +1 -0
- package/build/{esm/index-dbff2d47.js → index-85ea987c.js} +1 -1
- package/build/index-97b22be6.js +1 -0
- package/build/index-9c75f185.js +1 -0
- package/build/{index-0212babb.js → index-a3916b70.js} +1 -1
- package/build/index-adc97936.js +1 -0
- package/build/index-cdb7ff38.js +1 -0
- package/build/index-cefda9d4.js +1 -0
- package/build/index-dbb6aa7b.js +1 -0
- package/build/{index-e3a8e828.js → index-dc09ac1e.js} +3 -3
- package/build/index-ee279ebe.js +177 -0
- package/build/index-f2ae4ff9.js +1 -0
- package/build/index-f6748529.js +1 -0
- package/build/index-f712bf65.js +3533 -0
- package/build/index.js +1 -1
- package/build/index.styled-2bf89382.js +50 -0
- package/build/{index.styled-e25011fd.js → index.styled-366879b1.js} +126 -126
- package/build/{index.styled-0a9266aa.js → index.styled-72b6bed2.js} +1 -1
- package/build/index.styled-86c3180a.js +1755 -0
- package/build/{index.styles-f208cbbd.js → index.styles-5b4ce3f7.js} +37 -37
- package/build/interfaces/constants/index.d.ts +16 -0
- package/build/interfaces/types/Subot.d.ts +302 -0
- package/build/interfaces/types/SubotInline.d.ts +40 -0
- package/build/interfaces/types/index.d.ts +3 -0
- package/build/lead/api/paths.d.ts +11 -0
- package/build/lead/api/utils.d.ts +5 -0
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc/fastdom.d.ts +41 -0
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboardingV2.js +5 -5
- package/build/pwg.js +3 -3
- package/build/{routing-eeb746d3.js → routing-9196855e.js} +1 -1
- package/build/subot/api/paths.d.ts +19 -0
- package/build/subot/api/utils.d.ts +13 -0
- package/build/subot/components/PhoneInput/index.d.ts +17 -0
- package/build/subot/components/markdown/index.d.ts +5 -0
- package/build/subot/components/markdown/index.styled.d.ts +1 -0
- package/build/subot/components/otpInfoForm/countDown.d.ts +19 -0
- package/build/subot/components/otpInfoForm/index.d.ts +18 -0
- package/build/subot/components/otpInfoForm/index.styled.d.ts +2 -0
- package/build/subot/components/userInfoForm/GoogleAddressField.d.ts +34 -0
- package/build/subot/components/userInfoForm/SelectItem.d.ts +8 -0
- package/build/subot/components/userInfoForm/index.d.ts +20 -0
- package/build/subot/components/userInfoForm/index.styled.d.ts +3 -0
- package/build/subot/components/userInfoForm/utils.d.ts +9 -0
- package/build/subot/hooks/useAddressMultipleLevelData/index.d.ts +13 -0
- package/build/subot/hooks/useCurrentUrl.d.ts +1 -0
- package/build/subot/hooks/useDescriptionPollNode.d.ts +6 -0
- package/build/subot/hooks/useValidationMultiOption.d.ts +5 -0
- package/build/subot/index.d.ts +2 -0
- package/build/subot/subotInlineRevamp/assets/check-circle-green.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/checkbox.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/chevron-down.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/chevron-left.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/chevron-right.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/close.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/delete-icon.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/icon-edit.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/info-error.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/info.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/location.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/references.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/refresh.d.ts +3 -0
- package/build/subot/subotInlineRevamp/common/styles.d.ts +3 -0
- package/build/subot/subotInlineRevamp/common/subotInlineVoucherLeftUI/index.d.ts +10 -0
- package/build/subot/subotInlineRevamp/container.d.ts +4 -0
- package/build/subot/subotInlineRevamp/context.d.ts +4 -0
- package/build/subot/subotInlineRevamp/friso.utils.d.ts +3 -0
- package/build/subot/subotInlineRevamp/index.d.ts +1 -0
- package/build/subot/subotInlineRevamp/styled.d.ts +2 -0
- package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionImageChoice/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionSSO/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionTextChoice/index.d.ts +8 -0
- package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionTextChoice/styles.d.ts +21 -0
- package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlinePollChoice/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlinePollChoice/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlinePollChoiceImage/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineAction/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineAction/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineAction/utils.d.ts +8 -0
- package/build/subot/subotInlineRevamp/subotInlineDisclaimer/index.d.ts +6 -0
- package/build/subot/subotInlineRevamp/subotInlineDisclaimer/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineFooter/index.d.ts +6 -0
- package/build/subot/subotInlineRevamp/subotInlineFooter/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineInfoSection/index.d.ts +16 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotButton/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotButton/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotEventSubmission/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotImage/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotImage/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotRelatedArticle/index.d.ts +9 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotRelatedArticle/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/SubotInlineServiceDisclaimer/index.d.ts +9 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/SubotInlineServiceDisclaimer/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotText/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotText/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotTitle/index.d.ts +11 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotTitle/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentSSO/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentSSO/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentUrl/index.d.ts +4 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentUrl/styles.d.ts +4 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/utils.d.ts +8 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/container.d.ts +9 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/context.d.ts +13 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/index.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinal/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinal/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalStandard/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalStandard/styles.d.ts +3 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalStandard/sub-inline-intent.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalThankYou/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalThankYou/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeForm/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeForm/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeImage/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeImage/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeMultiple/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeMultiple/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodePoll/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodePoll/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeSSO/index.d.ts +8 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeSSO/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeStart/container.d.ts +11 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeStart/index.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeStart/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeText/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeText/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/utils.d.ts +5 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/view.d.ts +3 -0
- package/build/subot/subotInlineRevamp/types.d.ts +60 -0
- package/build/subot/subotInlineRevamp/utils.d.ts +52 -0
- package/build/subot/subotInlineRevamp/view.d.ts +4 -0
- package/build/subot/utils/dynamicScore.utils.d.ts +12 -0
- package/build/subot/utils/fpixel.d.ts +2 -0
- package/build/subot/utils/index.d.ts +24 -0
- package/build/subot.js +1709 -0
- package/build/together/api/utils.d.ts +2 -2
- package/build/together/interfaces/types.d.ts +1 -0
- package/build/together/togetherComponentGlobalContext.d.ts +9 -1
- package/build/together.js +1 -1
- package/build/types-7c5b4a63.js +1 -0
- package/build/{types-9c12ca83.js → types-7ff69523.js} +1 -1
- package/build/types.js +1 -1
- package/build/useCategory-db396f3e.js +1 -0
- package/build/{useHealthToolCache-6cdee506.js → useHealthToolCache-78894feb.js} +1 -1
- package/build/usePlacesAutocomplete-cc9ed6fe.js +1 -0
- package/build/{useRafState-1e420cf7.js → useRafState-ade92052.js} +1 -1
- package/build/{useTranslations-91457229.js → useTranslations-45ef6653.js} +1 -1
- package/build/utils-9013d9b5.js +1 -0
- package/build/{utils-293ffa82.js → utils-cef4a03b.js} +1 -1
- package/build/vaccination.js +1 -1
- package/package.json +6 -1
- package/build/Onboarding-657118be.js +0 -1
- package/build/esm/Onboarding-68463903.js +0 -1
- package/build/esm/getDynamicHealthTool-844c6f6a.js +0 -1
- package/build/esm/getSocialList-7e971b70.js +0 -1
- package/build/esm/index-146e09e3.js +0 -177
- package/build/esm/index-3d5c1bc6.js +0 -1
- package/build/esm/index-480d01ae.js +0 -50
- package/build/esm/index-58c18460.js +0 -1
- package/build/esm/index-5b6ce3c8.js +0 -1
- package/build/esm/index-7344117e.js +0 -1
- package/build/esm/index-798caaf0.js +0 -3533
- package/build/esm/index-9dfd478f.js +0 -1
- package/build/esm/index-bac9d662.js +0 -1
- package/build/esm/index-bbcd103b.js +0 -1755
- package/build/esm/index-c382ba8d.js +0 -1
- package/build/esm/index-d08071f0.js +0 -1
- package/build/esm/types-6e7ea58d.js +0 -1
- package/build/esm/useCategory-66dc7051.js +0 -1
- package/build/esm/useHealthToolCache-5b011d4c.js +0 -1
- package/build/esm/utils-c9c9f998.js +0 -1
- package/build/getDynamicHealthTool-701bf691.js +0 -1
- package/build/getSocialList-34b4160e.js +0 -1
- package/build/index-26547fdb.js +0 -50
- package/build/index-2ef62da6.js +0 -1
- package/build/index-43968e3d.js +0 -1755
- package/build/index-6e03cf5a.js +0 -1
- package/build/index-773217c2.js +0 -1
- package/build/index-79708112.js +0 -1
- package/build/index-80c61fb6.js +0 -1
- package/build/index-820acd26.js +0 -1
- package/build/index-85409c2e.js +0 -1
- package/build/index-a0d5a151.js +0 -3533
- package/build/index-b75de7cd.js +0 -177
- package/build/index-c5b7c15a.js +0 -1
- package/build/index-e2b8fc0e.js +0 -1
- package/build/index-e68f4447.js +0 -1
- package/build/types-5160cfd8.js +0 -1
- package/build/useCategory-9cb93e7b.js +0 -1
- package/build/utils-18296362.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-1cd695d8.js → BMI_BOYS.percentile.monthly-3dc40e7f.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-0056c560.js → BMI_BOYS.percentile.weekly-c850c918.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-03cca0be.js → BMI_BOYS.percentile.yearly-801eb999.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-aa5df91d.js → BMI_BOYS.zscore.monthly-0ab0be45.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-3d76505b.js → BMI_BOYS.zscore.weekly-9a937581.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-52d967e9.js → BMI_BOYS.zscore.yearly-17dfd6d3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-1d8ebde3.js → BMI_GIRLS.percentile.monthly-d8085dfe.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-77acf120.js → BMI_GIRLS.percentile.weekly-1f360a48.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-0baa066c.js → BMI_GIRLS.percentile.yearly-51c5c6d1.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-2c416f8b.js → BMI_GIRLS.zscore.monthly-b3f5412f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-05aa726d.js → BMI_GIRLS.zscore.weekly-67ca1c19.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-d1a2c524.js → BMI_GIRLS.zscore.yearly-53909407.js} +0 -0
- /package/build/{ChevronDown-a7f9de37.js → ChevronDown-e78dfe2c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-5c54a40f.js → HEAD CIRCUM_BOYS.percentile.monthly-5a9fd77d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-ed924d0f.js → HEAD CIRCUM_BOYS.percentile.weekly-10342371.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-39b250f2.js → HEAD CIRCUM_BOYS.percentile.yearly-ce0fca94.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-89b42d5b.js → HEAD CIRCUM_BOYS.zscore.monthly-7ed50089.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-11d3c7fe.js → HEAD CIRCUM_BOYS.zscore.weekly-94d77f2e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-48bbe7a5.js → HEAD CIRCUM_BOYS.zscore.yearly-d54b7848.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-f611c38e.js → HEAD CIRCUM_GIRLS.percentile.monthly-8dec8c91.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-fcbd5d63.js → HEAD CIRCUM_GIRLS.percentile.weekly-b1976ffa.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-8224f26f.js → HEAD CIRCUM_GIRLS.percentile.yearly-9d04b05d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-c7f6b828.js → HEAD CIRCUM_GIRLS.zscore.monthly-7f142a08.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-49769efc.js → HEAD CIRCUM_GIRLS.zscore.weekly-d48f6954.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-0b528e0a.js → HEAD CIRCUM_GIRLS.zscore.yearly-14434e4f.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-e35d8b62.js → HEIGHT_BOYS.percentile.monthly-676f5530.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-521fe16f.js → HEIGHT_BOYS.percentile.weekly-60e45b6b.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-0330595f.js → HEIGHT_BOYS.percentile.yearly-15334902.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-829ea24d.js → HEIGHT_BOYS.zscore.monthly-bce4de71.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-a21e2c75.js → HEIGHT_BOYS.zscore.weekly-823114cd.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-9a35dcb2.js → HEIGHT_BOYS.zscore.yearly-835c9bb9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-2b496255.js → HEIGHT_GIRLS.percentile.monthly-553e9c6f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-798d0798.js → HEIGHT_GIRLS.percentile.weekly-feb2d33e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-98716d86.js → HEIGHT_GIRLS.percentile.yearly-6f499cc5.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-c7cae5ca.js → HEIGHT_GIRLS.zscore.monthly-abfe8b81.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-2a3d14bd.js → HEIGHT_GIRLS.zscore.weekly-b7966832.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-1f072a23.js → HEIGHT_GIRLS.zscore.yearly-37f75f33.js} +0 -0
- /package/build/{Visible-18046824.js → Visible-1c56fbc5.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-3934e3d6.js → WEIGHT_BOYS.percentile.monthly-91f605bd.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-d1e205d3.js → WEIGHT_BOYS.percentile.weekly-80e52ebe.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-60038eb2.js → WEIGHT_BOYS.percentile.yearly-a42fe36c.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-09c98a58.js → WEIGHT_BOYS.zscore.monthly-abd7d187.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-f5af9666.js → WEIGHT_BOYS.zscore.weekly-b4f653d8.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-af4fa571.js → WEIGHT_BOYS.zscore.yearly-e00bb874.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-8aba1338.js → WEIGHT_GIRLS.percentile.monthly-aacad85f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-5aa37aee.js → WEIGHT_GIRLS.percentile.weekly-92f347b4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-76c3462e.js → WEIGHT_GIRLS.percentile.yearly-cdea1c92.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-b95aebe5.js → WEIGHT_GIRLS.zscore.monthly-f1843232.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-f9e24db4.js → WEIGHT_GIRLS.zscore.weekly-a544817b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-48f4eb07.js → WEIGHT_GIRLS.zscore.yearly-1c0aa2ae.js} +0 -0
- /package/build/{cookieHelper-e985d4c7.js → cookieHelper-ffb4fd8b.js} +0 -0
- /package/build/{dataTransform-30c3f50a.js → dataTransform-6d870326.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-a4a0ad7b.js → BMI_BOYS.percentile.monthly-a3ce9938.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-63b2bfcf.js → BMI_BOYS.percentile.weekly-509586f6.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-ce94b23f.js → BMI_BOYS.percentile.yearly-c5bb805b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-ae9d6e27.js → BMI_BOYS.zscore.monthly-56a8ca62.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-2f5e4917.js → BMI_BOYS.zscore.weekly-f7ef381f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-f2a75999.js → BMI_BOYS.zscore.yearly-4d43acd4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-867ec46e.js → BMI_GIRLS.percentile.monthly-95bcbb2b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-175ab658.js → BMI_GIRLS.percentile.weekly-289ebe3b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-5ee37a78.js → BMI_GIRLS.percentile.yearly-3f7e04aa.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-c7b46d27.js → BMI_GIRLS.zscore.monthly-63241d58.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-6cf428b7.js → BMI_GIRLS.zscore.weekly-dcf15800.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-cf665059.js → BMI_GIRLS.zscore.yearly-a83f804e.js} +0 -0
- /package/build/esm/{ChevronDown-5eb26fa9.js → ChevronDown-9654e503.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-c0092a9b.js → HEAD CIRCUM_BOYS.percentile.monthly-01025ce1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-60e4e681.js → HEAD CIRCUM_BOYS.percentile.weekly-d57418d1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-e195a8f5.js → HEAD CIRCUM_BOYS.percentile.yearly-89076acf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-83ea3849.js → HEAD CIRCUM_BOYS.zscore.monthly-92d740bf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-9f9f34e6.js → HEAD CIRCUM_BOYS.zscore.weekly-712e4d7e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-3837882e.js → HEAD CIRCUM_BOYS.zscore.yearly-5a85d048.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-8eb0c2b1.js → HEAD CIRCUM_GIRLS.percentile.monthly-d3c2de41.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-e35d52a1.js → HEAD CIRCUM_GIRLS.percentile.weekly-e9eb1057.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-b85a212e.js → HEAD CIRCUM_GIRLS.percentile.yearly-b729a3d7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-d05611bf.js → HEAD CIRCUM_GIRLS.zscore.monthly-0e6d5b95.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-68620b06.js → HEAD CIRCUM_GIRLS.zscore.weekly-76b8c388.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-6589d2cd.js → HEAD CIRCUM_GIRLS.zscore.yearly-6c43b660.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-e528b356.js → HEIGHT_BOYS.percentile.monthly-bd14dfb3.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-5cc30d5e.js → HEIGHT_BOYS.percentile.weekly-28561e1d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-5f6d1261.js → HEIGHT_BOYS.percentile.yearly-95cbc5d4.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-df54093d.js → HEIGHT_BOYS.zscore.monthly-8f8c7e63.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-cb871f3e.js → HEIGHT_BOYS.zscore.weekly-b6b2133d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-be2bf770.js → HEIGHT_BOYS.zscore.yearly-0a721242.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-faac10ab.js → HEIGHT_GIRLS.percentile.monthly-0b7e5c85.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-171f0405.js → HEIGHT_GIRLS.percentile.weekly-0e965359.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-1e9a8a8c.js → HEIGHT_GIRLS.percentile.yearly-82135038.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-c6a3a15a.js → HEIGHT_GIRLS.zscore.monthly-78fc054c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-16914b26.js → HEIGHT_GIRLS.zscore.weekly-776a1a17.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-d1bb3b68.js → HEIGHT_GIRLS.zscore.yearly-c1f848e1.js} +0 -0
- /package/build/esm/{Visible-a28d7eb0.js → Visible-76578e44.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-eb935b31.js → WEIGHT_BOYS.percentile.monthly-d2143081.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-e87dae78.js → WEIGHT_BOYS.percentile.weekly-a1b742dc.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-3b5ceca6.js → WEIGHT_BOYS.percentile.yearly-426bf234.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-c289c49f.js → WEIGHT_BOYS.zscore.monthly-c2f66396.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-43ced9e1.js → WEIGHT_BOYS.zscore.weekly-dea5836f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-159239ae.js → WEIGHT_BOYS.zscore.yearly-3aaa5b87.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-2acfe764.js → WEIGHT_GIRLS.percentile.monthly-98555f5c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-0fa87a0f.js → WEIGHT_GIRLS.percentile.weekly-ed4ecaea.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-0009507a.js → WEIGHT_GIRLS.percentile.yearly-f1e194fc.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-e4df7056.js → WEIGHT_GIRLS.zscore.monthly-dadc78cb.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-1b18ee01.js → WEIGHT_GIRLS.zscore.weekly-8dd9e19c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-3e77aea2.js → WEIGHT_GIRLS.zscore.yearly-256c3290.js} +0 -0
- /package/build/esm/{cookieHelper-87d0e0e7.js → cookieHelper-b7f7d5f1.js} +0 -0
- /package/build/esm/{dataTransform-233027fc.js → dataTransform-3542601c.js} +0 -0
- /package/build/esm/{index-9d684c92.js → index-354ddd99.js} +0 -0
- /package/build/esm/{index-db903b7d.js → index-5e6b6109.js} +0 -0
- /package/build/esm/{index-0aeb7ac9.js → index-f9986ddb.js} +0 -0
- /package/build/esm/{isProduction-51fadd96.js → isProduction-13f6d491.js} +0 -0
- /package/build/esm/{localizeNumberFormat-f423cfc1.js → localizeNumberFormat-a578872d.js} +0 -0
- /package/build/esm/{normalizeLink-7f6a35f5.js → normalizeLink-f1a07e08.js} +0 -0
- /package/build/esm/{number-06671b87.js → number-4286843a.js} +0 -0
- /package/build/esm/{paths-b4d6519e.js → paths-a3913e3c.js} +0 -0
- /package/build/esm/{screenSizeContext-7e881f6d.js → screenSizeContext-fc852596.js} +0 -0
- /package/build/esm/{theme-f470318d.js → theme-afaf0d05.js} +0 -0
- /package/build/esm/{translationsContext-d199b4bc.js → translationsContext-74126881.js} +0 -0
- /package/build/esm/{tslib.es6-71be3ad2.js → tslib.es6-914e91bc.js} +0 -0
- /package/build/esm/{types-daf9f191.js → types-fee4011a.js} +0 -0
- /package/build/esm/{useIsInit-96aef578.js → useIsInit-531139ff.js} +0 -0
- /package/build/esm/{useOutsideClick-3c9bb801.js → useOutsideClick-1dc534d6.js} +0 -0
- /package/build/esm/{useScrollbarSize-a671c544.js → useScrollbarSize-bac85788.js} +0 -0
- /package/build/{index-69072e3c.js → index-0b14280f.js} +0 -0
- /package/build/{index-e906cca1.js → index-30a6de1a.js} +0 -0
- /package/build/{index-e46f2dda.js → index-94130616.js} +0 -0
- /package/build/{isProduction-8be63fc2.js → isProduction-51951576.js} +0 -0
- /package/build/{localizeNumberFormat-8a4ccd79.js → localizeNumberFormat-7d655858.js} +0 -0
- /package/build/{normalizeLink-f918ee2e.js → normalizeLink-b646fe58.js} +0 -0
- /package/build/{number-04972221.js → number-2bbfe6b9.js} +0 -0
- /package/build/{paths-7708bedf.js → paths-62703942.js} +0 -0
- /package/build/{screenSizeContext-927d5e3b.js → screenSizeContext-a6dd41f9.js} +0 -0
- /package/build/{theme-1bc846ef.js → theme-3f0985a0.js} +0 -0
- /package/build/{translationsContext-6e3c777d.js → translationsContext-8d6ba9f9.js} +0 -0
- /package/build/{tslib.es6-60cf710c.js → tslib.es6-5f2b74ff.js} +0 -0
- /package/build/{types-d48ad8ac.js → types-f1f451e3.js} +0 -0
- /package/build/{useIsInit-1b9b9148.js → useIsInit-e1320c4c.js} +0 -0
- /package/build/{useOutsideClick-44f136c3.js → useOutsideClick-9eb66aa1.js} +0 -0
- /package/build/{useScrollbarSize-7aaaacbb.js → useScrollbarSize-651139db.js} +0 -0
|
@@ -0,0 +1,3533 @@
|
|
|
1
|
+
"use strict";var e=require("react"),t=require("./index-cefda9d4.js"),a=require("./useTranslations-45ef6653.js");require("lodash/debounce"),require("./isProduction-51951576.js"),require("./index-85ea987c.js"),require("./useCategory-db396f3e.js");var i=require("@mantine/core"),r=require("styled-components"),o=require("./screenSizeContext-a6dd41f9.js"),n=require("./index-9c75f185.js"),l=require("./index-a3916b70.js"),d=require("./index.styles-5b4ce3f7.js"),s=require("./index-289338c5.js"),p=require("./tslib.es6-5f2b74ff.js"),c=require("dayjs"),m=require("./theme-3f0985a0.js"),u=require("./Subot-1722467d.js"),g=require("./gAssets.js"),h=require("./index-08284f8f.js");require("@mantine/dates"),require("./translationsContext-8d6ba9f9.js"),require("string-format"),require("@mantine/hooks");var f=require("@hookform/resolvers/yup"),x=require("react-hook-form"),b=require("./index-ee279ebe.js"),y=require("./constants-40e42f36.js"),v=require("./index.styled-366879b1.js"),w=require("date-fns");require("./utils-cef4a03b.js");var k=require("./index-dbb6aa7b.js"),C=require("./index-cdb7ff38.js");require("./index-0b14280f.js");var E=require("./types-f1f451e3.js"),$=require("react-day-picker/DayPickerInput");function D(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var S=D(e),B=D(r),M=D(c),z=D($),P="tliWyii";const T=e.memo((()=>S.default.createElement("div",{className:"shoppable"},S.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},S.default.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),S.default.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),I=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>S.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},S.default.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),N=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>S.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},S.default.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"}))));var A=i.createStyles(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const _=B.default.a`
|
|
2
|
+
display: flex;
|
|
3
|
+
height: 125px;
|
|
4
|
+
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
align-items: center;
|
|
8
|
+
padding: 8px;
|
|
9
|
+
|
|
10
|
+
border: 1px solid ${e=>e.theme.colors.neutral100};
|
|
11
|
+
background-color: white;
|
|
12
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
13
|
+
box-shadow: 0px 5px 12px rgba(40, 74, 117, 0.08);
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
text-decoration: none;
|
|
16
|
+
|
|
17
|
+
& > .banner {
|
|
18
|
+
width: 100%;
|
|
19
|
+
height: 63px;
|
|
20
|
+
text-align: center;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
& > .content {
|
|
24
|
+
display: -webkit-box;
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
-webkit-box-orient: vertical;
|
|
27
|
+
-webkit-line-clamp: 2;
|
|
28
|
+
text-align: center;
|
|
29
|
+
word-break: break-word;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
* {
|
|
33
|
+
pointer-events: none;
|
|
34
|
+
}
|
|
35
|
+
`,j=B.default.div`
|
|
36
|
+
display: flex;
|
|
37
|
+
|
|
38
|
+
&[data-type='vertical'] {
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
|
|
41
|
+
div {
|
|
42
|
+
margin-bottom: 20px;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&[data-type='horizontal'] {
|
|
47
|
+
flex-wrap: wrap;
|
|
48
|
+
|
|
49
|
+
div {
|
|
50
|
+
margin-right: 25px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&[data-is-rectangle] {
|
|
54
|
+
div {
|
|
55
|
+
margin-right: 14px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
`,O={"vi-VN":["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],"id-ID":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"ms-MY":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"km-KH":["មករា","ខែកុម្ភៈ","មីនា","ខែមេសា","ឧសភា","មិថុនា","ខែកក្កដា","សីហា","ខែកញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],"en-PH":["January","February","March","April","May","June","July","August","September","October","November","December"],"th-TH":["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","อาจ","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],"my-MM":["ဇန်နဝါရီလ","ဖေဖော်ဝါရီလ","မတ်လ","ပြီလ","မေလ","ဇွန","ဇူလိုင်လ","သြဂုတ်လ","စက်တင်ဘာ","အောက်တိုဘာ","နိုဝင်ဘာ","ဒီဇင်ဘာ"],"zh-TW":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],"hi-IN":["जनवरी","फ़रवरी","जुलूस","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},Q=B.default.div`
|
|
60
|
+
.pickerContainer {
|
|
61
|
+
position: relative;
|
|
62
|
+
padding-top: 0;
|
|
63
|
+
& > div > svg {
|
|
64
|
+
position: absolute;
|
|
65
|
+
top: 36px;
|
|
66
|
+
right: 16px;
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
& > :not(:first-child) {
|
|
71
|
+
position: absolute;
|
|
72
|
+
z-index: 2;
|
|
73
|
+
width: 100%;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&[data-is-static] .pickerOverlayWrapper {
|
|
78
|
+
position: static;
|
|
79
|
+
max-width: 250px;
|
|
80
|
+
aspect-ratio: 1 / 1;
|
|
81
|
+
|
|
82
|
+
> .pickerOverlay {
|
|
83
|
+
padding: 1rem;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.pickerOverlayWrapper {
|
|
88
|
+
min-width: 320px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&[data-align-right='true'] {
|
|
92
|
+
.pickerOverlayWrapper {
|
|
93
|
+
right: 0;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.pickerOverlay {
|
|
98
|
+
margin-top: 6px;
|
|
99
|
+
background: white;
|
|
100
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
101
|
+
box-shadow: 0px 6px 12px rgba(67, 86, 100, 0.2);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.picker {
|
|
105
|
+
width: 100%;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.react-datepicker-popper {
|
|
109
|
+
.react-datepicker {
|
|
110
|
+
display: flex;
|
|
111
|
+
width: 340px;
|
|
112
|
+
height: 305px;
|
|
113
|
+
align-items: center;
|
|
114
|
+
justify-content: center;
|
|
115
|
+
border: none;
|
|
116
|
+
box-shadow: (-1px 1px 2px rgba(67, 70, 74, 0.0001)),
|
|
117
|
+
(-2px 2px 5px rgba(67, 86, 100, 0.123689));
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.svg {
|
|
121
|
+
cursor: pointer;
|
|
122
|
+
stroke: ${e=>e.theme.colors.gray800};
|
|
123
|
+
}
|
|
124
|
+
.react-datepicker__day {
|
|
125
|
+
width: 40px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.react-datepicker__header {
|
|
129
|
+
border-bottom: 0;
|
|
130
|
+
background-color: white;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.react-datepicker__day--outside-month {
|
|
134
|
+
color: #e9e9e9;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.react-datepicker__day {
|
|
138
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.react-datepicker__day--selected,
|
|
142
|
+
.react-datepicker__day--today,
|
|
143
|
+
.react-datepicker__day--selected:hover,
|
|
144
|
+
.react-datepicker__day--keyboard-selected {
|
|
145
|
+
width: 32px;
|
|
146
|
+
height: 30px;
|
|
147
|
+
margin: 4px;
|
|
148
|
+
margin-bottom: -2px;
|
|
149
|
+
background: ${e=>e.theme.colors.primaryBase};
|
|
150
|
+
border-radius: 50%;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.react-datepicker__day-name {
|
|
154
|
+
width: 40px;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.react-datepicker__triangle {
|
|
158
|
+
display: none;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.react-datepicker__header.react-datepicker__header--custom {
|
|
162
|
+
svg {
|
|
163
|
+
stroke: #262626;
|
|
164
|
+
}
|
|
165
|
+
select {
|
|
166
|
+
background: ${e=>e.theme.colors.neutral100};
|
|
167
|
+
text-align: center;
|
|
168
|
+
&:not(:last-child) {
|
|
169
|
+
padding: 8px 10px;
|
|
170
|
+
margin-right: 15px;
|
|
171
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/* DayPicker styles */
|
|
178
|
+
|
|
179
|
+
.DayPicker {
|
|
180
|
+
display: inline-block;
|
|
181
|
+
font-size: 1rem;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.DayPicker-wrapper {
|
|
185
|
+
position: relative;
|
|
186
|
+
|
|
187
|
+
flex-direction: row;
|
|
188
|
+
padding-bottom: 1em;
|
|
189
|
+
|
|
190
|
+
-webkit-user-select: none;
|
|
191
|
+
|
|
192
|
+
-moz-user-select: none;
|
|
193
|
+
|
|
194
|
+
-ms-user-select: none;
|
|
195
|
+
|
|
196
|
+
user-select: none;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.DayPicker-Months {
|
|
200
|
+
display: flex;
|
|
201
|
+
flex-wrap: wrap;
|
|
202
|
+
justify-content: center;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.DayPicker-Month {
|
|
206
|
+
display: table;
|
|
207
|
+
margin: 0 16px;
|
|
208
|
+
margin-top: 16px;
|
|
209
|
+
border-collapse: collapse;
|
|
210
|
+
border-spacing: 0;
|
|
211
|
+
|
|
212
|
+
-webkit-user-select: none;
|
|
213
|
+
|
|
214
|
+
-moz-user-select: none;
|
|
215
|
+
|
|
216
|
+
-ms-user-select: none;
|
|
217
|
+
|
|
218
|
+
user-select: none;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.DayPicker-NavBar {
|
|
222
|
+
position: absolute;
|
|
223
|
+
top: 16px;
|
|
224
|
+
left: 0;
|
|
225
|
+
display: flex;
|
|
226
|
+
width: 100%;
|
|
227
|
+
height: 0;
|
|
228
|
+
align-items: center;
|
|
229
|
+
justify-content: space-between;
|
|
230
|
+
padding: 0 20px;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.DayPicker-NavButton {
|
|
234
|
+
width: 24px;
|
|
235
|
+
height: 24px;
|
|
236
|
+
margin-bottom: -47px;
|
|
237
|
+
background-position: center;
|
|
238
|
+
background-repeat: no-repeat;
|
|
239
|
+
background-size: 16px 16px;
|
|
240
|
+
color: #8b9898;
|
|
241
|
+
cursor: pointer;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.DayPicker-NavButton:hover {
|
|
245
|
+
opacity: 0.8;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.DayPicker-NavButton--prev {
|
|
249
|
+
//left: 2px;
|
|
250
|
+
background-image: url("data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 9L1 5L5 1' stroke='%23262626' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.DayPicker-NavButton--next {
|
|
254
|
+
//right: 2px;
|
|
255
|
+
background-image: url("data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L1 9' stroke='%23262626' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.DayPicker-NavButton--interactionDisabled {
|
|
259
|
+
display: none;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.DayPicker-Caption {
|
|
263
|
+
display: table-caption;
|
|
264
|
+
width: 100%;
|
|
265
|
+
height: 46px;
|
|
266
|
+
padding: 0 32px;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.DayPicker-Caption select {
|
|
270
|
+
font-size: 16px;
|
|
271
|
+
font-weight: 600;
|
|
272
|
+
line-height: 24px;
|
|
273
|
+
text-align: left;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.DayPicker-Weekdays {
|
|
277
|
+
display: table-header-group;
|
|
278
|
+
margin-top: 1em;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.DayPicker-WeekdaysRow {
|
|
282
|
+
display: table-row;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.DayPicker-Weekday {
|
|
286
|
+
display: table-cell;
|
|
287
|
+
padding: 0.5em;
|
|
288
|
+
color: #8b9898;
|
|
289
|
+
font-size: 0.875em;
|
|
290
|
+
text-align: center;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.DayPicker-Weekday abbr[title] {
|
|
294
|
+
border-bottom: none;
|
|
295
|
+
text-decoration: none;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.DayPicker-Body {
|
|
299
|
+
display: table-row-group;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.DayPicker-Week {
|
|
303
|
+
display: table-row;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.DayPicker-Day {
|
|
307
|
+
display: table-cell;
|
|
308
|
+
|
|
309
|
+
width: 40px;
|
|
310
|
+
height: 40px;
|
|
311
|
+
border-radius: 50%;
|
|
312
|
+
cursor: pointer;
|
|
313
|
+
text-align: center;
|
|
314
|
+
vertical-align: middle;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.DayPicker-WeekNumber {
|
|
318
|
+
display: table-cell;
|
|
319
|
+
min-width: 1em;
|
|
320
|
+
padding: 0.5em;
|
|
321
|
+
border-right: 1px solid #eaecec;
|
|
322
|
+
color: #8b9898;
|
|
323
|
+
cursor: pointer;
|
|
324
|
+
font-size: 0.75em;
|
|
325
|
+
text-align: right;
|
|
326
|
+
vertical-align: middle;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.DayPicker--interactionDisabled .DayPicker-Day {
|
|
330
|
+
cursor: default;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.DayPicker-Footer {
|
|
334
|
+
padding-top: 0.5em;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.DayPicker-TodayButton {
|
|
338
|
+
border: none;
|
|
339
|
+
background-color: transparent;
|
|
340
|
+
background-image: none;
|
|
341
|
+
box-shadow: none;
|
|
342
|
+
color: #4a90e2;
|
|
343
|
+
cursor: pointer;
|
|
344
|
+
font-size: 0.875em;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
/* Default modifiers */
|
|
348
|
+
|
|
349
|
+
.DayPicker-Day--today {
|
|
350
|
+
color: #d0021b;
|
|
351
|
+
font-weight: 700;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.DayPicker-Day--outside {
|
|
355
|
+
color: #8b9898;
|
|
356
|
+
cursor: default;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.DayPicker-Day--disabled {
|
|
360
|
+
color: #dce0e0;
|
|
361
|
+
cursor: default;
|
|
362
|
+
/* background-color: #eff1f1; */
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
/* Example modifiers */
|
|
366
|
+
|
|
367
|
+
.DayPicker-Day--sunday {
|
|
368
|
+
background-color: #f7f8f8;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.DayPicker-Day--sunday:not(.DayPicker-Day--today) {
|
|
372
|
+
color: #dce0e0;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(
|
|
376
|
+
.DayPicker-Day--outside
|
|
377
|
+
) {
|
|
378
|
+
position: relative;
|
|
379
|
+
|
|
380
|
+
background-color: ${e=>e.theme.colors.primaryBase};
|
|
381
|
+
color: #f0f8ff;
|
|
382
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(
|
|
386
|
+
.DayPicker-Day--outside
|
|
387
|
+
):hover {
|
|
388
|
+
background-color: #51a0fa;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.DayPicker:not(.DayPicker--interactionDisabled)
|
|
392
|
+
.DayPicker-Day:not(.DayPicker-Day--disabled):not(
|
|
393
|
+
.DayPicker-Day--selected
|
|
394
|
+
):not(.DayPicker-Day--outside):hover {
|
|
395
|
+
background-color: #f0f8ff;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/* DayPickerInput */
|
|
399
|
+
|
|
400
|
+
.DayPickerInput {
|
|
401
|
+
display: inline-block;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.DayPickerInput-OverlayWrapper {
|
|
405
|
+
position: relative;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.DayPickerInput-Overlay {
|
|
409
|
+
position: absolute;
|
|
410
|
+
z-index: 1;
|
|
411
|
+
left: 0;
|
|
412
|
+
|
|
413
|
+
background: white;
|
|
414
|
+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
|
|
415
|
+
}
|
|
416
|
+
`,U=B.default.form`
|
|
417
|
+
display: flex;
|
|
418
|
+
width: 100%;
|
|
419
|
+
|
|
420
|
+
height: 46px;
|
|
421
|
+
align-items: center;
|
|
422
|
+
justify-content: space-between;
|
|
423
|
+
& > :first-child {
|
|
424
|
+
margin-right: 10px;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
& * {
|
|
428
|
+
height: 46px;
|
|
429
|
+
padding: 10px 10px;
|
|
430
|
+
background: ${e=>e.theme.colors.neutral100};
|
|
431
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
432
|
+
}
|
|
433
|
+
`,F=({alignRight:t=!0,placeholder:a,displayDateFormat:i,onChange:r,customInput:o,pickedDate:n,className:l,isStatic:d,disabledDays:s,modifiers:p,UnHideOnClickOutside:c,initialMonth:m,locale:u="en-PH"})=>{const g=e.useRef(!1),h=w.format,[f,x]=e.useState(m||new Date),b=e.useRef(null),y=e.useRef(null),v=O[u],k=e=>{c||b.current&&b.current.contains(e.target)||y.current&&y.current.hideDayPicker()},C=(new Date).getFullYear(),E=new Date(C-150,0),$=new Date(C+1,0),D=({date:e,onChange:t,monthLabels:a})=>{const i=[];for(let e=$.getFullYear();e>=E.getFullYear();e-=1)i.push(e);const r=function(e){const{year:a,month:i}=e.target.form;t(new Date(a.value,i.value))};return S.default.createElement("div",{className:"DayPicker-Caption"},S.default.createElement(U,null,S.default.createElement("select",{name:"month",onChange:r,value:e.getMonth()},a.map(((e,t)=>S.default.createElement("option",{key:e,value:t},e)))),S.default.createElement("select",{name:"year",onChange:r,value:e.getFullYear()},i.map((e=>S.default.createElement("option",{key:e,value:e},e))))))};return e.useEffect((()=>(document.addEventListener("mousedown",k,{passive:!0}),()=>{document.removeEventListener("mousedown",k,!1)})),[]),S.default.createElement(Q,{className:l,"data-align-right":t,ref:b,"data-is-static":d||void 0},S.default.createElement(z.default,{ref:y,inputProps:{readOnly:!0},keepFocus:!1,classNames:{container:"pickerContainer",overlayWrapper:"pickerOverlayWrapper",overlay:"pickerOverlay"},component:o&&S.default.forwardRef(((e,t)=>S.default.createElement(o,Object.assign({},e)))),onDayPickerHide:()=>{g.current=!1},onDayPickerShow:()=>{g.current=!0},dayPickerProps:{month:f,className:"picker",selectedDays:n,canChangeMonth:!0,enableOutsideDaysClick:!d,firstDayOfWeek:1,captionElement:({date:e,localeUtils:t})=>{const a=null==t?void 0:t.getMonths();return S.default.createElement(D,{date:e,monthLabels:v||a,onChange:x})},disabledDays:s||void 0,modifiers:p},format:i||"yyyy-MM-dd",formatDate:(e,t)=>h(e,t),hideOnDayClick:!d,placeholder:a||"",onDayChange:e=>{var t;t=e,y.current&&!d&&y.current.hideDayPicker(),r&&r(t)},showOverlay:d}))},R=B.default.div`
|
|
434
|
+
display: flex;
|
|
435
|
+
align-items: center;
|
|
436
|
+
--font-weight-lg: ${e=>e.theme.sizes.fwBold};
|
|
437
|
+
--font-weight-md: ${e=>e.theme.sizes.fwRegular};
|
|
438
|
+
--font-weight-sm: ${e=>e.theme.sizes.fwRegular};
|
|
439
|
+
|
|
440
|
+
&[data-icon-position='left'] {
|
|
441
|
+
& > *:first-child {
|
|
442
|
+
margin-right: 8px;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
& > *:last-child {
|
|
446
|
+
width: calc(100% - 24px);
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
&[data-icon-position='right'] {
|
|
450
|
+
& > *:first-child {
|
|
451
|
+
width: calc(100% - 24px);
|
|
452
|
+
}
|
|
453
|
+
& > *:last-child {
|
|
454
|
+
margin-left: 8px;
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
${o.MediaQueries.mbDown} {
|
|
459
|
+
&[data-size='lg'] {
|
|
460
|
+
font-size: 16px;
|
|
461
|
+
line-height: 24px;
|
|
462
|
+
font-weight: var(--font-weight-lg);
|
|
463
|
+
}
|
|
464
|
+
&[data-size='md'] {
|
|
465
|
+
font-size: 14px;
|
|
466
|
+
line-height: 22px;
|
|
467
|
+
font-weight: var(--font-weight-md);
|
|
468
|
+
}
|
|
469
|
+
&[data-size='sm'] {
|
|
470
|
+
font-size: 13px;
|
|
471
|
+
line-height: 20px;
|
|
472
|
+
font-weight: var(----font-weight-sm);
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
`,G=B.default.div`
|
|
476
|
+
position: relative;
|
|
477
|
+
width: 100%;
|
|
478
|
+
|
|
479
|
+
& div[role='slider'] {
|
|
480
|
+
-webkit-text-size-adjust: none;
|
|
481
|
+
-webkit-user-select: none;
|
|
482
|
+
&:focus {
|
|
483
|
+
outline: none;
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
`,L=B.default.div`
|
|
487
|
+
position: absolute;
|
|
488
|
+
top: 19px;
|
|
489
|
+
width: 24px;
|
|
490
|
+
height: 24px;
|
|
491
|
+
color: ${e=>e.theme.colors.white};
|
|
492
|
+
border: 2px solid ${e=>e.theme.colors.white};
|
|
493
|
+
border-radius: 50%;
|
|
494
|
+
transform: translateY(-50%) translateX(-50%);
|
|
495
|
+
display: flex;
|
|
496
|
+
align-items: center;
|
|
497
|
+
justify-content: center;
|
|
498
|
+
cursor: pointer;
|
|
499
|
+
|
|
500
|
+
background-color: ${e=>e.theme.colors.white};
|
|
501
|
+
color: ${e=>e.theme.colors.gray300};
|
|
502
|
+
border: 1px solid ${e=>e.theme.colors.gray300};
|
|
503
|
+
|
|
504
|
+
&[data-is-active='true'] {
|
|
505
|
+
background-color: ${e=>e.theme.colors.primaryBase};
|
|
506
|
+
color: ${e=>e.theme.colors.white};
|
|
507
|
+
border: none;
|
|
508
|
+
}
|
|
509
|
+
`,H=B.default.div`
|
|
510
|
+
display: flex;
|
|
511
|
+
width: 100%;
|
|
512
|
+
height: 36px;
|
|
513
|
+
|
|
514
|
+
&[data-track-type='detail'] {
|
|
515
|
+
margin-top: 0;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
&[data-track-type='detail'][data-step-passed='true'] > div {
|
|
519
|
+
border: 1px solid ${e=>e.theme.colors.primaryBase};
|
|
520
|
+
height: 0px;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
&[data-track-type='detail'] > div {
|
|
524
|
+
border: 1px solid ${e=>e.theme.colors.gray200};
|
|
525
|
+
height: 0px;
|
|
526
|
+
}
|
|
527
|
+
`,q=B.default.div`
|
|
528
|
+
width: 100%;
|
|
529
|
+
height: 5px;
|
|
530
|
+
align-self: center;
|
|
531
|
+
border-radius: 4px;
|
|
532
|
+
background-color: ${e=>e.theme.colors.gray200};
|
|
533
|
+
`,W=B.default.div`
|
|
534
|
+
position: absolute;
|
|
535
|
+
top: 32px;
|
|
536
|
+
min-width: 100px;
|
|
537
|
+
text-align: center;
|
|
538
|
+
color: ${e=>e.theme.colors.gray500};
|
|
539
|
+
font-size: ${e=>e.theme.sizes.fsCaption2};
|
|
540
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
541
|
+
|
|
542
|
+
&[data-step-passed='true'] {
|
|
543
|
+
color: ${e=>e.theme.colors.gray800};
|
|
544
|
+
}
|
|
545
|
+
`,V=B.default.div`
|
|
546
|
+
display: flex;
|
|
547
|
+
align-items: center;
|
|
548
|
+
`,Y=B.default.div`
|
|
549
|
+
display: flex;
|
|
550
|
+
align-items: center;
|
|
551
|
+
font-size: ${e=>e.theme.sizes.fsCaption2};
|
|
552
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
553
|
+
color: ${e=>e.theme.colors.gray500};
|
|
554
|
+
cursor: pointer;
|
|
555
|
+
|
|
556
|
+
& > svg {
|
|
557
|
+
height: 10px;
|
|
558
|
+
width: 10px;
|
|
559
|
+
margin: 0 14px;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
& > svg > path {
|
|
563
|
+
stroke: ${e=>e.theme.colors.gray500};
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
&[data-selected='true'] {
|
|
567
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
568
|
+
}
|
|
569
|
+
`,Z=B.default.div`
|
|
570
|
+
position: absolute;
|
|
571
|
+
left: 0;
|
|
572
|
+
top: 19px;
|
|
573
|
+
height: 24px;
|
|
574
|
+
cursor: pointer;
|
|
575
|
+
|
|
576
|
+
transform: translateY(-50%);
|
|
577
|
+
display: flex;
|
|
578
|
+
align-items: center;
|
|
579
|
+
|
|
580
|
+
padding: 8px;
|
|
581
|
+
background-color: ${e=>e.theme.colors.white};
|
|
582
|
+
`,X=B.default.div`
|
|
583
|
+
min-width: 24px;
|
|
584
|
+
height: 24px;
|
|
585
|
+
border: 2px solid ${e=>e.theme.colors.white};
|
|
586
|
+
border-radius: 50%;
|
|
587
|
+
margin-right: 8px;
|
|
588
|
+
display: flex;
|
|
589
|
+
align-items: center;
|
|
590
|
+
justify-content: center;
|
|
591
|
+
cursor: pointer;
|
|
592
|
+
|
|
593
|
+
background-color: ${e=>e.theme.colors.white};
|
|
594
|
+
color: ${e=>e.theme.colors.gray300};
|
|
595
|
+
border: 1px solid ${e=>e.theme.colors.gray300};
|
|
596
|
+
|
|
597
|
+
&[data-is-active='true'] {
|
|
598
|
+
border: none;
|
|
599
|
+
background-color: ${e=>e.theme.colors.primaryBase};
|
|
600
|
+
color: ${e=>e.theme.colors.white};
|
|
601
|
+
}
|
|
602
|
+
`,J=B.default.div`
|
|
603
|
+
display: flex;
|
|
604
|
+
align-items: center;
|
|
605
|
+
justify-content: center;
|
|
606
|
+
|
|
607
|
+
& > svg {
|
|
608
|
+
height: 20px;
|
|
609
|
+
width: 20px;
|
|
610
|
+
margin-right: 8px;
|
|
611
|
+
|
|
612
|
+
& > path {
|
|
613
|
+
stroke: ${e=>e.theme.colors.gray500};
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
`,K=B.default.div`
|
|
617
|
+
color: ${e=>e.theme.colors.gray400};
|
|
618
|
+
font-size: ${e=>e.theme.sizes.fsCaption2};
|
|
619
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
620
|
+
margin-right: 8px;
|
|
621
|
+
flex: 0 0 auto;
|
|
622
|
+
|
|
623
|
+
&[data-step-passed='true'] {
|
|
624
|
+
color: ${e=>e.theme.colors.gray800};
|
|
625
|
+
}
|
|
626
|
+
`,ee=B.default.div`
|
|
627
|
+
position: absolute;
|
|
628
|
+
top: 32px;
|
|
629
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
630
|
+
color: ${e=>e.theme.colors.gray400};
|
|
631
|
+
padding-right: 16px;
|
|
632
|
+
`,te=S.default.forwardRef((({id:t,value:a,options:r,className:o,isDisabled:n,size:l="small",direction:d="vertical",onChange:s,dataEventCategory:p,dataEventAction:c,dataEventLabel:m},u)=>{const[g,f]=e.useState(a);e.useImperativeHandle(u,(()=>({reset(){f(a)}})));const x="small"===l?"md":"lg",b="vertical"===d?i.Stack:i.Group;return S.default.createElement(h.Radio.Group,{name:t,className:o,size:x,value:String(g),defaultValue:a,onChange:e=>{f(e),null==s||s(e)}},S.default.createElement(b,{spacing:"xl"},r.map((e=>S.default.createElement(h.Radio,{key:e.value,value:e.value,label:e.label,disabled:n,"data-event-category":p,"data-event-action":c,"data-event-label":m})))))})),ae=B.default.div`
|
|
633
|
+
--menu-width: 240px;
|
|
634
|
+
--menu-spacing: 28px 16px;
|
|
635
|
+
width: var(--menu-width);
|
|
636
|
+
height: 100vh;
|
|
637
|
+
padding: var(--menu-spacing);
|
|
638
|
+
background-color: ${e=>e.theme.colors.neutral50};
|
|
639
|
+
transition: ease-in-out 0.5s;
|
|
640
|
+
|
|
641
|
+
&[data-is-collapsed] {
|
|
642
|
+
--menu-width: 64px;
|
|
643
|
+
--menu-spacing: 28px 8px;
|
|
644
|
+
}
|
|
645
|
+
`,ie=B.default.div`
|
|
646
|
+
display: flex;
|
|
647
|
+
align-items: baseline;
|
|
648
|
+
justify-content: space-between;
|
|
649
|
+
|
|
650
|
+
svg {
|
|
651
|
+
transition: 0.4s ease-in-out;
|
|
652
|
+
}
|
|
653
|
+
`,re=B.default.div`
|
|
654
|
+
cursor: pointer;
|
|
655
|
+
&[data-is-collapsed] {
|
|
656
|
+
transform: rotate(180deg);
|
|
657
|
+
}
|
|
658
|
+
`,oe=B.default.figure`
|
|
659
|
+
display: flex;
|
|
660
|
+
|
|
661
|
+
> img,
|
|
662
|
+
svg,
|
|
663
|
+
picture {
|
|
664
|
+
width: 40px;
|
|
665
|
+
height: 40px;
|
|
666
|
+
margin-right: 1rem;
|
|
667
|
+
border-radius: 6px;
|
|
668
|
+
object-fit: cover;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
> figcaption {
|
|
672
|
+
p + p {
|
|
673
|
+
margin-top: 2px;
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
`,ne=({name:e,description:a,image:i,isDescriptionHidden:r})=>S.default.createElement(oe,null,i,!r&&S.default.createElement("figcaption",null,S.default.createElement(t.Text,{size:"p4",weight:"bold"},e),S.default.createElement(t.Text,{size:"p4"},a))),le=B.default.div`
|
|
677
|
+
display: flex;
|
|
678
|
+
align-items: center;
|
|
679
|
+
margin-top: 24px;
|
|
680
|
+
margin-bottom: 36px;
|
|
681
|
+
|
|
682
|
+
figcaption {
|
|
683
|
+
white-space: nowrap;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
&[data-is-collapsed='true'] {
|
|
687
|
+
img {
|
|
688
|
+
max-width: 2rem;
|
|
689
|
+
max-height: 2rem;
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
`,de=B.default.div`
|
|
693
|
+
display: flex;
|
|
694
|
+
align-items: center;
|
|
695
|
+
padding: 9px 21px;
|
|
696
|
+
margin-bottom: 4px;
|
|
697
|
+
border-radius: 6px;
|
|
698
|
+
|
|
699
|
+
&:not([data-is-link-active]) {
|
|
700
|
+
cursor: pointer;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
p {
|
|
704
|
+
margin-left: 12px;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
&[data-is-link-active] {
|
|
708
|
+
background: ${e=>e.theme.colors.primaryBase};
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
&[data-is-link-collapsed] {
|
|
712
|
+
justify-content: center;
|
|
713
|
+
margin-right: -14px;
|
|
714
|
+
margin-left: -14px;
|
|
715
|
+
}
|
|
716
|
+
`,se=B.default.div`
|
|
717
|
+
position: relative;
|
|
718
|
+
width: 100%;
|
|
719
|
+
> .container {
|
|
720
|
+
display: flex;
|
|
721
|
+
width: 100%;
|
|
722
|
+
-ms-overflow-style: none;
|
|
723
|
+
overflow-x: auto;
|
|
724
|
+
scrollbar-width: none;
|
|
725
|
+
|
|
726
|
+
&::-webkit-scrollbar {
|
|
727
|
+
display: none;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
.section {
|
|
731
|
+
display: flex;
|
|
732
|
+
width: 100%;
|
|
733
|
+
flex-direction: column;
|
|
734
|
+
flex-shrink: 0;
|
|
735
|
+
margin: auto;
|
|
736
|
+
|
|
737
|
+
> .grid-layout {
|
|
738
|
+
display: grid;
|
|
739
|
+
width: 100%;
|
|
740
|
+
grid-row-gap: 8px;
|
|
741
|
+
|
|
742
|
+
> .item-grid {
|
|
743
|
+
width: 100%;
|
|
744
|
+
|
|
745
|
+
> * {
|
|
746
|
+
margin: 0 auto;
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
.progress-bar {
|
|
752
|
+
display: grid;
|
|
753
|
+
height: 15px;
|
|
754
|
+
margin-bottom: 10px;
|
|
755
|
+
|
|
756
|
+
.items-progress {
|
|
757
|
+
position: relative;
|
|
758
|
+
display: flex;
|
|
759
|
+
width: 100%;
|
|
760
|
+
align-items: center;
|
|
761
|
+
justify-content: center;
|
|
762
|
+
|
|
763
|
+
.icon-status {
|
|
764
|
+
position: absolute;
|
|
765
|
+
display: flex;
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
.line {
|
|
769
|
+
width: 50%;
|
|
770
|
+
height: 2px;
|
|
771
|
+
background-color: ${e=>e.theme.colors.gray600};
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
.bullet-nav {
|
|
779
|
+
position: absolute;
|
|
780
|
+
z-index: ${e=>e.theme.zIndexes.belowHeader};
|
|
781
|
+
bottom: -30px;
|
|
782
|
+
left: 50%;
|
|
783
|
+
display: flex;
|
|
784
|
+
transform: translate(-50%, -50%);
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
.bullet-nav__link {
|
|
788
|
+
display: block;
|
|
789
|
+
width: 8px;
|
|
790
|
+
height: 8px;
|
|
791
|
+
padding: 0;
|
|
792
|
+
margin-right: 8px;
|
|
793
|
+
backface-visibility: hidden;
|
|
794
|
+
background-color: #e4e8ec;
|
|
795
|
+
border-radius: 50%;
|
|
796
|
+
cursor: pointer;
|
|
797
|
+
transition: all 0.3s;
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
.bullet-nav__link.active[data-scheme='hellosites'] {
|
|
801
|
+
background-color: ${e=>e.theme.colors.primary600};
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
.bullet-nav__link.active[data-scheme='marrybaby'] {
|
|
805
|
+
background-color: ${e=>e.theme.mbColors.pink};
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
.arrow-left {
|
|
809
|
+
position: absolute;
|
|
810
|
+
z-index: 10;
|
|
811
|
+
top: 50%;
|
|
812
|
+
left: -35px;
|
|
813
|
+
transform: translateY(-50%);
|
|
814
|
+
&[data-event-category] > * {
|
|
815
|
+
pointer-events: none;
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
.arrow-right {
|
|
820
|
+
position: absolute;
|
|
821
|
+
z-index: 10;
|
|
822
|
+
top: 50%;
|
|
823
|
+
right: -35px;
|
|
824
|
+
transform: translateY(-50%);
|
|
825
|
+
&[data-event-category] > * {
|
|
826
|
+
pointer-events: none;
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
.image-gallery-wrapper {
|
|
831
|
+
display: flex;
|
|
832
|
+
position: relative;
|
|
833
|
+
margin-top: 16px;
|
|
834
|
+
justify-content: center;
|
|
835
|
+
gap: 16px;
|
|
836
|
+
.image-block {
|
|
837
|
+
display: block;
|
|
838
|
+
width: 100%;
|
|
839
|
+
border: 2px solid transparent;
|
|
840
|
+
border-radius: 4px;
|
|
841
|
+
}
|
|
842
|
+
.image-block.active {
|
|
843
|
+
border-color: ${e=>e.theme.colors.primaryBase};
|
|
844
|
+
}
|
|
845
|
+
img {
|
|
846
|
+
height: 40px;
|
|
847
|
+
width: auto;
|
|
848
|
+
max-width: 100%;
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
`,pe=B.default.div`
|
|
852
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
853
|
+
${e=>e["data-is-in-card"]&&`\n padding: 12px; \n background-color: ${e["data-card-color"]};`}
|
|
854
|
+
`,ce=B.default.div`
|
|
855
|
+
width: 13px;
|
|
856
|
+
height: 13px;
|
|
857
|
+
margin-right: 10px;
|
|
858
|
+
background-color: ${e=>e["data-color"]};
|
|
859
|
+
border-radius: 50%;
|
|
860
|
+
`,me=B.default.div`
|
|
861
|
+
display: flex;
|
|
862
|
+
align-items: center;
|
|
863
|
+
color: ${e=>e.theme.colors.gray800};
|
|
864
|
+
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
865
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
866
|
+
`,ue=B.default.div`
|
|
867
|
+
display: flex;
|
|
868
|
+
align-items: center;
|
|
869
|
+
margin-top: 4px;
|
|
870
|
+
color: ${e=>e.theme.colors.gray800};
|
|
871
|
+
font-size: ${e=>e.theme.sizes.fsHeading2};
|
|
872
|
+
font-weight: ${e=>e.theme.sizes.fwSemiBold};
|
|
873
|
+
|
|
874
|
+
& > svg {
|
|
875
|
+
width: 24px;
|
|
876
|
+
height: 24px;
|
|
877
|
+
margin-right: 12px;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
&[data-size='small'] {
|
|
881
|
+
margin-left: 23px;
|
|
882
|
+
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
883
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
884
|
+
}
|
|
885
|
+
`,ge=B.default.table`
|
|
886
|
+
--horizontal-spacing: ${e=>e.theme.horizontalPadding||"19px"};
|
|
887
|
+
--vertical-spacing: ${e=>e.theme.verticalPadding||"26px"};
|
|
888
|
+
width: 100%;
|
|
889
|
+
position: relative;
|
|
890
|
+
`,he=B.default.td`
|
|
891
|
+
padding: var(--vertical-spacing) var(--horizontal-spacing);
|
|
892
|
+
vertical-align: middle;
|
|
893
|
+
|
|
894
|
+
&[data-text-align='left'] {
|
|
895
|
+
text-align: left;
|
|
896
|
+
}
|
|
897
|
+
&[data-text-align='right'] {
|
|
898
|
+
text-align: right;
|
|
899
|
+
}
|
|
900
|
+
&[data-text-align='center'] {
|
|
901
|
+
text-align: center;
|
|
902
|
+
}
|
|
903
|
+
`,fe=B.default.tr`
|
|
904
|
+
border-bottom: 1px solid ${e=>e.theme.colors.gray100};
|
|
905
|
+
|
|
906
|
+
&[data-is-active='true'] {
|
|
907
|
+
background-color: ${e=>e.theme.colors.gray200};
|
|
908
|
+
}
|
|
909
|
+
`,xe=({children:e,className:t,style:a,isActive:i,onRowClicked:r,rowId:o})=>S.default.createElement(fe,{className:t,"data-is-active":i,style:a,onClick:()=>{r&&r(o)}},e),be=B.default.thead`
|
|
910
|
+
th {
|
|
911
|
+
padding: var(--vertical-spacing) var(--horizontal-spacing);
|
|
912
|
+
text-align: left;
|
|
913
|
+
|
|
914
|
+
color: ${e=>e.theme.colors.gray500};
|
|
915
|
+
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
916
|
+
}
|
|
917
|
+
&[data-is-sticky] {
|
|
918
|
+
th {
|
|
919
|
+
position: sticky;
|
|
920
|
+
top: 0;
|
|
921
|
+
background: white;
|
|
922
|
+
border-bottom: 2px solid
|
|
923
|
+
${e=>e.theme.colors.gray200};
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
`,ye=B.default.tbody`
|
|
927
|
+
position: relative;
|
|
928
|
+
&[data-is-striped] {
|
|
929
|
+
> tr:nth-child(odd) {
|
|
930
|
+
background-color: ${e=>e.theme.colors.neutral50};
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
&[data-is-hoverable] {
|
|
934
|
+
> tr:hover {
|
|
935
|
+
background-color: ${e=>e.theme.colors.neutral100};
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
`;var ve=i.createStyles((e=>{const t=i.getStylesRef("itemLabel");return{root:{display:"inline-flex",maxWidth:"100%",borderBottom:`1px solid ${e.colors.neutral[1]}`,"-webkit-overflow-scrolling":"touch",overflowX:"auto",overflowY:"hidden","-ms-overflow-style":"none","scrollbar-width":"none","&::-webkit-scrollbar":{display:"none"},columnGap:e.spacing.lg},item:{display:"flex",alignItems:"center",paddingBottom:"4px","&:hover":{cursor:"pointer"},"&.active":{color:e.fn.primaryColor(),borderBottom:`3px solid ${e.fn.primaryColor()}`,bottom:"-1px",position:"relative",[`& .${t}`]:{}},"&[data-event-category] > *":{pointerEvents:"none"}},itemInner:{display:"flex",alignItems:"center"},label:{ref:t},icon:{marginRight:e.spacing.xs}}}));const we=B.default.div`
|
|
939
|
+
padding: 1rem;
|
|
940
|
+
background: ${e=>e.theme.colors.neutral100};
|
|
941
|
+
.survey-inner-wrapper {
|
|
942
|
+
padding: 1.25rem 1rem 1.5rem;
|
|
943
|
+
background: ${e=>e.theme.colors.white};
|
|
944
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
945
|
+
.survey-header {
|
|
946
|
+
border-bottom: 1px solid #dbdfe5;
|
|
947
|
+
margin-bottom: 12px;
|
|
948
|
+
.survey-header-text {
|
|
949
|
+
color: ${e=>e.theme.colors.gray500};
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
.survey-contact-submit {
|
|
954
|
+
width: 100%;
|
|
955
|
+
margin-bottom: 1.5rem;
|
|
956
|
+
}
|
|
957
|
+
.term-policy-container {
|
|
958
|
+
width: 70%;
|
|
959
|
+
min-width: 210px;
|
|
960
|
+
max-width: 100%;
|
|
961
|
+
margin: 0 auto 1.5rem;
|
|
962
|
+
text-align: center;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
.survey-progress-wrapper {
|
|
966
|
+
width: calc(100% + 2rem);
|
|
967
|
+
height: 4px;
|
|
968
|
+
margin-bottom: 1rem;
|
|
969
|
+
margin-left: -1rem;
|
|
970
|
+
background: #e4e8ec;
|
|
971
|
+
.survey-progress {
|
|
972
|
+
width: 100%;
|
|
973
|
+
height: 100%;
|
|
974
|
+
background: #00b16a;
|
|
975
|
+
transform: scaleX(0);
|
|
976
|
+
transform-origin: left;
|
|
977
|
+
transition: transform ease-in-out 0.3s;
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
.survey-button-wrapper {
|
|
982
|
+
display: flex;
|
|
983
|
+
justify-content: flex-end;
|
|
984
|
+
button {
|
|
985
|
+
justify-content: center;
|
|
986
|
+
&[data-has-icon='true'] {
|
|
987
|
+
svg {
|
|
988
|
+
width: 10px;
|
|
989
|
+
height: 10px;
|
|
990
|
+
margin-right: 10px;
|
|
991
|
+
vertical-align: unset;
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
&.survey-next-button {
|
|
995
|
+
&[data-has-icon='true'] {
|
|
996
|
+
svg {
|
|
997
|
+
margin-right: 0;
|
|
998
|
+
margin-left: 10px;
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
&[data-center='true'] {
|
|
1004
|
+
justify-content: center;
|
|
1005
|
+
button:only-child {
|
|
1006
|
+
width: 200px;
|
|
1007
|
+
max-width: 80%;
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
.survey-prev-button {
|
|
1011
|
+
margin-right: 0.5rem;
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
`,ke=B.default.div`
|
|
1016
|
+
position: relative;
|
|
1017
|
+
display: flex;
|
|
1018
|
+
align-items: center;
|
|
1019
|
+
cursor: pointer;
|
|
1020
|
+
|
|
1021
|
+
input {
|
|
1022
|
+
position: relative;
|
|
1023
|
+
width: 20px;
|
|
1024
|
+
height: 20px;
|
|
1025
|
+
flex-shrink: 0;
|
|
1026
|
+
border: solid 1px ${e=>e.theme.colors.gray500};
|
|
1027
|
+
margin-right: 8px;
|
|
1028
|
+
border-radius: 100%;
|
|
1029
|
+
cursor: inherit;
|
|
1030
|
+
transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
|
|
1031
|
+
|
|
1032
|
+
&:hover,
|
|
1033
|
+
&:active {
|
|
1034
|
+
border-color: ${e=>e.theme.colors.primaryBase};
|
|
1035
|
+
box-shadow: 0 0 2px 2px
|
|
1036
|
+
${e=>e.theme.colors.primary600};
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
&:checked {
|
|
1040
|
+
display: flex;
|
|
1041
|
+
align-items: center;
|
|
1042
|
+
justify-content: center;
|
|
1043
|
+
border-color: ${e=>e.theme.colors.primaryBase};
|
|
1044
|
+
&:after {
|
|
1045
|
+
position: absolute;
|
|
1046
|
+
top: 50%;
|
|
1047
|
+
left: 50%;
|
|
1048
|
+
width: 14px;
|
|
1049
|
+
height: 14px;
|
|
1050
|
+
//left: 3px;
|
|
1051
|
+
//position: absolute;
|
|
1052
|
+
//top: 4px;
|
|
1053
|
+
background-color: ${e=>e.theme.colors.primaryBase};
|
|
1054
|
+
border-radius: 50%;
|
|
1055
|
+
content: '';
|
|
1056
|
+
transform: translate(-50%, -50%);
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
label {
|
|
1062
|
+
width: calc(100% - 24px);
|
|
1063
|
+
cursor: inherit;
|
|
1064
|
+
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
&[data-disabled='true'] {
|
|
1068
|
+
color: ${e=>e.theme.colors.gray300};
|
|
1069
|
+
cursor: not-allowed;
|
|
1070
|
+
input {
|
|
1071
|
+
border-color: ${e=>e.theme.colors.gray300};
|
|
1072
|
+
|
|
1073
|
+
&:hover {
|
|
1074
|
+
border-color: ${e=>e.theme.colors.gray300};
|
|
1075
|
+
box-shadow: none;
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
padding: 16px 20px;
|
|
1081
|
+
border: 0.5px solid transparent;
|
|
1082
|
+
background: #fafafa;
|
|
1083
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
1084
|
+
&[data-checked='true'] {
|
|
1085
|
+
border: 0.5px solid #2d87f3;
|
|
1086
|
+
background: #f7f9fc;
|
|
1087
|
+
}
|
|
1088
|
+
input {
|
|
1089
|
+
border: solid 2px #737373;
|
|
1090
|
+
margin-right: 0;
|
|
1091
|
+
background: white;
|
|
1092
|
+
&[type='checkbox'] {
|
|
1093
|
+
&:checked {
|
|
1094
|
+
border: 0;
|
|
1095
|
+
background: ${e=>e.theme.colors.primaryBase}
|
|
1096
|
+
url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 21C16.5228 21 21 16.5228 21 11C21 5.47715 16.5228 1 11 1C5.47715 1 1 5.47715 1 11C1 16.5228 5.47715 21 11 21Z' fill='%232D87F3' stroke='%232D87F3' stroke-width='2'/%3E%3Cpath d='M15.5714 8L9.67857 14L7 11.2727' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
|
|
1097
|
+
no-repeat center center;
|
|
1098
|
+
&:after {
|
|
1099
|
+
display: none;
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
&[data-has-image='true'] {
|
|
1106
|
+
position: relative;
|
|
1107
|
+
display: block;
|
|
1108
|
+
padding: 12px;
|
|
1109
|
+
input {
|
|
1110
|
+
position: absolute;
|
|
1111
|
+
top: 20px;
|
|
1112
|
+
right: 20px;
|
|
1113
|
+
}
|
|
1114
|
+
.choice-image-wrapper {
|
|
1115
|
+
position: relative;
|
|
1116
|
+
padding-top: 56.25%;
|
|
1117
|
+
margin-bottom: 0.75rem;
|
|
1118
|
+
img {
|
|
1119
|
+
position: absolute;
|
|
1120
|
+
top: 0;
|
|
1121
|
+
left: 0;
|
|
1122
|
+
width: 100%;
|
|
1123
|
+
height: 100%;
|
|
1124
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
1125
|
+
object-fit: cover;
|
|
1126
|
+
}
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
`,Ce=B.default.div`
|
|
1130
|
+
position: relative;
|
|
1131
|
+
width: 100%;
|
|
1132
|
+
padding-top: min(400px, 100%);
|
|
1133
|
+
.survey-thankyou-wrapper-inner {
|
|
1134
|
+
position: absolute;
|
|
1135
|
+
top: 0;
|
|
1136
|
+
left: 0;
|
|
1137
|
+
display: flex;
|
|
1138
|
+
width: 100%;
|
|
1139
|
+
height: 100%;
|
|
1140
|
+
flex-direction: column;
|
|
1141
|
+
align-items: center;
|
|
1142
|
+
justify-content: center;
|
|
1143
|
+
.survey-thankyou-icon {
|
|
1144
|
+
width: 36%;
|
|
1145
|
+
max-height: 50%;
|
|
1146
|
+
margin-bottom: 1.5rem;
|
|
1147
|
+
}
|
|
1148
|
+
.survey-thankyou-title {
|
|
1149
|
+
margin-bottom: 1rem;
|
|
1150
|
+
text-align: center;
|
|
1151
|
+
}
|
|
1152
|
+
.survey-thankyou-subtitle {
|
|
1153
|
+
text-align: center;
|
|
1154
|
+
> * {
|
|
1155
|
+
text-align: center;
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
`,Ee=B.default.div`
|
|
1160
|
+
.survey-question-text-wrapper {
|
|
1161
|
+
margin-bottom: 24px;
|
|
1162
|
+
.survey-question-title {
|
|
1163
|
+
margin-bottom: 4px;
|
|
1164
|
+
}
|
|
1165
|
+
.survey-question-subtitle,
|
|
1166
|
+
.survey-question-description {
|
|
1167
|
+
color: ${e=>e.theme.colors.gray500};
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
.survey-question-image {
|
|
1171
|
+
width: 100%;
|
|
1172
|
+
margin-bottom: 12px;
|
|
1173
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
.survey-question-answer-wrapper {
|
|
1177
|
+
margin-bottom: 1.5rem;
|
|
1178
|
+
.survey-question-options-wrapper {
|
|
1179
|
+
display: grid;
|
|
1180
|
+
grid-gap: 0.5rem;
|
|
1181
|
+
grid-template-columns: 1fr;
|
|
1182
|
+
&[data-has-image='true'] {
|
|
1183
|
+
grid-gap: 0.8rem;
|
|
1184
|
+
grid-template-columns: 1fr 1fr;
|
|
1185
|
+
}
|
|
1186
|
+
.survey-question-option-item {
|
|
1187
|
+
label {
|
|
1188
|
+
color: #262626;
|
|
1189
|
+
font-size: 16px;
|
|
1190
|
+
font-style: normal;
|
|
1191
|
+
font-weight: normal;
|
|
1192
|
+
line-height: 24px;
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1196
|
+
.survey-contact-input {
|
|
1197
|
+
margin-bottom: 1rem;
|
|
1198
|
+
&:first-child {
|
|
1199
|
+
margin-top: 1rem;
|
|
1200
|
+
}
|
|
1201
|
+
label {
|
|
1202
|
+
font-weight: 700;
|
|
1203
|
+
}
|
|
1204
|
+
input {
|
|
1205
|
+
margin-top: 6px;
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
`,$e=({size:e="small",label:t,name:a,checked:i,value:r,className:o,isDisabled:n=!1,onChange:l,hasImage:d,inputType:s,image:p})=>S.default.createElement(ke,{"data-disabled":n,className:o,"data-size":e,"data-checked":i,onClick:()=>{l(r)},"data-has-image":d},d&&S.default.createElement("div",{className:"choice-image-wrapper"},p&&S.default.createElement("img",{src:p,loading:"lazy"})),S.default.createElement("label",{onClick:e=>{e.preventDefault()},htmlFor:`${a}-${r}`},t),S.default.createElement("input",{type:s,checked:i,name:a,id:`${a}-${r}`,value:r,readOnly:!0})),De=({question:a,description:i,onOptionsChange:r,onTextOptionsChange:o,style:n,className:l})=>{const{type:p,title:c,subtitle:m,image:u,textOptions:g,options:h,name:f,is_multi_select:x}=a,b=!!(null==h?void 0:h.some((e=>e.image))),[y,v]=e.useState([]),[w,k]=e.useState((()=>(null==g?void 0:g.slice())||[]));return e.useEffect((()=>{r&&r(y.slice())}),[!!r,y]),e.useEffect((()=>{o&&o(w)}),[!!o,w]),S.default.createElement(Ee,{className:l,style:n},S.default.createElement("div",{className:"survey-question-text-wrapper"},c&&S.default.createElement(d.Heading,{"data-nosubtitle":!m,className:"survey-question-title",tag:"h4"},c),m&&S.default.createElement(t.Text,{className:"survey-question-subtitle",size:"p2"},m),i&&S.default.createElement(t.Text,{className:"survey-question-description",size:"p2"},i)),u&&S.default.createElement("img",{src:u,className:"survey-question-image",loading:"lazy"}),S.default.createElement("div",{className:"survey-question-answer-wrapper"},"radio"===p&&S.default.createElement("div",{"data-has-image":b,className:"survey-question-options-wrapper"},h.map((e=>{var t;return S.default.createElement($e,{inputType:"radio",label:e.label,name:f,key:`${f}-${e.value}`,checked:(null===(t=y[0])||void 0===t?void 0:t.value)===e.value,value:e.value,onChange:e=>{v([h.find((t=>t.value===e))])},className:"survey-question-option-item",image:e.image,hasImage:b})}))),"checkbox"===p&&S.default.createElement("div",{"data-has-image":b,className:"survey-question-options-wrapper"},h.map((e=>S.default.createElement($e,{inputType:"checkbox",label:e.label,name:f,key:`${f}-${e.value}`,checked:!!y.find((t=>t.value===e.value)),value:e.value,onChange:()=>{const t=y.findIndex((t=>t.value===e.value));v(t>=0?e=>(e.splice(t,1),e.slice()):x?t=>t.concat(e).slice():[e])},className:"survey-question-option-item survey-option-radio",image:e.image,hasImage:b})))),"textbox"===p&&w.map(((e,t)=>e.isTextArea?S.default.createElement(d.TextArea,{key:t,placeholder:e.placeholder,height:"150px",value:e.value,onChange:e=>k((a=>(a[t].value=e,a.slice())))}):S.default.createElement(s.Input,{key:t,value:e.value,name:e.name,size:"md",className:"survey-contact-input",label:e.label,placeholder:e.placeholder,onChange:e=>{k((a=>(a[t].value=e,a.slice())))},type:e.type})))))};var Se;!function(e){e[e.UNLIMITED=0]="UNLIMITED",e[e.EXACT_NUMBER=1]="EXACT_NUMBER",e[e.RANGE=2]="RANGE"}(Se||(Se={}));const Be=200,Me=B.default.div``,ze=B.default.div`
|
|
1210
|
+
width: 100vw;
|
|
1211
|
+
height: 100vh;
|
|
1212
|
+
position: fixed;
|
|
1213
|
+
bottom: 0;
|
|
1214
|
+
right: 0;
|
|
1215
|
+
background-color: ${e=>{var t,a;return e.theme.colors.white||(null===(a=null===(t=e.theme.colors)||void 0===t?void 0:t.palette)||void 0===a?void 0:a.white)}};
|
|
1216
|
+
opacity: 0.83;
|
|
1217
|
+
transition: display ${Be}ms linear;
|
|
1218
|
+
|
|
1219
|
+
[data-floatmenu-open='true'] & {
|
|
1220
|
+
animation: showBackgroundPanel ${Be}ms linear 0s normal forwards;
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
[data-floatmenu-open='false'] & {
|
|
1224
|
+
animation: hideBackgroundPanel ${Be}ms linear 0s normal forwards;
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
@keyframes showBackgroundPanel {
|
|
1228
|
+
0% {
|
|
1229
|
+
opacity: 0;
|
|
1230
|
+
width: 100vw;
|
|
1231
|
+
height: 100vh;
|
|
1232
|
+
}
|
|
1233
|
+
100% {
|
|
1234
|
+
opacity: 0.83;
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
@keyframes hideBackgroundPanel {
|
|
1239
|
+
0% {
|
|
1240
|
+
width: 100vw;
|
|
1241
|
+
height: 100vh;
|
|
1242
|
+
}
|
|
1243
|
+
99% {
|
|
1244
|
+
width: 100vw;
|
|
1245
|
+
height: 100vh;
|
|
1246
|
+
}
|
|
1247
|
+
100% {
|
|
1248
|
+
opacity: 0;
|
|
1249
|
+
width: 0;
|
|
1250
|
+
height: 0;
|
|
1251
|
+
}
|
|
1252
|
+
}
|
|
1253
|
+
`,Pe=B.default.div`
|
|
1254
|
+
position: fixed;
|
|
1255
|
+
right: 16px;
|
|
1256
|
+
bottom: 40px;
|
|
1257
|
+
`,Te=B.default.div`
|
|
1258
|
+
display: flex;
|
|
1259
|
+
flex-direction: column;
|
|
1260
|
+
gap: 16px;
|
|
1261
|
+
transition: all ${Be}ms ease-in-out;
|
|
1262
|
+
position: fixed;
|
|
1263
|
+
bottom: 112px;
|
|
1264
|
+
right: 16px;
|
|
1265
|
+
|
|
1266
|
+
// scale
|
|
1267
|
+
[data-animation-type='scale'] & {
|
|
1268
|
+
transform-origin: 100% 100%;
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
[data-animation-type='scale'][data-floatmenu-open='true'] & {
|
|
1272
|
+
transform: scale(1);
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
[data-animation-type='scale'][data-floatmenu-open='false'] & {
|
|
1276
|
+
transform: scale(0);
|
|
1277
|
+
bottom: 46px;
|
|
1278
|
+
right: 36px;
|
|
1279
|
+
}
|
|
1280
|
+
`,Ie=B.default.div`
|
|
1281
|
+
border-radius: 50%;
|
|
1282
|
+
width: 56px;
|
|
1283
|
+
height: 56px;
|
|
1284
|
+
position: relative;
|
|
1285
|
+
cursor: pointer;
|
|
1286
|
+
margin-left: auto;
|
|
1287
|
+
transition: all 0.1s linear;
|
|
1288
|
+
-webkit-tap-highlight-color: transparent;
|
|
1289
|
+
[data-site-type='hb'] & {
|
|
1290
|
+
background-color: ${e=>e.theme.colors.primaryBase||e.theme.colors.primary};
|
|
1291
|
+
&:hover {
|
|
1292
|
+
background-color: ${e=>{var t,a;return e.theme.colors.primaryHover||(null===(a=null===(t=e.theme.colors)||void 0===t?void 0:t.palette)||void 0===a?void 0:a.blue_700)}};
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
[data-site-type='mb'] & {
|
|
1296
|
+
background-color: #2d87f3;
|
|
1297
|
+
&:hover {
|
|
1298
|
+
background-color: #2c74df;
|
|
1299
|
+
}
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
&:before {
|
|
1303
|
+
content: '';
|
|
1304
|
+
width: 2px;
|
|
1305
|
+
height: 20px;
|
|
1306
|
+
background-color: ${e=>{var t,a;return e.theme.colors.white||(null===(a=null===(t=e.theme.colors)||void 0===t?void 0:t.palette)||void 0===a?void 0:a.white)}};
|
|
1307
|
+
border-radius: 2px;
|
|
1308
|
+
position: absolute;
|
|
1309
|
+
top: 50%;
|
|
1310
|
+
left: 50%;
|
|
1311
|
+
transform: translate(-50%, -50%);
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
&:after {
|
|
1315
|
+
content: '';
|
|
1316
|
+
width: 20px;
|
|
1317
|
+
height: 2px;
|
|
1318
|
+
background-color: ${e=>{var t,a;return e.theme.colors.white||(null===(a=null===(t=e.theme.colors)||void 0===t?void 0:t.palette)||void 0===a?void 0:a.white)}};
|
|
1319
|
+
border-radius: 2px;
|
|
1320
|
+
position: absolute;
|
|
1321
|
+
top: 50%;
|
|
1322
|
+
left: 50%;
|
|
1323
|
+
transform: translate(-50%, -50%);
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
[data-floatmenu-open='true'] &:before,
|
|
1327
|
+
[data-floatmenu-open='true'] &:after {
|
|
1328
|
+
animation: toX ${Be}ms linear 0s normal forwards;
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
[data-floatmenu-open='false'] &:before,
|
|
1332
|
+
[data-floatmenu-open='false'] &:after {
|
|
1333
|
+
animation: toPlus ${Be}ms linear 0s normal forwards;
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
@keyframes toX {
|
|
1337
|
+
0% {
|
|
1338
|
+
transform: translate(-50%, -50%) rotateZ(0deg);
|
|
1339
|
+
}
|
|
1340
|
+
49% {
|
|
1341
|
+
transform: translate(-50%, -50%) rotateZ(0deg);
|
|
1342
|
+
}
|
|
1343
|
+
50% {
|
|
1344
|
+
width: 2px;
|
|
1345
|
+
height: 2px;
|
|
1346
|
+
transform: translate(-50%, -50%) rotateZ(45deg);
|
|
1347
|
+
}
|
|
1348
|
+
100% {
|
|
1349
|
+
transform: translate(-50%, -50%) rotateZ(45deg);
|
|
1350
|
+
}
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
@keyframes toPlus {
|
|
1354
|
+
0% {
|
|
1355
|
+
transform: translate(-50%, -50%) rotateZ(45deg);
|
|
1356
|
+
}
|
|
1357
|
+
49% {
|
|
1358
|
+
transform: translate(-50%, -50%) rotateZ(45deg);
|
|
1359
|
+
}
|
|
1360
|
+
50% {
|
|
1361
|
+
width: 2px;
|
|
1362
|
+
height: 2px;
|
|
1363
|
+
transform: translate(-50%, -50%) rotateZ(0deg);
|
|
1364
|
+
}
|
|
1365
|
+
100% {
|
|
1366
|
+
transform: translate(-50%, -50%) rotateZ(0deg);
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
`,Ne=B.default.div`
|
|
1370
|
+
display: flex;
|
|
1371
|
+
gap: 8px;
|
|
1372
|
+
align-items: center;
|
|
1373
|
+
justify-content: flex-end;
|
|
1374
|
+
|
|
1375
|
+
width: fit-content;
|
|
1376
|
+
margin-left: auto;
|
|
1377
|
+
|
|
1378
|
+
[data-floatmenu-open='true'] {
|
|
1379
|
+
cursor: pointer;
|
|
1380
|
+
}
|
|
1381
|
+
[data-floatmenu-open='false'] {
|
|
1382
|
+
pointer-events: none;
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
[data-animation-type='zoom'] &,
|
|
1386
|
+
[data-animation-type='slide'] & {
|
|
1387
|
+
position: absolute;
|
|
1388
|
+
right: 0;
|
|
1389
|
+
width: max-content;
|
|
1390
|
+
}
|
|
1391
|
+
// slide
|
|
1392
|
+
[data-animation-type='slide'] & {
|
|
1393
|
+
transition: all ${Be}ms ease-in;
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
[data-animation-type='slide'][data-floatmenu-open='true'] & {
|
|
1397
|
+
animation: showItem ${Be}ms;
|
|
1398
|
+
}
|
|
1399
|
+
[data-animation-type='slide'][data-floatmenu-open='false'] & {
|
|
1400
|
+
bottom: -64px !important;
|
|
1401
|
+
animation: hideItemOnZoom ${250}ms normal forwards;
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
// zoom
|
|
1405
|
+
[data-animation-type='zoom'][data-floatmenu-open='false'] & {
|
|
1406
|
+
animation: hideItemOnZoom ${250}ms normal forwards;
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
@keyframes showItem {
|
|
1410
|
+
0% {
|
|
1411
|
+
opacity: 0;
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
100% {
|
|
1415
|
+
opacity: 1;
|
|
1416
|
+
}
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
@keyframes hideItemOnZoom {
|
|
1420
|
+
0% {
|
|
1421
|
+
transform: translateX(0);
|
|
1422
|
+
opacity: 1;
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
99% {
|
|
1426
|
+
transform: translateX(0);
|
|
1427
|
+
opacity: 0.5;
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
100% {
|
|
1431
|
+
transform: translateX(calc(100% + 16px));
|
|
1432
|
+
opacity: 0;
|
|
1433
|
+
}
|
|
1434
|
+
}
|
|
1435
|
+
`,Ae=B.default.div`
|
|
1436
|
+
font-size: 14px;
|
|
1437
|
+
|
|
1438
|
+
// zoom
|
|
1439
|
+
[data-animation-type='zoom'] & {
|
|
1440
|
+
transition: transform ${Be}ms ease-in-out;
|
|
1441
|
+
transform-origin: 100% 0;
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
[data-animation-type='zoom'][data-floatmenu-open='true'] & {
|
|
1445
|
+
transform: scale(1);
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
[data-animation-type='zoom'][data-floatmenu-open='false'] & {
|
|
1449
|
+
transform: scale(0);
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
// slide
|
|
1453
|
+
[data-animation-type='slide'] & {
|
|
1454
|
+
transition: opacity ${Be}ms;
|
|
1455
|
+
}
|
|
1456
|
+
[data-animation-type='slide'][data-floatmenu-open='true'] & {
|
|
1457
|
+
opacity: 1;
|
|
1458
|
+
}
|
|
1459
|
+
[data-animation-type='slide'][data-floatmenu-open='false'] & {
|
|
1460
|
+
opacity: 0;
|
|
1461
|
+
}
|
|
1462
|
+
`,_e=B.default.div`
|
|
1463
|
+
border-radius: 50%;
|
|
1464
|
+
box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1465
|
+
width: 48px;
|
|
1466
|
+
height: 48px;
|
|
1467
|
+
display: flex;
|
|
1468
|
+
align-items: center;
|
|
1469
|
+
justify-content: center;
|
|
1470
|
+
background-color: ${e=>{var t,a;return e.theme.colors.white||(null===(a=null===(t=e.theme.colors)||void 0===t?void 0:t.palette)||void 0===a?void 0:a.white)}};
|
|
1471
|
+
|
|
1472
|
+
// zoom
|
|
1473
|
+
[data-animation-type='zoom'] & {
|
|
1474
|
+
transition: transform ${Be}ms ease-in-out;
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
[data-animation-type='zoom'][data-floatmenu-open='true'] & {
|
|
1478
|
+
transform: scale(1);
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
[data-animation-type='zoom'][data-floatmenu-open='false'] & {
|
|
1482
|
+
transform: scale(0);
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
> img {
|
|
1486
|
+
width: 24px;
|
|
1487
|
+
height: 24px;
|
|
1488
|
+
object-fit: contain;
|
|
1489
|
+
}
|
|
1490
|
+
`,je=B.default.div`
|
|
1491
|
+
padding: 16px;
|
|
1492
|
+
width: 375px;
|
|
1493
|
+
word-wrap: break-word;
|
|
1494
|
+
word-break: break-word;
|
|
1495
|
+
${o.MediaQueries.mbDown} {
|
|
1496
|
+
width: 100%;
|
|
1497
|
+
}
|
|
1498
|
+
&[data-theme='helloSites'] {
|
|
1499
|
+
background: ${e=>e.theme.colors.secondaryBase};
|
|
1500
|
+
box-shadow: 0px 8px 40px rgba(0, 0, 0, 0.1);
|
|
1501
|
+
}
|
|
1502
|
+
&[data-theme='marryBaby'] {
|
|
1503
|
+
border: none;
|
|
1504
|
+
background: ${e=>e.theme.mbColors.pink};
|
|
1505
|
+
border-radius: 12px 12px 0 0;
|
|
1506
|
+
}
|
|
1507
|
+
&[data-is-open='false'] {
|
|
1508
|
+
display: none;
|
|
1509
|
+
}
|
|
1510
|
+
&[data-default-position='true'] {
|
|
1511
|
+
position: fixed;
|
|
1512
|
+
z-index: 1000;
|
|
1513
|
+
bottom: 0;
|
|
1514
|
+
right: 0;
|
|
1515
|
+
${o.MediaQueries.mbDown} {
|
|
1516
|
+
left: 0;
|
|
1517
|
+
right: unset;
|
|
1518
|
+
}
|
|
1519
|
+
}
|
|
1520
|
+
`,Oe=B.default.p`
|
|
1521
|
+
position: relative;
|
|
1522
|
+
padding-left: 24px;
|
|
1523
|
+
color: ${e=>e.theme.colors.white};
|
|
1524
|
+
font-size: 14px;
|
|
1525
|
+
font-weight: 600;
|
|
1526
|
+
line-height: 22px;
|
|
1527
|
+
&[data-has-content='true'] {
|
|
1528
|
+
::before {
|
|
1529
|
+
position: absolute;
|
|
1530
|
+
top: 0;
|
|
1531
|
+
bottom: 0;
|
|
1532
|
+
left: 0;
|
|
1533
|
+
width: 16px;
|
|
1534
|
+
height: 16px;
|
|
1535
|
+
margin: auto 0;
|
|
1536
|
+
content: url("data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.00001 1.33331C4.32001 1.33331 1.33334 4.31998 1.33334 7.99998C1.33334 11.68 4.32001 14.6666 8.00001 14.6666C11.68 14.6666 14.6667 11.68 14.6667 7.99998C14.6667 4.31998 11.68 1.33331 8.00001 1.33331ZM8.00001 11.3333C7.63334 11.3333 7.33334 11.0333 7.33334 10.6666V7.99998C7.33334 7.63331 7.63334 7.33331 8.00001 7.33331C8.36668 7.33331 8.66668 7.63331 8.66668 7.99998V10.6666C8.66668 11.0333 8.36668 11.3333 8.00001 11.3333ZM7.33334 5.99998H8.66668V4.66665H7.33334V5.99998Z' fill='white'/%3e%3c/svg%3e");
|
|
1537
|
+
}
|
|
1538
|
+
}
|
|
1539
|
+
`,Qe=B.default.p`
|
|
1540
|
+
margin-top: 2px;
|
|
1541
|
+
color: ${e=>e.theme.colors.white};
|
|
1542
|
+
font-size: 12px;
|
|
1543
|
+
font-weight: 400;
|
|
1544
|
+
line-height: 18px;
|
|
1545
|
+
a {
|
|
1546
|
+
color: ${e=>e.theme.colors.white};
|
|
1547
|
+
text-decoration: none;
|
|
1548
|
+
text-decoration-line: underline;
|
|
1549
|
+
}
|
|
1550
|
+
`,Ue=B.default.div`
|
|
1551
|
+
display: flex;
|
|
1552
|
+
align-items: center;
|
|
1553
|
+
margin-top: 8px;
|
|
1554
|
+
gap: 16px;
|
|
1555
|
+
`,Fe=B.default.div`
|
|
1556
|
+
padding: 7px 28px;
|
|
1557
|
+
background: ${e=>e.theme.colors.white};
|
|
1558
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
1559
|
+
color: ${e=>e.theme.colors.secondaryBase};
|
|
1560
|
+
cursor: pointer;
|
|
1561
|
+
font-size: 12px;
|
|
1562
|
+
font-weight: 600;
|
|
1563
|
+
line-height: 18px;
|
|
1564
|
+
`,Re=B.default.a`
|
|
1565
|
+
color: ${e=>e.theme.colors.white};
|
|
1566
|
+
font-size: 12px;
|
|
1567
|
+
font-weight: 600;
|
|
1568
|
+
line-height: 22px;
|
|
1569
|
+
text-decoration: none;
|
|
1570
|
+
text-decoration-line: underline;
|
|
1571
|
+
`,Ge=r.keyframes`
|
|
1572
|
+
from {
|
|
1573
|
+
transform: translateY(100%);
|
|
1574
|
+
visibility: visible;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
to {
|
|
1578
|
+
transform: translateY(0);
|
|
1579
|
+
}
|
|
1580
|
+
`,Le=r.keyframes`
|
|
1581
|
+
from {
|
|
1582
|
+
transform: translate(0, 0);
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
to {
|
|
1586
|
+
visibility: hidden;
|
|
1587
|
+
transform: translate(0, 100%);
|
|
1588
|
+
}
|
|
1589
|
+
`,He=B.default.div`
|
|
1590
|
+
cursor: pointer;
|
|
1591
|
+
display: flex;
|
|
1592
|
+
flex-direction: column;
|
|
1593
|
+
align-items: center;
|
|
1594
|
+
justify-items: center;
|
|
1595
|
+
gap: 4px;
|
|
1596
|
+
|
|
1597
|
+
.mobile-navigation-label {
|
|
1598
|
+
font-weight: 500;
|
|
1599
|
+
font-size: 10px;
|
|
1600
|
+
line-height: 16px;
|
|
1601
|
+
color: ${m.theme.colors.gray600};
|
|
1602
|
+
overflow: hidden;
|
|
1603
|
+
text-overflow: ellipsis;
|
|
1604
|
+
white-space: nowrap;
|
|
1605
|
+
width: 60px;
|
|
1606
|
+
text-align: center;
|
|
1607
|
+
${o.MediaQueries.mbDown} {
|
|
1608
|
+
max-width: 60px;
|
|
1609
|
+
}
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
.mobile-navigation-icon {
|
|
1613
|
+
position: relative;
|
|
1614
|
+
height: 24px;
|
|
1615
|
+
&[data-no-label='true'] {
|
|
1616
|
+
border-radius: 50%;
|
|
1617
|
+
display: flex;
|
|
1618
|
+
flex-direction: column;
|
|
1619
|
+
justify-content: center;
|
|
1620
|
+
align-items: center;
|
|
1621
|
+
padding: 0px;
|
|
1622
|
+
gap: 16px;
|
|
1623
|
+
width: 40px;
|
|
1624
|
+
height: 40px;
|
|
1625
|
+
}
|
|
1626
|
+
}
|
|
1627
|
+
|
|
1628
|
+
&[data-is-special='true'] {
|
|
1629
|
+
display: flex;
|
|
1630
|
+
flex-direction: row;
|
|
1631
|
+
align-items: center;
|
|
1632
|
+
padding: 4px 12px 4px 6px;
|
|
1633
|
+
gap: 4px;
|
|
1634
|
+
|
|
1635
|
+
min-width: 152px;
|
|
1636
|
+
height: 32px;
|
|
1637
|
+
/* Neutral/Neutral-50 */
|
|
1638
|
+
background: ${m.theme.colors.primary50};
|
|
1639
|
+
border-radius: 20px;
|
|
1640
|
+
flex-grow: 1;
|
|
1641
|
+
.mobile-navigation-icon {
|
|
1642
|
+
&[data-no-label='true'] {
|
|
1643
|
+
width: 24px;
|
|
1644
|
+
height: 24px;
|
|
1645
|
+
}
|
|
1646
|
+
}
|
|
1647
|
+
.mobile-navigation-label {
|
|
1648
|
+
max-width: max-content;
|
|
1649
|
+
color: ${m.theme.colors.primaryBase};
|
|
1650
|
+
}
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
&[data-is-active='true'] {
|
|
1654
|
+
.mobile-navigation-label {
|
|
1655
|
+
color: ${m.theme.colors.primaryBase};
|
|
1656
|
+
}
|
|
1657
|
+
}
|
|
1658
|
+
|
|
1659
|
+
&[data-is-disabled='true'] {
|
|
1660
|
+
opacity: 0.2;
|
|
1661
|
+
}
|
|
1662
|
+
`,qe=B.default.div`
|
|
1663
|
+
z-index: 100;
|
|
1664
|
+
position: fixed;
|
|
1665
|
+
bottom: 0;
|
|
1666
|
+
left: 0;
|
|
1667
|
+
width: 100%;
|
|
1668
|
+
height: 100%;
|
|
1669
|
+
max-height: 56px;
|
|
1670
|
+
min-height: 56px;
|
|
1671
|
+
display: flex;
|
|
1672
|
+
height: 100%;
|
|
1673
|
+
align-items: center;
|
|
1674
|
+
justify-content: space-evenly;
|
|
1675
|
+
background-color: ${m.theme.colors.white};
|
|
1676
|
+
@supports (padding-bottom: env(safe-area-inset-bottom)) {
|
|
1677
|
+
min-height: calc(56px + env(safe-area-inset-bottom));
|
|
1678
|
+
max-height: calc(56px + env(safe-area-inset-bottom));
|
|
1679
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
1680
|
+
}
|
|
1681
|
+
& > div {
|
|
1682
|
+
flex: 1;
|
|
1683
|
+
}
|
|
1684
|
+
a {
|
|
1685
|
+
text-decoration: none;
|
|
1686
|
+
}
|
|
1687
|
+
&[data-is-collapsed='true'] {
|
|
1688
|
+
animation: ${Le} 500ms ease-in-out forwards;
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1691
|
+
&[data-is-collapsed='false'] {
|
|
1692
|
+
animation: ${Ge} 500ms ease-in-out forwards;
|
|
1693
|
+
}
|
|
1694
|
+
&[data-template='health-tool'] {
|
|
1695
|
+
height: 44px;
|
|
1696
|
+
max-height: 44px;
|
|
1697
|
+
min-height: 44px;
|
|
1698
|
+
justify-content: space-between;
|
|
1699
|
+
& > div {
|
|
1700
|
+
flex: 0;
|
|
1701
|
+
}
|
|
1702
|
+
}
|
|
1703
|
+
`,We=B.default.span`
|
|
1704
|
+
position: absolute;
|
|
1705
|
+
left: 100%;
|
|
1706
|
+
transform: translate(-10px, calc(-50% + 3px));
|
|
1707
|
+
background-color: ${m.theme.colors.green800};
|
|
1708
|
+
border-radius: 32px;
|
|
1709
|
+
border: 2px solid ${m.theme.colors.white};
|
|
1710
|
+
padding: 1px 4px;
|
|
1711
|
+
display: flex;
|
|
1712
|
+
flex-direction: column;
|
|
1713
|
+
justify-content: center;
|
|
1714
|
+
align-items: center;
|
|
1715
|
+
height: 20px;
|
|
1716
|
+
aspect-ratio: 1;
|
|
1717
|
+
&[data-no-label='true'] {
|
|
1718
|
+
left: 0;
|
|
1719
|
+
transform: translate(22px, -50%);
|
|
1720
|
+
}
|
|
1721
|
+
`;B.default.div`
|
|
1722
|
+
position: absolute;
|
|
1723
|
+
top: 0;
|
|
1724
|
+
left: 0;
|
|
1725
|
+
height: 3px;
|
|
1726
|
+
background-color: ${m.theme.colors.primaryBase};
|
|
1727
|
+
transition: width 150ms linear;
|
|
1728
|
+
`,B.default.div`
|
|
1729
|
+
a {
|
|
1730
|
+
text-decoration: none;
|
|
1731
|
+
}
|
|
1732
|
+
`;const Ve=e=>{var{badgeAmount:a,disabled:i=!1,hasBadge:r=!1,icon:o,isActive:n=!1,isSpecial:l=!1,label:d}=e,s=p.__rest(e,["badgeAmount","disabled","hasBadge","icon","isActive","isSpecial","label"]);return S.default.createElement(He,Object.assign({"data-is-special":l,"data-is-active":n,"data-is-disabled":i},s),S.default.createElement("div",{className:"mobile-navigation-icon","data-no-label":!Boolean(d)},r&&S.default.createElement(We,{"data-no-label":!Boolean(d)},S.default.createElement(t.Text,{size:"s5",weight:"semiBold",color:l?m.theme.colors.primaryBase:m.theme.colors.white},a)),o),d&&S.default.createElement("span",{className:"mobile-navigation-label"},d))},Ye=e=>{var{children:t,on:a="",isCollapsed:i=!1,template:r="homepage"}=e,o=p.__rest(e,["children","on","isCollapsed","template"]);return S.default.createElement(qe,Object.assign({on:a,"data-is-collapsed":i,"data-template":r},o),t)};Ye.Icon=Ve,B.default.div`
|
|
1733
|
+
margin-top: 13px;
|
|
1734
|
+
&[data-is-mobile='false'] {
|
|
1735
|
+
display: flex;
|
|
1736
|
+
width: 60%;
|
|
1737
|
+
min-width: min(600px, 100%);
|
|
1738
|
+
align-items: center;
|
|
1739
|
+
& > :first-child {
|
|
1740
|
+
margin-right: 18px;
|
|
1741
|
+
}
|
|
1742
|
+
}
|
|
1743
|
+
`,B.default.div`
|
|
1744
|
+
&[data-is-mobile='false'] {
|
|
1745
|
+
max-width: 540px;
|
|
1746
|
+
}
|
|
1747
|
+
${o.MediaQueries.tdUp} {
|
|
1748
|
+
padding-right: 120px;
|
|
1749
|
+
}
|
|
1750
|
+
`,B.default.div`
|
|
1751
|
+
display: flex;
|
|
1752
|
+
align-items: flex-start;
|
|
1753
|
+
margin-top: 10px;
|
|
1754
|
+
color: ${e=>e.theme.colors.white};
|
|
1755
|
+
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
1756
|
+
> img {
|
|
1757
|
+
margin-top: 2px;
|
|
1758
|
+
margin-right: 4px;
|
|
1759
|
+
}
|
|
1760
|
+
&[data-is-mobile='false'] {
|
|
1761
|
+
margin-top: 12px;
|
|
1762
|
+
> img {
|
|
1763
|
+
width: 16px;
|
|
1764
|
+
height: 16px;
|
|
1765
|
+
}
|
|
1766
|
+
}
|
|
1767
|
+
&[data-is-mobile='true'] {
|
|
1768
|
+
> img {
|
|
1769
|
+
width: 14px;
|
|
1770
|
+
height: 14px;
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
`;const Ze=B.default.div`
|
|
1774
|
+
position: absolute;
|
|
1775
|
+
z-index: 0;
|
|
1776
|
+
right: 0;
|
|
1777
|
+
bottom: -50px;
|
|
1778
|
+
display: flex;
|
|
1779
|
+
|
|
1780
|
+
align-items: center;
|
|
1781
|
+
|
|
1782
|
+
${o.MediaQueries.mbUp} {
|
|
1783
|
+
img {
|
|
1784
|
+
width: 190px;
|
|
1785
|
+
height: 155px;
|
|
1786
|
+
}
|
|
1787
|
+
}
|
|
1788
|
+
${o.MediaQueries.mbDown} {
|
|
1789
|
+
width: 70px;
|
|
1790
|
+
}
|
|
1791
|
+
`,Xe="hhgcomp-toolbanner-iconcontainer";d.getDefaultClassWrapper(Ze,Xe),B.default.div`
|
|
1792
|
+
position: relative;
|
|
1793
|
+
z-index: 1;
|
|
1794
|
+
max-width: 100%;
|
|
1795
|
+
${o.MediaQueries.mbUp} {
|
|
1796
|
+
padding: 23px 40px;
|
|
1797
|
+
max-width: calc(100% - 210px);
|
|
1798
|
+
&[data-is-side='true'] {
|
|
1799
|
+
max-width: calc(100% - 120px);
|
|
1800
|
+
}
|
|
1801
|
+
}
|
|
1802
|
+
`;const Je=B.default.div`
|
|
1803
|
+
position: relative;
|
|
1804
|
+
`,Ke="hhgcomp-toolbanner-inner";d.getDefaultClassWrapper(Je,Ke);const et=B.default.div`
|
|
1805
|
+
position: relative;
|
|
1806
|
+
width: 100%;
|
|
1807
|
+
height: 100%;
|
|
1808
|
+
background: ${e=>e.bgColor};
|
|
1809
|
+
background-color: inherit;
|
|
1810
|
+
|
|
1811
|
+
&[data-site='marryBaby'] {
|
|
1812
|
+
background-color: ${e=>e["data-banner-color"]||"#5EC08F"};
|
|
1813
|
+
background-image: none;
|
|
1814
|
+
padding-bottom: 0;
|
|
1815
|
+
&[data-is-embedded='true'] {
|
|
1816
|
+
border-top-left-radius: 16px;
|
|
1817
|
+
border-top-right-radius: 16px;
|
|
1818
|
+
}
|
|
1819
|
+
}
|
|
1820
|
+
`,tt="hhgcomp-toolbanner-wrapper",at=d.getDefaultClassWrapper(et,tt),it=B.default.div`
|
|
1821
|
+
width: 100%;
|
|
1822
|
+
${o.MediaQueries.mbDown} {
|
|
1823
|
+
padding-bottom: 24px;
|
|
1824
|
+
}
|
|
1825
|
+
|
|
1826
|
+
a {
|
|
1827
|
+
text-decoration: none;
|
|
1828
|
+
color: inherit;
|
|
1829
|
+
}
|
|
1830
|
+
|
|
1831
|
+
&[data-site='marryBaby'] {
|
|
1832
|
+
a {
|
|
1833
|
+
text-decoration: underline;
|
|
1834
|
+
}
|
|
1835
|
+
${o.MediaQueries.mbDown} {
|
|
1836
|
+
padding-bottom: 0;
|
|
1837
|
+
}
|
|
1838
|
+
}
|
|
1839
|
+
|
|
1840
|
+
${o.MediaQueries.tdDown} {
|
|
1841
|
+
height: auto;
|
|
1842
|
+
.${tt} {
|
|
1843
|
+
.${Ke} {
|
|
1844
|
+
display: flex;
|
|
1845
|
+
align-items: center;
|
|
1846
|
+
${o.MediaQueries.mbDown} {
|
|
1847
|
+
justify-content: space-between;
|
|
1848
|
+
}
|
|
1849
|
+
.${Xe} {
|
|
1850
|
+
position: relative;
|
|
1851
|
+
right: -50px;
|
|
1852
|
+
bottom: -20px;
|
|
1853
|
+
width: 110px;
|
|
1854
|
+
min-width: 0;
|
|
1855
|
+
height: auto;
|
|
1856
|
+
min-height: 0;
|
|
1857
|
+
align-self: flex-end;
|
|
1858
|
+
margin-bottom: -20px;
|
|
1859
|
+
${o.MediaQueries.mbDown} {
|
|
1860
|
+
right: unset;
|
|
1861
|
+
}
|
|
1862
|
+
}
|
|
1863
|
+
}
|
|
1864
|
+
}
|
|
1865
|
+
}
|
|
1866
|
+
`,rt=B.default.div`
|
|
1867
|
+
display: flex;
|
|
1868
|
+
flex-direction: row;
|
|
1869
|
+
align-items: center;
|
|
1870
|
+
padding: 16px 24px;
|
|
1871
|
+
gap: 16px;
|
|
1872
|
+
width: 100%;
|
|
1873
|
+
background-color: ;
|
|
1874
|
+
${o.MediaQueries.mbDown} {
|
|
1875
|
+
padding: 16px 0;
|
|
1876
|
+
}
|
|
1877
|
+
`,ot=B.default.div`
|
|
1878
|
+
background: #ffffff;
|
|
1879
|
+
border-radius: 16px;
|
|
1880
|
+
width: 48px;
|
|
1881
|
+
height: 48px;
|
|
1882
|
+
position: relative;
|
|
1883
|
+
|
|
1884
|
+
img {
|
|
1885
|
+
position: absolute;
|
|
1886
|
+
top: 50%;
|
|
1887
|
+
left: 50%;
|
|
1888
|
+
max-width: 24px;
|
|
1889
|
+
max-height: 24px;
|
|
1890
|
+
transform: translate(-50%, -50%);
|
|
1891
|
+
}
|
|
1892
|
+
`,nt=B.default.div`
|
|
1893
|
+
display: flex;
|
|
1894
|
+
align-items: flex-start;
|
|
1895
|
+
flex-direction: column;
|
|
1896
|
+
justify-content: space-between;
|
|
1897
|
+
gap: 0;
|
|
1898
|
+
width: 100%;
|
|
1899
|
+
`,lt=B.default.div`
|
|
1900
|
+
display: flex;
|
|
1901
|
+
align-items: flex-start;
|
|
1902
|
+
font-weight: 400;
|
|
1903
|
+
font-size: 12px;
|
|
1904
|
+
line-height: 18px;
|
|
1905
|
+
letter-spacing: -0.2px;
|
|
1906
|
+
color: #f3f3f3;
|
|
1907
|
+
|
|
1908
|
+
> img {
|
|
1909
|
+
margin-top: 2px;
|
|
1910
|
+
margin-right: 4px;
|
|
1911
|
+
}
|
|
1912
|
+
&[data-is-mobile='false'] {
|
|
1913
|
+
> img {
|
|
1914
|
+
width: 16px;
|
|
1915
|
+
height: 16px;
|
|
1916
|
+
}
|
|
1917
|
+
}
|
|
1918
|
+
&[data-is-mobile='true'] {
|
|
1919
|
+
> img {
|
|
1920
|
+
width: 14px;
|
|
1921
|
+
height: 14px;
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
`,dt=({className:e,heading:r,color:o="blue",isMobile:n,bannerUrl:l,bannerUrlLarge:s,bannerColor:p,medicalReview:c={link:"#",reviewer:"",date:""},icon:m,style:u,siteType:g,isEmbeded:h})=>{var f,x;const{t:b}=a.useTranslations(),y=i.useMantineTheme(),v=n?l:s||l,w={pink:[8,6]},k=y.colors[o]||y.colors.blue,C=(null==c?void 0:c.reviewer)?S.default.createElement(t.Text,{size:"label2",color:"#fff",as:"div",className:"embedded-review",sx:{a:{textUnderlineOffset:"2px",color:"#fff",textDecoration:"underline"}}},S.default.createElement("div",{dangerouslySetInnerHTML:{__html:b("toolPage.toolReviewer",{expert_name:`<a href="${c.link}">${c.reviewer.trim()}</a>`,date:c.date})}})):null;return S.default.createElement(it,{"data-is-mobile":n,style:u,"data-site":g},S.default.createElement(at,{className:e,"data-banner-url":v,"data-is-mobile":n,"data-site":g,"data-banner-color":p,"data-is-embedded":h,bgColor:`linear-gradient(71deg, ${null==k?void 0:k[(null===(f=w[o])||void 0===f?void 0:f[0])||7]} -4.07%, ${null==k?void 0:k[(null===(x=w[o])||void 0===x?void 0:x[1])||4]} 90.13%)}`},"marryBaby"===g&&h?S.default.createElement(rt,null,S.default.createElement(ot,null,m),S.default.createElement(nt,null,S.default.createElement(d.Heading,{color:"white",tag:"h5",as:"h2"},r),c&&S.default.createElement(lt,{"data-is-mobile":n},C))):S.default.createElement(i.Flex,{gap:i.rem(24),align:"center",justify:"space-between",sx:{padding:`${i.rem(13)} ${i.rem(20)}`,gap:i.rem(24)}},S.default.createElement(i.Box,null,S.default.createElement(d.Heading,{tag:"h5",as:"h2",color:"#fff"},r),c&&S.default.createElement(t.Text,{size:"n1",as:"div"},C)),S.default.createElement(i.Flex,{justify:"center",align:"center",sx:e=>{var t,a;return{width:i.rem(64),height:i.rem(64),borderRadius:"50%",background:(null===(a=null===(t=e.colors)||void 0===t?void 0:t[o])||void 0===a?void 0:a[0])||e.colors.blue[0],flexShrink:0,img:{maxWidth:i.rem(48),maxHeight:i.rem(48)},[e.fn.smallerThan("sm")]:{width:i.rem(56),height:i.rem(56),img:{maxWidth:i.rem(40),maxHeight:i.rem(40)}}}}},m))))},st=B.default(v.Dropdown)`
|
|
1925
|
+
border-color: ${e=>e.theme.mbColors.lightGray};
|
|
1926
|
+
background-color: ${e=>e.theme.colors.white};
|
|
1927
|
+
border-radius: 16px;
|
|
1928
|
+
transition: all 0.2s ease;
|
|
1929
|
+
&:hover {
|
|
1930
|
+
border-color: ${e=>e.theme.mbColors.pink};
|
|
1931
|
+
box-shadow: none;
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
& > ul {
|
|
1935
|
+
z-index: ${d.Z_INDEX.menuSearchPopup};
|
|
1936
|
+
max-height: 300px;
|
|
1937
|
+
overflow-y: auto;
|
|
1938
|
+
}
|
|
1939
|
+
|
|
1940
|
+
${e=>e.groupedWithLabel&&r.css`
|
|
1941
|
+
& > div:first-child {
|
|
1942
|
+
color: ${e=>e.theme.mbColors.midGray};
|
|
1943
|
+
font-size: 12px;
|
|
1944
|
+
}
|
|
1945
|
+
`}
|
|
1946
|
+
|
|
1947
|
+
&[data-dropdown-open='true'] {
|
|
1948
|
+
border-color: ${e=>e.theme.mbColors.pink};
|
|
1949
|
+
}
|
|
1950
|
+
`;B.default(d.PureInput)`
|
|
1951
|
+
& input {
|
|
1952
|
+
border-color: ${e=>e.theme.mbColors.lightGray};
|
|
1953
|
+
background-color: ${e=>e.theme.colors.white};
|
|
1954
|
+
border-radius: 16px;
|
|
1955
|
+
transition: all 0.2s ease;
|
|
1956
|
+
&:focus,
|
|
1957
|
+
&:hover {
|
|
1958
|
+
border-color: ${e=>e.theme.mbColors.pink};
|
|
1959
|
+
box-shadow: none;
|
|
1960
|
+
}
|
|
1961
|
+
}
|
|
1962
|
+
|
|
1963
|
+
& .displayIcon {
|
|
1964
|
+
pointer-events: none;
|
|
1965
|
+
}
|
|
1966
|
+
`;const pt=B.default(s.Input)`
|
|
1967
|
+
& label {
|
|
1968
|
+
position: absolute;
|
|
1969
|
+
z-index: 1;
|
|
1970
|
+
top: 16px;
|
|
1971
|
+
|
|
1972
|
+
left: 16px;
|
|
1973
|
+
color: ${e=>e.theme.mbColors.midGray};
|
|
1974
|
+
pointer-events: none;
|
|
1975
|
+
transition: all 0.2s ease;
|
|
1976
|
+
white-space: nowrap;
|
|
1977
|
+
overflow: hidden;
|
|
1978
|
+
text-overflow: ellipsis;
|
|
1979
|
+
max-width: 240px;
|
|
1980
|
+
|
|
1981
|
+
&[data-size='label2'] {
|
|
1982
|
+
font-size: 12px;
|
|
1983
|
+
}
|
|
1984
|
+
|
|
1985
|
+
${o.MediaQueries.tdDown} {
|
|
1986
|
+
max-width: 220px;
|
|
1987
|
+
}
|
|
1988
|
+
}
|
|
1989
|
+
& input {
|
|
1990
|
+
::placeholder {
|
|
1991
|
+
color: ${e=>e.theme.mbColors.gray};
|
|
1992
|
+
font-size: 14px;
|
|
1993
|
+
}
|
|
1994
|
+
|
|
1995
|
+
::-webkit-input-placeholder {
|
|
1996
|
+
/* Chrome/Opera/Safari */
|
|
1997
|
+
color: ${e=>e.theme.mbColors.gray};
|
|
1998
|
+
font-size: 14px;
|
|
1999
|
+
}
|
|
2000
|
+
::-moz-placeholder {
|
|
2001
|
+
/* Firefox 19+ */
|
|
2002
|
+
color: ${e=>e.theme.mbColors.gray};
|
|
2003
|
+
font-size: 14px;
|
|
2004
|
+
}
|
|
2005
|
+
:-ms-input-placeholder {
|
|
2006
|
+
/* IE 10+ */
|
|
2007
|
+
color: ${e=>e.theme.mbColors.gray};
|
|
2008
|
+
font-size: 14px;
|
|
2009
|
+
}
|
|
2010
|
+
:-moz-placeholder {
|
|
2011
|
+
/* Firefox 18- */
|
|
2012
|
+
color: ${e=>e.theme.mbColors.gray};
|
|
2013
|
+
font-size: 14px;
|
|
2014
|
+
}
|
|
2015
|
+
height: ${e=>"sm"===e.size?48:72}px;
|
|
2016
|
+
padding-top: 27px;
|
|
2017
|
+
border-color: ${e=>e.theme.mbColors.lightGray};
|
|
2018
|
+
background-color: ${e=>e.theme.colors.white};
|
|
2019
|
+
border-radius: 16px;
|
|
2020
|
+
transition: all 0.2s ease;
|
|
2021
|
+
padding-top: ${e=>e.value?"38px":"27px"};
|
|
2022
|
+
|
|
2023
|
+
&:focus,
|
|
2024
|
+
&:hover {
|
|
2025
|
+
border-color: ${e=>e.theme.mbColors.pink};
|
|
2026
|
+
box-shadow: none;
|
|
2027
|
+
}
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
&[data-has-action-icon] {
|
|
2031
|
+
input {
|
|
2032
|
+
padding-top: ${e=>e.value?"38px":"27px"};
|
|
2033
|
+
padding-bottom: ${e=>e.value?"16px":"27px"};
|
|
2034
|
+
}
|
|
2035
|
+
|
|
2036
|
+
label {
|
|
2037
|
+
position: absolute;
|
|
2038
|
+
z-index: 1;
|
|
2039
|
+
top: 16px;
|
|
2040
|
+
padding-right: 46px;
|
|
2041
|
+
}
|
|
2042
|
+
}
|
|
2043
|
+
`,ct=B.default.div`
|
|
2044
|
+
width: 100%;
|
|
2045
|
+
`,mt=B.default.div`
|
|
2046
|
+
#due-date-dropdown {
|
|
2047
|
+
z-index: 9;
|
|
2048
|
+
width: 100%;
|
|
2049
|
+
min-width: unset;
|
|
2050
|
+
max-width: unset;
|
|
2051
|
+
|
|
2052
|
+
${o.MediaQueries.mbDown} {
|
|
2053
|
+
font-size: 14px;
|
|
2054
|
+
}
|
|
2055
|
+
${o.MediaQueries.tdUp} {
|
|
2056
|
+
font-size: 16px;
|
|
2057
|
+
&[data-is-side='true'] {
|
|
2058
|
+
font-size: 14px;
|
|
2059
|
+
}
|
|
2060
|
+
}
|
|
2061
|
+
color: ${e=>e.theme.colors.gray800};
|
|
2062
|
+
> div {
|
|
2063
|
+
white-space: nowrap;
|
|
2064
|
+
overflow: hidden;
|
|
2065
|
+
text-overflow: ellipsis;
|
|
2066
|
+
}
|
|
2067
|
+
}
|
|
2068
|
+
display: flex;
|
|
2069
|
+
width: 100%;
|
|
2070
|
+
justify-content: space-between;
|
|
2071
|
+
`,ut=B.default(ct)`
|
|
2072
|
+
.due-date-input {
|
|
2073
|
+
width: 100%;
|
|
2074
|
+
min-width: unset;
|
|
2075
|
+
max-width: unset;
|
|
2076
|
+
color: ${e=>e.theme.colors.gray800};
|
|
2077
|
+
}
|
|
2078
|
+
.due-date-calculate-button {
|
|
2079
|
+
margin-right: auto;
|
|
2080
|
+
margin-left: auto;
|
|
2081
|
+
}
|
|
2082
|
+
input {
|
|
2083
|
+
&[data-is-side='true'] {
|
|
2084
|
+
${o.MediaQueries.tdUp} {
|
|
2085
|
+
font-size: 14px;
|
|
2086
|
+
}
|
|
2087
|
+
}
|
|
2088
|
+
${o.MediaQueries.mbDown} {
|
|
2089
|
+
font-size: 14px;
|
|
2090
|
+
}
|
|
2091
|
+
${o.MediaQueries.tdUp} {
|
|
2092
|
+
font-size: 16px;
|
|
2093
|
+
}
|
|
2094
|
+
}
|
|
2095
|
+
`;B.default.div`
|
|
2096
|
+
display: flex;
|
|
2097
|
+
align-items: right;
|
|
2098
|
+
|
|
2099
|
+
& > p {
|
|
2100
|
+
display: inline-block;
|
|
2101
|
+
border-bottom: solid 1px
|
|
2102
|
+
${e=>e.theme.colors.primaryBase};
|
|
2103
|
+
margin-bottom: 24px;
|
|
2104
|
+
margin-left: auto;
|
|
2105
|
+
color: ${e=>e.theme.colors.primaryBase};
|
|
2106
|
+
cursor: pointer;
|
|
2107
|
+
font-size: 11px;
|
|
2108
|
+
line-height: 16px;
|
|
2109
|
+
text-align: right;
|
|
2110
|
+
}
|
|
2111
|
+
`;const gt=B.default.img`
|
|
2112
|
+
img& {
|
|
2113
|
+
width: 16px;
|
|
2114
|
+
height: 16px;
|
|
2115
|
+
}
|
|
2116
|
+
`;var ht;B.default(gt)`
|
|
2117
|
+
margin-right: 4px;
|
|
2118
|
+
`,exports.DueDateCalculatorType=void 0,(ht=exports.DueDateCalculatorType||(exports.DueDateCalculatorType={}))[ht.lastPeriod=0]="lastPeriod",ht[ht.conception=1]="conception",ht[ht.IVF=2]="IVF";const ft="yyyy-MM-dd",xt=e=>`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`;B.default.div`
|
|
2119
|
+
padding: 0;
|
|
2120
|
+
background-color: white;
|
|
2121
|
+
`,B.default.div`
|
|
2122
|
+
padding-bottom: 2px;
|
|
2123
|
+
margin: auto;
|
|
2124
|
+
${o.MediaQueries.mbUp} {
|
|
2125
|
+
width: 100%;
|
|
2126
|
+
padding: 24px;
|
|
2127
|
+
}
|
|
2128
|
+
`;const bt=B.default.div`
|
|
2129
|
+
&[data-is-side='true'] {
|
|
2130
|
+
width: 100%;
|
|
2131
|
+
margin-bottom: 0;
|
|
2132
|
+
}
|
|
2133
|
+
${o.MediaQueries.mbDown} {
|
|
2134
|
+
width: 100%;
|
|
2135
|
+
margin-bottom: 0;
|
|
2136
|
+
}
|
|
2137
|
+
|
|
2138
|
+
margin-bottom: 24px;
|
|
2139
|
+
|
|
2140
|
+
& > :not(:last-child) {
|
|
2141
|
+
margin-bottom: 8px;
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2144
|
+
.gender-selector {
|
|
2145
|
+
& > :not(:last-child) {
|
|
2146
|
+
margin-right: 16px;
|
|
2147
|
+
}
|
|
2148
|
+
|
|
2149
|
+
& > div {
|
|
2150
|
+
width: calc(50% - 8px);
|
|
2151
|
+
|
|
2152
|
+
${o.MediaQueries.mbUp} {
|
|
2153
|
+
max-width: 186px;
|
|
2154
|
+
justify-self: left;
|
|
2155
|
+
}
|
|
2156
|
+
}
|
|
2157
|
+
}
|
|
2158
|
+
`,yt=B.default.div`
|
|
2159
|
+
margin-bottom: 20px;
|
|
2160
|
+
width: 100%;
|
|
2161
|
+
|
|
2162
|
+
& > :not(:last-child) {
|
|
2163
|
+
margin-bottom: 8px;
|
|
2164
|
+
}
|
|
2165
|
+
.gender-selector {
|
|
2166
|
+
& > div {
|
|
2167
|
+
width: calc(50% - 8px);
|
|
2168
|
+
}
|
|
2169
|
+
}
|
|
2170
|
+
`,vt=B.default.div`
|
|
2171
|
+
width: 100%;
|
|
2172
|
+
display: flex;
|
|
2173
|
+
justify-content: center;
|
|
2174
|
+
${o.MediaQueries.mbUp} {
|
|
2175
|
+
padding: 0 16px;
|
|
2176
|
+
&[data-is-side='true'] {
|
|
2177
|
+
margin-top: 24px;
|
|
2178
|
+
}
|
|
2179
|
+
}
|
|
2180
|
+
|
|
2181
|
+
${o.MediaQueries.mbDown} {
|
|
2182
|
+
margin-top: 24px;
|
|
2183
|
+
&[data-site='marryBaby'] {
|
|
2184
|
+
margin-top: 12px;
|
|
2185
|
+
}
|
|
2186
|
+
}
|
|
2187
|
+
& > :not(:last-child) {
|
|
2188
|
+
margin-bottom: 8px;
|
|
2189
|
+
}
|
|
2190
|
+
|
|
2191
|
+
button {
|
|
2192
|
+
width: 100%;
|
|
2193
|
+
margin: auto;
|
|
2194
|
+
${o.MediaQueries.mbUp} {
|
|
2195
|
+
max-width: 200px;
|
|
2196
|
+
}
|
|
2197
|
+
}
|
|
2198
|
+
`;B.default.div`
|
|
2199
|
+
${o.MediaQueries.mbUp} {
|
|
2200
|
+
padding-left: 16px;
|
|
2201
|
+
padding-right: 16px;
|
|
2202
|
+
}
|
|
2203
|
+
|
|
2204
|
+
padding-bottom: 60px;
|
|
2205
|
+
`,B.default.div`
|
|
2206
|
+
& > :not(:last-child) {
|
|
2207
|
+
margin-bottom: 28px;
|
|
2208
|
+
}
|
|
2209
|
+
`,B.default.div`
|
|
2210
|
+
${o.MediaQueries.mbUp} {
|
|
2211
|
+
padding-left: 16px;
|
|
2212
|
+
padding-right: 16px;
|
|
2213
|
+
}
|
|
2214
|
+
|
|
2215
|
+
padding-top: 32px;
|
|
2216
|
+
|
|
2217
|
+
color: ${e=>e.theme.colors.gray800};
|
|
2218
|
+
text-align: center;
|
|
2219
|
+
|
|
2220
|
+
& > :last-child {
|
|
2221
|
+
margin-top: 8px;
|
|
2222
|
+
}
|
|
2223
|
+
`,B.default.div`
|
|
2224
|
+
margin-bottom: 32px;
|
|
2225
|
+
|
|
2226
|
+
${o.MediaQueries.mbUp} {
|
|
2227
|
+
padding-left: 16px;
|
|
2228
|
+
padding-right: 16px;
|
|
2229
|
+
}
|
|
2230
|
+
`,B.default.div`
|
|
2231
|
+
margin-bottom: 32px;
|
|
2232
|
+
|
|
2233
|
+
${o.MediaQueries.mbUp} {
|
|
2234
|
+
padding-left: 16px;
|
|
2235
|
+
padding-right: 16px;
|
|
2236
|
+
}
|
|
2237
|
+
`,B.default.div`
|
|
2238
|
+
margin-bottom: 16px;
|
|
2239
|
+
|
|
2240
|
+
${o.MediaQueries.mbUp} {
|
|
2241
|
+
padding-left: 16px;
|
|
2242
|
+
padding-right: 16px;
|
|
2243
|
+
}
|
|
2244
|
+
`,B.default.div`
|
|
2245
|
+
margin-bottom: 24px;
|
|
2246
|
+
|
|
2247
|
+
${o.MediaQueries.mbUp} {
|
|
2248
|
+
padding-left: 16px;
|
|
2249
|
+
padding-right: 16px;
|
|
2250
|
+
}
|
|
2251
|
+
`,B.default.div`
|
|
2252
|
+
margin-bottom: 56px;
|
|
2253
|
+
line-height: 24px;
|
|
2254
|
+
|
|
2255
|
+
& > :first-child {
|
|
2256
|
+
margin-bottom: 8px;
|
|
2257
|
+
}
|
|
2258
|
+
|
|
2259
|
+
${o.MediaQueries.mbUp} {
|
|
2260
|
+
padding-left: 16px;
|
|
2261
|
+
padding-right: 16px;
|
|
2262
|
+
}
|
|
2263
|
+
`,B.default.div`
|
|
2264
|
+
margin-bottom: 56px;
|
|
2265
|
+
|
|
2266
|
+
& > :first-child {
|
|
2267
|
+
margin-bottom: 8px;
|
|
2268
|
+
}
|
|
2269
|
+
|
|
2270
|
+
${o.MediaQueries.mbUp} {
|
|
2271
|
+
padding-left: 16px;
|
|
2272
|
+
padding-right: 16px;
|
|
2273
|
+
}
|
|
2274
|
+
`,B.default.div`
|
|
2275
|
+
padding-top: 32px;
|
|
2276
|
+
|
|
2277
|
+
& > div {
|
|
2278
|
+
margin-bottom: 24px;
|
|
2279
|
+
}
|
|
2280
|
+
|
|
2281
|
+
${o.MediaQueries.mbUp} {
|
|
2282
|
+
padding-left: 16px;
|
|
2283
|
+
padding-right: 16px;
|
|
2284
|
+
}
|
|
2285
|
+
`,B.default.div`
|
|
2286
|
+
padding: 68px 0 56px 0;
|
|
2287
|
+
|
|
2288
|
+
${o.MediaQueries.mbUp} {
|
|
2289
|
+
padding: 84px 0 72px 0;
|
|
2290
|
+
}
|
|
2291
|
+
`,B.default.div`
|
|
2292
|
+
display: flex;
|
|
2293
|
+
gap: 10px;
|
|
2294
|
+
line-height: 1;
|
|
2295
|
+
span {
|
|
2296
|
+
overflow: hidden;
|
|
2297
|
+
text-overflow: ellipsis;
|
|
2298
|
+
-webkit-line-clamp: 2;
|
|
2299
|
+
display: -webkit-box;
|
|
2300
|
+
-webkit-box-orient: vertical;
|
|
2301
|
+
}
|
|
2302
|
+
${o.MediaQueries.mbUp} {
|
|
2303
|
+
padding-right: 16px;
|
|
2304
|
+
padding-bottom: 10px;
|
|
2305
|
+
flex-wrap: wrap;
|
|
2306
|
+
align-items: center;
|
|
2307
|
+
justify-content: space-between;
|
|
2308
|
+
&[data-is-side='true'] {
|
|
2309
|
+
width: 100%;
|
|
2310
|
+
margin-bottom: 15px;
|
|
2311
|
+
justify-content: unset;
|
|
2312
|
+
.label {
|
|
2313
|
+
margin-bottom: 9px;
|
|
2314
|
+
}
|
|
2315
|
+
}
|
|
2316
|
+
}
|
|
2317
|
+
|
|
2318
|
+
${o.MediaQueries.mbDown} {
|
|
2319
|
+
width: 100%;
|
|
2320
|
+
margin-bottom: 15px;
|
|
2321
|
+
|
|
2322
|
+
.label {
|
|
2323
|
+
margin-bottom: 9px;
|
|
2324
|
+
}
|
|
2325
|
+
}
|
|
2326
|
+
`;const wt=B.default.div`
|
|
2327
|
+
width: 100%;
|
|
2328
|
+
display: flex;
|
|
2329
|
+
flex-wrap: wrap;
|
|
2330
|
+
justify-content: space-between;
|
|
2331
|
+
.input-section {
|
|
2332
|
+
display: flex;
|
|
2333
|
+
flex-direction: column;
|
|
2334
|
+
}
|
|
2335
|
+
|
|
2336
|
+
${o.MediaQueries.mbDown} {
|
|
2337
|
+
flex-direction: column;
|
|
2338
|
+
.input-section {
|
|
2339
|
+
width: 100%;
|
|
2340
|
+
}
|
|
2341
|
+
}
|
|
2342
|
+
`,kt=B.default.div`
|
|
2343
|
+
position: relative;
|
|
2344
|
+
width: calc(50% - 8px);
|
|
2345
|
+
|
|
2346
|
+
&[data-is-side='true'] {
|
|
2347
|
+
.label {
|
|
2348
|
+
margin-bottom: 9px;
|
|
2349
|
+
}
|
|
2350
|
+
}
|
|
2351
|
+
${o.MediaQueries.mbDown} {
|
|
2352
|
+
.label {
|
|
2353
|
+
margin-bottom: 9px;
|
|
2354
|
+
}
|
|
2355
|
+
}
|
|
2356
|
+
margin-bottom: 24px;
|
|
2357
|
+
#weight-gain-dropdown {
|
|
2358
|
+
z-index: 9;
|
|
2359
|
+
width: 100%;
|
|
2360
|
+
min-width: unset;
|
|
2361
|
+
max-width: unset;
|
|
2362
|
+
color: ${e=>e.theme.colors.gray800};
|
|
2363
|
+
& > ul {
|
|
2364
|
+
z-index: 1;
|
|
2365
|
+
max-height: 300px;
|
|
2366
|
+
overflow-y: scroll;
|
|
2367
|
+
}
|
|
2368
|
+
}
|
|
2369
|
+
`,Ct=B.default.div`
|
|
2370
|
+
margin-bottom: 24px;
|
|
2371
|
+
width: 100%;
|
|
2372
|
+
|
|
2373
|
+
${o.MediaQueries.mbUp} {
|
|
2374
|
+
padding: 0 16px;
|
|
2375
|
+
}
|
|
2376
|
+
.card {
|
|
2377
|
+
display: flex;
|
|
2378
|
+
align-items: center;
|
|
2379
|
+
justify-content: space-between;
|
|
2380
|
+
|
|
2381
|
+
& > :not(:last-child) {
|
|
2382
|
+
margin-bottom: 8px;
|
|
2383
|
+
}
|
|
2384
|
+
|
|
2385
|
+
.gender-selector {
|
|
2386
|
+
row-gap: 12px;
|
|
2387
|
+
|
|
2388
|
+
& > :not(:last-child) {
|
|
2389
|
+
margin-right: 16px;
|
|
2390
|
+
}
|
|
2391
|
+
|
|
2392
|
+
& > div {
|
|
2393
|
+
${o.MediaQueries.mbUp} {
|
|
2394
|
+
width: calc(18% - 4px);
|
|
2395
|
+
max-width: 186px;
|
|
2396
|
+
justify-self: left;
|
|
2397
|
+
}
|
|
2398
|
+
|
|
2399
|
+
${o.MediaQueries.mbDown} {
|
|
2400
|
+
width: calc(31% - 8px);
|
|
2401
|
+
max-width: 109px;
|
|
2402
|
+
justify-self: left;
|
|
2403
|
+
}
|
|
2404
|
+
}
|
|
2405
|
+
}
|
|
2406
|
+
|
|
2407
|
+
.gender-image {
|
|
2408
|
+
width: 23px;
|
|
2409
|
+
height: 36px;
|
|
2410
|
+
object-fit: contain;
|
|
2411
|
+
}
|
|
2412
|
+
}
|
|
2413
|
+
.note {
|
|
2414
|
+
display: flex;
|
|
2415
|
+
align-items: center;
|
|
2416
|
+
padding-top: 8px;
|
|
2417
|
+
padding-bottom: 16px;
|
|
2418
|
+
}
|
|
2419
|
+
`,Et=B.default.form`
|
|
2420
|
+
margin: auto;
|
|
2421
|
+
${o.MediaQueries.mbUp} {
|
|
2422
|
+
width: 100%;
|
|
2423
|
+
padding: 20px;
|
|
2424
|
+
display: flex;
|
|
2425
|
+
justify-content: space-between;
|
|
2426
|
+
flex-wrap: wrap;
|
|
2427
|
+
}
|
|
2428
|
+
${o.MediaQueries.mbDown} {
|
|
2429
|
+
padding: 16px;
|
|
2430
|
+
}
|
|
2431
|
+
.due-date-calculate-button {
|
|
2432
|
+
width: 100%;
|
|
2433
|
+
margin: 12px auto 0;
|
|
2434
|
+
${o.MediaQueries.mbUp} {
|
|
2435
|
+
max-width: 200px;
|
|
2436
|
+
}
|
|
2437
|
+
}
|
|
2438
|
+
&[data-is-side='true'] {
|
|
2439
|
+
${o.MediaQueries.mbUp} {
|
|
2440
|
+
padding: 24px 40px 0px 40px;
|
|
2441
|
+
}
|
|
2442
|
+
}
|
|
2443
|
+
.input-weight-form {
|
|
2444
|
+
display: flex;
|
|
2445
|
+
flex-wrap: wrap;
|
|
2446
|
+
justify-content: space-between;
|
|
2447
|
+
padding: 0 16px;
|
|
2448
|
+
}
|
|
2449
|
+
.input-form {
|
|
2450
|
+
display: flex;
|
|
2451
|
+
|
|
2452
|
+
${o.MediaQueries.mbUp} {
|
|
2453
|
+
margin-bottom: 24px;
|
|
2454
|
+
width: calc(50% - 8px);
|
|
2455
|
+
}
|
|
2456
|
+
&[data-is-side='true'] {
|
|
2457
|
+
${o.MediaQueries.mbUp} {
|
|
2458
|
+
margin-bottom: 8px;
|
|
2459
|
+
width: 100%;
|
|
2460
|
+
}
|
|
2461
|
+
}
|
|
2462
|
+
${o.MediaQueries.mbDown} {
|
|
2463
|
+
margin-bottom: 8px;
|
|
2464
|
+
}
|
|
2465
|
+
.label-text {
|
|
2466
|
+
overflow: hidden;
|
|
2467
|
+
text-overflow: ellipsis;
|
|
2468
|
+
-webkit-line-clamp: 2;
|
|
2469
|
+
display: -webkit-box;
|
|
2470
|
+
-webkit-box-orient: vertical;
|
|
2471
|
+
}
|
|
2472
|
+
}
|
|
2473
|
+
.input-form-pwg {
|
|
2474
|
+
display: flex;
|
|
2475
|
+
width: calc(50% - 8px);
|
|
2476
|
+
|
|
2477
|
+
${o.MediaQueries.mbUp} {
|
|
2478
|
+
margin-bottom: 24px;
|
|
2479
|
+
}
|
|
2480
|
+
&[data-is-side='true'] {
|
|
2481
|
+
${o.MediaQueries.mbUp} {
|
|
2482
|
+
margin-bottom: 8px;
|
|
2483
|
+
}
|
|
2484
|
+
}
|
|
2485
|
+
${o.MediaQueries.mbDown} {
|
|
2486
|
+
margin-bottom: 8px;
|
|
2487
|
+
width: 100%;
|
|
2488
|
+
}
|
|
2489
|
+
.label-text {
|
|
2490
|
+
overflow: hidden;
|
|
2491
|
+
text-overflow: ellipsis;
|
|
2492
|
+
-webkit-line-clamp: 2;
|
|
2493
|
+
display: -webkit-box;
|
|
2494
|
+
-webkit-box-orient: vertical;
|
|
2495
|
+
}
|
|
2496
|
+
}
|
|
2497
|
+
.day-slider {
|
|
2498
|
+
width: 100%;
|
|
2499
|
+
${o.MediaQueries.mbUp} {
|
|
2500
|
+
width: calc(50% - 8px);
|
|
2501
|
+
&[data-is-side='true'] {
|
|
2502
|
+
width: 100%;
|
|
2503
|
+
}
|
|
2504
|
+
}
|
|
2505
|
+
}
|
|
2506
|
+
`,$t="hhgcomp-embedtoolcard-content",Dt=d.getDefaultClassWrapper(Et,$t),St=B.default.div`
|
|
2507
|
+
padding: 0;
|
|
2508
|
+
background-color: white;
|
|
2509
|
+
border: 1px solid #e4e8ec;
|
|
2510
|
+
border-radius: 4px;
|
|
2511
|
+
|
|
2512
|
+
&[data-site='marryBaby'] {
|
|
2513
|
+
background-color: ${e=>e.theme.mbColors.green};
|
|
2514
|
+
border-radius: 16px;
|
|
2515
|
+
}
|
|
2516
|
+
.due-date-cal {
|
|
2517
|
+
.${$t} {
|
|
2518
|
+
${o.MediaQueries.mbUp} {
|
|
2519
|
+
padding: 24px;
|
|
2520
|
+
}
|
|
2521
|
+
${o.MediaQueries.mbDown} {
|
|
2522
|
+
padding: 16px;
|
|
2523
|
+
}
|
|
2524
|
+
}
|
|
2525
|
+
display: table;
|
|
2526
|
+
width: 100%;
|
|
2527
|
+
.slider-due-date {
|
|
2528
|
+
margin-bottom: 12px;
|
|
2529
|
+
width: 100%;
|
|
2530
|
+
margin-left: 0px;
|
|
2531
|
+
margin-right: 0px;
|
|
2532
|
+
.slider-outer-wrapper {
|
|
2533
|
+
margin: 2rem -0.5rem 1rem;
|
|
2534
|
+
}
|
|
2535
|
+
&[data-theme='marryBaby'] {
|
|
2536
|
+
padding: 1rem;
|
|
2537
|
+
background: white;
|
|
2538
|
+
border-radius: 1rem;
|
|
2539
|
+
.slider-outer-wrapper {
|
|
2540
|
+
gap: 12px;
|
|
2541
|
+
display: flex;
|
|
2542
|
+
align-items: center;
|
|
2543
|
+
margin: 0.5rem;
|
|
2544
|
+
}
|
|
2545
|
+
}
|
|
2546
|
+
}
|
|
2547
|
+
.input-form {
|
|
2548
|
+
display: flex;
|
|
2549
|
+
${o.MediaQueries.mbUp} {
|
|
2550
|
+
width: calc(50% - 8px);
|
|
2551
|
+
margin-bottom: 24px;
|
|
2552
|
+
}
|
|
2553
|
+
&[data-is-side='true'] {
|
|
2554
|
+
${o.MediaQueries.mbUp} {
|
|
2555
|
+
margin-bottom: 12px;
|
|
2556
|
+
width: 100%;
|
|
2557
|
+
}
|
|
2558
|
+
}
|
|
2559
|
+
${o.MediaQueries.mbDown} {
|
|
2560
|
+
margin-bottom: 8px;
|
|
2561
|
+
}
|
|
2562
|
+
}
|
|
2563
|
+
}
|
|
2564
|
+
.heart-rate-cal {
|
|
2565
|
+
.slider-heart-rate {
|
|
2566
|
+
margin-bottom: 12px;
|
|
2567
|
+
width: 100%;
|
|
2568
|
+
margin-left: 0px;
|
|
2569
|
+
margin-right: 0px;
|
|
2570
|
+
.slider-outer-wrapper {
|
|
2571
|
+
margin: 2rem -0.5rem 1rem;
|
|
2572
|
+
}
|
|
2573
|
+
}
|
|
2574
|
+
}
|
|
2575
|
+
.ovulation-cal {
|
|
2576
|
+
display: flex;
|
|
2577
|
+
/* padding-top: 24px; */
|
|
2578
|
+
justify-content: space-between;
|
|
2579
|
+
flex-wrap: wrap;
|
|
2580
|
+
.slider-ovulation {
|
|
2581
|
+
margin-bottom: 12px;
|
|
2582
|
+
/* width: 100%; */
|
|
2583
|
+
margin-left: 0px;
|
|
2584
|
+
margin-right: 0px;
|
|
2585
|
+
.slider-outer-wrapper {
|
|
2586
|
+
margin: 2rem -0.5rem 1rem;
|
|
2587
|
+
}
|
|
2588
|
+
&[data-theme='marryBaby'] {
|
|
2589
|
+
padding: 1rem;
|
|
2590
|
+
background: white;
|
|
2591
|
+
border-radius: 1rem;
|
|
2592
|
+
.slider-outer-wrapper {
|
|
2593
|
+
gap: 12px;
|
|
2594
|
+
display: flex;
|
|
2595
|
+
align-items: center;
|
|
2596
|
+
margin: 0.5rem;
|
|
2597
|
+
}
|
|
2598
|
+
}
|
|
2599
|
+
}
|
|
2600
|
+
.input-form {
|
|
2601
|
+
display: flex;
|
|
2602
|
+
${o.MediaQueries.mbUp} {
|
|
2603
|
+
width: calc(50% - 8px);
|
|
2604
|
+
margin-bottom: 24px;
|
|
2605
|
+
&[data-is-side='true'] {
|
|
2606
|
+
margin-bottom: 12px;
|
|
2607
|
+
width: 100%;
|
|
2608
|
+
}
|
|
2609
|
+
}
|
|
2610
|
+
${o.MediaQueries.mbDown} {
|
|
2611
|
+
margin-bottom: 8px;
|
|
2612
|
+
}
|
|
2613
|
+
}
|
|
2614
|
+
}
|
|
2615
|
+
.pwg-view-mobile {
|
|
2616
|
+
&[data-is-side='true'] {
|
|
2617
|
+
display: flex;
|
|
2618
|
+
flex-wrap: wrap;
|
|
2619
|
+
justify-content: space-between;
|
|
2620
|
+
}
|
|
2621
|
+
${o.MediaQueries.mbDown} {
|
|
2622
|
+
display: flex;
|
|
2623
|
+
flex-wrap: wrap;
|
|
2624
|
+
justify-content: space-between;
|
|
2625
|
+
padding: 16px 0;
|
|
2626
|
+
}
|
|
2627
|
+
.hide-asking-mobile {
|
|
2628
|
+
gap: 10px;
|
|
2629
|
+
&[data-is-side='true'] {
|
|
2630
|
+
${o.MediaQueries.mbUp} {
|
|
2631
|
+
display: none;
|
|
2632
|
+
}
|
|
2633
|
+
}
|
|
2634
|
+
${o.MediaQueries.mbDown} {
|
|
2635
|
+
display: none;
|
|
2636
|
+
}
|
|
2637
|
+
}
|
|
2638
|
+
.hide-asking-desk {
|
|
2639
|
+
gap: 10px;
|
|
2640
|
+
&[data-is-side='true'] {
|
|
2641
|
+
${o.MediaQueries.mbUp} {
|
|
2642
|
+
display: unset;
|
|
2643
|
+
}
|
|
2644
|
+
}
|
|
2645
|
+
${o.MediaQueries.mbUp} {
|
|
2646
|
+
display: none;
|
|
2647
|
+
}
|
|
2648
|
+
}
|
|
2649
|
+
}
|
|
2650
|
+
input[type='date']::after {
|
|
2651
|
+
width: 16px;
|
|
2652
|
+
height: 16px;
|
|
2653
|
+
background-image: url('https://hellobacsi.com/svg/calendar.svg');
|
|
2654
|
+
background-repeat: no-repeat;
|
|
2655
|
+
background-size: contain;
|
|
2656
|
+
content: '';
|
|
2657
|
+
}
|
|
2658
|
+
`,Bt=B.default(te)`
|
|
2659
|
+
&[data-direction='horizontal'] div[data-type='circle'] {
|
|
2660
|
+
margin-right: 8px;
|
|
2661
|
+
}
|
|
2662
|
+
label {
|
|
2663
|
+
font-size: 14px;
|
|
2664
|
+
}
|
|
2665
|
+
`,Mt=B.default(h.Button)`
|
|
2666
|
+
margin: 0 auto 24px;
|
|
2667
|
+
${o.MediaQueries.mbUp} {
|
|
2668
|
+
max-width: 200px;
|
|
2669
|
+
margin: 24px auto;
|
|
2670
|
+
}
|
|
2671
|
+
`,zt=B.default(d.PureInput)`
|
|
2672
|
+
&.bmi--input {
|
|
2673
|
+
+ .bmi--input {
|
|
2674
|
+
margin-top: 24px;
|
|
2675
|
+
}
|
|
2676
|
+
.inputLabel {
|
|
2677
|
+
display: inline-block;
|
|
2678
|
+
margin-bottom: 5px;
|
|
2679
|
+
color: #595959;
|
|
2680
|
+
font-weight: bold;
|
|
2681
|
+
font-size: 12px;
|
|
2682
|
+
}
|
|
2683
|
+
.errorLabel {
|
|
2684
|
+
line-height: 1.3;
|
|
2685
|
+
}
|
|
2686
|
+
input[type='radio'] {
|
|
2687
|
+
padding: 0;
|
|
2688
|
+
}
|
|
2689
|
+
.bmi--input-radio_gender {
|
|
2690
|
+
width: 100%;
|
|
2691
|
+
gap: 16px;
|
|
2692
|
+
> div {
|
|
2693
|
+
${o.MediaQueries.mbDown} {
|
|
2694
|
+
width: calc(50% - 8px);
|
|
2695
|
+
}
|
|
2696
|
+
width: calc(33% - 8px);
|
|
2697
|
+
}
|
|
2698
|
+
& > div > div {
|
|
2699
|
+
display: flex;
|
|
2700
|
+
flex-direction: row;
|
|
2701
|
+
justify-content: center;
|
|
2702
|
+
align-content: center;
|
|
2703
|
+
gap: 8px;
|
|
2704
|
+
padding-block: 5px;
|
|
2705
|
+
}
|
|
2706
|
+
}
|
|
2707
|
+
.bmi-side-embed {
|
|
2708
|
+
> div {
|
|
2709
|
+
${o.MediaQueries.mbUp} {
|
|
2710
|
+
width: calc(50% - 8px);
|
|
2711
|
+
}
|
|
2712
|
+
}
|
|
2713
|
+
}
|
|
2714
|
+
.radio-group-item-heading {
|
|
2715
|
+
margin-top: 0;
|
|
2716
|
+
}
|
|
2717
|
+
}
|
|
2718
|
+
|
|
2719
|
+
${o.MediaQueries.mbDown} {
|
|
2720
|
+
&.bmi--input {
|
|
2721
|
+
.bmi--input-radio_gender {
|
|
2722
|
+
> div {
|
|
2723
|
+
.gender-image {
|
|
2724
|
+
width: 40px;
|
|
2725
|
+
height: 40px;
|
|
2726
|
+
}
|
|
2727
|
+
}
|
|
2728
|
+
}
|
|
2729
|
+
}
|
|
2730
|
+
}
|
|
2731
|
+
`,Pt=B.default.div`
|
|
2732
|
+
width: 100%;
|
|
2733
|
+
`,Tt=B.default.div`
|
|
2734
|
+
margin-bottom: 1rem;
|
|
2735
|
+
display: flex;
|
|
2736
|
+
flex-direction: column;
|
|
2737
|
+
gap: 16px;
|
|
2738
|
+
input {
|
|
2739
|
+
font-size: 12px;
|
|
2740
|
+
::placeholder {
|
|
2741
|
+
color: #8c8c8c;
|
|
2742
|
+
opacity: 1;
|
|
2743
|
+
}
|
|
2744
|
+
}
|
|
2745
|
+
.input-label {
|
|
2746
|
+
label {
|
|
2747
|
+
display: inline-block;
|
|
2748
|
+
margin-bottom: 9px;
|
|
2749
|
+
color: #595959;
|
|
2750
|
+
font-weight: bold;
|
|
2751
|
+
font-size: 12px;
|
|
2752
|
+
}
|
|
2753
|
+
}
|
|
2754
|
+
`;B.default.div`
|
|
2755
|
+
display: flex;
|
|
2756
|
+
flex-direction: column;
|
|
2757
|
+
#thr-dropdown {
|
|
2758
|
+
z-index: 10;
|
|
2759
|
+
width: 100%;
|
|
2760
|
+
min-width: unset;
|
|
2761
|
+
max-width: unset;
|
|
2762
|
+
color: ${e=>e.theme.colors.gray800};
|
|
2763
|
+
& > ul {
|
|
2764
|
+
z-index: 1;
|
|
2765
|
+
max-height: 300px;
|
|
2766
|
+
overflow-y: scroll;
|
|
2767
|
+
}
|
|
2768
|
+
}
|
|
2769
|
+
`;const It=B.default.div`
|
|
2770
|
+
${o.MediaQueries.mbUp} {
|
|
2771
|
+
display: flex;
|
|
2772
|
+
width: 100%;
|
|
2773
|
+
align-items: flex-start;
|
|
2774
|
+
justify-content: space-between;
|
|
2775
|
+
gap: 12px;
|
|
2776
|
+
> div {
|
|
2777
|
+
width: 100%;
|
|
2778
|
+
}
|
|
2779
|
+
&[data-is-side='true'] {
|
|
2780
|
+
${o.MediaQueries.mbUp} {
|
|
2781
|
+
display: flex;
|
|
2782
|
+
flex-direction: column;
|
|
2783
|
+
gap: 0px;
|
|
2784
|
+
}
|
|
2785
|
+
}
|
|
2786
|
+
}
|
|
2787
|
+
${o.MediaQueries.mbDown} {
|
|
2788
|
+
display: flex;
|
|
2789
|
+
flex-direction: column;
|
|
2790
|
+
gap: 0px;
|
|
2791
|
+
}
|
|
2792
|
+
`,Nt=B.default.div`
|
|
2793
|
+
padding-block: 40px;
|
|
2794
|
+
|
|
2795
|
+
&[data-theme='marryBaby'] {
|
|
2796
|
+
padding-block: 0;
|
|
2797
|
+
padding-top: 12px;
|
|
2798
|
+
}
|
|
2799
|
+
`,At=B.default.form`
|
|
2800
|
+
display: flex;
|
|
2801
|
+
flex-direction: column;
|
|
2802
|
+
gap: 16px;
|
|
2803
|
+
`,_t=B.default.div`
|
|
2804
|
+
display: flex;
|
|
2805
|
+
flex-direction: column;
|
|
2806
|
+
gap: 6px;
|
|
2807
|
+
margin-top: auto;
|
|
2808
|
+
|
|
2809
|
+
.error-input input {
|
|
2810
|
+
border: 1px solid ${e=>e.theme.colors.red700};
|
|
2811
|
+
}
|
|
2812
|
+
`,jt=B.default(y.Label)`
|
|
2813
|
+
display: inline-flex;
|
|
2814
|
+
padding-bottom: 6px;
|
|
2815
|
+
gap: 4px;
|
|
2816
|
+
`,Ot=B.default.div`
|
|
2817
|
+
display: flex;
|
|
2818
|
+
width: 100%;
|
|
2819
|
+
align-items: center;
|
|
2820
|
+
justify-content: space-between;
|
|
2821
|
+
gap: 16px;
|
|
2822
|
+
> div {
|
|
2823
|
+
width: 100%;
|
|
2824
|
+
}
|
|
2825
|
+
`;B.default.div`
|
|
2826
|
+
${o.MediaQueries.mbUp} {
|
|
2827
|
+
padding: 0 16px;
|
|
2828
|
+
}
|
|
2829
|
+
|
|
2830
|
+
margin-bottom: 24px;
|
|
2831
|
+
|
|
2832
|
+
& > :not(:last-child) {
|
|
2833
|
+
margin-bottom: 8px;
|
|
2834
|
+
}
|
|
2835
|
+
|
|
2836
|
+
.gender-selector {
|
|
2837
|
+
& > :not(:last-child) {
|
|
2838
|
+
margin-right: 16px;
|
|
2839
|
+
}
|
|
2840
|
+
|
|
2841
|
+
& > div {
|
|
2842
|
+
width: calc(50% - 8px);
|
|
2843
|
+
|
|
2844
|
+
${o.MediaQueries.mbUp} {
|
|
2845
|
+
max-width: 186px;
|
|
2846
|
+
justify-self: left;
|
|
2847
|
+
}
|
|
2848
|
+
}
|
|
2849
|
+
}
|
|
2850
|
+
`;const Qt=(e=0,t=0)=>{try{if(e&&t){const a=Number(t)/Math.pow(Number(e)/100,2);return Number(((e,t=2)=>Intl.NumberFormat(void 0,{maximumFractionDigits:t}).format(e))(a))}return 0}catch(e){}return 0},Ut=B.default.div`
|
|
2851
|
+
padding: 36px;
|
|
2852
|
+
padding-top: 0;
|
|
2853
|
+
background-color: white;
|
|
2854
|
+
${o.MediaQueries.mbDown} {
|
|
2855
|
+
padding: 16px;
|
|
2856
|
+
padding-top: 0;
|
|
2857
|
+
}
|
|
2858
|
+
&[data-theme='marryBaby'] {
|
|
2859
|
+
background-color: ${e=>e.theme.mbColors.green};
|
|
2860
|
+
padding: 24px;
|
|
2861
|
+
border-bottom-right-radius: 16px;
|
|
2862
|
+
border-bottom-left-radius: 16px;
|
|
2863
|
+
${o.MediaQueries.mbDown} {
|
|
2864
|
+
padding: 16px;
|
|
2865
|
+
}
|
|
2866
|
+
}
|
|
2867
|
+
`,Ft=B.default((({onSubmit:r,onError:o,schema:n,siteType:l})=>{const{t:p}=a.useTranslations(),c="mb"===i.useMantineTheme().other.template,{control:g,setValue:y,watch:v,handleSubmit:w,formState:{isSubmitted:k}}=x.useForm({resolver:f.yupResolver(n),mode:"onSubmit",defaultValues:{name:"",gender:u.Gender.Boy,measurementDate:new Date}}),C=v("weight"),E=v("height"),$=v("head"),D=e.useMemo((()=>k&&!C&&!E&&!$),[k,C,E,$]);e.useEffect((()=>{const e=Qt(E,C);y("bmi",String(e)||"0")}),[C,E]);const B=e.useMemo((()=>"undefined"!=typeof window?window.location.href:""),[]);return S.default.createElement(S.default.Fragment,null,S.default.createElement(Nt,{"data-theme":l},S.default.createElement(At,{onSubmit:w(r,o)},S.default.createElement(x.Controller,{control:g,name:"gender",render:({field:{onChange:e,value:t}})=>S.default.createElement(b.BabyGrowthGender,{onChange:e,value:t,siteType:l})}),"marryBaby"===l?S.default.createElement(S.default.Fragment,null,S.default.createElement(x.Controller,{control:g,name:"birthday",render:({field:{onChange:e,value:a},fieldState:{error:i}})=>S.default.createElement(_t,null,S.default.createElement(pt,{label:p("babyGrowth.input.birthday"),name:"birthday",size:"md",value:String(a),CustomInput:S.default.createElement(F,{onChange:e,placeholder:"dd/mm/yyyy",pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:t=>S.default.createElement(s.Input,Object.assign({onChange:e,className:(null==i?void 0:i.message)?"error-input":"",name:"birthday",size:"md"},t,{value:a&&M.default(a).format(d.DUE_DATE_FORMAT)}))}),actionIcon:S.default.createElement(t.Icon.CalendarMB,{size:32})}))}),S.default.createElement(Ot,null,S.default.createElement(x.Controller,{control:g,name:"height",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>S.default.createElement(_t,null,S.default.createElement(pt,{label:`${p("babyGrowth.height")} ${p("babyGrowth.cm")}`,name:"height",size:"md",value:String(t),CustomInput:S.default.createElement(s.Input,{className:D||(null==a?void 0:a.message)?"error-input":"",name:"height",size:"md",placeholder:"Nhập thông tin",value:String(t),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),S.default.createElement(x.Controller,{control:g,name:"weight",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>S.default.createElement(_t,null,S.default.createElement(pt,{label:`${p("babyGrowth.weight")} ${p("babyGrowth.kg")}`,name:"weight",size:"md",value:String(t),CustomInput:S.default.createElement(s.Input,{className:D||(null==a?void 0:a.message)?"error-input":"",name:"weight",size:"md",placeholder:"Nhập thông tin",value:String(t),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))})),S.default.createElement(Ot,null,S.default.createElement(x.Controller,{control:g,name:"head",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>S.default.createElement(_t,null,S.default.createElement(pt,{label:`${p("babyGrowth.headCircumference")} ${p("babyGrowth.cm")}`,name:"head",size:"md",value:String(t),CustomInput:S.default.createElement(s.Input,{className:D||(null==a?void 0:a.message)?"error-input":"",name:"head",size:"md",value:String(t),onChange:e,type:"number",placeholder:"Nhập thông tin",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),S.default.createElement(x.Controller,{control:g,name:"bmi",render:({field:{value:e}})=>S.default.createElement(_t,null,S.default.createElement(pt,{label:`${p("babyGrowth.input.bmi")} ${p("babyGrowth.kg.m2")}`,name:"date",size:"md",value:String(e),CustomInput:S.default.createElement(s.Input,{name:"bmi",size:"md",type:"number",value:String(e),isDisabled:!0,style:{color:"#9495A0"}})}))})),S.default.createElement(x.Controller,{control:g,name:"measurementDate",render:({field:{onChange:e,value:a},fieldState:{error:i}})=>S.default.createElement(_t,null,S.default.createElement(pt,{label:p("babyGrowth.input.measurementDate"),name:"date",size:"md",value:xt(a),CustomInput:S.default.createElement(F,{placeholder:a&&M.default(a).format(d.DUE_DATE_FORMAT),pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",onChange:e,disabledDays:{after:new Date},customInput:t=>S.default.createElement(s.Input,Object.assign({className:(null==i?void 0:i.message)&&"error-input",name:"measurementDate",size:"md",placeholder:a&&M.default(a).format(d.DUE_DATE_FORMAT),onChange:e},t,{value:a&&M.default(a).format(d.DUE_DATE_FORMAT)}))}),actionIcon:S.default.createElement(t.Icon.CalendarMB,{size:32})}))}),S.default.createElement(h.Button,{size:"lg",type:"submit",variant:c?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":B},p("babyGrowth.input.submit"))):S.default.createElement(S.default.Fragment,null,S.default.createElement(x.Controller,{control:g,name:"birthday",render:({field:{onChange:e,value:a},fieldState:{error:i}})=>S.default.createElement(_t,null,S.default.createElement(jt,{size:"label1",htmlFor:"birthday"},S.default.createElement(t.Text,{as:"label",size:"s4",weight:"semiBold"},p("babyGrowth.input.birthday"))),S.default.createElement(F,{onChange:e,placeholder:"dd/mm/yyyy",pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:r=>S.default.createElement(s.Input,Object.assign({onChange:e,className:(null==i?void 0:i.message)?"error-input":"",name:"birthday",size:"md",actionIcon:S.default.createElement(t.Icon.Calendar,null)},r,{value:a&&M.default(a).format(d.DUE_DATE_FORMAT)}))}))}),S.default.createElement(Ot,null,S.default.createElement(x.Controller,{control:g,name:"height",render:({field:{onChange:e,value:a},fieldState:{error:i}})=>S.default.createElement(_t,null,S.default.createElement(jt,{size:"label1",htmlFor:"height"},S.default.createElement(t.Text,{size:"s4",weight:"semiBold"},p("babyGrowth.height")),S.default.createElement(t.Text,{as:"span",size:"n1",color:m.theme.colors.gray400},p("babyGrowth.cm"))),S.default.createElement(s.Input,{className:D||(null==i?void 0:i.message)?"error-input":"",name:"height",placeholder:"0",size:"md",value:String(a),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),S.default.createElement(x.Controller,{control:g,name:"weight",render:({field:{onChange:e,value:a},fieldState:{error:i}})=>S.default.createElement(_t,null,S.default.createElement(jt,{size:"label1",htmlFor:"weight"},S.default.createElement(t.Text,{size:"s4",weight:"semiBold"},p("babyGrowth.weight")),S.default.createElement(t.Text,{as:"span",size:"n1",color:m.theme.colors.gray400},p("babyGrowth.kg"))),S.default.createElement(s.Input,{className:D||(null==i?void 0:i.message)?"error-input":"",name:"weight",placeholder:"0",size:"md",value:String(a),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))})),S.default.createElement(Ot,null,S.default.createElement(x.Controller,{control:g,name:"head",render:({field:{onChange:e,value:a},fieldState:{error:i}})=>S.default.createElement(_t,null,S.default.createElement(jt,{size:"label1",htmlFor:"head"},S.default.createElement(t.Text,{size:"s4",weight:"semiBold"},p("babyGrowth.headCircumference")),S.default.createElement(t.Text,{as:"span",size:"n1",color:m.theme.colors.gray400},p("babyGrowth.cm"))),S.default.createElement(s.Input,{className:D||(null==i?void 0:i.message)?"error-input":"",name:"head",placeholder:"0",size:"md",value:String(a),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),S.default.createElement(x.Controller,{control:g,name:"bmi",render:({field:{value:e}})=>S.default.createElement(_t,null,S.default.createElement(jt,{size:"label1",htmlFor:"bmi"},S.default.createElement(t.Text,{size:"s4",weight:"semiBold"},p("babyGrowth.input.bmi")),S.default.createElement(t.Text,{as:"span",size:"n1",color:m.theme.colors.gray400},p("babyGrowth.kg.m2"))),S.default.createElement(s.Input,{name:"bmi",size:"md",type:"number",value:String(e),isDisabled:!0}))})),S.default.createElement(x.Controller,{control:g,name:"measurementDate",render:({field:{onChange:e,value:a},fieldState:{error:i}})=>S.default.createElement(_t,null,S.default.createElement(jt,{size:"label1",htmlFor:"measurementDate"},S.default.createElement(t.Text,{as:"label",size:"s4",weight:"semiBold"},p("babyGrowth.input.measurementDate"))),S.default.createElement(F,{placeholder:a&&M.default(a).format(d.DUE_DATE_FORMAT),pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",onChange:e,disabledDays:{after:new Date},customInput:r=>S.default.createElement(s.Input,Object.assign({className:(null==i?void 0:i.message)&&"error-input",name:"measurementDate",size:"md",placeholder:a&&M.default(a).format(d.DUE_DATE_FORMAT),onChange:e,actionIcon:S.default.createElement(t.Icon.Calendar,null)},r,{value:a&&M.default(a).format(d.DUE_DATE_FORMAT)}))}))}),S.default.createElement(h.Button,{size:"lg",type:"submit",variant:c?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":B},p("babyGrowth.input.submit"))))))}))`
|
|
2868
|
+
padding-block: 0;
|
|
2869
|
+
`;B.default(dt)`
|
|
2870
|
+
padding-inline: 20px;
|
|
2871
|
+
|
|
2872
|
+
img.embedded-icon {
|
|
2873
|
+
width: 140px;
|
|
2874
|
+
margin-left: 50%;
|
|
2875
|
+
align-self: center;
|
|
2876
|
+
}
|
|
2877
|
+
|
|
2878
|
+
${o.MediaQueries.mbDown} {
|
|
2879
|
+
padding-inline: 0;
|
|
2880
|
+
img.embedded-icon {
|
|
2881
|
+
width: 125px;
|
|
2882
|
+
align-self: end;
|
|
2883
|
+
margin-left: 0;
|
|
2884
|
+
position: absolute;
|
|
2885
|
+
transform: translateY(50%);
|
|
2886
|
+
}
|
|
2887
|
+
.embedded-review {
|
|
2888
|
+
max-width: 200px;
|
|
2889
|
+
}
|
|
2890
|
+
}
|
|
2891
|
+
`;var Rt=i.createStyles(((e,t)=>{const{isMarryBaby:a,isSide:i,direction:r}=t;return{root:Object.assign(Object.assign(Object.assign(Object.assign({position:"relative",display:"flex"},"auto"===r?{flexDirection:"row"}:{flexDirection:"column"===r?"column-reverse":"row"}),{gap:"8px",padding:"16px",borderRadius:a?"16px":"8px"}),!a&&{backgroundImage:`url(${g.CommonGAssets.getAssetPath("bgPattern/baby-poop.svg")})`,backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:"center"}),{backgroundColor:a?e.colors.toneGreen.toString():e.colors[e.primaryColor][0],[e.fn.smallerThan("sm")]:Object.assign({},"auto"===r?{flexDirection:"column-reverse"}:{}),[e.fn.smallerThan("md")]:{borderRadius:a?"12px":"8px"},[e.fn.largerThan("md")]:{padding:"32px",gap:"20px"}}),inner:{display:"flex",gap:"16px",flexDirection:"column",flex:1},content:{display:"flex",flexDirection:"column",gap:"16px"},reviewText:{display:"flex",gap:"4px",a:{color:e.colors.gray[6],fontWeight:"bold","&:not(:hover)":{textDecoration:"none"}}},reviewTextIcon:{flexShrink:0,width:"16px",height:"16px",[e.fn.largerThan("sm")]:{marginTop:"2px"}},thumbnail:Object.assign(Object.assign({img:{objectFit:"contain",objectPosition:"bottom",width:"100%",height:"100%"}},"column"===r?{width:"80%",alignSelf:"center"}:"row"===r?{width:"40%"}:{}),{[e.fn.smallerThan("sm")]:Object.assign({},"auto"===r?{width:"80%",alignSelf:"center"}:{}),[e.fn.largerThan("sm")]:Object.assign({},"auto"===r?{width:"40%"}:{})}),action:{display:"flex",justifyContent:a?"center":"flex-start"},btn:{minWidth:a?"auto":"143px",width:i||a?"100%":"auto",[e.fn.smallerThan("md")]:{width:"100%"}},sponsorLogo:Object.assign(Object.assign({position:"absolute",top:0,height:40,objectFit:"contain",objectPosition:"top"},"column"===r?{left:"16px",height:40}:"row"===r?{height:50,right:"40px"}:{left:"16px",height:40}),{[e.fn.largerThan("sm")]:Object.assign({},"auto"===r?{height:50,right:"40px",left:"unset"}:{})})}}));const Gt=B.default.div`
|
|
2892
|
+
display: flex;
|
|
2893
|
+
width: 100%;
|
|
2894
|
+
|
|
2895
|
+
&[data-direction='vertical'] {
|
|
2896
|
+
flex-direction: column;
|
|
2897
|
+
}
|
|
2898
|
+
|
|
2899
|
+
&[data-direction='horizontal'] {
|
|
2900
|
+
flex-wrap: wrap;
|
|
2901
|
+
}
|
|
2902
|
+
`,Lt=B.default.div`
|
|
2903
|
+
display: flex;
|
|
2904
|
+
|
|
2905
|
+
padding: 8px;
|
|
2906
|
+
|
|
2907
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
2908
|
+
cursor: pointer;
|
|
2909
|
+
|
|
2910
|
+
& > div {
|
|
2911
|
+
display: flex;
|
|
2912
|
+
width: 100%;
|
|
2913
|
+
height: 100%;
|
|
2914
|
+
flex-direction: column;
|
|
2915
|
+
align-items: center;
|
|
2916
|
+
justify-content: flex-start;
|
|
2917
|
+
}
|
|
2918
|
+
|
|
2919
|
+
&[data-selected='true'] {
|
|
2920
|
+
border: 1px solid #2d87f3;
|
|
2921
|
+
background: white;
|
|
2922
|
+
|
|
2923
|
+
.radio-group-item-heading {
|
|
2924
|
+
color: #2d87f3;
|
|
2925
|
+
}
|
|
2926
|
+
}
|
|
2927
|
+
&[data-selected='false'] {
|
|
2928
|
+
border: 1px solid #f2f2f2;
|
|
2929
|
+
box-shadow: 0px 5px 12px rgba(40, 74, 117, 0.08);
|
|
2930
|
+
.radio-group-item-heading {
|
|
2931
|
+
color: #262626;
|
|
2932
|
+
}
|
|
2933
|
+
}
|
|
2934
|
+
&[data-disabled='true'] {
|
|
2935
|
+
cursor: auto;
|
|
2936
|
+
}
|
|
2937
|
+
|
|
2938
|
+
.radio-group-item-heading {
|
|
2939
|
+
margin-top: 8px;
|
|
2940
|
+
text-align: center;
|
|
2941
|
+
}
|
|
2942
|
+
|
|
2943
|
+
.gender-image {
|
|
2944
|
+
width: 23px;
|
|
2945
|
+
height: 36px;
|
|
2946
|
+
object-fit: contain;
|
|
2947
|
+
}
|
|
2948
|
+
`,Ht=B.default(h.Button)`
|
|
2949
|
+
margin: 0 auto 24px;
|
|
2950
|
+
width: 100%;
|
|
2951
|
+
${o.MediaQueries.mbUp} {
|
|
2952
|
+
max-width: 200px;
|
|
2953
|
+
}
|
|
2954
|
+
`;B.default.div`
|
|
2955
|
+
display: flex;
|
|
2956
|
+
gap: 10px;
|
|
2957
|
+
line-height: 1;
|
|
2958
|
+
span {
|
|
2959
|
+
overflow: hidden;
|
|
2960
|
+
text-overflow: ellipsis;
|
|
2961
|
+
-webkit-line-clamp: 2;
|
|
2962
|
+
display: -webkit-box;
|
|
2963
|
+
-webkit-box-orient: vertical;
|
|
2964
|
+
}
|
|
2965
|
+
${o.MediaQueries.mbUp} {
|
|
2966
|
+
padding-right: 16px;
|
|
2967
|
+
padding-bottom: 10px;
|
|
2968
|
+
flex-wrap: wrap;
|
|
2969
|
+
align-items: center;
|
|
2970
|
+
&[data-is-side='true'] {
|
|
2971
|
+
width: 100%;
|
|
2972
|
+
justify-content: unset;
|
|
2973
|
+
.label {
|
|
2974
|
+
margin-bottom: 9px;
|
|
2975
|
+
}
|
|
2976
|
+
}
|
|
2977
|
+
}
|
|
2978
|
+
&[data-is-side='true'] {
|
|
2979
|
+
${o.MediaQueries.mbDown} {
|
|
2980
|
+
width: 100%;
|
|
2981
|
+
.label {
|
|
2982
|
+
margin-bottom: 9px;
|
|
2983
|
+
}
|
|
2984
|
+
}
|
|
2985
|
+
}
|
|
2986
|
+
${o.MediaQueries.mbDown} {
|
|
2987
|
+
width: 100%;
|
|
2988
|
+
.label {
|
|
2989
|
+
margin-bottom: 9px;
|
|
2990
|
+
}
|
|
2991
|
+
}
|
|
2992
|
+
`,B.default(d.PureInput)`
|
|
2993
|
+
&.bmi--input {
|
|
2994
|
+
+ .bmi--input {
|
|
2995
|
+
margin-top: 24px;
|
|
2996
|
+
}
|
|
2997
|
+
.inputLabel {
|
|
2998
|
+
display: inline-block;
|
|
2999
|
+
margin-bottom: 5px;
|
|
3000
|
+
color: #595959;
|
|
3001
|
+
font-weight: bold;
|
|
3002
|
+
font-size: 12px;
|
|
3003
|
+
}
|
|
3004
|
+
.errorLabel {
|
|
3005
|
+
line-height: 1.3;
|
|
3006
|
+
}
|
|
3007
|
+
input[type='radio'] {
|
|
3008
|
+
padding: 0;
|
|
3009
|
+
}
|
|
3010
|
+
.bmi--input-radio_gender {
|
|
3011
|
+
width: 100%;
|
|
3012
|
+
gap: 16px;
|
|
3013
|
+
> div {
|
|
3014
|
+
width: calc(50% - 8px);
|
|
3015
|
+
}
|
|
3016
|
+
& > div > div {
|
|
3017
|
+
display: flex;
|
|
3018
|
+
flex-direction: row;
|
|
3019
|
+
justify-content: center;
|
|
3020
|
+
align-content: center;
|
|
3021
|
+
gap: 8px;
|
|
3022
|
+
padding-block: 5px;
|
|
3023
|
+
}
|
|
3024
|
+
}
|
|
3025
|
+
.radio-group-item-heading {
|
|
3026
|
+
margin-top: 0;
|
|
3027
|
+
}
|
|
3028
|
+
}
|
|
3029
|
+
|
|
3030
|
+
${o.MediaQueries.mbUp} {
|
|
3031
|
+
&.bmi--input {
|
|
3032
|
+
.bmi--input-radio_gender {
|
|
3033
|
+
> div {
|
|
3034
|
+
max-width: 186px;
|
|
3035
|
+
}
|
|
3036
|
+
}
|
|
3037
|
+
}
|
|
3038
|
+
}
|
|
3039
|
+
|
|
3040
|
+
${o.MediaQueries.mbDown} {
|
|
3041
|
+
&.bmi--input {
|
|
3042
|
+
.bmi--input-radio_gender {
|
|
3043
|
+
> div {
|
|
3044
|
+
.gender-image {
|
|
3045
|
+
width: 40px;
|
|
3046
|
+
height: 40px;
|
|
3047
|
+
}
|
|
3048
|
+
}
|
|
3049
|
+
}
|
|
3050
|
+
}
|
|
3051
|
+
}
|
|
3052
|
+
`;const qt=B.default.div``,Wt=B.default.div`
|
|
3053
|
+
display: flex;
|
|
3054
|
+
flex-direction: column;
|
|
3055
|
+
gap: 16px;
|
|
3056
|
+
input {
|
|
3057
|
+
font-size: 12px;
|
|
3058
|
+
}
|
|
3059
|
+
.gender-option {
|
|
3060
|
+
gap: 16px;
|
|
3061
|
+
> div {
|
|
3062
|
+
width: calc(50% - 8px);
|
|
3063
|
+
}
|
|
3064
|
+
}
|
|
3065
|
+
.input-label {
|
|
3066
|
+
label {
|
|
3067
|
+
display: inline-block;
|
|
3068
|
+
margin-bottom: 9px;
|
|
3069
|
+
color: #595959;
|
|
3070
|
+
font-weight: bold;
|
|
3071
|
+
font-size: 12px;
|
|
3072
|
+
}
|
|
3073
|
+
}
|
|
3074
|
+
`,Vt=B.default.div`
|
|
3075
|
+
${o.MediaQueries.mbUp} {
|
|
3076
|
+
display: flex;
|
|
3077
|
+
width: 100%;
|
|
3078
|
+
align-items: flex-start;
|
|
3079
|
+
justify-content: space-between;
|
|
3080
|
+
gap: 16px;
|
|
3081
|
+
margin-bottom: 24px;
|
|
3082
|
+
> div {
|
|
3083
|
+
width: 100%;
|
|
3084
|
+
}
|
|
3085
|
+
}
|
|
3086
|
+
|
|
3087
|
+
${o.MediaQueries.mbDown} {
|
|
3088
|
+
display: flex;
|
|
3089
|
+
flex-direction: column;
|
|
3090
|
+
gap: 16px;
|
|
3091
|
+
margin-bottom: 8px;
|
|
3092
|
+
}
|
|
3093
|
+
&[data-is-side='true'] {
|
|
3094
|
+
${o.MediaQueries.mbUp} {
|
|
3095
|
+
display: flex;
|
|
3096
|
+
flex-direction: column-reverse;
|
|
3097
|
+
gap: 0px;
|
|
3098
|
+
}
|
|
3099
|
+
}
|
|
3100
|
+
`,Yt=B.default(h.Button)`
|
|
3101
|
+
margin: 0 auto 24px;
|
|
3102
|
+
${o.MediaQueries.mbUp} {
|
|
3103
|
+
max-width: 200px;
|
|
3104
|
+
margin: 24px auto;
|
|
3105
|
+
}
|
|
3106
|
+
`;B.default(d.PureInput)`
|
|
3107
|
+
&.bmi--input {
|
|
3108
|
+
+ .bmi--input {
|
|
3109
|
+
margin-top: 24px;
|
|
3110
|
+
}
|
|
3111
|
+
.inputLabel {
|
|
3112
|
+
display: inline-block;
|
|
3113
|
+
margin-bottom: 5px;
|
|
3114
|
+
color: #595959;
|
|
3115
|
+
font-weight: bold;
|
|
3116
|
+
font-size: 12px;
|
|
3117
|
+
}
|
|
3118
|
+
.errorLabel {
|
|
3119
|
+
line-height: 1.3;
|
|
3120
|
+
}
|
|
3121
|
+
input[type='radio'] {
|
|
3122
|
+
padding: 0;
|
|
3123
|
+
}
|
|
3124
|
+
.bmi--input-radio_gender {
|
|
3125
|
+
width: 100%;
|
|
3126
|
+
gap: 16px;
|
|
3127
|
+
> div {
|
|
3128
|
+
${o.MediaQueries.mbDown} {
|
|
3129
|
+
width: calc(50% - 8px);
|
|
3130
|
+
}
|
|
3131
|
+
width: calc(33% - 8px);
|
|
3132
|
+
}
|
|
3133
|
+
& > div > div {
|
|
3134
|
+
display: flex;
|
|
3135
|
+
flex-direction: row;
|
|
3136
|
+
justify-content: center;
|
|
3137
|
+
align-content: center;
|
|
3138
|
+
gap: 8px;
|
|
3139
|
+
padding-block: 5px;
|
|
3140
|
+
}
|
|
3141
|
+
}
|
|
3142
|
+
.bmi-side-embed {
|
|
3143
|
+
> div {
|
|
3144
|
+
${o.MediaQueries.mbUp} {
|
|
3145
|
+
width: calc(50% - 8px);
|
|
3146
|
+
}
|
|
3147
|
+
}
|
|
3148
|
+
}
|
|
3149
|
+
.radio-group-item-heading {
|
|
3150
|
+
margin-top: 0;
|
|
3151
|
+
}
|
|
3152
|
+
}
|
|
3153
|
+
|
|
3154
|
+
${o.MediaQueries.mbDown} {
|
|
3155
|
+
&.bmi--input {
|
|
3156
|
+
.bmi--input-radio_gender {
|
|
3157
|
+
> div {
|
|
3158
|
+
.gender-image {
|
|
3159
|
+
width: 40px;
|
|
3160
|
+
height: 40px;
|
|
3161
|
+
}
|
|
3162
|
+
}
|
|
3163
|
+
}
|
|
3164
|
+
}
|
|
3165
|
+
}
|
|
3166
|
+
`;const Zt=B.default.div``,Xt=B.default.div`
|
|
3167
|
+
margin-bottom: 1rem;
|
|
3168
|
+
display: flex;
|
|
3169
|
+
flex-direction: column;
|
|
3170
|
+
gap: 16px;
|
|
3171
|
+
input {
|
|
3172
|
+
font-size: 12px;
|
|
3173
|
+
::placeholder {
|
|
3174
|
+
color: #8c8c8c;
|
|
3175
|
+
opacity: 1;
|
|
3176
|
+
}
|
|
3177
|
+
}
|
|
3178
|
+
.gender-option {
|
|
3179
|
+
gap: 16px;
|
|
3180
|
+
> div {
|
|
3181
|
+
width: calc(50% - 8px);
|
|
3182
|
+
}
|
|
3183
|
+
}
|
|
3184
|
+
.input-label {
|
|
3185
|
+
label {
|
|
3186
|
+
display: inline-block;
|
|
3187
|
+
margin-bottom: 9px;
|
|
3188
|
+
color: #595959;
|
|
3189
|
+
font-weight: bold;
|
|
3190
|
+
font-size: 12px;
|
|
3191
|
+
}
|
|
3192
|
+
}
|
|
3193
|
+
`,Jt=B.default.div`
|
|
3194
|
+
${o.MediaQueries.mbUp} {
|
|
3195
|
+
display: flex;
|
|
3196
|
+
width: 100%;
|
|
3197
|
+
align-items: flex-start;
|
|
3198
|
+
justify-content: space-between;
|
|
3199
|
+
gap: 12px;
|
|
3200
|
+
> div {
|
|
3201
|
+
width: 100%;
|
|
3202
|
+
}
|
|
3203
|
+
&[data-is-side='true'] {
|
|
3204
|
+
${o.MediaQueries.mbUp} {
|
|
3205
|
+
display: flex;
|
|
3206
|
+
flex-direction: column;
|
|
3207
|
+
gap: 0px;
|
|
3208
|
+
}
|
|
3209
|
+
}
|
|
3210
|
+
}
|
|
3211
|
+
${o.MediaQueries.mbDown} {
|
|
3212
|
+
display: flex;
|
|
3213
|
+
flex-direction: column;
|
|
3214
|
+
gap: 0px;
|
|
3215
|
+
}
|
|
3216
|
+
`,Kt=({locale:i,onSubmit:r,isSide:o,siteType:n})=>{const{t:l}=a.useTranslations(),[p,c]=e.useState(new Date),[u,g]=e.useState(28),[f,x]=e.useState(7),b={cycle:u,periodDateStart:p,periodLength:f},y=e.useMemo((()=>"undefined"!=typeof window?window.location.href:""),[]);return S.default.createElement(S.default.Fragment,null,S.default.createElement(ut,{className:"input-form input-section","data-is-side":!0},"marryBaby"===n?S.default.createElement(pt,{label:l("dueDatePage.lastPeriod.lastPeriodLabel"),name:"date",size:"md",value:xt(p),CustomInput:S.default.createElement(F,{onChange:e=>{c(e)},placeholder:"dd/mm/yyyy",pickedDate:p,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:w.addDays(new Date,-45),after:new Date},customInput:e=>S.default.createElement(s.Input,Object.assign({className:"due-date-input",name:"birthday",size:"md"},e,{value:p&&M.default(p).format(d.DUE_DATE_FORMAT)}))}),actionIcon:S.default.createElement(t.Icon.CalendarMB,{size:32})}):S.default.createElement(s.Input,{label:S.default.createElement(t.Text,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},l("dueDatePage.lastPeriod.lastPeriodLabel")),value:xt(p),size:"md",name:"date",className:"due-date-input",CustomInput:S.default.createElement(F,{customInput:e=>S.default.createElement("input",Object.assign({},e,{type:"date",className:"due-date-input",value:xt(p)})),locale:i,pickedDate:p,displayDateFormat:E.DATE_FORMAT,onChange:e=>{c(e)},disabledDays:{before:w.addDays(new Date,-45),after:new Date},placeholder:"Chọn ngày"})})),S.default.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===n?"marryBaby":"","data-is-side":o},"marryBaby"===n?S.default.createElement(C.MarryBabyText,{type:"bodytext-3",color:m.theme.mbColors.midGray},l("ovulationPage.cycleLength")):S.default.createElement(t.Text,{size:"s4",weight:"semiBold",color:"#595959"},l("ovulationPage.cycleLength")+" ",S.default.createElement(t.Text,{size:"s4",weight:"semiBold",color:"#595959",style:{display:"inline",minHeight:"36px"}},l("ovulationPage.dayUnit"))),S.default.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===n&&S.default.createElement(t.Text,{size:"s3",weight:"semiBold",color:m.theme.colors.gray600},u),S.default.createElement(k.Slider,{containerStyle:{flex:1},min:21,max:45,step:1,value:u,onChange:g,labelAlwaysOn:"marryBaby"!==n,withControl:"marryBaby"!==n,label:"marryBaby"!==n?void 0:null}))),S.default.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===n?"marryBaby":"","data-is-side":o},"marryBaby"===n?S.default.createElement(C.MarryBabyText,{type:"bodytext-3",color:m.theme.mbColors.midGray},l("ovulationPage.periodDuration")):S.default.createElement(t.Text,{size:"s4",weight:"semiBold",color:"#595959"},l("ovulationPage.periodDuration")+" ",S.default.createElement(t.Text,{size:"s4",weight:"semiBold",color:"#595959",style:{display:"inline",minHeight:"36px"}},l("ovulationPage.dayUnit"))),S.default.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===n&&S.default.createElement(t.Text,{size:"s3",weight:"semiBold",color:m.theme.colors.gray600},f),S.default.createElement(k.Slider,{containerStyle:{flex:1},min:1,max:15,step:1,value:f,onChange:x,labelAlwaysOn:"marryBaby"!==n,withControl:"marryBaby"!==n,label:"marryBaby"!==n?void 0:null}))),S.default.createElement("div",{style:{width:"100%",display:"flex"}},S.default.createElement(h.Button,{className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===n?"secondary":"primary",dataEventCategory:"Health Tool",dataEventAction:"Ovulation",dataEventLabel:y,onClick:()=>{localStorage.setItem("ovulationInfo",JSON.stringify(b)),r&&r({startDate:p,cycle:u,periodLength:f})},role:"button"},l("dueDatePage.lastPeriod.calculate"))))};var ea;!function(e){e[e.trackPeriod=0]="trackPeriod",e[e.conceive=1]="conceive",e[e.avoidPregnancy=2]="avoidPregnancy"}(ea||(ea={}));const ta=B.default.div`
|
|
3217
|
+
flex: 1;
|
|
3218
|
+
`,aa=B.default.div`
|
|
3219
|
+
padding: 0 10px;
|
|
3220
|
+
`,ia=B.default.div`
|
|
3221
|
+
display: flex;
|
|
3222
|
+
height: 80px;
|
|
3223
|
+
align-items: center;
|
|
3224
|
+
.calendar-month {
|
|
3225
|
+
font-size: 16px;
|
|
3226
|
+
flex: 1;
|
|
3227
|
+
text-align: center;
|
|
3228
|
+
strong {
|
|
3229
|
+
margin-left: 5px;
|
|
3230
|
+
}
|
|
3231
|
+
}
|
|
3232
|
+
${o.MediaQueries.mbDown} {
|
|
3233
|
+
height: 70px;
|
|
3234
|
+
}
|
|
3235
|
+
`,ra=B.default.div`
|
|
3236
|
+
display: grid;
|
|
3237
|
+
grid-template-columns: repeat(7, 1fr);
|
|
3238
|
+
row-gap: 2px;
|
|
3239
|
+
`,oa=B.default(ra)`
|
|
3240
|
+
margin-bottom: 8px;
|
|
3241
|
+
`;B.default.div`
|
|
3242
|
+
height: 40px;
|
|
3243
|
+
width: 40px;
|
|
3244
|
+
display: flex;
|
|
3245
|
+
align-items: center;
|
|
3246
|
+
justify-content: center;
|
|
3247
|
+
`;const na=B.default.div`
|
|
3248
|
+
font-size: 14px;
|
|
3249
|
+
display: flex;
|
|
3250
|
+
justify-content: center;
|
|
3251
|
+
align-items: center;
|
|
3252
|
+
color: 1px solid ${e=>e.theme.colors.gray800};
|
|
3253
|
+
font-weight: 300;
|
|
3254
|
+
`,la=B.default.div`
|
|
3255
|
+
width: 18px;
|
|
3256
|
+
position: relative;
|
|
3257
|
+
&::before {
|
|
3258
|
+
content: '';
|
|
3259
|
+
position: absolute;
|
|
3260
|
+
inset: 16px 0 0 0;
|
|
3261
|
+
width: 1px;
|
|
3262
|
+
left: 50%;
|
|
3263
|
+
right: 50%;
|
|
3264
|
+
background: ${e=>e.theme.colors.neutral100};
|
|
3265
|
+
}
|
|
3266
|
+
`,da=B.default.div`
|
|
3267
|
+
margin: 0 auto;
|
|
3268
|
+
`,sa=B.default.div`
|
|
3269
|
+
position: relative;
|
|
3270
|
+
`,pa=B.default(ra)``,ca=B.default.div`
|
|
3271
|
+
position: relative;
|
|
3272
|
+
display: flex;
|
|
3273
|
+
justify-content: center;
|
|
3274
|
+
align-items: center;
|
|
3275
|
+
height: 34px;
|
|
3276
|
+
${o.MediaQueries.mbUp} {
|
|
3277
|
+
height: 38px;
|
|
3278
|
+
}
|
|
3279
|
+
&[data-is-disabled='true'] {
|
|
3280
|
+
opacity: 0.3;
|
|
3281
|
+
}
|
|
3282
|
+
&[data-in-range='true']:not([data-is-from='true'][data-is-to='true']) {
|
|
3283
|
+
background-color: ${e=>e.theme.colors.gray100};
|
|
3284
|
+
}
|
|
3285
|
+
&:before {
|
|
3286
|
+
position: absolute;
|
|
3287
|
+
top: 0;
|
|
3288
|
+
bottom: 0;
|
|
3289
|
+
right: 0;
|
|
3290
|
+
background-color: ${e=>e.theme.colors.gray100};
|
|
3291
|
+
}
|
|
3292
|
+
&[data-is-from='true'][data-in-range='true'][data-is-to='false'] {
|
|
3293
|
+
background-color: transparent;
|
|
3294
|
+
&:before {
|
|
3295
|
+
content: '';
|
|
3296
|
+
left: 50%;
|
|
3297
|
+
right: 0;
|
|
3298
|
+
}
|
|
3299
|
+
}
|
|
3300
|
+
|
|
3301
|
+
&[data-is-to='true'][data-in-range='true'][data-is-from='false'],
|
|
3302
|
+
&:hover[data-in-range='true']:is([data-has-range='false'] &) {
|
|
3303
|
+
background-color: transparent;
|
|
3304
|
+
&:before {
|
|
3305
|
+
content: '';
|
|
3306
|
+
left: 0;
|
|
3307
|
+
right: 50%;
|
|
3308
|
+
}
|
|
3309
|
+
}
|
|
3310
|
+
`,ma=B.default.div`
|
|
3311
|
+
position: relative;
|
|
3312
|
+
font-weight: 600;
|
|
3313
|
+
${o.MediaQueries.mbDown} {
|
|
3314
|
+
width: 32px;
|
|
3315
|
+
height: 32px;
|
|
3316
|
+
}
|
|
3317
|
+
${o.MediaQueries.mbUp} {
|
|
3318
|
+
width: 36px;
|
|
3319
|
+
height: 36px;
|
|
3320
|
+
}
|
|
3321
|
+
display: flex;
|
|
3322
|
+
justify-content: center;
|
|
3323
|
+
align-items: center;
|
|
3324
|
+
cursor: pointer;
|
|
3325
|
+
[data-is-disabled='true'] & {
|
|
3326
|
+
cursor: not-allowed;
|
|
3327
|
+
}
|
|
3328
|
+
line-height: 1;
|
|
3329
|
+
color: 1px solid ${e=>e.theme.colors.gray800};
|
|
3330
|
+
[data-is-selected='true'] &,
|
|
3331
|
+
[data-is-today='true'] &,
|
|
3332
|
+
[data-is-selected='false']:hover & {
|
|
3333
|
+
border-radius: 32px;
|
|
3334
|
+
}
|
|
3335
|
+
[data-is-selected='true'] & {
|
|
3336
|
+
background-color: ${e=>e.theme.colors.primaryBase};
|
|
3337
|
+
color: white;
|
|
3338
|
+
}
|
|
3339
|
+
[data-is-selected='false']:hover & {
|
|
3340
|
+
background-color: ${e=>e.theme.colors.primary50};
|
|
3341
|
+
}
|
|
3342
|
+
[data-is-today='true'][data-is-selected='false'] & {
|
|
3343
|
+
background-color: transparent;
|
|
3344
|
+
border-radius: 32px;
|
|
3345
|
+
border: 1px solid ${e=>e.theme.colors.primaryBase};
|
|
3346
|
+
}
|
|
3347
|
+
`,ua=B.default.div`
|
|
3348
|
+
display: block;
|
|
3349
|
+
position: relative;
|
|
3350
|
+
width: 270px;
|
|
3351
|
+
input {
|
|
3352
|
+
pointer-events: none;
|
|
3353
|
+
caret-color: transparent;
|
|
3354
|
+
}
|
|
3355
|
+
${o.MediaQueries.mbDown} {
|
|
3356
|
+
width: 100%;
|
|
3357
|
+
}
|
|
3358
|
+
`,ga=B.default.div`
|
|
3359
|
+
display: flex;
|
|
3360
|
+
position: absolute;
|
|
3361
|
+
top: 46px;
|
|
3362
|
+
left: 0;
|
|
3363
|
+
width: 684px;
|
|
3364
|
+
border: 1px solid ${e=>e.theme.colors.gray200};
|
|
3365
|
+
filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04))
|
|
3366
|
+
drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.04))
|
|
3367
|
+
drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));
|
|
3368
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
3369
|
+
background-color: white;
|
|
3370
|
+
z-index: 100;
|
|
3371
|
+
padding-bottom: 16px;
|
|
3372
|
+
align-items: stretch;
|
|
3373
|
+
user-select: none;
|
|
3374
|
+
${o.MediaQueries.mbDown} {
|
|
3375
|
+
width: 100%;
|
|
3376
|
+
}
|
|
3377
|
+
`,ha=B.default.div`
|
|
3378
|
+
display: flex;
|
|
3379
|
+
gap: 20px;
|
|
3380
|
+
width: 100%;
|
|
3381
|
+
align-items: center;
|
|
3382
|
+
justify-content: center;
|
|
3383
|
+
.icon-group {
|
|
3384
|
+
display: flex;
|
|
3385
|
+
align-items: center;
|
|
3386
|
+
gap: 10px;
|
|
3387
|
+
a,
|
|
3388
|
+
svg {
|
|
3389
|
+
width: 32px;
|
|
3390
|
+
height: 32px;
|
|
3391
|
+
}
|
|
3392
|
+
.share {
|
|
3393
|
+
width: 32px;
|
|
3394
|
+
height: 32px;
|
|
3395
|
+
padding: 8px;
|
|
3396
|
+
|
|
3397
|
+
&:hover {
|
|
3398
|
+
background-color: ${e=>e.theme.colors.neutral50};
|
|
3399
|
+
}
|
|
3400
|
+
|
|
3401
|
+
svg {
|
|
3402
|
+
margin: 0;
|
|
3403
|
+
width: 16px;
|
|
3404
|
+
height: 16px;
|
|
3405
|
+
}
|
|
3406
|
+
}
|
|
3407
|
+
}
|
|
3408
|
+
`,fa=B.default(b.Drawer)`
|
|
3409
|
+
padding-bottom: 24px;
|
|
3410
|
+
.share-container {
|
|
3411
|
+
display: flex;
|
|
3412
|
+
flex-direction: column;
|
|
3413
|
+
gap: 24px;
|
|
3414
|
+
}
|
|
3415
|
+
.icon-group {
|
|
3416
|
+
margin-top: 12px;
|
|
3417
|
+
display: flex;
|
|
3418
|
+
gap: 16px;
|
|
3419
|
+
img {
|
|
3420
|
+
border-radius: 8px;
|
|
3421
|
+
}
|
|
3422
|
+
}
|
|
3423
|
+
.input-group {
|
|
3424
|
+
margin-top: 8px;
|
|
3425
|
+
display: flex;
|
|
3426
|
+
gap: 8px;
|
|
3427
|
+
button {
|
|
3428
|
+
padding: 10px;
|
|
3429
|
+
&:hover {
|
|
3430
|
+
background-color: ${e=>e.theme.colors.neutral50};
|
|
3431
|
+
}
|
|
3432
|
+
}
|
|
3433
|
+
svg {
|
|
3434
|
+
margin: 0;
|
|
3435
|
+
}
|
|
3436
|
+
a,
|
|
3437
|
+
svg:not(.copy) {
|
|
3438
|
+
width: 32px;
|
|
3439
|
+
height: 32px;
|
|
3440
|
+
}
|
|
3441
|
+
}
|
|
3442
|
+
`,xa=B.default.div`
|
|
3443
|
+
position: fixed;
|
|
3444
|
+
z-index: 48;
|
|
3445
|
+
bottom: 0;
|
|
3446
|
+
left: 50%;
|
|
3447
|
+
width: fit-content;
|
|
3448
|
+
max-width: 100%;
|
|
3449
|
+
background: none;
|
|
3450
|
+
transform: translateX(-50%);
|
|
3451
|
+
.close-sticky-button {
|
|
3452
|
+
position: absolute;
|
|
3453
|
+
display: flex;
|
|
3454
|
+
width: 16px;
|
|
3455
|
+
height: 16px;
|
|
3456
|
+
align-items: center;
|
|
3457
|
+
justify-content: center;
|
|
3458
|
+
background: #bfbfbf;
|
|
3459
|
+
border-radius: 50%;
|
|
3460
|
+
color: white;
|
|
3461
|
+
|
|
3462
|
+
cursor: pointer;
|
|
3463
|
+
font-size: 12px;
|
|
3464
|
+
line-height: 12px;
|
|
3465
|
+
transform: translate(50%, -50%);
|
|
3466
|
+
top: 0;
|
|
3467
|
+
right: 0;
|
|
3468
|
+
}
|
|
3469
|
+
opacity: 0;
|
|
3470
|
+
pointer-events: none;
|
|
3471
|
+
&[data-visible='true'] {
|
|
3472
|
+
opacity: 1;
|
|
3473
|
+
pointer-events: auto;
|
|
3474
|
+
}
|
|
3475
|
+
`,ba=B.default.div`
|
|
3476
|
+
display: flex;
|
|
3477
|
+
justify-content: center;
|
|
3478
|
+
align-items: center;
|
|
3479
|
+
flex-direction: column;
|
|
3480
|
+
max-width: 100%;
|
|
3481
|
+
width: fit-content;
|
|
3482
|
+
height: fit-content;
|
|
3483
|
+
margin-inline: auto;
|
|
3484
|
+
/* margin: 1rem auto; */
|
|
3485
|
+
&[data-no-wrapper='false'] {
|
|
3486
|
+
border: 1px solid ${e=>{var t;return null===(t=e.theme)||void 0===t?void 0:t.colors.neutral50}};
|
|
3487
|
+
background: ${e=>{var t;return null===(t=e.theme)||void 0===t?void 0:t.colors.neutral50}};
|
|
3488
|
+
}
|
|
3489
|
+
&[data-no-wrapper='true'] {
|
|
3490
|
+
line-height: 0;
|
|
3491
|
+
}
|
|
3492
|
+
&[data-header-bottom='true'] {
|
|
3493
|
+
flex-direction: column-reverse;
|
|
3494
|
+
background: none;
|
|
3495
|
+
border: none;
|
|
3496
|
+
}
|
|
3497
|
+
`,ya=B.default.div`
|
|
3498
|
+
/* background: ${e=>{var t;return null===(t=e.theme)||void 0===t?void 0:t.colors.neutral50}}; */
|
|
3499
|
+
width: 100%;
|
|
3500
|
+
padding: 0 5px 1.5px;
|
|
3501
|
+
display: flex;
|
|
3502
|
+
align-items: center;
|
|
3503
|
+
justify-content: center;
|
|
3504
|
+
gap: 5px;
|
|
3505
|
+
text-transform: capitalize;
|
|
3506
|
+
img {
|
|
3507
|
+
height: 12px;
|
|
3508
|
+
width: 12px;
|
|
3509
|
+
max-width: 12px;
|
|
3510
|
+
max-height: 12px;
|
|
3511
|
+
}
|
|
3512
|
+
&[data-header-bottom='true'] {
|
|
3513
|
+
background: ${e=>{var t;return null===(t=e.theme)||void 0===t?void 0:t.colors.neutral50}};
|
|
3514
|
+
}
|
|
3515
|
+
span {
|
|
3516
|
+
font-size: 10px;
|
|
3517
|
+
line-height: 12px;
|
|
3518
|
+
color: ${e=>{var t;return null===(t=e.theme)||void 0===t?void 0:t.colors.gray400}};
|
|
3519
|
+
font-weight: 400;
|
|
3520
|
+
}
|
|
3521
|
+
`,va=B.default.div`
|
|
3522
|
+
background-color: white;
|
|
3523
|
+
background-image: url(${g.CommonGAssets.getAssetPath("close-blue.svg")});
|
|
3524
|
+
background-repeat: no-repeat;
|
|
3525
|
+
background-size: 10px;
|
|
3526
|
+
background-position: center;
|
|
3527
|
+
width: 12px;
|
|
3528
|
+
height: 12px;
|
|
3529
|
+
position: absolute;
|
|
3530
|
+
top: 1px;
|
|
3531
|
+
right: 1px;
|
|
3532
|
+
cursor: pointer;
|
|
3533
|
+
`,wa={},ka=e=>{if(wa[e]){window.googletag=window.googletag||{cmd:[]};const{googletag:t}=window;t.cmd.push((function(){t.destroySlots([wa[e]]),delete wa[e]}))}},Ca=["TopBanner","MidBanner1","MidBanner2","EndBanner","Sticky"],Ea=e.forwardRef((function({className:t,adUnitPath:r,size:o,divId:n,pos:l,sizeMapping:d,contentId:s,isHidden:p,hideIfHasSubot:c,isSticky:m,refreshInterval:h,customTargetings:f,style:x,adDefaultSize:b,noWrapper:y,showCloseBtn:v,onCloseAd:w,headerBottom:k,wrapperProps:C,locale:E,isMarryBaby:$},D){const B=h||(E===u.LOCALE.Vietnam&&l.some((e=>Ca.includes(e)))?30:void 0),{t:M}=a.useTranslations(),z=e.useRef(null),P=e.useRef(null),T=e.useRef(B);T.current=B;const[I,N]=e.useState(!1),A=()=>{T.current&&(null!==P.current&&clearInterval(P.current),P.current=window.setInterval((()=>{window.googletag=window.googletag||{cmd:[]};const{googletag:e}=window;e.cmd.push((function(){wa[n]&&e.pubads().refresh([wa[n]])}))}),1e3*T.current))};if(e.useEffect((()=>()=>{ka(n),P.current&&clearInterval(P.current)}),[]),e.useEffect((()=>{A()}),[B]),e.useEffect((()=>{p||(({contentId:e,adUnitPath:t,size:a,divId:i,pos:r,sizeMapping:o,hideIfHasSubot:n,customTargetings:l,onSuccess:d})=>{if(!i||!document.getElementById(i))return console.error("divId is required");ka(i),window.googletag=window.googletag||{cmd:[]};const{googletag:s}=window;s.cmd.push((function(){const p=document.querySelector('meta[name="content_id"]'),c="string"==typeof e?e:null==p?void 0:p.content,m=s.defineSlot(t,a,i);if(m){try{l&&Object.keys(l).forEach((e=>{e&&(null==m||m.setTargeting(e,l[e]))}))}catch(e){console.error(e)}wa[i]=m,m.setTargeting("Pos",r),m.addService(s.pubads()),c&&m.setTargeting("Content_ID",c),o&&m.defineSizeMapping(o),n&&document.getElementById("subot--container")&&m.setTargeting("chatbot",!0),s.display(i),null==d||d()}}))})({contentId:s,adUnitPath:r,size:o,divId:n,pos:l,sizeMapping:d,hideIfHasSubot:c,customTargetings:f,onSuccess:A})}),[p]),I)return null;const _=S.default.createElement("div",{style:{position:"relative",width:"fit-content",height:"fit-content",overflow:"hidden",maxWidth:"100%",display:"flex",alignItems:"center",justifyContent:"center"}},S.default.createElement("div",{ref:D,id:n}),v&&S.default.createElement(va,{onClick:()=>{null==w||w(),N(!0)}}));if(m)return _;const j=b?b[0]:o?Array.isArray(o[0])?o[0][0]:o[0]:void 0,O=b?b[1]:o?Array.isArray(o[0])?o[0][1]:o[1]:void 0;return S.default.createElement(i.Box,Object.assign({},C,{className:t}),S.default.createElement(ba,{ref:z,className:t,style:x,"data-no-wrapper":!!y,"data-header-bottom":!!k},y?_:S.default.createElement(S.default.Fragment,null,S.default.createElement(ya,{"data-header-bottom":!!k},S.default.createElement("img",{src:$?g.CommonGAssets.getAssetPath("adsIcon-mb.svg"):g.CommonGAssets.getAssetPath("adsIcon.svg"),alt:"",loading:"lazy"}),S.default.createElement("span",null,M("adBanner.title"))),S.default.createElement("div",{style:{minWidth:j||"100%",minHeight:O||"100%",position:"relative"}},_))))})),$a=e.memo(Ea,((e,t)=>e.adUnitPath===t.adUnitPath&&e.divId===t.divId&&e.className===t.className)),Da=[{title:"Health News & Current Affairs",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:g.CommonGAssets.getAssetPath("newsletter-prefer/newsletter-health.svg"),checked:!1,id:1},{title:"Educational Medical Hello Bacsi Content",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:g.CommonGAssets.getAssetPath("newsletter-prefer/newsletter-education.svg"),checked:!1,id:2},{title:"Hello Health Community Feed",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:g.CommonGAssets.getAssetPath("newsletter-prefer/newsletter-community.svg"),checked:!1,id:3}];var Sa;!function(e){e.DUE_DATE="due-date-calculator",e.BMI="bmi",e.BMR="bmr",e.OVULATION="ovulation",e.IFRAME="IFRAME",e.PWG="pregnancy-weight-gain",e.THR="heart-rate",e.BABY_VACCINE="vaccination-tool",e.BABY_GROWTH="baby-growth-tracking",e.BABY_POOP="baby-poop-checking"}(Sa||(Sa={}));const Ba={DUE_DATE:Sa.DUE_DATE,BMI:Sa.BMI,BMR:Sa.BMR,OVULATION:Sa.OVULATION,IFRAME:Sa.IFRAME,PWG:Sa.PWG,THR:Sa.THR,BABY_VACCINE:Sa.BABY_VACCINE,BABY_GROWTH:Sa.BABY_GROWTH,BABY_POOP:Sa.BABY_POOP},Ma={[Ba.DUE_DATE]:g.CommonGAssets.getAssetPath("health-tools/due-date-icon.svg")};var za,Pa,Ta,Ia;exports.BannerCategory=void 0,(za=exports.BannerCategory||(exports.BannerCategory={})).Pregnant="pregnant",za.Parenting="parenting",function(e){e.Option="option"}(Pa||(Pa={})),exports.OptionBannerStyleType=void 0,(Ta=exports.OptionBannerStyleType||(exports.OptionBannerStyleType={})).Button="button",Ta.Checkbox="checkbox",exports.BannerAction=void 0,(Ia=exports.BannerAction||(exports.BannerAction={})).ShowTool="showTool",Ia.ShowPremiumModal="showPremiumModal",Ia.ShowOptionBanner="showOptionBanner",Ia.Hide="hide";const Na={pregnancy:exports.BannerCategory.Pregnant,parenting:exports.BannerCategory.Parenting},Aa={[exports.BannerCategory.Pregnant]:"pregnant",[exports.BannerCategory.Parenting]:"parent"},_a=e.createContext({});var ja=i.createStyles((e=>({root:{},wrapper:{[e.fn.smallerThan("sm")]:{width:"70%"}},button:{[e.fn.smallerThan("sm")]:{height:"auto",minHeight:i.rem(32),padding:`${i.rem(6)} ${i.rem(16)}`,textAlign:"center",width:"100%"}},buttonLabel:{whiteSpace:"normal"}})));const Oa=e.createContext({}),Qa=e.forwardRef((function(e,a){var{label:r}=e,o=p.__rest(e,["label"]);return S.default.createElement("div",Object.assign({ref:a},o),S.default.createElement(i.Group,{noWrap:!0},S.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},S.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.97887 8.15493C2.97887 5.29627 5.29627 2.97887 8.15493 2.97887C11.0136 2.97887 13.331 5.29627 13.331 8.15493C13.331 11.0136 11.0136 13.331 8.15493 13.331C5.29627 13.331 2.97887 11.0136 2.97887 8.15493ZM8.15493 1.5C4.47951 1.5 1.5 4.47951 1.5 8.15493C1.5 11.8303 4.47951 14.8099 8.15493 14.8099C9.72615 14.8099 11.1702 14.2653 12.3086 13.3547L15.2376 16.2837C15.5264 16.5725 15.9946 16.5725 16.2833 16.2837C16.5721 15.9949 16.5721 15.5267 16.2833 15.238L13.3544 12.3091C14.2652 11.1705 14.8099 9.72634 14.8099 8.15493C14.8099 4.47951 11.8303 1.5 8.15493 1.5Z",fill:"#8C8C8C"})),S.default.createElement(t.Text,{size:"p3"},r)))})),Ua=e.forwardRef((function(e,a){var{label:i}=e,r=p.__rest(e,["label"]);return S.default.createElement("div",Object.assign({ref:a},r),S.default.createElement(t.Text,{size:"p3"},i))}));var Fa="fVk18fq",Ra="v8TCvUb",Ga="mx7T4V3";const La={myHealth:m.theme.mbColors.toneYellow,myCommunity:m.theme.mbColors.toneBlue,mySaved:m.theme.mbColors.toneGreen},Ha={helloSites:{myBooking:()=>g.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg"),myCommunity:()=>g.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg"),myFamily:()=>g.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg"),myHealth:()=>g.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg"),mySaved:()=>g.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg"),eCom:()=>g.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")},marryBaby:{mySaved:()=>g.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg"),myCommunity:()=>g.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg"),myHealth:()=>g.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}};exports.API_DATE_FORMAT=ft,exports.AdBlock=$a,exports.AffiliateIcon=T,exports.Body=({children:e,className:t,style:a,isHoverable:i,isStriped:r})=>S.default.createElement(ye,{className:t,style:a,"data-is-striped":r||void 0,"data-is-hoverable":i||void 0},e),exports.BookmarkedIcon=I,exports.Cell=({children:e,className:t,style:a,textAlign:i,isTableHead:r})=>S.default.createElement(he,{className:t,style:a,"data-text-align":i||"left",as:r?"th":"td"},e),exports.DatePicker=F,exports.DateToInputValue=xt,exports.DoctorInfo=ne,exports.FormControl=Tt,exports.FormControl$1=Wt,exports.FormControl$2=Xt,exports.HEALTH_TOOL_DEFAULT_IMG=Ma,exports.HEALTH_TOOL_TYPE=Ba,exports.Head=({isSticky:e,children:t,className:a,style:i})=>S.default.createElement(be,{className:a,"data-is-sticky":e||void 0,style:i},S.default.createElement(xe,null,t)),exports.Loading=({className:e,theme:i,hideText:r})=>{const{t:o}=a.useTranslations();return S.default.createElement("div",{className:`${P} ${e}`},S.default.createElement(t.Icon.Spinner,{isMarryBaby:"marryBaby"===i}),!r&&o("loading"))},exports.MAPPING_CATEGORY_PREMIUM_API_TYPE=Aa,exports.MAPPING_CATEGORY_PREMIUM_TYPE=Na,exports.MenuLink=({icon:e,isActive:a,children:i,isCollapsed:r,activeIcon:o,onLinkClick:n,textSize:l="base",textType:d="bold",textColorActive:s="#fff",textColor:p="#595959"})=>S.default.createElement(de,{"data-is-link-active":a||void 0,onClick:n,"data-is-link-collapsed":r||void 0},a&&o?o:e,!r&&S.default.createElement(t.Text,{size:l,weight:d,color:a?s:p},i)),exports.MobileBottomNavigation=Ye,exports.MobileBottomNavigationIcon=Ve,exports.NavigationCard=({type:t,themeName:i,className:r,onClick:o=(()=>{})})=>{const{t:n}=a.useTranslations(),l=e.useMemo((()=>{var e,a;return(null===(a=null===(e=Ha[i])||void 0===e?void 0:e[t])||void 0===a?void 0:a.call(e))||""}),[t,i]),d=e.useMemo((()=>"marryBaby"!==i?"transparent":La[t]),[t,i]);return S.default.createElement("div",{onClick:function(){o(t)},className:`${Fa} ${r}`},S.default.createElement("div",{className:Ga,style:{backgroundColor:d,backgroundImage:`url("${l}")`}}),S.default.createElement("h3",{className:Ra},n(`userProfile.nav.card.${t}`)))},exports.OvulationCalculator=({locale:i,onSubmitOvulation:r,isSide:o,siteType:n})=>{const{t:l}=a.useTranslations(),[d,s]=e.useState(ea.trackPeriod),p=[{label:l("ovulationPage.trackPeriod"),value:ea.trackPeriod},{label:l("ovulationPage.conceive"),value:ea.conceive},{label:l("ovulationPage.avoidPregnancy"),value:ea.avoidPregnancy}];return S.default.createElement(wt,null,S.default.createElement(ct,{className:"input-form input-section","data-is-side":!0},"marryBaby"===n?S.default.createElement(st,{groupedWithLabel:l("dueDatePage.calculationMethod"),options:p,placeholder:l("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"lg",value:p[d],onChange:e=>{s(e.value)}}):S.default.createElement(S.default.Fragment,null,S.default.createElement(t.Text,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},l("ovulationPage.objectives")),S.default.createElement(mt,{"data-is-side":o},S.default.createElement(v.Dropdown,{options:p,placeholder:l("ovulationPage.trackPeriod"),id:"due-date-dropdown",size:"md",value:p[d],onChange:e=>{s(e.value)}})))),S.default.createElement(Kt,{siteType:n,locale:i,onSubmit:({startDate:e,cycle:t,periodLength:a})=>{r&&r({method:d,periodDateStart:e,cycle:t,periodLength:a})},isSide:o}))},exports.PREFER_TOPICS=Da,exports.PremiumNewsletterModalContext=Oa,exports.RadioGroup=te,exports.Row=xe,exports.SideHeader=({isCollapsed:e,defaultLogo:t,onBackClick:a,customIcon:i})=>S.default.createElement(ie,null,S.default.createElement(n.Logo,{type:e?"logomark":t||"hellocare",customSize:{width:e?"24px":"77px",height:"24px"}}),S.default.createElement(re,{"data-is-collapsed":e||void 0,onClick:a},i||S.default.createElement("svg",{"data-name":"Layer 1",viewBox:"0 0 20 20",width:"20px",height:"20px"},S.default.createElement("path",{d:"M10 .75A9.25 9.25 0 1019.25 10 9.25 9.25 0 0010 .75z",fill:"none",stroke:"#d2d6dc",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),S.default.createElement("path",{d:"M11.44 6.53L8 10l3.48 3.47",fill:"none",stroke:"#737373",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})))),exports.SideMenu=({isCollapsed:e,className:t,style:a,children:i})=>S.default.createElement(ae,{style:a,className:t,"data-is-collapsed":e||void 0},i),exports.StyleForm=Ft,exports.StyledAcceptButton=Fe,exports.StyledAcceptCardContainer=je,exports.StyledActive=Ct,exports.StyledBabyGrowthWrapper=Ut,exports.StyledBreadcrumbContainer=V,exports.StyledBreadcrumbWrapper=Y,exports.StyledButton=Mt,exports.StyledButton$1=Ht,exports.StyledButton$2=Yt,exports.StyledButtonGroup=Ue,exports.StyledCalendarCellsWrapper=aa,exports.StyledCalendarDateGrid=pa,exports.StyledCalendarDayLabel=na,exports.StyledCalendarDayNumber=ma,exports.StyledCalendarDayNumberWrapper=ca,exports.StyledCalendarDaysOfWeek=oa,exports.StyledCalendarDaysWrapper=da,exports.StyledCalendarHead=ia,exports.StyledCalendarMonthSeparator=la,exports.StyledCalendarMonthWrapper=sa,exports.StyledCalendarWrapper=ta,exports.StyledCalendarWrapper$1=ga,exports.StyledCategoryCard=_,exports.StyledCheckboxGroup=j,exports.StyledContainer=St,exports.StyledContainer$1=Pt,exports.StyledContainer$2=qt,exports.StyledContainer$3=Zt,exports.StyledContent=Dt,exports.StyledDescription=Qe,exports.StyledDescriptionWrapper=me,exports.StyledDetailStep=Z,exports.StyledDetailStepDescription=ee,exports.StyledDetailStepIndicator=X,exports.StyledDetailStepIndicatorExternal=J,exports.StyledDetailStepLabel=K,exports.StyledDot=ce,exports.StyledDropDown=st,exports.StyledFixedAdBlock=xa,exports.StyledFloatButtonGroup=Me,exports.StyledFloatButtonGroupBackgroundPanel=ze,exports.StyledFloatButtonGroupButton=Ne,exports.StyledFloatButtonGroupButtonIcon=_e,exports.StyledFloatButtonGroupButtonLabel=Ae,exports.StyledFloatButtonGroupContent=Pe,exports.StyledFloatButtonGroupItemsWrapper=Te,exports.StyledFloatButtonGroupToggleIcon=Ie,exports.StyledFormInput=kt,exports.StyledIconText=R,exports.StyledInput=zt,exports.StyledInputForm=yt,exports.StyledInputWrapper=wt,exports.StyledLastPeriodFormContainer=ut,exports.StyledMethodContainer=ct,exports.StyledMethodSwitcherContainer=mt,exports.StyledPoliciesButton=Re,exports.StyledRadioGroup=Bt,exports.StyledRadioImageGroup=Gt,exports.StyledRadioImageItem=Lt,exports.StyledRow=It,exports.StyledRow$1=Vt,exports.StyledRow$2=Jt,exports.StyledScrollList=se,exports.StyledShareContainer=ha,exports.StyledShareDrawer=fa,exports.StyledSlider=G,exports.StyledStatisticContainer=pe,exports.StyledStatisticNumberWrapper=ue,exports.StyledStep=L,exports.StyledStepLabel=W,exports.StyledSubmitButton=vt,exports.StyledSurveyQuestionCard=we,exports.StyledSurveyThankyouCard=Ce,exports.StyledTextField=pt,exports.StyledTitleSection=Oe,exports.StyledTrack=q,exports.StyledTrackContainer=H,exports.StyledTwins=bt,exports.StyledWrapper=ua,exports.SurveyOrPremiumBannerContext=_a,exports.SurveyQuestionCard=({className:a,headerText:i,style:r,question:o,termAndPolicyText:n,prevText:d,nextText:s,isContactForm:p,isDisableNext:c,isDisablePrev:m,onPrevClick:u,onNextClick:g,isSubmitButton:h,isButtonCenter:f,progress:x,descriptionText:b})=>{var y,v,w;const[k,C]=e.useState([]),{is_multi_select:E,multi_select_option:$,from:D,to:B}=o,M=null==o?void 0:o.type,z="checkbox"===M&&(null===(y=o.options)||void 0===y?void 0:y.length)&&(!k||0===k.length||E&&$===Se.RANGE&&(k.length<D||k.length>B)||E&&$===Se.EXACT_NUMBER&&k.length!==D)||"radio"===M&&(null===(v=o.options)||void 0===v?void 0:v.length)&&(!k||0===k.length)||"textbox"===M&&(null===(w=o.textOptions)||void 0===w?void 0:w.length)&&(k.length<o.textOptions.length||k.some((e=>!e.value))),P="number"==typeof x?x>1?1:x<0?0:Number(x.toFixed(2)):-1,T=e.useRef(null),I=()=>"textbox"!==M||T.current.reportValidity();return S.default.createElement(we,{className:a,style:r},S.default.createElement("div",{className:"survey-inner-wrapper"},i&&S.default.createElement("div",{className:"survey-header"},S.default.createElement(t.Text,{className:"survey-header-text",size:"c2"},i)),S.default.createElement("form",{ref:T,onSubmit:e=>e.preventDefault()},S.default.createElement(De,{question:o,description:b,onOptionsChange:e=>{C(e)},onTextOptionsChange:e=>{C(e)}})),p&&s&&S.default.createElement(l.Button,{className:"survey-contact-submit",size:"lg",isDisabled:c||z,onClick:()=>I()&&g&&g(k)},s),n&&S.default.createElement("div",{className:"term-policy-container"},n),"number"==typeof x&&S.default.createElement("div",{className:"survey-progress-wrapper"},S.default.createElement("div",{className:"survey-progress",style:{transform:`scaleX(${P})`}})),(d||s)&&S.default.createElement("div",{"data-center":f,className:"survey-button-wrapper"},d&&S.default.createElement(l.Button,{className:"survey-prev-button",size:"lg",color:m?"primary":"secondary",isDisabled:m,icon:S.default.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none"},S.default.createElement("path",{d:"M2.44677 4.99999L5.31252 2.13424C5.62302 1.82374 5.62302 1.31974 5.31252 1.00924C5.00202 0.698742 4.49802 0.698742 4.18752 1.00924L0.727018 4.46974C0.433768 4.76299 0.433768 5.23774 0.727018 5.53024L4.18752 8.99074C4.49802 9.30124 5.00202 9.30124 5.31252 8.99074C5.62302 8.68024 5.62302 8.17624 5.31252 7.86574L2.44677 4.99999Z",fill:m?"#fff":"#2D87F3"})),onClick:u},d),!p&&s&&S.default.createElement(l.Button,{onClick:()=>I()&&g&&g(k),className:"survey-next-button",size:"lg",isDisabled:c||z},s," ",h?void 0:S.default.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none"},S.default.createElement("path",{d:"M3.80322 5.19994L0.937465 2.33419C0.626965 2.02369 0.626965 1.51969 0.937465 1.20919C1.24796 0.898693 1.75196 0.898693 2.06246 1.20919L5.52297 4.66969C5.81622 4.96294 5.81622 5.43769 5.52297 5.73019L2.06246 9.19069C1.75196 9.50119 1.24796 9.50119 0.937465 9.19069C0.626965 8.88019 0.626965 8.37619 0.937465 8.06569L3.80322 5.19994Z",fill:"#ffffff"}))))))},exports.TRANSITION_TIMING=Be,exports.Table=({children:e,className:t,style:a,horizontalPadding:i,verticalPadding:r})=>S.default.createElement(ge,{className:t,style:a,theme:{horizontalPadding:i,verticalPadding:r}},e),exports.ToolsBannerCard=dt,exports.UnbookmarkedIcon=N,exports.UserInfo=({isCollapsed:e,userName:t,role:a,avatar:i})=>S.default.createElement(le,{"data-is-collapsed":e||void 0},S.default.createElement(ne,{image:i,name:t,description:a,isDescriptionHidden:e})),exports._SuggestedTopic=Qa,exports._Topic=Ua,exports.getDueDateConception=e=>{const t=new Date(e);return t.setDate(t.getDate()+265),{startDate:e,dueDate:t,otherInfo:{method:exports.DueDateCalculatorType.conception+1,conception_date:w.format(e,ft),first_day:null,cycle_length_days:null,ivf_transfer_date:null,days_transfer:null}}},exports.getDueDateIVF=(e,t)=>{const a=new Date(e);return a.setDate(a.getDate()+265-t),{startDate:e,dueDate:a,otherInfo:{method:exports.DueDateCalculatorType.IVF+1,ivf_transfer_date:w.format(e,ft),days_transfer:t,conception_date:null,first_day:null,cycle_length_days:null}}},exports.getDueDateLastPeriod=(e,t)=>{const a=t-21+272,i=new Date(e);return i.setDate(i.getDate()+a),{startDate:e,dueDate:i,otherInfo:{method:exports.DueDateCalculatorType.lastPeriod+1,first_day:w.format(e,ft),cycle_length_days:t,conception_date:null,ivf_transfer_date:null,days_transfer:null}}},exports.useStyles=A,exports.useStyles$1=ve,exports.useStyles$2=Rt,exports.useStyles$3=ja;
|