@hhgtech/hhg-components 1.27.13 → 1.27.15
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/babyGrowth.js +2 -2
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/atoms/drawer/index.d.ts +1 -0
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-266e3419.js → core-5338722c.js} +1 -1
- package/build/{dataTransform-87b36f32.js → dataTransform-3651b950.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +7 -7
- 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.js +1 -1
- package/build/esm/{core-82766908.js → core-4bc7267c.js} +1 -1
- package/build/esm/{dataTransform-a94938b5.js → dataTransform-0fb40d63.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/{fixedBottomAdBlock-73e2cded.js → fixedBottomAdBlock-b89ebb72.js} +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-7833ec94.js +1 -0
- package/build/esm/{getSocialList-3c0ed4c7.js → getSocialList-5c28592c.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/{index-842c4dd9.js → index-00465f32.js} +1 -1
- package/build/esm/{index-93a91c56.js → index-27a52bbc.js} +2 -2
- package/build/esm/{index-e5918656.js → index-2f622286.js} +1 -1
- package/build/esm/{index-0a5500f4.js → index-34ab4ba2.js} +6 -6
- package/build/esm/{index-ac78725f.js → index-3986987a.js} +1 -1
- package/build/esm/{index-d1bd2ae4.js → index-4cddaf7f.js} +1 -1
- package/build/esm/{index-76bcd7d6.js → index-4e2c1a89.js} +1 -1
- package/build/esm/{index-3d20b7cb.js → index-5768490d.js} +1 -1
- package/build/esm/{index-b3a67cd6.js → index-5aef1df6.js} +1 -1
- package/build/esm/{index-571d00a0.js → index-604726db.js} +1 -1
- package/build/esm/{index-76e72619.js → index-6da3416d.js} +1 -1
- package/build/esm/{index-e5ef456e.js → index-89fd8f61.js} +1 -1
- package/build/esm/{index-6d14917a.js → index-8bdce827.js} +1 -1
- package/build/esm/{index-fcd5a0f2.js → index-8e26f3ce.js} +1 -1
- package/build/esm/{index-1d0bd7a7.js → index-9226b91b.js} +1 -1
- package/build/esm/{index-59a06349.js → index-99fe6436.js} +2 -2
- package/build/esm/{index-d3f37e41.js → index-9e300234.js} +1 -1
- package/build/esm/{index-5439ea50.js → index-b6850863.js} +1 -1
- package/build/esm/index-bcda1c0b.js +1 -0
- package/build/esm/index-c7558645.js +1 -0
- package/build/esm/{index-9714ff3b.js → index-c993bee8.js} +1 -1
- package/build/esm/{index-cc72cbb0.js → index-ce03de57.js} +1 -1
- package/build/esm/{index-1721fa04.js → index-d509c56d.js} +1 -1
- package/build/esm/{index-839dcd4d.js → index-e29b4c2f.js} +1 -1
- package/build/esm/{index-13764481.js → index-e2a2490e.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-e3520178.js → index.styled-749a5ebe.js} +12 -12
- package/build/esm/{index.styled-aeb6a1ff.js → index.styled-b56d6c87.js} +6 -6
- package/build/esm/{index.styled-e77592d8.js → index.styled-ba85d73d.js} +1 -1
- package/build/esm/{index.styled-cc4ac3b6.js → index.styled-c262e8d8.js} +5 -5
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/onboardingV2.js +2 -2
- package/build/esm/pwg.js +5 -5
- package/build/esm/{routing-7484d423.js → routing-ef04541f.js} +1 -1
- package/build/esm/{screenSizeContext-6102c8a8.js → screenSizeContext-97c1867c.js} +3 -3
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsProvider-7a8edbf1.js → translationsProvider-bab35499.js} +1 -1
- package/build/esm/{types-8a9cba3c.js → types-46b909b8.js} +38 -38
- package/build/esm/{types-40d52dab.js → types-d9e371a1.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-73fd7e8c.js +1 -0
- package/build/esm/{useRafState-befdc2dc.js → useRafState-abc8ba4d.js} +1 -1
- package/build/esm/{useTranslations-8dd071d0.js → useTranslations-a0c8e5d4.js} +1 -1
- package/build/esm/{utils-8ee09c96.js → utils-8e3df7a8.js} +1 -1
- package/build/esm/vaccination.js +5 -5
- package/build/{fixedBottomAdBlock-fe7155c0.js → fixedBottomAdBlock-14e84898.js} +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-3c37a695.js → getDynamicHealthTool-7db46d8b.js} +1 -1
- package/build/{getSocialList-c031aa81.js → getSocialList-d52eb688.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-efd3e60f.js → index-02ad1bc1.js} +1 -1
- package/build/{index-76b82984.js → index-1b662f78.js} +1 -1
- package/build/{index-5bd8eba7.js → index-21cc08ff.js} +1 -1
- package/build/{index-35ad9f66.js → index-2b0b349a.js} +1 -1
- package/build/{index-e8253c45.js → index-2f044824.js} +1 -1
- package/build/{index-89809c5d.js → index-3cc0e9dd.js} +1 -1
- package/build/{index-8e564616.js → index-3fd2180a.js} +1 -1
- package/build/{index-5a9fe0d4.js → index-42b86c22.js} +1 -1
- package/build/{index-81d8302a.js → index-456ea21b.js} +1 -1
- package/build/{index-992fb1c3.js → index-4a71d035.js} +1 -1
- package/build/{index-a9b5d940.js → index-5bbb88ce.js} +6 -6
- package/build/{index-63657de9.js → index-67b80ad4.js} +1 -1
- package/build/{index-3b827ae2.js → index-7b49e68a.js} +1 -1
- package/build/{index-78bc3fdb.js → index-84d9bd37.js} +1 -1
- package/build/{index-d50117bb.js → index-87afe4f9.js} +2 -2
- package/build/{index-a706da2e.js → index-92c45bf8.js} +1 -1
- package/build/{index-145b8129.js → index-b9cbfaa6.js} +1 -1
- package/build/{index-02d9c1e7.js → index-bd42f8d0.js} +1 -1
- package/build/{index-4de848fd.js → index-be265f7b.js} +1 -1
- package/build/{index-9b31f8ba.js → index-c4df4e5d.js} +1 -1
- package/build/{index-07f57b3b.js → index-cdd7e0d2.js} +1 -1
- package/build/{index-cfdc4bf0.js → index-cfc0fcd1.js} +1 -1
- package/build/{index-b8ba353b.js → index-d12be828.js} +1 -1
- package/build/{index-8a2a258c.js → index-e70201d7.js} +4 -4
- package/build/index-fa2111a7.js +1 -0
- package/build/index.js +1 -1
- package/build/{index.styled-dbcef500.js → index.styled-2504b884.js} +1 -1
- package/build/{index.styled-b676f21c.js → index.styled-97040c0c.js} +1 -1
- package/build/index.styled-a2df775e.js +50 -0
- package/build/{index.styled-38f7cf2e.js → index.styled-dc194ac1.js} +1 -1
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/onboardingV2.js +2 -2
- package/build/pwg.js +1 -1
- package/build/{routing-246e7db8.js → routing-18c5323d.js} +1 -1
- package/build/{screenSizeContext-0e3514d4.js → screenSizeContext-be11a00a.js} +1 -1
- package/build/together.js +1 -1
- package/build/{translationsProvider-758d942c.js → translationsProvider-98e66992.js} +1 -1
- package/build/{types-76055f1c.js → types-20d35223.js} +37 -37
- package/build/{types-df87f1e2.js → types-450be509.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useHealthToolCache-54ca7197.js → useHealthToolCache-58a68651.js} +1 -1
- package/build/{useRafState-2dd3d1aa.js → useRafState-b186ea94.js} +1 -1
- package/build/useTranslations-498d3e00.js +1 -0
- package/build/{utils-0b2befb7.js → utils-195275e7.js} +1 -1
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/esm/getDynamicHealthTool-56bbc12e.js +0 -1
- package/build/esm/index-6bde588c.js +0 -1
- package/build/esm/index-e0a8c00f.js +0 -1
- package/build/esm/useHealthToolCache-b0a7f2d6.js +0 -1
- package/build/index-afef7920.js +0 -1
- package/build/index.styled-babff886.js +0 -50
- package/build/useTranslations-edd45fd9.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-a01f13f8.js → BMI_BOYS.percentile.monthly-bd55d8fd.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-f890bb8e.js → BMI_BOYS.percentile.weekly-1fdaccfd.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-85cb8835.js → BMI_BOYS.percentile.yearly-0c85b36e.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-f8d77938.js → BMI_BOYS.zscore.monthly-8ec36f56.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-29ecd5ce.js → BMI_BOYS.zscore.weekly-9905756e.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-89a305fd.js → BMI_BOYS.zscore.yearly-5c96ff94.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-7d3e5601.js → BMI_GIRLS.percentile.monthly-4ec90c1b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-2e237448.js → BMI_GIRLS.percentile.weekly-4e3b866d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-3eeb6295.js → BMI_GIRLS.percentile.yearly-ea88f4e2.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-b9640796.js → BMI_GIRLS.zscore.monthly-ffcb62f4.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-d9d89d04.js → BMI_GIRLS.zscore.weekly-7e75a3ab.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-09dbba19.js → BMI_GIRLS.zscore.yearly-6444e7ad.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-cae2337d.js → HEAD CIRCUM_BOYS.percentile.monthly-8e35964a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-f41e7a2c.js → HEAD CIRCUM_BOYS.percentile.weekly-8b4eac98.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-6f76cf1d.js → HEAD CIRCUM_BOYS.percentile.yearly-95450043.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-582c67a5.js → HEAD CIRCUM_BOYS.zscore.monthly-120c0175.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-e0ba9c75.js → HEAD CIRCUM_BOYS.zscore.weekly-468d2284.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-679bbe5e.js → HEAD CIRCUM_BOYS.zscore.yearly-a702d44f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-f07ac762.js → HEAD CIRCUM_GIRLS.percentile.monthly-c5924e8b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-e98e7530.js → HEAD CIRCUM_GIRLS.percentile.weekly-447b8541.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-97101a44.js → HEAD CIRCUM_GIRLS.percentile.yearly-a676a19a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-51c3fbee.js → HEAD CIRCUM_GIRLS.zscore.monthly-d2b89a1a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-9feb563a.js → HEAD CIRCUM_GIRLS.zscore.weekly-b037364f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-d5f80ae6.js → HEAD CIRCUM_GIRLS.zscore.yearly-5a4d8ffa.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-2fa35d6c.js → HEIGHT_BOYS.percentile.monthly-2f9a7d8f.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-3ac1e538.js → HEIGHT_BOYS.percentile.weekly-dbe7d55b.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-2fa43666.js → HEIGHT_BOYS.percentile.yearly-14c93050.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-bdbad0af.js → HEIGHT_BOYS.zscore.monthly-7d43a567.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-6de5a962.js → HEIGHT_BOYS.zscore.weekly-69072710.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-d1625332.js → HEIGHT_BOYS.zscore.yearly-9c7c9d5b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-f5ad73e4.js → HEIGHT_GIRLS.percentile.monthly-b24aab8a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-81bf0ecf.js → HEIGHT_GIRLS.percentile.weekly-9fc99425.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-7906bc69.js → HEIGHT_GIRLS.percentile.yearly-56c0e95b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-7108e50c.js → HEIGHT_GIRLS.zscore.monthly-4496247c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-6a25d89e.js → HEIGHT_GIRLS.zscore.weekly-fd0565e3.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-ea8193d7.js → HEIGHT_GIRLS.zscore.yearly-4b4d7082.js} +0 -0
- /package/build/{Onboarding-f0a41834.js → Onboarding-9f64cd6a.js} +0 -0
- /package/build/{Visible-430bc4d0.js → Visible-63e57259.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-6f8879ef.js → WEIGHT_BOYS.percentile.monthly-d616e9a1.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-a367cea5.js → WEIGHT_BOYS.percentile.weekly-4ea97e7c.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-0fa80c6b.js → WEIGHT_BOYS.percentile.yearly-0a74b25c.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-8c32f446.js → WEIGHT_BOYS.zscore.monthly-88500f68.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-2284372e.js → WEIGHT_BOYS.zscore.weekly-eada5c4d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-673eb790.js → WEIGHT_BOYS.zscore.yearly-1561ac4a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-579ceaac.js → WEIGHT_GIRLS.percentile.monthly-3c669614.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-59703029.js → WEIGHT_GIRLS.percentile.weekly-0d067657.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-685c6ad3.js → WEIGHT_GIRLS.percentile.yearly-94dfdcb9.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-585adbdc.js → WEIGHT_GIRLS.zscore.monthly-f09d7b7d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-8536dd76.js → WEIGHT_GIRLS.zscore.weekly-772d8f3f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-78e32c8a.js → WEIGHT_GIRLS.zscore.yearly-17d7e681.js} +0 -0
- /package/build/{constants-baf995e5.js → constants-7cc24021.js} +0 -0
- /package/build/{cookieHelper-62dca6d5.js → cookieHelper-a71e0073.js} +0 -0
- /package/build/{dataTransform-ec8ccb52.js → dataTransform-61a76d59.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-635fea23.js → BMI_BOYS.percentile.monthly-b344751a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-c8f4e476.js → BMI_BOYS.percentile.weekly-c1809813.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-af334169.js → BMI_BOYS.percentile.yearly-ee039272.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-aed30f92.js → BMI_BOYS.zscore.monthly-4617b6f5.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-29de1f28.js → BMI_BOYS.zscore.weekly-5e8be2f3.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-f508ea38.js → BMI_BOYS.zscore.yearly-b714fcff.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-3660973a.js → BMI_GIRLS.percentile.monthly-649c5ed6.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-b34b93de.js → BMI_GIRLS.percentile.weekly-58d1bd5c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-701d288e.js → BMI_GIRLS.percentile.yearly-4ed66743.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-0670b99e.js → BMI_GIRLS.zscore.monthly-2161a538.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-2dc2e0a8.js → BMI_GIRLS.zscore.weekly-c07e1266.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-8cf1c48d.js → BMI_GIRLS.zscore.yearly-dd17dfd9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-364f037f.js → HEAD CIRCUM_BOYS.percentile.monthly-73cec355.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-0feb6ea7.js → HEAD CIRCUM_BOYS.percentile.weekly-fe8d37ff.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-9e90616e.js → HEAD CIRCUM_BOYS.percentile.yearly-ec7dacfc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-b8e13da0.js → HEAD CIRCUM_BOYS.zscore.monthly-03b71d5b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-a872591f.js → HEAD CIRCUM_BOYS.zscore.weekly-2f6baaa5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-dbc0ef3d.js → HEAD CIRCUM_BOYS.zscore.yearly-e77c5685.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-d7c8605e.js → HEAD CIRCUM_GIRLS.percentile.monthly-e4be096f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-06eea8a8.js → HEAD CIRCUM_GIRLS.percentile.weekly-065fa998.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-5e063000.js → HEAD CIRCUM_GIRLS.percentile.yearly-66cebd43.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-273d4a99.js → HEAD CIRCUM_GIRLS.zscore.monthly-9de40f93.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-30fdcc36.js → HEAD CIRCUM_GIRLS.zscore.weekly-6da73750.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-269461ac.js → HEAD CIRCUM_GIRLS.zscore.yearly-f6979373.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-1fbc2220.js → HEIGHT_BOYS.percentile.monthly-7ef3f2a1.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-58ec8a4a.js → HEIGHT_BOYS.percentile.weekly-4d23d586.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-1d15882b.js → HEIGHT_BOYS.percentile.yearly-722fe87c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-44c888da.js → HEIGHT_BOYS.zscore.monthly-b7ef59ce.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-13fa55b9.js → HEIGHT_BOYS.zscore.weekly-6eb80dd6.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-b6e9cb8f.js → HEIGHT_BOYS.zscore.yearly-baa9ac57.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-41f2f78c.js → HEIGHT_GIRLS.percentile.monthly-7678a63b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-993ef54f.js → HEIGHT_GIRLS.percentile.weekly-c3cff4b5.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-366b6e06.js → HEIGHT_GIRLS.percentile.yearly-fb968289.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-e56301d1.js → HEIGHT_GIRLS.zscore.monthly-71e937bc.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-403a065d.js → HEIGHT_GIRLS.zscore.weekly-7da3800d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-b25eac21.js → HEIGHT_GIRLS.zscore.yearly-9a574945.js} +0 -0
- /package/build/esm/{Onboarding-2307d132.js → Onboarding-3dbddc92.js} +0 -0
- /package/build/esm/{Visible-7e357b7b.js → Visible-2f27f11a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-85e55529.js → WEIGHT_BOYS.percentile.monthly-2ca6ec5b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-d326d638.js → WEIGHT_BOYS.percentile.weekly-7c047c1c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-ef207ec3.js → WEIGHT_BOYS.percentile.yearly-c5ce111d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-a2eb57d2.js → WEIGHT_BOYS.zscore.monthly-d3df9f7a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-987d17cd.js → WEIGHT_BOYS.zscore.weekly-25ef8e3c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-f47f4c36.js → WEIGHT_BOYS.zscore.yearly-959a0aae.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-44900e57.js → WEIGHT_GIRLS.percentile.monthly-e642aa1e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-d6c21c0e.js → WEIGHT_GIRLS.percentile.weekly-8b573881.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-3a250262.js → WEIGHT_GIRLS.percentile.yearly-90bd49a3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-bb1d2127.js → WEIGHT_GIRLS.zscore.monthly-10ee963b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-20dca695.js → WEIGHT_GIRLS.zscore.weekly-5bdb44ee.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-1e1678f7.js → WEIGHT_GIRLS.zscore.yearly-f91c3de5.js} +0 -0
- /package/build/esm/{constants-4bf7549b.js → constants-c35cab86.js} +0 -0
- /package/build/esm/{cookieHelper-f7d85b9a.js → cookieHelper-1740b515.js} +0 -0
- /package/build/esm/{dataTransform-cca208b7.js → dataTransform-9e8706e2.js} +0 -0
- /package/build/esm/{index-a8c327ac.js → index-3cf72ebb.js} +0 -0
- /package/build/esm/{index-cb7a9e71.js → index-b4cd26e0.js} +0 -0
- /package/build/esm/{isProduction-da8fbe80.js → isProduction-45b64348.js} +0 -0
- /package/build/esm/{localizeNumberFormat-a1ea2316.js → localizeNumberFormat-7c36d037.js} +0 -0
- /package/build/esm/{normalizeLink-fd0a0c48.js → normalizeLink-7e240aa4.js} +0 -0
- /package/build/esm/{theme-4a65197e.js → theme-ebf14da4.js} +0 -0
- /package/build/esm/{translationsContext-510815bc.js → translationsContext-6b8cfdf2.js} +0 -0
- /package/build/esm/{tslib.es6-2784273b.js → tslib.es6-d64107a2.js} +0 -0
- /package/build/esm/{types-884243bd.js → types-c5300be6.js} +0 -0
- /package/build/esm/{useIsInit-d7a2e686.js → useIsInit-ab1201b0.js} +0 -0
- /package/build/esm/{useOutsideClick-81f3da49.js → useOutsideClick-6dd9fde5.js} +0 -0
- /package/build/esm/{useScrollbarSize-84fef9de.js → useScrollbarSize-ea981370.js} +0 -0
- /package/build/esm/{useUniqueId-96b20fea.js → useUniqueId-761b575c.js} +0 -0
- /package/build/esm/{utils-a8d52811.js → utils-075c98a6.js} +0 -0
- /package/build/{index-64969b71.js → index-e454e7bb.js} +0 -0
- /package/build/{index-578f428a.js → index-ecdc35e9.js} +0 -0
- /package/build/{isProduction-aeb91207.js → isProduction-1dfe1217.js} +0 -0
- /package/build/{localizeNumberFormat-6d6a2769.js → localizeNumberFormat-0c99b761.js} +0 -0
- /package/build/{normalizeLink-b8f6aa59.js → normalizeLink-45d5b572.js} +0 -0
- /package/build/{theme-87a64f5a.js → theme-bb332dc3.js} +0 -0
- /package/build/{translationsContext-8c81face.js → translationsContext-dbc5e3c9.js} +0 -0
- /package/build/{tslib.es6-f142b08c.js → tslib.es6-fb2c8a3b.js} +0 -0
- /package/build/{types-3ae267ac.js → types-cc8d08db.js} +0 -0
- /package/build/{useIsInit-f227bd46.js → useIsInit-068a18ed.js} +0 -0
- /package/build/{useOutsideClick-a8635b7f.js → useOutsideClick-ecbe8937.js} +0 -0
- /package/build/{useScrollbarSize-facbd012.js → useScrollbarSize-f11afdd2.js} +0 -0
- /package/build/{useUniqueId-6ab9fc4a.js → useUniqueId-3f6643e0.js} +0 -0
- /package/build/{utils-61df8468.js → utils-7924b777.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{M as e}from"./utils-
|
|
1
|
+
import{M as e}from"./utils-075c98a6.js";import t from"styled-components";import{t as i}from"./theme-ebf14da4.js";import{E as o}from"./index-d509c56d.js";import a,{useMemo as r,createContext as n,useState as l,useEffect as s,memo as p,useContext as d}from"react";import{u as c}from"./useTranslations-a0c8e5d4.js";import{CommonGAssets as m}from"./gAssets.js";import{a as g,_ as h}from"./tslib.es6-d64107a2.js";import{C as u,b,T as x,E as f,d as y}from"./index-e29b4c2f.js";import{g as v}from"./cookieHelper-1740b515.js";import _ from"slugify";import w from"string-format";import{i as E}from"./isProduction-45b64348.js";import{g as T,a as O,b as A,c as I}from"./routing-ef04541f.js";import L from"dayjs";import $ from"dayjs/plugin/relativeTime";const S=t.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
left: 50%;
|
|
4
4
|
|
|
@@ -402,7 +402,7 @@ import{M as e}from"./utils-a8d52811.js";import t from"styled-components";import{
|
|
|
402
402
|
display: block;
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
|
-
`;var oe="fVk18fq",ae="v8TCvUb",re="mx7T4V3";const ne={myHealth:i.mbColors.toneYellow,myCommunity:i.mbColors.toneBlue,mySaved:i.mbColors.toneGreen},le={helloSites:{myBooking:()=>m.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg"),myCommunity:()=>m.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg"),myFamily:()=>m.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg"),myHealth:()=>m.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg"),mySaved:()=>m.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg"),eCom:()=>m.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")},marryBaby:{mySaved:()=>m.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg"),myCommunity:()=>m.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg"),myHealth:()=>m.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}},se=({type:e,themeName:t,className:i,onClick:o=(()=>{})})=>{const{t:n}=c(),l=r((()=>{var i,o;return(null===(o=null===(i=le[t])||void 0===i?void 0:i[e])||void 0===o?void 0:o.call(i))||""}),[e,t]),s=r((()=>"marryBaby"!==t?"transparent":ne[e]),[e,t]);return a.createElement("div",{onClick:function(){o(e)},className:`${oe} ${i}`},a.createElement("div",{className:re,style:{backgroundColor:s,backgroundImage:`url("${l}")`}}),a.createElement("h3",{className:ae},n(`userProfile.nav.card.${e}`)))},
|
|
405
|
+
`;var oe="fVk18fq",ae="v8TCvUb",re="mx7T4V3";const ne={myHealth:i.mbColors.toneYellow,myCommunity:i.mbColors.toneBlue,mySaved:i.mbColors.toneGreen},le={helloSites:{myBooking:()=>m.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg"),myCommunity:()=>m.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg"),myFamily:()=>m.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg"),myHealth:()=>m.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg"),mySaved:()=>m.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg"),eCom:()=>m.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")},marryBaby:{mySaved:()=>m.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg"),myCommunity:()=>m.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg"),myHealth:()=>m.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}},se=({type:e,themeName:t,className:i,onClick:o=(()=>{})})=>{const{t:n}=c(),l=r((()=>{var i,o;return(null===(o=null===(i=le[t])||void 0===i?void 0:i[e])||void 0===o?void 0:o.call(i))||""}),[e,t]),s=r((()=>"marryBaby"!==t?"transparent":ne[e]),[e,t]);return a.createElement("div",{onClick:function(){o(e)},className:`${oe} ${i}`},a.createElement("div",{className:re,style:{backgroundColor:s,backgroundImage:`url("${l}")`}}),a.createElement("h3",{className:ae},n(`userProfile.nav.card.${e}`)))},pe={COMMUNITIES:"community?website_url={websiteUrl}",MENU_TOPIC:"topic?community_id={communityId}&website_url={websiteUrl}",GET_USER_POSTS:"profile/posts?website_url={websiteUrl}"},de=99,ce=300,me=400,ge=210,he=t.div`
|
|
406
406
|
background-color: white;
|
|
407
407
|
text-align: center;
|
|
408
408
|
.cancle-img {
|
|
@@ -472,7 +472,7 @@ import{M as e}from"./utils-a8d52811.js";import t from"styled-components";import{
|
|
|
472
472
|
* Copyright(c) 2012-2014 Roman Shtylman
|
|
473
473
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
474
474
|
* MIT Licensed
|
|
475
|
-
*/;var be=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},o=(t||{}).decode||ve,a=0;for(;a<e.length;){var r=e.indexOf("=",a);if(-1===r)break;var n=e.indexOf(";",a);if(-1===n)n=e.length;else if(n<r){a=e.lastIndexOf(";",r-1)+1;continue}var l=e.slice(a,r).trim();if(void 0===i[l]){var s=e.slice(r+1,n).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),i[l]=we(s,o)}a=n+1}return i},xe=function(e,t,i){var o=i||{},a=o.encode||_e;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!ye.test(e))throw new TypeError("argument name is invalid");var r=a(t);if(r&&!ye.test(r))throw new TypeError("argument val is invalid");var n=e+"="+r;if(null!=o.maxAge){var l=o.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");n+="; Max-Age="+Math.floor(l)}if(o.domain){if(!ye.test(o.domain))throw new TypeError("option domain is invalid");n+="; Domain="+o.domain}if(o.path){if(!ye.test(o.path))throw new TypeError("option path is invalid");n+="; Path="+o.path}if(o.expires){var s=o.expires;if(!function(e){return"[object Date]"===fe.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");n+="; Expires="+s.toUTCString()}o.httpOnly&&(n+="; HttpOnly");o.secure&&(n+="; Secure");if(o.priority){switch("string"==typeof o.priority?o.priority.toLowerCase():o.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(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.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},fe=Object.prototype.toString,ye=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function ve(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function _e(e){return encodeURIComponent(e)}function we(e,t){try{return t(e)}catch(t){return e}}var Ee={parse:be,serialize:xe};const Te={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}"}},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:"/"}},$e=n({data:Le,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});let Se=Le;const ke=({locale:e="vi-VN",children:t,userInfo:i,router:o,env:r={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:n=(e=>e),pushNotifications:d=(()=>!1)})=>{const[p,c]=l();return Se={userInfo:i,locale:e,togetherUserId:p,router:o,env:r},s((()=>{(null==i?void 0:i.id)&&Ve(Ue(Te.PROFILE,{_locale:e}),"GET").then((e=>{var t;c(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==i?void 0:i.id]),a.createElement($e.Provider,{value:{data:{userInfo:i,locale:e,togetherUserId:p,router:o,env:r},action:{pushNotifications:d,sanitizeFunction:n}}},t)},Re={"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"},De={"vi-VN":"marrybaby.vn"},Pe=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",Ce=e=>{const{env:{isMarryBaby:t}}=Se;return`https://${t?De[e]:Re[e]}`},Ne=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Be=e=>{const{env:{isMarryBaby:t}}=Se;if("undefined"!=typeof window)return window.location.origin;const i="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${i?t?"fe.":"discover.":t?"www.":""}${Re[e]}`},Ue=(e,t,i)=>{let o="";i&&(o=Object.keys(i).map((e=>e+"="+i[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null==Se?void 0:Se.env)||{};let r=w(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:Ce(String(t._locale))}:{}),t));return r+=`${r.includes("?")?"&":"?"}${o}`,a+"api/v1/"+Ne(r)},Ge=(e,t,i)=>{const{discoverBaseApiUrl:o="",discoverBaseProdApiUrl:a=""}=(null==Se?void 0:Se.env)||{};return(!E&&i?a:o)+"wp-json/api/"+Ne(w(e,Object.assign({},t)))},Me=(e,t,i)=>{const{marryBabyApiUrl:o="",marryBabyProdApiUrl:a=""}=(null==Se?void 0:Se.env)||{};return(i&&!E?a:o)+"wp-json/api/"+Ne(w(e,Object.assign({},t)))},He=(e,t)=>{const{careBaseApiUrl:i=""}=(null==Se?void 0:Se.env)||{};return(i||"https://service-health-care.hellohealthgroup.com/")+Ne(w(e,Object.assign({},t)))},ze=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),je=(e,t,i,o=!1)=>g(void 0,void 0,void 0,(function*(){var a,r,n,l;try{const a=yield fetch(o?e:(l=e,encodeURI(l).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},ze(i)),{headers:Object.assign({},null==i?void 0:i.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===(r=null==t?void 0:t.response)||void 0===r?void 0:r.statusText}),(null===(n=null==t?void 0:t.response)||void 0===n?void 0:n.data)||null}return null})),Fe=(e,t="GET",i,o)=>g(void 0,void 0,void 0,(function*(){var a,r,n,l,s,d;try{const l="string"==typeof e?e:e.url,s="string"==typeof e?e:e.backupUrl,d=Ee.parse(o||""),p=d[B]||v(B);if(!p||!p.length)return je(s||l,t,i);try{const e=yield fetch(l,Object.assign(Object.assign({method:t},ze(i)),{headers:Object.assign({Authorization:"Bearer "+p},null==i?void 0:i.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 je(s||l,t,i);if(e)return e}catch(e){return console.log({status:null===(r=null==e?void 0:e.response)||void 0===r?void 0:r.status,statusText:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.statusText}),je(s||l,t,i)}}catch(e){return console.log({status:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.status,statusText:null===(s=null==e?void 0:e.response)||void 0===s?void 0:s.statusText}),(null===(d=null==e?void 0:e.response)||void 0===d?void 0:d.data)||null}return null})),Ve=(e,t,i,o)=>g(void 0,void 0,void 0,(function*(){try{const a=Ee.parse(o||""),r=a[B]||v(B);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},ze(i)),{headers:Object.assign({Authorization:"Bearer "+r},null==i?void 0:i.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null})),Ye=(e,t,i,o)=>g(void 0,void 0,void 0,(function*(){try{const a=Ee.parse(o||""),r=a[U]||v(U);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},ze(i)),{headers:Object.assign({Authorization:"Bearer "+r},null==i?void 0:i.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null}));function Ke(e,t,i){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+i+"$2"):e+a+t+"="+i}const We=(e,t,i="/community")=>{const o=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:i}=Se.env,o=e||window.location.href;return t&&Object.keys(t).map((e=>{Ke(o,e,t[e])})),Ke(o,"source","communities"),i?`${i}?returnUrl=${encodeURIComponent(o.toString())}`:o})(`${a}${i}/on-boarding?return=${encodeURIComponent(o)}`,t)},Xe=(e,t,i,o)=>i&&t?`${i}-${t}`:`${_(e||"",{lower:!0,locale:o||Pe})}-${t}`,qe=({name:e,id:t,locale:i})=>{var o;return`/care/${null===(o=z[i||"vi-VN"])||void 0===o?void 0:o.DOCTOR}/${Xe(e,t)}`},Ze=({name:e,id:t,slug:i,locale:o})=>{var a;return`/care/${null===(a=z[o||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${Xe(e,t,i)}`},Je=a.createContext({}),Qe=e=>{var{children:t}=e,i=h(e,["children"]);const[o,n]=a.useState((()=>i.currentUrl||`https://${"marryBaby"===i.siteType?De[i.locale||"en-PH"]:y[i.locale||"en-PH"]}${"together"===i.projectType?"/community":"ecom"===i.projectType?"/ecom":"care"===i.projectType?"/care":""}/`));s((()=>{const e=()=>{n(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const l=(({locale:e,projectType:t,isMobile:i,siteType:o})=>r((()=>{const a=!(!i&&"profile"===t),r="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===o,n="marryBaby"!==o&&"marryBaby"!==t&&u.includes(e),l="marryBaby"!==t&&"discover"===t&&"marryBaby"!==o&&b.includes(e),s="marryBaby"===t||x.includes(e),d="marryBaby"!==o&&f.includes(e),p="ecom"===t;let c=T(e,"marryBaby"===o);"undefined"!=typeof window&&(c.includes("//id.")&&(c=c.replace("id.","")),c.includes("//staging-id.")&&(c=c.replace("staging-id.","discover.")));return{enableProfileNavigatorMenu:a,enableSearchBar:r,enableNavCare:n,enableNavCareBooking:l,enableNavTogether:s,enableNavEcom:d,enableProfileEcom:p,enableProfileMyHealth:!0,enableNavDiscover:!0,enableNavHealthTools:!0,enableProfileMySaved:!0,statics:{HOME_PAGE_URL:c,CARE_URL_FE:`${c}/care`,TOGETHER_URL_FE:`${c}/community`,SSO_URL:O(e,"marryBaby"===o),TOGETHER_API:A(),DISCOVER_API:I(e)}}}),[e,t,i]))({locale:i.locale,projectType:i.projectType,isMobile:i.isMobile,siteType:i.siteType});return a.createElement(Je.Provider,{value:Object.assign(Object.assign({},i),{configs:Object.assign(Object.assign({},l),i.configs),currentUrl:i.currentUrl||o})},t)},et=t.div`
|
|
475
|
+
*/;var be=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},o=(t||{}).decode||ve,a=0;for(;a<e.length;){var r=e.indexOf("=",a);if(-1===r)break;var n=e.indexOf(";",a);if(-1===n)n=e.length;else if(n<r){a=e.lastIndexOf(";",r-1)+1;continue}var l=e.slice(a,r).trim();if(void 0===i[l]){var s=e.slice(r+1,n).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),i[l]=we(s,o)}a=n+1}return i},xe=function(e,t,i){var o=i||{},a=o.encode||_e;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!ye.test(e))throw new TypeError("argument name is invalid");var r=a(t);if(r&&!ye.test(r))throw new TypeError("argument val is invalid");var n=e+"="+r;if(null!=o.maxAge){var l=o.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");n+="; Max-Age="+Math.floor(l)}if(o.domain){if(!ye.test(o.domain))throw new TypeError("option domain is invalid");n+="; Domain="+o.domain}if(o.path){if(!ye.test(o.path))throw new TypeError("option path is invalid");n+="; Path="+o.path}if(o.expires){var s=o.expires;if(!function(e){return"[object Date]"===fe.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");n+="; Expires="+s.toUTCString()}o.httpOnly&&(n+="; HttpOnly");o.secure&&(n+="; Secure");if(o.priority){switch("string"==typeof o.priority?o.priority.toLowerCase():o.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(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.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},fe=Object.prototype.toString,ye=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function ve(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function _e(e){return encodeURIComponent(e)}function we(e,t){try{return t(e)}catch(t){return e}}var Ee={parse:be,serialize:xe};const Te={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}"}},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:"/"}},$e=n({data:Le,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});let Se=Le;const ke=({locale:e="vi-VN",children:t,userInfo:i,router:o,env:r={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:n=(e=>e),pushNotifications:p=(()=>!1)})=>{const[d,c]=l();return Se={userInfo:i,locale:e,togetherUserId:d,router:o,env:r},s((()=>{(null==i?void 0:i.id)&&Ve(Ue(Te.PROFILE,{_locale:e}),"GET").then((e=>{var t;c(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==i?void 0:i.id]),a.createElement($e.Provider,{value:{data:{userInfo:i,locale:e,togetherUserId:d,router:o,env:r},action:{pushNotifications:p,sanitizeFunction:n}}},t)},Re={"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"},De={"vi-VN":"marrybaby.vn"},Pe=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",Ce=e=>{const{env:{isMarryBaby:t}}=Se;return`https://${t?De[e]:Re[e]}`},Ne=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Be=e=>{const{env:{isMarryBaby:t}}=Se;if("undefined"!=typeof window)return window.location.origin;const i="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${i?t?"fe.":"discover.":t?"www.":""}${Re[e]}`},Ue=(e,t,i)=>{let o="";i&&(o=Object.keys(i).map((e=>e+"="+i[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null==Se?void 0:Se.env)||{};let r=w(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:Ce(String(t._locale))}:{}),t));return r+=`${r.includes("?")?"&":"?"}${o}`,a+"api/v1/"+Ne(r)},Ge=(e,t,i)=>{const{discoverBaseApiUrl:o="",discoverBaseProdApiUrl:a=""}=(null==Se?void 0:Se.env)||{};return(!E&&i?a:o)+"wp-json/api/"+Ne(w(e,Object.assign({},t)))},Me=(e,t,i)=>{const{marryBabyApiUrl:o="",marryBabyProdApiUrl:a=""}=(null==Se?void 0:Se.env)||{};return(i&&!E?a:o)+"wp-json/api/"+Ne(w(e,Object.assign({},t)))},He=(e,t)=>{const{careBaseApiUrl:i=""}=(null==Se?void 0:Se.env)||{};return(i||"https://service-health-care.hellohealthgroup.com/")+Ne(w(e,Object.assign({},t)))},ze=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),je=(e,t,i,o=!1)=>g(void 0,void 0,void 0,(function*(){var a,r,n,l;try{const a=yield fetch(o?e:(l=e,encodeURI(l).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},ze(i)),{headers:Object.assign({},null==i?void 0:i.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===(r=null==t?void 0:t.response)||void 0===r?void 0:r.statusText}),(null===(n=null==t?void 0:t.response)||void 0===n?void 0:n.data)||null}return null})),Fe=(e,t="GET",i,o)=>g(void 0,void 0,void 0,(function*(){var a,r,n,l,s,p;try{const l="string"==typeof e?e:e.url,s="string"==typeof e?e:e.backupUrl,p=Ee.parse(o||""),d=p[B]||v(B);if(!d||!d.length)return je(s||l,t,i);try{const e=yield fetch(l,Object.assign(Object.assign({method:t},ze(i)),{headers:Object.assign({Authorization:"Bearer "+d},null==i?void 0:i.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 je(s||l,t,i);if(e)return e}catch(e){return console.log({status:null===(r=null==e?void 0:e.response)||void 0===r?void 0:r.status,statusText:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.statusText}),je(s||l,t,i)}}catch(e){return console.log({status:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.status,statusText:null===(s=null==e?void 0:e.response)||void 0===s?void 0:s.statusText}),(null===(p=null==e?void 0:e.response)||void 0===p?void 0:p.data)||null}return null})),Ve=(e,t,i,o)=>g(void 0,void 0,void 0,(function*(){try{const a=Ee.parse(o||""),r=a[B]||v(B);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},ze(i)),{headers:Object.assign({Authorization:"Bearer "+r},null==i?void 0:i.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null})),Ye=(e,t,i,o)=>g(void 0,void 0,void 0,(function*(){try{const a=Ee.parse(o||""),r=a[U]||v(U);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},ze(i)),{headers:Object.assign({Authorization:"Bearer "+r},null==i?void 0:i.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null}));function Ke(e,t,i){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+i+"$2"):e+a+t+"="+i}const We=(e,t,i="/community")=>{const o=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:i}=Se.env,o=e||window.location.href;return t&&Object.keys(t).map((e=>{Ke(o,e,t[e])})),Ke(o,"source","communities"),i?`${i}?returnUrl=${encodeURIComponent(o.toString())}`:o})(`${a}${i}/on-boarding?return=${encodeURIComponent(o)}`,t)},Xe=(e,t,i,o)=>i&&t?`${i}-${t}`:`${_(e||"",{lower:!0,locale:o||Pe})}-${t}`,qe=({name:e,id:t,locale:i})=>{var o;return`/care/${null===(o=z[i||"vi-VN"])||void 0===o?void 0:o.DOCTOR}/${Xe(e,t)}`},Ze=({name:e,id:t,slug:i,locale:o})=>{var a;return`/care/${null===(a=z[o||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${Xe(e,t,i)}`},Je=a.createContext({}),Qe=e=>{var{children:t}=e,i=h(e,["children"]);const[o,n]=a.useState((()=>i.currentUrl||`https://${"marryBaby"===i.siteType?De[i.locale||"en-PH"]:y[i.locale||"en-PH"]}${"together"===i.projectType?"/community":"ecom"===i.projectType?"/ecom":"care"===i.projectType?"/care":""}/`));s((()=>{const e=()=>{n(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const l=(({locale:e,projectType:t,isMobile:i,siteType:o})=>r((()=>{const a=!(!i&&"profile"===t),r="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===o,n="marryBaby"!==o&&"marryBaby"!==t&&u.includes(e),l="marryBaby"!==t&&"discover"===t&&"marryBaby"!==o&&b.includes(e),s="marryBaby"===t||x.includes(e),p="marryBaby"!==o&&f.includes(e),d="ecom"===t;let c=T(e,"marryBaby"===o);"undefined"!=typeof window&&(c.includes("//id.")&&(c=c.replace("id.","")),c.includes("//staging-id.")&&(c=c.replace("staging-id.","discover.")));return{enableProfileNavigatorMenu:a,enableSearchBar:r,enableNavCare:n,enableNavCareBooking:l,enableNavTogether:s,enableNavEcom:p,enableProfileEcom:d,enableProfileMyHealth:!0,enableNavDiscover:!0,enableNavHealthTools:!0,enableProfileMySaved:!0,statics:{HOME_PAGE_URL:c,CARE_URL_FE:`${c}/care`,TOGETHER_URL_FE:`${c}/community`,SSO_URL:O(e,"marryBaby"===o),TOGETHER_API:A(),DISCOVER_API:I(e)}}}),[e,t,i]))({locale:i.locale,projectType:i.projectType,isMobile:i.isMobile,siteType:i.siteType});return a.createElement(Je.Provider,{value:Object.assign(Object.assign({},i),{configs:Object.assign(Object.assign({},l),i.configs),currentUrl:i.currentUrl||o})},t)},et=t.div`
|
|
476
476
|
position: fixed;
|
|
477
477
|
z-index: 201;
|
|
478
478
|
top: calc(100% + 1px); // border 1px
|
|
@@ -763,7 +763,7 @@ import{M as e}from"./utils-a8d52811.js";import t from"styled-components";import{
|
|
|
763
763
|
width: 0;
|
|
764
764
|
display: none;
|
|
765
765
|
}
|
|
766
|
-
`,ot=
|
|
766
|
+
`,ot=p((()=>a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9683 19.7465 14.8938 19.0204 16.4118 17.8061L20.3169 21.7112C20.702 22.0963 21.3262 22.0963 21.7112 21.7112C22.0963 21.3262 22.0963 20.702 21.7112 20.3169L17.8061 16.4118C19.0204 14.8938 19.7465 12.9683 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#8C8C8C"})))),at=t.div`
|
|
767
767
|
padding-right: 1rem;
|
|
768
768
|
margin-top: 10px;
|
|
769
769
|
background: #ffffff;
|
|
@@ -846,11 +846,11 @@ import{M as e}from"./utils-a8d52811.js";import t from"styled-components";import{
|
|
|
846
846
|
&[data-theme='marryBaby'] {
|
|
847
847
|
color: ${e=>e.theme.mbColors.pink};
|
|
848
848
|
}
|
|
849
|
-
`,
|
|
849
|
+
`,pt=t.div`
|
|
850
850
|
display: flex;
|
|
851
851
|
align-items: center;
|
|
852
852
|
margin-left: 10px;
|
|
853
|
-
`,
|
|
853
|
+
`,dt=t.a`
|
|
854
854
|
border: 1px solid ${e=>e.theme.colors.primaryBase};
|
|
855
855
|
&[data-theme='marryBaby'] {
|
|
856
856
|
border: 1px solid ${e=>e.theme.mbColors.pink};
|
|
@@ -1257,7 +1257,7 @@ import{M as e}from"./utils-a8d52811.js";import t from"styled-components";import{
|
|
|
1257
1257
|
background-color: ${e=>e.theme.mbColors.pink};
|
|
1258
1258
|
}
|
|
1259
1259
|
}
|
|
1260
|
-
`,Pt=e=>{var{className:t,isMarryBaby:i,style:o,avatar:r,username:n,size:
|
|
1260
|
+
`,Pt=e=>{var{className:t,isMarryBaby:i,style:o,avatar:r,username:n,size:p}=e,c=h(e,["className","isMarryBaby","style","avatar","username","size"]);const{data:{env:{isMarryBaby:m}}}=d($e),g="boolean"==typeof i?i:m,[u,b]=l(!1);return s((()=>{const e=new Image;e.onerror=()=>{b(!0)},e.src=r}),[]),a.createElement(Dt,Object.assign({"data-is-marrybaby":g,className:t,style:o,size:p},c),r&&!u?a.createElement("img",{loading:"lazy",src:r,className:"avatar",alt:"avatar",onError:()=>{b(!0)}}):a.createElement("div",{className:"avatar avatar-default"},n&&(null==n?void 0:n.length)>0?n[0].toUpperCase():"A"))},Ct=t.div`
|
|
1261
1261
|
padding: 5px;
|
|
1262
1262
|
flex: 1;
|
|
1263
1263
|
`,Nt=t.img`
|
|
@@ -1350,7 +1350,7 @@ import{M as e}from"./utils-a8d52811.js";import t from"styled-components";import{
|
|
|
1350
1350
|
display: flex;
|
|
1351
1351
|
gap: 4px;
|
|
1352
1352
|
flex-direction: column;
|
|
1353
|
-
`;L.extend($);const Yt=({post:e,index:t=0})=>{var i,o,r,n,l,s,
|
|
1353
|
+
`;L.extend($);const Yt=({post:e,index:t=0})=>{var i,o,r,n,l,s,p;const{siteType:c,configs:{statics:m}}=d(Je);if(!e)return null;const g=[m.TOGETHER_URL_FE,null===(i=e.community)||void 0===i?void 0:i.slug].join("/"),h=[g,e.slug].join("/"),u=e.createdAt,b=u?isNaN(new Date(u).getTime())?null:new Date(u):null,x=b?L(b).toNow(!0):u;return a.createElement(Ht,{href:h,"data-event-category":"Hamburger Navigation","data-event-action":`Together Click ${t+1}`,"data-event-label":h},a.createElement(Ct,null,a.createElement(zt,null,a.createElement(Pt,{avatar:null===(o=e.author)||void 0===o?void 0:o.avatar,username:(null===(r=e.author)||void 0===r?void 0:r.name)||(null===(n=e.author)||void 0===n?void 0:n.username)}),a.createElement(Vt,null,a.createElement(Bt,{"data-theme":c},null===(l=e.author)||void 0===l?void 0:l.name),a.createElement(Ft,null,a.createElement(Ut,{"data-event-category":"Hamburger Navigation","data-event-action":`Topic Click ${t+1}`,"data-event-label":g,onClick:e=>{e.preventDefault(),location.href=g},"data-theme":c},null===(s=e.community)||void 0===s?void 0:s.name),a.createElement(Mt,null,"•"),a.createElement(Gt,{"data-theme":c},x)))),a.createElement(jt,null,e.title)),!!(null===(p=e.photos)||void 0===p?void 0:p.length)&&a.createElement(Nt,{loading:"lazy",src:e.photos[0]}))};t.div`
|
|
1354
1354
|
&[data-is-display='false'] {
|
|
1355
1355
|
display: none;
|
|
1356
1356
|
}
|
|
@@ -1707,7 +1707,7 @@ import{M as e}from"./utils-a8d52811.js";import t from"styled-components";import{
|
|
|
1707
1707
|
}
|
|
1708
1708
|
|
|
1709
1709
|
&[data-header-type='home'] {
|
|
1710
|
-
z-index: ${
|
|
1710
|
+
z-index: ${de};
|
|
1711
1711
|
}
|
|
1712
1712
|
|
|
1713
1713
|
&[data-header-type='popup'] {
|
|
@@ -1740,7 +1740,7 @@ import{M as e}from"./utils-a8d52811.js";import t from"styled-components";import{
|
|
|
1740
1740
|
right: 16px;
|
|
1741
1741
|
}
|
|
1742
1742
|
}
|
|
1743
|
-
`,
|
|
1743
|
+
`,pi=t.div`
|
|
1744
1744
|
display: flex;
|
|
1745
1745
|
height: 100%;
|
|
1746
1746
|
align-items: center;
|
|
@@ -1767,7 +1767,7 @@ import{M as e}from"./utils-a8d52811.js";import t from"styled-components";import{
|
|
|
1767
1767
|
max-width: 1064px;
|
|
1768
1768
|
}
|
|
1769
1769
|
}
|
|
1770
|
-
`,
|
|
1770
|
+
`,di=t.div`
|
|
1771
1771
|
display: flex;
|
|
1772
1772
|
align-items: center;
|
|
1773
1773
|
height: 100%;
|
|
@@ -1871,4 +1871,4 @@ import{M as e}from"./utils-a8d52811.js";import t from"styled-components";import{
|
|
|
1871
1871
|
font-weight: 700;
|
|
1872
1872
|
line-height: 22px;
|
|
1873
1873
|
text-decoration: none;
|
|
1874
|
-
`;export{Yt as $,mt as A,gt as B,ft as C,Le as D,ut as E,bt as F,Se as G,C as H,ht as I,vt as J,Tt as K,Et as L,wt as M,se as N,_t as O,Ot as P,At as Q,It as R,V as S,$e as T,Pt as U,ct as V,$t as W,St as X,kt as Y,Lt as Z,Rt as _,ke as a,Wt as a0,Qt as a1,Zt as a2,Jt as a3,qt as a4,Xt as a5,ei as a6,ri as a7,ti as a8,li as a9,Be as aA,He as aB,Oe as aC,Re as aD,Ze as aE,qe as aF,Ge as aG,Ae as aH,Ie as aI,Ye as aJ,Ve as aK,H as aL,D as aM,M as aN,Me as aO,Fe as aP,ni as aa,oi as ab,ai as ac,ii as ad,Kt as ae,et as af,tt as ag,it as ah,si as ai,
|
|
1874
|
+
`;export{Yt as $,mt as A,gt as B,ft as C,Le as D,ut as E,bt as F,Se as G,C as H,ht as I,vt as J,Tt as K,Et as L,wt as M,se as N,_t as O,Ot as P,At as Q,It as R,V as S,$e as T,Pt as U,ct as V,$t as W,St as X,kt as Y,Lt as Z,Rt as _,ke as a,Wt as a0,Qt as a1,Zt as a2,Jt as a3,qt as a4,Xt as a5,ei as a6,ri as a7,ti as a8,li as a9,Be as aA,He as aB,Oe as aC,Re as aD,Ze as aE,qe as aF,Ge as aG,Ae as aH,Ie as aI,Ye as aJ,Ve as aK,H as aL,D as aM,M as aN,Me as aO,Fe as aP,ni as aa,oi as ab,ai as ac,ii as ad,Kt as ae,et as af,tt as ag,it as ah,si as ai,pi as aj,di as ak,ci as al,mi as am,gi as an,hi as ao,Qe as ap,ui as aq,G as ar,S as as,k as at,B as au,We as av,je as aw,Ue as ax,Te as ay,P as az,R as b,j as c,Y as d,K as e,W as f,X as g,F as h,q as i,J as j,pe as k,he as l,ue as m,te as n,ie as o,ee as p,Je as q,ot as r,at as s,nt as t,rt as u,lt as v,dt as w,st as x,pt as y,yt as z};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-d64107a2.js";import t,{useMemo as o}from"react";import{L as n}from"./Onboarding-3dbddc92.js";import{CommonGAssets as i}from"./gAssets.js";import{t as a}from"./theme-ebf14da4.js";import r from"styled-components";import{T as s}from"./index-ce03de57.js";import{C as l}from"./index-3986987a.js";const c=r.div`
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
overflow: hidden;
|
|
4
4
|
width: ${e=>e.size}px;
|
|
@@ -8,13 +8,13 @@ import{_ as e}from"./tslib.es6-2784273b.js";import t,{useMemo as o}from"react";i
|
|
|
8
8
|
justify-content: center;
|
|
9
9
|
|
|
10
10
|
border: 1px solid #e4e8ec;
|
|
11
|
-
background-color: ${e=>e.backgroundColor||
|
|
11
|
+
background-color: ${e=>e.backgroundColor||a.colors.white};
|
|
12
12
|
border-radius: ${e=>e.borderRadius||"50%"};
|
|
13
13
|
& > * {
|
|
14
14
|
width: ${e=>e.iconSize}px;
|
|
15
15
|
height: ${e=>e.iconSize}px;
|
|
16
16
|
}
|
|
17
|
-
`,d=
|
|
17
|
+
`,d=r.div`
|
|
18
18
|
display: inline-block;
|
|
19
19
|
height: 108px;
|
|
20
20
|
background-color: ${e=>e.theme.colors.white};
|
|
@@ -36,14 +36,14 @@ import{_ as e}from"./tslib.es6-2784273b.js";import t,{useMemo as o}from"react";i
|
|
|
36
36
|
& > * {
|
|
37
37
|
pointer-events: none;
|
|
38
38
|
}
|
|
39
|
-
`,p=[n.Myanmar,n.Taiwan],m=
|
|
39
|
+
`,p=[n.Myanmar,n.Taiwan],m=r((n=>{var{icon:r,name:l,className:m,locale:g="en-PH",dataEventCategory:b,dataEventAction:x,dataEventLabel:h,onSelect:v}=n,u=e(n,["icon","name","className","locale","dataEventCategory","dataEventAction","dataEventLabel","onSelect"]);const f=o((()=>null==m?void 0:m.includes("selected-week-pill")),[m]);return t.createElement(d,Object.assign({onClick:v,className:m?"week-pill".concat(" non-pointer-event-child ",m):"week-pill non-pointer-event-child","data-event-category":b,"data-event-action":x,"data-event-label":h},u),t.createElement(c,{size:64,iconSize:40,backgroundColor:a.colors.white},t.createElement("img",{src:r||i.getAssetPath("week_default.png"),alt:""})),f?t.createElement(s,Object.assign({type:"semiBold",size:"n1",color:a.colors.gray800},p.includes(g)&&{style:{fontSize:"10px"}}),l):t.createElement(s,Object.assign({size:"n1",color:a.colors.gray600},p.includes(g)&&{style:{fontSize:"10px"}}),l))}))`
|
|
40
40
|
box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);
|
|
41
|
-
`,g=
|
|
41
|
+
`,g=r(l.Slide)`
|
|
42
42
|
cursor: pointer;
|
|
43
43
|
> div * {
|
|
44
44
|
pointer-events: none;
|
|
45
45
|
}
|
|
46
|
-
`,b=
|
|
46
|
+
`,b=r(l)`
|
|
47
47
|
.centerred-pill-wrapper {
|
|
48
48
|
padding: 16px 0;
|
|
49
49
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as t}from"./tslib.es6-
|
|
1
|
+
import{_ as t}from"./tslib.es6-d64107a2.js";import e from"react";import i from"styled-components";const p=i((i=>{var{type:p}=i,n=t(i,["type"]);return e.createElement(p,n)}))`
|
|
2
2
|
color: var(--text-color, ${t=>t.theme.mbColors.dark});
|
|
3
3
|
font-family: Krub;
|
|
4
4
|
font-weight: 600;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"dayjs";import"./screenSizeContext-
|
|
1
|
+
import"dayjs";import"./screenSizeContext-97c1867c.js";import"react";import t from"styled-components";import{t as o}from"./theme-ebf14da4.js";import"./index-e29b4c2f.js";import{M as i}from"./utils-075c98a6.js";import"./isProduction-45b64348.js";import"./Onboarding-3dbddc92.js";import"./gAssets.js";import{b as p}from"./index-27a52bbc.js";const r=t.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
inset: 0;
|
|
4
4
|
z-index: 1000;
|
|
@@ -60,7 +60,7 @@ import"dayjs";import"./screenSizeContext-6102c8a8.js";import"react";import t fro
|
|
|
60
60
|
height: 100vh;
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
`,
|
|
63
|
+
`,b=t(p)`
|
|
64
64
|
.phone-input {
|
|
65
65
|
width: 100%;
|
|
66
66
|
margin-bottom: 32px;
|
|
@@ -77,7 +77,7 @@ import"dayjs";import"./screenSizeContext-6102c8a8.js";import"react";import t fro
|
|
|
77
77
|
border-radius: 0 4px 4px 0;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
`,
|
|
80
|
+
`,x=t.div`
|
|
81
81
|
.phone-input {
|
|
82
82
|
width: 100%;
|
|
83
83
|
margin-bottom: 32px;
|
|
@@ -94,7 +94,7 @@ import"dayjs";import"./screenSizeContext-6102c8a8.js";import"react";import t fro
|
|
|
94
94
|
border-radius: 0 4px 4px 0;
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
`,
|
|
97
|
+
`,c=t(p)`
|
|
98
98
|
.otp-input {
|
|
99
99
|
margin-bottom: 36px;
|
|
100
100
|
${i.mbDown} {
|
|
@@ -127,4 +127,4 @@ import"dayjs";import"./screenSizeContext-6102c8a8.js";import"react";import t fro
|
|
|
127
127
|
margin-bottom: 3px;
|
|
128
128
|
margin-left: 3px;
|
|
129
129
|
}
|
|
130
|
-
`;export{
|
|
130
|
+
`;export{x as S,b as a,c as b,r as c,n as d,a as e,e as f,d as g,m as h,s as i};
|