@hhgtech/hhg-components 1.27.131 → 1.27.133
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/{Onboarding-c8bb506e.js → Onboarding-b1d559e7.js} +1 -1
- package/build/babyGrowth.js +2 -2
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-28cc133f.js → core-c17c06fa.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/{Onboarding-714707dc.js → Onboarding-fd579f72.js} +1 -1
- package/build/esm/babyGrowth.js +2 -2
- 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-1fe9e0e1.js → core-751de8a0.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-7b5571b2.js +1 -0
- package/build/esm/{getSocialList-5f18bc48.js → getSocialList-7b4c63b0.js} +1 -1
- 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-0007c24c.js +1 -0
- package/build/esm/{index-7606cde1.js → index-2d562f92.js} +3 -3
- package/build/esm/{index-5d46c5eb.js → index-2e2b0db2.js} +3 -3
- package/build/esm/index-499f276f.js +1 -0
- package/build/esm/{index-956c9363.js → index-739bb5e8.js} +1 -1
- package/build/esm/{index-400700a4.js → index-777eabad.js} +1 -1
- package/build/esm/{index-6cb4ad81.js → index-7e6ef4fe.js} +1 -1
- package/build/esm/{index-a1b1ce42.js → index-8fd63502.js} +1 -1
- package/build/esm/{index-dc2bb732.js → index-9ff731cc.js} +1 -1
- package/build/esm/{index-3bdb350a.js → index-a2534c7c.js} +1 -1
- package/build/esm/{index-5c5071de.js → index-b1d38b58.js} +1 -1
- package/build/esm/{index-d6fb058a.js → index-ba4ada7c.js} +1 -1
- package/build/esm/{index-6f32aca3.js → index-ba50e0db.js} +1 -1
- package/build/esm/{index-b26a3e2c.js → index-bb913b1c.js} +1 -1
- package/build/esm/{index-0c146277.js → index-cc1aff02.js} +1 -1
- package/build/esm/index-cff1d249.js +1 -0
- package/build/esm/{index-d34eb108.js → index-d40900aa.js} +1 -1
- package/build/esm/{index-d3315581.js → index-efc99972.js} +6 -6
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-ffc8460b.js → index.styled-39a47f05.js} +1 -1
- package/build/esm/{index.styles-1a0b666d.js → index.styles-e345cd05.js} +1 -1
- package/build/esm/interfaces/types/BabyGrowth.d.ts +4 -4
- 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/onboardingV2.js +1 -1
- package/build/esm/pwg.js +3 -3
- package/build/esm/{routing-16d0a1ac.js → routing-351976df.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{types-6729b4d5.js → types-1a608206.js} +2 -2
- package/build/esm/{types-eb8d5e73.js → types-ef0b0b06.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-59deb479.js → useCategory-07fae2b9.js} +1 -1
- package/build/esm/useHealthToolCache-fb9195d3.js +1 -0
- package/build/esm/{useRafState-df8fc032.js → useRafState-76de05f2.js} +1 -1
- package/build/esm/{useTranslations-d4fe7335.js → useTranslations-10e9f360.js} +1 -1
- package/build/esm/{utils-1662dd17.js → utils-0f296d7f.js} +1 -1
- package/build/esm/vaccination.js +11 -11
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-15091d2d.js → getDynamicHealthTool-51439008.js} +1 -1
- package/build/{getSocialList-9db85323.js → getSocialList-f8eaad9b.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-e148b00a.js → index-195b5014.js} +1 -1
- package/build/{index-5c6a38b5.js → index-2fe1dfe5.js} +4 -4
- package/build/{index-b2074851.js → index-3ade7964.js} +1 -1
- package/build/{index-0ef5f1eb.js → index-3eb8ea9e.js} +1 -1
- package/build/{index-0466645b.js → index-41a28d6b.js} +1 -1
- package/build/{index-d20cbf30.js → index-4b6fc508.js} +1 -1
- package/build/{index-de17954f.js → index-5c19c607.js} +1 -1
- package/build/{index-afc90142.js → index-781b5c02.js} +1 -1
- package/build/{index-7e2d4b5f.js → index-81deb983.js} +1 -1
- package/build/index-8f601a7e.js +1 -0
- package/build/{index-a92ea0bf.js → index-90194f1f.js} +1 -1
- package/build/{index-bd5f38af.js → index-ae441a45.js} +2 -2
- package/build/{index-ee69e637.js → index-b2c74982.js} +1 -1
- package/build/{index-5e4d7657.js → index-b736e1ed.js} +1 -1
- package/build/{index-bc5e8db6.js → index-b8645633.js} +1 -1
- package/build/{index-e9a2e84e.js → index-bffe21f2.js} +3 -3
- package/build/index-e64aa768.js +1 -0
- package/build/{index-22f8ba37.js → index-fb7fe95d.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-f95e4dda.js → index.styled-a22002f5.js} +1 -1
- package/build/{index.styles-cc0d6867.js → index.styles-7e65e8b3.js} +1 -1
- package/build/interfaces/types/BabyGrowth.d.ts +4 -4
- 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/onboardingV2.js +1 -1
- package/build/pwg.js +1 -1
- package/build/{routing-c0fa0910.js → routing-c79a1161.js} +1 -1
- package/build/together.js +1 -1
- package/build/{types-ccd5cdf4.js → types-44e9d732.js} +2 -2
- package/build/{types-6a963910.js → types-7a936692.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useCategory-ed52e9c5.js → useCategory-bf65c1d4.js} +1 -1
- package/build/{useHealthToolCache-68af9eaa.js → useHealthToolCache-f54a0e23.js} +1 -1
- package/build/{useRafState-513fce0d.js → useRafState-d0b3c83d.js} +1 -1
- package/build/{useTranslations-fb9c16a7.js → useTranslations-548041ba.js} +1 -1
- package/build/{utils-e77b305b.js → utils-ae95453a.js} +1 -1
- package/build/vaccination.js +5 -5
- package/package.json +1 -1
- package/build/esm/getDynamicHealthTool-23dcf075.js +0 -1
- package/build/esm/index-8e39b4c0.js +0 -1
- package/build/esm/index-b6ef09c4.js +0 -1
- package/build/esm/index-c405b16d.js +0 -1
- package/build/esm/useHealthToolCache-0321fd3a.js +0 -1
- package/build/index-74c19995.js +0 -1
- package/build/index-fa46c3de.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-2b1a5ae8.js → BMI_BOYS.percentile.monthly-d3476448.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-800c4760.js → BMI_BOYS.percentile.weekly-b2869713.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-4d7d6b94.js → BMI_BOYS.percentile.yearly-0cf5ddcd.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-7e9e1370.js → BMI_BOYS.zscore.monthly-c4c943b7.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-69f6ed87.js → BMI_BOYS.zscore.weekly-ab4785f0.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-988fa59f.js → BMI_BOYS.zscore.yearly-0622848a.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-3f883c5a.js → BMI_GIRLS.percentile.monthly-a6c23ca8.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-5b579719.js → BMI_GIRLS.percentile.weekly-7fa7d98e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-7104f2c2.js → BMI_GIRLS.percentile.yearly-d08140fe.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-f80e898b.js → BMI_GIRLS.zscore.monthly-abe8a404.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-52272146.js → BMI_GIRLS.zscore.weekly-d8ff3087.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-9d155790.js → BMI_GIRLS.zscore.yearly-7c1f0a47.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-08c6b385.js → HEAD CIRCUM_BOYS.percentile.monthly-1a2ccdbe.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-76a3b1b9.js → HEAD CIRCUM_BOYS.percentile.weekly-556d9756.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-e7343880.js → HEAD CIRCUM_BOYS.percentile.yearly-934846ef.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-1607b14d.js → HEAD CIRCUM_BOYS.zscore.monthly-b1830af8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-e33ad04b.js → HEAD CIRCUM_BOYS.zscore.weekly-0d8c4db0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-a920c997.js → HEAD CIRCUM_BOYS.zscore.yearly-13d2a05d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-cb1168be.js → HEAD CIRCUM_GIRLS.percentile.monthly-1494d067.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-ee9145e4.js → HEAD CIRCUM_GIRLS.percentile.weekly-8495fb92.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-b1c1a733.js → HEAD CIRCUM_GIRLS.percentile.yearly-dedf8639.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-158ef89c.js → HEAD CIRCUM_GIRLS.zscore.monthly-57b2f684.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-db58ea50.js → HEAD CIRCUM_GIRLS.zscore.weekly-8bf235ac.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-60df52d2.js → HEAD CIRCUM_GIRLS.zscore.yearly-33407c58.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-6b3d0569.js → HEIGHT_BOYS.percentile.monthly-fcb2ad58.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-280180c9.js → HEIGHT_BOYS.percentile.weekly-9e4ab926.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-39b53203.js → HEIGHT_BOYS.percentile.yearly-5d81ff55.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-bc3251cc.js → HEIGHT_BOYS.zscore.monthly-d9307ca1.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-213b19c0.js → HEIGHT_BOYS.zscore.weekly-bbd07e44.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-3fe5f7b6.js → HEIGHT_BOYS.zscore.yearly-4020447e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-706cfe46.js → HEIGHT_GIRLS.percentile.monthly-8af4d78a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-6fb91b43.js → HEIGHT_GIRLS.percentile.weekly-965e6633.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-24c48777.js → HEIGHT_GIRLS.percentile.yearly-a47f4c9a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-58960f49.js → HEIGHT_GIRLS.zscore.monthly-729a8bb5.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-a99939b1.js → HEIGHT_GIRLS.zscore.weekly-f94a5348.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-1a7701a6.js → HEIGHT_GIRLS.zscore.yearly-a9ab73f8.js} +0 -0
- /package/build/{Visible-ea7438c2.js → Visible-5628232f.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-4ad32bdc.js → WEIGHT_BOYS.percentile.monthly-3872ff0c.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-8d74c1e2.js → WEIGHT_BOYS.percentile.weekly-98caba45.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-4a734d3b.js → WEIGHT_BOYS.percentile.yearly-f5726dec.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-0e92e232.js → WEIGHT_BOYS.zscore.monthly-78907fac.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-21bfd25e.js → WEIGHT_BOYS.zscore.weekly-87742630.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-0928ee37.js → WEIGHT_BOYS.zscore.yearly-6c42a27c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-fd5cdfcc.js → WEIGHT_GIRLS.percentile.monthly-737cdae7.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-d6b27040.js → WEIGHT_GIRLS.percentile.weekly-9b337ca5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-65c1013d.js → WEIGHT_GIRLS.percentile.yearly-c3f0bf40.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-a6563a93.js → WEIGHT_GIRLS.zscore.monthly-30d18d7b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-73c42eee.js → WEIGHT_GIRLS.zscore.weekly-e62e35bc.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-f27bace0.js → WEIGHT_GIRLS.zscore.yearly-68025da5.js} +0 -0
- /package/build/{constants-8ebfa9cc.js → constants-747308e3.js} +0 -0
- /package/build/{cookieHelper-d26a5e75.js → cookieHelper-84a6a64e.js} +0 -0
- /package/build/{dataTransform-a930593d.js → dataTransform-38950674.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-a3c3f842.js → BMI_BOYS.percentile.monthly-a41b0df5.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-5a76a7bd.js → BMI_BOYS.percentile.weekly-5cb93233.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-42f96876.js → BMI_BOYS.percentile.yearly-7acab009.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-de3cecd1.js → BMI_BOYS.zscore.monthly-06fc44ed.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-29cf96ac.js → BMI_BOYS.zscore.weekly-3b078181.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-168bb119.js → BMI_BOYS.zscore.yearly-7635211d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-a2058343.js → BMI_GIRLS.percentile.monthly-55339604.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-21dcc807.js → BMI_GIRLS.percentile.weekly-e2611fc7.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-6780d86b.js → BMI_GIRLS.percentile.yearly-329b3569.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-5f00f5ba.js → BMI_GIRLS.zscore.monthly-3b1a5c93.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-4343ad0d.js → BMI_GIRLS.zscore.weekly-8378decd.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-a39ff00d.js → BMI_GIRLS.zscore.yearly-52cc14cb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-a8766765.js → HEAD CIRCUM_BOYS.percentile.monthly-61d7fe7f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-2675fbd0.js → HEAD CIRCUM_BOYS.percentile.weekly-7b726611.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-99e8d1b8.js → HEAD CIRCUM_BOYS.percentile.yearly-4cc976a8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-7cd1810a.js → HEAD CIRCUM_BOYS.zscore.monthly-e7e49ca1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-2d64c079.js → HEAD CIRCUM_BOYS.zscore.weekly-d70c1eae.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-79e8a0fa.js → HEAD CIRCUM_BOYS.zscore.yearly-e033ecfe.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-10072522.js → HEAD CIRCUM_GIRLS.percentile.monthly-46829c05.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-9fc8b016.js → HEAD CIRCUM_GIRLS.percentile.weekly-0364573c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-0a52d8db.js → HEAD CIRCUM_GIRLS.percentile.yearly-f1b5739a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-1d5fdc8d.js → HEAD CIRCUM_GIRLS.zscore.monthly-4f617935.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-3b1f18f7.js → HEAD CIRCUM_GIRLS.zscore.weekly-98031837.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-20197312.js → HEAD CIRCUM_GIRLS.zscore.yearly-0513f8e5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-cd6be793.js → HEIGHT_BOYS.percentile.monthly-0feff9f6.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-811299eb.js → HEIGHT_BOYS.percentile.weekly-974ec4ca.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-90e51744.js → HEIGHT_BOYS.percentile.yearly-962d1b63.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-bd0d83b6.js → HEIGHT_BOYS.zscore.monthly-a110c21a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-895acf84.js → HEIGHT_BOYS.zscore.weekly-5d5a66c8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-331091af.js → HEIGHT_BOYS.zscore.yearly-6b40fe58.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-4024238c.js → HEIGHT_GIRLS.percentile.monthly-c88cdfb5.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-3a88633c.js → HEIGHT_GIRLS.percentile.weekly-10589f87.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-1eff662e.js → HEIGHT_GIRLS.percentile.yearly-06416dce.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-6aeaf9c8.js → HEIGHT_GIRLS.zscore.monthly-6b6b8944.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-4a51b608.js → HEIGHT_GIRLS.zscore.weekly-05b8b1e8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-bfdde97f.js → HEIGHT_GIRLS.zscore.yearly-0d1754a8.js} +0 -0
- /package/build/esm/{Visible-827e687c.js → Visible-87dd55d4.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-745f624f.js → WEIGHT_BOYS.percentile.monthly-d0422149.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-08516090.js → WEIGHT_BOYS.percentile.weekly-c39d2f84.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-0a75ce2b.js → WEIGHT_BOYS.percentile.yearly-5ae01058.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-8683d89d.js → WEIGHT_BOYS.zscore.monthly-0124c542.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-2650b609.js → WEIGHT_BOYS.zscore.weekly-9ef5a25f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-cf1f8552.js → WEIGHT_BOYS.zscore.yearly-fb69bbc5.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-acf985d8.js → WEIGHT_GIRLS.percentile.monthly-3dd2ec93.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-21fa3d64.js → WEIGHT_GIRLS.percentile.weekly-6ad06231.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-a1c3e409.js → WEIGHT_GIRLS.percentile.yearly-f19bf1ca.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-f7a49e70.js → WEIGHT_GIRLS.zscore.monthly-9b2c414a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-c517ad71.js → WEIGHT_GIRLS.zscore.weekly-21b23f91.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-9d93e018.js → WEIGHT_GIRLS.zscore.yearly-2e67337b.js} +0 -0
- /package/build/esm/{constants-858c8d6d.js → constants-126b1bf1.js} +0 -0
- /package/build/esm/{cookieHelper-abd8b287.js → cookieHelper-6c64533f.js} +0 -0
- /package/build/esm/{dataTransform-f7656bef.js → dataTransform-99b1cf6a.js} +0 -0
- /package/build/esm/{index-367ff39c.js → index-46ca8299.js} +0 -0
- /package/build/esm/{isProduction-e8f9317b.js → isProduction-ee053516.js} +0 -0
- /package/build/esm/{localizeNumberFormat-ba649148.js → localizeNumberFormat-5a52ff92.js} +0 -0
- /package/build/esm/{normalizeLink-044ab489.js → normalizeLink-e3ff1c11.js} +0 -0
- /package/build/esm/{number-0131947a.js → number-895411ae.js} +0 -0
- /package/build/esm/{paths-fff15507.js → paths-8848792b.js} +0 -0
- /package/build/esm/{screenSizeContext-1621f036.js → screenSizeContext-9a12cff0.js} +0 -0
- /package/build/esm/{theme-f466747e.js → theme-552e8fb4.js} +0 -0
- /package/build/esm/{translationsContext-f046abf8.js → translationsContext-cd4c35ad.js} +0 -0
- /package/build/esm/{tslib.es6-66e2786c.js → tslib.es6-ff502d3f.js} +0 -0
- /package/build/esm/{types-9ad7db7e.js → types-543400b8.js} +0 -0
- /package/build/esm/{useIsInit-dcb9d118.js → useIsInit-8814c69e.js} +0 -0
- /package/build/esm/{useOutsideClick-facdcc49.js → useOutsideClick-eb1e8600.js} +0 -0
- /package/build/esm/{useScrollbarSize-6cac3dfe.js → useScrollbarSize-45acc65f.js} +0 -0
- /package/build/{index-995af0ce.js → index-79f5bb6a.js} +0 -0
- /package/build/{isProduction-9a7c74b1.js → isProduction-162f7f61.js} +0 -0
- /package/build/{localizeNumberFormat-9766b508.js → localizeNumberFormat-904473e8.js} +0 -0
- /package/build/{normalizeLink-323314f9.js → normalizeLink-4f491971.js} +0 -0
- /package/build/{number-17e68600.js → number-0eeeecf7.js} +0 -0
- /package/build/{paths-f2859c03.js → paths-60a0f975.js} +0 -0
- /package/build/{screenSizeContext-4a23b97a.js → screenSizeContext-99e2010b.js} +0 -0
- /package/build/{theme-4eeabcb9.js → theme-b23d8bfb.js} +0 -0
- /package/build/{translationsContext-95d16869.js → translationsContext-ba58eaf1.js} +0 -0
- /package/build/{tslib.es6-8c6ec5f9.js → tslib.es6-16ffcffb.js} +0 -0
- /package/build/{types-b96d56d6.js → types-e49fce99.js} +0 -0
- /package/build/{useIsInit-cf4544e6.js → useIsInit-e651aafb.js} +0 -0
- /package/build/{useOutsideClick-093bd476.js → useOutsideClick-553f8660.js} +0 -0
- /package/build/{useScrollbarSize-b6eab9a0.js → useScrollbarSize-086d4a91.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e,t,o,a,r,i;exports.Gender=void 0,(e=exports.Gender||(exports.Gender={})).Boy="boy",e.Girl="girl",exports.BabyGrowthChartType=void 0,(t=exports.BabyGrowthChartType||(exports.BabyGrowthChartType={}))[t.
|
|
1
|
+
"use strict";var e,t,o,a,r,i;exports.Gender=void 0,(e=exports.Gender||(exports.Gender={})).Boy="boy",e.Girl="girl",exports.BabyGrowthChartType=void 0,(t=exports.BabyGrowthChartType||(exports.BabyGrowthChartType={}))[t.Height=0]="Height",t[t.Weight=1]="Weight",t[t.Head=2]="Head",t[t.BMI=3]="BMI",exports.BabyGrowthChartDuration=void 0,(o=exports.BabyGrowthChartDuration||(exports.BabyGrowthChartDuration={}))[o.Weekly=0]="Weekly",o[o.Monthly=1]="Monthly",o[o.Yearly=2]="Yearly",exports.BabyGrowthResultTab=void 0,(a=exports.BabyGrowthResultTab||(exports.BabyGrowthResultTab={}))[a.Height=0]="Height",a[a.Weight=1]="Weight",a[a.Head=2]="Head",a[a.BMI=3]="BMI",a[a.Record=4]="Record",exports.LOCALE=void 0,(r=exports.LOCALE||(exports.LOCALE={})).Vietnam="vi-VN",r.Indonesia="id-ID",r.Malaysia="ms-MY",r.Cambodia="km-KH",r.PhilippinesEnglish="en-PH",r.PhilippinesTagalog="tl-PH",r.Thailand="th-TH",r.Myanmar="my-MM",r.Taiwan="zh-TW",r.India="hi-IN",exports.OnboardingStep=void 0,(i=exports.OnboardingStep||(exports.OnboardingStep={}))[i.Phone=0]="Phone",i[i.OTP=1]="OTP",i[i.OTPEmail=2]="OTPEmail",i[i.PersonalInfo=3]="PersonalInfo",i[i.UpdatePassword=4]="UpdatePassword",i[i.Result=5]="Result",i[i.DynamicForm=6]="DynamicForm";
|
package/build/babyGrowth.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-ae441a45.js"),t=require("react"),r=require("./Onboarding-b1d559e7.js"),a=require("./theme-b23d8bfb.js"),l=require("./index-81deb983.js"),o=require("styled-components"),n=require("./index-3eb8ea9e.js"),i=require("./index-90194f1f.js"),d=require("./screenSizeContext-99e2010b.js"),s=require("dayjs"),c=require("./useTranslations-548041ba.js");require("lodash/debounce"),require("./isProduction-162f7f61.js"),require("./index-41a28d6b.js"),require("./useCategory-bf65c1d4.js");var u=require("./localizeNumberFormat-904473e8.js"),h=require("./index.styles-7e65e8b3.js"),C=require("./tslib.es6-16ffcffb.js");require("@mantine/core"),require("./gAssets.js");var m=require("./index-8f601a7e.js"),f=require("./useOutsideClick-553f8660.js");require("@mantine/dates"),require("@mantine/hooks");var y=require("./index-b8645633.js"),p=require("recharts"),b=require("lodash/chunk");function g(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./useScrollbarSize-086d4a91.js"),require("react-dom"),require("lodash/throttle"),require("./translationsContext-ba58eaf1.js"),require("string-format"),require("date-fns/locale"),require("@mantine/carousel"),require("react-keyed-flatten-children"),require("./cookieHelper-84a6a64e.js"),require("slugify");var w=g(t),x=g(o),E=g(s),v=g(b);const B=x.default.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: center;
|
|
4
4
|
gap: 16px;
|
|
@@ -381,7 +381,7 @@
|
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
|
-
`,U=({isActive:e,onChange:t,value:r="",onInputChange:o,siteType:n})=>{const{t:d}=c.useTranslations(),s="marryBaby"===n;return w.default.createElement(F,{onClick:()=>t("new"),"data-is-mb":s,"data-isActive":s&&e},"marryBaby"===n?w.default.createElement("div",{className:"title"},w.default.createElement(i.MarryBabyText,{type:"bodytext-1",color:a.theme.colors.gray800},d("chooseBaby.new")),w.default.createElement("div",{className:e?"radio active":"radio"},e&&w.default.createElement(l.Icon.CheckActiveMB,{size:26}))):w.default.createElement("div",{className:"title"},w.default.createElement(l.Text,{size:"p2",color:a.theme.colors.gray800},d("chooseBaby.new")),w.default.createElement("div",{className:e?"radio active":"radio"})),w.default.createElement(y.Input,{name:"name",value:r,size:"md",placeholder:d("chooseBaby.placeholder"),type:"text",onChange:o}))},K={[r.Gender.Boy]:{[r.BabyGrowthChartType.
|
|
384
|
+
`,U=({isActive:e,onChange:t,value:r="",onInputChange:o,siteType:n})=>{const{t:d}=c.useTranslations(),s="marryBaby"===n;return w.default.createElement(F,{onClick:()=>t("new"),"data-is-mb":s,"data-isActive":s&&e},"marryBaby"===n?w.default.createElement("div",{className:"title"},w.default.createElement(i.MarryBabyText,{type:"bodytext-1",color:a.theme.colors.gray800},d("chooseBaby.new")),w.default.createElement("div",{className:e?"radio active":"radio"},e&&w.default.createElement(l.Icon.CheckActiveMB,{size:26}))):w.default.createElement("div",{className:"title"},w.default.createElement(l.Text,{size:"p2",color:a.theme.colors.gray800},d("chooseBaby.new")),w.default.createElement("div",{className:e?"radio active":"radio"})),w.default.createElement(y.Input,{name:"name",value:r,size:"md",placeholder:d("chooseBaby.placeholder"),type:"text",onChange:o}))},K={[r.Gender.Boy]:{[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.percentile.weekly-9e4ab926.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.percentile.monthly-fcb2ad58.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.percentile.yearly-5d81ff55.js")}))},[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.percentile.weekly-98caba45.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.percentile.monthly-3872ff0c.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.percentile.yearly-f5726dec.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.percentile.weekly-556d9756.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.percentile.monthly-1a2ccdbe.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.percentile.yearly-934846ef.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.percentile.weekly-b2869713.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.percentile.monthly-d3476448.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.percentile.yearly-0cf5ddcd.js")}))}},[r.Gender.Girl]:{[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.percentile.weekly-965e6633.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.percentile.monthly-8af4d78a.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.percentile.yearly-a47f4c9a.js")}))},[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.percentile.weekly-9b337ca5.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.percentile.monthly-737cdae7.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.percentile.yearly-c3f0bf40.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.percentile.weekly-8495fb92.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.percentile.monthly-1494d067.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.percentile.yearly-dedf8639.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.percentile.weekly-7fa7d98e.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.percentile.monthly-a6c23ca8.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.percentile.yearly-d08140fe.js")}))}}},X={[r.Gender.Boy]:{[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.zscore.weekly-bbd07e44.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.zscore.monthly-d9307ca1.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_BOYS.zscore.yearly-4020447e.js")}))},[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.zscore.weekly-87742630.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.zscore.monthly-78907fac.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_BOYS.zscore.yearly-6c42a27c.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.zscore.weekly-0d8c4db0.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.zscore.monthly-b1830af8.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_BOYS.zscore.yearly-13d2a05d.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.zscore.weekly-ab4785f0.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.zscore.monthly-c4c943b7.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_BOYS.zscore.yearly-0622848a.js")}))}},[r.Gender.Girl]:{[r.BabyGrowthChartType.Height]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.zscore.weekly-f94a5348.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.zscore.monthly-729a8bb5.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEIGHT_GIRLS.zscore.yearly-a9ab73f8.js")}))},[r.BabyGrowthChartType.Weight]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.zscore.weekly-e62e35bc.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.zscore.monthly-30d18d7b.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./WEIGHT_GIRLS.zscore.yearly-68025da5.js")}))},[r.BabyGrowthChartType.Head]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.zscore.weekly-8bf235ac.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.zscore.monthly-57b2f684.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./HEAD CIRCUM_GIRLS.zscore.yearly-33407c58.js")}))},[r.BabyGrowthChartType.BMI]:{[r.BabyGrowthChartDuration.Weekly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.zscore.weekly-d8ff3087.js")})),[r.BabyGrowthChartDuration.Monthly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.zscore.monthly-abe8a404.js")})),[r.BabyGrowthChartDuration.Yearly]:()=>Promise.resolve().then((function(){return require("./BMI_GIRLS.zscore.yearly-7c1f0a47.js")}))}}},J=(e,t,a,l)=>l===r.LOCALE.Indonesia?X[e][t][a]():K[e][t][a](),Q=(e,t)=>{const[r,a]=v.default(t,Math.ceil(t.length/2)),l=r.map((e=>e.name)),o=a.map((e=>e.name));return l.includes(e)?{data:r,status:"first-half"}:o.includes(e)?{data:a,status:"second-half"}:{data:t,status:"full"}},ee=(e,t)=>[...e,...t.map((e=>({name:e.name,history:e.history,risk:e.risk,toolTipLabel:e.toolTipLabel})))].sort(((e,t)=>e.name-t.name)),te=(e,t,r,a,l)=>[...e,{name:a,history:l,risk:t,toolTipLabel:r}].sort(((e,t)=>e.name-t.name)),re=(e,t=0)=>{const r=[];for(const a in e){e[a].forEach(((e,l)=>{r[l]?r[l][a]=e:r[l]={name:l+t,[a]:e}}))}return r},ae=(e,t=0)=>Array.from({length:e-t+1},((e,r)=>r+t)),le=x.default.div`
|
|
385
385
|
position: relative;
|
|
386
386
|
.custom-chart-label {
|
|
387
387
|
display: flex;
|
package/build/cache.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./core-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./core-c17c06fa.js");require("./tslib.es6-16ffcffb.js"),require("./isProduction-162f7f61.js"),exports.getCachedItem=e.getCachedItem,exports.getDataWithCache=e.getDataWithCache,exports.setCachedItem=e.setCachedItem;
|
package/build/care.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./types-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./types-44e9d732.js"),r=require("./constants-747308e3.js");require("./tslib.es6-16ffcffb.js"),require("react"),require("./useTranslations-548041ba.js"),require("./translationsContext-ba58eaf1.js"),require("string-format"),require("lodash/debounce"),require("./index-b8645633.js"),require("@mantine/core"),require("./index-81deb983.js"),require("./screenSizeContext-99e2010b.js"),require("styled-components"),require("lodash/throttle"),require("./theme-b23d8bfb.js"),require("dayjs"),require("./index-41a28d6b.js"),require("date-fns/locale"),require("./Onboarding-b1d559e7.js"),require("./isProduction-162f7f61.js"),require("./gAssets.js"),require("react-loading-skeleton"),require("lodash/shuffle"),require("./useOutsideClick-553f8660.js"),require("./paths-60a0f975.js"),require("./cookieHelper-84a6a64e.js"),exports.BookingSearchBar=e.BookingSearchBar,exports.BookingSearchBarV2=e.BookingSearchBarV2,exports.CareTypes=e.types,exports.CareConstants=r.constants;
|
package/build/components.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-195b5014.js"),r=require("./index-5c19c607.js"),o=require("./index-3eb8ea9e.js"),t=require("./index.styled-a22002f5.js"),i=require("./index.styles-7e65e8b3.js"),a=require("./index-b8645633.js"),s=require("./index-81deb983.js"),n=require("./index-4b6fc508.js"),u=require("./index-8f601a7e.js"),d=require("./index-ae441a45.js"),p=require("./index-bffe21f2.js"),x=require("./index-2fe1dfe5.js"),l=require("./index-fb7fe95d.js"),c=require("./footer.js");require("react"),require("./screenSizeContext-99e2010b.js"),require("styled-components"),require("lodash/throttle"),require("./useTranslations-548041ba.js"),require("./translationsContext-ba58eaf1.js"),require("string-format"),require("./gAssets.js"),require("./index-41a28d6b.js"),require("date-fns/locale"),require("./Onboarding-b1d559e7.js"),require("./isProduction-162f7f61.js"),require("./theme-b23d8bfb.js"),require("./tslib.es6-16ffcffb.js"),require("@mantine/core"),require("innertext"),require("@mantine/dates"),require("dayjs"),require("@mantine/hooks"),require("date-fns"),require("lodash/debounce"),require("./useCategory-bf65c1d4.js"),require("./types-e49fce99.js"),require("./index-b2c74982.js"),require("./index-90194f1f.js"),require("react-hook-form"),require("./useHealthToolCache-f54a0e23.js"),require("./getDynamicHealthTool-51439008.js"),require("./core-c17c06fa.js"),require("./normalizeLink-4f491971.js"),require("./routing-c79a1161.js"),require("@hookform/resolvers/yup"),require("react-day-picker/DayPickerInput"),require("./useOutsideClick-553f8660.js"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("./getSocialList-f8eaad9b.js"),require("uuid"),require("@mantine/form"),require("./index-3ade7964.js"),require("js-cookie"),require("lodash/flatten"),require("react-contenteditable"),require("react-dom"),require("lodash/uniqBy"),require("./cookieHelper-84a6a64e.js"),require("./constants-747308e3.js"),require("./index-e64aa768.js"),require("./useIsInit-e651aafb.js"),require("dayjs/plugin/relativeTime"),require("./number-0eeeecf7.js"),require("./paths-60a0f975.js"),require("@mantine/carousel"),require("react-keyed-flatten-children"),require("slugify"),require("./useScrollbarSize-086d4a91.js"),require("./utils-ae95453a.js"),exports.AdBlock=e.AdBlock,exports.Alert=e.Alert,exports.ArticleCard=e.ArticleCard,exports.ArticleCardV2=e.ArticleCard$1,exports.BMICardEmbed=e.BMICardEmbed,exports.BMRCardEmbed=e.BMRCardEmbed,exports.BabyGrowthCardEmbed=e.BabyGrowthCardEmbed,exports.BabyPoopEmbed=e.BabyPoopEmbed,exports.Badge=e.Badge,exports.BorderHeading=e.BorderHeading,exports.Breadcrumbs=e.Breadcrumbs,exports.CategoryCard=e.CategoryCard,exports.Checkbox=e.Checkbox,exports.CheckboxGroup=e.CheckboxGroup,exports.CookieAcceptConfirm=e.CookieAcceptConfirm,exports.DatePicker=e.DatePicker,exports.DateRangePicker=e.DateRangePicker,exports.DoctorInfo=e.DoctorInfo,exports.DueDateCardEmbed=e.DueDateCardEmbed,exports.FileDropdown=e.FileDropdown,exports.FixedBottomAdBlock=e.FixedBottomAdBlock,exports.FloatButtonGroup=e.FloatButtonGroup,exports.GenderOptionControl=e.GenderOptionControl,exports.Grid=e.Grid,exports.IconText=e.IconText,exports.MAPPING_CATEGORY_PREMIUM_API_TYPE=e.MAPPING_CATEGORY_PREMIUM_API_TYPE,exports.MAPPING_CATEGORY_PREMIUM_TYPE=e.MAPPING_CATEGORY_PREMIUM_TYPE,exports.MobileBottomNavigation=e.MobileBottomNavigation,exports.MobileBottomNavigationIcon=e.MobileBottomNavigationIcon,exports.OvulationCardEmbed=e.OvulationCardEmbed,exports.PWGCardEmbed=e.PWGCardEmbed,exports.Pagination=e.Pagination,exports.ProgressBar=e.ProgressBar,exports.Radio=e.Radio,exports.RadioGroup=e.RadioGroup,exports.RateStars=e.RateStars,exports.ScrollList=e.ScrollList,exports.SeoHead=e.SeoHead,exports.ShareContainer=e.ShareContainer,exports.ShareDrawer=e.ShareDrawer,exports.SideMenu=e.index,exports.StatisticCard=e.StatisticCard,exports.SurveyOrPremiumBanner=e.SurveyOrPremiumBanner,exports.SurveyQuestionCard=e.SurveyQuestionCard,exports.SurveyThankyouCard=e.SurveyThankyouCard,exports.THRCardEmbed=e.THRCardEmbed,exports.Table=e.index$1,exports.Tabs=e.Tabs,exports.Tag=e.Tag,exports.Toggle=e.Toggle,exports.ToolsBannerCard=e.ToolsBannerCard,exports.Avatar=r.Avatar,exports.LanguageSwitcher=r.LanguageSwitcher,exports.NavigationLogoutPopup=r.NavigationLogoutPopup,exports.NavigationProfileButton=r.NavigationProfileButton,exports.NavigationV2=r.NavigationV2,exports.ProfilePopup=r.ProfilePopup,exports.UserProfileNavigation=r.UserProfileNavigation,exports.UserProfileNavigationHeader=r.NavHeader,exports.UserProfileNavigationStats=r.UserStats,exports.getNavMenuContent=r.getNavMenuContent,exports.getNavMenuContentWithCache=r.getNavMenuContentWithCache,exports.Button=o.Button,exports.AuthorBadge=t.AuthorBadge,exports.BookingBtn=t.BookingBtn,exports.BtnChoice=t.BtnChoice,exports.Divider=t.Divider,exports.Dropdown=t.Dropdown,exports.CustomReferenceDot=i.CustomReferenceDot,exports.Flag=i.Flag,exports.Heading=i.Heading,exports.ImageWrap=i.ImageWrap,exports.LogoIcon=i.LogoIcon,exports.PureInput=i.PureInput,exports.StepRenderer=i.StepRenderer,exports.StepRendererContext=i.StepRendererContext,exports.TextArea=i.TextArea,exports.TextDivider=i.TextDivider,exports.Input=a.Input,exports.Container=s.Container,exports.Icon=s.Icon,exports.Label=s.Label,exports.Logo=n.Logo,exports.Text=u.Text,exports.Drawer=d.Drawer,exports.Modal=d.Modal,exports.RadioImageGroup=d.RadioImageGroup,exports.Popup=p.Popup,exports.PillCarousel=x.PillCarousel,exports.AddressInput=l.AddressInput,exports.Footer=c.Footer;
|
package/build/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("date-fns/locale"),require("./Onboarding-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("date-fns/locale"),require("./Onboarding-b1d559e7.js");var E=require("./index-41a28d6b.js"),e=require("./isProduction-162f7f61.js");exports.BEARER_TOKEN_COOKIE=E.BEARER_TOKEN_COOKIE,exports.CARE_BOOKING_LOCALES=E.CARE_BOOKING_LOCALES,exports.CARE_LOCALES=E.CARE_LOCALES,exports.CDN_ADDRESS=E.CDN_ADDRESS,exports.DATE_FNS_LOCALE=E.DATE_FNS_LOCALE,exports.ECOM_LOCALES=E.ECOM_LOCALES,exports.FAVICONS=E.FAVICONS,exports.GA_TOKEN_COOKIE=E.GA_TOKEN_COOKIE,exports.ISO_FORMAT=E.ISO_FORMAT,exports.LOCALE_SPECS=E.LOCALE_SPECS,Object.defineProperty(exports,"QUERY_HEALTH_TOOL",{enumerable:!0,get:function(){return E.QUERY_HEALTH_TOOL}}),Object.defineProperty(exports,"RISK_SCREENER_NAME",{enumerable:!0,get:function(){return E.RISK_SCREENER_NAME}}),exports.RISK_SCREENER_SLUG=E.RISK_SCREENER_SLUG,exports.STATIC_PAGES=E.STATIC_PAGES,exports.TOGETHER_LOCALES=E.TOGETHER_LOCALES,exports.UP_BASEPATH=E.UP_BASEPATH,exports.USER_GEOLOCATION_COORDINATES_COOKIE=E.USER_GEOLOCATION_COORDINATES_COOKIE,exports.domainLocales=E.domainLocales,exports.siteHost=E.siteHost,exports.siteOptions=E.siteOptions,exports.isProduction=e.isProduction;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t=require("./tslib.es6-
|
|
1
|
+
"use strict";var t=require("./tslib.es6-16ffcffb.js"),e=require("./isProduction-162f7f61.js");const i={},a=t=>{if("undefined"!=typeof window){let i;try{i=JSON.parse(localStorage.getItem((e.isProduction?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return i||{}}return i[t]},r=(t,a)=>{try{"undefined"!=typeof window?localStorage.setItem((e.isProduction?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:a,time:Date.now()})):i[t]={data:a,time:Date.now()}}catch(t){}};exports.getCachedItem=a,exports.getDataWithCache=(e,i,o,n=9e5)=>t.__awaiter(void 0,void 0,void 0,(function*(){const t=a(e);if(t&&t.data&&t.time&&Date.now()-t.time<n)return t.data;if(i){const t=yield i();return o&&!o(t)||r(e,t),t}return null})),exports.setCachedItem=r;
|
package/build/ecom.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./theme-4eeabcb9.js");require("./index-0466645b.js");var o=require("./isProduction-9a7c74b1.js"),t=require("./types-b96d56d6.js");require("date-fns/locale"),require("./Onboarding-c8bb506e.js");var l=Object.freeze({__proto__:null}),i=Object.freeze({__proto__:null});const a="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV,n="undefined"==typeof window,s=process.env.NEXT_PUBLIC_DEPLOY_LOCALE?process.env.NEXT_PUBLIC_DEPLOY_LOCALE:"vi-VN",r=process.env.NEXT_PUBLIC_GOOGLE_MAP_KEY||"",u=process.env.NEXT_PUBLIC_ADMIN_GOOGLE_LOCATION_KEY,c=process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID||"289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com",d={"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"},m=a?"http://localhost:3001":o.isProduction?`https://${d[s]}`:`https://discover.${d[s]}`,p=o.isProduction?`https://wp.${d[s]}/`:`https://staging.${d[s]}/`,_=process.env.NEXT_PUBLIC_TOGETHER_API_URL&&""!==process.env.NEXT_PUBLIC_TOGETHER_API_URL?process.env.NEXT_PUBLIC_TOGETHER_API_URL:`https://together.${d[s]}/`,h=`${m}/community`,E=process.env.NEXT_PUBLIC_SSO_URL||"http://staging-id.hellobacsi.com/";var I;!function(e){e[e.FEMALE=0]="FEMALE",e[e.MALE=1]="MALE",e[e.ANY=2]="ANY"}(I||(I={}));const v={"vi-VN":{HOME:()=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#website","@type":"WebSite",description:"Hello Bacsi - Health Information",inLanguage:"vi-VN",name:"Hello Bacsi",potentialAction:[{"@type":"SearchAction","query-input":"required name=search_term_string",target:"https://hellobacsi.com/shop/tim-kiem/?keyword={search_term_string}"}],url:"https://hellobacsi.com/shop/"}]}),CATEGORY:(e="",o=0,t=[])=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/danh-muc","@type":"WebPage",name:"Hello Bacsi - Danh Muc",url:"https://hellobacsi.com/shop/danh-muc"}}]},{"@type":"ItemList",url:e,numberOfItems:o,itemListElement:t}]}),BRAND:(e="",o=0,t=[])=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/thuong-hieu","@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/thuong-hieu"}}]},{"@type":"ItemList",url:e,numberOfItems:o,itemListElement:t}]}),BRAND_DETAIL:(e="",o=0,t)=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/thuong-hieu/#brand","@type":"BrandDetail",itemListElement:[{"@type":"Item",item:{"@id":`https://hellobacsi.com/shop${e}`,"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:`https://hellobacsi.com/shop${e}`}}]},{"@type":"BrandDetail",url:`https://hellobacsi.com/shop${e}`,numberOfItems:o,itemListElement:null!=t?t:{}}]}),PRODUCT_DETAIL:(e="",o=0,t)=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/san-pham/#product","@type":"ProductDetail",itemListElement:[{"@type":"Item",item:{"@id":`https://hellobacsi.com/shop/san-pham/${e}`,"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:`https://hellobacsi.com/shop/san-pham/${e}`}}]},{"@type":"BrandDetail",url:e,numberOfItems:o,itemListElement:null!=t?t:{}}]})}};var T=Object.freeze({__proto__:null,isDevelopment:a,IS_SSR:n,locale:s,BEARER_TOKEN_COOKIE:"hhg_user_token",BEARER_ADMIN_TOKEN_COOKIE:"hhg_admin_token",GUEST_CART_ID_COOKIE:"hhg_guest_cart_id",GOOGLE_MAP_KEY:r,GOOGLE_ADMIN_LOCATION_KEY:u,GOOGLE_CLIENT_ID:c,GOOGLE_CALENDAR_API_KEY:"",basePath:"shop",SSO_USER_BASE_PATH:"user",CARE_BASE_PATH:"care",COMMUNITY_BASE_PATH:"community",HEALTH_TOOLs_BASE_PATH:"health-tools",NOTIFICATION_TIME_OUT:3e3,DOMAIN_LOCALES:d,DISCOVER_URL_FE:m,DISCOVER_URL_BE:p,TOGETHER_URL_BE:_,TOGETHER_URL_FE:h,SSO_URL:E,DISCOVERY_FOOTER_URL:"#",HEALTH_CARE_FOOTER_URL:"#",HEALTH_TOOLS_FOOTER_URL:"#",HEALTH_TOGETHER_FOOTER_URL:"#",POLICIES_FOOTER_URL:"#",FAQ_FOOTER_URL:"#",SITEMAP_FOOTER_URL:"#",ABOUT_US_FOOTER_URL:"#",EXECUTIVE_BIOS_FOOTER_URL:"#",ADVERTISING_FOOTER_URL:"#",CONTACT_US_FOOTER_URL:"#",ABOUT_GO_CARE_FOOTER_URL:"#",get Gender(){return I},EMAIL_REGEX:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,COUNTRY_SITENAME:{ID:"Hello Sehat",TH:"Hello Khunmor",MY:"Hello Doktor",KH:"Hello Krupet",TW:"Hello Yishi",MM:"Hello Sayarwon",IN:"Hello Swasthya",VN:"Hello Bacsi",PH:"Hello Doctor"},LOCALE_SPECS:{"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png"}},SOCIAL_MEDIA:{"vi-VN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellobacsi/",INSTAGRAM:"https://www.instagram.com/hellobacsi/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCYHzHDXngnB7jkmcQgXwE0w"},"en-PH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoctorPH/",INSTAGRAM:"https://www.instagram.com/hellodoctor_ph/",TWITTER:null},"km-KH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokrupet/",INSTAGRAM:"https://www.instagram.com/hellokrupetofficial/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCVK4p9YPIMkmoerk3X-y-TQ"},"ms-MY":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoktorMY/",INSTAGRAM:"https://www.instagram.com/_hellodoktor_/",TWITTER:null},"id-ID":{LINKEDIN:"https://www.linkedin.com/company/hello-sehat/",FACEBOOK:"https://www.facebook.com/hellosehat",INSTAGRAM:"https://www.instagram.com/hellosehat/",TWITTER:"https://twitter.com/HelloSehat"},"my-MM":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellosayarwon/",INSTAGRAM:"https://www.facebook.com/hellosayarwon/",TWITTER:null},"zh-TW":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/helloyishi/",INSTAGRAM:"https://www.instagram.com/helloyishi/",TWITTER:null},"hi-IN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloSwasthya/",INSTAGRAM:"https://www.instagram.com/hello_swasthya/",TWITTER:null},"th-TH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokhunmor/",INSTAGRAM:"https://www.instagram.com/hellokhunmor/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCbdbow4UhKfa7rqIhclNPIQ/"}},FLAG_LINKS:{ID:"https://hellosehat.com/",TH:"https://hellokhunmor.com/",MY:"https://hellodoktor.com/",KH:"https://hellokrupet.com/",TW:"https://helloyishi.com.tw/",MM:"https://hellosayarwon.com/",IN:"https://helloswasthya.com/",VN:"https://hellobacsi.com/",PH:"https://hellodoctor.com.ph/"},STATIC_PAGES:{"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"}},FAVICONS:{"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}]},LOCALE_COUNTRY:{"vi-VN":{id:1,name:"Vietnam"},"id-ID":{id:2,name:"Indonesia"},"ms-MY":{id:3,name:"Malaysia"},"km-KH":{id:4,name:"Cambodia"},"en-PH":{id:5,name:"Philippines"},"th-TH":{id:6,name:"Thai Lan"},"my-MM":{id:7,name:"Myanmar"},"zh-TW":{id:8,name:"Taiwan"},"hi-IN":{id:9,name:"India"}},MAX_ALLOWED_IMG_SIZE:20971520,COUNTRY_CODE_BY_LOCALE:{"vi-VN":"vn","id-ID":"id","ms-MY":"my","km-KH":"kh","en-PH":"ph","th-TH":"th","my-MM":"mm","zh-TW":"tw","hi-IN":"in"},COUNTRY_CURRENCY_SYMBOL:{"vi-VN":"₫","id-ID":"Rp","ms-MY":"RM","km-KH":"៛","en-PH":"₱","th-TH":"฿","my-MM":"K","zh-TW":"$","hi-IN":"₹"},CURRENCY_PREFIX:{IDR:"Dimulai dari"},LOCALISED_SLUGS:{"en-PH":{PRODUCT:"product",CATEGORY:"category",BRAND:"brand",SEARCH:"search",PROFILE:"profile",PROFILE_MANAGE_ORDERS:"profile/manage-orders",PROFILE_MANAGE_ADDRESS:"profile/deliver-address",PROFILE_VOUCHER:"profile/voucher",PROFILE_MEMBER_CARD:"profile/member-card",CART:"cart",CART_CHECKOUT:"cart/checkout",ORDER_CONFIRMATION:"order-confirmation",PROMOTION:"promotion"},"vi-VN":{PRODUCT:"san-pham",CATEGORY:"danh-muc",BRAND:"thuong-hieu",SEARCH:"tim-kiem",PROFILE:"ho-so",PROFILE_MANAGE_ORDERS:"ho-so/quan-li-don-hang",PROFILE_MANAGE_ADDRESS:"ho-so/dia-chi-giao-hang",PROFILE_VOUCHER:"ho-so/khuyen-mai",PROFILE_MEMBER_CARD:"ho-so/the-thanh-vien",CART:"gio-hang",CART_CHECKOUT:"gio-hang/thanh-toan",ORDER_CONFIRMATION:"kiem-tra-don-hang",PROMOTION:"khuyen-mai"}},HEADER_LOGO_ALIGNMENT:"188px",globalFontFamily:"Inter",ENABLE_COMMUNITY_LOCALES:["vi-VN","id-ID","ms-MY","en-PH","th-TH"],ENABLE_HEALTH_PARENTING_LOCALES:["vi-VN","en-PH","id-ID","ms-MY","km-KH","th-TH","my-MM","zh-TW"],SEO_SCHEMA:v});function g(e){return null!=e}const O={formatAutoCompleteAddress:e=>e&&e.place_id?{placeId:e.place_id,description:e.description||""}:null,formatPrice:(e,o)=>{const t="string"==typeof e?parseInt(e):e;return new Intl.NumberFormat(o||"vi-VN").format(t)},formatHotSearchKeyword:e=>({text:(null==e?void 0:e.name)||""}),formatHelpfulUrl:e=>({name:(null==e?void 0:e.name)||"",featuredImage:(null==e?void 0:e.featured_image)||"",url:(null==e?void 0:e.url)||""}),formatCategory:function(o,t,l){var i,a,n;const s=l?l+"/"+o.slug:o.slug,r=(null===(a=null===(i=null==o?void 0:o.children)||void 0===i?void 0:i.map)||void 0===a?void 0:a.call(i,(e=>O.formatCategory(e,o.id,s))))||[];return{id:null==o?void 0:o.id,name:(null==o?void 0:o.name)||"",logo:(null==o?void 0:o.logo)||"",slug:(null==o?void 0:o.slug)||"",fullSlug:s||"",children:r,backgroundColor:o.color||e.theme.colors.teal50,parentId:t||0,products:(null===(n=o.products)||void 0===n?void 0:n.map(O.formatProduct))||[]}},formatFooterInfo:e=>{var o,t,l,i,a,n,s,r,u,c,d,m,p,_,h,E,I,v,T;const g=(null===(l=null===(t=null===(o=null==e?void 0:e.branch)||void 0===o?void 0:o.branch)||void 0===t?void 0:t.map)||void 0===l?void 0:l.call(t,(e=>({flag:e.flag||"",name:e.name||"",url:e.url||""}))))||[],O=(null===(n=null===(a=null===(i=null==e?void 0:e.general)||void 0===i?void 0:i.verified)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,(e=>({image:e.image||"",url:e.url||""}))))||[],A=(null===(r=null===(s=null==e?void 0:e.menu)||void 0===s?void 0:s.map)||void 0===r?void 0:r.call(s,(e=>{var o,t;return{menu_title:e.menu_title,items:null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({title:e.title,url:e.url})))}})))||[],b=(null===(d=null===(c=null===(u=null==e?void 0:e.social)||void 0===u?void 0:u.socials)||void 0===c?void 0:c.map)||void 0===d?void 0:d.call(c,(e=>({icon:e.icon||"",name:e.name||"",url:e.url||""}))))||[];return{branch:{title:(null===(m=null==e?void 0:e.branch)||void 0===m?void 0:m.title)||"",branch:g},general:{logo:null!==(_=null===(p=null==e?void 0:e.general)||void 0===p?void 0:p.logo)&&void 0!==_?_:"",content:null!==(E=null===(h=null==e?void 0:e.general)||void 0===h?void 0:h.content)&&void 0!==E?E:"",copyright:null!==(v=null===(I=null==e?void 0:e.general)||void 0===I?void 0:I.copyright)&&void 0!==v?v:"",verified:O},menu:A,social:{title:(null===(T=null==e?void 0:e.social)||void 0===T?void 0:T.title)||"",socials:b}}},formatNavigation:function(e){var o,t,l,i,a,n;return{hotSearchKeywords:(null===(t=null===(o=null==e?void 0:e.hot_search_keywords)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatHotSearchKeyword))||[],helpfulUrls:(null===(i=null===(l=null==e?void 0:e.helpful_urls)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatHelpfulUrl))||[],categories:(null===(n=null===(a=null==e?void 0:e.categories)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,(e=>O.formatCategory(e))))||[],footer:O.formatFooterInfo(null==e?void 0:e.footer),storeId:(null==e?void 0:e.store_id)||0,customerId:(null==e?void 0:e.customer_id)||0,cartItemsQty:"number"==typeof(null==e?void 0:e.cart_items_qty)?e.cart_items_qty:null}},formatPriceInfo:e=>e?{final:e.final||0,regular:e.regular||0,discountPercent:e.discount_percent||0}:null,formatProduct:function(e){var o,t,l,i;if(!e)return null;const a={final:0,regular:0,discountPercent:0};return{id:e.id||0,price:e.price&&O.formatPriceInfo(e.price)||a,thumbnail:e.thumbnail||"",name:e.name||"",averageRating:Number((e.average_rating||0).toFixed(2)),reviewsCount:e.reviews_count||0,tag:e.tag||null,sku:e.sku||"",slug:e.slug||"",images:e.images||[],tags:e.tags||[],unit:e.unit||"",brand:e.brand?{name:e.brand.name||"",image:e.brand.image||"",slug:e.brand.slug||"",productsCount:e.brand.products_count||0}:null,description:e.description||"",productPromotions:(null===(t=null===(o=e.product_promotions)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatProductPromotion).filter(g))||[],categories:(null===(i=null===(l=e.categories)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,(e=>O.formatCategory(e))).filter(g))||[],isInStock:(null==e?void 0:e.is_in_stock)||!1}},formatBanner:e=>e?{name:e.name||"",url:e.url||"",featuredImage:e.featured_image||"",alt:e.image_alt}:null,formatBlogPost:e=>{var o,t;return e?{title:e.title||"",image:e.image||"",link:e.link||"",postData:e.post_data?{reviewed:e.post_data.reviewed?{author:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.author||void 0),editor:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.editor||void 0),expert:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.expert||void 0),factCheck:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.fact_check||void 0),isAuthor:Boolean(e.post_data.reviewed.is_author)}:null,categories:e.post_data.categories?null===(t=(o=e.post_data.categories).map)||void 0===t?void 0:t.call(o,(e=>({termId:e.term_id||0,name:e.name||"",permalink:e.permalink||"",textColor:e.text_color||""}))):[],postDate:e.post_data.post_date||"",postModified:e.post_data.post_modified||"",modifiedTime:e.post_data.modified_time||""}:null}:null},formatBlogPostDataReviewedUser:e=>e?{id:e.ID||0,userId:e.user_id||0,formerRole:e.former_role||"",role:e.role||"",slug:e.slug||"",displayName:e.display_name||"",description:e.description||"",profileUrl:e.profile_url||"",avatar:e.avatar||"",avatarThumbnail:e.avatar_thumbnail||"",turnOffProfile:Boolean(e.turn_off_profile)}:null,formatBrand:function(e){var o,t,l,i;return e?{id:e.id||0,image:e.image||"",position:e.position||"",isPopular:e.is_popular||!1,summary:e.summary||"",name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatBanner).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[]}:null},formatHomePage:e=>{var o,t,l,i,a,n,s,r,u,c,d,m,p,_,h,E,I,v,T,A;return e?{brands:e.brands?null===(t=(o=e.brands).map)||void 0===t?void 0:t.call(o,O.formatBrand).filter(g):[],hotDeals:e.hot_deals?null===(i=(l=e.hot_deals).map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g):[],newProducts:e.new_products?null===(n=(a=e.new_products).map)||void 0===n?void 0:n.call(a,O.formatProduct).filter(g):[],slideBanners:e.slide_banners?null===(r=(s=e.slide_banners).map)||void 0===r?void 0:r.call(s,O.formatBanner).filter(g):[],subBanners:e.sub_banners?null===(c=(u=e.sub_banners).map)||void 0===c?void 0:c.call(u,O.formatBanner).filter(g):[],footerBanners:e.footer_banners?null===(m=(d=e.footer_banners).map)||void 0===m?void 0:m.call(d,O.formatBanner).filter(g):[],blogPosts:e.blog_posts?null===(_=(p=e.blog_posts).map)||void 0===_?void 0:_.call(p,O.formatBlogPost).filter(g):[],popularCategories:e.popular_categories?null===(E=(h=e.popular_categories).map)||void 0===E?void 0:E.call(h,(e=>O.formatCategory(e))).filter(g):[],suggestProducts:e.suggest_products?null===(v=(I=e.suggest_products).map)||void 0===v?void 0:v.call(I,(e=>O.formatCategory(e))).filter(g):[],promotions:e.promotions?null===(A=(T=e.promotions).map)||void 0===A?void 0:A.call(T,(e=>O.formatPromotion(e))).filter(g):[]}:null},formatCategoryPage:function(e){var o,t,l,i;return e?{id:e.id||0,name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatBanner).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[]}:null},formatBrandPage:function(e){return e?O.formatBrand(e):null},formatPagination:e=>e?{current:e.current||0,first:e.first||0,itemsPerPage:e.items_per_page||0,last:e.last||0,next:e.next||0,prev:e.prev||0,totalItems:e.total_items||0}:null,formatProductDetailPage:function(e){var o,t,l,i,a,n,s,r;return e?Object.assign(Object.assign({},O.formatProduct(e)),{relatedProducts:(null===(t=null===(o=e.related_products)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatProduct).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[],viewedProducts:(null===(n=null===(a=e.viewed_products)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,O.formatProduct).filter(g))||[],promotions:(null===(r=null===(s=e.promotions)||void 0===s?void 0:s.map)||void 0===r?void 0:r.call(s,O.formatPromotion).filter(g))||[]}):null},formatProductReview:e=>{var o,t;return e?{reviewId:e.review_id||"",createdAt:e.created_at||"",title:e.title||"",detail:e.detail||"",nickname:e.nick_name||"",avatar:e.avatar||"",ratingVotes:(null===(t=null===(o=e.rating_votes)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({ratingCode:e.rating_code||"",value:Number(e.value)||0,percent:Number(e.percent)||0}))))||[],images:e.images||[]}:null},formatProductPromotion:e=>e?{id:e.id||0,name:e.name||"",thumbnail:e.thumbnail||"",expirationDate:e.expiration_date||""}:null,formatPromotion:e=>e?{id:e.id||0,name:e.name||"",slug:e.slug||"",thumbnail:e.thumbnail||"",expiredDate:e.expired_date||"",banners:e.banners||[],points:0,description:e.description||"",metaTitle:e.meta_title||"",metaKeywords:e.meta_keywords||"",metaDescription:e.meta_description||""}:null,formatCustomAttributes:(e,o)=>{var t;return(null==e?void 0:e.length)&&(null===(t=null==e?void 0:e.find((e=>e.attribute_code===o)))||void 0===t?void 0:t.value)||""},formatAddress:e=>{var o,t,l,i;return e?{id:e.id||0,fullName:e.firstname||"",telephone:e.telephone||"",province:{value:null===(o=e.region)||void 0===o?void 0:o.region_id,label:null===(t=e.region)||void 0===t?void 0:t.region}||null,district:{value:O.formatCustomAttributes(e.custom_attributes,"district_id"),label:O.formatCustomAttributes(e.custom_attributes,"district")},commune:{value:O.formatCustomAttributes(e.custom_attributes,"ward_id"),label:O.formatCustomAttributes(e.custom_attributes,"ward")},street:(null===(l=null==e?void 0:e.street)||void 0===l?void 0:l.length)?null==e?void 0:e.street[0]:"",isDefault:e.default_billing&&e.default_shipping||!1,fullAddress:(null===(i=null==e?void 0:e.extension_attributes)||void 0===i?void 0:i.full_address)||""}:null},formatProvince:e=>(null==e?void 0:e.available_regions)?e.available_regions.map((e=>({value:e.id||"",label:e.name||""}))):[],formatDistrict:e=>(null==e?void 0:e.districts)?e.districts.map((e=>({value:e.id||"",label:e.name||""}))):[],formatCommune:e=>(null==e?void 0:e.communes)?e.communes.map((e=>({value:e.id||"",label:e.name||""}))):[],formatOrder:e=>{var o,t;return e?{orderNumber:(null==e?void 0:e.order_number)||"",shippingData:(null==e?void 0:e.shipping_data)?{shippingMethod:e.shipping_data.shipping_method||"",shippingDescription:e.shipping_data.shipping_description||"",shippingAddress:e.shipping_data.shipping_address?{fullName:e.shipping_data.shipping_address.firstname||"",fullAddress:e.shipping_data.shipping_address.full_address||"",telephone:e.shipping_data.shipping_address.telephone||""}:null,storeAddress:null}:null,orderedDate:(null==e?void 0:e.ordered_date)||"",status:(null==e?void 0:e.status)||null,totals:(null==e?void 0:e.totals)?{subtotal:e.totals.subtotal||0,shippingAmount:e.totals.shipping_amount||0,discountAmount:e.totals.discount_amount||0,grandTotal:e.totals.grand_total||0}:null,products:(null===(t=null===(o=null==e?void 0:e.products)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({sku:e.sku||"",name:e.name||"",price:e.price||0,rowTotal:e.row_total||0,image:e.image||"",qty:e.qty||0}))))||[],paymentMethod:(null==e?void 0:e.payment_method)||""}:null},formatStatistic:e=>{var o,t,l,i,a;return e?{pending:Number(null===(o=null==e?void 0:e.find((e=>"pending"===e.status)))||void 0===o?void 0:o.amount)||0,processing:Number(null===(t=null==e?void 0:e.find((e=>"processing"===e.status)))||void 0===t?void 0:t.amount)||0,delivering:Number(null===(l=null==e?void 0:e.find((e=>"delivering"===e.status)))||void 0===l?void 0:l.amount)||0,complete:Number(null===(i=null==e?void 0:e.find((e=>"complete"===e.status)))||void 0===i?void 0:i.amount)||0,canceled:Number(null===(a=null==e?void 0:e.find((e=>"canceled"===e.status)))||void 0===a?void 0:a.amount)||0}:{}},formatCartItem:e=>{var o,t,l,i,a,n,s,r;return e?{itemId:e.item_id||0,sku:e.sku||"",qty:e.qty||0,name:e.name||"",price:e.price||0,basePrice:(null===(o=e.extension_attributes)||void 0===o?void 0:o.base_price)||0,productType:e.product_type||"",quoteId:e.quote_id||"",thumbnail:(null===(t=e.extension_attributes)||void 0===t?void 0:t.thumbnail)||"",rowTotal:(null===(l=e.extension_attributes)||void 0===l?void 0:l.row_total)||0,promotions:(null===(n=null===(a=null===(i=e.extension_attributes)||void 0===i?void 0:i.promotions)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,O.formatProductPromotion))||[],isInStock:(null===(s=e.extension_attributes)||void 0===s?void 0:s.is_in_stock)||!1,urlProduct:(null===(r=e.extension_attributes)||void 0===r?void 0:r.url_key)||""}:null},formatCartAddress:e=>{var o;return e?{customerAddressId:(null==e?void 0:e.customer_address_id)||0,id:e.id||0,region:e.region||"",regionId:e.region_id||0,regionCode:e.region_code||"",countryId:e.country_id||"",street:e.street||[],postcode:e.postcode||"",city:e.city||"",firstname:e.firstname||"",lastname:e.lastname||"",customerId:e.customer_id||0,email:e.email||"",telephone:e.telephone||"",sameAsBilling:e.same_as_billing||0,saveInAddressBook:e.save_in_address_book||0,fullAddress:(null===(o=e.extension_attributes)||void 0===o?void 0:o.full_address)||""}:null},formatEstimatedShipping:e=>e?{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",carrierTitle:e.carrier_title||"",methodTitle:e.method_title||"",amount:e.amount||0,baseAmount:e.base_amount||0,available:e.available||!1,errorMessage:e.error_message||"",priceExclTax:e.price_excl_tax||0,priceInclTax:e.price_incl_tax||0}:null,formatCartLoggedInCustomer:e=>{var o,t,l;return e?{email:e.email||"",firstname:e.firstname||"",lastname:e.lastname||"",id:e.id||0,groupId:e.group_id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",createdIn:e.created_in||"",storeId:e.store_id||0,websiteId:e.website_id||0,addresses:(null===(t=null===(o=e.addresses)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatCartAddress))||[],disableAutoGroupChange:e.disable_auto_group_change||0,isSubscribed:(null===(l=e.extension_attributes)||void 0===l?void 0:l.is_subscribed)||!1}:null},formatCart:e=>{var o,t,l,i,a,n,s,r,u,c,d,m,p,_;return e?{id:e.id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",isActive:e.is_active||!1,isVirtual:e.is_virtual||!1,items:(null===(l=null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatCartItem))||void 0===l?void 0:l.sort(((e,o)=>Number(null==o?void 0:o.isInStock)-Number(null==e?void 0:e.isInStock))))||[],itemsCount:e.items_count||0,itemsQty:e.items_qty||0,customer:e.customer?O.formatCartLoggedInCustomer(e.customer):null,billingAddress:e.billing_address?O.formatCartAddress(e.billing_address):null,origOrderId:e.orig_order_id||0,currency:{globalCurrencyCode:(null===(i=e.currency)||void 0===i?void 0:i.global_currency_code)||"",baseCurrencyCode:(null===(a=e.currency)||void 0===a?void 0:a.base_currency_code)||"",storeCurrencyCode:(null===(n=e.currency)||void 0===n?void 0:n.store_currency_code)||"",quoteCurrencyCode:(null===(s=e.currency)||void 0===s?void 0:s.quote_currency_code)||"",storeToBaseRate:(null===(r=e.currency)||void 0===r?void 0:r.store_to_base_rate)||0,storeToQuoteRate:(null===(u=e.currency)||void 0===u?void 0:u.store_to_quote_rate)||0,baseToGlobalRate:(null===(c=e.currency)||void 0===c?void 0:c.base_to_global_rate)||0,baseToQuoteRate:(null===(d=e.currency)||void 0===d?void 0:d.base_to_quote_rate)||0},customerIsGuest:e.customer_is_guest||!1,customerNoteNotify:e.customer_note_notify||!1,customerTaxClassId:e.customer_tax_class_id||0,storeId:e.store_id||0,shippingAssignments:null===(_=null===(p=null===(m=e.extension_attributes)||void 0===m?void 0:m.shipping_assignments)||void 0===p?void 0:p.map)||void 0===_?void 0:_.call(p,(e=>{var o,t,l;return{shipping:{address:e.shipping.address?O.formatCartAddress(e.shipping.address):null,method:(null===(o=e.shipping)||void 0===o?void 0:o.method)||""},items:(null===(l=(t=e.items).map)||void 0===l?void 0:l.call(t,O.formatCartItem))||[]}}))}:null},formatCartTotal:e=>{var o,t,l;return e?{grandTotal:e.grand_total||0,baseGrandTotal:e.base_grand_total||0,subtotal:e.subtotal||0,baseSubtotal:e.base_subtotal||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,subtotalWithDiscount:e.subtotal_with_discount||0,baseSubtotalWithDiscount:e.base_subtotal_with_discount||0,shippingAmount:e.shipping_amount||0,baseShippingAmount:e.base_shipping_amount||0,shippingDiscountAmount:e.shipping_discount_amount||0,baseShippingDiscountAmount:e.base_shipping_discount_amount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,shippingTaxAmount:e.shipping_tax_amount||0,baseShippingTaxAmount:e.base_shipping_tax_amount||0,subtotalInclTax:e.subtotal_incl_tax||0,shippingInclTax:e.shipping_incl_tax||0,baseShippingInclTax:e.base_shipping_incl_tax||0,baseCurrencyCode:e.base_currency_code||"",quoteCurrencyCode:e.quote_currency_code||"",itemsQty:e.items_qty||0,coupon:{couponCode:e.coupon_code||"",couponDescription:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.coupon_description_text)||""},items:(null===(l=null===(t=e.items)||void 0===t?void 0:t.map)||void 0===l?void 0:l.call(t,(e=>({itemId:e.item_id||0,price:e.price||0,basePrice:e.base_price||0,qty:e.qty||0,rowTotal:e.row_total||0,baseRowTotal:e.base_row_total||0,rowTotalWithDiscount:e.row_total_with_discount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,taxPercent:e.tax_percent||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,discountPercent:e.discount_percent||0,priceInclTax:e.price_incl_tax||0,basePriceInclTax:e.base_price_incl_tax||0,rowTotalInclTax:e.row_total_incl_tax||0,baseRowTotalInclTax:e.base_row_total_incl_tax||0,options:e.options||"",weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,weeeTaxApplied:e.weee_tax_applied||0,name:e.name||""}))))||[],totalSegments:e.total_segments||[]}:null},formatPaymentMethod:e=>e?null==e?void 0:e.map((e=>({code:(null==e?void 0:e.payment_code)||"",title:(null==e?void 0:e.payment_title)||"",thumbnail:(null==e?void 0:e.payment_thumbnail)||""}))):null,formatPaymentInformation:e=>{var o;return e?{paymentMethods:O.formatPaymentMethod(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.payment_detail_info)||[],totals:O.formatCartTotal(e.totals)}:null},formatOrderConfirmation:e=>e?{isSuccess:e.is_success||!1,orderInfo:O.formatOrder(e.order_info)}:null,formatCoupons:e=>{var o;return(null===(o=null==e?void 0:e.items)||void 0===o?void 0:o.length)?e.items.map((e=>({code:(null==e?void 0:e.code)||"",name:(null==e?void 0:e.name)||"",thumbnail:(null==e?void 0:e.thumbnail)||"",description:(null==e?void 0:e.expired_date)||""}))):null},formatShippings:e=>e?e.map((e=>{var o;return{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",title:e.carrier_title||"",description:e.method_title||"",price:(null==e?void 0:e.base_amount)||0,thumbnail:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.thumbnail)||""}})):[]};var A=Object.freeze({__proto__:null,dataFormatter:O});exports.Types=t.types,exports.ApiTypes=l,exports.Constants=T,exports.DataFormatter=A,exports.DataTypes=i;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./theme-b23d8bfb.js");require("./index-41a28d6b.js");var o=require("./isProduction-162f7f61.js"),t=require("./types-e49fce99.js");require("date-fns/locale"),require("./Onboarding-b1d559e7.js");var l=Object.freeze({__proto__:null}),i=Object.freeze({__proto__:null});const a="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV,n="undefined"==typeof window,s=process.env.NEXT_PUBLIC_DEPLOY_LOCALE?process.env.NEXT_PUBLIC_DEPLOY_LOCALE:"vi-VN",r=process.env.NEXT_PUBLIC_GOOGLE_MAP_KEY||"",u=process.env.NEXT_PUBLIC_ADMIN_GOOGLE_LOCATION_KEY,c=process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID||"289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com",d={"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"},m=a?"http://localhost:3001":o.isProduction?`https://${d[s]}`:`https://discover.${d[s]}`,p=o.isProduction?`https://wp.${d[s]}/`:`https://staging.${d[s]}/`,_=process.env.NEXT_PUBLIC_TOGETHER_API_URL&&""!==process.env.NEXT_PUBLIC_TOGETHER_API_URL?process.env.NEXT_PUBLIC_TOGETHER_API_URL:`https://together.${d[s]}/`,h=`${m}/community`,E=process.env.NEXT_PUBLIC_SSO_URL||"http://staging-id.hellobacsi.com/";var I;!function(e){e[e.FEMALE=0]="FEMALE",e[e.MALE=1]="MALE",e[e.ANY=2]="ANY"}(I||(I={}));const v={"vi-VN":{HOME:()=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#website","@type":"WebSite",description:"Hello Bacsi - Health Information",inLanguage:"vi-VN",name:"Hello Bacsi",potentialAction:[{"@type":"SearchAction","query-input":"required name=search_term_string",target:"https://hellobacsi.com/shop/tim-kiem/?keyword={search_term_string}"}],url:"https://hellobacsi.com/shop/"}]}),CATEGORY:(e="",o=0,t=[])=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/danh-muc","@type":"WebPage",name:"Hello Bacsi - Danh Muc",url:"https://hellobacsi.com/shop/danh-muc"}}]},{"@type":"ItemList",url:e,numberOfItems:o,itemListElement:t}]}),BRAND:(e="",o=0,t=[])=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/thuong-hieu","@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/thuong-hieu"}}]},{"@type":"ItemList",url:e,numberOfItems:o,itemListElement:t}]}),BRAND_DETAIL:(e="",o=0,t)=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/thuong-hieu/#brand","@type":"BrandDetail",itemListElement:[{"@type":"Item",item:{"@id":`https://hellobacsi.com/shop${e}`,"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:`https://hellobacsi.com/shop${e}`}}]},{"@type":"BrandDetail",url:`https://hellobacsi.com/shop${e}`,numberOfItems:o,itemListElement:null!=t?t:{}}]}),PRODUCT_DETAIL:(e="",o=0,t)=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/san-pham/#product","@type":"ProductDetail",itemListElement:[{"@type":"Item",item:{"@id":`https://hellobacsi.com/shop/san-pham/${e}`,"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:`https://hellobacsi.com/shop/san-pham/${e}`}}]},{"@type":"BrandDetail",url:e,numberOfItems:o,itemListElement:null!=t?t:{}}]})}};var T=Object.freeze({__proto__:null,isDevelopment:a,IS_SSR:n,locale:s,BEARER_TOKEN_COOKIE:"hhg_user_token",BEARER_ADMIN_TOKEN_COOKIE:"hhg_admin_token",GUEST_CART_ID_COOKIE:"hhg_guest_cart_id",GOOGLE_MAP_KEY:r,GOOGLE_ADMIN_LOCATION_KEY:u,GOOGLE_CLIENT_ID:c,GOOGLE_CALENDAR_API_KEY:"",basePath:"shop",SSO_USER_BASE_PATH:"user",CARE_BASE_PATH:"care",COMMUNITY_BASE_PATH:"community",HEALTH_TOOLs_BASE_PATH:"health-tools",NOTIFICATION_TIME_OUT:3e3,DOMAIN_LOCALES:d,DISCOVER_URL_FE:m,DISCOVER_URL_BE:p,TOGETHER_URL_BE:_,TOGETHER_URL_FE:h,SSO_URL:E,DISCOVERY_FOOTER_URL:"#",HEALTH_CARE_FOOTER_URL:"#",HEALTH_TOOLS_FOOTER_URL:"#",HEALTH_TOGETHER_FOOTER_URL:"#",POLICIES_FOOTER_URL:"#",FAQ_FOOTER_URL:"#",SITEMAP_FOOTER_URL:"#",ABOUT_US_FOOTER_URL:"#",EXECUTIVE_BIOS_FOOTER_URL:"#",ADVERTISING_FOOTER_URL:"#",CONTACT_US_FOOTER_URL:"#",ABOUT_GO_CARE_FOOTER_URL:"#",get Gender(){return I},EMAIL_REGEX:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,COUNTRY_SITENAME:{ID:"Hello Sehat",TH:"Hello Khunmor",MY:"Hello Doktor",KH:"Hello Krupet",TW:"Hello Yishi",MM:"Hello Sayarwon",IN:"Hello Swasthya",VN:"Hello Bacsi",PH:"Hello Doctor"},LOCALE_SPECS:{"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png"}},SOCIAL_MEDIA:{"vi-VN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellobacsi/",INSTAGRAM:"https://www.instagram.com/hellobacsi/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCYHzHDXngnB7jkmcQgXwE0w"},"en-PH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoctorPH/",INSTAGRAM:"https://www.instagram.com/hellodoctor_ph/",TWITTER:null},"km-KH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokrupet/",INSTAGRAM:"https://www.instagram.com/hellokrupetofficial/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCVK4p9YPIMkmoerk3X-y-TQ"},"ms-MY":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoktorMY/",INSTAGRAM:"https://www.instagram.com/_hellodoktor_/",TWITTER:null},"id-ID":{LINKEDIN:"https://www.linkedin.com/company/hello-sehat/",FACEBOOK:"https://www.facebook.com/hellosehat",INSTAGRAM:"https://www.instagram.com/hellosehat/",TWITTER:"https://twitter.com/HelloSehat"},"my-MM":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellosayarwon/",INSTAGRAM:"https://www.facebook.com/hellosayarwon/",TWITTER:null},"zh-TW":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/helloyishi/",INSTAGRAM:"https://www.instagram.com/helloyishi/",TWITTER:null},"hi-IN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloSwasthya/",INSTAGRAM:"https://www.instagram.com/hello_swasthya/",TWITTER:null},"th-TH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokhunmor/",INSTAGRAM:"https://www.instagram.com/hellokhunmor/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCbdbow4UhKfa7rqIhclNPIQ/"}},FLAG_LINKS:{ID:"https://hellosehat.com/",TH:"https://hellokhunmor.com/",MY:"https://hellodoktor.com/",KH:"https://hellokrupet.com/",TW:"https://helloyishi.com.tw/",MM:"https://hellosayarwon.com/",IN:"https://helloswasthya.com/",VN:"https://hellobacsi.com/",PH:"https://hellodoctor.com.ph/"},STATIC_PAGES:{"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/"}},FAVICONS:{"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}]},LOCALE_COUNTRY:{"vi-VN":{id:1,name:"Vietnam"},"id-ID":{id:2,name:"Indonesia"},"ms-MY":{id:3,name:"Malaysia"},"km-KH":{id:4,name:"Cambodia"},"en-PH":{id:5,name:"Philippines"},"th-TH":{id:6,name:"Thai Lan"},"my-MM":{id:7,name:"Myanmar"},"zh-TW":{id:8,name:"Taiwan"},"hi-IN":{id:9,name:"India"}},MAX_ALLOWED_IMG_SIZE:20971520,COUNTRY_CODE_BY_LOCALE:{"vi-VN":"vn","id-ID":"id","ms-MY":"my","km-KH":"kh","en-PH":"ph","th-TH":"th","my-MM":"mm","zh-TW":"tw","hi-IN":"in"},COUNTRY_CURRENCY_SYMBOL:{"vi-VN":"₫","id-ID":"Rp","ms-MY":"RM","km-KH":"៛","en-PH":"₱","th-TH":"฿","my-MM":"K","zh-TW":"$","hi-IN":"₹"},CURRENCY_PREFIX:{IDR:"Dimulai dari"},LOCALISED_SLUGS:{"en-PH":{PRODUCT:"product",CATEGORY:"category",BRAND:"brand",SEARCH:"search",PROFILE:"profile",PROFILE_MANAGE_ORDERS:"profile/manage-orders",PROFILE_MANAGE_ADDRESS:"profile/deliver-address",PROFILE_VOUCHER:"profile/voucher",PROFILE_MEMBER_CARD:"profile/member-card",CART:"cart",CART_CHECKOUT:"cart/checkout",ORDER_CONFIRMATION:"order-confirmation",PROMOTION:"promotion"},"vi-VN":{PRODUCT:"san-pham",CATEGORY:"danh-muc",BRAND:"thuong-hieu",SEARCH:"tim-kiem",PROFILE:"ho-so",PROFILE_MANAGE_ORDERS:"ho-so/quan-li-don-hang",PROFILE_MANAGE_ADDRESS:"ho-so/dia-chi-giao-hang",PROFILE_VOUCHER:"ho-so/khuyen-mai",PROFILE_MEMBER_CARD:"ho-so/the-thanh-vien",CART:"gio-hang",CART_CHECKOUT:"gio-hang/thanh-toan",ORDER_CONFIRMATION:"kiem-tra-don-hang",PROMOTION:"khuyen-mai"}},HEADER_LOGO_ALIGNMENT:"188px",globalFontFamily:"Inter",ENABLE_COMMUNITY_LOCALES:["vi-VN","id-ID","ms-MY","en-PH","th-TH"],ENABLE_HEALTH_PARENTING_LOCALES:["vi-VN","en-PH","id-ID","ms-MY","km-KH","th-TH","my-MM","zh-TW"],SEO_SCHEMA:v});function g(e){return null!=e}const O={formatAutoCompleteAddress:e=>e&&e.place_id?{placeId:e.place_id,description:e.description||""}:null,formatPrice:(e,o)=>{const t="string"==typeof e?parseInt(e):e;return new Intl.NumberFormat(o||"vi-VN").format(t)},formatHotSearchKeyword:e=>({text:(null==e?void 0:e.name)||""}),formatHelpfulUrl:e=>({name:(null==e?void 0:e.name)||"",featuredImage:(null==e?void 0:e.featured_image)||"",url:(null==e?void 0:e.url)||""}),formatCategory:function(o,t,l){var i,a,n;const s=l?l+"/"+o.slug:o.slug,r=(null===(a=null===(i=null==o?void 0:o.children)||void 0===i?void 0:i.map)||void 0===a?void 0:a.call(i,(e=>O.formatCategory(e,o.id,s))))||[];return{id:null==o?void 0:o.id,name:(null==o?void 0:o.name)||"",logo:(null==o?void 0:o.logo)||"",slug:(null==o?void 0:o.slug)||"",fullSlug:s||"",children:r,backgroundColor:o.color||e.theme.colors.teal50,parentId:t||0,products:(null===(n=o.products)||void 0===n?void 0:n.map(O.formatProduct))||[]}},formatFooterInfo:e=>{var o,t,l,i,a,n,s,r,u,c,d,m,p,_,h,E,I,v,T;const g=(null===(l=null===(t=null===(o=null==e?void 0:e.branch)||void 0===o?void 0:o.branch)||void 0===t?void 0:t.map)||void 0===l?void 0:l.call(t,(e=>({flag:e.flag||"",name:e.name||"",url:e.url||""}))))||[],O=(null===(n=null===(a=null===(i=null==e?void 0:e.general)||void 0===i?void 0:i.verified)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,(e=>({image:e.image||"",url:e.url||""}))))||[],A=(null===(r=null===(s=null==e?void 0:e.menu)||void 0===s?void 0:s.map)||void 0===r?void 0:r.call(s,(e=>{var o,t;return{menu_title:e.menu_title,items:null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({title:e.title,url:e.url})))}})))||[],b=(null===(d=null===(c=null===(u=null==e?void 0:e.social)||void 0===u?void 0:u.socials)||void 0===c?void 0:c.map)||void 0===d?void 0:d.call(c,(e=>({icon:e.icon||"",name:e.name||"",url:e.url||""}))))||[];return{branch:{title:(null===(m=null==e?void 0:e.branch)||void 0===m?void 0:m.title)||"",branch:g},general:{logo:null!==(_=null===(p=null==e?void 0:e.general)||void 0===p?void 0:p.logo)&&void 0!==_?_:"",content:null!==(E=null===(h=null==e?void 0:e.general)||void 0===h?void 0:h.content)&&void 0!==E?E:"",copyright:null!==(v=null===(I=null==e?void 0:e.general)||void 0===I?void 0:I.copyright)&&void 0!==v?v:"",verified:O},menu:A,social:{title:(null===(T=null==e?void 0:e.social)||void 0===T?void 0:T.title)||"",socials:b}}},formatNavigation:function(e){var o,t,l,i,a,n;return{hotSearchKeywords:(null===(t=null===(o=null==e?void 0:e.hot_search_keywords)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatHotSearchKeyword))||[],helpfulUrls:(null===(i=null===(l=null==e?void 0:e.helpful_urls)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatHelpfulUrl))||[],categories:(null===(n=null===(a=null==e?void 0:e.categories)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,(e=>O.formatCategory(e))))||[],footer:O.formatFooterInfo(null==e?void 0:e.footer),storeId:(null==e?void 0:e.store_id)||0,customerId:(null==e?void 0:e.customer_id)||0,cartItemsQty:"number"==typeof(null==e?void 0:e.cart_items_qty)?e.cart_items_qty:null}},formatPriceInfo:e=>e?{final:e.final||0,regular:e.regular||0,discountPercent:e.discount_percent||0}:null,formatProduct:function(e){var o,t,l,i;if(!e)return null;const a={final:0,regular:0,discountPercent:0};return{id:e.id||0,price:e.price&&O.formatPriceInfo(e.price)||a,thumbnail:e.thumbnail||"",name:e.name||"",averageRating:Number((e.average_rating||0).toFixed(2)),reviewsCount:e.reviews_count||0,tag:e.tag||null,sku:e.sku||"",slug:e.slug||"",images:e.images||[],tags:e.tags||[],unit:e.unit||"",brand:e.brand?{name:e.brand.name||"",image:e.brand.image||"",slug:e.brand.slug||"",productsCount:e.brand.products_count||0}:null,description:e.description||"",productPromotions:(null===(t=null===(o=e.product_promotions)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatProductPromotion).filter(g))||[],categories:(null===(i=null===(l=e.categories)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,(e=>O.formatCategory(e))).filter(g))||[],isInStock:(null==e?void 0:e.is_in_stock)||!1}},formatBanner:e=>e?{name:e.name||"",url:e.url||"",featuredImage:e.featured_image||"",alt:e.image_alt}:null,formatBlogPost:e=>{var o,t;return e?{title:e.title||"",image:e.image||"",link:e.link||"",postData:e.post_data?{reviewed:e.post_data.reviewed?{author:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.author||void 0),editor:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.editor||void 0),expert:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.expert||void 0),factCheck:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.fact_check||void 0),isAuthor:Boolean(e.post_data.reviewed.is_author)}:null,categories:e.post_data.categories?null===(t=(o=e.post_data.categories).map)||void 0===t?void 0:t.call(o,(e=>({termId:e.term_id||0,name:e.name||"",permalink:e.permalink||"",textColor:e.text_color||""}))):[],postDate:e.post_data.post_date||"",postModified:e.post_data.post_modified||"",modifiedTime:e.post_data.modified_time||""}:null}:null},formatBlogPostDataReviewedUser:e=>e?{id:e.ID||0,userId:e.user_id||0,formerRole:e.former_role||"",role:e.role||"",slug:e.slug||"",displayName:e.display_name||"",description:e.description||"",profileUrl:e.profile_url||"",avatar:e.avatar||"",avatarThumbnail:e.avatar_thumbnail||"",turnOffProfile:Boolean(e.turn_off_profile)}:null,formatBrand:function(e){var o,t,l,i;return e?{id:e.id||0,image:e.image||"",position:e.position||"",isPopular:e.is_popular||!1,summary:e.summary||"",name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatBanner).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[]}:null},formatHomePage:e=>{var o,t,l,i,a,n,s,r,u,c,d,m,p,_,h,E,I,v,T,A;return e?{brands:e.brands?null===(t=(o=e.brands).map)||void 0===t?void 0:t.call(o,O.formatBrand).filter(g):[],hotDeals:e.hot_deals?null===(i=(l=e.hot_deals).map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g):[],newProducts:e.new_products?null===(n=(a=e.new_products).map)||void 0===n?void 0:n.call(a,O.formatProduct).filter(g):[],slideBanners:e.slide_banners?null===(r=(s=e.slide_banners).map)||void 0===r?void 0:r.call(s,O.formatBanner).filter(g):[],subBanners:e.sub_banners?null===(c=(u=e.sub_banners).map)||void 0===c?void 0:c.call(u,O.formatBanner).filter(g):[],footerBanners:e.footer_banners?null===(m=(d=e.footer_banners).map)||void 0===m?void 0:m.call(d,O.formatBanner).filter(g):[],blogPosts:e.blog_posts?null===(_=(p=e.blog_posts).map)||void 0===_?void 0:_.call(p,O.formatBlogPost).filter(g):[],popularCategories:e.popular_categories?null===(E=(h=e.popular_categories).map)||void 0===E?void 0:E.call(h,(e=>O.formatCategory(e))).filter(g):[],suggestProducts:e.suggest_products?null===(v=(I=e.suggest_products).map)||void 0===v?void 0:v.call(I,(e=>O.formatCategory(e))).filter(g):[],promotions:e.promotions?null===(A=(T=e.promotions).map)||void 0===A?void 0:A.call(T,(e=>O.formatPromotion(e))).filter(g):[]}:null},formatCategoryPage:function(e){var o,t,l,i;return e?{id:e.id||0,name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatBanner).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[]}:null},formatBrandPage:function(e){return e?O.formatBrand(e):null},formatPagination:e=>e?{current:e.current||0,first:e.first||0,itemsPerPage:e.items_per_page||0,last:e.last||0,next:e.next||0,prev:e.prev||0,totalItems:e.total_items||0}:null,formatProductDetailPage:function(e){var o,t,l,i,a,n,s,r;return e?Object.assign(Object.assign({},O.formatProduct(e)),{relatedProducts:(null===(t=null===(o=e.related_products)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatProduct).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[],viewedProducts:(null===(n=null===(a=e.viewed_products)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,O.formatProduct).filter(g))||[],promotions:(null===(r=null===(s=e.promotions)||void 0===s?void 0:s.map)||void 0===r?void 0:r.call(s,O.formatPromotion).filter(g))||[]}):null},formatProductReview:e=>{var o,t;return e?{reviewId:e.review_id||"",createdAt:e.created_at||"",title:e.title||"",detail:e.detail||"",nickname:e.nick_name||"",avatar:e.avatar||"",ratingVotes:(null===(t=null===(o=e.rating_votes)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({ratingCode:e.rating_code||"",value:Number(e.value)||0,percent:Number(e.percent)||0}))))||[],images:e.images||[]}:null},formatProductPromotion:e=>e?{id:e.id||0,name:e.name||"",thumbnail:e.thumbnail||"",expirationDate:e.expiration_date||""}:null,formatPromotion:e=>e?{id:e.id||0,name:e.name||"",slug:e.slug||"",thumbnail:e.thumbnail||"",expiredDate:e.expired_date||"",banners:e.banners||[],points:0,description:e.description||"",metaTitle:e.meta_title||"",metaKeywords:e.meta_keywords||"",metaDescription:e.meta_description||""}:null,formatCustomAttributes:(e,o)=>{var t;return(null==e?void 0:e.length)&&(null===(t=null==e?void 0:e.find((e=>e.attribute_code===o)))||void 0===t?void 0:t.value)||""},formatAddress:e=>{var o,t,l,i;return e?{id:e.id||0,fullName:e.firstname||"",telephone:e.telephone||"",province:{value:null===(o=e.region)||void 0===o?void 0:o.region_id,label:null===(t=e.region)||void 0===t?void 0:t.region}||null,district:{value:O.formatCustomAttributes(e.custom_attributes,"district_id"),label:O.formatCustomAttributes(e.custom_attributes,"district")},commune:{value:O.formatCustomAttributes(e.custom_attributes,"ward_id"),label:O.formatCustomAttributes(e.custom_attributes,"ward")},street:(null===(l=null==e?void 0:e.street)||void 0===l?void 0:l.length)?null==e?void 0:e.street[0]:"",isDefault:e.default_billing&&e.default_shipping||!1,fullAddress:(null===(i=null==e?void 0:e.extension_attributes)||void 0===i?void 0:i.full_address)||""}:null},formatProvince:e=>(null==e?void 0:e.available_regions)?e.available_regions.map((e=>({value:e.id||"",label:e.name||""}))):[],formatDistrict:e=>(null==e?void 0:e.districts)?e.districts.map((e=>({value:e.id||"",label:e.name||""}))):[],formatCommune:e=>(null==e?void 0:e.communes)?e.communes.map((e=>({value:e.id||"",label:e.name||""}))):[],formatOrder:e=>{var o,t;return e?{orderNumber:(null==e?void 0:e.order_number)||"",shippingData:(null==e?void 0:e.shipping_data)?{shippingMethod:e.shipping_data.shipping_method||"",shippingDescription:e.shipping_data.shipping_description||"",shippingAddress:e.shipping_data.shipping_address?{fullName:e.shipping_data.shipping_address.firstname||"",fullAddress:e.shipping_data.shipping_address.full_address||"",telephone:e.shipping_data.shipping_address.telephone||""}:null,storeAddress:null}:null,orderedDate:(null==e?void 0:e.ordered_date)||"",status:(null==e?void 0:e.status)||null,totals:(null==e?void 0:e.totals)?{subtotal:e.totals.subtotal||0,shippingAmount:e.totals.shipping_amount||0,discountAmount:e.totals.discount_amount||0,grandTotal:e.totals.grand_total||0}:null,products:(null===(t=null===(o=null==e?void 0:e.products)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({sku:e.sku||"",name:e.name||"",price:e.price||0,rowTotal:e.row_total||0,image:e.image||"",qty:e.qty||0}))))||[],paymentMethod:(null==e?void 0:e.payment_method)||""}:null},formatStatistic:e=>{var o,t,l,i,a;return e?{pending:Number(null===(o=null==e?void 0:e.find((e=>"pending"===e.status)))||void 0===o?void 0:o.amount)||0,processing:Number(null===(t=null==e?void 0:e.find((e=>"processing"===e.status)))||void 0===t?void 0:t.amount)||0,delivering:Number(null===(l=null==e?void 0:e.find((e=>"delivering"===e.status)))||void 0===l?void 0:l.amount)||0,complete:Number(null===(i=null==e?void 0:e.find((e=>"complete"===e.status)))||void 0===i?void 0:i.amount)||0,canceled:Number(null===(a=null==e?void 0:e.find((e=>"canceled"===e.status)))||void 0===a?void 0:a.amount)||0}:{}},formatCartItem:e=>{var o,t,l,i,a,n,s,r;return e?{itemId:e.item_id||0,sku:e.sku||"",qty:e.qty||0,name:e.name||"",price:e.price||0,basePrice:(null===(o=e.extension_attributes)||void 0===o?void 0:o.base_price)||0,productType:e.product_type||"",quoteId:e.quote_id||"",thumbnail:(null===(t=e.extension_attributes)||void 0===t?void 0:t.thumbnail)||"",rowTotal:(null===(l=e.extension_attributes)||void 0===l?void 0:l.row_total)||0,promotions:(null===(n=null===(a=null===(i=e.extension_attributes)||void 0===i?void 0:i.promotions)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,O.formatProductPromotion))||[],isInStock:(null===(s=e.extension_attributes)||void 0===s?void 0:s.is_in_stock)||!1,urlProduct:(null===(r=e.extension_attributes)||void 0===r?void 0:r.url_key)||""}:null},formatCartAddress:e=>{var o;return e?{customerAddressId:(null==e?void 0:e.customer_address_id)||0,id:e.id||0,region:e.region||"",regionId:e.region_id||0,regionCode:e.region_code||"",countryId:e.country_id||"",street:e.street||[],postcode:e.postcode||"",city:e.city||"",firstname:e.firstname||"",lastname:e.lastname||"",customerId:e.customer_id||0,email:e.email||"",telephone:e.telephone||"",sameAsBilling:e.same_as_billing||0,saveInAddressBook:e.save_in_address_book||0,fullAddress:(null===(o=e.extension_attributes)||void 0===o?void 0:o.full_address)||""}:null},formatEstimatedShipping:e=>e?{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",carrierTitle:e.carrier_title||"",methodTitle:e.method_title||"",amount:e.amount||0,baseAmount:e.base_amount||0,available:e.available||!1,errorMessage:e.error_message||"",priceExclTax:e.price_excl_tax||0,priceInclTax:e.price_incl_tax||0}:null,formatCartLoggedInCustomer:e=>{var o,t,l;return e?{email:e.email||"",firstname:e.firstname||"",lastname:e.lastname||"",id:e.id||0,groupId:e.group_id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",createdIn:e.created_in||"",storeId:e.store_id||0,websiteId:e.website_id||0,addresses:(null===(t=null===(o=e.addresses)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatCartAddress))||[],disableAutoGroupChange:e.disable_auto_group_change||0,isSubscribed:(null===(l=e.extension_attributes)||void 0===l?void 0:l.is_subscribed)||!1}:null},formatCart:e=>{var o,t,l,i,a,n,s,r,u,c,d,m,p,_;return e?{id:e.id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",isActive:e.is_active||!1,isVirtual:e.is_virtual||!1,items:(null===(l=null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatCartItem))||void 0===l?void 0:l.sort(((e,o)=>Number(null==o?void 0:o.isInStock)-Number(null==e?void 0:e.isInStock))))||[],itemsCount:e.items_count||0,itemsQty:e.items_qty||0,customer:e.customer?O.formatCartLoggedInCustomer(e.customer):null,billingAddress:e.billing_address?O.formatCartAddress(e.billing_address):null,origOrderId:e.orig_order_id||0,currency:{globalCurrencyCode:(null===(i=e.currency)||void 0===i?void 0:i.global_currency_code)||"",baseCurrencyCode:(null===(a=e.currency)||void 0===a?void 0:a.base_currency_code)||"",storeCurrencyCode:(null===(n=e.currency)||void 0===n?void 0:n.store_currency_code)||"",quoteCurrencyCode:(null===(s=e.currency)||void 0===s?void 0:s.quote_currency_code)||"",storeToBaseRate:(null===(r=e.currency)||void 0===r?void 0:r.store_to_base_rate)||0,storeToQuoteRate:(null===(u=e.currency)||void 0===u?void 0:u.store_to_quote_rate)||0,baseToGlobalRate:(null===(c=e.currency)||void 0===c?void 0:c.base_to_global_rate)||0,baseToQuoteRate:(null===(d=e.currency)||void 0===d?void 0:d.base_to_quote_rate)||0},customerIsGuest:e.customer_is_guest||!1,customerNoteNotify:e.customer_note_notify||!1,customerTaxClassId:e.customer_tax_class_id||0,storeId:e.store_id||0,shippingAssignments:null===(_=null===(p=null===(m=e.extension_attributes)||void 0===m?void 0:m.shipping_assignments)||void 0===p?void 0:p.map)||void 0===_?void 0:_.call(p,(e=>{var o,t,l;return{shipping:{address:e.shipping.address?O.formatCartAddress(e.shipping.address):null,method:(null===(o=e.shipping)||void 0===o?void 0:o.method)||""},items:(null===(l=(t=e.items).map)||void 0===l?void 0:l.call(t,O.formatCartItem))||[]}}))}:null},formatCartTotal:e=>{var o,t,l;return e?{grandTotal:e.grand_total||0,baseGrandTotal:e.base_grand_total||0,subtotal:e.subtotal||0,baseSubtotal:e.base_subtotal||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,subtotalWithDiscount:e.subtotal_with_discount||0,baseSubtotalWithDiscount:e.base_subtotal_with_discount||0,shippingAmount:e.shipping_amount||0,baseShippingAmount:e.base_shipping_amount||0,shippingDiscountAmount:e.shipping_discount_amount||0,baseShippingDiscountAmount:e.base_shipping_discount_amount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,shippingTaxAmount:e.shipping_tax_amount||0,baseShippingTaxAmount:e.base_shipping_tax_amount||0,subtotalInclTax:e.subtotal_incl_tax||0,shippingInclTax:e.shipping_incl_tax||0,baseShippingInclTax:e.base_shipping_incl_tax||0,baseCurrencyCode:e.base_currency_code||"",quoteCurrencyCode:e.quote_currency_code||"",itemsQty:e.items_qty||0,coupon:{couponCode:e.coupon_code||"",couponDescription:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.coupon_description_text)||""},items:(null===(l=null===(t=e.items)||void 0===t?void 0:t.map)||void 0===l?void 0:l.call(t,(e=>({itemId:e.item_id||0,price:e.price||0,basePrice:e.base_price||0,qty:e.qty||0,rowTotal:e.row_total||0,baseRowTotal:e.base_row_total||0,rowTotalWithDiscount:e.row_total_with_discount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,taxPercent:e.tax_percent||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,discountPercent:e.discount_percent||0,priceInclTax:e.price_incl_tax||0,basePriceInclTax:e.base_price_incl_tax||0,rowTotalInclTax:e.row_total_incl_tax||0,baseRowTotalInclTax:e.base_row_total_incl_tax||0,options:e.options||"",weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,weeeTaxApplied:e.weee_tax_applied||0,name:e.name||""}))))||[],totalSegments:e.total_segments||[]}:null},formatPaymentMethod:e=>e?null==e?void 0:e.map((e=>({code:(null==e?void 0:e.payment_code)||"",title:(null==e?void 0:e.payment_title)||"",thumbnail:(null==e?void 0:e.payment_thumbnail)||""}))):null,formatPaymentInformation:e=>{var o;return e?{paymentMethods:O.formatPaymentMethod(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.payment_detail_info)||[],totals:O.formatCartTotal(e.totals)}:null},formatOrderConfirmation:e=>e?{isSuccess:e.is_success||!1,orderInfo:O.formatOrder(e.order_info)}:null,formatCoupons:e=>{var o;return(null===(o=null==e?void 0:e.items)||void 0===o?void 0:o.length)?e.items.map((e=>({code:(null==e?void 0:e.code)||"",name:(null==e?void 0:e.name)||"",thumbnail:(null==e?void 0:e.thumbnail)||"",description:(null==e?void 0:e.expired_date)||""}))):null},formatShippings:e=>e?e.map((e=>{var o;return{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",title:e.carrier_title||"",description:e.method_title||"",price:(null==e?void 0:e.base_amount)||0,thumbnail:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.thumbnail)||""}})):[]};var A=Object.freeze({__proto__:null,dataFormatter:O});exports.Types=t.types,exports.ApiTypes=l,exports.Constants=T,exports.DataFormatter=A,exports.DataTypes=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a,i,e,n,o,t;!function(a){a.Boy="boy",a.Girl="girl"}(a||(a={})),function(a){a[a.
|
|
1
|
+
var a,i,e,n,o,t;!function(a){a.Boy="boy",a.Girl="girl"}(a||(a={})),function(a){a[a.Height=0]="Height",a[a.Weight=1]="Weight",a[a.Head=2]="Head",a[a.BMI=3]="BMI"}(i||(i={})),function(a){a[a.Weekly=0]="Weekly",a[a.Monthly=1]="Monthly",a[a.Yearly=2]="Yearly"}(e||(e={})),function(a){a[a.Height=0]="Height",a[a.Weight=1]="Weight",a[a.Head=2]="Head",a[a.BMI=3]="BMI",a[a.Record=4]="Record"}(n||(n={})),function(a){a.Vietnam="vi-VN",a.Indonesia="id-ID",a.Malaysia="ms-MY",a.Cambodia="km-KH",a.PhilippinesEnglish="en-PH",a.PhilippinesTagalog="tl-PH",a.Thailand="th-TH",a.Myanmar="my-MM",a.Taiwan="zh-TW",a.India="hi-IN"}(o||(o={})),function(a){a[a.Phone=0]="Phone",a[a.OTP=1]="OTP",a[a.OTPEmail=2]="OTPEmail",a[a.PersonalInfo=3]="PersonalInfo",a[a.UpdatePassword=4]="UpdatePassword",a[a.Result=5]="Result",a[a.DynamicForm=6]="DynamicForm"}(t||(t={}));export{i as B,a as G,o as L,t as O,e as a,n as b};
|
package/build/esm/babyGrowth.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{D as e,M as t}from"./index-
|
|
1
|
+
import{D as e,M as t}from"./index-efc99972.js";export{B as BabyGrowthGender}from"./index-efc99972.js";import r,{useMemo as l,useRef as o,useState as a,useEffect as i}from"react";import{L as n,G as c,B as s,a as d}from"./Onboarding-fd579f72.js";import{t as m}from"./theme-552e8fb4.js";import{T as C,I as p}from"./index-2e2b0db2.js";import h from"styled-components";import{B as y}from"./index-ba50e0db.js";import{M as g}from"./index-8fd63502.js";import{h as u,n as f}from"./screenSizeContext-9a12cff0.js";import b from"dayjs";import{u as E}from"./useTranslations-10e9f360.js";import"lodash/debounce";import"./isProduction-ee053516.js";import"./index-7e6ef4fe.js";import"./useCategory-07fae2b9.js";import{a as x,l as w}from"./localizeNumberFormat-5a52ff92.js";import{H as v,C as L}from"./index.styles-e345cd05.js";import{_ as M,a as k}from"./tslib.es6-ff502d3f.js";import"@mantine/core";import"./gAssets.js";import{T as H}from"./index-cff1d249.js";import{a as I}from"./useOutsideClick-eb1e8600.js";import"@mantine/dates";import"@mantine/hooks";import{I as j}from"./index-739bb5e8.js";import{ResponsiveContainer as S,LineChart as G,CartesianGrid as R,Tooltip as z,XAxis as Z,YAxis as _,Line as N,ReferenceDot as V}from"recharts";import T from"lodash/chunk";import"./useScrollbarSize-45acc65f.js";import"react-dom";import"lodash/throttle";import"./translationsContext-cd4c35ad.js";import"string-format";import"date-fns/locale";import"@mantine/carousel";import"react-keyed-flatten-children";import"./cookieHelper-6c64533f.js";import"slugify";const A=h.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: center;
|
|
4
4
|
gap: 16px;
|
|
@@ -381,7 +381,7 @@ import{D as e,M as t}from"./index-d3315581.js";export{B as BabyGrowthGender}from
|
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
|
-
`,ye=({isActive:e,onChange:t,value:l="",onInputChange:o,siteType:a})=>{const{t:i}=E(),n="marryBaby"===a;return r.createElement(he,{onClick:()=>t("new"),"data-is-mb":n,"data-isActive":n&&e},"marryBaby"===a?r.createElement("div",{className:"title"},r.createElement(g,{type:"bodytext-1",color:m.colors.gray800},i("chooseBaby.new")),r.createElement("div",{className:e?"radio active":"radio"},e&&r.createElement(p.CheckActiveMB,{size:26}))):r.createElement("div",{className:"title"},r.createElement(C,{size:"p2",color:m.colors.gray800},i("chooseBaby.new")),r.createElement("div",{className:e?"radio active":"radio"})),r.createElement(j,{name:"name",value:l,size:"md",placeholder:i("chooseBaby.placeholder"),type:"text",onChange:o}))},ge=e=>{var t,l,{babyProfiles:o,currentProfileId:i,onClose:n,onCreate:c,onAddMeasurement:s,onSwitchProfile:d,open:C,isMobile:p,isMyProfile:h=!1,buttonGroup:u,newBabyValue:f,onNewBabyValueChange:b,siteType:x,buttonText:w,headerText:v}=e,L=M(e,["babyProfiles","currentProfileId","onClose","onCreate","onAddMeasurement","onSwitchProfile","open","isMobile","isMyProfile","buttonGroup","newBabyValue","onNewBabyValueChange","siteType","buttonText","headerText"]);const k=e=>h?r.createElement(r.Fragment,null,r.createElement(y,{theme:x,onClick:()=>{null==c||c(),n()},size:"lg",color:"secondary",icon:r.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M13.5 9.75H9.75V13.5C9.75 13.9125 9.4125 14.25 9 14.25C8.5875 14.25 8.25 13.9125 8.25 13.5V9.75H4.5C4.0875 9.75 3.75 9.4125 3.75 9C3.75 8.5875 4.0875 8.25 4.5 8.25H8.25V4.5C8.25 4.0875 8.5875 3.75 9 3.75C9.4125 3.75 9.75 4.0875 9.75 4.5V8.25H13.5C13.9125 8.25 14.25 8.5875 14.25 9C14.25 9.4125 13.9125 9.75 13.5 9.75Z",fill:"#2D87F3"}))},j("babyGrowth.drawer.createBaby")),r.createElement(y,{theme:x,size:"lg",color:"primary",onClick:()=>{null==e||e(),h?null==d||d(B):null==s||s(B),n()}},j(h?"babyGrowth.drawer.switchProfile":"babyGrowth.drawer.addMeasurement"))):r.createElement(y,{theme:x,size:"lg",color:"primary",onClick:()=>{null==s||s(B),null==e||e(),n()}},w||j("chooseBaby.button")),[B,I]=a(String(i)||String(null===(t=o[0])||void 0===t?void 0:t.id)),{t:j}=E();return p?r.createElement(me,Object.assign({title:v||"Baby profiles",onClose:n,open:C,placement:"bottom"},L),(({internalClose:e})=>{var t;return r.createElement("div",{className:"add-profile-container"},r.createElement("div",{className:"profile-container"},null===(t=o||[])||void 0===t?void 0:t.map((e=>r.createElement(Q,{siteType:x,key:e.id,profile:e,isActive:B===String(e.id),onChange:I}))),!h&&r.createElement(ye,{siteType:x,value:f,onInputChange:b,isActive:"new"===B,onChange:I})),r.createElement("div",{className:"button-group"},u||k(e)))})):r.createElement(Ce,{type:"confirm",isOpen:C,onClose:n,siteType:x},r.createElement("div",{className:"header"},r.createElement("div",{className:"title"},"marryBaby"===x?r.createElement(g,{type:"subtitle-1",color:m.mbColors.dark},j("chooseBaby.title")):r.createElement(H,{size:"s2",type:"semiBold"},v||j("chooseBaby.title")),r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"close-button",onClick:n},r.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"})))),r.createElement("div",{className:"profile-container"},null===(l=o||[])||void 0===l?void 0:l.map((e=>r.createElement(Q,{key:e.id,profile:e,isActive:B===String(e.id),onChange:I,siteType:x}))),!h&&r.createElement(ye,{value:f,onInputChange:b,isActive:"new"===B,onChange:I,siteType:x})),r.createElement("div",{className:"button-group"},u||k()))},ue={[c.Boy]:{[s.Weight]:{[d.Weekly]:()=>import("./WEIGHT_BOYS.percentile.weekly-08516090.js"),[d.Monthly]:()=>import("./WEIGHT_BOYS.percentile.monthly-745f624f.js"),[d.Yearly]:()=>import("./WEIGHT_BOYS.percentile.yearly-0a75ce2b.js")},[s.Height]:{[d.Weekly]:()=>import("./HEIGHT_BOYS.percentile.weekly-811299eb.js"),[d.Monthly]:()=>import("./HEIGHT_BOYS.percentile.monthly-cd6be793.js"),[d.Yearly]:()=>import("./HEIGHT_BOYS.percentile.yearly-90e51744.js")},[s.Head]:{[d.Weekly]:()=>import("./HEAD CIRCUM_BOYS.percentile.weekly-2675fbd0.js"),[d.Monthly]:()=>import("./HEAD CIRCUM_BOYS.percentile.monthly-a8766765.js"),[d.Yearly]:()=>import("./HEAD CIRCUM_BOYS.percentile.yearly-99e8d1b8.js")},[s.BMI]:{[d.Weekly]:()=>import("./BMI_BOYS.percentile.weekly-5a76a7bd.js"),[d.Monthly]:()=>import("./BMI_BOYS.percentile.monthly-a3c3f842.js"),[d.Yearly]:()=>import("./BMI_BOYS.percentile.yearly-42f96876.js")}},[c.Girl]:{[s.Weight]:{[d.Weekly]:()=>import("./WEIGHT_GIRLS.percentile.weekly-21fa3d64.js"),[d.Monthly]:()=>import("./WEIGHT_GIRLS.percentile.monthly-acf985d8.js"),[d.Yearly]:()=>import("./WEIGHT_GIRLS.percentile.yearly-a1c3e409.js")},[s.Height]:{[d.Weekly]:()=>import("./HEIGHT_GIRLS.percentile.weekly-3a88633c.js"),[d.Monthly]:()=>import("./HEIGHT_GIRLS.percentile.monthly-4024238c.js"),[d.Yearly]:()=>import("./HEIGHT_GIRLS.percentile.yearly-1eff662e.js")},[s.Head]:{[d.Weekly]:()=>import("./HEAD CIRCUM_GIRLS.percentile.weekly-9fc8b016.js"),[d.Monthly]:()=>import("./HEAD CIRCUM_GIRLS.percentile.monthly-10072522.js"),[d.Yearly]:()=>import("./HEAD CIRCUM_GIRLS.percentile.yearly-0a52d8db.js")},[s.BMI]:{[d.Weekly]:()=>import("./BMI_GIRLS.percentile.weekly-21dcc807.js"),[d.Monthly]:()=>import("./BMI_GIRLS.percentile.monthly-a2058343.js"),[d.Yearly]:()=>import("./BMI_GIRLS.percentile.yearly-6780d86b.js")}}},fe={[c.Boy]:{[s.Weight]:{[d.Weekly]:()=>import("./WEIGHT_BOYS.zscore.weekly-2650b609.js"),[d.Monthly]:()=>import("./WEIGHT_BOYS.zscore.monthly-8683d89d.js"),[d.Yearly]:()=>import("./WEIGHT_BOYS.zscore.yearly-cf1f8552.js")},[s.Height]:{[d.Weekly]:()=>import("./HEIGHT_BOYS.zscore.weekly-895acf84.js"),[d.Monthly]:()=>import("./HEIGHT_BOYS.zscore.monthly-bd0d83b6.js"),[d.Yearly]:()=>import("./HEIGHT_BOYS.zscore.yearly-331091af.js")},[s.Head]:{[d.Weekly]:()=>import("./HEAD CIRCUM_BOYS.zscore.weekly-2d64c079.js"),[d.Monthly]:()=>import("./HEAD CIRCUM_BOYS.zscore.monthly-7cd1810a.js"),[d.Yearly]:()=>import("./HEAD CIRCUM_BOYS.zscore.yearly-79e8a0fa.js")},[s.BMI]:{[d.Weekly]:()=>import("./BMI_BOYS.zscore.weekly-29cf96ac.js"),[d.Monthly]:()=>import("./BMI_BOYS.zscore.monthly-de3cecd1.js"),[d.Yearly]:()=>import("./BMI_BOYS.zscore.yearly-168bb119.js")}},[c.Girl]:{[s.Weight]:{[d.Weekly]:()=>import("./WEIGHT_GIRLS.zscore.weekly-c517ad71.js"),[d.Monthly]:()=>import("./WEIGHT_GIRLS.zscore.monthly-f7a49e70.js"),[d.Yearly]:()=>import("./WEIGHT_GIRLS.zscore.yearly-9d93e018.js")},[s.Height]:{[d.Weekly]:()=>import("./HEIGHT_GIRLS.zscore.weekly-4a51b608.js"),[d.Monthly]:()=>import("./HEIGHT_GIRLS.zscore.monthly-6aeaf9c8.js"),[d.Yearly]:()=>import("./HEIGHT_GIRLS.zscore.yearly-bfdde97f.js")},[s.Head]:{[d.Weekly]:()=>import("./HEAD CIRCUM_GIRLS.zscore.weekly-3b1f18f7.js"),[d.Monthly]:()=>import("./HEAD CIRCUM_GIRLS.zscore.monthly-1d5fdc8d.js"),[d.Yearly]:()=>import("./HEAD CIRCUM_GIRLS.zscore.yearly-20197312.js")},[s.BMI]:{[d.Weekly]:()=>import("./BMI_GIRLS.zscore.weekly-4343ad0d.js"),[d.Monthly]:()=>import("./BMI_GIRLS.zscore.monthly-5f00f5ba.js"),[d.Yearly]:()=>import("./BMI_GIRLS.zscore.yearly-a39ff00d.js")}}},be=(e,t,r,l,o)=>{const a=e.slice(t-1,r);let[i,n]=[a[0][l],a[0][l]];return a.forEach((e=>{e[l]>n&&(n=e[l]),e[l]<i&&(i=e[l])})),[(0|i)-o,(0|n)+o]},Ee=(e,t,r,l)=>l===n.Indonesia?fe[e][t][r]():ue[e][t][r](),xe=(e,t)=>{const[r,l]=T(t,Math.ceil(t.length/2)),o=r.map((e=>e.name)),a=l.map((e=>e.name));return o.includes(e)?{data:r,status:"first-half"}:a.includes(e)?{data:l,status:"second-half"}:{data:t,status:"full"}},we=(e,t)=>[...e,...t.map((e=>({name:e.name,history:e.history,risk:e.risk,toolTipLabel:e.toolTipLabel})))].sort(((e,t)=>e.name-t.name)),ve=(e,t,r,l,o)=>[...e,{name:l,history:o,risk:t,toolTipLabel:r}].sort(((e,t)=>e.name-t.name)),Le=(e,t=0)=>{const r=[];for(const l in e){e[l].forEach(((e,o)=>{r[o]?r[o][l]=e:r[o]={name:o+t,[l]:e}}))}return r},Me=(e,t=0)=>Array.from({length:e-t+1},((e,r)=>r+t)),ke=()=>{var e;const t=null===(e=document.getElementsByClassName("recharts-cartesian-grid-vertical"))||void 0===e?void 0:e[0];if(console.log(t),!t)return;const r=t.getElementsByTagName("line");for(let e=0;e<r.length;e++){if(e%2!=0){const l=r[e],o=r[e+1],a=l.getAttribute("x1"),i=l.getAttribute("y"),n=l.getAttribute("height"),c=l.getAttribute("x1"),s=o.getAttribute("x1");console.log({oddLine:l,nextLine:o});const d=document.createElementNS("http://www.w3.org/1999/xhtml","rect");d.setAttribute("stroke",m.colors.primary50),d.setAttribute("fill",m.colors.primary50),d.setAttribute("x",a),d.setAttribute("y",i),d.setAttribute("height",n),d.setAttribute("width",String(Number(s)-Number(c))),t.appendChild(l),t.appendChild(d)}else t.appendChild(r[e]);console.log(t)}},Be=h.div`
|
|
384
|
+
`,ye=({isActive:e,onChange:t,value:l="",onInputChange:o,siteType:a})=>{const{t:i}=E(),n="marryBaby"===a;return r.createElement(he,{onClick:()=>t("new"),"data-is-mb":n,"data-isActive":n&&e},"marryBaby"===a?r.createElement("div",{className:"title"},r.createElement(g,{type:"bodytext-1",color:m.colors.gray800},i("chooseBaby.new")),r.createElement("div",{className:e?"radio active":"radio"},e&&r.createElement(p.CheckActiveMB,{size:26}))):r.createElement("div",{className:"title"},r.createElement(C,{size:"p2",color:m.colors.gray800},i("chooseBaby.new")),r.createElement("div",{className:e?"radio active":"radio"})),r.createElement(j,{name:"name",value:l,size:"md",placeholder:i("chooseBaby.placeholder"),type:"text",onChange:o}))},ge=e=>{var t,l,{babyProfiles:o,currentProfileId:i,onClose:n,onCreate:c,onAddMeasurement:s,onSwitchProfile:d,open:C,isMobile:p,isMyProfile:h=!1,buttonGroup:u,newBabyValue:f,onNewBabyValueChange:b,siteType:x,buttonText:w,headerText:v}=e,L=M(e,["babyProfiles","currentProfileId","onClose","onCreate","onAddMeasurement","onSwitchProfile","open","isMobile","isMyProfile","buttonGroup","newBabyValue","onNewBabyValueChange","siteType","buttonText","headerText"]);const k=e=>h?r.createElement(r.Fragment,null,r.createElement(y,{theme:x,onClick:()=>{null==c||c(),n()},size:"lg",color:"secondary",icon:r.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M13.5 9.75H9.75V13.5C9.75 13.9125 9.4125 14.25 9 14.25C8.5875 14.25 8.25 13.9125 8.25 13.5V9.75H4.5C4.0875 9.75 3.75 9.4125 3.75 9C3.75 8.5875 4.0875 8.25 4.5 8.25H8.25V4.5C8.25 4.0875 8.5875 3.75 9 3.75C9.4125 3.75 9.75 4.0875 9.75 4.5V8.25H13.5C13.9125 8.25 14.25 8.5875 14.25 9C14.25 9.4125 13.9125 9.75 13.5 9.75Z",fill:"#2D87F3"}))},j("babyGrowth.drawer.createBaby")),r.createElement(y,{theme:x,size:"lg",color:"primary",onClick:()=>{null==e||e(),h?null==d||d(B):null==s||s(B),n()}},j(h?"babyGrowth.drawer.switchProfile":"babyGrowth.drawer.addMeasurement"))):r.createElement(y,{theme:x,size:"lg",color:"primary",onClick:()=>{null==s||s(B),null==e||e(),n()}},w||j("chooseBaby.button")),[B,I]=a(String(i)||String(null===(t=o[0])||void 0===t?void 0:t.id)),{t:j}=E();return p?r.createElement(me,Object.assign({title:v||"Baby profiles",onClose:n,open:C,placement:"bottom"},L),(({internalClose:e})=>{var t;return r.createElement("div",{className:"add-profile-container"},r.createElement("div",{className:"profile-container"},null===(t=o||[])||void 0===t?void 0:t.map((e=>r.createElement(Q,{siteType:x,key:e.id,profile:e,isActive:B===String(e.id),onChange:I}))),!h&&r.createElement(ye,{siteType:x,value:f,onInputChange:b,isActive:"new"===B,onChange:I})),r.createElement("div",{className:"button-group"},u||k(e)))})):r.createElement(Ce,{type:"confirm",isOpen:C,onClose:n,siteType:x},r.createElement("div",{className:"header"},r.createElement("div",{className:"title"},"marryBaby"===x?r.createElement(g,{type:"subtitle-1",color:m.mbColors.dark},j("chooseBaby.title")):r.createElement(H,{size:"s2",type:"semiBold"},v||j("chooseBaby.title")),r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"close-button",onClick:n},r.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"})))),r.createElement("div",{className:"profile-container"},null===(l=o||[])||void 0===l?void 0:l.map((e=>r.createElement(Q,{key:e.id,profile:e,isActive:B===String(e.id),onChange:I,siteType:x}))),!h&&r.createElement(ye,{value:f,onInputChange:b,isActive:"new"===B,onChange:I,siteType:x})),r.createElement("div",{className:"button-group"},u||k()))},ue={[c.Boy]:{[s.Height]:{[d.Weekly]:()=>import("./HEIGHT_BOYS.percentile.weekly-974ec4ca.js"),[d.Monthly]:()=>import("./HEIGHT_BOYS.percentile.monthly-0feff9f6.js"),[d.Yearly]:()=>import("./HEIGHT_BOYS.percentile.yearly-962d1b63.js")},[s.Weight]:{[d.Weekly]:()=>import("./WEIGHT_BOYS.percentile.weekly-c39d2f84.js"),[d.Monthly]:()=>import("./WEIGHT_BOYS.percentile.monthly-d0422149.js"),[d.Yearly]:()=>import("./WEIGHT_BOYS.percentile.yearly-5ae01058.js")},[s.Head]:{[d.Weekly]:()=>import("./HEAD CIRCUM_BOYS.percentile.weekly-7b726611.js"),[d.Monthly]:()=>import("./HEAD CIRCUM_BOYS.percentile.monthly-61d7fe7f.js"),[d.Yearly]:()=>import("./HEAD CIRCUM_BOYS.percentile.yearly-4cc976a8.js")},[s.BMI]:{[d.Weekly]:()=>import("./BMI_BOYS.percentile.weekly-5cb93233.js"),[d.Monthly]:()=>import("./BMI_BOYS.percentile.monthly-a41b0df5.js"),[d.Yearly]:()=>import("./BMI_BOYS.percentile.yearly-7acab009.js")}},[c.Girl]:{[s.Height]:{[d.Weekly]:()=>import("./HEIGHT_GIRLS.percentile.weekly-10589f87.js"),[d.Monthly]:()=>import("./HEIGHT_GIRLS.percentile.monthly-c88cdfb5.js"),[d.Yearly]:()=>import("./HEIGHT_GIRLS.percentile.yearly-06416dce.js")},[s.Weight]:{[d.Weekly]:()=>import("./WEIGHT_GIRLS.percentile.weekly-6ad06231.js"),[d.Monthly]:()=>import("./WEIGHT_GIRLS.percentile.monthly-3dd2ec93.js"),[d.Yearly]:()=>import("./WEIGHT_GIRLS.percentile.yearly-f19bf1ca.js")},[s.Head]:{[d.Weekly]:()=>import("./HEAD CIRCUM_GIRLS.percentile.weekly-0364573c.js"),[d.Monthly]:()=>import("./HEAD CIRCUM_GIRLS.percentile.monthly-46829c05.js"),[d.Yearly]:()=>import("./HEAD CIRCUM_GIRLS.percentile.yearly-f1b5739a.js")},[s.BMI]:{[d.Weekly]:()=>import("./BMI_GIRLS.percentile.weekly-e2611fc7.js"),[d.Monthly]:()=>import("./BMI_GIRLS.percentile.monthly-55339604.js"),[d.Yearly]:()=>import("./BMI_GIRLS.percentile.yearly-329b3569.js")}}},fe={[c.Boy]:{[s.Height]:{[d.Weekly]:()=>import("./HEIGHT_BOYS.zscore.weekly-5d5a66c8.js"),[d.Monthly]:()=>import("./HEIGHT_BOYS.zscore.monthly-a110c21a.js"),[d.Yearly]:()=>import("./HEIGHT_BOYS.zscore.yearly-6b40fe58.js")},[s.Weight]:{[d.Weekly]:()=>import("./WEIGHT_BOYS.zscore.weekly-9ef5a25f.js"),[d.Monthly]:()=>import("./WEIGHT_BOYS.zscore.monthly-0124c542.js"),[d.Yearly]:()=>import("./WEIGHT_BOYS.zscore.yearly-fb69bbc5.js")},[s.Head]:{[d.Weekly]:()=>import("./HEAD CIRCUM_BOYS.zscore.weekly-d70c1eae.js"),[d.Monthly]:()=>import("./HEAD CIRCUM_BOYS.zscore.monthly-e7e49ca1.js"),[d.Yearly]:()=>import("./HEAD CIRCUM_BOYS.zscore.yearly-e033ecfe.js")},[s.BMI]:{[d.Weekly]:()=>import("./BMI_BOYS.zscore.weekly-3b078181.js"),[d.Monthly]:()=>import("./BMI_BOYS.zscore.monthly-06fc44ed.js"),[d.Yearly]:()=>import("./BMI_BOYS.zscore.yearly-7635211d.js")}},[c.Girl]:{[s.Height]:{[d.Weekly]:()=>import("./HEIGHT_GIRLS.zscore.weekly-05b8b1e8.js"),[d.Monthly]:()=>import("./HEIGHT_GIRLS.zscore.monthly-6b6b8944.js"),[d.Yearly]:()=>import("./HEIGHT_GIRLS.zscore.yearly-0d1754a8.js")},[s.Weight]:{[d.Weekly]:()=>import("./WEIGHT_GIRLS.zscore.weekly-21b23f91.js"),[d.Monthly]:()=>import("./WEIGHT_GIRLS.zscore.monthly-9b2c414a.js"),[d.Yearly]:()=>import("./WEIGHT_GIRLS.zscore.yearly-2e67337b.js")},[s.Head]:{[d.Weekly]:()=>import("./HEAD CIRCUM_GIRLS.zscore.weekly-98031837.js"),[d.Monthly]:()=>import("./HEAD CIRCUM_GIRLS.zscore.monthly-4f617935.js"),[d.Yearly]:()=>import("./HEAD CIRCUM_GIRLS.zscore.yearly-0513f8e5.js")},[s.BMI]:{[d.Weekly]:()=>import("./BMI_GIRLS.zscore.weekly-8378decd.js"),[d.Monthly]:()=>import("./BMI_GIRLS.zscore.monthly-3b1a5c93.js"),[d.Yearly]:()=>import("./BMI_GIRLS.zscore.yearly-52cc14cb.js")}}},be=(e,t,r,l,o)=>{const a=e.slice(t-1,r);let[i,n]=[a[0][l],a[0][l]];return a.forEach((e=>{e[l]>n&&(n=e[l]),e[l]<i&&(i=e[l])})),[(0|i)-o,(0|n)+o]},Ee=(e,t,r,l)=>l===n.Indonesia?fe[e][t][r]():ue[e][t][r](),xe=(e,t)=>{const[r,l]=T(t,Math.ceil(t.length/2)),o=r.map((e=>e.name)),a=l.map((e=>e.name));return o.includes(e)?{data:r,status:"first-half"}:a.includes(e)?{data:l,status:"second-half"}:{data:t,status:"full"}},we=(e,t)=>[...e,...t.map((e=>({name:e.name,history:e.history,risk:e.risk,toolTipLabel:e.toolTipLabel})))].sort(((e,t)=>e.name-t.name)),ve=(e,t,r,l,o)=>[...e,{name:l,history:o,risk:t,toolTipLabel:r}].sort(((e,t)=>e.name-t.name)),Le=(e,t=0)=>{const r=[];for(const l in e){e[l].forEach(((e,o)=>{r[o]?r[o][l]=e:r[o]={name:o+t,[l]:e}}))}return r},Me=(e,t=0)=>Array.from({length:e-t+1},((e,r)=>r+t)),ke=()=>{var e;const t=null===(e=document.getElementsByClassName("recharts-cartesian-grid-vertical"))||void 0===e?void 0:e[0];if(console.log(t),!t)return;const r=t.getElementsByTagName("line");for(let e=0;e<r.length;e++){if(e%2!=0){const l=r[e],o=r[e+1],a=l.getAttribute("x1"),i=l.getAttribute("y"),n=l.getAttribute("height"),c=l.getAttribute("x1"),s=o.getAttribute("x1");console.log({oddLine:l,nextLine:o});const d=document.createElementNS("http://www.w3.org/1999/xhtml","rect");d.setAttribute("stroke",m.colors.primary50),d.setAttribute("fill",m.colors.primary50),d.setAttribute("x",a),d.setAttribute("y",i),d.setAttribute("height",n),d.setAttribute("width",String(Number(s)-Number(c))),t.appendChild(l),t.appendChild(d)}else t.appendChild(r[e]);console.log(t)}},Be=h.div`
|
|
385
385
|
position: relative;
|
|
386
386
|
.custom-chart-label {
|
|
387
387
|
display: flex;
|
package/build/esm/cache.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as getCachedItem,g as getDataWithCache,s as setCachedItem}from"./core-
|
|
1
|
+
export{a as getCachedItem,g as getDataWithCache,s as setCachedItem}from"./core-751de8a0.js";import"./tslib.es6-ff502d3f.js";import"./isProduction-ee053516.js";
|
package/build/esm/care.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{B as BookingSearchBar,a as BookingSearchBarV2,t as CareTypes}from"./types-
|
|
1
|
+
export{B as BookingSearchBar,a as BookingSearchBarV2,t as CareTypes}from"./types-1a608206.js";export{c as CareConstants}from"./constants-126b1bf1.js";import"./tslib.es6-ff502d3f.js";import"react";import"./useTranslations-10e9f360.js";import"./translationsContext-cd4c35ad.js";import"string-format";import"lodash/debounce";import"./index-739bb5e8.js";import"@mantine/core";import"./index-2e2b0db2.js";import"./screenSizeContext-9a12cff0.js";import"styled-components";import"lodash/throttle";import"./theme-552e8fb4.js";import"dayjs";import"./index-7e6ef4fe.js";import"date-fns/locale";import"./Onboarding-fd579f72.js";import"./isProduction-ee053516.js";import"./gAssets.js";import"react-loading-skeleton";import"lodash/shuffle";import"./useOutsideClick-eb1e8600.js";import"./paths-8848792b.js";import"./cookieHelper-6c64533f.js";
|
package/build/esm/components.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{U as AdBlock,A as Alert,e as ArticleCard,f as ArticleCardV2,x as BMICardEmbed,H as BMRCardEmbed,y as BabyGrowthCardEmbed,z as BabyPoopEmbed,B as Badge,a as BorderHeading,L as Breadcrumbs,g as CategoryCard,C as Checkbox,h as CheckboxGroup,s as CookieAcceptConfirm,D as DatePicker,K as DateRangePicker,o as DoctorInfo,w as DueDateCardEmbed,F as FileDropdown,V as FixedBottomAdBlock,r as FloatButtonGroup,d as GenderOptionControl,G as Grid,I as IconText,Y as MAPPING_CATEGORY_PREMIUM_API_TYPE,X as MAPPING_CATEGORY_PREMIUM_TYPE,M as MobileBottomNavigation,t as MobileBottomNavigationIcon,O as OvulationCardEmbed,J as PWGCardEmbed,P as Pagination,i as ProgressBar,R as Radio,j as RadioGroup,c as RateStars,S as ScrollList,u as SeoHead,N as ShareContainer,Q as ShareDrawer,k as SideMenu,l as StatisticCard,W as SurveyOrPremiumBanner,p as SurveyQuestionCard,q as SurveyThankyouCard,E as THRCardEmbed,m as Table,n as Tabs,T as Tag,b as Toggle,v as ToolsBannerCard}from"./index-
|
|
1
|
+
export{U as AdBlock,A as Alert,e as ArticleCard,f as ArticleCardV2,x as BMICardEmbed,H as BMRCardEmbed,y as BabyGrowthCardEmbed,z as BabyPoopEmbed,B as Badge,a as BorderHeading,L as Breadcrumbs,g as CategoryCard,C as Checkbox,h as CheckboxGroup,s as CookieAcceptConfirm,D as DatePicker,K as DateRangePicker,o as DoctorInfo,w as DueDateCardEmbed,F as FileDropdown,V as FixedBottomAdBlock,r as FloatButtonGroup,d as GenderOptionControl,G as Grid,I as IconText,Y as MAPPING_CATEGORY_PREMIUM_API_TYPE,X as MAPPING_CATEGORY_PREMIUM_TYPE,M as MobileBottomNavigation,t as MobileBottomNavigationIcon,O as OvulationCardEmbed,J as PWGCardEmbed,P as Pagination,i as ProgressBar,R as Radio,j as RadioGroup,c as RateStars,S as ScrollList,u as SeoHead,N as ShareContainer,Q as ShareDrawer,k as SideMenu,l as StatisticCard,W as SurveyOrPremiumBanner,p as SurveyQuestionCard,q as SurveyThankyouCard,E as THRCardEmbed,m as Table,n as Tabs,T as Tag,b as Toggle,v as ToolsBannerCard}from"./index-9ff731cc.js";export{A as Avatar,L as LanguageSwitcher,d as NavigationLogoutPopup,e as NavigationProfileButton,N as NavigationV2,P as ProfilePopup,U as UserProfileNavigation,b as UserProfileNavigationHeader,c as UserProfileNavigationStats,g as getNavMenuContent,a as getNavMenuContentWithCache}from"./index-cc1aff02.js";export{B as Button}from"./index-ba50e0db.js";export{A as AuthorBadge,a as BookingBtn,B as BtnChoice,D as Divider,b as Dropdown}from"./index.styled-39a47f05.js";export{C as CustomReferenceDot,F as Flag,H as Heading,I as ImageWrap,L as LogoIcon,P as PureInput,S as StepRenderer,b as StepRendererContext,T as TextArea,a as TextDivider}from"./index.styles-e345cd05.js";export{I as Input}from"./index-739bb5e8.js";export{C as Container,I as Icon,L as Label}from"./index-2e2b0db2.js";export{L as Logo}from"./index-a2534c7c.js";export{T as Text}from"./index-cff1d249.js";export{D as Drawer,M as Modal,R as RadioImageGroup}from"./index-efc99972.js";export{P as Popup}from"./index-bb913b1c.js";export{P as PillCarousel}from"./index-2d562f92.js";export{A as AddressInput}from"./index-777eabad.js";export{Footer}from"./footer.js";import"react";import"./screenSizeContext-9a12cff0.js";import"styled-components";import"lodash/throttle";import"./useTranslations-10e9f360.js";import"./translationsContext-cd4c35ad.js";import"string-format";import"./gAssets.js";import"./index-7e6ef4fe.js";import"date-fns/locale";import"./Onboarding-fd579f72.js";import"./isProduction-ee053516.js";import"./theme-552e8fb4.js";import"./tslib.es6-ff502d3f.js";import"@mantine/core";import"innertext";import"@mantine/dates";import"dayjs";import"@mantine/hooks";import"date-fns";import"lodash/debounce";import"./useCategory-07fae2b9.js";import"./types-543400b8.js";import"./index-ba4ada7c.js";import"./index-8fd63502.js";import"react-hook-form";import"./useHealthToolCache-fb9195d3.js";import"./getDynamicHealthTool-7b5571b2.js";import"./core-751de8a0.js";import"./normalizeLink-e3ff1c11.js";import"./routing-351976df.js";import"@hookform/resolvers/yup";import"react-day-picker/DayPickerInput";import"./useOutsideClick-eb1e8600.js";import"date-fns/locale/en-US";import"date-fns/locale/id";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"./getSocialList-7b4c63b0.js";import"uuid";import"@mantine/form";import"./index-b1d38b58.js";import"js-cookie";import"lodash/flatten";import"react-contenteditable";import"react-dom";import"lodash/uniqBy";import"./cookieHelper-6c64533f.js";import"./constants-126b1bf1.js";import"./index-0007c24c.js";import"./useIsInit-8814c69e.js";import"dayjs/plugin/relativeTime";import"./number-895411ae.js";import"./paths-8848792b.js";import"@mantine/carousel";import"react-keyed-flatten-children";import"slugify";import"./useScrollbarSize-45acc65f.js";import"./utils-0f296d7f.js";
|
package/build/esm/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"date-fns/locale";import"./Onboarding-
|
|
1
|
+
import"date-fns/locale";import"./Onboarding-fd579f72.js";export{B as BEARER_TOKEN_COOKIE,b as CARE_BOOKING_LOCALES,C as CARE_LOCALES,c as CDN_ADDRESS,D as DATE_FNS_LOCALE,E as ECOM_LOCALES,F as FAVICONS,G as GA_TOKEN_COOKIE,I as ISO_FORMAT,L as LOCALE_SPECS,Q as QUERY_HEALTH_TOOL,R as RISK_SCREENER_NAME,a as RISK_SCREENER_SLUG,S as STATIC_PAGES,T as TOGETHER_LOCALES,U as UP_BASEPATH,e as USER_GEOLOCATION_COORDINATES_COOKIE,d as domainLocales,f as siteHost,s as siteOptions}from"./index-7e6ef4fe.js";export{i as isProduction}from"./isProduction-ee053516.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t}from"./tslib.es6-
|
|
1
|
+
import{a as t}from"./tslib.es6-ff502d3f.js";import{i as e}from"./isProduction-ee053516.js";const a={},i=t=>{if("undefined"!=typeof window){let a;try{a=JSON.parse(localStorage.getItem((e?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return a||{}}return a[t]},o=(t,i)=>{try{"undefined"!=typeof window?localStorage.setItem((e?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:i,time:Date.now()})):a[t]={data:i,time:Date.now()}}catch(t){}},n=(e,a,n,r=9e5)=>t(void 0,void 0,void 0,(function*(){const t=i(e);if(t&&t.data&&t.time&&Date.now()-t.time<r)return t.data;if(a){const t=yield a();return n&&!n(t)||o(e,t),t}return null}));export{i as a,n as g,o as s};
|