@hhgtech/hhg-components 1.27.72 → 1.27.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/babyGrowth.js +2 -2
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/core-1296b978.js +1 -0
- package/build/{dataTransform-a610dba2.js → dataTransform-b57ffe49.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +4 -4
- 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-aef19cc1.js +1 -0
- package/build/esm/{dataTransform-474b6557.js → dataTransform-acd309eb.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/{fixedBottomAdBlock-5ed62fc2.js → fixedBottomAdBlock-4f598b4e.js} +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-e1e9eb88.js +1 -0
- package/build/esm/{getSocialList-e2edc6f8.js → getSocialList-62952c6e.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-699a67a1.js → index-03fb3d5f.js} +1 -1
- package/build/esm/{index-ef52a951.js → index-25a079fc.js} +1 -1
- package/build/esm/index-2b4f9440.js +1 -0
- package/build/esm/{index-066e1f8c.js → index-2bd17e3a.js} +1 -1
- package/build/esm/{index-eef47a39.js → index-2dbad103.js} +1 -1
- package/build/esm/index-4c42fd2d.js +1 -0
- package/build/esm/{index-b42eddeb.js → index-58d76b74.js} +1 -1
- package/build/esm/{index-33a767db.js → index-61b40bb3.js} +2 -2
- package/build/esm/{index-d92f4c41.js → index-6c3b66ef.js} +1 -1
- package/build/esm/{index-eed61604.js → index-7768bc42.js} +1 -1
- package/build/esm/{index-ffe1f1b4.js → index-77a12ad4.js} +1 -1
- package/build/esm/index-a46315a8.js +1 -0
- package/build/esm/{index-75e66b82.js → index-ac0440c7.js} +1 -1
- package/build/esm/{index-aa0f1be7.js → index-acb68002.js} +1 -1
- package/build/esm/{index-30364853.js → index-b6603e31.js} +1 -1
- package/build/esm/{index-c7061390.js → index-ca8ba9cb.js} +1 -1
- package/build/esm/{index-13b5fcc4.js → index-d96a464a.js} +1 -1
- package/build/esm/{index-b7da5adf.js → index-d99f5fe1.js} +2 -2
- package/build/esm/{index-940a2837.js → index-dc45af44.js} +1 -1
- package/build/esm/{index-7c0c9a23.js → index-e006ea08.js} +1 -1
- package/build/esm/{index-52cbdc13.js → index-e8aa27ee.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-d630ba54.js → index.styled-574d9f4e.js} +4 -4
- package/build/esm/{index.styled-6b23e614.js → index.styled-9454d250.js} +9 -9
- package/build/esm/{index.styled-73921818.js → index.styled-f8d51cb2.js} +3 -3
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/onboardingV2.js +1 -1
- package/build/esm/pwg.js +5 -5
- package/build/esm/{routing-8b859474.js → routing-2ca62b4e.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{types-b03d781d.js → types-9b1fb32b.js} +1 -1
- package/build/esm/{types-eac9771c.js → types-d69ee206.js} +12 -12
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-77748b45.js +1 -0
- package/build/esm/{useRafState-326a32a7.js → useRafState-24287f60.js} +1 -1
- package/build/esm/{useTranslations-7597d802.js → useTranslations-e8adac8a.js} +1 -1
- package/build/esm/{utils-8db4813e.js → utils-0f4c6649.js} +1 -1
- package/build/esm/{utils-df78bdca.js → utils-49cd0015.js} +1 -1
- package/build/esm/vaccination.js +5 -5
- package/build/{fixedBottomAdBlock-efff2f32.js → fixedBottomAdBlock-dd768903.js} +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-365b67da.js +1 -0
- package/build/{getSocialList-3ea88d7b.js → getSocialList-a0d8c4a7.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-d4846e3a.js → index-1f22fb4d.js} +1 -1
- package/build/{index-8324905e.js → index-2115a785.js} +1 -1
- package/build/{index-6bce8ea9.js → index-2ba9af52.js} +1 -1
- package/build/{index-945b6fd5.js → index-2bafc328.js} +1 -1
- package/build/{index-684d4b18.js → index-3cfe6be9.js} +1 -1
- package/build/{index-83b85075.js → index-487def80.js} +2 -2
- package/build/{index-d107f239.js → index-54f6d8ba.js} +1 -1
- package/build/{index-ed56a039.js → index-56226bf8.js} +1 -1
- package/build/{index-8ab8ccad.js → index-650f746c.js} +1 -1
- package/build/{index-3843f4de.js → index-6c6477b0.js} +1 -1
- package/build/index-70e4f70a.js +53 -0
- package/build/{index-56cbbe46.js → index-8cac71fc.js} +1 -1
- package/build/{index-7e2c352a.js → index-98b4c324.js} +1 -1
- package/build/{index-a89418e3.js → index-b2cc7acc.js} +1 -1
- package/build/{index-6819831b.js → index-bf806fa4.js} +1 -1
- package/build/index-e0fd117e.js +1 -0
- package/build/{index-8738dafb.js → index-eabacc42.js} +1 -1
- package/build/{index-3cd3e667.js → index-f33dd806.js} +1 -1
- package/build/{index-47af3631.js → index-f56461c2.js} +1 -1
- package/build/{index-79d33036.js → index-f5843f88.js} +1 -1
- package/build/{index-d0ab8429.js → index-fd68bdb7.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-f26d68bc.js → index.styled-38be6a23.js} +1 -1
- package/build/{index.styled-522d2abb.js → index.styled-ab1adfdd.js} +1 -1
- package/build/{index.styled-e69e3538.js → index.styled-cce65f47.js} +3 -3
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/onboardingV2.js +1 -1
- package/build/pwg.js +1 -1
- package/build/{routing-01287887.js → routing-eb58bf99.js} +1 -1
- package/build/together.js +1 -1
- package/build/{types-a73e1726.js → types-c6b697e7.js} +2 -2
- package/build/{types-317f61f9.js → types-dc124c2c.js} +1 -1
- package/build/types.js +1 -1
- package/build/useHealthToolCache-374f4461.js +1 -0
- package/build/{useRafState-38ff191f.js → useRafState-2bfbf48d.js} +1 -1
- package/build/{useTranslations-4d34c49d.js → useTranslations-388b2c98.js} +1 -1
- package/build/utils-2bd51637.js +1 -0
- package/build/{utils-6de25682.js → utils-66fc3fa8.js} +1 -1
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/core-0404054c.js +0 -1
- package/build/esm/core-7af1314a.js +0 -1
- package/build/esm/getDynamicHealthTool-5c62bbce.js +0 -1
- package/build/esm/index-164612c2.js +0 -1
- package/build/esm/index-258ac3a9.js +0 -1
- package/build/esm/index-7dbac417.js +0 -1
- package/build/esm/useHealthToolCache-e518b9cb.js +0 -1
- package/build/getDynamicHealthTool-ec24ee37.js +0 -1
- package/build/index-794f6abb.js +0 -53
- package/build/index-c5e25a84.js +0 -1
- package/build/useHealthToolCache-040d0c35.js +0 -1
- package/build/utils-34552ca3.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-be764fab.js → BMI_BOYS.percentile.monthly-e7969a8c.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-717ff870.js → BMI_BOYS.percentile.weekly-42b951dc.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-c36817f8.js → BMI_BOYS.percentile.yearly-933664a5.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-32f81da6.js → BMI_BOYS.zscore.monthly-f17ef1fa.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-7a8efbce.js → BMI_BOYS.zscore.weekly-ed7cc2ee.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-ea5ee846.js → BMI_BOYS.zscore.yearly-096bfd78.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-fafb1975.js → BMI_GIRLS.percentile.monthly-bdb9e678.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-0f67721f.js → BMI_GIRLS.percentile.weekly-e9e42718.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-7188c946.js → BMI_GIRLS.percentile.yearly-ecfbd535.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-ad6d0a8f.js → BMI_GIRLS.zscore.monthly-8b52f84f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-e06dbae9.js → BMI_GIRLS.zscore.weekly-c1519c5f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-b477d025.js → BMI_GIRLS.zscore.yearly-c72f1e1b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-00445d26.js → HEAD CIRCUM_BOYS.percentile.monthly-d6942910.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-67a1e177.js → HEAD CIRCUM_BOYS.percentile.weekly-7bbe3d72.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-981651d2.js → HEAD CIRCUM_BOYS.percentile.yearly-cf2082c8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-31a26be4.js → HEAD CIRCUM_BOYS.zscore.monthly-fa1d4ea1.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-42e932cb.js → HEAD CIRCUM_BOYS.zscore.weekly-46201be1.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-c2ba3a34.js → HEAD CIRCUM_BOYS.zscore.yearly-6f6a75ef.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-c7cd5712.js → HEAD CIRCUM_GIRLS.percentile.monthly-2d3c69ed.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-bdde3016.js → HEAD CIRCUM_GIRLS.percentile.weekly-38c7470e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-083f2f97.js → HEAD CIRCUM_GIRLS.percentile.yearly-7e815061.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-7e5d7105.js → HEAD CIRCUM_GIRLS.zscore.monthly-966e1673.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-5467f154.js → HEAD CIRCUM_GIRLS.zscore.weekly-397d5497.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-5b292847.js → HEAD CIRCUM_GIRLS.zscore.yearly-51c69a5c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-b9d24b9f.js → HEIGHT_BOYS.percentile.monthly-bf8bed39.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-cd1daad2.js → HEIGHT_BOYS.percentile.weekly-51275e3e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-718da8a9.js → HEIGHT_BOYS.percentile.yearly-d9baf324.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-93c88a85.js → HEIGHT_BOYS.zscore.monthly-4c7134a9.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-221290aa.js → HEIGHT_BOYS.zscore.weekly-ea470e59.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-dbc6ef38.js → HEIGHT_BOYS.zscore.yearly-b4001eac.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-5a941c7f.js → HEIGHT_GIRLS.percentile.monthly-97007a17.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-6513f88c.js → HEIGHT_GIRLS.percentile.weekly-2d9cf38b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-a80bec60.js → HEIGHT_GIRLS.percentile.yearly-dcc7e180.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-9f006152.js → HEIGHT_GIRLS.zscore.monthly-05dab57e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-ed46a9be.js → HEIGHT_GIRLS.zscore.weekly-9c1227b0.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-55a6e918.js → HEIGHT_GIRLS.zscore.yearly-f69f0c16.js} +0 -0
- /package/build/{Onboarding-30977a28.js → Onboarding-763263bd.js} +0 -0
- /package/build/{Visible-73a9c61e.js → Visible-1510daae.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-9211cc59.js → WEIGHT_BOYS.percentile.monthly-5aef6340.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-d4613745.js → WEIGHT_BOYS.percentile.weekly-78eae415.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-fe3e0acc.js → WEIGHT_BOYS.percentile.yearly-3e111a86.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-c8b51e11.js → WEIGHT_BOYS.zscore.monthly-88e278fc.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-915b7636.js → WEIGHT_BOYS.zscore.weekly-ad3d219a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-63b05989.js → WEIGHT_BOYS.zscore.yearly-cdc469bc.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-2b7b348c.js → WEIGHT_GIRLS.percentile.monthly-ef315c6b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-396c0d03.js → WEIGHT_GIRLS.percentile.weekly-b9b2294d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-6dc1ee7c.js → WEIGHT_GIRLS.percentile.yearly-573f8c5f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-8dd66e65.js → WEIGHT_GIRLS.zscore.monthly-dcf55ae9.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-e7309a28.js → WEIGHT_GIRLS.zscore.weekly-32036680.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-46483619.js → WEIGHT_GIRLS.zscore.yearly-f472782e.js} +0 -0
- /package/build/{constants-d085b55e.js → constants-2a1ae49b.js} +0 -0
- /package/build/{cookieHelper-113d5d8f.js → cookieHelper-c02a9835.js} +0 -0
- /package/build/{dataTransform-db7919b9.js → dataTransform-50ca2b71.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-e82cdc65.js → BMI_BOYS.percentile.monthly-026be207.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-20d30be1.js → BMI_BOYS.percentile.weekly-9d11ceed.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-7cf08717.js → BMI_BOYS.percentile.yearly-915860f5.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-390537ec.js → BMI_BOYS.zscore.monthly-027665dd.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-3a235c91.js → BMI_BOYS.zscore.weekly-36332c51.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-eed73a8a.js → BMI_BOYS.zscore.yearly-01355236.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-05837b6a.js → BMI_GIRLS.percentile.monthly-de2fbc61.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-678a74ee.js → BMI_GIRLS.percentile.weekly-a3e37e19.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-dc9fa3b6.js → BMI_GIRLS.percentile.yearly-3186aba5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-acd95d4a.js → BMI_GIRLS.zscore.monthly-c8b642f7.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-de839d3b.js → BMI_GIRLS.zscore.weekly-c7892f39.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-c0da7049.js → BMI_GIRLS.zscore.yearly-2bf35542.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-eef769c0.js → HEAD CIRCUM_BOYS.percentile.monthly-bc65812f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-ac24b410.js → HEAD CIRCUM_BOYS.percentile.weekly-c963ce3c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-d88f2f93.js → HEAD CIRCUM_BOYS.percentile.yearly-91e16bf5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-a16e5ce9.js → HEAD CIRCUM_BOYS.zscore.monthly-f7ecf3be.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-09eccbd7.js → HEAD CIRCUM_BOYS.zscore.weekly-a052bb19.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-0034fe55.js → HEAD CIRCUM_BOYS.zscore.yearly-272adbaa.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-672e6cbe.js → HEAD CIRCUM_GIRLS.percentile.monthly-6a7b41c4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-4912f431.js → HEAD CIRCUM_GIRLS.percentile.weekly-095cbc85.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-8a6aafe9.js → HEAD CIRCUM_GIRLS.percentile.yearly-0133cc9d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-eec78343.js → HEAD CIRCUM_GIRLS.zscore.monthly-bcc9ccfd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-68e991c1.js → HEAD CIRCUM_GIRLS.zscore.weekly-c6eda8cb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-10f61af8.js → HEAD CIRCUM_GIRLS.zscore.yearly-9d59e363.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-d59c166e.js → HEIGHT_BOYS.percentile.monthly-9b992c6a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-088e8adb.js → HEIGHT_BOYS.percentile.weekly-3a8a7218.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-436897cb.js → HEIGHT_BOYS.percentile.yearly-ab7c235b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-74c8dcc5.js → HEIGHT_BOYS.zscore.monthly-a9e24711.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-5fcde6cd.js → HEIGHT_BOYS.zscore.weekly-f15762c5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-0e48b2f8.js → HEIGHT_BOYS.zscore.yearly-e918cdf5.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-25fd2813.js → HEIGHT_GIRLS.percentile.monthly-06edf320.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-6d83e9a7.js → HEIGHT_GIRLS.percentile.weekly-cada39b4.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-64bc5924.js → HEIGHT_GIRLS.percentile.yearly-c6255de8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-2aef62ab.js → HEIGHT_GIRLS.zscore.monthly-59b2af8e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-92f68a56.js → HEIGHT_GIRLS.zscore.weekly-1d14e2b6.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-958c71a2.js → HEIGHT_GIRLS.zscore.yearly-e839dbb2.js} +0 -0
- /package/build/esm/{Onboarding-ad49870c.js → Onboarding-ff78862f.js} +0 -0
- /package/build/esm/{Visible-ac315efb.js → Visible-df051a7d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-adad02ed.js → WEIGHT_BOYS.percentile.monthly-ca848d26.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-2d886cac.js → WEIGHT_BOYS.percentile.weekly-3631d852.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-b8bbb4e9.js → WEIGHT_BOYS.percentile.yearly-9691b24d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-ab63ae85.js → WEIGHT_BOYS.zscore.monthly-24aae22c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-8c359273.js → WEIGHT_BOYS.zscore.weekly-a573fac1.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-f35f47d4.js → WEIGHT_BOYS.zscore.yearly-24aeb0e7.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-b8d9bd0d.js → WEIGHT_GIRLS.percentile.monthly-eb2b71f3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-bf02db33.js → WEIGHT_GIRLS.percentile.weekly-0fc5ac47.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-2099b0bf.js → WEIGHT_GIRLS.percentile.yearly-54f86a24.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-f2776700.js → WEIGHT_GIRLS.zscore.monthly-6c507f4b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-7acf1c1c.js → WEIGHT_GIRLS.zscore.weekly-fd6436d5.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-0a90ab49.js → WEIGHT_GIRLS.zscore.yearly-e0b72bae.js} +0 -0
- /package/build/esm/{constants-254a4df3.js → constants-bd2e2bb9.js} +0 -0
- /package/build/esm/{cookieHelper-f8486f9d.js → cookieHelper-24e8a5fb.js} +0 -0
- /package/build/esm/{dataTransform-5e76271a.js → dataTransform-6a627eb5.js} +0 -0
- /package/build/esm/{index-6ee00df0.js → index-1626c7eb.js} +0 -0
- /package/build/esm/{isProduction-8ce1051d.js → isProduction-b12d596a.js} +0 -0
- /package/build/esm/{localizeNumberFormat-947fe3bd.js → localizeNumberFormat-1cebd783.js} +0 -0
- /package/build/esm/{normalizeLink-6d537179.js → normalizeLink-86bd6e1e.js} +0 -0
- /package/build/esm/{paths-d4225106.js → paths-64ccdd58.js} +0 -0
- /package/build/esm/{screenSizeContext-987c451f.js → screenSizeContext-4eb558b5.js} +0 -0
- /package/build/esm/{theme-31acd0c2.js → theme-6958f818.js} +0 -0
- /package/build/esm/{translationsContext-e9aaabb6.js → translationsContext-cf558e50.js} +0 -0
- /package/build/esm/{tslib.es6-c8835980.js → tslib.es6-aa6dda30.js} +0 -0
- /package/build/esm/{types-6686141b.js → types-614fc596.js} +0 -0
- /package/build/esm/{useIsInit-3a06bd4a.js → useIsInit-1907bb7f.js} +0 -0
- /package/build/esm/{useOutsideClick-c00670e4.js → useOutsideClick-7843e861.js} +0 -0
- /package/build/esm/{useScrollbarSize-ba68fbbc.js → useScrollbarSize-859a83e2.js} +0 -0
- /package/build/esm/{useUniqueId-6daecd5a.js → useUniqueId-224e1126.js} +0 -0
- /package/build/{index-02fdc77f.js → index-68c32ed4.js} +0 -0
- /package/build/{isProduction-028c30c1.js → isProduction-5decd5ee.js} +0 -0
- /package/build/{localizeNumberFormat-b048ccb6.js → localizeNumberFormat-fc44b259.js} +0 -0
- /package/build/{normalizeLink-64a0a4fd.js → normalizeLink-2e7b8c35.js} +0 -0
- /package/build/{paths-1677e749.js → paths-d8522736.js} +0 -0
- /package/build/{screenSizeContext-593b4ba2.js → screenSizeContext-58d16a70.js} +0 -0
- /package/build/{theme-d21cf9c9.js → theme-714ba8eb.js} +0 -0
- /package/build/{translationsContext-ef6e8716.js → translationsContext-5dbe0768.js} +0 -0
- /package/build/{tslib.es6-b8b05056.js → tslib.es6-71ed3e73.js} +0 -0
- /package/build/{types-d430ba99.js → types-dfb71ff9.js} +0 -0
- /package/build/{useIsInit-c7206042.js → useIsInit-a3d864b6.js} +0 -0
- /package/build/{useOutsideClick-23bc853d.js → useOutsideClick-1fd814a9.js} +0 -0
- /package/build/{useScrollbarSize-555600fa.js → useScrollbarSize-79ed5c61.js} +0 -0
- /package/build/{useUniqueId-61b17d61.js → useUniqueId-3d496ffe.js} +0 -0
package/build/footer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./index-3843f4de.js"),a=require("./index-684d4b18.js"),l=require("./index-8738dafb.js"),n=require("dayjs"),r=require("./index-d4846e3a.js"),i=require("./theme-d21cf9c9.js"),o=require("./useTranslations-4d34c49d.js"),d=require("@mantine/core"),c=require("./index-8ab8ccad.js"),s=require("./index-56cbbe46.js"),u=require("./utils-6de25682.js");function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("@mantine/dates"),require("./Onboarding-30977a28.js"),require("./gAssets.js"),require("./screenSizeContext-593b4ba2.js"),require("styled-components"),require("./isProduction-028c30c1.js"),require("./translationsContext-ef6e8716.js"),require("string-format"),require("./index-83b85075.js"),require("@mantine/hooks"),require("./tslib.es6-b8b05056.js"),require("./useUniqueId-61b17d61.js"),require("date-fns/locale"),require("react-keyed-flatten-children"),require("@mantine/carousel"),require("lodash/debounce"),require("./cookieHelper-113d5d8f.js"),require("slugify"),require("lodash/throttle");var v=m(e),f=m(n),g="Lj0qoTD",E="OO-qFWT";const y=({url:e,isMobile:t,dataEventCategory:a,dataEventAction:l,dataEventLabel:n})=>v.default.createElement("div",{className:E,"data-is-mobile":t},v.default.createElement("img",{loading:"lazy",className:"country-flag",src:e,alt:"Country Flag","data-event-category":a,"data-event-action":l,"data-content-label":n})),p=({className:e,type:n="main",footerInfo:d,isMobile:c,locale:s})=>{var u,m,E,p,b,h,N,x,T,k,q,F,z,$,j,L,C,M,_,H,S,w,I,B,A,G,D,O;const{t:U}=o.useTranslations(),P=null==d?void 0:d.menu,J=(null===(m=null===(u=null==d?void 0:d.general)||void 0===u?void 0:u.verified)||void 0===m?void 0:m.filter(Boolean))||[];return v.default.createElement("footer",{className:`${g} ${e||""}`,style:"mini"===n?{backgroundColor:i.theme.colors.neutral50}:{}},v.default.createElement(a.Container,null,v.default.createElement("div",{className:"inner","data-type":n},"main"===n?v.default.createElement(v.default.Fragment,null,v.default.createElement("a",{href:"/"},v.default.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(E=null==d?void 0:d.general)||void 0===E?void 0:E.logo,alt:"Logo","data-is-sehat":"id-ID"===s})),v.default.createElement("div",{className:"columns"},v.default.createElement("div",{className:"newsletter"},v.default.createElement(l.Text,{size:"p1",type:"bold"},null===(p=null==d?void 0:d.general)||void 0===p?void 0:p.content),v.default.createElement(t.Button,{className:"signupButton",color:"primary",size:"lg"},U("footer.signUp")),v.default.createElement("div",{className:"social"},v.default.createElement(l.Text,{size:"sm",type:"regular"},null===(b=null==d?void 0:d.social)||void 0===b?void 0:b.title),v.default.createElement("div",{className:"icons"},null===(N=null===(h=null==d?void 0:d.social)||void 0===h?void 0:h.socials)||void 0===N?void 0:N.map(((e,t)=>v.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},v.default.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))))),v.default.createElement("hr",{className:"hrMobile"}))),v.default.createElement("div",null,P&&v.default.createElement(v.default.Fragment,null,v.default.createElement("div",{className:"biglinks"},null===(T=null===(x=P[0])||void 0===x?void 0:x.items)||void 0===T?void 0:T.map(((e,t)=>v.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${r.domainLocales[s]}${e.url}`,className:"bigLink",key:t,href:e.url},e.title)))),v.default.createElement("hr",{className:"hrMobile"}),v.default.createElement("div",{className:"mHalf"},v.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(k=P[1])||void 0===k?void 0:k.menu_title),null===(F=null===(q=P[1])||void 0===q?void 0:q.items)||void 0===F?void 0:F.map(((e,t)=>v.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${r.domainLocales[s]}${e.url}`,className:"link",href:e.url,key:t},v.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${r.domainLocales[s]}${e.url}`},e.title))))),v.default.createElement("div",{className:"mHalf"},v.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(z=P[2])||void 0===z?void 0:z.menu_title),null===(j=null===($=P[2])||void 0===$?void 0:$.items)||void 0===j?void 0:j.map(((e,t)=>e.url&&v.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},v.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title)))))),v.default.createElement("hr",{className:"hrMobile"}),v.default.createElement("div",{className:"otherSites"},v.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(L=null==d?void 0:d.branch)||void 0===L?void 0:L.title),v.default.createElement("div",{className:"flags"},null===(M=null===(C=null==d?void 0:d.branch)||void 0===C?void 0:C.branch)||void 0===M?void 0:M.map(((e,t)=>v.default.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},v.default.createElement(y,{url:e.flag,isMobile:c,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url})))))))),v.default.createElement("hr",null),v.default.createElement("div",{className:"copyright"},v.default.createElement("div",{className:"copyright-image-wrapper"},J.length?J.map(((e,t)=>v.default.createElement("a",{href:e.url,key:t,className:"copyright-image"},v.default.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"})))):null),v.default.createElement(l.Text,{size:"xs",type:"regular",className:"copyright-content"},null===(_=null==d?void 0:d.general)||void 0===_?void 0:_.copyright.replace(/{currentYear}/gi,f.default().get("year").toString()))),"vi-VN"===s&&v.default.createElement(l.Text,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):v.default.createElement(v.default.Fragment,null,(null==d?void 0:d.menu)&&v.default.createElement("div",{className:"columns"},v.default.createElement("div",{className:"mHalf"},v.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(H=null==d?void 0:d.menu[1])||void 0===H?void 0:H.menu_title),null===(w=null===(S=null==d?void 0:d.menu[1])||void 0===S?void 0:S.items)||void 0===w?void 0:w.map((e=>v.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":`https://${r.domainLocales[s]}${e.url}`,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${r.domainLocales[s]}${e.url}`},v.default.createElement(l.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${r.domainLocales[s]}${e.url}`,size:"sm",type:"regular",style:{color:i.theme.colors.gray800}},e.title))))),v.default.createElement("div",{className:"mHalf"},v.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(I=null==d?void 0:d.menu[2])||void 0===I?void 0:I.menu_title),null===(A=null===(B=null==d?void 0:d.menu[2])||void 0===B?void 0:B.items)||void 0===A?void 0:A.map(((e,t)=>v.default.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},v.default.createElement(l.Text,{size:"sm",type:"regular",style:{color:i.theme.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))))),"mini"!==n&&v.default.createElement("hr",{className:"hrMobile"}),v.default.createElement("div",{className:"newsletter"},v.default.createElement("div",{className:"social"},v.default.createElement(l.Text,{size:"sm",type:"regular"},null===(G=null==d?void 0:d.social)||void 0===G?void 0:G.title),v.default.createElement("div",{className:"icons"},null===(O=null===(D=null==d?void 0:d.social)||void 0===D?void 0:D.socials)||void 0===O?void 0:O.map(((e,t)=>v.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},v.default.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var b="B6-KmWK",h="GS-7mbG",N="qc5bEb3",x="CQGVeuT",T="_8eUT8Jr",k="_6JMoel-",q="pFG7UH3";const F=({logoType:e="marryBaby",footerMenu:t,background:l})=>{var n;if(!t)return null;const{general:r,menu:o,socials:m}=t;return v.default.createElement("footer",{className:b,style:{backgroundColor:l||"none"}},v.default.createElement(a.Container,null,v.default.createElement("div",{className:h},null==o?void 0:o.map((({menu_title:e,items:t},a)=>v.default.createElement("div",{className:N,key:`mbf${a}`},v.default.createElement(s.MarryBabyText,{className:"title",type:"subtitle-1",color:i.theme.mbColors.pink},e),null==t?void 0:t.map((({title:e,url:t},a)=>v.default.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${t}`,className:"link",href:t,key:`footer-links-${a}`},v.default.createElement("div",{className:x,key:`mbitem${a}`},v.default.createElement(s.MarryBabyText,{type:"bodytext-2",color:i.theme.mbColors.gray},e)))))))))),v.default.createElement(a.Container,null,v.default.createElement("div",{className:k},v.default.createElement(d.Flex,{gap:"24px",sx:e=>({[e.fn.largerThan("sm")]:{".info-item":{flexGrow:1,width:"50%"}},[e.fn.smallerThan("sm")]:{flexDirection:"column"}})},v.default.createElement(d.Stack,{spacing:"24px",className:"info-item"},v.default.createElement(c.Logo,{className:"logo",type:e}),v.default.createElement(u.Text,{size:"p4",as:"div"},v.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==r?void 0:r.content}})),v.default.createElement("div",{className:q},null==m?void 0:m.map((({icon:e,name:t,url:a},l)=>v.default.createElement("a",{key:`social${l}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${t}`,"data-content-label":t,href:a},v.default.createElement("img",{className:"social-logo",loading:"lazy",src:e,alt:t})))))),v.default.createElement(d.Box,{className:"info-item",sx:{paddingTop:"7px"}},v.default.createElement(u.Text,{size:"p4",as:"div"},v.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==r?void 0:r.information}})))))),v.default.createElement("div",{className:T},v.default.createElement(a.Container,null,v.default.createElement("div",{className:"content"},v.default.createElement(u.Text,{size:"p5",color:"#fff",as:"div"},v.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==r?void 0:r.copyright.replace(/{currentYear}/gi,f.default().get("year").toString())}})),v.default.createElement("div",{className:"verify"},null===(n=null==r?void 0:r.verified)||void 0===n?void 0:n.map((({image:e,url:t},a)=>v.default.createElement("img",{loading:"lazy",key:`imgMbFt${a}`,src:e,alt:t}))))))))};exports.Footer=({type:e,isMobile:t=!0,locale:a,footerInfo:l,siteType:n,background:r})=>"helloSites"===n?v.default.createElement(p,{isMobile:t,type:e,locale:a,footerInfo:l||{}}):v.default.createElement(F,{footerMenu:l,background:r});
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./index-6c6477b0.js"),a=require("./index-3cfe6be9.js"),l=require("./index-eabacc42.js"),n=require("dayjs"),r=require("./index-1f22fb4d.js"),i=require("./theme-714ba8eb.js"),o=require("./useTranslations-388b2c98.js"),d=require("@mantine/core"),c=require("./index-650f746c.js"),s=require("./index-8cac71fc.js"),u=require("./utils-66fc3fa8.js");function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("@mantine/dates"),require("./Onboarding-763263bd.js"),require("./gAssets.js"),require("./screenSizeContext-58d16a70.js"),require("styled-components"),require("./isProduction-5decd5ee.js"),require("./translationsContext-5dbe0768.js"),require("string-format"),require("./index-487def80.js"),require("@mantine/hooks"),require("./tslib.es6-71ed3e73.js"),require("./useUniqueId-3d496ffe.js"),require("date-fns/locale"),require("react-keyed-flatten-children"),require("@mantine/carousel"),require("lodash/debounce"),require("./cookieHelper-c02a9835.js"),require("slugify"),require("lodash/throttle");var v=m(e),f=m(n),g="Lj0qoTD",E="OO-qFWT";const y=({url:e,isMobile:t,dataEventCategory:a,dataEventAction:l,dataEventLabel:n})=>v.default.createElement("div",{className:E,"data-is-mobile":t},v.default.createElement("img",{loading:"lazy",className:"country-flag",src:e,alt:"Country Flag","data-event-category":a,"data-event-action":l,"data-content-label":n})),p=({className:e,type:n="main",footerInfo:d,isMobile:c,locale:s})=>{var u,m,E,p,b,h,N,x,T,k,q,F,z,$,j,L,C,M,_,H,S,w,I,B,A,G,D,O;const{t:U}=o.useTranslations(),P=null==d?void 0:d.menu,J=(null===(m=null===(u=null==d?void 0:d.general)||void 0===u?void 0:u.verified)||void 0===m?void 0:m.filter(Boolean))||[];return v.default.createElement("footer",{className:`${g} ${e||""}`,style:"mini"===n?{backgroundColor:i.theme.colors.neutral50}:{}},v.default.createElement(a.Container,null,v.default.createElement("div",{className:"inner","data-type":n},"main"===n?v.default.createElement(v.default.Fragment,null,v.default.createElement("a",{href:"/"},v.default.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(E=null==d?void 0:d.general)||void 0===E?void 0:E.logo,alt:"Logo","data-is-sehat":"id-ID"===s})),v.default.createElement("div",{className:"columns"},v.default.createElement("div",{className:"newsletter"},v.default.createElement(l.Text,{size:"p1",type:"bold"},null===(p=null==d?void 0:d.general)||void 0===p?void 0:p.content),v.default.createElement(t.Button,{className:"signupButton",color:"primary",size:"lg"},U("footer.signUp")),v.default.createElement("div",{className:"social"},v.default.createElement(l.Text,{size:"sm",type:"regular"},null===(b=null==d?void 0:d.social)||void 0===b?void 0:b.title),v.default.createElement("div",{className:"icons"},null===(N=null===(h=null==d?void 0:d.social)||void 0===h?void 0:h.socials)||void 0===N?void 0:N.map(((e,t)=>v.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},v.default.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))))),v.default.createElement("hr",{className:"hrMobile"}))),v.default.createElement("div",null,P&&v.default.createElement(v.default.Fragment,null,v.default.createElement("div",{className:"biglinks"},null===(T=null===(x=P[0])||void 0===x?void 0:x.items)||void 0===T?void 0:T.map(((e,t)=>v.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${r.domainLocales[s]}${e.url}`,className:"bigLink",key:t,href:e.url},e.title)))),v.default.createElement("hr",{className:"hrMobile"}),v.default.createElement("div",{className:"mHalf"},v.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(k=P[1])||void 0===k?void 0:k.menu_title),null===(F=null===(q=P[1])||void 0===q?void 0:q.items)||void 0===F?void 0:F.map(((e,t)=>v.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${r.domainLocales[s]}${e.url}`,className:"link",href:e.url,key:t},v.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${r.domainLocales[s]}${e.url}`},e.title))))),v.default.createElement("div",{className:"mHalf"},v.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(z=P[2])||void 0===z?void 0:z.menu_title),null===(j=null===($=P[2])||void 0===$?void 0:$.items)||void 0===j?void 0:j.map(((e,t)=>e.url&&v.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},v.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title)))))),v.default.createElement("hr",{className:"hrMobile"}),v.default.createElement("div",{className:"otherSites"},v.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(L=null==d?void 0:d.branch)||void 0===L?void 0:L.title),v.default.createElement("div",{className:"flags"},null===(M=null===(C=null==d?void 0:d.branch)||void 0===C?void 0:C.branch)||void 0===M?void 0:M.map(((e,t)=>v.default.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},v.default.createElement(y,{url:e.flag,isMobile:c,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url})))))))),v.default.createElement("hr",null),v.default.createElement("div",{className:"copyright"},v.default.createElement("div",{className:"copyright-image-wrapper"},J.length?J.map(((e,t)=>v.default.createElement("a",{href:e.url,key:t,className:"copyright-image"},v.default.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"})))):null),v.default.createElement(l.Text,{size:"xs",type:"regular",className:"copyright-content"},null===(_=null==d?void 0:d.general)||void 0===_?void 0:_.copyright.replace(/{currentYear}/gi,f.default().get("year").toString()))),"vi-VN"===s&&v.default.createElement(l.Text,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):v.default.createElement(v.default.Fragment,null,(null==d?void 0:d.menu)&&v.default.createElement("div",{className:"columns"},v.default.createElement("div",{className:"mHalf"},v.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(H=null==d?void 0:d.menu[1])||void 0===H?void 0:H.menu_title),null===(w=null===(S=null==d?void 0:d.menu[1])||void 0===S?void 0:S.items)||void 0===w?void 0:w.map((e=>v.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":`https://${r.domainLocales[s]}${e.url}`,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${r.domainLocales[s]}${e.url}`},v.default.createElement(l.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${r.domainLocales[s]}${e.url}`,size:"sm",type:"regular",style:{color:i.theme.colors.gray800}},e.title))))),v.default.createElement("div",{className:"mHalf"},v.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(I=null==d?void 0:d.menu[2])||void 0===I?void 0:I.menu_title),null===(A=null===(B=null==d?void 0:d.menu[2])||void 0===B?void 0:B.items)||void 0===A?void 0:A.map(((e,t)=>v.default.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},v.default.createElement(l.Text,{size:"sm",type:"regular",style:{color:i.theme.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))))),"mini"!==n&&v.default.createElement("hr",{className:"hrMobile"}),v.default.createElement("div",{className:"newsletter"},v.default.createElement("div",{className:"social"},v.default.createElement(l.Text,{size:"sm",type:"regular"},null===(G=null==d?void 0:d.social)||void 0===G?void 0:G.title),v.default.createElement("div",{className:"icons"},null===(O=null===(D=null==d?void 0:d.social)||void 0===D?void 0:D.socials)||void 0===O?void 0:O.map(((e,t)=>v.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},v.default.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var b="B6-KmWK",h="GS-7mbG",N="qc5bEb3",x="CQGVeuT",T="_8eUT8Jr",k="_6JMoel-",q="pFG7UH3";const F=({logoType:e="marryBaby",footerMenu:t,background:l})=>{var n;if(!t)return null;const{general:r,menu:o,socials:m}=t;return v.default.createElement("footer",{className:b,style:{backgroundColor:l||"none"}},v.default.createElement(a.Container,null,v.default.createElement("div",{className:h},null==o?void 0:o.map((({menu_title:e,items:t},a)=>v.default.createElement("div",{className:N,key:`mbf${a}`},v.default.createElement(s.MarryBabyText,{className:"title",type:"subtitle-1",color:i.theme.mbColors.pink},e),null==t?void 0:t.map((({title:e,url:t},a)=>v.default.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${t}`,className:"link",href:t,key:`footer-links-${a}`},v.default.createElement("div",{className:x,key:`mbitem${a}`},v.default.createElement(s.MarryBabyText,{type:"bodytext-2",color:i.theme.mbColors.gray},e)))))))))),v.default.createElement(a.Container,null,v.default.createElement("div",{className:k},v.default.createElement(d.Flex,{gap:"24px",sx:e=>({[e.fn.largerThan("sm")]:{".info-item":{flexGrow:1,width:"50%"}},[e.fn.smallerThan("sm")]:{flexDirection:"column"}})},v.default.createElement(d.Stack,{spacing:"24px",className:"info-item"},v.default.createElement(c.Logo,{className:"logo",type:e}),v.default.createElement(u.Text,{size:"p4",as:"div"},v.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==r?void 0:r.content}})),v.default.createElement("div",{className:q},null==m?void 0:m.map((({icon:e,name:t,url:a},l)=>v.default.createElement("a",{key:`social${l}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${t}`,"data-content-label":t,href:a},v.default.createElement("img",{className:"social-logo",loading:"lazy",src:e,alt:t})))))),v.default.createElement(d.Box,{className:"info-item",sx:{paddingTop:"7px"}},v.default.createElement(u.Text,{size:"p4",as:"div"},v.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==r?void 0:r.information}})))))),v.default.createElement("div",{className:T},v.default.createElement(a.Container,null,v.default.createElement("div",{className:"content"},v.default.createElement(u.Text,{size:"p5",color:"#fff",as:"div"},v.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==r?void 0:r.copyright.replace(/{currentYear}/gi,f.default().get("year").toString())}})),v.default.createElement("div",{className:"verify"},null===(n=null==r?void 0:r.verified)||void 0===n?void 0:n.map((({image:e,url:t},a)=>v.default.createElement("img",{loading:"lazy",key:`imgMbFt${a}`,src:e,alt:t}))))))))};exports.Footer=({type:e,isMobile:t=!0,locale:a,footerInfo:l,siteType:n,background:r})=>"helloSites"===n?v.default.createElement(p,{isMobile:t,type:e,locale:a,footerInfo:l||{}}):v.default.createElement(F,{footerMenu:l,background:r});
|
package/build/gAssets.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-1f22fb4d.js"),s=require("./isProduction-5decd5ee.js");require("date-fns/locale"),require("./Onboarding-763263bd.js");const o="hellosehat.com";class t{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(e,o,t)=>{const i="https://hhg-common."+[o||this.getBaseDomain(),t||this.subPath,e].join("/");return s.isProduction||process.env.JEST_WORKER_ID?i:i+"?v="+Math.floor((new Date).getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){const{host:s}=window.location,t=s.split("."),i=e.domainLocales[Object.keys(e.domainLocales).find((o=>s.includes(e.domainLocales[o])))];return t.includes("localhost")||t.includes("hellohealthgroup")||t.every((e=>{return s=e,!isNaN(parseFloat(s))&&isFinite(s);var s}))||!i?o:i}return o}}const i=new t;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=e.domainLocales[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]),exports.CommonGAssets=i,exports.GAssets=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var t=require("./tslib.es6-71ed3e73.js"),e=require("./core-1296b978.js"),i=require("./normalizeLink-2e7b8c35.js"),l=require("./routing-eb58bf99.js");const o=(t,e)=>{var i,l;if(!t)return{};const o="tl-PH"===e?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(i=t.link)||void 0===i?void 0:i.startsWith("http"))?t.link:`${o}/health-tools`+(null===(l=t.link)||void 0===l?void 0:l.replace(`${o}/`,"/")),subtitle:t.subtitle,title:t.title}},n=e=>t.__awaiter(void 0,void 0,void 0,(function*(){var t,n;try{const r="tl-PH"===e?"lang=fil":"";let a=[];try{const s=yield fetch(i.normalizeLinkSlash(`${l.getDiscoverApiDomain(e)}/wp-json/api/healthtools?ismenu=0${r?"&"+r:""}`)).then((t=>t.json()));a=(null===(n=null===(t=null==s?void 0:s.data)||void 0===t?void 0:t.map)||void 0===n?void 0:n.call(t,(t=>o(t,e))))||[]}catch(t){}return a}catch(t){console.error(t)}}));exports.formatHealthTool=o,exports.getDynamicHealthTool=n,exports.getDynamicHealthToolWithCache=i=>t.__awaiter(void 0,void 0,void 0,(function*(){return(yield e.getDataWithCache("all-health-tools",(()=>n(i||"en-PH")),(t=>!!(null==t?void 0:t.length)),6e4))||[]}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react"),t=require("./Onboarding-30977a28.js"),l=require("./gAssets.js");function C(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=C(e);exports.getSocialList=e=>[{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${e}`},{icon:a.default.createElement("img",{src:l.CommonGAssets.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32},loading:"lazy"}),name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`,allowedLocales:[t.LOCALE.Vietnam]},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("g",{clipPath:"url(#clip0_687_88944)"},a.default.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),a.default.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),a.default.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),a.default.createElement("defs",null,a.default.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},a.default.createElement("stop",{stopColor:"#36F46C"}),a.default.createElement("stop",{offset:"1",stopColor:"#03D749"})),a.default.createElement("clipPath",{id:"clip0_687_88944"},a.default.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:`https://wa.me/?text=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`},{icon:a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},a.default.createElement("g",{id:"surface1"},a.default.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),a.default.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:`http://line.me/R/msg/text/?${e}`,allowedLocales:[t.LOCALE.Taiwan]}];
|
|
1
|
+
"use strict";var e=require("react"),t=require("./Onboarding-763263bd.js"),l=require("./gAssets.js");function C(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=C(e);exports.getSocialList=e=>[{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${e}`},{icon:a.default.createElement("img",{src:l.CommonGAssets.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32},loading:"lazy"}),name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`,allowedLocales:[t.LOCALE.Vietnam]},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("g",{clipPath:"url(#clip0_687_88944)"},a.default.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),a.default.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),a.default.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),a.default.createElement("defs",null,a.default.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},a.default.createElement("stop",{stopColor:"#36F46C"}),a.default.createElement("stop",{offset:"1",stopColor:"#03D749"})),a.default.createElement("clipPath",{id:"clip0_687_88944"},a.default.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:`https://wa.me/?text=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`},{icon:a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},a.default.createElement("g",{id:"surface1"},a.default.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),a.default.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:`http://line.me/R/msg/text/?${e}`,allowedLocales:[t.LOCALE.Taiwan]}];
|
package/build/hooks.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./useTranslations-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./useTranslations-388b2c98.js"),s=require("./useScrollbarSize-79ed5c61.js"),r=require("./useRafState-2bfbf48d.js"),i=require("./useHealthToolCache-374f4461.js"),u=require("./useIsInit-a3d864b6.js"),t=require("./useOutsideClick-1fd814a9.js"),a=require("./useUniqueId-3d496ffe.js");require("react"),require("./translationsContext-5dbe0768.js"),require("string-format"),require("lodash/debounce"),require("./tslib.es6-71ed3e73.js"),require("./cookieHelper-c02a9835.js"),require("./getDynamicHealthTool-365b67da.js"),require("./core-1296b978.js"),require("./isProduction-5decd5ee.js"),require("./normalizeLink-2e7b8c35.js"),require("./routing-eb58bf99.js"),require("./index-1f22fb4d.js"),require("date-fns/locale"),require("./Onboarding-763263bd.js"),exports.useTranslations=e.useTranslations,exports.MEASURE_ELEMENT_CLASS=s.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=s.useScrollbarSize,exports.useFbDataLayer=r.useFbDataLayer,exports.usePrevious=r.usePrevious,exports.useRafState=r.useRafState,exports.useHealthToolsCache=i.useHealthToolsCache,exports.useIsInit=u.useIsInit,exports.initSharedOutSideClickListener=t.initSharedOutSideClickListener,exports.useOutsideClick=t.useOutsideClick,exports.useSharedOutsideClick=t.useSharedOutsideClick,exports.useInitialMount=a.useInitialMount,exports.useUniqueId=a.useUniqueId;
|
package/build/i18n.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./translationsContext-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./translationsContext-5dbe0768.js"),s=require("react"),t=require("./i18n-values/en-PH.js"),r=require("./i18n-values/hi-IN.js"),a=require("./i18n-values/id-ID.js"),n=require("./i18n-values/km-KH.js"),u=require("./i18n-values/ms-MY.js"),i=require("./i18n-values/my-MM.js"),l=require("./i18n-values/th-TH.js"),o=require("./i18n-values/tl-PH.js"),d=require("./i18n-values/vi-VN.js"),v=require("./i18n-values/vi-VN_MB.js"),f=require("./i18n-values/zh-TW.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var j=c(s);const q={"en-PH":t.default,"vi-VN":d.default,"hi-IN":r.default,"id-ID":a.default,"ms-MY":u.default,"my-MM":i.default,"km-KH":n.default,"zh-TW":f.default,"th-TH":l.default,"tl-PH":o.default,"vi-VN_MB":v.default};exports.TranslationsContext=e.TranslationsContext,exports.TranslationsProvider=({locale:t="en-PH",overrides:r,overrideCurrentLocale:a,children:n,shouldLoadTranslation:u=!0,loader:i=null,onTranslationsLoaded:l})=>{const o=r&&r[t]||a,[d,v]=s.useState((()=>Object.assign(Object.assign({},o),u?q[t]:{})));s.useEffect((()=>{v(Object.assign(Object.assign({},o),u?q[t]:{}))}),[u,t]);const f=s.useMemo((()=>d?{locale:t,values:d}:null),[t,d]);return s.useEffect((()=>{l&&Object.keys(d).length&&l(d)}),[d]),j.default.createElement(e.TranslationsContext.Provider,{value:f},f?n:i)},exports.translationsMap=q;
|
package/build/i18nV2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./translationsContext-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./translationsContext-5dbe0768.js"),t=require("react");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=r(t);exports.TranslationsContext=e.TranslationsContext,exports.TranslationsProvider=({locale:r="en-PH",values:a,children:o})=>{const l=t.useMemo((()=>a?{locale:r,values:a}:null),[r,a]);return n.default.createElement(e.TranslationsContext.Provider,{value:l},o)};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("date-fns/locale"),o=require("./Onboarding-30977a28.js"),l=require("./isProduction-028c30c1.js");const i={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},n={HELLO_HEALTH_GROUP:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:o.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:o.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:o.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:o.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:o.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:o.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:o.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:o.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:o.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:o.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},t="userGeoLocationCoordinates",a={"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","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},s={"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",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"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",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"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",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"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",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"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",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"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",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"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",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"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",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-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:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},E={"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/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"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/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"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/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"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/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"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/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"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",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"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/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"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/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"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/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-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/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},O="user",c=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],I=["vi-VN"],r=["vi-VN","id-ID","en-PH","tl-PH"],h=["vi-VN","id-ID"],T={"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"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var p;exports.QUERY_HEALTH_TOOL=void 0,(p=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",p.gender="gndr",p.age="ge",p.slug="slug",p.resultId="resultId",p.bmr="mr",p.height="gt",p.weight="wght",p.source="surc",p.type="tp",p.startDate="sd",p.additional="tnl",p.week="wk",p.twins="twn",p.weightBefore="wb",p.yourself="yrslf",p.intensity="sy",p.rate="rt",p.method="mthd",p.day="dy",p.pwg="pwg",p.cycle="le",p.period="prd",p.access_token="tkn",p.name="nm",p.id="id";const _={[o.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[o.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},A="hhg_user_token",m={[o.LOCALE.PhilippinesEnglish]:e.enUS,[o.LOCALE.Vietnam]:e.vi,[o.LOCALE.Cambodia]:e.km,[o.LOCALE.India]:e.hi,[o.LOCALE.Indonesia]:e.id,[o.LOCALE.Myanmar]:e.enUS,[o.LOCALE.Malaysia]:e.ms,[o.LOCALE.Thailand]:e.th,[o.LOCALE.Taiwan]:e.zhTW},L="https://cdn.hellohealthgroup.com/countries";var C=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:t,domainLocales:a,LOCALE_SPECS:s,STATIC_PAGES:E,UP_BASEPATH:O,TOGETHER_LOCALES:c,ECOM_LOCALES:I,CARE_LOCALES:r,CARE_BOOKING_LOCALES:h,FAVICONS:T,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:_,BEARER_TOKEN_COOKIE:A,DATE_FNS_LOCALE:m,CDN_ADDRESS:L,siteHost:i,siteOptions:n,isProduction:l.isProduction});exports.BEARER_TOKEN_COOKIE=A,exports.CARE_BOOKING_LOCALES=h,exports.CARE_LOCALES=r,exports.CDN_ADDRESS=L,exports.DATE_FNS_LOCALE=m,exports.ECOM_LOCALES=I,exports.FAVICONS=T,exports.ISO_FORMAT=_,exports.LOCALE_SPECS=s,exports.STATIC_PAGES=E,exports.TOGETHER_LOCALES=c,exports.UP_BASEPATH=O,exports.USER_GEOLOCATION_COORDINATES_COOKIE=t,exports.domainLocales=a,exports.index=C,exports.siteHost=i,exports.siteOptions=n;
|
|
1
|
+
"use strict";var e=require("date-fns/locale"),o=require("./Onboarding-763263bd.js"),l=require("./isProduction-5decd5ee.js");const i={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},n={HELLO_HEALTH_GROUP:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:o.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:o.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:o.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:o.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:o.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:o.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:o.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:o.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:o.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:o.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},t="userGeoLocationCoordinates",a={"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","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},s={"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",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"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",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"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",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"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",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"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",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"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",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"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",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"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",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-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:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},E={"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/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"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/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"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/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"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/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"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/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"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",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"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/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"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/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"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/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-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/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},O="user",c=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],I=["vi-VN"],r=["vi-VN","id-ID","en-PH","tl-PH"],h=["vi-VN","id-ID"],T={"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"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var p;exports.QUERY_HEALTH_TOOL=void 0,(p=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",p.gender="gndr",p.age="ge",p.slug="slug",p.resultId="resultId",p.bmr="mr",p.height="gt",p.weight="wght",p.source="surc",p.type="tp",p.startDate="sd",p.additional="tnl",p.week="wk",p.twins="twn",p.weightBefore="wb",p.yourself="yrslf",p.intensity="sy",p.rate="rt",p.method="mthd",p.day="dy",p.pwg="pwg",p.cycle="le",p.period="prd",p.access_token="tkn",p.name="nm",p.id="id";const _={[o.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[o.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},A="hhg_user_token",m={[o.LOCALE.PhilippinesEnglish]:e.enUS,[o.LOCALE.Vietnam]:e.vi,[o.LOCALE.Cambodia]:e.km,[o.LOCALE.India]:e.hi,[o.LOCALE.Indonesia]:e.id,[o.LOCALE.Myanmar]:e.enUS,[o.LOCALE.Malaysia]:e.ms,[o.LOCALE.Thailand]:e.th,[o.LOCALE.Taiwan]:e.zhTW},L="https://cdn.hellohealthgroup.com/countries";var C=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:t,domainLocales:a,LOCALE_SPECS:s,STATIC_PAGES:E,UP_BASEPATH:O,TOGETHER_LOCALES:c,ECOM_LOCALES:I,CARE_LOCALES:r,CARE_BOOKING_LOCALES:h,FAVICONS:T,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:_,BEARER_TOKEN_COOKIE:A,DATE_FNS_LOCALE:m,CDN_ADDRESS:L,siteHost:i,siteOptions:n,isProduction:l.isProduction});exports.BEARER_TOKEN_COOKIE=A,exports.CARE_BOOKING_LOCALES=h,exports.CARE_LOCALES=r,exports.CDN_ADDRESS=L,exports.DATE_FNS_LOCALE=m,exports.ECOM_LOCALES=I,exports.FAVICONS=T,exports.ISO_FORMAT=_,exports.LOCALE_SPECS=s,exports.STATIC_PAGES=E,exports.TOGETHER_LOCALES=c,exports.UP_BASEPATH=O,exports.USER_GEOLOCATION_COORDINATES_COOKIE=t,exports.domainLocales=a,exports.index=C,exports.siteHost=i,exports.siteOptions=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-71ed3e73.js"),t=require("react"),s=require("@mantine/core"),l=require("./gAssets.js"),a=require("./utils-66fc3fa8.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t);exports.Modal=t=>{var{title:n,styles:o}=t,u=e.__rest(t,["title","styles"]);const{classes:i}=a.useStyles$1(void 0,{name:"Modal",styles:o});return r.default.createElement(r.default.Fragment,null,r.default.createElement(s.Modal,Object.assign({centered:!0,classNames:i},u,{withCloseButton:!1,title:u.withCloseButton&&r.default.createElement(r.default.Fragment,null,r.default.createElement(a.Text,{size:"s2",weight:"semiBold",as:"span"},n),r.default.createElement(s.CloseButton,Object.assign({},u.closeButtonProps,{onClick:()=>{var e;return null===(e=u.onClose)||void 0===e?void 0:e.call(u)},sx:{":focus":{outline:0}}}),r.default.createElement("img",{loading:"lazy",className:"mantine-Modal-close",src:l.CommonGAssets.getAssetPath("CloseModal.svg"),style:{width:"16px"}})))})))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react"),t=require("./useScrollbarSize-
|
|
1
|
+
"use strict";var e=require("react"),t=require("./useScrollbarSize-79ed5c61.js"),d=require("react-dom"),a=require("./index-fd68bdb7.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(e);const c="hhg-modals",r=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},n=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))};exports.Modal=({type:l="lead",closeIcon:s,isOpen:u=!0,onClose:i,children:m,className:h="",animationType:p="slideTop",isStaticBackdrop:y=!1,siteType:f})=>{const[b,g]=e.useState(!1),v=e.useRef(null),{width:E}=t.useScrollbarSize();if(!v.current&&b&&(v.current=document.createElement("div")),e.useEffect((()=>(g(!0),()=>{g(!1),r(),n()})),[]),e.useEffect((()=>{if(b){const e=(()=>{let e=document.getElementById(c);return e||(e=document.createElement("div"),e.setAttribute("id",c),document.body.append(e)),e})();return e.appendChild(v.current),()=>{e.removeChild(v.current)}}}),[b]),e.useEffect((()=>{u?document.body.classList.add("hhc-modal-show"):r()}),[u]),e.useEffect((()=>{u?(document.body.style.overflow="hidden",document.body.style.paddingRight=E+"px",document.body.classList.add("hhc-disabled-scroll")):n()}),[u,E]),!b)return null;const S=["hhg-modal__wrapper",h,p].filter((e=>e)).join(" ");return d.createPortal(o.default.createElement(a.StyledModalWrapper,{className:S,"data-open":u,"data-type":l},!y&&o.default.createElement(a.StyledModalMask,{"data-open":u,onClick:i,"data-type":l}),!y&&"video"===l&&!!s&&o.default.createElement("div",{className:"hhg-modal__close",onClick:i},s),o.default.createElement(a.StyledModal,{className:"hhg-modal","data-open":u,"data-site-type":f},o.default.createElement("div",{className:"video"===l?"hhg-modal__video":"hhg-modal__content"},!!s&&"video"!==l&&o.default.createElement("div",{className:"hhg-modal__close",onClick:i},s),m))),v.current)};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-71ed3e73.js"),t=require("react"),n=require("@mantine/hooks"),a=require("./index-6c6477b0.js"),l=require("./utils-66fc3fa8.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=r(t);exports.Slider=r=>{var{color:s,withControl:i,onChange:u,value:c,min:d,max:m,isStatic:h,containerClassName:f,containerStyle:g}=r,w=e.__rest(r,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[v,E]=t.useState(c||d||0),[p]=n.useDebouncedValue(v,l.DEBOUNCED_TIME);return t.useEffect((()=>{null==u||u(p)}),[p]),t.useEffect((()=>{E(c)}),[c]),o.default.createElement(l.StyledSliderWrapper,{className:f,style:g},i&&o.default.createElement(a.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{E((e=>d&&e===d?e:e-1))}},o.default.createElement("svg",{width:"10",height:"10",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 3"},o.default.createElement("path",{d:"M1 1.004h8",stroke:s,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),o.default.createElement(l.StyledSlider,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:s,value:v,onChange:h?()=>null:E,min:d,max:m},w,{className:"hhg-mantine-slider "+(w.className||"")})),i&&o.default.createElement(a.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{E((e=>m&&e===m?e:e+1))}},o.default.createElement("svg",{width:"16",height:"20",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},o.default.createElement("path",{d:"M8 4v8M4 8h8",stroke:s,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("./screenSizeContext-
|
|
1
|
+
"use strict";var e=require("./screenSizeContext-58d16a70.js"),t=require("styled-components"),l=require("react"),r=require("./tslib.es6-71ed3e73.js"),a=require("./theme-714ba8eb.js");require("dayjs"),require("./index-1f22fb4d.js"),require("./isProduction-5decd5ee.js"),require("./Onboarding-763263bd.js"),require("./gAssets.js");var o=require("./useUniqueId-3d496ffe.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function s(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(l){if("default"!==l){var r=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(t,l,r.get?r:{enumerable:!0,get:function(){return e[l]}})}})),t.default=e,Object.freeze(t)}var C=i(t),c=i(l),n=s(l);const d=C.default.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-71ed3e73.js"),t=require("react"),l=require("styled-components"),n=require("@mantine/carousel"),r=require("@mantine/core"),i=require("@mantine/hooks");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=a(t),s=a(l);const d=s.default.img`
|
|
2
2
|
&[data-has-placeholder='true'] {
|
|
3
3
|
background-position: center;
|
|
4
4
|
background-repeat: no-repeat;
|
|
@@ -72,4 +72,4 @@
|
|
|
72
72
|
letter-spacing: -0.1px;
|
|
73
73
|
line-height: 14px;
|
|
74
74
|
}
|
|
75
|
-
`,p=t.forwardRef((function(e,t){return o.default.createElement("circle",Object.assign({},e,{ref:t}),o.default.createElement("animate",{attributeName:"r",values:"4;8;4",dur:"2s",begin:"0s",repeatCount:"indefinite"}))})),h=n.Carousel.Slide,f=t.createContext({}),g=(e,t)=>e>=t?e-t:e,x=l=>{var{children:a,blurFromCenter:s,blurFromIndex:d,blurLength:c=3,maxBlurOpacity:u=.5,onSlideChange:p,selectSlideWhenClick:h}=l,x=e.__rest(l,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const{width:v}=i.useViewportSize(),[y]=i.useResizeObserver(),
|
|
75
|
+
`,p=t.forwardRef((function(e,t){return o.default.createElement("circle",Object.assign({},e,{ref:t}),o.default.createElement("animate",{attributeName:"r",values:"4;8;4",dur:"2s",begin:"0s",repeatCount:"indefinite"}))})),h=n.Carousel.Slide,f=t.createContext({}),g=(e,t)=>e>=t?e-t:e,x=l=>{var{children:a,blurFromCenter:s,blurFromIndex:d,blurLength:c=3,maxBlurOpacity:u=.5,onSlideChange:p,selectSlideWhenClick:h}=l,x=e.__rest(l,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const{width:v}=i.useViewportSize(),[y]=i.useResizeObserver(),m=t.useRef(null),[b,S]=t.useState(0),C=()=>{var e,t,l,n,r;const i=(null===(e=null==m?void 0:m.current)||void 0===e?void 0:e.slideNodes())||[];if((null===(t=null==m?void 0:m.current)||void 0===t?void 0:t.slideNodes().length)<=(null===(l=null==m?void 0:m.current)||void 0===l?void 0:l.slidesInView().length))return i.map((e=>{e.classList.remove("center-slide"),e.style.opacity="1"})),!1;const a=null===(n=null==m?void 0:m.current)||void 0===n?void 0:n.selectedScrollSnap();S(a);const o=i.length,p=(null===(r=null==m?void 0:m.current)||void 0===r?void 0:r.slidesInView()).length,h=Math.floor(p/2),f=s?d+c-1:h,x=a+f,v=x===o?0:x>o?x-o:x,y=a-f,b=y<0?o+y:y>0?a-f:0,C=[...new Set(Array(2*f+1).fill("").map(((e,t)=>g(b+t,o))))];i.map(((e,t)=>{if(t===a?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==C.indexOf(t)){const r=u/c;for(let i=0;i<c;i++){if(t===g(b+i,o)||t===(n=o,(l=v-i)<0?n+l:l)){e.style.opacity=String((i+1)*r);break}e.style.opacity="1"}}else e.style.opacity="0";var l,n}))},k={getEmblaApi:e=>{m.current=e},onSlideChange:e=>{C(),null==p||p(e)}};t.useEffect((()=>{(null==m?void 0:m.current)&&C()}),[v]);const z=r.createStyles((()=>{var e,t;return{control:Object.assign({},(null===(e=null==m?void 0:m.current)||void 0===e?void 0:e.slideNodes().length)<=(null===(t=null==m?void 0:m.current)||void 0===t?void 0:t.slidesInView().length)&&{display:"none"})}})),{classes:w}=z();return o.default.createElement(f.Provider,{value:{slider:null==m?void 0:m.current,centerSlide:b,selectSlideWhenClick:h}},o.default.createElement(n.Carousel,Object.assign({classNames:{control:w.control},ref:y,slideSize:"auto",containScroll:"trimSnaps"},k,x,{loop:!0}),"function"==typeof a?a(b):a))};x.Slide=l=>{var{children:n,onClick:r,innerSlideProps:i}=l,a=e.__rest(l,["children","onClick","innerSlideProps"]);const{slider:s,selectSlideWhenClick:d}=t.useContext(f),c=t.useRef(),u=t.useRef(""),[p,g]=t.useState(0);t.useEffect((()=>{u.current=String(Math.round(1e4*Math.random()))}),[]),t.useEffect((()=>{const e=(null==s?void 0:s.slideNodes())||[];g(e.findIndex((e=>e.dataset.key===u.current)))}),[s]);const x={ref:c,"data-key":u.current,"data-index":p};return o.default.createElement(h,Object.assign({},x,a),o.default.createElement("div",Object.assign({style:{height:"100%"},onClick:()=>{d&&(null==s||s.scrollTo(p)),null==r||r(p)}},i),n))},exports.CentralCarousel=x,exports.CustomReferenceDot=p,exports.ImageWrap=l=>{var{alt:n,backupSrc:r,src:i,placeholderSrc:a,style:s,ref:c}=l,u=e.__rest(l,["alt","backupSrc","src","placeholderSrc","style","ref"]);const[p,h]=t.useState(!1);return o.default.createElement(d,Object.assign({loading:"lazy",alt:n,onError:()=>!p&&h(!0),src:p?r||i:i||r,style:Object.assign(Object.assign({},a?{backgroundImage:`url(${a})`}:{}),s),"data-has-placeholder":!!a,ref:c},u))},exports.StyledHeading=c,exports.StyledText=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-71ed3e73.js"),t=require("react"),l=require("./Onboarding-763263bd.js"),a=require("./index.styled-38be6a23.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t);const o=({isRight:e,currentUrl:t})=>r.default.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":t,className:"pointer-event-child-none"},r.default.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));exports.PillCarousel=n=>{var{data:i,isMobile:d,onSlideChange:c,pillProps:s,locale:u=l.LOCALE.Vietnam,blurFromIndex:v,blurLength:g}=n,h=e.__rest(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const m={withControls:!d,slideGap:16,blurFromCenter:!0,blurFromIndex:v||(d?2:4),blurLength:g||(d?1:3),onSlideChange:c},[C,b]=t.useState("");return t.useEffect((()=>{b(window.location.href)}),[]),r.default.createElement(a.StyledCarousel,Object.assign({},m,h,{selectSlideWhenClick:!0,previousControlIcon:r.default.createElement(o,{currentUrl:C}),nextControlIcon:r.default.createElement(o,{currentUrl:C,isRight:!0})}),(e=>i.map(((t,l)=>r.default.createElement(a.StyledSlide,Object.assign({key:l,onClick:c,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":C,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":C}},s),r.default.createElement("div",{className:"centerred-pill-wrapper"},r.default.createElement(a.StyledPill,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":C,locale:u,name:t.name,icon:t.icon,className:l===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-71ed3e73.js"),t=require("react"),s=require("@mantine/core"),r=require("./utils-66fc3fa8.js");require("@mantine/dates");var a=require("./index-1f22fb4d.js"),i=require("./Onboarding-763263bd.js");require("./gAssets.js"),require("dayjs"),require("./screenSizeContext-58d16a70.js"),require("styled-components"),require("./theme-714ba8eb.js"),require("./isProduction-5decd5ee.js");var n=require("./useTranslations-388b2c98.js");require("./index-487def80.js"),require("@mantine/hooks"),require("lodash/debounce");var c=require("./utils-2bd51637.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=d(t);const o={provinceByName:{},provinces:[],districts:[],wards:[],selectedProvince:"",selectedDistrict:"",selectedWard:""},u=(e,t)=>{switch(t.type){case"SET_DATA":return Object.assign(Object.assign({},e),t.payload);case"SET_DISTRICTS":return Object.assign(Object.assign({},e),{districts:t.payload});case"SET_WARDS":return Object.assign(Object.assign({},e),{wards:t.payload});case"SELECT_PROVINCE":return Object.assign(Object.assign({},e),{selectedProvince:t.payload,selectedDistrict:"",selectedWard:""});case"SELECT_DISTRICT":return Object.assign(Object.assign({},e),{selectedDistrict:t.payload,selectedWard:""});case"SELECT_WARD":return Object.assign(Object.assign({},e),{selectedWard:t.payload});default:return e}},p=({provinces:s})=>{const[r,n]=t.useReducer(u,o),{provinceByName:d,provinces:l,districts:p,wards:v,selectedProvince:b,selectedDistrict:E,selectedWard:h}=r,[y,j]=t.useState();t.useEffect((()=>{e.__awaiter(void 0,void 0,void 0,(function*(){var e,t,r,d;try{const l=yield fetch((d=process.env.UNIFY_LOCALE||i.LOCALE.Vietnam,`${a.CDN_ADDRESS}/cities-data-${c.MAPPED_LOCALE[d]}.json`)).then((e=>e.json()));j(l);const{list:o}=l,u=s?((e,t)=>{const s={};for(const[,e]of Object.entries(t)){const{id:t}=e;t&&(s[t]=e)}const r={};return e.map((e=>{r[e.name]=s[e.id]})),r})(s,o):o,p=Object.keys(u),v=Object.keys((null===(e=o[p[0]])||void 0===e?void 0:e.list)||{}),b=Object.keys((null===(r=null===(t=o[p[0]])||void 0===t?void 0:t[v[0]])||void 0===r?void 0:r.list)||{});n({type:"SET_DATA",payload:{provinceByName:u,provinces:p,districts:v,wards:b}})}catch(e){console.error("Error fetching address data:",e)}}))}),[process.env.UNIFY_LOCALE]);return{provinces:l,districts:p,wards:v,selectedProvince:b,selectedDistrict:E,selectedWard:h,handleProvinceChange:e=>{var t;const s=Object.keys((null===(t=d[e])||void 0===t?void 0:t.list)||{});n({type:"SET_DISTRICTS",payload:s}),n({type:"SET_WARDS",payload:[]}),n({type:"SELECT_PROVINCE",payload:e})},handleDistrictChange:e=>{var t,s;const r=Object.keys((null===(s=null===(t=d[b])||void 0===t?void 0:t.list[e])||void 0===s?void 0:s.list)||{});n({type:"SET_WARDS",payload:r}),n({type:"SELECT_DISTRICT",payload:e})},handleWardChange:e=>{n({type:"SELECT_WARD",payload:e})}}};exports.AddressInput=a=>{var{error:i,provinces:c,placeholder:d}=a,o=e.__rest(a,["error","provinces","placeholder"]);const{t:u}=n.useTranslations(),{provinces:v,districts:b,wards:E,selectedProvince:h,selectedDistrict:y,selectedWard:j,handleProvinceChange:g,handleDistrictChange:S,handleWardChange:C}=p({provinces:c}),[f,O]=t.useState("");return t.useEffect((()=>{h&&y&&j&&f?o.onChange({selectedProvince:h,selectedDistrict:y,selectedWard:j,extraInfo:f}):o.onChange(null)}),[h,y,j,f]),l.default.createElement(r.Input.Wrapper,Object.assign({withAsterisk:!0},o),l.default.createElement(s.Stack,null,l.default.createElement(r.Select,{placeholder:(null==d?void 0:d.province)||u("onboarding.similac.input.city"),data:c?v:v.sort(),searchable:!0,onChange:g,value:h}),l.default.createElement(r.Select,{placeholder:(null==d?void 0:d.district)||u("onboarding.similac.input.district"),data:b.sort(),searchable:!0,onChange:S,value:y,disabled:!h}),l.default.createElement(r.Select,{placeholder:(null==d?void 0:d.ward)||u("onboarding.similac.input.ward"),searchable:!0,data:E.sort(),value:j,onChange:C,disabled:!h||!y}),l.default.createElement(r.Input,{placeholder:(null==d?void 0:d.address)||u("onboarding.similac.input.no"),disabled:!h||!y||!j,value:f,onChange:O,style:{marginBottom:0}})),l.default.createElement(s.Input.Error,{size:"md"},i))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react"),a=require("./gAssets.js"),t=require("./utils-
|
|
1
|
+
"use strict";var e=require("react"),a=require("./gAssets.js"),t=require("./utils-66fc3fa8.js"),s=require("./index-487def80.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(e);exports.Logo=({type:l,className:r,style:n,isLightLogo:g,customSize:m,badge:i,locale:u,dateForSeasonal:c,isPro:d})=>{const f=e.useMemo((()=>{if(!c||isNaN(new Date(c).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1};const e=new Date(c),a=t.isChristmas(e),s=t.LunarNewYearLocale.includes(u)&&t.isLunarNewYear(e);return{isChristmas:a,isLunarNewYear:s,isNewYear:!s&&t.isNewYear(e)}}),[u,new Date(c).getDate()]);return o.default.createElement(t.StyledLogo,{className:r,style:n,"data-logo-is-light":g||void 0,"data-has-badge":!!i,"data-christmas":f.isChristmas,"data-new-year":f.isNewYear,"data-lunar-new-year":f.isLunarNewYear},f.isChristmas?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left xmas logo",src:a.CommonGAssets.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right xmas logo",src:a.CommonGAssets.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):f.isNewYear?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left new year logo",src:a.CommonGAssets.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right new year logo",src:a.CommonGAssets.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):f.isLunarNewYear?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left lunar new year logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right lunar new year logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):null,o.default.createElement(t.LogoIcon,{type:l,width:null==m?void 0:m.width,height:null==m?void 0:m.height}),d?o.default.createElement(t.StyledProLogo,{src:a.CommonGAssets.getAssetPath("logo/pro-suffix.svg")}):null,i)};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t=require("./tslib.es6-
|
|
1
|
+
"use strict";var t=require("./tslib.es6-71ed3e73.js");function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var e=a(require("react")),d="P03rcnV",o="LsvykAk",c="S2kaD9B",i="fAwTdkg",l="ITgol3T",r="cD-HMFz",n="oAG2-aJ",s="Y9fGCaj";exports.Button=a=>{var{size:u,color:C="primary",theme:m="helloSites",isDisabled:h,isBlock:p,title:f,className:g,onClick:P,icon:k,iconPosition:v="left",children:E,isLoading:y=!1,loadingText:b,dataEventCategory:N,dataEventAction:w,dataEventLabel:L,dataProductChannel:B,dataProductSku:x,dataProductBrand:A,dataProductName:T,dataProductPrice:j,dataProductCategory:z,dataProductPosition:D,type:S}=a,F=t.__rest(a,["size","color","theme","isDisabled","isBlock","title","className","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]);const M={"data-event-category":N,"data-event-action":w,"data-event-label":L,"data-product-channel":B,"data-product-sku":x,"data-product-brand":A,"data-product-name":T,"data-product-price":j,"data-product-category":z,"data-product-position":D},q=e.default.createElement("span",{className:o},e.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.default.createElement("circle",{className:s,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),e.default.createElement("svg",{className:d,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.default.createElement("mask",{id:"path-1-inside-1",fill:"white"},e.default.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z"})),e.default.createElement("path",{className:n,d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z",stroke:"#91CAFF",strokeWidth:"8",mask:"url(#path-1-inside-1)"}))),G=(k||y)&&e.default.createElement("span",{className:r},y?q:k," ");return e.default.createElement("button",Object.assign({},M,{className:`${l} ${g||""}`,"data-size":u,"data-color":C,"data-block":p,"data-has-icon":!!k||void 0,"data-theme":m,disabled:h,onClick:t=>{!y&&!h&&P&&P(t)},title:f,"data-is-loading":y,type:S},F),e.default.createElement("span",{className:i},"left"===v&&G,E&&e.default.createElement("span",{className:c},y&&b||E),"right"===v&&G))};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-71ed3e73.js"),r=require("react"),t=require("@mantine/core"),i=require("./utils-66fc3fa8.js");require("@mantine/dates");var n=require("./index-1f22fb4d.js");require("./Onboarding-763263bd.js"),require("./gAssets.js"),require("dayjs");var o=require("./screenSizeContext-58d16a70.js"),a=require("styled-components"),s=require("./theme-714ba8eb.js");require("./isProduction-5decd5ee.js"),require("./translationsContext-5dbe0768.js"),require("string-format"),require("./index-487def80.js"),require("@mantine/hooks");var d=require("@mantine/form");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=c(r),l=c(a);const u=r.createContext({}),[p,g,f]=d.createFormContext(),x=l.default.div`
|
|
2
|
+
margin-top: 70px;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
&.similac {
|
|
8
|
+
margin-top: 16px;
|
|
9
|
+
}
|
|
10
|
+
`,h=l.default(t.Container)`
|
|
11
|
+
&.hhg-comp-onboarding-container.hhg-comp-onboarding-container {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
align-items: center;
|
|
15
|
+
height: 100%;
|
|
16
|
+
width: 100%;
|
|
17
|
+
max-width: 520px;
|
|
18
|
+
}
|
|
19
|
+
.header {
|
|
20
|
+
margin-bottom: 32px;
|
|
21
|
+
text-align: center;
|
|
22
|
+
${o.MediaQueries.mbDown} {
|
|
23
|
+
margin-bottom: 16px;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.input-control {
|
|
28
|
+
width: 100%;
|
|
29
|
+
}
|
|
30
|
+
.radio-group,
|
|
31
|
+
.input-control {
|
|
32
|
+
margin-bottom: 16px;
|
|
33
|
+
}
|
|
34
|
+
.form {
|
|
35
|
+
width: 100%;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* .form-error {
|
|
39
|
+
margin-top: 32px;
|
|
40
|
+
font-size: 14px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.field-error {
|
|
44
|
+
margin-top: 10px;
|
|
45
|
+
font-size: 14px;
|
|
46
|
+
} */
|
|
47
|
+
|
|
48
|
+
.form-button {
|
|
49
|
+
width: 100%;
|
|
50
|
+
}
|
|
51
|
+
`,b=l.default.img`
|
|
52
|
+
margin-bottom: 38px;
|
|
53
|
+
`;exports.FormProvider=p,exports.Onboarding=o=>{var a,{heading:d,description:c,children:l,className:p,imgSrc:g,hiddenLogo:f=!1}=o,q=e.__rest(o,["heading","description","children","className","imgSrc","hiddenLogo"]);const{isMarryBaby:j,siteType:v}=r.useContext(u);return m.default.createElement(h,Object.assign({},q,{className:`hhg-comp-onboarding-container ${p}`,size:"sm"}),!f&&m.default.createElement(i.LogoIcon,{type:j?v:(null===(a=n.LOCALE_SPECS[process.env.UNIFY_LOCALE])||void 0===a?void 0:a.LOGO_TYPE)||"hellobacsi"}),m.default.createElement(x,{className:f?"similac":""},g&&m.default.createElement(b,{src:g,loading:"lazy"}),(d||c)&&m.default.createElement("div",{className:"header"},d&&m.default.createElement(t.Title,{order:3},d),c&&m.default.createElement(i.Text,{size:"p3",mt:8,color:s.theme.colors.gray600},c)),l))},exports.OnboardingContext=u,exports.useForm=f,exports.useFormContext=g;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-71ed3e73.js"),t=require("react"),r=require("./index-487def80.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=a(t);exports.MarryBabyHeading=t=>{var{type:a,color:l,style:n}=t,i=e.__rest(t,["type","color","style"]);return s.default.createElement(r.StyledHeading,Object.assign({type:a,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[a],style:Object.assign(Object.assign({},l&&{"--text-color":l}),n)},i))},exports.MarryBabyText=t=>{var{type:a,color:l,style:n}=t,i=e.__rest(t,["type","color","style"]);return s.default.createElement(r.StyledText,Object.assign({"data-type":a,style:Object.assign(Object.assign({},n),l&&{"--text-color":l})},i))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react"),a=require("./utils-
|
|
1
|
+
"use strict";var e=require("react"),a=require("./utils-66fc3fa8.js"),t=require("./tslib.es6-71ed3e73.js"),o=require("./useTranslations-388b2c98.js"),i=require("./paths-d8522736.js"),l=require("./constants-2a1ae49b.js");require("@mantine/core"),require("@mantine/dates");var r=require("./index-1f22fb4d.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./Onboarding-763263bd.js"),require("./gAssets.js"),require("dayjs"),require("./screenSizeContext-58d16a70.js"),require("styled-components"),require("./theme-714ba8eb.js"),require("./isProduction-5decd5ee.js"),require("./index-487def80.js"),require("@mantine/hooks"),require("lodash/debounce");var n=d(e);const s={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"};var u="Dudns9-";exports.AuthorBadge=e=>{var{siteType:i,role:l,title:r,styles:d,className:u}=e,c=t.__rest(e,["siteType","role","title","styles","className"]);const{t:v}=o.useTranslations(),m=l?(e=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((a=>a===e)))(l):"",{classes:g,cx:b}=a.useStyles(void 0,{name:"AuthorBadge",styles:d});return m&&s[m]?n.default.createElement("div",Object.assign({className:b(g.root,u),"data-label-type":m,"data-is-marrybaby":"marryBaby"===i},c),r||v(s[m])):null},exports.BookingBtn=d=>{var{label:s,bookingId:u,bookingType:c="doctor",locale:v="vi-VN"}=d,m=t.__rest(d,["label","bookingId","bookingType","locale"]);const{t:g}=o.useTranslations(),[b,y]=e.useState(!1),p=e.useMemo((()=>"undefined"!=typeof window?window.location.href:""),[]),E=e.useCallback((()=>t.__awaiter(void 0,void 0,void 0,(function*(){var e,t,o,d,n,s,m,g,b,p,E,A,f,h,S;const _="doctor"===c?i.PATHS.GET_DOCTOR_DETAIL:"hospital"===c?i.PATHS.GET_HOSPITAL_DETAIL:"service"===c?i.PATHS.GET_SERVICE_DETAIL:"";try{y(!0);const i=yield a.callApi(a.getCarePath(_,{id:u,site:r.domainLocales[v]}),"get");if(1===(null==i?void 0:i._status)){const a="doctor"===c?{id:null===(t=null===(e=null==i?void 0:i._data)||void 0===e?void 0:e.doctor)||void 0===t?void 0:t.id,slug:null===(d=null===(o=null==i?void 0:i._data)||void 0===o?void 0:o.doctor)||void 0===d?void 0:d.slug,localSlug:null===(n=l.LOCALIZED_SLUGS[v])||void 0===n?void 0:n.DOCTOR}:"hospital"===c?{id:null===(m=null===(s=null==i?void 0:i._data)||void 0===s?void 0:s.branch)||void 0===m?void 0:m.id,slug:null===(b=null===(g=null==i?void 0:i._data)||void 0===g?void 0:g.branch)||void 0===b?void 0:b.slug,localSlug:null===(p=l.LOCALIZED_SLUGS[v])||void 0===p?void 0:p.HOSPITAL}:{id:null===(A=null===(E=null==i?void 0:i._data)||void 0===E?void 0:E.service)||void 0===A?void 0:A.id,slug:null===(h=null===(f=null==i?void 0:i._data)||void 0===f?void 0:f.service)||void 0===h?void 0:h.slug,localSlug:null===(S=l.LOCALIZED_SLUGS[v])||void 0===S?void 0:S.SERVICE};window.location.href=`/care/${a.localSlug}/${a.slug}-${a.id}/`}else y(!1)}catch(e){console.log(e),y(!1)}}))),[]);return u&&c?n.default.createElement(a.Button,Object.assign({dataEventCategory:"Care",dataEventAction:"Comment - Quick Booking",dataEventLabel:p,onClick:E,loading:b},m),s||g("careBooking.bookAnAppointment")):null},exports.BtnChoice=({value:t,choices:o,onChange:i})=>{const[l,r]=e.useState(t);return e.useEffect((()=>{r(t)}),[t]),n.default.createElement("div",{className:u},o.map(((e,t)=>n.default.createElement(a.Button,{dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel,size:"sm",variant:e.value===l?"primary":"tertiary",key:t,onClick:()=>{r(e.value),null==i||i(e.value)}},e.label||""))))},exports.Divider=({type:e="solid",className:t,style:o})=>n.default.createElement(a.StyledDivider,{style:o,className:t,"data-diver-type":e,dividerType:e});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-71ed3e73.js"),t=require("react"),r=require("@mantine/core"),s=require("@mantine/dates"),i=require("./index-1f22fb4d.js"),a=require("./Onboarding-763263bd.js"),n=require("./gAssets.js"),l=require("./utils-66fc3fa8.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=o(t);exports.DatePicker=t=>{var o,{value:c,fullWidth:d=!0}=t,v=e.__rest(t,["value","fullWidth"]);return u.default.createElement(s.DatePickerInput,Object.assign({locale:l.MAPPED_LOCALE[process.env.UNIFY_LOCALE||a.LOCALE.Vietnam],valueFormat:null===(o=i.ISO_FORMAT[process.env.UNIFY_LOCALE||a.LOCALE.Vietnam])||void 0===o?void 0:o.dateFormat,size:"md",clearable:!1,popoverProps:d?{styles:{dropdown:{minWidth:"100%",display:"flex",justifyContent:"center",alignItems:"center"}}}:{},styles:{root:{position:"relative"},rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:u.default.createElement(r.Image,{src:n.CommonGAssets.getAssetPath(v.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:c},v,{className:`input-control ${(null==v?void 0:v.className)||""}`}))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var r=require("./Onboarding-
|
|
1
|
+
"use strict";var r=require("./Onboarding-763263bd.js"),t=Object.freeze({__proto__:null,get Gender(){return r.Gender},get BabyGrowthChartType(){return r.BabyGrowthChartType},get BabyGrowthChartDuration(){return r.BabyGrowthChartDuration},get BabyGrowthResultTab(){return r.BabyGrowthResultTab},get LOCALE(){return r.LOCALE},get OnboardingStep(){return r.OnboardingStep}});exports.index=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-71ed3e73.js"),r=require("react"),t=require("@mantine/core");require("dayjs"),require("./screenSizeContext-58d16a70.js"),require("styled-components");var s=require("./theme-714ba8eb.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./index-1f22fb4d.js"),require("./isProduction-5decd5ee.js"),require("./Onboarding-763263bd.js"),require("./gAssets.js");var n=i(r);exports.Indicator=r=>{var{styles:i,color:o=s.theme.colors.red700}=r,a=e.__rest(r,["styles","color"]);return n.default.createElement(t.Indicator,Object.assign({inline:!0,position:"top-end",offset:4,styles:Object.assign({processing:{animationDirection:"alternate"}},i),color:o},a))};
|