@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{css as t}from"styled-components";import{t as o}from"./theme-
|
|
1
|
+
import e,{css as t}from"styled-components";import{t as o}from"./theme-afaf0d05.js";import{M as r,s as a,e as i,b as n,f as s,c as l,g as d,a as c,d as p}from"./screenSizeContext-fc852596.js";import{_ as u,a as h}from"./tslib.es6-914e91bc.js";import m,{useState as g,forwardRef as b,createContext as _,useEffect as E,Fragment as v}from"react";import{createStyles as x,rem as f}from"@mantine/core";import{L as w}from"./constants-cf8d2b27.js";import T from"react-keyed-flatten-children";import{g as y}from"./cookieHelper-b7f7d5f1.js";import O from"slugify";import"./index-63cb82b7.js";import A from"string-format";import{i as I}from"./isProduction-13f6d491.js";const L=e.div`
|
|
2
2
|
background-color: var(--background-color, transparent);
|
|
3
3
|
color: white;
|
|
4
4
|
cursor: pointer;
|
|
@@ -857,4 +857,4 @@ import e,{css as t}from"styled-components";import{t as o}from"./theme-f470318d.j
|
|
|
857
857
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
858
858
|
* MIT Licensed
|
|
859
859
|
*/
|
|
860
|
-
var be=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var o={},r=(t||{}).decode||xe,a=0;for(;a<e.length;){var i=e.indexOf("=",a);if(-1===i)break;var n=e.indexOf(";",a);if(-1===n)n=e.length;else if(n<i){a=e.lastIndexOf(";",i-1)+1;continue}var s=e.slice(a,i).trim();if(void 0===o[s]){var l=e.slice(i+1,n).trim();34===l.charCodeAt(0)&&(l=l.slice(1,-1)),o[s]=we(l,r)}a=n+1}return o},_e=function(e,t,o){var r=o||{},a=r.encode||fe;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!ve.test(e))throw new TypeError("argument name is invalid");var i=a(t);if(i&&!ve.test(i))throw new TypeError("argument val is invalid");var n=e+"="+i;if(null!=r.maxAge){var s=r.maxAge-0;if(isNaN(s)||!isFinite(s))throw new TypeError("option maxAge is invalid");n+="; Max-Age="+Math.floor(s)}if(r.domain){if(!ve.test(r.domain))throw new TypeError("option domain is invalid");n+="; Domain="+r.domain}if(r.path){if(!ve.test(r.path))throw new TypeError("option path is invalid");n+="; Path="+r.path}if(r.expires){var l=r.expires;if(!function(e){return"[object Date]"===Ee.call(e)||e instanceof Date}(l)||isNaN(l.valueOf()))throw new TypeError("option expires is invalid");n+="; Expires="+l.toUTCString()}r.httpOnly&&(n+="; HttpOnly");r.secure&&(n+="; Secure");if(r.priority){switch("string"==typeof r.priority?r.priority.toLowerCase():r.priority){case"low":n+="; Priority=Low";break;case"medium":n+="; Priority=Medium";break;case"high":n+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(r.sameSite){switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:n+="; SameSite=Strict";break;case"lax":n+="; SameSite=Lax";break;case"strict":n+="; SameSite=Strict";break;case"none":n+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return n},Ee=Object.prototype.toString,ve=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function xe(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function fe(e){return encodeURIComponent(e)}function we(e,t){try{return t(e)}catch(t){return e}}var Te={parse:be,serialize:_e};const ye={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",USER:{DETAIL:"profile/user/detail?website_url={website_url}&user_id={id}",COUNT_TABS:"profile/user/counting?website_url={website_url}&user_id={id}&total_post={post}&total_comment={comment}&total_community={community}&total_reply={reply}&total_question={question}",LIST_POST:"profile/user/posts?website_url={website_url}&user_id={id}&is_anonymous={isAnonymous}&paging=none",LIST_QUESTION_NEED_REPLY:"questions/no-reply?website_url={website_url}",LIST_QUESTION:"question/{id}?website_url={website_url}&is_reply={isReply}&is_question={isQuestion}&is_ignore={isIgnore}&group_by={groupBy}",SKIP_QUESTION:"questions/ignore?website_url={website_url}&question_id={id}",LIST_ANSWERS:"replied/{id}?website_url={website_url}&paging=1&items_per_page={pageSize}"},HEALTH_TOOL:{CREATE:"health-profile/{type}/create?website_url={website_url}",GET_STATUS:"health-profile/get-status-for-user?website_url={website_url}"}},Oe={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},Ae={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},Ie={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},Le={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},Se=_({data:Le,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});let Re=Le;const ke=({locale:e="vi-VN",children:t,userInfo:o,router:r,env:a={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:i=(e=>e),pushNotifications:n=(()=>!1)})=>{const[s,l]=g();return Re={userInfo:o,locale:e,togetherUserId:s,router:r,env:a},E((()=>{(null==o?void 0:o.id)&&it(qe(ye.PROFILE,{_locale:e}),"GET").then((e=>{var t;l(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==o?void 0:o.id]),m.createElement(Se.Provider,{value:{data:{userInfo:o,locale:e,togetherUserId:s,router:r,env:a},action:{pushNotifications:n,sanitizeFunction:i}}},t)},$e="DD/MM/YYYY",Ce="/images/avatar.jpg",Pe="/images/default-image.jpg",Ne={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},De={"id-ID":{"kalkulator-bmi":Ne.BMI,"kebutuhan-kalori":Ne.BMR,"kalkulator-hari-perkiraan-lahir":Ne.DUE_DATE,"kalkulator-masa-subur-2":Ne.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":Ne.PWG,"kalkulator-detak-jantung-saat-olahraga":Ne.THR},"ms-MY":{"kalkulator-bmi":Ne.BMI,"kalkulator-bmr":Ne.BMR,"kalkulator-tarikh-bersalin":Ne.DUE_DATE,"kalkulator-kesuburan":Ne.OVULATION,"kalkulator-tambah-berat-badan-hamil":Ne.PWG,"target-heart-rate-calculator":Ne.THR},"vi-VN":{"cach-tinh-chi-so-bmi":Ne.BMI,"tinh-chi-so-bmr":Ne.BMR,"cong-cu-tinh-ngay-du-sinh":Ne.DUE_DATE,"tinh-ngay-rung-trung":Ne.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":Ne.PWG,"cong-cu-do-nhip-tim":Ne.THR},"zh-TW":{"bmi-calculator":Ne.BMI,"bmr-calculator":Ne.BMR,"due-date-calculator":Ne.DUE_DATE,"ovulation-calculator":Ne.OVULATION,"pregnancy-weight-gain-calculator":Ne.PWG,"target-heart-rate-calculator":Ne.THR},"en-PH":{"bmi-calculator":Ne.BMI,"bmr-calculator":Ne.BMR,"due-date-calculator":Ne.DUE_DATE,"ovulation-calculator":Ne.OVULATION,"pregnancy-weight-gain-calculator":Ne.PWG,"target-heart-rate-calculator":Ne.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":Ne.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":Ne.BMR,"เครื่องมือคำนวณกำหนดคลอด":Ne.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":Ne.OVULATION,"เครื่องคำนวณน้ำหนักตัว":Ne.PWG,"เครื่องวัดอัตราการเต้น":Ne.THR},"hi-IN":{"bmi-calculator-en":Ne.BMI,"bmi-calculator":Ne.BMI,"bmr-calculator":Ne.BMR,"delivery-date-calculator":Ne.DUE_DATE,"ovulation-calculator":Ne.OVULATION,"pregnancy-weight-gain-calculator":Ne.PWG,"target-heart-rate-calculator":Ne.THR},"km-KH":{"គណនា-bmi":Ne.BMI,"គណនា-bmr":Ne.BMR,"គណនាថ្ងៃសម្រាលកូន":Ne.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":Ne.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":Ne.PWG,"គណនារកចង្វាក់បេះដូងល្អ":Ne.THR},"my-MM":{"bmi-calculator":Ne.BMI,"bmr-calculator":Ne.BMR,"due-date-calendar":Ne.DUE_DATE,"ovulation-calculator":Ne.OVULATION,"pregnaancy-weight-calculator":Ne.PWG,"target-heartrate":Ne.THR,"pregnancy-weight-calculator":Ne.PWG,"target-heart-rate":Ne.THR}},Ge="hhg_user_token",Me="together_admin_token",Ue={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},Be={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},ze=20,He={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}};var je=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:$e,DEFAULT_AVATAR_IMG:Ce,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:Pe,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:Ne,LOCALE_HEALTH_TOOLS:De,BEARER_TOKEN_COOKIE:Ge,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:Me,Z_INDEX:Ue,BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:"hhg-id",GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:Be,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:He});const Fe={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"},Ke={"vi-VN":"marrybaby.vn"},Ve=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",Ye=e=>{const{env:{isMarryBaby:t}}=Re;return`https://${t?Ke[e]:Fe[e]}`},We=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Xe=e=>{const{env:{isMarryBaby:t}}=Re;if("undefined"!=typeof window)return window.location.origin;const o="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${o?t?"fe.":"discover.":t?"www.":""}${Fe[e]}`},qe=(e,t,o,r)=>{let a="";o&&(a=Object.keys(o).map((e=>e+"="+o[e])).join("&"));const{togetherBaseApiUrl:i=""}=(null==Re?void 0:Re.env)||{};let n=A(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:Ye(String(t._locale))}:{}),t));n+=`${n.includes("?")?"&":"?"}${a}`;return(r||i)+"api/v1/"+We(n)},Je=(e,t,o)=>{const{discoverBaseApiUrl:r="",discoverBaseProdApiUrl:a=""}=(null==Re?void 0:Re.env)||{};return(!I&&o?a:r)+"wp-json/api/"+We(A(e,Object.assign({},t)))},Qe=(e,t,o)=>{const{marryBabyApiUrl:r="",marryBabyProdApiUrl:a=""}=(null==Re?void 0:Re.env)||{};return(o&&!I?a:r)+"wp-json/api/"+We(A(e,Object.assign({},t)))},Ze=(e,t)=>{const{careBaseApiUrl:o=""}=(null==Re?void 0:Re.env)||{};return(o||"https://service-health-care.hellohealthgroup.com/")+We(A(e,Object.assign({},t)))},et=(e,t)=>{const{premiumBaseApiUrl:o=""}=(null==Re?void 0:Re.env)||{};return(o||"https://premium-content-stag.hellohealthgroup.com/")+We(A(e,Object.assign({},t)))},tt=(e,t)=>{const{publicSSO:o=""}=(null==Re?void 0:Re.env)||{};return(o||"https://staging-id.hellobacsi.com/")+"api/"+We(A(e,Object.assign({},t)))},ot=e=>((null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e),rt=(e,t,o,r=!1)=>h(void 0,void 0,void 0,(function*(){var a,i,n,s;try{const a=yield fetch(r?e:(s=e,encodeURI(s).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},ot(o)),{headers:Object.assign({},null==o?void 0:o.headers)})).then((e=>e.json()));if(a)return a}catch(t){return console.log(t),console.log({url:e,status:null===(a=null==t?void 0:t.response)||void 0===a?void 0:a.status,statusText:null===(i=null==t?void 0:t.response)||void 0===i?void 0:i.statusText}),(null===(n=null==t?void 0:t.response)||void 0===n?void 0:n.data)||null}return null})),at=(e,t="GET",o,r)=>h(void 0,void 0,void 0,(function*(){var a,i,n,s,l,d;try{const s="string"==typeof e?e:e.url,l="string"==typeof e?e:e.backupUrl,d=Te.parse(r||""),c=d[Ge]||y(Ge);if(!c||!c.length)return rt(l||s,t,o);try{const e=yield fetch(s,Object.assign(Object.assign({method:t},ot(o)),{headers:Object.assign({Authorization:"Bearer "+c},null==o?void 0:o.headers)})).then((e=>e.json()));if(null===(a=null==e?void 0:e.messages)||void 0===a?void 0:a.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return rt(l||s,t,o);if(e)return e}catch(e){return console.log({status:null===(i=null==e?void 0:e.response)||void 0===i?void 0:i.status,statusText:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.statusText}),rt(l||s,t,o)}}catch(e){return console.log({status:null===(s=null==e?void 0:e.response)||void 0===s?void 0:s.status,statusText:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.statusText}),(null===(d=null==e?void 0:e.response)||void 0===d?void 0:d.data)||null}return null})),it=(e,t,o,r)=>h(void 0,void 0,void 0,(function*(){try{const a=Te.parse(r||""),i=a[Ge]||y(Ge);if(i&&i.length){const r=yield fetch(e,Object.assign(Object.assign({method:t},ot(o)),{headers:Object.assign({Authorization:"Bearer "+i},null==o?void 0:o.headers)})).then((e=>e.json()));if(r)return r}}catch(e){return null}return null})),nt=(e,t,o,r)=>h(void 0,void 0,void 0,(function*(){try{const a=Te.parse(r||""),i=a[Me]||y(Me);if(i&&i.length){const r=yield fetch(e,Object.assign(Object.assign({method:t},ot(o)),{headers:Object.assign({Authorization:"Bearer "+i},null==o?void 0:o.headers)})).then((e=>e.json()));if(r)return r}}catch(e){return null}return null}));function st(e,t,o){const r=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(r)?e.replace(r,"$1"+t+"="+o+"$2"):e+a+t+"="+o}const lt=(e,t,o="/community")=>{const r=e||("undefined"!=typeof window?window.location.href:"/");let a="undefined"!=typeof window?window.location.origin:"";a||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(a=e.split("/").slice(0,3).join("/"));return((e,t)=>{const{publicSSO:o}=Re.env,r=e||window.location.href;return t&&Object.keys(t).map((e=>{st(r,e,t[e])})),st(r,"source","communities"),o?`${o}?returnUrl=${encodeURIComponent(r.toString())}`:r})(`${a}${o}/on-boarding?return=${encodeURIComponent(r)}`,t)},dt=(e,t,o,r)=>o&&t?`${o}-${t}`:`${O(e||"",{lower:!0,locale:r||Ve})}-${t}`,ct=({name:e,id:t,locale:o})=>{var r;return`/care/${null===(r=He[o||"vi-VN"])||void 0===r?void 0:r.DOCTOR}/${dt(e,t)}`},pt=({name:e,id:t,slug:o,locale:r})=>{var a;return`/care/${null===(a=He[r||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${dt(e,t,o)}`};var ut=x((e=>({root:{},wrapper:{gap:f(8)},groupErr:{fontSize:f(14)},itemRoot:{flexGrow:1,width:"50%",'&[data-checked="true"]':{".mantine-Radio-label":{borderColor:e.fn.primaryColor()}}},itemLabelWrapper:{padding:0,width:"100%"},itemLabel:{position:"relative",padding:`${f(6)} ${f(16)}`,border:`1px solid ${e.colors.gray[2]}`,borderRadius:f(4),cursor:"pointer",'&[data-disabled="true"]':{background:e.colors.gray[1],color:`${e.colors.gray[4]} !important`,img:{opacity:.5}},img:{height:f(26)}},itemInner:{display:"none"}})));export{nt as $,it as A,qe as B,ye as C,Le as D,et as E,Ye as F,Re as G,B as H,tt as I,k as J,he as K,rt as L,Ze as M,Ge as N,lt as O,W as P,Xe as Q,Oe as R,ge as S,re as T,Fe as U,pt as V,ct as W,Je as X,Ae as Y,Ue as Z,Ie as _,me as a,Qe as a0,ce as a1,se as a2,le as a3,de as a4,pe as a5,ue as a6,Ke as a7,Pe as a8,ze as a9,Ce as aa,Be as ab,at as ac,Se as b,je as c,ke as d,L as e,S as f,R as g,$ as h,C as i,P as j,N as k,D as l,G as m,z as n,H as o,j as p,X as q,te as r,Z as s,ee as t,ae as u,ie as v,ut as w,q as x,$e as y,Ne as z};
|
|
860
|
+
var be=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var o={},r=(t||{}).decode||xe,a=0;for(;a<e.length;){var i=e.indexOf("=",a);if(-1===i)break;var n=e.indexOf(";",a);if(-1===n)n=e.length;else if(n<i){a=e.lastIndexOf(";",i-1)+1;continue}var s=e.slice(a,i).trim();if(void 0===o[s]){var l=e.slice(i+1,n).trim();34===l.charCodeAt(0)&&(l=l.slice(1,-1)),o[s]=we(l,r)}a=n+1}return o},_e=function(e,t,o){var r=o||{},a=r.encode||fe;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!ve.test(e))throw new TypeError("argument name is invalid");var i=a(t);if(i&&!ve.test(i))throw new TypeError("argument val is invalid");var n=e+"="+i;if(null!=r.maxAge){var s=r.maxAge-0;if(isNaN(s)||!isFinite(s))throw new TypeError("option maxAge is invalid");n+="; Max-Age="+Math.floor(s)}if(r.domain){if(!ve.test(r.domain))throw new TypeError("option domain is invalid");n+="; Domain="+r.domain}if(r.path){if(!ve.test(r.path))throw new TypeError("option path is invalid");n+="; Path="+r.path}if(r.expires){var l=r.expires;if(!function(e){return"[object Date]"===Ee.call(e)||e instanceof Date}(l)||isNaN(l.valueOf()))throw new TypeError("option expires is invalid");n+="; Expires="+l.toUTCString()}r.httpOnly&&(n+="; HttpOnly");r.secure&&(n+="; Secure");if(r.priority){switch("string"==typeof r.priority?r.priority.toLowerCase():r.priority){case"low":n+="; Priority=Low";break;case"medium":n+="; Priority=Medium";break;case"high":n+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(r.sameSite){switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:n+="; SameSite=Strict";break;case"lax":n+="; SameSite=Lax";break;case"strict":n+="; SameSite=Strict";break;case"none":n+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return n},Ee=Object.prototype.toString,ve=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function xe(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function fe(e){return encodeURIComponent(e)}function we(e,t){try{return t(e)}catch(t){return e}}var Te={parse:be,serialize:_e};const ye={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",USER:{DETAIL:"profile/user/detail?website_url={website_url}&user_id={id}",COUNT_TABS:"profile/user/counting?website_url={website_url}&user_id={id}&total_post={post}&total_comment={comment}&total_community={community}&total_reply={reply}&total_question={question}",LIST_POST:"profile/user/posts?website_url={website_url}&user_id={id}&is_anonymous={isAnonymous}&paging=none",LIST_QUESTION_NEED_REPLY:"questions/no-reply?website_url={website_url}",LIST_QUESTION:"question/{id}?website_url={website_url}&is_reply={isReply}&is_question={isQuestion}&is_ignore={isIgnore}&group_by={groupBy}",SKIP_QUESTION:"questions/ignore?website_url={website_url}&question_id={id}",LIST_ANSWERS:"replied/{id}?website_url={website_url}&paging=1&items_per_page={pageSize}"},HEALTH_TOOL:{CREATE:"health-profile/{type}/create?website_url={website_url}",GET_STATUS:"health-profile/get-status-for-user?website_url={website_url}"}},Oe={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},Ae={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},Ie={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},Le={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},Se=_({data:Le,action:{pushNotifications:e=>e,sanitizeFunction:e=>e},formatMessage:()=>null});let Re=Le;const ke=({locale:e="vi-VN",children:t,userInfo:o,router:r,env:a={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:i=(e=>e),pushNotifications:n=(()=>!1),formatMessage:s})=>{const[l,d]=g();return Re={userInfo:o,locale:e,togetherUserId:l,router:r,env:a},E((()=>{(null==o?void 0:o.id)&&nt(Je(ye.PROFILE,{_locale:e}),"GET").then((e=>{var t;d(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==o?void 0:o.id]),m.createElement(Se.Provider,{value:{data:{userInfo:o,locale:e,togetherUserId:l,router:r,env:a},action:{pushNotifications:n,sanitizeFunction:i},formatMessage:s}},t)},$e="DD/MM/YYYY",Ce="/images/avatar.jpg",Pe="/images/default-image.jpg",Ne={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},De={"id-ID":{"kalkulator-bmi":Ne.BMI,"kebutuhan-kalori":Ne.BMR,"kalkulator-hari-perkiraan-lahir":Ne.DUE_DATE,"kalkulator-masa-subur-2":Ne.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":Ne.PWG,"kalkulator-detak-jantung-saat-olahraga":Ne.THR},"ms-MY":{"kalkulator-bmi":Ne.BMI,"kalkulator-bmr":Ne.BMR,"kalkulator-tarikh-bersalin":Ne.DUE_DATE,"kalkulator-kesuburan":Ne.OVULATION,"kalkulator-tambah-berat-badan-hamil":Ne.PWG,"target-heart-rate-calculator":Ne.THR},"vi-VN":{"cach-tinh-chi-so-bmi":Ne.BMI,"tinh-chi-so-bmr":Ne.BMR,"cong-cu-tinh-ngay-du-sinh":Ne.DUE_DATE,"tinh-ngay-rung-trung":Ne.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":Ne.PWG,"cong-cu-do-nhip-tim":Ne.THR},"zh-TW":{"bmi-calculator":Ne.BMI,"bmr-calculator":Ne.BMR,"due-date-calculator":Ne.DUE_DATE,"ovulation-calculator":Ne.OVULATION,"pregnancy-weight-gain-calculator":Ne.PWG,"target-heart-rate-calculator":Ne.THR},"en-PH":{"bmi-calculator":Ne.BMI,"bmr-calculator":Ne.BMR,"due-date-calculator":Ne.DUE_DATE,"ovulation-calculator":Ne.OVULATION,"pregnancy-weight-gain-calculator":Ne.PWG,"target-heart-rate-calculator":Ne.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":Ne.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":Ne.BMR,"เครื่องมือคำนวณกำหนดคลอด":Ne.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":Ne.OVULATION,"เครื่องคำนวณน้ำหนักตัว":Ne.PWG,"เครื่องวัดอัตราการเต้น":Ne.THR},"hi-IN":{"bmi-calculator-en":Ne.BMI,"bmi-calculator":Ne.BMI,"bmr-calculator":Ne.BMR,"delivery-date-calculator":Ne.DUE_DATE,"ovulation-calculator":Ne.OVULATION,"pregnancy-weight-gain-calculator":Ne.PWG,"target-heart-rate-calculator":Ne.THR},"km-KH":{"គណនា-bmi":Ne.BMI,"គណនា-bmr":Ne.BMR,"គណនាថ្ងៃសម្រាលកូន":Ne.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":Ne.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":Ne.PWG,"គណនារកចង្វាក់បេះដូងល្អ":Ne.THR},"my-MM":{"bmi-calculator":Ne.BMI,"bmr-calculator":Ne.BMR,"due-date-calendar":Ne.DUE_DATE,"ovulation-calculator":Ne.OVULATION,"pregnaancy-weight-calculator":Ne.PWG,"target-heartrate":Ne.THR,"pregnancy-weight-calculator":Ne.PWG,"target-heart-rate":Ne.THR}},Ge="hhg_user_token",Me="together_admin_token",Ue={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},Be="hhg-id",ze={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},He=20,je={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}};var Fe=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:$e,DEFAULT_AVATAR_IMG:Ce,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:Pe,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:Ne,LOCALE_HEALTH_TOOLS:De,BEARER_TOKEN_COOKIE:Ge,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:Me,Z_INDEX:Ue,BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:Be,GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:ze,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:je});const Ke={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"},Ve={"vi-VN":"marrybaby.vn"},Ye=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",We=e=>{const{env:{isMarryBaby:t}}=Re;return`https://${t?Ve[e]:Ke[e]}`},Xe=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},qe=e=>{const{env:{isMarryBaby:t}}=Re;if("undefined"!=typeof window)return window.location.origin;const o="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${o?t?"fe.":"discover.":t?"www.":""}${Ke[e]}`},Je=(e,t,o,r)=>{let a="";o&&(a=Object.keys(o).map((e=>e+"="+o[e])).join("&"));const{togetherBaseApiUrl:i=""}=(null==Re?void 0:Re.env)||{};let n=A(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:We(String(t._locale))}:{}),t));n+=`${n.includes("?")?"&":"?"}${a}`;return(r||i)+"api/v1/"+Xe(n)},Qe=(e,t,o)=>{const{discoverBaseApiUrl:r="",discoverBaseProdApiUrl:a=""}=(null==Re?void 0:Re.env)||{};return(!I&&o?a:r)+"wp-json/api/"+Xe(A(e,Object.assign({},t)))},Ze=(e,t,o)=>{const{marryBabyApiUrl:r="",marryBabyProdApiUrl:a=""}=(null==Re?void 0:Re.env)||{};return(o&&!I?a:r)+"wp-json/api/"+Xe(A(e,Object.assign({},t)))},et=(e,t)=>{const{careBaseApiUrl:o=""}=(null==Re?void 0:Re.env)||{};return(o||"https://service-health-care.hellohealthgroup.com/")+Xe(A(e,Object.assign({},t)))},tt=(e,t)=>{const{premiumBaseApiUrl:o=""}=(null==Re?void 0:Re.env)||{};return(o||"https://premium-content-stag.hellohealthgroup.com/")+Xe(A(e,Object.assign({},t)))},ot=(e,t)=>{const{publicSSO:o=""}=(null==Re?void 0:Re.env)||{};return(o||"https://staging-id.hellobacsi.com/")+"api/"+Xe(A(e,Object.assign({},t)))},rt=e=>((null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e),at=(e,t,o,r=!1)=>h(void 0,void 0,void 0,(function*(){var a,i,n,s;try{const a=yield fetch(r?e:(s=e,encodeURI(s).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},rt(o)),{headers:Object.assign({},null==o?void 0:o.headers)})).then((e=>e.json()));if(a)return a}catch(t){return console.log(t),console.log({url:e,status:null===(a=null==t?void 0:t.response)||void 0===a?void 0:a.status,statusText:null===(i=null==t?void 0:t.response)||void 0===i?void 0:i.statusText}),(null===(n=null==t?void 0:t.response)||void 0===n?void 0:n.data)||null}return null})),it=(e,t="GET",o,r)=>h(void 0,void 0,void 0,(function*(){var a,i,n,s,l,d;try{const s="string"==typeof e?e:e.url,l="string"==typeof e?e:e.backupUrl,d=Te.parse(r||""),c=d[Ge]||y(Ge);if(!c||!c.length)return at(l||s,t,o);try{const e=yield fetch(s,Object.assign(Object.assign({method:t},rt(o)),{headers:Object.assign({Authorization:"Bearer "+c},null==o?void 0:o.headers)})).then((e=>e.json()));if(null===(a=null==e?void 0:e.messages)||void 0===a?void 0:a.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return at(l||s,t,o);if(e)return e}catch(e){return console.log({status:null===(i=null==e?void 0:e.response)||void 0===i?void 0:i.status,statusText:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.statusText}),at(l||s,t,o)}}catch(e){return console.log({status:null===(s=null==e?void 0:e.response)||void 0===s?void 0:s.status,statusText:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.statusText}),(null===(d=null==e?void 0:e.response)||void 0===d?void 0:d.data)||null}return null})),nt=(e,t,o,r)=>h(void 0,void 0,void 0,(function*(){try{const a=Te.parse(r||""),i=a[Ge]||y(Ge);if(i&&i.length){const r=yield fetch(e,Object.assign(Object.assign({method:t},rt(o)),{headers:Object.assign({Authorization:"Bearer "+i},null==o?void 0:o.headers)})).then((e=>e.json()));if(r)return r}}catch(e){return null}return null})),st=(e,t,o,r)=>h(void 0,void 0,void 0,(function*(){try{const a=Te.parse(r||""),i=a[Me]||y(Me);if(i&&i.length){const r=yield fetch(e,Object.assign(Object.assign({method:t},rt(o)),{headers:Object.assign({Authorization:"Bearer "+i},null==o?void 0:o.headers)})).then((e=>e.json()));if(r)return r}}catch(e){return null}return null}));function lt(e,t,o){const r=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(r)?e.replace(r,"$1"+t+"="+o+"$2"):e+a+t+"="+o}const dt=(e,t,o="/community")=>{const r=e||("undefined"!=typeof window?window.location.href:"/");let a="undefined"!=typeof window?window.location.origin:"";a||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(a=e.split("/").slice(0,3).join("/"));return((e,t)=>{const{publicSSO:o}=Re.env,r=e||window.location.href;return t&&Object.keys(t).map((e=>{lt(r,e,t[e])})),lt(r,"source","communities"),o?`${o}?returnUrl=${encodeURIComponent(r.toString())}`:r})(`${a}${o}/on-boarding?return=${encodeURIComponent(r)}`,t)},ct=(e,t,o,r)=>o&&t?`${o}-${t}`:`${O(e||"",{lower:!0,locale:r||Ye})}-${t}`,pt=({name:e,id:t,locale:o})=>{var r;return`/care/${null===(r=je[o||"vi-VN"])||void 0===r?void 0:r.DOCTOR}/${ct(e,t)}`},ut=({name:e,id:t,slug:o,locale:r})=>{var a;return`/care/${null===(a=je[r||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${ct(e,t,o)}`};var ht=x((e=>({root:{},wrapper:{gap:f(8)},groupErr:{fontSize:f(14)},itemRoot:{flexGrow:1,width:"50%",'&[data-checked="true"]':{".mantine-Radio-label":{borderColor:e.fn.primaryColor()}}},itemLabelWrapper:{padding:0,width:"100%"},itemLabel:{position:"relative",padding:`${f(6)} ${f(16)}`,border:`1px solid ${e.colors.gray[2]}`,borderRadius:f(4),cursor:"pointer",'&[data-disabled="true"]':{background:e.colors.gray[1],color:`${e.colors.gray[4]} !important`,img:{opacity:.5}},img:{height:f(26)}},itemInner:{display:"none"}})));export{ut as $,Je as A,ye as B,tt as C,Le as D,We as E,ot as F,Re as G,B as H,k as I,ce as J,se as K,le as L,de as M,pe as N,ue as O,W as P,q as Q,he as R,ge as S,re as T,at as U,et as V,Ge as W,dt as X,qe as Y,Oe as Z,Ke as _,me as a,pt as a0,Qe as a1,Ae as a2,Ie as a3,st as a4,Ze as a5,Ue as a6,Pe as a7,He as a8,Ce as a9,ze as aa,it as ab,Ve as ac,Te as ad,Be as ae,Ye as af,Se as b,Fe as c,ke as d,L as e,S as f,R as g,$ as h,C as i,P as j,N as k,D as l,G as m,z as n,H as o,j as p,X as q,te as r,Z as s,ee as t,ae as u,ie as v,ht as w,$e as x,Ne as y,nt as z};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { LOCALE, LocaleType } from "../types";
|
|
2
|
+
export declare const basePath: string;
|
|
3
|
+
export declare const SSO_URL: string;
|
|
2
4
|
export declare const USER_GEOLOCATION_COORDINATES_COOKIE = "userGeoLocationCoordinates";
|
|
3
5
|
export declare const domainLocales: {
|
|
4
6
|
'vi-VN': string;
|
|
@@ -13,6 +15,18 @@ export declare const domainLocales: {
|
|
|
13
15
|
'tl-PH': string;
|
|
14
16
|
'vi-VN_MB': string;
|
|
15
17
|
};
|
|
18
|
+
export declare const MAP_DOMAIN_BY_LOCALE: {
|
|
19
|
+
"vi-VN": string;
|
|
20
|
+
"id-ID": string;
|
|
21
|
+
"ms-MY": string;
|
|
22
|
+
"km-KH": string;
|
|
23
|
+
"en-PH": string;
|
|
24
|
+
"tl-PH": string;
|
|
25
|
+
"th-TH": string;
|
|
26
|
+
"my-MM": string;
|
|
27
|
+
"zh-TW": string;
|
|
28
|
+
"hi-IN": string;
|
|
29
|
+
};
|
|
16
30
|
export type CategoriesLayout = 'short' | 'long';
|
|
17
31
|
export type LogoType = 'hellobacsi' | 'hellosehat' | 'hellohealth' | 'hellotogether' | 'hellocare' | 'logomark' | 'hellodoctor' | 'hellokrupet' | 'helloswasthya' | 'hellosayarwon' | 'helloyishi' | 'hellokhunmor' | 'hellodoktor' | 'marryBaby';
|
|
18
32
|
export declare const LOCALE_SPECS: {
|
|
@@ -85,3 +99,5 @@ export declare const DATE_FNS_LOCALE: {
|
|
|
85
99
|
};
|
|
86
100
|
export declare const CDN_ADDRESS = "https://cdn.hellohealthgroup.com/countries";
|
|
87
101
|
export declare const GA_TOKEN_COOKIE = "_ga";
|
|
102
|
+
export declare const API_DATE_FORMAT = "YYYY-MM-DD";
|
|
103
|
+
export declare const DATE_FNS_DATE_FORMAT = "dd-MM-yyyy";
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
export declare enum NodePosition {
|
|
2
|
+
HEAD = 0,
|
|
3
|
+
TAIL = 1,
|
|
4
|
+
MIDDLE = 2,
|
|
5
|
+
CONNECT = 3,
|
|
6
|
+
SSO = 4,
|
|
7
|
+
MULTIPLE = 5
|
|
8
|
+
}
|
|
9
|
+
export declare enum NodeType {
|
|
10
|
+
UNDEFINED = -1,
|
|
11
|
+
TEXT = 0,
|
|
12
|
+
IMAGE = 1,
|
|
13
|
+
FORM = 2,
|
|
14
|
+
CONDITION = 3,
|
|
15
|
+
POLL = 4,
|
|
16
|
+
FINAL_STANDARD = 5,
|
|
17
|
+
FINAL = 6,
|
|
18
|
+
FINAL_THANK_YOU = 7,
|
|
19
|
+
RATING = 8,
|
|
20
|
+
REACTION = 9,
|
|
21
|
+
REVIEW = 10,
|
|
22
|
+
RESULT_POLL = 11,
|
|
23
|
+
RESULT_RATING = 12,
|
|
24
|
+
RESULT_REACTION = 13,
|
|
25
|
+
OTP = 14
|
|
26
|
+
}
|
|
27
|
+
export declare const NodeFinalTypes: NodeType[];
|
|
28
|
+
export declare enum NodeIntentType {
|
|
29
|
+
BOT_TEXT = "bot-text",
|
|
30
|
+
BOT_IMAGE = "bot-image",
|
|
31
|
+
BOT_BACKGROUND_IMAGE = "bot-background-image",
|
|
32
|
+
BOT_BUTTON = "bot-button",
|
|
33
|
+
BOT_URL = "bot-url",
|
|
34
|
+
BOT_RECALCULATE = "bot-recalculate",
|
|
35
|
+
BOT_BOOKING = "bot-booking",
|
|
36
|
+
BOT_MAIN_TITLE = "bot-main-title",
|
|
37
|
+
BOT_MAIN_IMAGE = "bot-main-image",
|
|
38
|
+
BOT_MAIN_BODY = "bot-main-body",
|
|
39
|
+
BOT_MAIN_BUTTON = "bot-main-button",
|
|
40
|
+
BOT_SUB_TITLE = "bot-sub-title",
|
|
41
|
+
BOT_SUB_BODY = "bot-sub-body",
|
|
42
|
+
BOT_LANDING_PAGE_URL = "bot-landing-page-url",
|
|
43
|
+
BOT_LANDING_PAGE_BUTTON = "bot-landing-page-button",
|
|
44
|
+
BOT_RISK_SCREEN = "bot-risk-screen",
|
|
45
|
+
BOT_RELATED_ARTICLE = "bot-related-article",
|
|
46
|
+
THANK_YOU_IMAGE = "thank-you-image",
|
|
47
|
+
THANK_YOU_TITLE = "thank-you-title",
|
|
48
|
+
THANK_YOU_BODY = "thank-you-body",
|
|
49
|
+
TOTAL_LINE = "total-line",
|
|
50
|
+
BOT_SUBMISSION = "bot-submission",
|
|
51
|
+
BOT_EVENT_SUBMISSION = "bot-event-submission",
|
|
52
|
+
BOT_SUGGESTED_SERVICE = "bot-suggested-service",
|
|
53
|
+
/** intents fake for sso block */
|
|
54
|
+
SSO_INTENT = "sso-intent"
|
|
55
|
+
}
|
|
56
|
+
export declare enum NodeActionType {
|
|
57
|
+
ACTION_CONDITION = "action-condition",
|
|
58
|
+
ACTION_INTERNAL = "action-internal",
|
|
59
|
+
ACTION_EXTERNAL = "action-external",
|
|
60
|
+
ACTION_SSO_REDIRECT = "action-sso-redirect",
|
|
61
|
+
ACTION_MULTIPLE_BUTTON = "action-multiple-button",
|
|
62
|
+
USER_CHOICE_TEXT = "user-choice-text",
|
|
63
|
+
USER_CHOICE_TEXT_BY_INPUT = "user-choice-text-by-input",
|
|
64
|
+
USER_CHOICE_NEXT = "user-choice-next",
|
|
65
|
+
USER_CHOICE_IMAGE = "user-choice-image",
|
|
66
|
+
USER_SUBMIT_TEXT = "user-submit-text",
|
|
67
|
+
USER_SUBMIT_NUMBER = "user-submit-number",
|
|
68
|
+
USER_SUBMIT_NAME = "user-submit-name",
|
|
69
|
+
USER_SUBMIT_PHONE = "user-submit-phone",
|
|
70
|
+
USER_SUBMIT_EMAIL = "user-submit-email",
|
|
71
|
+
USER_SUBMIT_DROPDOWN = "user-submit-dropdown",
|
|
72
|
+
USER_SUBMIT_DATE = "user-submit-date",
|
|
73
|
+
USER_SUBMIT_CONFIRM = "user-submit-confirm",
|
|
74
|
+
USER_SUBMIT_SEND = "user-submit-send",
|
|
75
|
+
USER_SUBMIT_RESEND = "user-submit-resend",
|
|
76
|
+
USER_SUBMIT_ADDRESS = "user-submit-address",
|
|
77
|
+
USER_SUBMIT_ADDRESS_PROVINCE = "user-submit-address-province",
|
|
78
|
+
USER_SUBMIT_ADDRESS_DISTRICT = "user-submit-address-district",
|
|
79
|
+
USER_SUBMIT_ADDRESS_COMMUNE = "user-submit-address-commune",
|
|
80
|
+
USER_SUBMIT_BMI = "user-submit-bmi",
|
|
81
|
+
USER_SUBMIT_BMI_HIDDEN = "user-submit-bmi-hidden",
|
|
82
|
+
USER_SUBMIT_TERMS = "user-submit-terms",
|
|
83
|
+
USER_SUBMIT_GENDER = "user-submit-gender",
|
|
84
|
+
USER_SUBMIT_OTP = "user-submit-otp",
|
|
85
|
+
USER_SUBMIT_WHATSAPP = "user-submit-whatsapp",
|
|
86
|
+
POLL_CHOICE = "poll-choice",
|
|
87
|
+
POLL_CHOICE_IMAGE = "poll-choice-image",
|
|
88
|
+
POLL_BUTTON = "poll-button",
|
|
89
|
+
RATING_STAR = "rating-star",
|
|
90
|
+
RATING_DESCRIPTION = "rating-description",
|
|
91
|
+
RATING_BUTTON = "rating-button",
|
|
92
|
+
LIKE_CHOICE = "like-choice",
|
|
93
|
+
DISLIKE_CHOICE = "dislike-choice",
|
|
94
|
+
REVIEW_CHOICE = "review-choice",
|
|
95
|
+
REVIEW_DESCRIPTION = "review-description",
|
|
96
|
+
REVIEW_BUTTON = "review-button",
|
|
97
|
+
RESULT_BUTTON = "result-button",
|
|
98
|
+
POLL_RESULT = "poll-result",
|
|
99
|
+
USER_SUBMIT_GOOGLE_API_ADDRESS = "user-submit-google-api-address"
|
|
100
|
+
}
|
|
101
|
+
export declare const FULL_KEY_ADDRESS: NodeActionType[];
|
|
102
|
+
export declare enum NodeMultipleOptions {
|
|
103
|
+
UNLIMITED = 0,
|
|
104
|
+
EXACT_NUMBER = 1,
|
|
105
|
+
RANGE = 2
|
|
106
|
+
}
|
|
107
|
+
export declare const ELEMENT_CONTROL_INPUT_TYPE: {
|
|
108
|
+
[key: string]: string;
|
|
109
|
+
};
|
|
110
|
+
export type SubotFormSubmitMeta = {
|
|
111
|
+
key: string;
|
|
112
|
+
control: string;
|
|
113
|
+
value: string;
|
|
114
|
+
action_id?: string;
|
|
115
|
+
};
|
|
116
|
+
export type SubotMessage = {
|
|
117
|
+
mode?: string;
|
|
118
|
+
bot_id?: string | number;
|
|
119
|
+
node_id?: string;
|
|
120
|
+
cookie_id?: string;
|
|
121
|
+
window_id?: string;
|
|
122
|
+
url?: string;
|
|
123
|
+
title_url?: string;
|
|
124
|
+
action_id?: string;
|
|
125
|
+
action_value?: string;
|
|
126
|
+
gtm_id?: string;
|
|
127
|
+
ga_client_id?: string;
|
|
128
|
+
device_id?: number;
|
|
129
|
+
categories?: string[];
|
|
130
|
+
current_keys?: Array<string>;
|
|
131
|
+
current_score?: string | number;
|
|
132
|
+
current_selected?: Array<string>;
|
|
133
|
+
current_polls?: {
|
|
134
|
+
[key: string]: Array<string>;
|
|
135
|
+
};
|
|
136
|
+
account_id?: number | null;
|
|
137
|
+
is_new?: boolean;
|
|
138
|
+
selected_actions?: {
|
|
139
|
+
[key: string]: string;
|
|
140
|
+
};
|
|
141
|
+
form_submit_meta?: Array<SubotFormSubmitMeta>;
|
|
142
|
+
};
|
|
143
|
+
export interface SubotNodeIntent {
|
|
144
|
+
id: string;
|
|
145
|
+
type?: NodeIntentType;
|
|
146
|
+
label?: string;
|
|
147
|
+
url?: string;
|
|
148
|
+
}
|
|
149
|
+
export interface SubotNodeAction extends Omit<SubotNodeIntent, 'type'> {
|
|
150
|
+
type?: NodeActionType;
|
|
151
|
+
key?: string;
|
|
152
|
+
score?: number;
|
|
153
|
+
from?: number;
|
|
154
|
+
to?: number;
|
|
155
|
+
is_chosen?: boolean;
|
|
156
|
+
percent?: number;
|
|
157
|
+
}
|
|
158
|
+
export type SubotNode = {
|
|
159
|
+
id: string;
|
|
160
|
+
type?: NodeType;
|
|
161
|
+
position?: NodePosition;
|
|
162
|
+
name?: string;
|
|
163
|
+
x_axis?: number;
|
|
164
|
+
y_axis?: number;
|
|
165
|
+
is_multi_select?: boolean;
|
|
166
|
+
multi_select_option?: NodeMultipleOptions;
|
|
167
|
+
from?: number;
|
|
168
|
+
to?: number;
|
|
169
|
+
intents?: Array<SubotNodeIntent> | [];
|
|
170
|
+
intents_bottom?: Array<SubotNodeIntent> | [];
|
|
171
|
+
actions?: Array<SubotNodeAction> | [];
|
|
172
|
+
isMobile?: boolean;
|
|
173
|
+
};
|
|
174
|
+
export type SubotNodeMessage = SubotNode & {
|
|
175
|
+
_message?: SubotMessage;
|
|
176
|
+
};
|
|
177
|
+
export type SubotNodeItem = SubotNodeMessage | SubotBotItem;
|
|
178
|
+
export interface SubotBotItem {
|
|
179
|
+
id: number | string;
|
|
180
|
+
site_id?: number | null;
|
|
181
|
+
flow_name?: string | null;
|
|
182
|
+
flow_uuid?: string | null;
|
|
183
|
+
dynamic_score?: Record<string, {
|
|
184
|
+
action_id: string;
|
|
185
|
+
number: number;
|
|
186
|
+
operator: '+' | '-' | 'x' | '/';
|
|
187
|
+
}>;
|
|
188
|
+
landing_page_url_prefix?: string | null;
|
|
189
|
+
landing_page_url_slug?: string | null;
|
|
190
|
+
landing_page_image?: string | null;
|
|
191
|
+
landing_page_icon?: string | null;
|
|
192
|
+
landing_page_title?: string | null;
|
|
193
|
+
landing_page_description?: string | null;
|
|
194
|
+
landing_page_reviewer?: string | null;
|
|
195
|
+
landing_page_review_date?: string | null;
|
|
196
|
+
landing_page_info?: [];
|
|
197
|
+
landing_page_disclaimer?: string | null;
|
|
198
|
+
landing_page_meta_description?: string | null;
|
|
199
|
+
landing_page_seo_title?: string | null;
|
|
200
|
+
landing_page_active?: boolean | null;
|
|
201
|
+
landing_page_sponsor_from?: string | null;
|
|
202
|
+
landing_page_sponsor_to?: string | null;
|
|
203
|
+
landing_page_is_sponsored?: boolean | null;
|
|
204
|
+
landing_page_client_id?: string | number;
|
|
205
|
+
landing_page_client?: {
|
|
206
|
+
[key: string]: any;
|
|
207
|
+
};
|
|
208
|
+
landing_page_start_button?: string;
|
|
209
|
+
landing_page_background?: string;
|
|
210
|
+
inline_active?: boolean;
|
|
211
|
+
inline_headline?: string;
|
|
212
|
+
inline_image?: string;
|
|
213
|
+
inline_title?: string;
|
|
214
|
+
inline_background?: string;
|
|
215
|
+
inline_review?: string;
|
|
216
|
+
inline_avatar?: string;
|
|
217
|
+
inline_speciality?: string;
|
|
218
|
+
inline_hospital_name?: string;
|
|
219
|
+
inline_description?: string;
|
|
220
|
+
inline_start_button?: string;
|
|
221
|
+
first_node?: SubotNode | null;
|
|
222
|
+
care_service_type_id?: number | null;
|
|
223
|
+
care_service_type?: {
|
|
224
|
+
[key: string]: any;
|
|
225
|
+
};
|
|
226
|
+
care_service_type_label?: string;
|
|
227
|
+
care_specialty_id?: number | null;
|
|
228
|
+
care_specialty_label?: string;
|
|
229
|
+
care_specialty?: {
|
|
230
|
+
[key: string]: any;
|
|
231
|
+
};
|
|
232
|
+
care_enable_default_banner?: boolean;
|
|
233
|
+
affiliate_product_title?: string;
|
|
234
|
+
affiliate_product_no_follow?: boolean;
|
|
235
|
+
affiliate_product_open_new_tab?: boolean;
|
|
236
|
+
affiliate_product_sponsored?: boolean;
|
|
237
|
+
affiliate_product_sku_list?: string[];
|
|
238
|
+
extra_settings?: Record<string, any>;
|
|
239
|
+
subot_field_type?: string;
|
|
240
|
+
}
|
|
241
|
+
export type ChatBotNodeFormSubmitData = {
|
|
242
|
+
node_id?: string;
|
|
243
|
+
action_id: string;
|
|
244
|
+
action_value: string;
|
|
245
|
+
form_submit_meta: Array<SubotFormSubmitMeta>;
|
|
246
|
+
selected?: {
|
|
247
|
+
[key: string]: string;
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
export type ChatBotNodes = {
|
|
251
|
+
node: SubotNode;
|
|
252
|
+
current_score?: number;
|
|
253
|
+
};
|
|
254
|
+
export type ChatBotResultItem = {
|
|
255
|
+
id: string;
|
|
256
|
+
type: string;
|
|
257
|
+
label: string;
|
|
258
|
+
url: string;
|
|
259
|
+
button?: ChatBotResultItem;
|
|
260
|
+
};
|
|
261
|
+
export type ChatBotResult = {
|
|
262
|
+
intents: Array<ChatBotResultItem>;
|
|
263
|
+
};
|
|
264
|
+
export type ChatBotResultMetaItem = {
|
|
265
|
+
key: string;
|
|
266
|
+
value: string;
|
|
267
|
+
};
|
|
268
|
+
export type ChatBotResultFetchUrl = {
|
|
269
|
+
url: string;
|
|
270
|
+
title: string;
|
|
271
|
+
thumbnail: string;
|
|
272
|
+
description?: string;
|
|
273
|
+
type: number;
|
|
274
|
+
meta: Array<ChatBotResultMetaItem>;
|
|
275
|
+
};
|
|
276
|
+
export type ChatBotResultItemWithInfo = {
|
|
277
|
+
id: string;
|
|
278
|
+
type: string;
|
|
279
|
+
label: string;
|
|
280
|
+
url: string;
|
|
281
|
+
button?: ChatBotResultItem;
|
|
282
|
+
info?: ChatBotResultFetchUrl;
|
|
283
|
+
};
|
|
284
|
+
export type ChatBotState = {
|
|
285
|
+
nodes: Array<SubotNode>;
|
|
286
|
+
selecteds: Array<SubotMessage>;
|
|
287
|
+
current_score?: number;
|
|
288
|
+
current_selected?: Array<string>;
|
|
289
|
+
current_keys?: Array<string>;
|
|
290
|
+
};
|
|
291
|
+
export type SingleSubotApi = {
|
|
292
|
+
title: string;
|
|
293
|
+
english_name: string;
|
|
294
|
+
icon: string;
|
|
295
|
+
subot_url: string;
|
|
296
|
+
};
|
|
297
|
+
export type SingleSubot = {
|
|
298
|
+
title: string;
|
|
299
|
+
englishName: string;
|
|
300
|
+
icon: string;
|
|
301
|
+
subotUrl: string;
|
|
302
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { NodeType, SubotFormSubmitMeta, SubotMessage, SubotNodeAction, SubotNodeIntent, SubotNodeMessage } from "./";
|
|
2
|
+
export type SubotInlineNodeProps = {
|
|
3
|
+
node: SubotNodeMessage;
|
|
4
|
+
indexNumber?: number;
|
|
5
|
+
};
|
|
6
|
+
export type SubotInlineIntentProps = {
|
|
7
|
+
intents: Array<SubotNodeIntent>;
|
|
8
|
+
indexNumber?: number;
|
|
9
|
+
};
|
|
10
|
+
export type SubotInlineIntentItemProps = {
|
|
11
|
+
intent: SubotNodeIntent;
|
|
12
|
+
indexNumber?: number;
|
|
13
|
+
};
|
|
14
|
+
export interface SubotInlineActionItemProps {
|
|
15
|
+
node_type?: NodeType;
|
|
16
|
+
value?: SubotFormSubmitMeta | string;
|
|
17
|
+
action?: SubotNodeAction;
|
|
18
|
+
onChange?: (action?: any, formSubmitMeta?: SubotMessage['form_submit_meta']) => void;
|
|
19
|
+
active?: boolean;
|
|
20
|
+
htmlType?: 'radio' | 'checkbox';
|
|
21
|
+
formSubmitMeta?: SubotMessage['form_submit_meta'];
|
|
22
|
+
}
|
|
23
|
+
export interface SubotInlineActionProps {
|
|
24
|
+
htmlType?: 'radio' | 'checkbox';
|
|
25
|
+
actions?: Array<SubotNodeAction>;
|
|
26
|
+
value?: Array<string>;
|
|
27
|
+
onChange?: (value?: SubotNodeAction) => void;
|
|
28
|
+
node_type?: NodeType;
|
|
29
|
+
formSubmitMeta?: SubotMessage['form_submit_meta'];
|
|
30
|
+
}
|
|
31
|
+
export type FrisoFormFieldProps = {
|
|
32
|
+
name?: string;
|
|
33
|
+
first_name?: string;
|
|
34
|
+
last_name?: string;
|
|
35
|
+
dob: Date;
|
|
36
|
+
phone: string;
|
|
37
|
+
email: string;
|
|
38
|
+
address: any;
|
|
39
|
+
term: boolean;
|
|
40
|
+
};
|
|
@@ -113,8 +113,11 @@ export * from "./Locale";
|
|
|
113
113
|
export * from "./HealthTool";
|
|
114
114
|
export * from "./Onboarding";
|
|
115
115
|
export * from "./BabyVaccination";
|
|
116
|
+
export * from "./Subot";
|
|
117
|
+
export * from "./SubotInline";
|
|
116
118
|
export type OvulationLocalStoredType = {
|
|
117
119
|
cycle: number;
|
|
118
120
|
periodDateStart: Date;
|
|
119
121
|
periodLength: number;
|
|
120
122
|
};
|
|
123
|
+
export type SpotlightTemplate = 'default' | 'super_content' | 'landing' | 'services-connection';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const PATHS: {
|
|
2
|
+
POST_LEAD_IMPRESSION: string;
|
|
3
|
+
POST_LEAD_POPUP_EXIT: string;
|
|
4
|
+
POST_LEAD_LEAD: string;
|
|
5
|
+
POST_LEAD_SEND_OTP: string;
|
|
6
|
+
POST_LEAD_VERIFY_OTP: string;
|
|
7
|
+
POST_LEAD_GET_LOG: string;
|
|
8
|
+
POST_LEAD_UPDATE_LOG: string;
|
|
9
|
+
POST_LEAD_CHECK_PHONE_LOG: string;
|
|
10
|
+
POST_LEAD_FRISO_VERIFY_PHONE_EXIST: string;
|
|
11
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ApiOptions } from "../../together/api/utils";
|
|
2
|
+
export declare const getLeadPath: (path: string, params?: {
|
|
3
|
+
[key: string]: string | number;
|
|
4
|
+
}) => string;
|
|
5
|
+
export declare const callApiWithLead: (url: string, method: string, options?: ApiOptions) => Promise<any>;
|